*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:       #0d1117;
      --navy-light: #141b25;
      --navy-mid:   #1a2333;
      --stone:      #8a9bb0;
      --stone-light:#b0bec5;
      --gold:       #c4a46b;
      --gold-light: #d4b87a;
      --text:       #e8e4dc;
      --text-muted: #7a8a99;
      --serif:      'Cormorant Garamond', Georgia, serif;
      --sans:       'Jost', system-ui, sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--navy);
      color: var(--text);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Grain overlay ───────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.4;
    }

    /* ── Nav ─────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 48px;
      background: rgba(13,17,23,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(196,164,107,0.08);
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 20px;
      font-weight: 300;
      color: var(--text);
      letter-spacing: 0.12em;
      text-decoration: none;
    }

    .nav-logo span { color: var(--gold); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-link {
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-link:hover { color: var(--text); }

    /* Nav demo button */
    .nav-demo {
      background: rgba(196,164,107,0.1);
      border: 1px solid rgba(196,164,107,0.35);
      color: var(--gold);
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      padding: 9px 18px;
      border-radius: 3px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .nav-demo:hover {
      background: rgba(196,164,107,0.18);
      border-color: var(--gold);
    }
    .nav-demo:disabled { opacity: 0.5; cursor: not-allowed; }

    .nav-cta {
      background: transparent;
      border: 1px solid rgba(196,164,107,0.4);
      color: var(--gold);
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      padding: 9px 20px;
      border-radius: 3px;
      text-decoration: none;
      transition: all 0.2s;
    }

    .nav-cta:hover {
      background: rgba(196,164,107,0.08);
      border-color: var(--gold);
    }

    /* ── Hero ────────────────────────────────────── */
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 140px 48px 60px;
      position: relative;
    }

    .hero-eyebrow {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 28px;
      opacity: 0.8;
    }

    .hero-title {
      font-family: var(--serif);
      font-size: clamp(48px, 8vw, 96px);
      font-weight: 300;
      line-height: 1.05;
      color: var(--text);
      letter-spacing: 0.02em;
      margin-bottom: 12px;
    }

    .hero-title em {
      font-style: italic;
      color: var(--gold);
    }

    .hero-tagline {
      font-family: var(--serif);
      font-size: clamp(18px, 3vw, 26px);
      font-weight: 300;
      font-style: italic;
      color: var(--stone-light);
      letter-spacing: 0.04em;
      margin-bottom: 40px;
    }

    .hero-sub {
      font-size: 16px;
      font-weight: 300;
      color: var(--text-muted);
      max-width: 520px;
      line-height: 1.7;
      margin-bottom: 56px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn-primary {
      background: var(--gold);
      color: var(--navy);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 15px 36px;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }

    .btn-primary:hover {
      background: var(--gold-light);
      transform: translateY(-1px);
    }

    .btn-ghost {
      background: transparent;
      color: var(--text-muted);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.1em;
      padding: 15px 28px;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 3px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
    }

    .btn-ghost:hover {
      border-color: rgba(255,255,255,0.2);
      color: var(--text);
    }

    /* Hero demo button */
    .btn-demo-hero {
      background: transparent;
      border: 1px solid rgba(196,164,107,0.3);
      color: var(--gold);
      font-family: var(--sans);
      padding: 12px 28px;
      border-radius: 3px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
    }
    .btn-demo-hero:hover {
      background: rgba(196,164,107,0.08);
      border-color: rgba(196,164,107,0.6);
    }
    .btn-demo-hero:disabled { opacity: 0.5; cursor: not-allowed; }
    .btn-demo-hero-label {
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.1em;
    }
    .btn-demo-hero-sub {
      font-size: 10.5px;
      font-weight: 300;
      color: rgba(196,164,107,0.6);
      letter-spacing: 0.04em;
    }

    /* Floating demo pill */
    .demo-float {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 9px;
      background: var(--gold);
      color: var(--navy);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      padding: 13px 22px;
      border-radius: 40px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 24px rgba(196,164,107,0.35), 0 1px 4px rgba(0,0,0,0.4);
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      pointer-events: none;
    }
    .demo-float.visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .demo-float:hover {
      background: var(--gold-light);
      box-shadow: 0 6px 32px rgba(196,164,107,0.45), 0 1px 4px rgba(0,0,0,0.4);
    }
    .demo-float:disabled { opacity: 0.6; cursor: not-allowed; }
    .demo-float-dot {
      width: 7px;
      height: 7px;
      background: var(--navy);
      border-radius: 50%;
      opacity: 0.5;
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 0.4; transform: scale(1); }
      50%       { opacity: 0.9; transform: scale(1.2); }
    }

    /* Demo error toast */
    .demo-toast {
      position: fixed;
      bottom: 90px;
      right: 32px;
      z-index: 1000;
      background: #2a1515;
      border: 1px solid rgba(224,92,92,0.3);
      color: #e05c5c;
      font-family: var(--sans);
      font-size: 13px;
      padding: 12px 18px;
      border-radius: 6px;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      pointer-events: none;
      max-width: 280px;
    }
    .demo-toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    .hero-rule {
      width: 1px;
      height: 60px;
      background: linear-gradient(to bottom, transparent, rgba(196,164,107,0.3), transparent);
      margin: 40px auto 0;
    }

    /* ── Section shared ──────────────────────────── */
    section {
      position: relative;
      z-index: 1;
    }

    .section-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 48px;
    }

    .section-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      opacity: 0.7;
      margin-bottom: 20px;
    }

    /* ── Problem ─────────────────────────────────── */
    .problem {
      padding: 100px 0;
      border-top: 1px solid rgba(255,255,255,0.04);
    }

    .problem-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .problem-title {
      font-family: var(--serif);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 300;
      line-height: 1.2;
      color: var(--text);
      margin-bottom: 28px;
    }

    .problem-title em { font-style: italic; color: var(--stone-light); }

    .problem-body {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    .problem-body p + p { margin-top: 16px; }

    .problem-stats {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .problem-stat {
      border-left: 2px solid rgba(196,164,107,0.2);
      padding-left: 24px;
    }

    .problem-stat-num {
      font-family: var(--serif);
      font-size: 48px;
      font-weight: 300;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 6px;
    }

    .problem-stat-label {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ── How it works ────────────────────────────── */
    .how {
      padding: 100px 0;
      background: var(--navy-light);
      border-top: 1px solid rgba(255,255,255,0.04);
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .how-header {
      text-align: center;
      margin-bottom: 72px;
    }

    .how-title {
      font-family: var(--serif);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 300;
      color: var(--text);
    }

    .how-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .how-step {
      background: var(--navy-mid);
      padding: 48px 36px;
      position: relative;
    }

    .how-step:first-child { border-radius: 4px 0 0 4px; }
    .how-step:last-child  { border-radius: 0 4px 4px 0; }

    .how-step-num {
      font-family: var(--serif);
      font-size: 64px;
      font-weight: 300;
      color: rgba(196,164,107,0.65);
      line-height: 1;
      margin-bottom: 20px;
      display: block;
    }

    .how-step-title {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--text);
      margin-bottom: 14px;
    }

    .how-step-body {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.75;
    }

    .how-step-tag {
      display: inline-block;
      margin-top: 20px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      opacity: 0.6;
    }

    /* ── Features ────────────────────────────────── */
    .features {
      padding: 100px 0;
    }

    .features-header {
      text-align: center;
      margin-bottom: 72px;
    }

    .features-title {
      font-family: var(--serif);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 300;
      color: var(--text);
    }

    /* ── The Input / honesty section ────────────── */
    .input-matters {
      padding: 100px 0;
      background: var(--navy-light);
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .input-matters-inner {
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }
    .input-matters-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: 36px;
    }
    .input-matters-title em {
      font-style: italic;
      color: var(--gold);
    }
    .input-matters-body {
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-bottom: 48px;
    }
    .input-matters-body p {
      font-family: var(--sans);
      font-size: 15px;
      font-weight: 300;
      color: var(--stone);
      line-height: 1.85;
    }
    .input-matters-rule {
      width: 40px;
      height: 1px;
      background: rgba(196,164,107,0.3);
      margin: 0 auto 28px;
    }
    .input-matters-pull {
      font-family: var(--serif);
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      font-weight: 300;
      font-style: italic;
      color: var(--gold);
      opacity: 0.75;
      line-height: 1.5;
    }

    /* ── Feature rows ────────────────────────────── */
    .features-header { margin-bottom: 72px; }
    .features-title {
      font-family: var(--serif);
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 300;
      color: var(--text);
      margin-top: 12px;
    }

    /* Primary rows */
    .feat-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      padding: 64px 0;
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .feat-row--flip .feat-row-text { order: 2; }
    .feat-row--flip .feat-row-demo { order: 1; }

    .feat-row-num {
      font-family: var(--sans);
      font-size: 11px;
      font-weight: 500;
      color: var(--gold);
      letter-spacing: 0.15em;
      opacity: 0.7;
      display: block;
      margin-bottom: 14px;
    }
    .feat-row-title {
      font-family: var(--serif);
      font-size: clamp(1.6rem, 2.5vw, 2.2rem);
      font-weight: 300;
      color: var(--text);
      margin-bottom: 18px;
      line-height: 1.2;
    }
    .feat-row-body {
      font-family: var(--sans);
      font-size: 15px;
      font-weight: 300;
      color: var(--stone);
      line-height: 1.8;
      margin-bottom: 24px;
    }
    /* Extension callout */
    .ext-callout {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      background: rgba(120,160,220,0.05);
      border: 1px solid rgba(120,160,220,0.18);
      border-radius: 6px;
      padding: 14px 16px;
      margin-bottom: 20px;
    }
    .ext-callout-icon {
      font-size: 16px;
      color: rgba(130,170,230,0.7);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .ext-callout-label {
      display: block;
      font-family: var(--sans);
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(140,180,240,0.8);
      margin-bottom: 5px;
    }
    .ext-callout-body {
      font-family: var(--sans);
      font-size: 12.5px;
      font-weight: 300;
      color: var(--stone);
      line-height: 1.65;
    }

    .feat-row-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .feat-tag {
      font-family: var(--sans);
      font-size: 10.5px;
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--gold);
      background: rgba(196,164,107,0.08);
      border: 1px solid rgba(196,164,107,0.18);
      border-radius: 3px;
      padding: 4px 10px;
    }

    /* Demo boxes */
    .feat-demo-box {
      background: var(--navy-light);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 8px;
      padding: 22px 24px;
      font-family: var(--sans);
    }
    .feat-demo-box--dark {
      background: #0a0f17;
      border-color: rgba(255,255,255,0.05);
    }
    .feat-demo-box--sm {
      padding: 18px 20px;
    }

    .fdb-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .fdb-title {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      color: var(--stone);
      text-transform: uppercase;
    }
    .fdb-date {
      font-size: 10.5px;
      color: var(--text-muted);
    }
    .fdb-badge {
      font-size: 9.5px;
      font-weight: 600;
      letter-spacing: 0.1em;
      padding: 3px 8px;
      border-radius: 2px;
    }
    .fdb-badge--live {
      background: rgba(92,184,92,0.12);
      color: #5cb85c;
      border: 1px solid rgba(92,184,92,0.25);
      animation: live-pulse 2s ease-in-out infinite;
    }
    @keyframes live-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.6; }
    }

    /* Checklist items */
    .demo-check-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 0;
      color: rgba(138,155,176,0.45);
      font-size: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    .demo-check-item:last-of-type { border-bottom: none; }
    .demo-check-item.done { color: var(--stone-light); }
    .demo-check-tick { font-size: 10px; width: 14px; flex-shrink: 0; color: var(--text-muted); }
    .demo-check-item.done .demo-check-tick { color: var(--gold); }
    .demo-gate-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin: 14px 0 8px; }
    .demo-gate-fill { height: 100%; background: var(--gold); border-radius: 2px; opacity: 0.6; }
    .demo-gate-status { font-size: 11px; color: var(--text-muted); font-style: italic; }

    /* Lock / candle demo */
    .demo-trade-row {
      display: flex;
      gap: 12px;
      margin-bottom: 14px;
    }
    .demo-trade-stat {
      flex: 1;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 4px;
      padding: 8px;
      text-align: center;
    }
    .dts-label { display: block; font-size: 9px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
    .dts-val { font-size: 13px; font-weight: 500; color: var(--text); }
    .dts-long { color: #5cb85c; }
    .demo-trade-levels { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
    .demo-level {
      display: flex;
      justify-content: space-between;
      font-size: 11.5px;
      padding: 7px 10px;
      border-radius: 3px;
    }
    .demo-level--target { background: rgba(92,184,92,0.08); color: #5cb85c; border: 1px solid rgba(92,184,92,0.15); }
    .demo-level--stop   { background: rgba(224,92,92,0.08); color: #e05c5c; border: 1px solid rgba(224,92,92,0.15); }
    .demo-candle-lock {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(196,164,107,0.07);
      border: 1px solid rgba(196,164,107,0.2);
      border-radius: 4px;
      padding: 10px 14px;
    }
    .demo-lock-sym { font-size: 20px; color: var(--gold); flex-shrink: 0; }
    .demo-lock-line1 { font-size: 12px; font-weight: 500; color: var(--gold); margin-bottom: 2px; }
    .demo-lock-line2 { font-size: 10.5px; color: rgba(196,164,107,0.6); }

    /* Secondary pair */
    .feat-pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      padding: 64px 0;
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .feat-pair-icon { font-size: 22px; display: block; margin-bottom: 14px; color: var(--stone); }
    .feat-pair-title {
      font-family: var(--serif);
      font-size: 1.5rem;
      font-weight: 300;
      color: var(--text);
      margin-bottom: 12px;
    }
    .feat-pair-body {
      font-family: var(--sans);
      font-size: 13.5px;
      font-weight: 300;
      color: var(--stone);
      line-height: 1.75;
      margin-bottom: 20px;
    }

    /* Discipline score */
    .demo-disc-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
    .demo-disc-score { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--gold); line-height: 1; }
    .demo-disc-label { font-size: 11px; color: var(--text-muted); }
    .demo-disc-bars { display: flex; flex-direction: column; gap: 9px; }
    .demo-disc-row { display: flex; align-items: center; gap: 8px; }
    .demo-disc-name { font-size: 10.5px; color: var(--stone); width: 62px; flex-shrink: 0; }
    .demo-disc-track { flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; }
    .demo-disc-fill { height: 100%; background: linear-gradient(90deg, rgba(196,164,107,0.4), rgba(196,164,107,0.9)); border-radius: 2px; }
    .demo-disc-val { font-size: 10.5px; color: var(--gold); width: 24px; text-align: right; flex-shrink: 0; }

    /* Analytics */
    .demo-stats-row { display: flex; gap: 8px; margin-bottom: 14px; }
    .demo-stat-pill { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 8px 6px; text-align: center; }
    .demo-stat-val { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
    .demo-stat-lbl { display: block; font-size: 9.5px; color: var(--text-muted); }
    .demo-chart-wrap { height: 48px; margin-bottom: 10px; }
    .demo-spark { width: 100%; height: 100%; display: block; }
    .demo-pattern-tag { font-size: 10.5px; color: rgba(196,164,107,0.7); background: rgba(196,164,107,0.06); border: 1px solid rgba(196,164,107,0.12); border-radius: 3px; padding: 5px 8px; }

    /* Compact XP row */
    .feat-compact {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 28px;
      align-items: start;
      padding: 48px 0;
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .feat-compact-icon { font-size: 20px; color: var(--stone); padding-top: 4px; }
    .feat-compact-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: var(--text); margin-bottom: 10px; }
    .feat-compact-body { font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--stone); line-height: 1.7; }
    .feat-compact-demo { min-width: 200px; max-width: 240px; }

    /* XP shared */
    .demo-rank-badge { display: inline-block; font-size: 10.5px; font-weight: 500; color: var(--gold); background: rgba(196,164,107,0.1); border: 1px solid rgba(196,164,107,0.2); border-radius: 3px; padding: 3px 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
    .demo-xp-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); margin-bottom: 5px; }
    .demo-xp-track { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-bottom: 14px; }
    .demo-xp-fill { height: 100%; background: linear-gradient(90deg, rgba(196,164,107,0.4), var(--gold)); border-radius: 2px; }
    .demo-xp-stats { display: flex; justify-content: space-between; }
    .demo-xp-stat { text-align: center; }
    .demo-xp-num { display: block; font-family: var(--serif); font-size: 20px; font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 3px; }
    .demo-xp-lbl { font-size: 9.5px; color: var(--text-muted); }

    /* ── Oracle bullets (used inside feat-row) ───── */
    .oracle-bullets {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 28px;
    }
    .oracle-bullet {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--sans);
      font-size: 13.5px;
      color: var(--stone-light);
    }
    .oracle-bullet-dot { color: var(--gold); font-size: 12px; }

    /* Oracle chat demo */
    .oracle-chat {
      background: var(--navy);
      border: 1px solid rgba(196,164,107,0.15);
      border-radius: 10px;
      overflow: hidden;
    }
    .oracle-chat-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 20px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      background: rgba(196,164,107,0.04);
    }
    .oracle-chat-name {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 500;
      color: var(--gold);
      letter-spacing: 0.06em;
    }
    .oracle-chat-sub {
      font-family: var(--sans);
      font-size: 10px;
      color: var(--text-muted);
    }
    .oracle-chat-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .oracle-msg { font-family: var(--sans); font-size: 13px; line-height: 1.65; }
    .oracle-msg--user {
      align-self: flex-end;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.07);
      color: var(--stone-light);
      padding: 10px 14px;
      border-radius: 10px 10px 2px 10px;
      max-width: 80%;
      font-style: italic;
    }
    .oracle-msg--oracle {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .oracle-msg-avatar {
      font-size: 18px;
      color: var(--gold);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .oracle-msg-text {
      background: rgba(196,164,107,0.05);
      border: 1px solid rgba(196,164,107,0.12);
      border-radius: 2px 10px 10px 10px;
      padding: 12px 16px;
      color: var(--stone-light);
      font-size: 12.5px;
      line-height: 1.7;
    }
    .oracle-msg-text p + p { margin-top: 10px; }

    /* ── Behavioral Edge demo (used inside feat-row) */
    .edge-demo {
      background: var(--navy-light);
      border: 1px solid rgba(196,164,107,0.12);
      border-radius: 12px;
      padding: 40px 44px 36px;
      max-width: 680px;
    }

    .edge-slider-item {
      margin-bottom: 28px;
    }

    .edge-slider-meta {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 10px;
    }

    .edge-slider-label {
      font-family: var(--sans);
      font-size: 0.85rem;
      font-weight: 400;
      color: var(--stone-light);
      letter-spacing: 0.02em;
    }

    .edge-slider-cost {
      font-family: var(--sans);
      font-size: 1rem;
      font-weight: 500;
      color: #e05c5c;
      letter-spacing: -0.01em;
    }

    .edge-slider-period {
      font-size: 0.75rem;
      font-weight: 300;
      opacity: 0.7;
    }

    .edge-track {
      position: relative;
      height: 4px;
      background: rgba(255,255,255,0.06);
      border-radius: 2px;
    }

    .edge-fill {
      height: 100%;
      background: linear-gradient(90deg, rgba(196,164,107,0.3), rgba(196,164,107,0.7));
      border-radius: 2px;
      transition: width 0.3s ease;
    }

    .edge-thumb {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: calc(100% - var(--w, 68%));
      width: 14px;
      height: 14px;
      background: var(--gold);
      border-radius: 50%;
      border: 2px solid var(--navy-light);
      box-shadow: 0 0 0 1px rgba(196,164,107,0.4);
    }

    .edge-slider-item:nth-child(1) .edge-thumb { right: calc(100% - 68%); }
    .edge-slider-item:nth-child(2) .edge-thumb { right: calc(100% - 82%); }
    .edge-slider-item:nth-child(3) .edge-thumb { right: calc(100% - 44%); }
    .edge-slider-item:nth-child(4) .edge-thumb { right: calc(100% - 31%); }

    .edge-total-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      border-top: 1px solid rgba(255,255,255,0.07);
      padding-top: 20px;
      margin-top: 4px;
      margin-bottom: 24px;
    }

    .edge-total-label {
      font-family: var(--sans);
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--stone);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .edge-total-val {
      font-family: var(--sans);
      font-size: 1.35rem;
      font-weight: 600;
      color: #e05c5c;
      letter-spacing: -0.02em;
    }

    .edge-footnote {
      font-family: var(--sans);
      font-size: 0.78rem;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.6;
      font-style: italic;
    }

    /* ── For who ─────────────────────────────────── */
    .forwho {
      padding: 100px 0;
      background: var(--navy-light);
      border-top: 1px solid rgba(255,255,255,0.04);
      border-bottom: 1px solid rgba(255,255,255,0.04);
      text-align: center;
    }

    .forwho-title {
      font-family: var(--serif);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 300;
      color: var(--text);
      margin-bottom: 20px;
    }

    .forwho-sub {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 580px;
      margin: 0 auto 56px;
      line-height: 1.7;
    }

    .forwho-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      max-width: 700px;
      margin: 0 auto;
    }

    .forwho-tag {
      background: rgba(196,164,107,0.06);
      border: 1px solid rgba(196,164,107,0.2);
      color: var(--stone-light);
      font-size: 13px;
      letter-spacing: 0.06em;
      padding: 9px 18px;
      border-radius: 3px;
    }

    /* ── Access ──────────────────────────────────── */
    .access {
      padding: 120px 0;
      text-align: center;
    }

    .access-title {
      font-family: var(--serif);
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 300;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 16px;
    }

    .access-title em { font-style: italic; color: var(--gold); }

    .access-sub {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 480px;
      margin: 0 auto 48px;
      line-height: 1.7;
    }

    .access-form {
      display: flex;
      gap: 12px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      max-width: 480px;
      margin: 0 auto 24px;
    }

    .access-input {
      flex: 1;
      min-width: 200px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 3px;
      color: var(--text);
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 400;
      letter-spacing: 0.1em;
      padding: 14px 18px;
      text-align: center;
      transition: border-color 0.2s;
      text-transform: uppercase;
    }

    .access-input::placeholder {
      color: var(--text-muted);
      opacity: 0.5;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .access-input:focus {
      outline: none;
      border-color: rgba(196,164,107,0.5);
    }

    .access-note {
      font-size: 12px;
      color: var(--text-muted);
      opacity: 0.5;
      letter-spacing: 0.06em;
    }

    .access-msg {
      margin-top: 12px;
      font-size: 13px;
      min-height: 20px;
      letter-spacing: 0.04em;
    }

    .access-msg.error { color: #e05a6a; }
    .access-msg.success { color: #8bc34a; }

    /* ── FAQ ─────────────────────────────────────── */
    .faq {
      padding: 100px 0;
      background: var(--navy-light);
      border-top: 1px solid rgba(255,255,255,0.04);
    }

    .faq-header {
      text-align: center;
      margin-bottom: 64px;
    }

    .faq-title {
      font-family: var(--serif);
      font-size: clamp(28px, 3vw, 44px);
      font-weight: 300;
      color: var(--text);
    }

    .faq-list {
      max-width: 720px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .faq-q {
      width: 100%;
      background: none;
      border: none;
      color: var(--text);
      font-family: var(--serif);
      font-size: 18px;
      font-weight: 400;
      text-align: left;
      padding: 24px 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      transition: color 0.2s;
    }

    .faq-q:hover { color: var(--gold); }

    .faq-chevron {
      font-size: 18px;
      color: var(--gold);
      opacity: 0.5;
      transition: transform 0.25s;
      flex-shrink: 0;
    }

    .faq-item.open .faq-chevron { transform: rotate(180deg); }

    .faq-a {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.8;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .faq-item.open .faq-a {
      max-height: 300px;
      padding-bottom: 24px;
    }

    /* ── Footer ──────────────────────────────────── */
    footer {
      border-top: 1px solid rgba(255,255,255,0.05);
      padding: 40px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo {
      font-family: var(--serif);
      font-size: 16px;
      color: var(--text-muted);
      letter-spacing: 0.1em;
    }

    .footer-links {
      display: flex;
      gap: 24px;
    }

    .footer-link {
      font-size: 12px;
      color: var(--text-muted);
      opacity: 0.5;
      text-decoration: none;
      letter-spacing: 0.06em;
      transition: opacity 0.2s;
    }

    .footer-link:hover { opacity: 1; }

    .footer-copy {
      font-size: 12px;
      color: var(--text-muted);
      opacity: 0.3;
    }

    /* ── Responsive ──────────────────────────────── */

    /* Tablet: hide text nav links, keep CTA buttons */
    @media (max-width: 900px) {
      nav { padding: 16px 24px; }
      .nav-links { gap: 14px; }
      .nav-link { display: none; }       /* hide text links */
      .nav-demo { display: block; }      /* keep Try Demo */
      .nav-cta  { display: block; }      /* keep Sign In */

      .section-inner { padding: 0 24px; }
      .hero { padding: 120px 24px 60px; }

      .problem-grid { grid-template-columns: 1fr; gap: 48px; }

      .how-steps { grid-template-columns: 1fr; gap: 2px; }
      .how-step:first-child { border-radius: 4px 4px 0 0; }
      .how-step:last-child  { border-radius: 0 0 4px 4px; }

      .feat-row {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 52px 0;
      }
      /* Remove flip on tablet/mobile — text always first */
      .feat-row--flip .feat-row-text { order: 1; }
      .feat-row--flip .feat-row-demo { order: 2; }

      .feat-pair { grid-template-columns: 1fr; gap: 48px; }

      .feat-compact {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .feat-compact-demo { max-width: 100%; min-width: 0; }

      footer { flex-direction: column; text-align: center; }
    }

    /* Mobile: tighten everything further */
    @media (max-width: 640px) {
      nav { padding: 14px 18px; }
      .nav-demo { padding: 8px 14px; font-size: 11px; }
      .nav-cta  { padding: 8px 14px; font-size: 11px; }

      .section-inner { padding: 0 20px; }

      /* Hero */
      .hero { padding: 100px 20px 48px; }
      .hero-eyebrow { margin-bottom: 20px; }
      .hero-sub { font-size: 14px; margin-bottom: 40px; }
      .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
      .btn-primary { text-align: center; }
      .btn-demo-hero { width: 100%; }

      /* Section padding */
      .problem     { padding: 72px 0; }
      .how         { padding: 72px 0; }
      .input-matters { padding: 72px 0; }
      .features    { padding: 72px 0; }
      .access      { padding: 80px 0; }
      .faq         { padding: 72px 0; }

      /* How it works */
      .how-step { padding: 36px 28px; }

      /* Feature rows */
      .feat-row { gap: 28px; padding: 44px 0; }
      .feat-pair { padding: 44px 0; }

      /* Edge demo — large padding on desktop, reduce for mobile */
      .edge-demo { padding: 24px 20px 20px; }
      .edge-slider-item { margin-bottom: 20px; }

      /* Oracle chat — shrink font slightly */
      .oracle-msg-text { font-size: 12px; }
      .oracle-msg--user { font-size: 12px; }

      /* Access form — stack vertically */
      .access-form {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
      }
      .access-input { width: 100%; min-width: 0; }
      .access-form .btn-primary { width: 100%; text-align: center; }

      /* Floating pill — move up to clear browser nav bars */
      .demo-float {
        bottom: 76px;
        right: 20px;
        font-size: 12px;
        padding: 11px 18px;
      }
      .demo-toast {
        right: 20px;
        left: 20px;
        max-width: none;
        bottom: 136px;
      }

      /* FAQ */
      .faq-q { font-size: 16px; padding: 20px 0; }

      footer { padding: 32px 20px; gap: 12px; }
    }

    /* Small phones */
    @media (max-width: 400px) {
      .hero-title { font-size: 42px; }
      .nav-demo { display: none; }  /* one button is enough on tiny screens */
    }