:root {
      --bg: #0A0D14;
      --bg-elevated: #0c1018;
      --panel: rgba(18, 24, 36, 0.72);
      --panel-solid: #121824;
      --border: rgba(255, 255, 255, 0.08);
      --border-strong: rgba(61, 255, 168, 0.28);
      --text: rgba(255, 255, 255, 0.94);
      --muted: rgba(255, 255, 255, 0.55);
      --faint: rgba(255, 255, 255, 0.32);
      --accent: #3dffa8;
      --accent-rgb: 61, 255, 168;
      --accent-dim: rgba(61, 255, 168, 0.12);
      --accent-glow: rgba(61, 255, 168, 0.45);
      --magenta: #c759f2;
      --magenta-dim: rgba(199, 89, 242, 0.14);
      --warning: #ff8c40;
      --danger: #f24759;
      --meter-green: #40f273;
      --radius: 20px;
      --radius-sm: 14px;
      --radius-xs: 10px;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
      --max: 1120px;
      --nav-h: 72px;
      --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      /* Sticky nav offset for hash links / focus (e.g. tutorial video) */
      scroll-padding-top: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px));
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: var(--font);
      background: #0A0D14;
      color: var(--text);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      /* Keep content clear of the notch / rounded corners on viewport-fit=cover devices */
      padding-left: env(safe-area-inset-left, 0px);
      padding-right: env(safe-area-inset-right, 0px);
    }

    img { max-width: 100%; display: block; }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    button { font-family: inherit; }

    /* Ambient field: page gradient + InvestigateGhostBackdrop.png + vignette */
    .ambient {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
      background: linear-gradient(180deg, #0D121F 0%, #05080F 52%, #0F0A1A 100%);
    }
    .ambient-backdrop {
      position: absolute;
      inset: 0;
      background-image: url("assets/investigate-ghost-backdrop.png");
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      opacity: 0.62;
      pointer-events: none;
    }
    .ambient-vignette {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0) 72%);
      mix-blend-mode: multiply;
    }
    @media (max-width: 430px) and (orientation: portrait) {
      .ambient-backdrop {
        background-position: center 30%;
      }
    }
    .grain {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      opacity: 0.035;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .wrap {
      position: relative;
      z-index: 2;
    }

    /* Nav */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
      padding-top: env(safe-area-inset-top, 0px);
      display: flex;
      align-items: center;
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      background: rgba(7, 9, 15, 0.72);
      border-bottom: 1px solid transparent;
      transition: border-color 0.25s ease, background 0.25s ease;
    }
    .nav.scrolled {
      border-bottom-color: var(--border);
      background: rgba(7, 9, 15, 0.88);
    }
    .nav-inner {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text);
      text-decoration: none;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .brand:hover { text-decoration: none; }
    .brand img {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      box-shadow: 0 0 0 1px rgba(199, 89, 242, 0.35), 0 0 24px rgba(61, 255, 168, 0.2);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
    }
    @media (max-width: 760px) {
      /* Links leave the flex flow when closed; keep CTA + menu pinned right */
      .nav-actions { margin-left: auto; }
    }
    .nav-links a {
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 500;
      padding: 8px 12px;
      border-radius: 999px;
      text-decoration: none;
      transition: color 0.15s, background 0.15s;
    }
    .nav-links a:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.05);
      text-decoration: none;
    }
    /* Sticky Get the app CTA lives outside the hamburger so it never vanishes */
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    /* Store links live in the mobile menu only; desktop uses the download band */
    .nav-store { display: none; }
    /*
      Bulletproof nav CTA chrome:
      - accent primary (readable dark text on neon green)
      - always display:inline-flex (never hidden under 761px)
      - beats .nav-links a muted color cascade even if markup moves
    */
    header .nav-actions a.nav-cta.btn,
    header a.nav-cta.btn.btn-primary,
    header a.nav-cta.btn.btn-apple {
      display: inline-flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: #042016 !important;
      background: linear-gradient(180deg, #63ffc0 0%, var(--accent) 100%) !important;
      font-weight: 700;
      font-size: 0.88rem;
      padding: 10px 16px;
      border-radius: 12px;
      border: none;
      text-decoration: none !important;
      filter: none;
      box-shadow:
        0 0 0 1px rgba(61, 255, 168, 0.45),
        0 8px 28px rgba(61, 255, 168, 0.28),
        0 10px 32px rgba(0, 0, 0, 0.35);
    }
    header .nav-actions a.nav-cta.btn:hover,
    header a.nav-cta.btn.btn-primary:hover,
    header a.nav-cta.btn.btn-apple:hover {
      color: #042016 !important;
      background: linear-gradient(180deg, #7affcb 0%, #54ffb4 100%) !important;
      filter: none;
      text-decoration: none !important;
      box-shadow:
        0 0 0 1px rgba(61, 255, 168, 0.55),
        0 10px 34px rgba(61, 255, 168, 0.35),
        0 12px 36px rgba(0, 0, 0, 0.4);
    }
    header .nav-actions a.nav-cta.btn svg,
    header a.nav-cta.btn svg {
      color: #042016 !important;
      fill: currentColor;
    }
    @media (max-width: 760px) {
      header .nav-actions a.nav-cta.btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 10px;
      }
    }
    /* Hide low-priority links in the cramped horizontal bar,
       but keep them available inside the opened mobile menu */
    @media (max-width: 760px) {
      .nav-links:not(.open) .hide-sm { display: none; }
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: none;
      border-radius: 14px;
      padding: 14px 22px;
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: -0.01em;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
      white-space: nowrap;
    }
    .btn:hover { text-decoration: none; transform: translateY(-1px); }
    .btn:active { transform: translateY(0); }
    .btn-primary {
      background: linear-gradient(180deg, #63ffc0 0%, var(--accent) 100%);
      color: #042016;
      box-shadow: 0 0 0 1px rgba(61, 255, 168, 0.4), 0 10px 40px rgba(61, 255, 168, 0.22);
    }
    .btn-primary:hover { filter: brightness(1.05); }
    .btn-ghost {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07); }
    .btn-apple,
    .btn-play {
      background: #fff;
      color: #000;
    }
    .btn-apple svg,
    .btn-play svg {
      width: 18px;
      height: 18px;
      pointer-events: none;
      flex-shrink: 0;
    }
    .btn-apple, .btn-play, .btn-primary {
      position: relative;
      z-index: 5;
      cursor: pointer;
      -webkit-user-select: none;
      user-select: none;
    }
    /* Official store badges: unstyled image links, no pill chrome */
    .store-badge {
      display: inline-block;
      line-height: 0;
      text-decoration: none;
      background: none;
      border: none;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
      flex: 0 0 auto;
    }
    .store-badge:hover,
    .store-badge:active {
      opacity: 0.92;
      transform: none;
      filter: none;
      text-decoration: none;
    }
    .store-badge img {
      display: block;
      height: 40px;
      width: auto;
    }
    .store-badge-play img {
      height: 40px;
    }
    /* CTAs / critical media visible even if scroll-reveal JS is slow/unavailable */
    .hero-copy.reveal,
    .final-cta.reveal,
    .page-hero.reveal,
    .video-frame.reveal,
    .video-facade.reveal,
    .workflow-step.reveal,
    .workflow-section .section-head.reveal,
    .hero-actions .btn,
    .store-row .btn,
    .hero-actions .store-badge,
    .store-row .store-badge {
      opacity: 1 !important;
      transform: none !important;
    }
    .btn-sm { padding: 10px 16px; font-size: 0.88rem; border-radius: 12px; }

    /*
      Section rhythm: consistent ~72px bands (was 88; felt like empty acres;
      uneven 64/40 workflow dips read as unfinished). Soft collapse only on
      homepage stacked bands so trust → download → disclaimer don’t double.
    */
    .section {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 72px 0;
    }
    .section-sm { padding: 56px 0; }
    /* Homepage: prevent adjacent .section paddings from stacking to ~144px */
    body.home main > .section + .section {
      padding-top: 36px;
    }
    body.home main > .section.section-sm + .section,
    body.home main > .section + .section.section-sm {
      padding-top: 28px;
    }
    @media (max-width: 760px) {
      .section { padding: 56px 0; }
      .section-sm { padding: 44px 0; }
      body.home main > .section + .section { padding-top: 28px; }
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      max-width: 100%;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--accent-dim);
      border: 1px solid rgba(61, 255, 168, 0.28);
      border-radius: 999px;
      padding: 6px 12px;
      margin-bottom: 16px;
    }
    .eyebrow .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px var(--accent);
      animation: pulse-dot 1.8s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.75); }
    }
    h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
    h1 {
      font-size: clamp(2.4rem, 6vw, 4rem);
      font-weight: 800;
      max-width: 16ch;
    }
    h2 {
      font-size: clamp(1.8rem, 3.6vw, 2.6rem);
      font-weight: 800;
    }
    h3 { font-size: 1.15rem; font-weight: 700; }
    .lede {
      color: var(--muted);
      font-size: clamp(1.05rem, 1.5vw, 1.2rem);
      max-width: 46ch;
      margin: 18px 0 0;
    }
    .section-head {
      display: grid;
      gap: 10px;
      margin-bottom: 28px;
      max-width: 640px;
      justify-items: start;
    }
    .section-head .eyebrow { margin-bottom: 0; }
    .section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

    /* Hero */
    .hero {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 36px 0 48px;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 40px;
      align-items: center;
      min-height: calc(100vh - var(--nav-h) - 80px);
    }
    @media (max-width: 960px) {
      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 24px 0 36px;
        gap: 32px;
      }
      h1 { max-width: none; }
    }
    .hero-copy .lede { margin-bottom: 28px; }
    .hero-lede {
      display: grid;
      gap: 10px;
      margin-top: 18px;
      max-width: 38ch;
      font-size: clamp(1.02rem, 1.45vw, 1.15rem);
      line-height: 1.5;
      letter-spacing: -0.01em;
    }
    .hero-lede-tools,
    .hero-lede-privacy {
      display: block;
    }
    .hero-lede-tools {
      color: rgba(255, 255, 255, 0.78);
      font-weight: 500;
    }
    .hero-lede-privacy {
      color: var(--muted);
      font-size: 0.95em;
      font-weight: 500;
    }
    .hero-price {
      margin: 20px 0 0;
      max-width: 100%;
    }
    .hero-price-link {
      display: grid;
      gap: 4px;
      width: fit-content;
      max-width: 100%;
      padding: 14px 18px 16px;
      border-radius: 18px;
      border: 1px solid rgba(199, 89, 242, 0.42);
      background:
        linear-gradient(145deg, rgba(199, 89, 242, 0.2), rgba(199, 89, 242, 0.05) 55%, rgba(12, 16, 24, 0.35)),
        rgba(18, 24, 36, 0.65);
      color: inherit;
      text-decoration: none;
      box-shadow: 0 0 0 1px rgba(199, 89, 242, 0.08), 0 12px 36px rgba(0, 0, 0, 0.28);
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }
    .hero-price-link:hover {
      text-decoration: none;
      border-color: rgba(199, 89, 242, 0.65);
      background:
        linear-gradient(145deg, rgba(199, 89, 242, 0.26), rgba(199, 89, 242, 0.08) 55%, rgba(12, 16, 24, 0.4)),
        rgba(18, 24, 36, 0.72);
    }
    .hero-price-label {
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-size: 0.78rem;
      color: #e4a8ff;
    }
    .hero-price-main {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 8px 14px;
      margin-top: 2px;
    }
    .hero-price-amount {
      font-family: inherit;
      font-weight: 800;
      font-size: clamp(2.35rem, 5.2vw, 3.15rem);
      letter-spacing: -0.06em;
      font-variant-numeric: tabular-nums;
      line-height: 1;
      color: var(--text);
      text-shadow: 0 0 28px rgba(199, 89, 242, 0.28);
    }
    .hero-price-lifetime {
      font-size: clamp(1.12rem, 2.2vw, 1.4rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      line-height: 1.2;
    }
    .hero-price-meta {
      margin-top: 2px;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.95rem;
      font-weight: 600;
    }
    @media (max-width: 520px) {
      .hero-price-link {
        padding: 12px 14px 14px;
        background:
          linear-gradient(145deg, rgba(199, 89, 242, 0.24), rgba(199, 89, 242, 0.08) 55%, rgba(10, 13, 20, 0.78)),
          rgba(10, 13, 20, 0.88);
        box-shadow: 0 0 0 1px rgba(199, 89, 242, 0.12), 0 14px 40px rgba(0, 0, 0, 0.45);
      }
      .hero-price-lifetime { width: 100%; }
      .hero-price-amount {
        font-size: clamp(2.5rem, 12vw, 3.1rem);
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 28px rgba(199, 89, 242, 0.28);
      }
    }
    .hero-actions,
    .store-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }
    .hero-actions {
      margin-bottom: 28px;
    }
    .hero-actions .btn,
    .store-row .btn {
      flex: 0 0 auto;
      min-width: 0;
      justify-content: center;
      box-sizing: border-box;
    }
    .hero-actions .store-badge,
    .store-row .store-badge {
      flex: 0 0 auto;
    }
    .hero-actions .btn-ghost,
    .store-row .btn-ghost {
      flex: 0 0 auto;
      height: 40px;
      padding: 0 14px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0;
      border-radius: 8px;
      white-space: nowrap;
    }
    @media (max-width: 560px) {
      .hero-actions,
      .store-row { flex-direction: column; align-items: flex-start; }
      .hero-actions .store-badge,
      .store-row .store-badge {
        width: auto;
        align-self: flex-start;
      }
      .final-cta .hero-actions {
        align-items: center;
      }
      .final-cta .hero-actions .store-badge,
      .final-cta .hero-actions .btn-ghost {
        align-self: center;
      }
    }
    #download {
      scroll-margin-top: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px));
    }
    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      color: var(--faint);
      font-size: 0.85rem;
      font-weight: 500;
    }
    .trust-row span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .trust-row span::before {
      content: "";
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.7;
    }

    /* Phone mockup */
    .hero-visual {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 560px;
    }
    .phone {
      position: relative;
      width: min(290px, 72vw);
      aspect-ratio: 9 / 19.2;
      border-radius: 42px;
      padding: 10px;
      background: linear-gradient(160deg, #2a3140, #0c0f14 40%, #1a1226);
      box-shadow:
        var(--shadow),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 80px rgba(61, 255, 168, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
      z-index: 2;
    }
    .phone-screen {
      width: 100%;
      height: 100%;
      border-radius: 34px;
      overflow: hidden;
      background: #0a0d14;
      position: relative;
    }
    .phone-screen img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }
    .phone-notch {
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      width: 34%;
      height: 22px;
      background: #000;
      border-radius: 20px;
      z-index: 3;
    }
    .phone-glow {
      position: absolute;
      width: 70%;
      height: 50%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(61, 255, 168, 0.35), transparent 70%);
      filter: blur(30px);
      z-index: 1;
      animation: glow-pulse 4s ease-in-out infinite;
    }
    @keyframes glow-pulse {
      0%, 100% { opacity: 0.55; transform: scale(1); }
      50% { opacity: 0.9; transform: scale(1.08); }
    }
    .phone-float-a { transform: translateY(0); animation: float-y 7s ease-in-out infinite; }
    .phone-float-b {
      position: absolute;
      width: min(220px, 52vw);
      right: 0;
      bottom: 8%;
      opacity: 0.92;
      transform: rotate(8deg);
      z-index: 1;
      animation: float-y 8.5s ease-in-out infinite reverse;
    }
    @media (max-width: 960px) {
      .phone-float-b { display: none; }
      .hero-visual { min-height: 480px; }
    }
    @keyframes float-y {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-14px); }
    }
    .phone-float-b.phone {
      transform: rotate(8deg);
    }
    .phone-float-b.phone.phone-float-b {
      animation: float-y-rot 8.5s ease-in-out infinite;
    }
    @keyframes float-y-rot {
      0%, 100% { transform: rotate(8deg) translateY(0); }
      50% { transform: rotate(8deg) translateY(-12px); }
    }

    /* Floating PTT badge on hero */
    .ptt-fab-demo {
      position: absolute;
      left: 6%;
      bottom: 18%;
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      animation: float-y 5.5s ease-in-out infinite;
    }
    .ptt-chip {
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      background: var(--accent);
      color: #042016;
      padding: 5px 10px;
      border-radius: 999px;
      box-shadow: 0 8px 24px rgba(61, 255, 168, 0.35);
    }
    .ptt-btn {
      position: relative;
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: rgba(18, 24, 36, 0.95);
      border: 2px solid var(--accent);
      display: grid;
      place-items: center;
      color: var(--accent);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
      font-size: 0.65rem;
      font-weight: 900;
      letter-spacing: 0.04em;
    }
    .ptt-btn svg { width: 22px; height: 22px; margin-bottom: 1px; }
    .ptt-btn .stack { display: grid; place-items: center; gap: 1px; }
    .ptt-btn.live {
      background: var(--warning);
      border-color: var(--warning);
      color: #1a0d00;
      animation: ptt-swell 1s ease-in-out infinite;
    }
    .ptt-ring {
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 3px solid rgba(255, 140, 64, 0.55);
      animation: ptt-ring 1s ease-out infinite;
      opacity: 0;
    }
    .ptt-btn.live .ptt-ring { opacity: 1; }
    @keyframes ptt-swell {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.06); }
    }
    @keyframes ptt-ring {
      from { transform: scale(0.95); opacity: 0.9; }
      to { transform: scale(1.35); opacity: 0; }
    }
    @media (max-width: 520px) {
      .ptt-fab-demo { left: 0; bottom: 10%; transform: scale(0.9); }
    }

    /* Logo marquee / strip */
    .strip {
      border-block: 1px solid var(--border);
      background: rgba(12, 16, 24, 0.55);
      backdrop-filter: blur(8px);
      margin-block: 8px;
    }
    .strip-inner {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 18px 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    @media (max-width: 760px) {
      .strip-inner { grid-template-columns: repeat(2, 1fr); }
    }
    .stat {
      text-align: center;
      padding: 4px 8px;
    }
    .stat strong {
      display: block;
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 4px;
    }
    .stat span {
      font-size: 0.82rem;
      color: var(--muted);
    }

    /* Cards */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }
    /* Free mode set has 7 cards - prefer even packing on mid widths */
    .grid-modes-free {
      display: grid;
      gap: 14px;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    /* Tutorial walkthrough: 5 chapter cards */
    .tutorial-chapters-grid {
      display: grid;
      gap: 14px;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    @media (max-width: 900px) {
      .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-modes-free { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 560px) {
      .grid-3, .grid-2, .grid-4, .grid-modes-free,
      .tutorial-chapters-grid { grid-template-columns: 1fr; }
    }

    .card {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 22px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .card:hover {
      border-color: rgba(61, 255, 168, 0.22);
      transform: translateY(-2px);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    }
    .card-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: var(--accent-dim);
      border: 1px solid rgba(61, 255, 168, 0.22);
      color: var(--accent);
      margin-bottom: 14px;
      font-size: 1.2rem;
    }
    .card-icon.magenta {
      background: var(--magenta-dim);
      border-color: rgba(199, 89, 242, 0.28);
      color: var(--magenta);
    }
    .card-icon.warning {
      background: rgba(255, 140, 64, 0.12);
      border-color: rgba(255, 140, 64, 0.3);
      color: var(--warning);
    }
    .card h3 { margin-bottom: 8px; }
    .card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }
    .card .meta {
      margin-top: 14px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--faint);
    }

    /* Feature showcase rows */
    .showcase {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      margin-bottom: 72px;
    }
    .showcase:last-child { margin-bottom: 0; }
    .showcase.reverse { direction: rtl; }
    .showcase.reverse > * { direction: ltr; }
    @media (max-width: 900px) {
      .showcase, .showcase.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 28px;
        margin-bottom: 56px;
      }
    }
    .showcase-copy .lede { max-width: 42ch; }
    .feature-list {
      list-style: none;
      padding: 0;
      margin: 22px 0 0;
      display: grid;
      gap: 12px;
    }
    .feature-list li {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 12px;
      align-items: start;
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.45;
    }
    .feature-list li::before {
      content: "";
      width: 18px;
      height: 18px;
      margin-top: 3px;
      flex-shrink: 0;
      border-radius: 50%;
      background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(135deg, var(--accent), var(--magenta)) border-box;
      border: 1.5px solid transparent;
      box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 7px var(--accent);
    }
    .shot-frame {
      position: relative;
      border-radius: 28px;
      padding: 12px;
      background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }
    .shot-frame img {
      border-radius: 20px;
      width: 100%;
      height: auto;
      background: #0a0d14;
    }
    .shot-frame::after {
      content: "";
      position: absolute;
      inset: 12px;
      border-radius: 20px;
      pointer-events: none;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    /* Team / PTT highlight */
    .team-panel {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      border: 1px solid rgba(61, 255, 168, 0.2);
      background:
        radial-gradient(700px 300px at 10% 0%, rgba(61, 255, 168, 0.12), transparent 60%),
        radial-gradient(500px 280px at 100% 100%, rgba(199, 89, 242, 0.14), transparent 55%),
        rgba(12, 16, 24, 0.9);
      padding: clamp(28px, 5vw, 48px);
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 80px rgba(0, 0, 0, 0.35);
    }
    .team-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 36px;
      align-items: center;
    }
    @media (max-width: 860px) {
      .team-grid { grid-template-columns: 1fr; }
    }
    .team-kicker {
      font-family: var(--mono);
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--warning);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .team-panel h2 { max-width: 16ch; }
    .team-panel .lede { max-width: 48ch; }
    .ptt-steps {
      display: grid;
      gap: 12px;
      margin-top: 24px;
    }
    .ptt-step {
      display: grid;
      grid-template-columns: 36px 1fr;
      gap: 14px;
      align-items: start;
      padding: 14px 16px;
      border-radius: 14px;
      background: rgba(0, 0, 0, 0.25);
      border: 1px solid var(--border);
    }
    .ptt-step .n {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      font-weight: 800;
      font-size: 0.85rem;
      background: var(--accent-dim);
      color: var(--accent);
      border: 1px solid rgba(61, 255, 168, 0.25);
    }
    .ptt-step strong {
      display: block;
      margin-bottom: 2px;
      font-size: 0.95rem;
    }
    .ptt-step span {
      color: var(--muted);
      font-size: 0.88rem;
    }
    .radio-card {
      border-radius: 22px;
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.35);
      padding: 22px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .radio-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--accent);
      margin-bottom: 18px;
    }
    .radio-status .live-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px var(--accent);
      animation: pulse-dot 1.2s ease-in-out infinite;
    }
    .radio-visual {
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 18px;
      min-height: 160px;
      margin-bottom: 18px;
    }
    .peer {
      display: grid;
      gap: 6px;
      justify-items: center;
      color: var(--muted);
      font-size: 0.75rem;
      font-weight: 600;
      max-width: 96px;
    }
    .peer .peer-name {
      letter-spacing: 0.02em;
    }
    .peer .avatar {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--panel-solid);
      border: 2px solid var(--border);
      color: var(--text);
      font-weight: 800;
    }
    .peer.talking .avatar {
      border-color: var(--warning);
      box-shadow: 0 0 24px rgba(255, 140, 64, 0.45);
      color: #1a0d00;
      background: var(--warning);
    }
    .peer.talking { color: var(--warning); }
    .wave {
      display: flex;
      align-items: flex-end;
      gap: 3px;
      height: 28px;
      opacity: 0;
    }
    .peer.talking .wave { opacity: 1; }
    .wave i {
      display: block;
      width: 3px;
      border-radius: 2px;
      background: var(--warning);
      animation: bar 0.8s ease-in-out infinite;
    }
    .wave i:nth-child(1) { height: 30%; animation-delay: 0s; }
    .wave i:nth-child(2) { height: 70%; animation-delay: 0.1s; }
    .wave i:nth-child(3) { height: 100%; animation-delay: 0.2s; }
    .wave i:nth-child(4) { height: 55%; animation-delay: 0.15s; }
    .wave i:nth-child(5) { height: 40%; animation-delay: 0.05s; }
    @keyframes bar {
      0%, 100% { transform: scaleY(0.45); }
      50% { transform: scaleY(1); }
    }
    .radio-note {
      color: var(--faint);
      font-size: 0.82rem;
      margin: 0;
    }
    .radio-listen-btn {
      width: 100%;
      margin: 14px 0 10px;
      border: none;
    }
    .radio-listen-btn.is-live {
      background: linear-gradient(180deg, #ffb06a 0%, var(--warning) 100%);
      color: #1a0d00;
      box-shadow: 0 0 0 1px rgba(255, 140, 64, 0.45), 0 10px 28px rgba(255, 140, 64, 0.22);
    }

    /* Modes / badges */
    .mode-card {
      position: relative;
      overflow: hidden;
      padding-top: 28px;
      min-height: 100%;
    }
    .mode-card .badge-free,
    .mode-card .badge-pro {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 1;
    }
    .badge-free,
    .badge-pro {
      display: inline-flex;
      align-items: center;
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      padding: 4px 9px;
      border-radius: 999px;
      line-height: 1.2;
      white-space: nowrap;
    }
    .badge-free {
      background: var(--accent-dim);
      color: var(--accent);
      border: 1px solid rgba(61, 255, 168, 0.25);
    }
    .badge-pro {
      background: var(--magenta-dim);
      color: #e4a8ff;
      border: 1px solid rgba(199, 89, 242, 0.35);
    }

    .section-label {
      margin: 0 0 16px;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--faint);
    }
    .section-label + .grid-4,
    .section-label + .grid-2,
    .section-label + .grid-modes-free,
    .section-label + .gate-panels {
      margin-bottom: 40px;
    }
    #modes .section-label + .grid-2 {
      margin-bottom: 0;
    }
    .section-label + .section-label,
    .grid-4 + .section-label,
    .grid-modes-free + .section-label,
    .grid-2 + .section-label {
      margin-top: 8px;
    }

    /* Gate panels (free vs pro tools) */
    .gate-panels {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      align-items: stretch;
    }
    @media (max-width: 800px) {
      .gate-panels { grid-template-columns: 1fr; }
    }
    .gate-panel {
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      min-height: 100%;
    }
    .gate-panel.free {
      border-color: rgba(61, 255, 168, 0.22);
      background:
        radial-gradient(400px 180px at 0% 0%, rgba(61, 255, 168, 0.08), transparent 60%),
        var(--panel);
    }
    .gate-panel.pro {
      border-color: rgba(199, 89, 242, 0.28);
      background:
        radial-gradient(400px 180px at 100% 0%, rgba(199, 89, 242, 0.1), transparent 60%),
        var(--panel);
    }
    .gate-panel-head {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .gate-panel-head h3 {
      margin: 0;
      font-size: 1.15rem;
    }
    .gate-panel-head p {
      margin: 4px 0 0;
      width: 100%;
      color: var(--muted);
      font-size: 0.9rem;
    }
    .tool-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .tool-chips li {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 0.86rem;
      font-weight: 600;
      color: var(--text);
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid var(--border);
      line-height: 1.25;
    }
    .gate-panel.free .tool-chips li {
      border-color: rgba(61, 255, 168, 0.18);
      background: rgba(61, 255, 168, 0.06);
    }
    .gate-panel.pro .tool-chips li {
      border-color: rgba(199, 89, 242, 0.22);
      background: rgba(199, 89, 242, 0.07);
    }
    .tool-chips li small {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--faint);
      letter-spacing: 0.02em;
    }

    /* Showcase phone frames - cap height so tall screenshots don't blow layout */
    .showcase {
      align-items: center;
    }
    .showcase .shot-frame {
      max-width: 340px;
      margin-inline: auto;
      width: 100%;
    }
    .showcase .shot-frame img {
      aspect-ratio: 9 / 19.5;
      object-fit: cover;
      object-position: top center;
    }
    .showcase-copy h2 {
      font-size: clamp(1.45rem, 2.8vw, 1.9rem);
      margin-bottom: 10px;
    }
    .showcase-copy .feature-list {
      margin-top: 18px;
    }

    /* Gallery */
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    @media (max-width: 800px) {
      .gallery { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
      .gallery { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
    }
    .gallery figure {
      margin: 0;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #0a0d14;
      aspect-ratio: 9 / 16;
      position: relative;
    }
    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.45s ease;
    }
    .gallery figure:hover img { transform: scale(1.03); }
    .gallery figcaption {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      padding: 28px 14px 12px;
      background: linear-gradient(transparent, rgba(0,0,0,0.85));
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text);
    }

    /* Pro */
    .pro-shell {
      border-radius: 28px;
      border: 1px solid rgba(199, 89, 242, 0.28);
      background:
        radial-gradient(600px 280px at 90% 0%, rgba(199, 89, 242, 0.18), transparent 60%),
        radial-gradient(500px 240px at 0% 100%, rgba(61, 255, 168, 0.08), transparent 55%),
        rgba(14, 12, 22, 0.92);
      padding: clamp(28px, 5vw, 48px);
      display: grid;
      grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
      gap: 36px;
      align-items: start;
    }
    @media (max-width: 900px) {
      .pro-shell { grid-template-columns: 1fr; }
    }
    .pro-shell-copy .lede {
      max-width: 40ch;
    }
    .price {
      font-size: clamp(2.4rem, 5vw, 3.4rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      margin: 12px 0 4px;
      line-height: 1.05;
    }
    .price small {
      display: inline-block;
      font-size: 1rem;
      font-weight: 600;
      color: var(--muted);
      letter-spacing: 0;
      margin-left: 4px;
    }
    .pro-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    @media (max-width: 640px) {
      .pro-list { grid-template-columns: 1fr; }
    }
    .pro-list li {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 10px;
      align-items: start;
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.25);
      border: 1px solid var(--border);
      font-size: 0.86rem;
      color: var(--muted);
      line-height: 1.35;
    }
    .pro-list li strong {
      display: block;
      color: var(--text);
      font-size: 0.9rem;
      margin-bottom: 3px;
      line-height: 1.25;
    }
    .pro-list .tick {
      color: var(--magenta);
      font-weight: 800;
      flex-shrink: 0;
      line-height: 1.35;
      margin-top: 1px;
    }

    /* Privacy band */
    .privacy-band {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    @media (max-width: 760px) {
      .privacy-band { grid-template-columns: 1fr; }
    }

    /* CTA */
    .final-cta {
      text-align: center;
      padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 28px);
      border-radius: 28px;
      border: 1px solid rgba(61, 255, 168, 0.2);
      background:
        radial-gradient(500px 220px at 50% 0%, rgba(61, 255, 168, 0.16), transparent 65%),
        rgba(12, 16, 24, 0.85);
    }
    .final-cta h2 { max-width: 18ch; margin: 0 auto; }
    .final-cta .lede {
      margin: 16px auto 28px;
      max-width: 42ch;
    }
    .final-cta .hero-actions { justify-content: center; }

    /* Disclaimer */
    .disclaimer {
      border: 1px solid rgba(255, 140, 64, 0.25);
      background: rgba(255, 140, 64, 0.06);
      border-radius: var(--radius);
      padding: 22px 24px;
      color: var(--muted);
      font-size: 0.92rem;
    }
    .disclaimer strong {
      color: var(--warning);
      display: block;
      margin-bottom: 8px;
      font-size: 0.95rem;
    }

    /* Equal-height mode cards in a grid */
    .grid-4 > .card,
    .grid-2 > .card,
    .grid-3 > .card {
      height: 100%;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 40px 0 calc(56px + env(safe-area-inset-bottom, 0px));
      margin-top: 24px;
    }
    .footer-inner {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 28px;
    }
    @media (max-width: 700px) {
      .footer-inner { grid-template-columns: 1fr; }
    }
    .footer-brand {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .footer-brand img {
      width: 44px;
      height: 44px;
      border-radius: 12px;
    }
    .footer-brand p {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 0.9rem;
      max-width: 32ch;
    }
    footer h4 {
      margin: 0 0 12px;
      font-size: 0.78rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--faint);
    }
    footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }
    footer a {
      color: var(--muted);
      font-size: 0.92rem;
    }
    footer a:hover { color: var(--accent); }
    .footer-bottom {
      width: min(var(--max), calc(100% - 40px));
      margin: 28px auto 0;
      padding-top: 20px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-wrap: wrap;
      gap: 10px 20px;
      justify-content: space-between;
      color: var(--faint);
      font-size: 0.82rem;
    }

    /* Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.in {
      opacity: 1;
      transform: none;
    }

    /* Mobile menu */
    .menu-btn {
      display: none;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text);
      width: 42px;
      height: 42px;
      border-radius: 12px;
      place-items: center;
      cursor: pointer;
      flex-shrink: 0;
    }
    @media (max-width: 760px) {
      .menu-btn { display: grid; }
      .nav-inner { gap: 12px; }
      .nav-links {
        position: fixed;
        inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 12px auto;
        margin-left: 0;
        background: rgba(12, 16, 24, 0.96);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        display: none;
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--nav-h) - env(safe-area-inset-top, 0px) - 24px);
        overflow-y: auto;
        z-index: 60;
      }
      .nav-links.open { display: flex; }
      .nav-links a {
        padding: 12px 14px;
        border-radius: 10px;
      }
      .nav-links.open .nav-store { display: block; }
      .nav-links.open .nav-store:not(.nav-store + .nav-store) {
        border-top: 1px solid var(--border);
        margin-top: 8px;
        padding-top: 16px;
      }
    }


/* Inner page chrome */
.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 8px;
}
.page-hero + .section,
.page-hero + .team-panel,
.page-hero + .pro-shell {
  /* sections already pad; tighten double spacing */
}
/* Inner pages: first content section after hero */
main > .section:first-of-type,
main > .page-hero + .section {
  padding-top: 32px;
}
/* Team page embeds team-panel directly */
main > .page-hero + .section .team-panel,
main .team-panel {
  margin-top: 12px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 18ch;
}
.page-hero .lede { margin-top: 14px; }
.page-hero .crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 14px;
}
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero .crumb span { opacity: 0.5; }
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .explore-grid { grid-template-columns: 1fr; }
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 160px;
}
.explore-card:hover {
  border-color: rgba(61, 255, 168, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  text-decoration: none;
  color: inherit;
}
.explore-card .kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.explore-card.pro .kicker { color: #e4a8ff; }
.explore-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.explore-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.explore-card .go {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.home-strip-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 40px;
}

/* Homepage investigator workflow: equal-height flow with progress rail */
.workflow-section {
  /* Match global .section 72px so there is no uneven 64/40 dip before Explore */
  padding-top: 72px;
  padding-bottom: 72px;
}
.workflow-section .section-head {
  margin-bottom: 28px;
}
.workflow-rail {
  position: relative;
}
.workflow-rail::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 4%;
  right: 4%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(61, 255, 168, 0.05),
    rgba(61, 255, 168, 0.45) 20%,
    rgba(61, 255, 168, 0.45) 80%,
    rgba(61, 255, 168, 0.05)
  );
  box-shadow: 0 0 16px rgba(61, 255, 168, 0.25);
  pointer-events: none;
  z-index: 0;
}
.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.workflow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 255, 168, 0.24);
  background:
    linear-gradient(180deg, rgba(61, 255, 168, 0.1) 0%, transparent 44%),
    rgba(12, 16, 24, 0.92);
  box-shadow:
    0 0 0 1px rgba(61, 255, 168, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.workflow-step:hover {
  border-color: rgba(61, 255, 168, 0.45);
  box-shadow:
    0 0 0 1px rgba(61, 255, 168, 0.14) inset,
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(61, 255, 168, 0.12);
  transform: translateY(-2px);
}
/* Arrow connectors between cards (desktop flow) */
.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(100% + 3px);
  width: calc(22px - 6px);
  height: 2px;
  background: linear-gradient(90deg, rgba(61, 255, 168, 0.7), rgba(61, 255, 168, 0.15));
  box-shadow: 0 0 12px rgba(61, 255, 168, 0.4);
  pointer-events: none;
  z-index: 2;
}
.workflow-step .workflow-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.4rem;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #042016;
  background: linear-gradient(180deg, #63ffc0 0%, var(--accent) 100%);
  box-shadow: 0 0 0 1px rgba(61, 255, 168, 0.35), 0 6px 18px rgba(61, 255, 168, 0.2);
}
.workflow-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 255, 168, 0.28);
  box-shadow: 0 0 20px rgba(61, 255, 168, 0.12);
  animation: workflow-glow 3.6s ease-in-out infinite;
}
.workflow-step:nth-child(2) .workflow-icon { animation-delay: 0.4s; }
.workflow-step:nth-child(3) .workflow-icon { animation-delay: 0.8s; }
.workflow-step:nth-child(4) .workflow-icon { animation-delay: 1.2s; }
@keyframes workflow-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(61, 255, 168, 0.1); }
  50% { box-shadow: 0 0 26px rgba(61, 255, 168, 0.28); }
}
.workflow-icon svg {
  width: 22px;
  height: 22px;
}
.workflow-step strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}
@media (max-width: 900px) {
  .workflow-rail::before { display: none; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .workflow-step:not(:last-child)::after { display: none; }
  .workflow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), rgba(61, 255, 168, 0.15));
  }
  .workflow-step { padding-left: 22px; }
}
@media (max-width: 520px) {
  .workflow-steps { grid-template-columns: 1fr; gap: 12px; }
  .workflow-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Tutorial video embed: aspect-ratio first; padding fallback never uses min() */
.video-frame {
  position: relative;
  width: min(880px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  /* Fallback height for browsers without aspect-ratio */
  height: auto;
  min-height: 200px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0d14;
  box-shadow: var(--shadow), 0 0 60px rgba(61, 255, 168, 0.08);
}
@supports not (aspect-ratio: 16 / 9) {
  .video-frame {
    height: 0;
    padding-top: 56.25%;
    min-height: 0;
  }
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load YouTube facade (no third-party until play) */
.video-facade-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #0a0d14;
  cursor: pointer;
  color: #f00;
}
.video-facade-btn:focus { outline: none; }
.video-facade-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 2px rgba(61, 255, 168, 0.35);
}
.video-facade-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: filter 0.2s ease, transform 0.35s ease;
}
.video-facade-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.video-facade-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.video-facade-label,
.video-facade-time {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.video-facade-time {
  font-family: var(--mono);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 4px 8px;
  letter-spacing: 0.02em;
}
.video-facade-btn:hover .video-facade-poster,
.video-facade-btn:focus-visible .video-facade-poster {
  filter: brightness(1.08);
  transform: scale(1.02);
}
.video-facade-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  pointer-events: none;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
  z-index: 2;
}
.video-facade-play-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.video-facade-btn:hover .video-facade-play,
.video-facade-btn:focus-visible .video-facade-play {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 28px rgba(61, 255, 168, 0.25));
}
.video-facade.is-playing .video-facade-btn { display: none; }

.tutorial-video-section {
  padding-top: 20px;
  padding-bottom: 40px;
  scroll-margin-top: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px));
}
.tutorial-chapters-section {
  padding-top: 28px;
  padding-bottom: 48px;
  scroll-margin-top: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px));
}
.tutorial-cta {
  width: min(880px, 100%);
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.tutorial-cta .store-row {
  width: 100%;
  max-width: 520px;
  justify-content: center;
}
.pro-shell-copy .store-row {
  margin-top: 4px;
}
.tutorial-yt {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(61, 255, 168, 0.45);
}
.tutorial-yt:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Mobile display fixes ---------- */

/* Older browsers without aspect-ratio: give the phone mockup an explicit height
   so the screen doesn't collapse to zero */
@supports not (aspect-ratio: 9 / 19.2) {
  .phone { height: calc(min(290px, 72vw) * 2.133); }
  .phone-float-b { height: calc(min(220px, 52vw) * 2.133); }
  .gallery figure { height: 0; padding-bottom: 177.7%; }
  .gallery figure img { position: absolute; inset: 0; }
}

/* Comfortable tap targets on touch screens (footer + breadcrumb links) */
@media (pointer: coarse) {
  footer ul { gap: 2px; }
  footer ul a,
  .page-hero .crumb a {
    display: inline-block;
    padding: 10px 0;
  }
  .footer-bottom { padding-bottom: 8px; }
}
