/* =========================================================
   NotchPilot · landing page styles
   Editorial-tech cockpit · warm dark · signature orange glow
========================================================= */

:root {
  /* palette */
  --bg:           #0B0907;
  --bg-soft:      #120D08;
  --bg-card:      #15100A;
  --bg-card-hi:   #1D150E;
  --ink:          #F5EFE6;
  --ink-mid:      #B4A798;
  --ink-lo:       #8A7E72;
  --ink-faint:    #52463D;
  --stroke:       rgba(245, 239, 230, 0.08);
  --stroke-hi:    rgba(245, 239, 230, 0.14);
  --orange:       #F4854E;
  --orange-hot:   #FF9357;
  --orange-deep:  #D96A2E;
  --orange-glow:  rgba(244, 133, 78, 0.25);
  --success:      #5BD49A;
  --danger:       #FF5C5C;

  /* typography */
  --serif:  'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --sans:   'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:   'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* spacing */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img, svg { display: block; max-width: 100%; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }
code {
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--ink);
}
kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  padding: 3px 5px;
  border: 1px solid var(--stroke-hi);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: rgba(245, 239, 230, 0.04);
  color: var(--ink-mid);
  vertical-align: middle;
  margin: 0 1px;
}
em { font-style: italic; color: var(--ink); }

/* -------- background layers -------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 60% 40% at 50% 18%, rgba(244, 133, 78, 0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 133, 78, 0.07), transparent 55%),
    linear-gradient(180deg, #1A0F08 0%, var(--bg) 45%, var(--bg) 100%);
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(245, 239, 230, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 239, 230, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, #000 30%, transparent 80%);
  pointer-events: none;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.94  0 0 0 0 0.9  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* -------- shared container -------- */
.nav-inner,
.hero-copy,
.trust,
.problem,
.features,
.how,
.stats,
.roadmap,
.pricing,
.faq,
.cta-inner,
.footer-inner,
.footer-base {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ===========================================================
   NAVIGATION
=========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  pointer-events: none;
  padding: 0;
}
.nav > * { pointer-events: auto; }

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid transparent;
  border-top: 0;
  border-radius: 0;
  transition:
    max-width .45s var(--ease),
    padding   .35s var(--ease),
    background .35s var(--ease),
    border-color .35s var(--ease),
    border-radius .45s var(--ease),
    box-shadow .35s var(--ease);
}

/* Scrolled: morph the nav into a centered notch-pill that hangs
   from the top of the viewport — matches the product identity. */
.nav.scrolled .nav-inner {
  max-width: 820px;
  padding: 10px 20px;
  background: rgba(10, 7, 5, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
  border-color: rgba(245, 239, 230, 0.08);
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(244, 133, 78, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nav.scrolled .brand-version { display: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 20px -6px rgba(244, 133, 78, 0.55);
}
.footer .brand-mark { width: 24px; height: 24px; border-radius: 6px; }
.brand-version {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-lo);
  padding: 3px 7px;
  border: 1px solid var(--stroke);
  border-radius: 6px;
  margin-left: 4px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-mid);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, 4px) scale(0);
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: translate(-50%, 4px) scale(1); }
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.link-quiet {
  font-size: 14px;
  color: var(--ink-mid);
  transition: color .2s var(--ease);
}
.link-quiet:hover { color: var(--ink); }

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 22px; font-size: 15px; font-weight: 600; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  color: #1A0A03;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.25) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.15) inset,
    0 10px 32px -8px rgba(244, 133, 78, 0.6),
    0 0 0 1px rgba(244, 133, 78, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.25) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.15) inset,
    0 14px 40px -8px rgba(244, 133, 78, 0.75),
    0 0 0 1px rgba(244, 133, 78, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(245, 239, 230, 0.03);
  border-color: var(--stroke-hi);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(245, 239, 230, 0.06);
  border-color: rgba(245, 239, 230, 0.22);
}
.btn-size {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(26, 10, 3, 0.7);
  letter-spacing: 0.02em;
}
.btn-ghost .btn-size { color: var(--ink-lo); }
.star-count {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-mid);
  padding: 3px 7px;
  border: 1px solid var(--stroke);
  border-radius: 6px;
}

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  padding: 72px 0 40px;
  isolation: isolate;
}
.hero-copy {
  text-align: center;
  max-width: 880px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  text-transform: uppercase;
  padding: 7px 14px;
  background: rgba(244, 133, 78, 0.05);
  border: 1px solid rgba(244, 133, 78, 0.2);
  border-radius: 999px;
  margin-bottom: 28px;
}
.eye-mark {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--orange);
}
.eyebrow-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--orange);
  padding: 8px 18px;
}
.eyebrow-tagline em { font-style: italic; color: var(--orange); }
.eye-sep { color: var(--ink-faint); }
.eye-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(244, 133, 78, 0.6);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 133, 78, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(244, 133, 78, 0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 28px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--orange-hot) 0%, var(--orange) 50%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Bottom padding lets Fraunces italic descenders (g, j, p, q, y) clear the
     inline-block's box — otherwise background-clip: text crops the swash. */
  padding: 0 .08em .18em;
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.26em; /* compensates for the new bottom padding so the glow stays at baseline */
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
  opacity: 0.25;
  border-radius: 2px;
  filter: blur(2px);
}
.br-mobile { display: none; }

.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-mid);
}
.hero-sub em { color: var(--ink); font-style: italic; font-family: var(--serif); font-weight: 400; }
.sub-accent { display: block; color: var(--ink); margin-top: 6px; }

.hero-actions {
  display: inline-flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-lo);
  text-transform: uppercase;
}
.hero-meta li { padding: 0 14px; position: relative; }
.hero-meta li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px; height: 3px;
  background: var(--ink-faint);
  transform: translateY(-50%);
  border-radius: 50%;
}

/* -------- HERO STAGE (notch + floating cards) -------- */
.stage {
  position: relative;
  width: 100%;
  height: 600px;
  margin-top: 72px;
  perspective: 1200px;
}
.halo {
  position: absolute;
  top: 260px; left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 780px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.halo-main {
  background: radial-gradient(circle, rgba(244, 133, 78, 0.4) 0%, rgba(244, 133, 78, 0.15) 30%, transparent 65%);
  animation: haloPulse 7s var(--ease) infinite;
}
.halo-sub {
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(244, 133, 78, 0.12) 0%, transparent 55%);
  filter: blur(60px);
  opacity: 0.7;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

.stage-rings {
  position: absolute;
  top: 260px; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 99%, rgba(244, 133, 78, 0.06) 99%, rgba(244, 133, 78, 0.06) 100%, transparent 100%) 0 0 / 300px 300px,
    repeating-radial-gradient(circle, transparent 0, transparent 119px, rgba(244, 133, 78, 0.08) 120px, transparent 121px);
  -webkit-mask-image: radial-gradient(circle, transparent 100px, #000 120px, #000 420px, transparent 470px);
          mask-image: radial-gradient(circle, transparent 100px, #000 120px, #000 420px, transparent 470px);
  opacity: .55;
}

.stage-bezel {
  position: absolute;
  top: 12px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(245, 239, 230, 0.18), transparent 90%);
}
.stage-bezel::after {
  content: '';
  position: absolute;
  inset: -1px 0;
  background: linear-gradient(90deg, transparent 40%, rgba(244, 133, 78, 0.4), transparent 60%);
  filter: blur(2px);
}

/* Notch group — the centerpiece */
.notch-group {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.notch-top {
  width: 210px;
  height: 34px;
  background: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 0 40px rgba(244, 133, 78, 0.35);
}
.notch-body {
  margin-top: -14px;
  width: 500px;
  background: #050301;
  border-radius: 28px;
  border: 1px solid rgba(244, 133, 78, 0.22);
  padding: 16px 18px 14px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(244, 133, 78, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: notchSettle .9s var(--ease-out) .2s both;
}
@keyframes notchSettle {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.np-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.np-row-main {
  padding: 2px 0 10px;
}
.np-avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(244, 133, 78, 0.12);
  color: var(--orange);
  border: 1px solid rgba(244, 133, 78, 0.25);
  flex-shrink: 0;
}
.np-text { flex: 1; min-width: 0; }
.np-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-title code { font-size: 12px; padding: 0 4px; }
.np-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.np-actions { display: flex; gap: 6px; }
.np-btn {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid var(--stroke-hi);
  color: var(--ink);
  background: rgba(245, 239, 230, 0.04);
  transition: background .15s var(--ease);
}
.np-approve {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  border-color: transparent;
  color: #1A0A03;
  font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(244, 133, 78, 0.7);
}
.np-btn:hover { background: rgba(245, 239, 230, 0.08); }
.np-approve:hover { background: linear-gradient(180deg, #ffa56b, var(--orange-hot)); }

.np-row-diff {
  padding: 8px 2px 0;
  border-top: 1px solid var(--stroke);
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
}
.np-diff {
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
}
.np-diff-plus { color: var(--success); background: rgba(91, 212, 154, 0.1); }
.np-diff-minus { color: var(--danger); background: rgba(255, 92, 92, 0.1); }
.np-diff-path { color: var(--ink-mid); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-lo);
  padding: 2px 6px;
  background: rgba(245, 239, 230, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 4px;
}

/* -------- Floating cards -------- */
.fcard {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(165deg, var(--bg-card-hi) 0%, var(--bg-card) 100%);
  border: 1px solid var(--stroke-hi);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 220px;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--rot, 0deg));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  animation: cardFloat 8s var(--ease) infinite;
  animation-delay: var(--delay, 0s);
  z-index: 4;
  font-size: 12.5px;
  transition: transform .4s var(--ease);
}
.fcard:hover {
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px) - 4px)) rotate(var(--rot, 0deg));
}
@keyframes cardFloat {
  0%, 100% { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--rot, 0deg)); }
  50%      { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px) - 6px)) rotate(var(--rot, 0deg)); }
}
.fcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.fcard-eye {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-lo);
  font-weight: 600;
}
.fcard-dot-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: livePulse 2s ease-in-out infinite;
}
.fcard-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  margin-top: 8px;
}

/* sessions card */
.session-list { display: flex; flex-direction: column; gap: 7px; }
.session {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.session-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.session-dot.working { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: livePulse 1.4s infinite; }
.session-dot.waiting { background: var(--ink-lo); }
.session-dot.done    { background: var(--success); }
.session-name {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.session-time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
}
.session.on .session-time { color: var(--orange); }

/* volume card */
.vol-bar {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  margin: 4px 0 4px;
}
.vol-bar span {
  flex: 1;
  height: calc(20% + var(--i, 1) * 6%);
  max-height: 100%;
  background: var(--orange);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(244, 133, 78, 0.5);
}
.vol-bar span.off {
  background: rgba(245, 239, 230, 0.08);
  box-shadow: none;
}

/* rating card */
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--orange);
}
.rating-num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-left: 2px;
}
.rating-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-foot em { color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 12px; }
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(91, 212, 154, 0.08);
  border: 1px solid rgba(91, 212, 154, 0.2);
  border-radius: 999px;
  color: var(--success);
  font-size: 10px;
  font-weight: 500;
  width: fit-content;
}

/* diff card */
.diff-list { display: flex; flex-direction: column; gap: 6px; }
.diff-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--stroke);
}
.diff-list li:last-child { border-bottom: 0; }
.diff-file { color: var(--ink); }
.diff-ch { display: inline-flex; gap: 6px; }
.diff-ch .plus { color: var(--success); font-style: normal; }
.diff-ch .minus { color: var(--danger); font-style: normal; }
.diff-hint {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  display: flex;
  align-items: center;
  gap: 4px;
}
.kbd {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 5px;
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 4px;
  color: var(--ink);
}

/* ===========================================================
   TRUST STRIP
=========================================================== */
.trust {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stroke);
  border-top: 1px solid var(--stroke);
}
.trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-lo);
  flex-shrink: 0;
  position: relative;
  padding-right: 20px;
}
.trust-label::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 1px;
  height: 16px;
  background: var(--stroke);
  transform: translateY(-50%);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-mid);
}
.trust-logos li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.72;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.trust-logos li:hover { opacity: 1; color: var(--ink); }

/* ===========================================================
   SECTION HEADERS
=========================================================== */
.section-head {
  max-width: 780px;
  margin: 120px auto 64px;
  text-align: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.section-eyebrow .sq {
  width: 6px; height: 6px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--orange-hot), var(--orange-deep));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 auto;
  max-width: 580px;
}

/* ===========================================================
   PROBLEM
=========================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-card {
  background:
    linear-gradient(165deg, var(--bg-card-hi), var(--bg-card)),
    radial-gradient(ellipse at top right, rgba(244, 133, 78, 0.12), transparent 60%);
  background-blend-mode: normal;
  border: 1px solid var(--stroke-hi);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 133, 78, 0.4), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 133, 78, 0.3);
}
.problem-card:hover::before { opacity: 1; }

.problem-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(244, 133, 78, 0.08);
  border: 1px solid rgba(244, 133, 78, 0.18);
  color: var(--orange);
  margin-bottom: 22px;
}
.problem-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.problem-head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.problem-body {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.problem-body code { font-size: 13px; }
.problem-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px dashed var(--stroke);
}
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--orange);
  line-height: 1;
}
.stat-cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-lo);
  text-transform: uppercase;
}

/* ===========================================================
   FEATURES
=========================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--stroke);
}
.feature-row:first-of-type { border-top: 0; }
.feature-right .feature-copy  { order: 2; }
.feature-right .feature-stage { order: 1; }

.feature-copy { padding: 0 16px; }
.feature-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 12px;
  opacity: 0.9;
}
.feature-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 20px;
}
.feature-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--orange-hot), var(--orange-deep));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-body {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0 0 22px;
  max-width: 460px;
}
.accent { color: var(--ink); }
.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-mid);
}
.bul-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
  flex-shrink: 0;
}
.inline-dots {
  display: inline-flex;
  gap: 4px;
  padding: 0 4px;
  vertical-align: middle;
}
.id-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.id-dot.working { background: var(--orange); }
.id-dot.waiting { background: var(--ink-lo); }
.id-dot.done    { background: var(--success); }

.supported-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px 0;
  max-width: 460px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-mid);
}
.supported-grid span {
  padding: 6px 0;
  position: relative;
}
.supported-grid span::before {
  content: '◆';
  color: var(--orange);
  margin-right: 8px;
  font-size: 10px;
  opacity: 0.7;
}
.hud-tags { display: flex; flex-wrap: wrap; gap: 6px; max-width: 460px; }
.hud-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 11px;
  background: rgba(245, 239, 230, 0.04);
  border: 1px solid var(--stroke-hi);
  border-radius: 999px;
  color: var(--ink-mid);
}

.local-stats {
  display: flex;
  gap: 40px;
  margin-top: 8px;
}
.local-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.local-stats strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.local-stats span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-lo);
}

/* -------- Feature stage (UI mockups) -------- */
.feature-stage {
  position: relative;
  padding: 40px 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(244, 133, 78, 0.18) 0%, transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}

.ui-mock {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 1;
}
.ui-notch-top {
  width: 180px;
  height: 28px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 30px rgba(244, 133, 78, 0.3);
}
.ui-panel {
  margin-top: -12px;
  background: #050301;
  border: 1px solid rgba(244, 133, 78, 0.2);
  border-radius: 22px;
  padding: 18px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(244, 133, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}
.ui-panel-slim { padding: 14px 16px; }

.ui-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ui-mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  color: var(--orange);
  background: rgba(244, 133, 78, 0.12);
  border: 1px solid rgba(244, 133, 78, 0.25);
  font-size: 16px;
  flex-shrink: 0;
}
.ui-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.ui-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  margin-top: 2px;
}
.ui-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
}

.ui-head-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-lo);
}
.ui-pill {
  padding: 3px 8px;
  background: rgba(244, 133, 78, 0.1);
  border: 1px solid rgba(244, 133, 78, 0.2);
  border-radius: 999px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
}
.ui-kbd {
  padding: 3px 7px;
  background: rgba(245, 239, 230, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 5px;
  color: var(--ink-mid);
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0;
}

.ui-code {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  background: rgba(245, 239, 230, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.code-line {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.line-no {
  color: var(--ink-faint);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}
.code-add { color: var(--success); }
.code-add::before { content: ''; }
.code-ctx { color: var(--ink-mid); }

.ui-buttons {
  display: flex;
  gap: 6px;
}
.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke-hi);
  background: rgba(245, 239, 230, 0.04);
  color: var(--ink);
}
.ui-btn kbd {
  font-size: 9px;
  padding: 2px 4px;
  border-width: 1px;
}
.ui-btn-primary {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  color: #1A0A03;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 16px -4px rgba(244, 133, 78, 0.6);
}
.ui-btn-primary kbd {
  background: rgba(26, 10, 3, 0.2);
  color: #1A0A03;
  border-color: rgba(26, 10, 3, 0.3);
}
.ui-btn-ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--ink-mid);
}

/* sessions mock */
.ui-sessions { display: flex; flex-direction: column; gap: 2px; }
.ui-sessions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s var(--ease);
}
.ui-sessions li:hover { background: rgba(245, 239, 230, 0.03); }
.ui-sessions li.highlight {
  background: rgba(244, 133, 78, 0.08);
  border: 1px solid rgba(244, 133, 78, 0.22);
  padding: 9px 9px;
}
.s-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.s-dot.working { background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: livePulse 1.4s infinite; }
.s-dot.waiting { background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: livePulse 1s infinite; }
.s-dot.done    { background: var(--success); }
.ui-sessions li > div:nth-child(2) { flex: 1; min-width: 0; }
.s-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-last {
  font-size: 11px;
  color: var(--ink-lo);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  flex-shrink: 0;
}
.s-right .tok { color: var(--orange); font-weight: 600; }
.ui-sessions li.highlight .s-right span { color: var(--orange); }

/* jump mock */
.jump-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(245, 239, 230, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--ink-mid);
  font-family: var(--mono);
  font-size: 13px;
}
.jump-search > svg { color: var(--ink-lo); }
.search-caret {
  width: 1px;
  height: 14px;
  background: var(--orange);
  animation: blink 1.1s step-end infinite;
  margin-left: -6px;
}
@keyframes blink { 50% { opacity: 0; } }
.jump-list { display: flex; flex-direction: column; gap: 2px; }
.jump-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  transition: background .15s var(--ease);
}
.jump-list li.jump-sel {
  background: rgba(244, 133, 78, 0.08);
  border: 1px solid rgba(244, 133, 78, 0.22);
  padding: 8px 9px;
}
.term-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--ink-mid);
  position: relative;
}
.term-icon::before {
  content: '>';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  color: #000;
  font-weight: 700;
}
.t-ghostty { background: linear-gradient(135deg, #c084fc, #8b5cf6); }
.t-warp    { background: linear-gradient(135deg, #f472b6, #e11d48); }
.t-iterm   { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.jump-name { flex: 1; color: var(--ink); font-family: var(--mono); }
.jump-list li.jump-sel .jump-name { color: var(--orange); }
.jump-path { font-family: var(--mono); font-size: 10.5px; color: var(--ink-lo); }

/* chips mock */
.ui-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin: 10px 0 16px;
  padding-left: 14px;
  border-left: 2px solid rgba(244, 133, 78, 0.5);
}
.ui-quote code { font-family: var(--mono); font-style: normal; font-size: 13.5px; }
.chip-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.chip {
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(245, 239, 230, 0.03);
  border: 1px solid var(--stroke-hi);
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover {
  background: rgba(244, 133, 78, 0.07);
  border-color: rgba(244, 133, 78, 0.3);
}
.chip-hot {
  background: rgba(244, 133, 78, 0.1);
  border-color: rgba(244, 133, 78, 0.35);
  color: var(--orange-hot);
  font-weight: 600;
}
.chip-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
}

/* HUD mock */
.hud-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
}
.hud-row + .hud-row { border-top: 1px solid var(--stroke); }
.hud-row svg { color: var(--orange); flex-shrink: 0; }
.hud-bars {
  display: flex;
  gap: 3px;
  flex: 1;
  align-items: center;
}
.hud-bars span {
  flex: 1;
  height: 14px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 4px rgba(244, 133, 78, 0.5);
}
.hud-bars span.off {
  background: rgba(245, 239, 230, 0.08);
  box-shadow: none;
}
.hud-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  min-width: 30px;
  text-align: right;
}
.hud-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  padding: 8px 2px 0;
  border-top: 1px solid var(--stroke);
}

/* privacy mock */
.mock-privacy {
  background: transparent;
  border: 1px dashed var(--stroke-hi);
  border-radius: 22px;
  padding: 32px;
  max-width: 420px;
}
.mock-privacy .ui-notch-top { display: none; }
.privacy-diagram {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.priv-box {
  background: linear-gradient(165deg, var(--bg-card-hi), var(--bg-card));
  border: 1px solid rgba(244, 133, 78, 0.25);
  border-radius: 16px;
  padding: 18px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 50px rgba(244, 133, 78, 0.1);
}
.priv-label {
  position: absolute;
  top: -10px; left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--bg);
  padding: 2px 8px;
  border: 1px solid rgba(244, 133, 78, 0.3);
  border-radius: 999px;
}
.priv-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  padding: 9px 12px;
  background: rgba(245, 239, 230, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 10px;
}
.priv-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  flex-shrink: 0;
}
.priv-dot-b::before { background: var(--success); box-shadow: 0 0 8px var(--success); }
.priv-arrow {
  text-align: center;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 16px;
  padding: 4px 0;
}
.priv-socket {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  text-align: center;
  letter-spacing: 0.02em;
}
.priv-cloud {
  text-align: center;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
}
.priv-cloud svg { color: var(--ink-faint); }
.priv-x { color: var(--danger); font-weight: 600; }

/* ===========================================================
   HOW IT WORKS
=========================================================== */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-step {
  background: linear-gradient(165deg, var(--bg-card-hi), var(--bg-card));
  border: 1px solid var(--stroke-hi);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 133, 78, 0.5), transparent);
}
.how-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.how-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.how-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0 0 20px;
}
.how-body code { font-size: 12.5px; }

.how-code {
  background: #05030A;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}
.code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(245, 239, 230, 0.02);
  border-bottom: 1px solid var(--stroke);
  font-size: 11px;
  color: var(--ink-lo);
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot.r { background: #FF5F57; }
.dot.y { background: #FEBC2E; }
.dot.g { background: #28C840; }
.code-tab { margin-left: auto; }
.code-body {
  padding: 12px;
  color: var(--ink);
  line-height: 1.8;
}
.prompt { color: var(--orange); margin-right: 8px; }
.out { color: var(--ink-mid); }
.ok { color: var(--success); font-weight: 600; }
.mono-accent { color: var(--orange); }
.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--orange);
  vertical-align: -3px;
  margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}

.detect-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detect-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mid);
  padding: 8px 12px;
  background: rgba(91, 212, 154, 0.05);
  border: 1px solid rgba(91, 212, 154, 0.15);
  border-radius: 8px;
}
.detect-item em { color: var(--ink-lo); font-style: italic; }
.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(91, 212, 154, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(244, 133, 78, 0.07);
  border: 1px solid rgba(244, 133, 78, 0.22);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
}
.flow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: livePulse 1.6s infinite;
}

/* ===========================================================
   STATS
=========================================================== */
.stats {
  margin-top: 120px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(244, 133, 78, 0.08), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.stat {
  text-align: left;
  padding: 14px 0;
  border-right: 1px solid var(--stroke);
  padding-right: 20px;
}
.stat:last-child { border-right: 0; }
.stat-big {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--orange);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.stat-unit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.4em;
  color: var(--ink-mid);
  font-weight: 400;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat-sub {
  font-size: 13px;
  color: var(--ink-lo);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}

/* ===========================================================
   ROADMAP
=========================================================== */
.roadmap {
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}
.roadmap-inner { max-width: 780px; margin: 0 auto; }
.roadmap-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.roadmap-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}
.rm-item { color: var(--ink); }
.rm-soon em { font-style: italic; color: var(--ink-mid); font-size: 0.7em; }
.rm-sep { color: var(--orange); }
.roadmap-link {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-mid);
  transition: color .2s var(--ease);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.roadmap-link span {
  transition: transform .2s var(--ease);
  display: inline-block;
}
.roadmap-link:hover { color: var(--orange); }
.roadmap-link:hover span { transform: translateX(3px); }

/* ===========================================================
   PRICING
=========================================================== */
.price-wrap {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.price-card {
  background:
    radial-gradient(ellipse at top, rgba(244, 133, 78, 0.14), transparent 60%),
    linear-gradient(165deg, var(--bg-card-hi), var(--bg-card));
  border: 1px solid rgba(244, 133, 78, 0.3);
  border-radius: 28px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(244, 133, 78, 0.15);
}
.price-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 100%;
  background: radial-gradient(ellipse, rgba(244, 133, 78, 0.12), transparent 60%);
  pointer-events: none;
}
.price-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 5px 12px;
  background: rgba(244, 133, 78, 0.1);
  border: 1px solid rgba(244, 133, 78, 0.3);
  border-radius: 999px;
  margin-bottom: 24px;
}
.price-amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
  font-family: var(--serif);
  line-height: 1;
}
.price-currency {
  font-style: italic;
  font-size: 36px;
  color: var(--ink-mid);
  font-weight: 400;
}
.price-big {
  font-style: italic;
  font-weight: 500;
  font-size: 108px;
  background: linear-gradient(180deg, var(--ink), var(--orange));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  /* Italic Fraunces digits have a right-side swash that gets cropped by
     background-clip: text — give the box room so the swash paints fully. */
  display: inline-block;
  padding-right: 0.08em;
}
.price-period {
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-lo);
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto 32px;
  text-align: left;
  max-width: 320px;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.price-foot {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.price-foot span { padding: 0 10px; position: relative; }
.price-foot span + span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 2px; height: 2px;
  background: var(--ink-faint);
  transform: translateY(-50%);
  border-radius: 50%;
}

.price-tip {
  margin: 32px auto 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tip-mark { font-size: 20px; margin-right: 8px; }
.tip-link {
  color: var(--orange);
  border-bottom: 1px solid rgba(244, 133, 78, 0.3);
  transition: border-color .2s var(--ease);
}
.tip-link:hover { border-bottom-color: var(--orange); }
.price-future {
  margin: 0 auto;
  max-width: 480px;
  font-size: 13px;
  color: var(--ink-lo);
  line-height: 1.5;
}
.price-future em { color: var(--ink-mid); }

/* ===========================================================
   FAQ
=========================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: linear-gradient(165deg, var(--bg-card-hi), var(--bg-card));
  border: 1px solid var(--stroke-hi);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item[open] {
  border-color: rgba(244, 133, 78, 0.3);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.faq-item[open] .faq-q { color: var(--orange); }
.faq-plus {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--stroke-hi);
  border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease);
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-plus::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-plus::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-plus {
  background: rgba(244, 133, 78, 0.15);
  border-color: rgba(244, 133, 78, 0.35);
  transform: rotate(135deg);
}
.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after { background: var(--orange); }
.faq-a {
  padding: 0 24px 24px;
  color: var(--ink-mid);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 620px;
}
.faq-a p { margin: 0; }
.faq-a a { color: var(--orange); border-bottom: 1px dashed rgba(244, 133, 78, 0.4); }

/* ===========================================================
   FINAL CTA
=========================================================== */
.cta-strip {
  position: relative;
  margin-top: 120px;
  padding: 120px 0 140px;
  overflow: hidden;
  border-top: 1px solid var(--stroke);
}
.cta-halo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(244, 133, 78, 0.35) 0%, rgba(244, 133, 78, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: haloPulse 9s var(--ease) infinite;
}
.cta-inner {
  text-align: center;
  max-width: 880px;
  position: relative;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--orange);
  margin-bottom: 24px;
  padding: 7px 16px;
  background: rgba(244, 133, 78, 0.08);
  border: 1px solid rgba(244, 133, 78, 0.25);
  border-radius: 999px;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 40px;
}
.cta-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===========================================================
   FOOTER
=========================================================== */
.footer {
  padding-top: 64px;
  border-top: 1px solid var(--stroke);
  background: rgba(5, 3, 1, 0.4);
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mid);
  max-width: 300px;
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-mid);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--stroke);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-lo);
  letter-spacing: 0.02em;
}
.footer-left { display: flex; flex-wrap: wrap; gap: 0; }
.footer-left > * { padding: 0 10px; }
.footer-left > *:first-child { padding-left: 0; }
.foot-sep { color: var(--ink-faint); }
.footer-left a { color: var(--ink-mid); transition: color .2s var(--ease); }
.footer-left a:hover { color: var(--orange); }
.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: livePulse 2s infinite;
}

/* ===========================================================
   REVEAL ANIMATIONS
=========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1060px) {
  .nav-links { gap: 22px; }
  .nav-links a:nth-child(4) { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-mid { transform: none; }
  .how-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .feature-right .feature-copy  { order: 1; }
  .feature-right .feature-stage { order: 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav.scrolled .nav-inner { max-width: calc(100% - 24px); }
}
@media (max-width: 720px) {
  .nav-inner { grid-template-columns: auto auto; padding: 14px 20px; }
  .nav.scrolled .nav-inner { max-width: calc(100% - 16px); padding: 9px 16px; }
  .nav-links { display: none; }
  .brand-version { display: none; }
  .nav-actions .link-quiet { display: none; }
  .hero { padding: 40px 0 20px; }
  .br-mobile { display: inline; }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .eyebrow { font-size: 10px; flex-wrap: wrap; justify-content: center; }
  .eye-sep, .eye-live { display: none; }
  .trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-label::after { display: none; }
  .stage {
    height: 460px;
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: -140px;
  }
  .section-head { margin: 72px auto 40px; }
  .section-title { font-size: clamp(32px, 9vw, 48px); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--stroke); padding-bottom: 20px; }
  .stat:last-child { border-bottom: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .price-card { padding: 36px 24px; }
  .price-big { font-size: 84px; }
  .feature-copy { padding: 0; }
  .local-stats { gap: 24px; }
  .local-stats strong { font-size: 32px; }
}

/* stage scaling for medium screens */
@media (max-width: 920px) and (min-width: 721px) {
  .stage { transform: scale(0.9); transform-origin: top center; height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===========================================================
   HERO COCKPIT — interactive macOS simulation
=========================================================== */
.cockpit {
  position: relative;
  max-width: 1120px;
  margin: 80px auto 0;
  padding: 0 16px;
}
.cockpit-halo {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1200px;
  aspect-ratio: 3 / 2;
  background: radial-gradient(ellipse, rgba(244, 133, 78, 0.42) 0%, rgba(244, 133, 78, 0.14) 35%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: haloPulse 8s var(--ease) infinite;
}

.macos {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  max-width: 960px;
  margin: 0 auto;
  background: url('macos-bg.jpg') center / cover no-repeat, #2a1a30;
  background:
    image-set(url('macos-bg.webp') type('image/webp'), url('macos-bg.jpg') type('image/jpeg'))
      center / cover no-repeat,
    #2a1a30;
  border: 1px solid rgba(245, 239, 230, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.75),
    0 0 120px rgba(244, 133, 78, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Menubar — sits at top of screen, menus flow around the notch */
.mac-menubar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
  z-index: 3;
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
}
.mb-left, .mb-right {
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 1;
}
.mb-left { padding-right: 120px; }
.mb-right { padding-left: 120px; }
.mb-left > span,
.mb-right > span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: default;
}
.mb-app {
  font-weight: 600;
  color: #fff;
}
.mb-apple { color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); }
.mb-icn { color: rgba(255, 255, 255, 0.95); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
.mb-np-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #1A0A03;
  background: linear-gradient(180deg, #FFB07A, #F4854E);
  border: 1px solid rgba(255, 180, 140, 0.6);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(244, 133, 78, 0.4), 0 0 10px rgba(244, 133, 78, 0.5);
}
.mb-np-pill svg { color: #1A0A03; }
.mb-time {
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Notch — closed by default, expands into a notification pill.
   The transition from closed → expanded IS the notification effect. */
.mac-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 212px;
  height: 34px;
  background: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 5;
  overflow: hidden;
  padding: 0 16px;
  display: flex;
  align-items: flex-start;
  transform: translateX(-50%);
  transition:
    width       .55s cubic-bezier(.34, 1.3, .5, 1),
    height      .55s cubic-bezier(.34, 1.3, .5, 1),
    border-radius .55s var(--ease),
    box-shadow  .55s var(--ease);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.mac-notch.expanded {
  width: 540px;
  height: 104px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow:
    0 0 60px rgba(244, 133, 78, 0.5),
    0 10px 40px rgba(0, 0, 0, 0.6);
  align-items: center;
}
/* HUD variant: width grows, height stays thin — matches the real
   NotchPilot volume/brightness overlay that hugs the notch's native shape. */
.macos[data-state="hud"] .mac-notch.expanded {
  width: 440px;
  height: 34px;
  border-bottom-left-radius: 17px;
  border-bottom-right-radius: 17px;
  box-shadow:
    0 0 32px rgba(244, 133, 78, 0.32),
    0 4px 18px rgba(0, 0, 0, 0.5);
}
.macos[data-state="hud"] .notch-content {
  padding: 5px 10px;
}

/* Sessions variant: much larger panel — matches the real
   NotchPilot "tap a session to jump" overlay. */
.macos[data-state="sessions"] .mac-notch.expanded {
  width: 480px;
  height: 250px;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
}
.macos[data-state="sessions"] .notch-content {
  align-items: flex-start;
  padding: 14px 14px;
}
.notch-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  opacity: 0;
  transform: translateY(-4px) scale(0.96);
  /* Closing: snap out fast so buttons don't flex-wrap during the collapse. */
  transition: opacity .12s ease, transform .2s var(--ease);
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}
.notch-content > * { flex-shrink: 0; }
.notch-content .np-text { flex-shrink: 1; min-width: 0; }
.mac-notch.expanded .notch-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  /* Opening: wait for the notch to have grown, then fade in. */
  transition: opacity .25s var(--ease) .25s, transform .3s var(--ease) .2s;
}

/* The bright flash when a new notification arrives */
.mac-notch.just-opened::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at top, rgba(244, 133, 78, 0.35), transparent 70%);
  pointer-events: none;
  animation: notchFlash .9s ease-out forwards;
}
@keyframes notchFlash {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Demo tabs */
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 0 16px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(245, 239, 230, 0.03);
  border: 1px solid var(--stroke-hi);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.tab:hover {
  background: rgba(244, 133, 78, 0.06);
  border-color: rgba(244, 133, 78, 0.32);
  color: var(--ink);
  transform: translateY(-1px);
}
.tab.active {
  background: rgba(244, 133, 78, 0.12);
  border-color: rgba(244, 133, 78, 0.5);
  color: var(--orange);
  box-shadow: 0 0 24px rgba(244, 133, 78, 0.22);
  position: relative;
  overflow: hidden;
}
.tab-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--orange);
  font-weight: 500;
  line-height: 1;
}
.tab.active .tab-num { color: var(--orange-hot); }

/* Progress bar — fills the active tab while auto-cycling.
   Keyframe duration must match STATE_DURATION in script.js (5000ms). */
.cockpit.cycling .tab.active::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange-hot), var(--orange));
  box-shadow: 0 0 8px rgba(244, 133, 78, 0.7);
  transform-origin: left center;
  transform: scaleX(0);
  animation: tabProgress 5s linear forwards;
}
@keyframes tabProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.demo-caption {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-mid);
  transition: opacity .2s var(--ease);
  padding: 0 20px;
  min-height: 64px;
}
.demo-caption .accent { color: var(--ink); font-style: italic; }

/* Per-state notch layouts */
.demo-sessions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.demo-sessions .session {
  padding: 2px 0;
  font-size: 12.5px;
}
.demo-sessions .session.on .session-name { color: var(--orange); }

.demo-jump {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.demo-jump .jump-search {
  padding: 5px 10px;
  margin: 0;
  font-size: 12px;
}
.demo-jump .jump-list-compact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.demo-jump .jump-list-compact li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mid);
}
.demo-jump .jump-list-compact li.jump-sel {
  background: rgba(244, 133, 78, 0.12);
  color: var(--orange);
  border: 1px solid rgba(244, 133, 78, 0.25);
}

.jump-enter {
  margin-left: auto;
  color: var(--orange);
  font-family: var(--mono);
}
.t-cursor {
  background: linear-gradient(135deg, #4ca3e5, #1a4d8f);
}

/* ===========================================================
   Floating Cursor window — shown only when the JUMP demo is
   active, animated as a window "brought to front" on the desktop.
=========================================================== */
.dt-window {
  position: absolute;
  top: 55%;
  left: 50%;
  width: min(640px, 72%);
  max-height: 62%;
  transform: translate(-50%, -50%) scale(.88) translateY(20px);
  opacity: 0;
  background: #1E1E1E;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    opacity .5s var(--ease),
    transform .6s cubic-bezier(.34, 1.28, .5, 1),
    box-shadow .6s var(--ease);
  display: flex;
  flex-direction: column;
}
.macos[data-state="sessions"] .dt-window {
  animation: dtWinShow 5s cubic-bezier(.34, 1.15, .5, 1) forwards;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(244, 133, 78, 0.4),
    0 0 80px rgba(244, 133, 78, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@keyframes dtWinShow {
  /* Cursor window: hidden until after the fake cursor clicks card 1 (click at 22%), then pops in. */
  0%, 26% { opacity: 0; transform: translate(-50%, -50%) scale(.85) translateY(20px); }
  32%, 48% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  54%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.92) translateY(8px); }
}
.dt-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(60, 55, 50, 0.95), rgba(40, 35, 30, 0.95));
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.dt-dots { display: flex; gap: 6px; }
.dtd {
  width: 11px; height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.dtd.r { background: #FF5F57; }
.dtd.y { background: #FEBC2E; }
.dtd.g { background: #28C840; }
.dt-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  white-space: nowrap;
}
.dt-focus-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244, 133, 78, 0.15);
  border: 1px solid rgba(244, 133, 78, 0.35);
  opacity: 0;
}
.dt-focus-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: livePulse 1.4s infinite;
}
.macos[data-state="sessions"] .dt-window .dt-focus-badge {
  animation: focusBadge 5s cubic-bezier(.4, 0, .2, 1) forwards;
}
.macos[data-state="sessions"] .term-window .dt-focus-badge {
  animation: focusBadgeLate 5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes focusBadge {
  0%, 32% { opacity: 0; transform: translateX(6px); }
  38%, 48% { opacity: 1; transform: translateX(0); }
  54%, 100% { opacity: 0; }
}
@keyframes focusBadgeLate {
  0%, 66% { opacity: 0; transform: translateX(6px); }
  72%, 100% { opacity: 1; transform: translateX(0); }
}

.dt-code-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 0;
  background: #1E1E1E;
}
.dt-lines {
  padding: 0;
}
.dt-line {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 14px;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
}
.dt-ln {
  color: rgba(255, 255, 255, 0.28);
  width: 22px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.dt-add { background: rgba(91, 212, 154, 0.07); }
.dt-add::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--success);
}
.dt-current { background: rgba(244, 133, 78, 0.1); }
.dt-current::before { background: var(--orange); }
.dt-caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--orange);
  vertical-align: -2px;
  margin-left: 1px;
  animation: blink 1.1s step-end infinite;
}

/* Token colors (VS Code dark+ inspired) */
.tk-key { color: #C586C0; }
.tk-str { color: #CE9178; }
.tk-fn { color: #DCDCAA; }
.tk-var { color: #9CDCFE; }
.tk-com { color: rgba(255, 255, 255, 0.38); font-style: italic; }
.tk-type { color: #4EC9B0; }

/* ===========================================================
   Terminal window — pops up during the agents demo, right after
   the Cursor window, showing Claude Code running in Ghostty.
=========================================================== */
.term-window {
  position: absolute;
  top: 55%;
  left: 50%;
  width: min(560px, 68%);
  max-height: 58%;
  transform: translate(-50%, -50%) scale(.85) translateY(20px);
  opacity: 0;
  background: #0a0804;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(244, 133, 78, 0.4),
    0 0 80px rgba(244, 133, 78, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.macos[data-state="sessions"] .term-window {
  animation: termWinShow 5s cubic-bezier(.34, 1.15, .5, 1) forwards;
}
@keyframes termWinShow {
  /* Terminal: hidden until after the fake cursor clicks card 2 (click at 57%), then pops in. */
  0%, 62% { opacity: 0; transform: translate(-50%, -50%) scale(.85) translateY(20px); }
  68%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.tw-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(30, 20, 12, 0.95), rgba(20, 14, 8, 0.95));
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.tw-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  white-space: nowrap;
}
.tw-body {
  flex: 1;
  padding: 14px 18px;
  background: #0a0804;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}
.tw-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-mute { color: rgba(255, 255, 255, 0.4); }
.tw-prompt { color: var(--orange); font-weight: 700; }
.tw-dir { color: #5BD49A; }
.tw-hl {
  color: var(--orange-hot);
  background: rgba(244, 133, 78, 0.12);
  padding: 0 4px;
  border-radius: 3px;
}
.tw-claude { color: var(--orange); }
.tw-caret {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--orange);
  vertical-align: -1px;
  margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}

/* ===========================================================
   AGENTS demo — "Claude Code" header + two rich session cards +
   fake cursor that auto-clicks each in turn, syncing with the
   Cursor and Terminal windows that pop up on the desktop.
=========================================================== */
.demo-agents {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ag-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px 2px;
}
.ag-appicon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.ag-apptext { flex: 1; min-width: 0; }
.ag-apptitle {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ag-appmeta {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}
.ag-hint {
  font-family: var(--sans);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}

.ag-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ag-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.ag-ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ag-ic-working {
  background: linear-gradient(160deg, #FFAE80, #D96A2E);
  color: #fff;
  box-shadow: 0 2px 8px rgba(244, 133, 78, 0.4);
}
.ag-ic-idle {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.ag-body { flex: 1; min-width: 0; }
.ag-row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.ag-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.ag-time {
  font-family: var(--sans);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}
.ag-preview {
  font-family: var(--sans);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
  margin: 2px 0 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-preview code {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 0 4px;
  background: rgba(244, 133, 78, 0.14);
  border: 1px solid rgba(244, 133, 78, 0.25);
  border-radius: 3px;
  color: var(--orange-hot);
}
.ag-tags { display: flex; gap: 5px; align-items: center; }
.ag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.ag-pill-working {
  background: rgba(244, 133, 78, 0.18);
  border: 1px solid rgba(244, 133, 78, 0.35);
  color: var(--orange-hot);
}
.ag-pill-idle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.ag-pill-term {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}
.ag-pill-term svg { opacity: .8; }

.ag-dots {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.ag-dots span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: agDots 1.4s ease-in-out infinite;
}
.ag-dots span:nth-child(2) { animation-delay: 0.15s; }
.ag-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes agDots {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-1px); }
}

.ag-arrow {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--sans);
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  line-height: 1;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.ag-card:hover .ag-arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

/* Sync click highlights with the fake cursor timing below. The cards
   light up orange in sequence to show they've been "clicked." */
.macos[data-state="sessions"] .agent-1 {
  animation: agCardClick1 5s linear forwards;
}
.macos[data-state="sessions"] .agent-2 {
  animation: agCardClick2 5s linear forwards;
}
@keyframes agCardClick1 {
  0%, 19% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
  }
  22%, 50% {
    background: rgba(244, 133, 78, 0.14);
    border-color: rgba(244, 133, 78, 0.38);
  }
  55%, 100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
  }
}
@keyframes agCardClick2 {
  0%, 55% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
  }
  58%, 96% {
    background: rgba(244, 133, 78, 0.14);
    border-color: rgba(244, 133, 78, 0.38);
  }
  100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
  }
}

/* Fake macOS cursor — slides in from the right, clicks card 1, moves to card 2 */
.fake-cursor {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
  opacity: 0;
  z-index: 3;
}
.macos[data-state="sessions"] .fake-cursor {
  animation: fakeCursor 5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes fakeCursor {
  0%   { opacity: 0; transform: translate(420px, 90px) scale(1); }
  6%   { opacity: 1; transform: translate(380px, 80px) scale(1); }
  18%  { transform: translate(340px, 70px) scale(1); }   /* over card 1 (right area) */
  22%  { transform: translate(340px, 70px) scale(.82); } /* click */
  26%  { transform: translate(340px, 70px) scale(1); }
  50%  { transform: translate(340px, 160px) scale(1); }  /* over card 2 */
  57%  { transform: translate(340px, 160px) scale(.82); }/* click */
  62%  { transform: translate(340px, 160px) scale(1); }
  94%  { opacity: 1; transform: translate(340px, 160px) scale(1); }
  100% { opacity: 0; transform: translate(380px, 170px) scale(1); }
}

/* Permission state: cursor slides in from the right, clicks Approve, the
   button flashes pressed, and then JS closes the notch (see schedulePermClose). */
.macos[data-state="permission"] .fake-cursor {
  animation: fakeCursorPerm 5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes fakeCursorPerm {
  0%   { opacity: 0; transform: translate(510px, 8px)  scale(1); }
  10%  { opacity: 1; transform: translate(440px, 18px) scale(1); }
  32%  { opacity: 1; transform: translate(360px, 28px) scale(1); }   /* over Approve */
  37%  { transform: translate(360px, 28px) scale(.78); }             /* click */
  43%  { transform: translate(360px, 28px) scale(1); }
  55%  { opacity: 1; transform: translate(360px, 28px) scale(1); }
  70%, 100% { opacity: 0; transform: translate(360px, 28px) scale(1); }
}
.macos[data-state="permission"] .np-approve {
  animation: npApprovePress 5s linear forwards;
}
@keyframes npApprovePress {
  0%, 34% {
    transform: scale(1);
    box-shadow: 0 6px 18px -6px rgba(244, 133, 78, 0.7);
    background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  }
  37%, 42% {
    transform: scale(.95);
    box-shadow: 0 0 22px rgba(244, 133, 78, 0.95);
    background: linear-gradient(180deg, #ffd6b0, #ffa56b);
  }
  46%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px -6px rgba(244, 133, 78, 0.7);
    background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  }
}

.demo-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.dc-q {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}
.dc-qic { color: var(--orange); flex-shrink: 0; }
.dc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dc-chips .chip {
  padding: 6px 11px;
  font-size: 11.5px;
  border-radius: 7px;
  width: auto;
}

/* System HUD — pixel-matched to the real NotchPilot overlay:
   speaker icon far left, segmented pill-bar + % far right, big gap.
   Three frames stacked (volume → brightness → battery), CSS-cycled. */
.demo-hud {
  position: relative;
  width: 100%;
  height: 22px;
}
.hud-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  opacity: 0;
  transform: translateY(4px);
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.hud-frame-volume { animation-name: hudVolume; }
.hud-frame-bright { animation-name: hudBright; }
.hud-frame-batt   { animation-name: hudBatt;   }
@keyframes hudVolume {
  0%, 2%     { opacity: 0; transform: translateY(4px); }
  6%, 30%    { opacity: 1; transform: translateY(0); }
  34%, 100%  { opacity: 0; transform: translateY(-4px); }
}
@keyframes hudBright {
  0%, 34%    { opacity: 0; transform: translateY(4px); }
  38%, 63%   { opacity: 1; transform: translateY(0); }
  67%, 100%  { opacity: 0; transform: translateY(-4px); }
}
@keyframes hudBatt {
  0%, 67%    { opacity: 0; transform: translateY(4px); }
  71%, 96%   { opacity: 1; transform: translateY(0); }
  100%       { opacity: 0; transform: translateY(-4px); }
}
.hud-ic {
  color: var(--orange);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(244, 133, 78, 0.4));
}
.hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.demo-hud .hud-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
.demo-hud .hud-bars span {
  width: 5px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 5px rgba(244, 133, 78, 0.5);
  display: block;
}
.demo-hud .hud-bars span.off {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.demo-hud .hud-pct {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
  min-width: 26px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.demo-priv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: center;
  align-items: center;
}
.priv-check {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.priv-tick {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(91, 212, 154, 0.18);
  font-size: 10px;
}
.priv-sep { color: var(--ink-faint); margin: 0 6px; }
.priv-sock {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-lo);
  letter-spacing: 0.02em;
}

/* Cockpit responsive */
@media (max-width: 1060px) {
  .cockpit { margin-top: 56px; }
  .mac-notch.expanded { width: 460px; min-height: 94px; }
  .mb-left { padding-right: 80px; }
  .mb-right { padding-left: 80px; }
  .mb-left > span:nth-child(n+6) { display: none; }
}
@media (max-width: 820px) {
  .mb-left > span:nth-child(n+4) { display: none; }
  .mb-right .mb-icn:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  .cockpit { padding: 0 8px; margin-top: 40px; }
  .macos {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
  .mac-menubar { height: 22px; padding: 0 8px; font-size: 10.5px; }
  .mac-menubar > .mb-left > span,
  .mac-menubar > .mb-right > .mb-icn,
  .mac-menubar > .mb-right > .mb-time { display: none; }
  .mb-left { padding-right: 40px; gap: 8px; }
  .mb-right { padding-left: 40px; gap: 8px; }
  .mac-notch {
    width: 150px;
    height: 22px;
    padding: 0 10px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }
  .mac-notch.expanded { width: calc(100% - 20px); height: 88px; }
  .notch-content { padding: 10px 2px; gap: 8px; }
  .dt-window { width: 88%; max-height: 68%; }
  .dt-title, .dt-focus-badge { display: none; }
  .dt-line { font-size: 10.5px; padding: 0 12px; gap: 10px; }
  .dt-ln { width: 18px; }
  .demo-tabs {
    padding: 0 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .demo-caption { font-size: 16px; }
  .np-actions { gap: 4px; }
  .np-btn { padding: 5px 8px; font-size: 10.5px; }
}

/* ===========================================================================
   COMING SOON MODE
   ---------------------------------------------------------------------------
   Toggle by adding/removing `class="coming-soon"` on <body>.
   When ON: every [data-cta] button shows "Coming soon" instead of its real
   label and is visually disabled. When OFF: the original buttons render
   exactly as before. No JS, no logic — pure CSS swap.
=========================================================================== */
[data-cta] .cta-default,
[data-cta] .cta-soon { display: inline-flex; align-items: center; gap: 10px; }
[data-cta] .cta-soon { display: none; }

body.coming-soon [data-cta] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  filter: saturate(0.7);
}
body.coming-soon [data-cta] .cta-default { display: none; }
body.coming-soon [data-cta] .cta-soon { display: inline-flex; }

/* ===========================================================================
   LEGAL PAGES — mentions légales, privacy, refund
   ---------------------------------------------------------------------------
   Shared layout: same warm-dark BG, simplified nav, single readable column,
   editorial prose typography that matches the homepage's voice.
=========================================================================== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 28px 120px;
  position: relative;
  z-index: 1;
}
.legal-article {
  font-family: var(--sans);
  color: var(--ink-mid);
}
.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.legal-eyebrow .sq {
  width: 9px;
  height: 9px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}
.legal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 18px;
}
.legal-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--orange-hot) 0%, var(--orange) 50%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Same descender fix as .hero-title em — see comments there. */
  padding: 0 .08em .14em;
}
.legal-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-lo);
  margin: 0 0 56px;
}
.legal-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--stroke);
}
.legal-lead strong { font-style: normal; color: var(--ink); }
.legal-section {
  margin-bottom: 48px;
}
.legal-section:last-of-type {
  margin-bottom: 0;
}
.legal-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
}
.legal-section p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-section a {
  color: var(--orange);
  border-bottom: 1px dashed rgba(244, 133, 78, 0.4);
  transition: border-color .2s var(--ease);
}
.legal-section a:hover {
  border-bottom-color: var(--orange);
}
.legal-section code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(245, 239, 230, 0.06);
  color: var(--ink);
}
.legal-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.legal-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mid);
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--orange);
  opacity: 0.6;
}
.legal-list li strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-list li a {
  color: var(--orange);
  border-bottom: 1px dashed rgba(244, 133, 78, 0.4);
}

/* The simplified nav on legal pages: hide the Get NotchPilot CTA, replace
   with a quiet "back to home" link. Uses the existing .link-quiet pattern. */
.link-quiet {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-mid);
  transition: color .2s var(--ease);
}
.link-quiet:hover { color: var(--orange); }

@media (max-width: 720px) {
  .legal-page { padding: 100px 20px 80px; }
  .legal-section h2 { font-size: 20px; }
}
