/* =====================================================
   Reelo Brand System v2 — drop-in tokens
   Replace your existing :root color/font tokens with these,
   or include this file globally and remove the inline ones.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

:root {
  /* INK / PAPER */
  --ink:        #15131C;   /* primary text, mark */
  --ink-2:      #3A3645;   /* secondary text */
  --muted:      #6B6878;   /* tertiary text, labels */
  --line:       #E7E4EE;
  --line-2:     #F1EFE9;
  --paper:      #FBFAF7;   /* primary surface */
  --cream:      #F0E9DD;   /* warm hero / docs surface */
  --card:       #FFFFFF;

  /* DARK */
  --ink-rev:    #FBFAF7;
  --bg-dark:    #0E0B16;
  --bg-dark-2:  #15101F;

  /* ACCENT — reserved for product UI, never the logo */
  --violet:     #5B3CD9;
  --violet-2:   #7C5CFF;
  --violet-soft:#EEE9FF;

  /* STATE */
  --good:  oklch(0.58 0.12 155);
  --warn:  oklch(0.62 0.14 60);
  --bad:   oklch(0.58 0.16 25);

  /* TYPE */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-ui:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* RHYTHM */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(21,19,28,.06);
  --shadow:    0 6px 20px rgba(21,19,28,.08);
  --shadow-lg: 0 18px 48px rgba(21,19,28,.14);
}

html { font-family: var(--font-ui); color: var(--ink); background: var(--paper); }

/* DISPLAY type — use for headlines only */
.display, h1.display, h2.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

/* MARK + LOCKUP — drop in anywhere */
.reelo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.reelo-lockup .reelo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: currentColor;
}
.reelo-lockup .reelo-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  position: relative;
}
.reelo-lockup .reelo-name::after {
  content: "™";
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.42em;
  letter-spacing: 0;
  margin-left: 2px;
  vertical-align: super;
  line-height: 1;
  opacity: 0.85;
}
/* dark surfaces */
.reelo-lockup--reverse { color: var(--paper); }

/* FOCUS — visible keyboard focus ring */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* MOTION RESPECT */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
