/* AgentGate website. One file, no build step, self-hosted fonts. Dark first (the demo video's
   palette); a light theme follows prefers-color-scheme (the dashboard's light palette). */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-500-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --bg: #0a0c10;
  --bg-alt: #0c0e13;
  --panel: #11141a;
  --code: #07080b;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --faint: #5d6475;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --blue: #6ea8fe;
  --blue-ink: #0a0c10;
  --green: #4cc38a;
  --amber: #e5b454;
  --red: #f0616d;
  --red-bg: rgba(240, 97, 109, 0.12);
  --green-bg: rgba(76, 195, 138, 0.16);
  --amber-bg: rgba(229, 180, 84, 0.16);
  --none-bg: rgba(255, 255, 255, 0.06);
  --glow: rgba(110, 168, 254, 0.16);
  --shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  --grid-dot: rgba(255, 255, 255, 0.07);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7f5;
    --bg-alt: #f0f0ec;
    --panel: #ffffff;
    --code: #ffffff;
    --text: #1c1d1f;
    --muted: #5a5e66;
    --faint: #8a8f99;
    --line: rgba(0, 0, 0, 0.08);
    --line-2: rgba(0, 0, 0, 0.14);
    --blue: #2f5fd0;
    --blue-ink: #ffffff;
    --green: #1d7a46;
    --amber: #8a5a00;
    --red: #b3261e;
    --red-bg: rgba(179, 38, 30, 0.08);
    --green-bg: #e3f3e9;
    --amber-bg: #fbf0d9;
    --none-bg: #ececea;
    --glow: rgba(47, 95, 208, 0.10);
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.25);
    --grid-dot: rgba(0, 0, 0, 0.07);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
code, pre, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 50; padding: 10px 14px;
  background: var(--blue); color: var(--blue-ink); border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 860px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.strong { color: var(--text); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.accent { color: var(--blue); }
.short { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s;
}
.btn-sm { min-height: 38px; padding: 9px 16px; font-size: 14.5px; border-radius: 9px; }
.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-primary:hover { color: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--blue); }
.btn-ghost { border-color: var(--line-2); color: var(--text); font-weight: 500; }
.btn-ghost:hover { color: var(--text); background: var(--none-bg); border-color: var(--faint); }
.icon-play { width: 12px; height: 12px; fill: currentColor; }
.btn-mini {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 11px;
  border-radius: 7px; border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font: 500 12.5px/1 var(--sans); cursor: pointer; transition: background-color 0.2s, border-color 0.2s;
}
.btn-mini:hover { background: var(--none-bg); border-color: var(--faint); }
.btn-mini svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-mini[hidden] { display: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 24px; flex: 1 1 auto; font-size: 14.5px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-light {
  position: absolute; right: -10%; top: -30%; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 10%, transparent 70%);
}
.hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.045; pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 470px; min-width: 0; }
.eyebrow { font: 500 12.5px/1.4 var(--mono); color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(42px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .w > span { display: inline-block; }
.lede { margin-top: 26px; color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-center { justify-content: center; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.spec {
  position: relative; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0;
  margin: 0 auto; padding-bottom: 88px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.3px;
}
.spec li + li::before { content: "/"; color: var(--faint); margin: 0 14px; }

/* The hero's check card */
.check {
  position: relative; flex: 1 1 460px; min-width: 0; margin: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow), 0 0 80px -30px var(--glow);
}
.check-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.check-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.check-id > div { min-width: 0; }
.check-shield { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.check-title { font-weight: 600; font-size: 14.5px; }
.check-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pills { position: relative; width: 92px; height: 26px; flex: none; }
.pills .pill { position: absolute; right: 0; top: 0; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 11.5px/1.4 var(--mono); letter-spacing: 0.6px; }
.pill-none { background: var(--none-bg); color: var(--muted); font-weight: 500; }
.pill-block { background: var(--red-bg); color: var(--red); }
.pill-pass { background: var(--green-bg); color: var(--green); }
.pill-warn { background: var(--amber-bg); color: var(--amber); }
[data-pill="run"], [data-pill="pass"] { opacity: 0; }
.bloom {
  position: absolute; right: 6px; top: -30px; width: 86px; height: 86px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(240, 97, 109, 0.6), transparent 68%); pointer-events: none;
}
.check-bars { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 14px; font-size: 12.5px; color: var(--muted); }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { width: 136px; flex: none; }
.bar-track { flex: 1; height: 4px; border-radius: 4px; background: var(--none-bg); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--blue); transform-origin: left center; }
.bar-count { width: 72px; flex: none; text-align: right; }
.check-metrics { margin: 0; border-top: 1px solid var(--line); font-size: 13px; }
.mrow { display: grid; grid-template-columns: 1fr 70px 56px; gap: 8px; padding: 10px 20px; color: var(--muted); }
.mrow + .mrow { border-top: 1px solid var(--line); }
.mrow dt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mrow dd { margin: 0; text-align: right; }
.mrow dd.num { color: var(--text); }
.mrow-hot { background: var(--red-bg); color: var(--text); }
.mrow-hot dd, .mrow-hot dd.num { color: var(--red); font-weight: 500; }
.check-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-lines { position: relative; flex: 1; min-width: 0; height: 20px; }
.foot { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.foot-2 { opacity: 0; }

/* Video */
.video-section { padding-top: 16px; padding-bottom: 120px; }
.video-frame { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 50px 140px -50px var(--glow); }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.video-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; color: var(--muted); font-size: 12.5px; }
.transcript { margin-top: 18px; color: var(--muted); max-width: 760px; }
.transcript summary { cursor: pointer; color: var(--blue); font-size: 14.5px; width: max-content; }
.transcript p { margin-top: 12px; font-size: 15px; }

/* Sections */
.band { border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-alt); }
.section { padding-top: 112px; padding-bottom: 112px; }
.h2 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em; max-width: 780px; margin-bottom: 20px; }
.h3 { font-size: 34px; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 18px; max-width: 660px; margin-bottom: 48px; }
.sub-sm { font-size: 16px; margin-bottom: 28px; }
.sub-center { margin-left: auto; margin-right: auto; text-align: center; }
.fine { color: var(--muted); font-size: 15px; margin-top: 56px; }
.fine-sm { font-size: 13px; margin-top: 12px; }

/* Steps */
.steps { position: relative; margin-top: 44px; }
.steps-line { position: absolute; left: 24px; right: calc(33.33% - 24px); top: 24px; height: 1px; background: var(--line-2); }
.steps-line span { display: block; height: 100%; background: var(--blue); transform-origin: left center; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { position: relative; }
.node {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue); background: var(--bg);
  font-size: 13px; color: var(--text);
}
.step h3 { margin: 24px 0 10px; font-size: 21px; letter-spacing: -0.3px; }
.step p { color: var(--muted); max-width: 330px; }

/* PR #7 table */
.ci-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.ci-scroll { position: relative; overflow-x: auto; }
.ci { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 13.5px; }
.ci th, .ci td { padding: 16px 16px; text-align: left; font-weight: 400; white-space: nowrap; }
.ci th:first-child, .ci td:first-child { padding-left: 24px; }
.ci th:last-child, .ci td:last-child { padding-right: 24px; }
.ci thead th { font-size: 12px; color: var(--muted); letter-spacing: 0.4px; text-transform: uppercase; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ci tbody tr + tr { border-top: 1px solid var(--line); }
.ci .num { text-align: right; }
.ci .verdict { color: var(--muted); }
.ci tr.hot { background: color-mix(in srgb, var(--red-bg) 70%, transparent); }
.ci tr.hot [data-hot-text] { color: var(--red); }
.ci tr.hot .verdict { font-weight: 600; }
.ci-plot-col { width: 32%; }
.ci-plot { width: 100%; height: 22px; overflow: visible; }
.ci-zero { stroke: var(--line-2); stroke-width: 1; }
.ci-thr { stroke: var(--amber); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.7; }
.ci-wh { fill: var(--muted); }
.ci-dot { fill: var(--text); }
.ci tr.hot .ci-wh, .ci tr.hot .ci-dot { fill: var(--red); }
.ci-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key-zero { width: 1px; height: 14px; background: var(--faint); }
.key-thr { height: 14px; border-left: 1px dashed var(--amber); }
.ci-link { margin-left: auto; }

/* Proof */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 56px; margin-top: 44px; }
.stat-num { font-size: 72px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .of { color: var(--faint); font-weight: 700; }
.stat-label { margin-top: 16px; font-size: 19px; font-weight: 600; }
.stat-text { color: var(--muted); max-width: 320px; }
.squares { display: flex; align-items: center; gap: 6px; height: 16px; margin: 18px 0 14px; }
.sq { width: 16px; height: 16px; border-radius: 4px; border: 1px solid; }
.sq-pass { background: var(--green); border-color: var(--green); }
.sq-block { background: var(--red); border-color: var(--red); }
.cost-line { display: block; height: 2px; width: 120px; background: var(--muted); transform-origin: left center; }

/* Try it + set it up */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split-col { flex: 1 1 420px; min-width: 0; }
.split-wide { flex-basis: 500px; }
.term, .code { background: var(--code); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.term { font-size: 13px; }
.term-bar, .code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 12px 8px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term-body { padding: 18px 18px 20px; line-height: 1.9; }
.term-line { white-space: nowrap; overflow-x: auto; }
.term-line code { font-size: inherit; }
.prompt { color: var(--green); }
.caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--text); }
.term-out { color: var(--muted); }
.term-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; }
.v-pass { color: var(--green); }
.v-warn { color: var(--amber); }
.v-block { color: var(--red); }
.code-body { margin: 0; padding: 18px; font-size: 13px; line-height: 1.75; overflow-x: auto; color: var(--text); }
.yl-hi { display: inline-block; min-width: calc(100% + 36px); margin: 0 -18px; padding: 0 18px; color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, transparent); }

/* What we store */
.store { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; margin: 8px 0 40px; }
.store-head { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.store-list { list-style: none; margin: 0; padding: 0; }
.store-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-yes { stroke: var(--green); }
.ic-no { stroke: var(--muted); }

/* FAQ */
.faq { margin-top: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 12px; color: var(--muted); }
.chev { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
details[open] > summary .chev { transform: rotate(180deg); }

/* Final call to action */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.final-light { position: absolute; left: 50%; bottom: -520px; width: 1100px; height: 900px; margin-left: -550px; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 64%); pointer-events: none; }
.final-inner { position: relative; max-width: 900px; padding-top: 136px; padding-bottom: 136px; text-align: center; }
.final-title { font-size: clamp(38px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.04em; }
.final .sub { margin-top: 20px; margin-bottom: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand a, .footer-links a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-brand a:hover { color: var(--text); }

/* Sign in / sign up */
.auth { position: relative; overflow: hidden; display: flex; justify-content: center; padding: 96px 20px 120px; }
.auth-light { position: absolute; left: 50%; top: -420px; width: 900px; height: 800px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 64%); pointer-events: none; }
.auth-card { position: relative; width: 100%; max-width: 440px; padding: 40px 36px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.auth-logo { margin-bottom: 22px; }
.auth-title { font-size: 28px; letter-spacing: -0.02em; }
.auth-sub { margin: 10px 0 28px; color: var(--muted); }
.btn-github { width: 100%; background: var(--text); color: var(--bg); }
.btn-github:hover { color: var(--bg); transform: translateY(-1px); }
.btn-github:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.gh-mark { width: 18px; height: 18px; fill: currentColor; }
.auth-soon { margin-top: 14px; font-size: 14px; color: var(--muted); }
.auth-soon .pill { margin-right: 6px; }
.auth-facts { margin: 26px 0 0; padding: 0 0 0 18px; color: var(--muted); font-size: 14.5px; }
.auth-facts li + li { margin-top: 8px; }
.auth-facts strong { color: var(--text); font-weight: 600; }
.auth-legal { margin-top: 18px; font-size: 13px; color: var(--muted); }
.auth-switch { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.auth-alt { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.auth-alt p { color: var(--muted); margin-bottom: 4px; }

/* Legal and error pages */
.legal { padding-top: 72px; padding-bottom: 112px; }
.legal h1 { font-size: 44px; letter-spacing: -0.03em; margin-top: 32px; }
.legal-date { color: var(--muted); margin-top: 8px; }
.legal h2 { font-size: 21px; margin-top: 40px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.draft { display: flex; gap: 12px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--muted); font-size: 14.5px; }
.error-page { padding-top: 140px; padding-bottom: 160px; }

/* Motion: until site.js has set the start states, the hero's animated parts stay hidden. Only
   when js-on.js ran (JavaScript on, motion allowed); it removes .js again if site.js never
   arrives, so nothing stays hidden. */
.js:not(.ready) [data-intro] { visibility: hidden; }

@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-inner { flex-wrap: nowrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .nav-cta .btn-sm { min-height: 36px; padding: 8px 12px; font-size: 14px; }
  .long { display: none; }
  .short { display: inline; }
  .hero-inner { padding-top: 64px; gap: 48px; }
  .steps-line { display: none; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .stat-num { font-size: 60px; }
  .ci-link { margin-left: 0; }
  .auth-card { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
