/* Page-scoped token overrides (were this page's own :root values; differ from css/tokens.css):
   --ink-dim, --bg (purple-black), --bg-card, --border */
:root {
  --ink-dim:    #9a8672;
  --bg:         #07060a;
  --bg-card:    #0f0d14;
  --border:     rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* :root tokens moved to css/tokens.css */

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    .c-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(to bottom, rgba(7,6,10,0.9), transparent);
      backdrop-filter: blur(0px);
      transition: backdrop-filter 0.3s ease, background 0.3s ease;
    }
    .c-nav.scrolled {
      backdrop-filter: blur(14px);
      background: rgba(7,6,10,0.92);
    }
    .c-nav-logo {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      font-family: var(--serif);
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      color: var(--ink);
      text-decoration: none;
    }
    .c-nav-back {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 0.25rem;
      font-size: 0.6rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink-dim);
      text-decoration: none;
      transition: color 0.3s;
    }
    .c-nav-back:hover { color: #a78bfa; }

    /* ── HERO ── */
    .c-hero {
      position: relative;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 8rem 2rem 5rem;
      overflow: hidden;
    }

    /* Subtle animated radial glow */
    .c-hero-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(120,80,200,0.12) 0%, transparent 70%);
      animation: glowPulse 6s ease-in-out infinite alternate;
    }
    @keyframes glowPulse {
      from { opacity: 0.6; transform: scale(1); }
      to   { opacity: 1;   transform: scale(1.08); }
    }

    .c-hero-logo {
      position: relative;
      z-index: 2;
      margin-bottom: 3rem;
      opacity: 0;
      animation: fadeUp 1s ease 0.4s forwards;
    }

    .c-hero-logo img {
      width: min(420px, 80vw);
      height: auto;
      border-radius: 12px;
      box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    }

    .c-hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.9s forwards;
    }

    .c-eyebrow {
      font-size: 0.6rem;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: #a78bfa;
      display: block;
      margin-bottom: 1rem;
    }

    .c-hero h1 {
      font-family: var(--serif);
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 300;
      letter-spacing: 0.08em;
      color: var(--ink);
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    .c-hero-sub {
      font-size: 0.95rem;
      color: var(--ink-dim);
      line-height: 1.8;
      margin-bottom: 2.5rem;
    }

    /* ── FEATURES ── */
    .c-features {
      padding: 7rem 2rem;
      max-width: 960px;
      margin: 0 auto;
    }

    .c-features-label {
      font-size: 0.6rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--ink-dim);
      text-align: center;
      display: block;
      margin-bottom: 4rem;
    }

    .c-features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .c-feature {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2.5rem 2rem;
      background: var(--bg-card);
      transition: border-color 0.3s, background 0.3s;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, background 0.3s;
    }
    .c-feature.visible {
      opacity: 1;
      transform: none;
    }
    .c-feature:hover {
      border-color: rgba(167,139,250,0.3);
      background: rgba(167,139,250,0.04);
    }

    .c-feature-glyph {
      font-size: 2rem;
      margin-bottom: 1.25rem;
      line-height: 1;
    }

    .c-feature h2 {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 300;
      color: var(--ink);
      margin-bottom: 0.75rem;
    }

    .c-feature p {
      font-size: 0.88rem;
      color: var(--ink-dim);
      line-height: 1.75;
    }

    /* ── EDDIE'S VOICE ── */
    .c-voice {
      background: var(--bg-card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 7rem 2rem;
      text-align: center;
    }

    .c-voice-inner {
      max-width: 680px;
      margin: 0 auto;
    }

    .c-voice blockquote {
      font-family: var(--serif);
      font-size: clamp(1.4rem, 3vw, 2.1rem);
      font-weight: 300;
      font-style: italic;
      color: var(--ink);
      line-height: 1.5;
      margin-bottom: 2rem;
      position: relative;
    }

    .c-voice blockquote::before {
      content: '“';
      font-size: 7rem;
      color: #a78bfa;
      opacity: 0.2;
      position: absolute;
      top: -2.5rem;
      left: -1.5rem;
      font-style: normal;
      line-height: 1;
    }

    .c-voice-attr {
      font-size: 0.62rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #a78bfa;
    }

    /* ── CTA ── */
    .c-cta {
      padding: 7rem 2rem;
      text-align: center;
    }

    .c-cta h2 {
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 300;
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: 1.25rem;
    }

    .c-cta p {
      font-size: 0.9rem;
      color: var(--ink-dim);
      margin-bottom: 2.5rem;
    }

    .c-btn {
      display: inline-block;
      padding: 1rem 3rem;
      background: linear-gradient(135deg, #7c3aed, #a78bfa);
      border: none;
      border-radius: 2px;
      color: #ffffff;
      font-family: var(--sans);
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 8px 32px rgba(124,58,237,0.4);
    }
    .c-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(124,58,237,0.6);
    }
    .c-btn:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }

    .c-btn-secondary {
      display: inline-block;
      padding: 0.85rem 2rem;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 2px;
      color: var(--ink-dim);
      font-family: var(--sans);
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 1.25rem;
      display: block;
    }
    .c-btn-secondary:hover { color: var(--ink); border-color: rgba(255,255,255,0.3); }

    /* ── FOOTER ── */
    .c-footer {
      padding: 2rem;
      text-align: center;
      border-top: 1px solid var(--border);
    }
    .c-footer p {
      font-size: 0.6rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-dim);
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: none; }
    }

    @media (max-width: 768px) {
      .c-features-grid { grid-template-columns: 1fr; }
      .c-nav { padding: 1.25rem 1.25rem; }
    }

    /* ── REDUCED MOTION (E1) ── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .c-hero-glow { animation: none; opacity: 1; transform: none; }
      .c-hero-logo, .c-hero-content { animation: none; opacity: 1; transform: none; }
      .c-feature { opacity: 1; transform: none; transition: none; }
      .c-nav, .c-nav-back, .c-btn, .c-btn-secondary { transition: none; }
      .c-btn:hover { transform: none; }
    }
