:root {
  --black: #000;
  --ink: #1d1d1f;
  --muted: #86868b;
  --fog: #f5f5f7;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(0, 0, 0, 0.08);
  --blue: #2997ff;
  --blue-hover: #0077ed;
  --accent: #3dd6b0;
  --nav-h: 48px;
  --max: 980px;
  --wide: 1120px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section, .download, .tiles-wrap {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.47;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 8px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.nav-logo:hover { text-decoration: none; opacity: 0.85; }
.nav-logo img { width: 22px; height: 22px; border-radius: 5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  text-decoration: none;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  margin-left: 10px;
  background: #fff;
  color: #000 !important;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 980px;
  text-decoration: none !important;
}
.nav-cta:hover { opacity: 0.86; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  margin-left: 8px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: 72px 24px 0;
}

.hero-kicker {
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 auto 16px;
}

.hero-sub {
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.004em;
  max-width: 28em;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none !important;
  border-radius: 980px;
  padding: 12px 22px;
  font-size: 17px;
  font-weight: 400;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.btn:hover { transform: scale(1.02); }

.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 12px 4px;
}
.btn-ghost:hover { text-decoration: underline !important; transform: none; }

.hero-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 0;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 120%;
  height: 90%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 40% 40%, rgba(61, 214, 176, 0.28), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(88, 86, 214, 0.32), transparent 50%),
    radial-gradient(ellipse at 55% 30%, rgba(41, 151, 255, 0.22), transparent 48%);
  filter: blur(28px);
  pointer-events: none;
}

.window {
  position: relative;
  text-align: left;
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px 14px 0 0;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #1a222c, #121820);
  border-bottom: 1px solid #243041;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.win-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #8a9bb0;
  margin-right: 48px;
}

.win-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 340px;
}

.pane {
  padding: 16px 18px 22px;
  min-height: 320px;
}
.pane + .pane { border-left: 1px solid #243041; }
.pane-label {
  font-size: 11px;
  color: #8a9bb0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.phone-shot {
  background: linear-gradient(180deg, #1c2733, #10161e);
  border-radius: 18px;
  padding: 14px 12px 18px;
  height: 280px;
  overflow: hidden;
}
.phone-shot h4 {
  font-size: 13px;
  color: #e8eef6;
  margin-bottom: 10px;
  font-weight: 600;
}
.news-row {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.news-row .thumb {
  width: 42px;
  height: 30px;
  border-radius: 4px;
  background: #2a3a4c;
  flex-shrink: 0;
}
.news-row p {
  font-size: 11px;
  color: #c9d4e0;
  line-height: 1.35;
}

.api-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  padding: 6px 0;
  color: #d7e0ea;
}
.tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 1px;
}
.tag.ok { background: #14362f; color: #3dd6b0; }
.tag.miss { background: #3a1c22; color: #ff6b7a; }
.tag.warn { background: #3a2e14; color: #e6b35c; }
.tag.skip { background: #1e2630; color: #8a9bb0; }

.hero-preview .api-row {
  opacity: 0;
  transform: translateY(6px);
  animation: heroRow 10s var(--ease) infinite;
}
.hero-preview .in-1 { animation-delay: 3.4s; }
.hero-preview .in-2 { animation-delay: 3.9s; }
.hero-preview .in-3 { animation-delay: 4.4s; }
.hero-preview .in-4 { animation-delay: 4.9s; }
.hero-preview .in-5 { animation-delay: 5.4s; }
@keyframes heroRow {
  0%, 28% { opacity: 0; transform: translateY(6px); }
  36%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
.hero-preview .in-2 .tag.miss {
  animation: missPulse 10s ease infinite;
  animation-delay: 3.9s;
}
@keyframes missPulse {
  0%, 35% { box-shadow: none; }
  42%, 55% { box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.28); }
  100% { box-shadow: none; }
}

/* ——— Product demo ——— */
.product-demo {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px 12px;
  position: relative;
}
.demo-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.demo-pills li {
  font-size: 13px;
  color: #6e6e73;
  padding: 6px 14px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.product-demo[data-phase="paste"] [data-step="paste"],
.product-demo[data-phase="run"] [data-step="run"],
.product-demo[data-phase="result"] [data-step="result"] {
  color: #000;
  background: #fff;
  border-color: #fff;
}
.demo-window .win-title { margin-right: 148px; }
.demo-window .win-bar { position: relative; }
.demo-tabs {
  position: absolute;
  right: 14px;
  top: 8px;
  display: flex;
  gap: 2px;
  background: #0b0f14;
  border-radius: 8px;
  padding: 2px;
  font-size: 11px;
}
.demo-tabs span {
  color: #8a9bb0;
  padding: 3px 10px;
  border-radius: 6px;
}
.demo-tabs .on { background: #1a2a28; color: #e8eef6; }
.demo-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid #243041;
  background: #10161e;
}
.ghost-btn, .demo-run {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #c9d4e0;
  background: #1a2330;
  border: 1px solid #243041;
}
.demo-run {
  background: #3dd6b0;
  color: #06241e;
  font-weight: 600;
  border: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.product-demo[data-phase="run"] .demo-run {
  transform: scale(0.96);
  box-shadow: 0 0 0 4px rgba(61, 214, 176, 0.28);
}
.curl-field {
  min-height: 72px;
  background: #080c11;
  border: 1px solid #243041;
  border-radius: 8px;
  padding: 10px 12px;
  font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  color: #8ec8ff;
  white-space: pre-wrap;
  word-break: break-all;
  margin-bottom: 14px;
}
.caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #3dd6b0;
  margin-left: 1px;
  vertical-align: text-bottom;
  opacity: 0;
}
.product-demo[data-phase="paste"] .caret {
  opacity: 1;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.result-label { margin-top: 4px; }
.api-list .api-row {
  opacity: 0;
  transform: translateY(8px);
}
.product-demo[data-phase="result"] .api-list .api-row {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-demo[data-phase="result"] .api-list .api-row[data-i="0"] { transition-delay: 0.05s; }
.product-demo[data-phase="result"] .api-list .api-row[data-i="1"] { transition-delay: 0.22s; }
.product-demo[data-phase="result"] .api-list .api-row[data-i="2"] { transition-delay: 0.38s; }
.product-demo[data-phase="result"] .api-list .api-row[data-i="3"] { transition-delay: 0.54s; }
.product-demo[data-phase="result"] .api-list .api-row[data-i="4"] { transition-delay: 0.7s; }
.product-demo[data-phase="result"] .pulse-miss {
  animation: rowFlashMiss 1.2s ease 0.4s 1;
}
.product-demo[data-phase="result"] .pulse-warn {
  animation: rowFlashWarn 1.2s ease 0.7s 1;
}
@keyframes rowFlashMiss {
  50% { background: rgba(255, 107, 122, 0.12); }
}
@keyframes rowFlashWarn {
  50% { background: rgba(230, 179, 92, 0.12); }
}
.demo-shot { position: relative; }
.shot-wait, .shot-live {
  position: absolute;
  inset: 14px 12px 18px;
}
.shot-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a9bb0;
  font-size: 13px;
  opacity: 1;
  transition: opacity 0.4s;
}
.shot-live {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s, transform 0.5s;
}
.product-demo[data-phase="result"] .shot-wait,
.product-demo[data-phase="run"] .shot-wait { opacity: 0; pointer-events: none; }
.product-demo[data-phase="result"] .shot-live,
.product-demo[data-phase="run"] .shot-live {
  opacity: 1;
  transform: none;
}
.news-row .gap { color: #ff6b7a; font-size: 10px; }
.thumb.empty { background: repeating-linear-gradient(-45deg, #2a3a4c, #2a3a4c 4px, #1a2330 4px, #1a2330 8px); }
.product-demo[data-phase="result"] .miss-gap {
  outline: 1px dashed rgba(255, 107, 122, 0.55);
  border-radius: 6px;
  animation: gapPulse 1.6s ease 0.5s 2;
}
@keyframes gapPulse {
  50% { background: rgba(255, 107, 122, 0.08); }
}
.demo-cursor {
  position: absolute;
  left: 40%;
  top: 42%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: left 0.65s var(--ease), top 0.65s var(--ease), opacity 0.2s;
}
.product-demo.is-playing .demo-cursor { opacity: 0.95; }
.demo-caption {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  min-height: 1.5em;
}

/* mini tiles */
.mini-demo {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  text-align: left;
  font-size: 12px;
}
.mini-col {
  flex: 1;
  max-width: 160px;
  background: #0e141c;
  border-radius: 12px;
  padding: 10px;
}
.tile:not(.tile-dark) .mini-col { background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.mini-col span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mini-col b {
  display: block;
  font-weight: 500;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #d7e0ea;
}
.tile:not(.tile-dark) .mini-col b { color: var(--ink); border-color: var(--line-dark); }
.mini-col b.hole { color: #ff6b7a; opacity: 0.7; }
.mini-col b.bad {
  color: #ff6b7a;
  animation: badIn 3.2s ease infinite;
}
@keyframes badIn {
  0%, 18% { opacity: 0; transform: translateX(-6px); }
  32%, 100% { opacity: 1; transform: none; }
}
.mini-order {
  flex-direction: column;
  align-items: stretch;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  height: 110px;
}
.swap {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  position: absolute;
  left: 0; right: 0;
  animation: swapMove 3.6s var(--ease) infinite;
}
.swap.a { top: 0; }
.swap.b { top: 52px; animation-name: swapMoveB; }
@keyframes swapMove {
  0%, 28% { top: 0; background: #fff; }
  48%, 100% { top: 52px; background: #fff8e8; }
}
@keyframes swapMoveB {
  0%, 28% { top: 52px; background: #fff; }
  48%, 100% { top: 0; background: #fff8e8; }
}
.order-tag {
  position: absolute;
  right: 10px;
  top: 14px;
  font-size: 10px;
  font-weight: 600;
  color: #e6b35c;
  background: #3a2e14;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  animation: tagPop 3.6s ease infinite;
  z-index: 1;
}
@keyframes tagPop {
  0%, 40% { opacity: 0; }
  52%, 100% { opacity: 1; }
}
.ocr-stage { display: flex; justify-content: center; margin-top: 8px; }
.ocr-phone {
  position: relative;
  width: min(420px, 100%);
  background: #0e141c;
  color: #d7e0ea;
  border-radius: 16px;
  padding: 16px 18px 22px;
  text-align: left;
  overflow: hidden;
}
.ocr-phone span { display: block; padding: 6px 0; font-size: 13px; }
.scan {
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(61,214,176,0.28), transparent);
  animation: scanMove 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanMove {
  0% { top: 8px; }
  100% { top: 72px; }
}

.log-window {
  max-width: 980px;
  margin: 8px auto 0;
  border-radius: 14px;
  text-align: left;
}
.log-live {
  margin-left: auto;
  font-size: 11px;
  color: #3dd6b0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.log-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3dd6b0;
  animation: blink 1s step-end infinite;
}
.log-stream {
  height: 220px;
  overflow: hidden;
  background: #080c11;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  padding: 12px 16px 20px;
  color: #9db0c4;
}
.log-stream .line { white-space: nowrap; }
.log-stream .get { color: #4ea1ff; }
.log-stream .post { color: #c4a5ff; }
.log-stream .ok { color: #3dd6b0; }
.log-stream .ms { color: #8a9bb0; }

/* ——— Band ——— */
.band {
  padding: 92px 24px;
  text-align: center;
}
.band-dark {
  background: #000;
  color: #f5f5f7;
}
.band-fog { background: var(--fog); }
.band-white { background: #fff; }

.eyebrow {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}
.band-dark .eyebrow { color: var(--accent); }

.band h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin-bottom: 14px;
}
.lede {
  font-size: 21px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 36px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

/* tiles */
.tiles-wrap {
  background: #000;
  padding: 8px 22px 92px;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: var(--wide);
  margin: 0 auto;
}
.tile {
  background: var(--fog);
  border-radius: 28px;
  padding: 48px 40px 40px;
  min-height: 320px;
  overflow: hidden;
  text-align: center;
}
.tile h3 {
  font-size: 32px;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 8px 0 10px;
}
.tile p { color: var(--muted); font-size: 17px; max-width: 28em; margin: 0 auto 18px; }
.tile-dark {
  background: #161617;
  color: #f5f5f7;
}
.tile-wide { grid-column: 1 / -1; }

.swatch {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
  max-width: var(--wide);
  margin: 0 auto;
}
.step n {
  display: block;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 16px; }

/* download */
.download {
  padding: 100px 24px 80px;
  background: #000;
  color: #f5f5f7;
  text-align: center;
}
.download h2 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 10px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--wide);
  margin: 48px auto 0;
  text-align: left;
}
.card {
  background: #1d1d1f;
  border-radius: 22px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card.preferred {
  background: linear-gradient(180deg, #2a2a2e, #1d1d1f);
  box-shadow: 0 0 0 1px rgba(61, 214, 176, 0.55);
}
.os {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.card h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
  flex: 1;
}
.meta { font-size: 12px; color: #6e6e73; margin-top: 12px; }

.btn-block {
  width: 100%;
  background: #fff;
  color: #000;
  font-size: 15px;
}
.btn-muted {
  background: #2c2c2e;
  color: #f5f5f7;
  cursor: default;
  transform: none !important;
}
.btn-muted:hover { opacity: 1; }

.reqs {
  max-width: var(--max);
  margin: 56px auto 0;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}
.reqs h3 {
  color: #f5f5f7;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
.reqs ul { padding-left: 18px; }
.reqs li { margin: 6px 0; }

/* footer */
.footer {
  background: var(--fog);
  color: #6e6e73;
  font-size: 12px;
  padding: 20px 22px 40px;
}
.footer-inner { max-width: var(--wide); margin: 0 auto; }
.footer-note {
  border-bottom: 1px solid #d2d2d7;
  padding: 16px 0 18px;
  line-height: 1.6;
}
.cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.cols h4 {
  color: #1d1d1f;
  font-size: 12px;
  margin-bottom: 10px;
}
.cols a {
  display: block;
  color: #424245;
  margin: 6px 0;
  text-decoration: none;
}
.cols a:hover { text-decoration: underline; }
.legal {
  border-top: 1px solid #d2d2d7;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #000;
    padding: 28px 28px 40px;
    align-items: flex-start;
    gap: 22px;
    min-height: calc(100vh - var(--nav-h));
  }
  .nav.open .nav-links a { font-size: 28px; color: #f5f5f7; font-weight: 600; letter-spacing: -0.02em; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .pane + .pane { border-left: 0; border-top: 1px solid #243041; }
  .tiles, .cards, .steps, .cols { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 36px 24px; }
  .hero { padding-top: 48px; }
  .demo-window .win-title { margin-right: 0; }
  .demo-tabs { display: none; }
  .demo-body { min-height: 0; }
  .demo-cursor { display: none; }
  .log-window { margin-left: 16px; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .hero-preview .api-row,
  .mini-col b.bad,
  .swap, .order-tag, .scan, .log-live i, .caret,
  .hero-preview .in-2 .tag.miss {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .product-demo .api-list .api-row,
  .shot-live { opacity: 1 !important; transform: none !important; }
  .shot-wait { display: none; }
}
