body { padding-top: 0; }

    /* ── Hero ── */
    /* Fixed-surface section: the hero is the brand poster — Murky Depths
       navy with the violet/lilac/rose wash in BOTH themes. All text
       inside is fixed White Desert; do not use theme vars for color in
       here. */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #02273a;
    }

    /* Blurred logo mountains — same technique Lovable uses with their hat */
    .hero::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 56%;
      transform: translate(-50%, -50%);
      width: 680px;
      height: 680px;
      background: url('/assets/img/logo/traverse_mountain_dark_512.png') center / contain no-repeat;
      filter: blur(72px);
      opacity: 0.55;
      z-index: 1;
      pointer-events: none;
    }

    /* Brand wash: Coronation violet rising from the left, Beefy Pink
       lilac from the center, Elizabeth Rose at the right edge — the
       MP172 pastels over the Murky Depths field. */
    .hero-gradient {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(ellipse 75% 60% at 15% 100%, rgba(89, 82, 156, 0.80) 0%, transparent 50%),
        radial-gradient(ellipse 65% 55% at 52% 100%, rgba(222, 190, 239, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse 75% 60% at 88% 100%, rgba(250, 223, 210, 0.40) 0%, transparent 50%),
        radial-gradient(ellipse 130% 50% at 50% 110%, rgba(4, 48, 71, 0.60) 0%, transparent 55%);
    }
    .hero-gradient::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(2,39,58,0.72) 0%,
        rgba(2,39,58,0.45) 30%,
        rgba(2,39,58,0.15) 58%,
        transparent 78%
      );
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 820px;
      margin: 0 auto;
      padding: 0 2rem;
      padding-top: 80px;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.3rem 0.85rem;
      border-radius: 99px;
      border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
      background: color-mix(in srgb, var(--accent) 7%, transparent);
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 2rem;
    }
    .hero-eyebrow-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse-dot 2s ease-in-out infinite;
    }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 600;
      letter-spacing: -0.015em;
      line-height: 1.08;
      color: #fdfaf1;
      margin-bottom: 1.5rem;
    }
    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.15rem);
      line-height: 1.7;
      color: rgba(253,250,241,0.62);
      max-width: 560px;
      margin: 0 auto 2.5rem;
    }
    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 3.5rem;
    }
    .hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .hero-meta-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.78rem;
      color: rgba(253,250,241,0.55);
    }
    /* Fixed-surface section: buttons must not follow theme inversion */
    .hero .btn-primary { background: #fdfaf1; color: #02273a; }
    .hero .btn-primary:hover { background: #efe8d6; }
    .hero .btn-ghost { border-color: rgba(253,250,241,0.25); color: rgba(253,250,241,0.8); }
    .hero .btn-ghost:hover { border-color: rgba(253,250,241,0.5); color: #fdfaf1; background: rgba(253,250,241,0.06); }
    .hero .hero-eyebrow { border-color: rgba(222,190,239,0.4); background: rgba(222,190,239,0.10); color: #debeef; }
    .hero .hero-eyebrow-dot { background: #debeef; }
    .hero-meta-item svg { width: 12px; height: 12px; opacity: 0.7; }

    /* ── Trust bar ── */
    .trust-bar {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 1.25rem 0;
      background: var(--bg-elevated);
      overflow: hidden;
    }
    .trust-inner {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 2rem;
      flex-wrap: wrap;
      justify-content: center;
    }
    .trust-label {
      font-size: 0.75rem;
      color: var(--fg-subtle);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-family: var(--font-mono);
      margin-right: 0.5rem;
    }
    .trust-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.25rem 0.75rem;
      border-radius: 99px;
      border: 1px solid var(--border);
      font-size: 0.75rem;
      color: var(--fg-muted);
      background: var(--bg-card);
    }
    .trust-pill svg { width: 12px; height: 12px; }

    /* ── How it works ── */
    .hiw-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    @media (max-width: 860px) {
      .hiw-grid { grid-template-columns: 1fr; gap: 3rem; }
    }
    .hiw-steps { display: flex; flex-direction: column; gap: 0; }
    .hiw-step {
      display: flex;
      gap: 1.25rem;
      padding: 1.75rem 0;
      border-bottom: 1px solid var(--border);
      cursor: default;
    }
    .hiw-step:first-child { padding-top: 0; }
    .hiw-step:last-child { border-bottom: none; padding-bottom: 0; }
    .hiw-step-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 700;
      color: var(--fg-subtle);
      line-height: 1;
      min-width: 2rem;
      padding-top: 2px;
    }
    .hiw-step-body h3 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--fg);
      margin-bottom: 0.4rem;
      letter-spacing: -0.015em;
    }
    .hiw-step-body p {
      font-size: 0.875rem;
      color: var(--fg-muted);
      line-height: 1.65;
    }

    /* ── Feature cards ── */
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    @media (max-width: 900px) {
      .feature-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 560px) {
      .feature-grid { grid-template-columns: 1fr; }
    }
    .feature-card {
      background: var(--bg-card);
      padding: 2rem;
      transition: background 0.2s;
    }
    .feature-card:hover { background: var(--bg-input); }
    .feature-card-icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      background: var(--accent-dim);
      border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
      margin-bottom: 1.25rem;
    }
    .feature-card-icon svg { width: 18px; height: 18px; color: var(--accent); }
    .feature-card h3 {
      font-family: var(--font-display);
      font-size: 0.975rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      color: var(--fg);
      margin-bottom: 0.5rem;
    }
    .feature-card p {
      font-size: 0.84rem;
      color: var(--fg-muted);
      line-height: 1.65;
    }

    /* ── Stats ── */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    @media (max-width: 640px) {
      .stats-grid { grid-template-columns: 1fr; }
    }
    .stat-card {
      background: var(--bg-card);
      padding: 2.5rem 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 200px;
    }
    .stat-value {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 600;
      letter-spacing: -0.015em;
      color: var(--fg);
      line-height: 1;
    }
    .stat-label {
      font-size: 0.84rem;
      color: var(--fg-muted);
      line-height: 1.55;
      margin-top: 1rem;
    }


    /* ── CTA gradient section ── */
    /* CTA stays on the navy editor surface in both themes so the
       closing moment always carries the brand field. */
    .cta-gradient {
      position: relative;
      overflow: hidden;
      background: #021c2b;
      padding: 8rem 0;
      text-align: center;
    }
    .cta-gradient-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(89, 82, 156, 0.45) 0%, transparent 65%),
        radial-gradient(ellipse 60% 60% at 10% 100%, rgba(222, 190, 239, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 90% 100%, rgba(250, 223, 210, 0.22) 0%, transparent 55%);
    }
    .cta-gradient-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, #021c2b 0%, transparent 40%, rgba(2,28,43,0.5) 80%, #021c2b 100%);
    }
    .cta-gradient-content {
      position: relative;
      z-index: 1;
      max-width: 600px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    .cta-gradient-content h2 {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 4vw, 2.75rem);
      font-weight: 600;
      letter-spacing: -0.01em;
      color: #fdfaf1;
      margin-bottom: 1rem;
      line-height: 1.15;
    }
    .cta-gradient-content p {
      font-size: 1rem;
      color: rgba(253,250,241,0.55);
      line-height: 1.7;
      margin-bottom: 2.25rem;
    }
    /* Fixed-surface section: buttons must not follow theme inversion */
    .cta-gradient .btn-primary { background: #fdfaf1; color: #02273a; }
    .cta-gradient .btn-primary:hover { background: #efe8d6; }
    .cta-gradient .btn-ghost { border-color: rgba(253,250,241,0.25); color: rgba(253,250,241,0.8); }
    .cta-gradient .btn-ghost:hover { border-color: rgba(253,250,241,0.5); color: #fdfaf1; background: rgba(253,250,241,0.06); }
    .cta-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    /* ── Section header ── */
    .section-header { margin-bottom: 3.5rem; }
    .section-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.15;
      color: var(--fg);
      margin-bottom: 0.75rem;
    }
    .section-header p {
      font-size: 1rem;
      color: var(--fg-muted);
      line-height: 1.7;
      max-width: 480px;
    }