/* Sora Panel website. English, dark only. 4px spacing grid; Geist and Geist Mono (SIL OFL), self-hosted. */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;
  --bg: #09090b;
  --surface: #111113;
  --surface-2: #18181b;
  --ring: rgb(255 255 255 / 0.07);
  --ring-strong: rgb(255 255 255 / 0.12);
  --text: #fafafa;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --accent: #38bdf8;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --card-shadow: 0 0 0 1px var(--ring), 0 1px 3px rgb(0 0 0 / 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/24px var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, kbd, .mono { font-family: var(--mono); }
::selection { background: rgb(56 189 248 / 0.28); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1168px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { width: 100%; max-width: 808px; margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.link { color: var(--accent); text-decoration: underline; text-decoration-color: rgb(56 189 248 / 0.4); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 500; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* Icons: Lucide-style, 24-unit viewBox, 1.5 stroke, rendered at 16 or 20 px. */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-16 { width: 16px; height: 16px; }

/* ---------- Page background: grid, dots, aurora, beams, pointer spotlight ---------- */
.bg { position: absolute; inset: 0 0 auto; height: 1600px; z-index: 0; overflow: hidden; pointer-events: none; --mx: -999px; --my: -999px; --hl: 0; }
.bg-grid, .bg-hl, .bg-dots { position: absolute; inset: 0; }
.bg-grid {
  background-image: linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 100% at 50% 0, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 100% at 50% 0, #000 20%, transparent 80%);
}
.bg-dots {
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 0, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 0, transparent 70%);
}
.bg-hl {
  background-image: linear-gradient(to right, rgb(56 189 248 / 0.34) 1px, transparent 1px), linear-gradient(to bottom, rgb(56 189 248 / 0.34) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: var(--hl);
  -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000, transparent 100%);
  mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000, transparent 100%);
  transition: opacity 0.4s;
}
.bg-spot { position: absolute; inset: 0; opacity: var(--hl); background: radial-gradient(360px circle at var(--mx) var(--my), rgb(56 189 248 / 0.07), transparent 100%); transition: opacity 0.4s; }
.aurora { position: absolute; border-radius: 50%; opacity: 0.2; }
.aurora-a { top: -240px; left: 12%; width: 720px; height: 560px; background: radial-gradient(closest-side, #38bdf8, transparent); animation: drift-a 24s ease-in-out infinite alternate; }
.aurora-b { top: -120px; right: 6%; width: 640px; height: 520px; background: radial-gradient(closest-side, #6366f1, transparent); opacity: 0.16; animation: drift-b 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(120px, 60px, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-140px, 80px, 0) scale(1.1); } }
.beam { position: absolute; opacity: 0; }
.beam-v { top: 0; width: 1px; height: 160px; background: linear-gradient(to bottom, transparent, #38bdf8, transparent); animation: beam-v 9s linear infinite; }
.beam-h { left: 0; height: 1px; width: 200px; background: linear-gradient(to right, transparent, #38bdf8, transparent); animation: beam-h 11s linear infinite; }
.beam-1 { left: 192px; animation-delay: 1s; }
.beam-2 { left: 704px; animation-delay: 4s; animation-duration: 12s; }
.beam-3 { top: 320px; animation-delay: 2s; }
@keyframes beam-v { 0% { opacity: 0; transform: translateY(-160px); } 8% { opacity: 0.75; } 70% { opacity: 0.75; } 100% { opacity: 0; transform: translateY(900px); } }
@keyframes beam-h { 0% { opacity: 0; transform: translateX(-200px); } 8% { opacity: 0.75; } 70% { opacity: 0.75; } 100% { opacity: 0; transform: translateX(1600px); } }

main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 12px; pointer-events: none; }
.site-header > .wrap { pointer-events: none; }
.nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 0;
  border-radius: 16px;
  background: transparent;
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled .nav {
  max-width: 830px;
  padding-inline: 16px;
  background: rgb(9 9 11 / 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--ring-strong), 0 8px 32px rgb(0 0 0 / 0.5);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 20px/24px var(--sans); letter-spacing: -0.04em; color: var(--text); }
.brand img { width: 28px; height: 28px; }
.brand span { text-transform: lowercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn.menu-btn { display: none; }

/* ---------- Buttons, pills, badges ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ring-strong);
  color: var(--text);
  font: 500 14px/20px var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: none; }
.btn-primary:hover { background: #e4e4e7; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.9) 50%, transparent 65%); transform: translateX(-110%); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after { transform: translateX(110%); transition: transform 0.7s ease; }
}
.btn-sm { height: 32px; padding: 4px 12px; line-height: 24px; }
.btn[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: transparent; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--ring-strong); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 999px; background: rgb(56 189 248 / 0.08); box-shadow: 0 0 0 1px rgb(56 189 248 / 0.28); color: var(--accent); font: 500 14px/20px var(--sans); }
.pill-link { transition: background-color 0.2s, box-shadow 0.2s; }
.pill-link:hover { background: rgb(56 189 248 / 0.14); box-shadow: 0 0 0 1px rgb(56 189 248 / 0.5); }
.pill-link .ico { transition: transform 0.2s; }
.pill-link:hover .ico { transform: translateX(2px); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: rgb(56 189 248 / 0.08); box-shadow: 0 0 0 1px rgb(56 189 248 / 0.28); color: var(--accent); font: 600 12px/16px var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 152px 0 0; text-align: center; overflow-x: clip; }
.hero h1 { max-width: 960px; margin: 24px auto 0; font: 500 72px/72px var(--sans); letter-spacing: -1.8px; text-wrap: balance; }
.hero h1 .hl { color: var(--accent); }
.lead { max-width: 640px; margin: 24px auto 0; font-size: 18px; line-height: 28px; color: var(--muted); text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-stage { position: relative; margin-top: 64px; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -8% 6% 20%; background: radial-gradient(closest-side, rgb(56 189 248 / 0.16), transparent); filter: blur(24px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-media::before { animation: glow-in 1.2s ease-out both; }
}
@keyframes glow-in { from { opacity: 0; } }
/* The dashboard is shown straight and complete: no tilt, no mask. */
.hero-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--ring-strong), 0 32px 80px rgb(0 0 0 / 0.55); background: var(--surface); }
.hero-frame img { width: 100%; }
.hero-float { position: absolute; right: 24px; bottom: 8%; width: min(340px, 32%); transform: translate3d(0, var(--py, 0px), 0); }
@media (min-width: 1200px) { .hero-float { right: -16px; } }
.caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }

.float { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--ring-strong), 0 24px 64px rgb(0 0 0 / 0.6); background: var(--surface-2); }
.float img { width: 100%; }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--ring-strong), 0 24px 64px rgb(0 0 0 / 0.5); }
.shot img { width: 100%; }

/* ---------- Trust row / marquee ---------- */
.trust { padding: 64px 0 0; }
.trust-cap { text-align: center; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); }
.marquee { position: relative; display: flex; overflow: hidden; margin-top: 24px; padding: 8px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.marquee-group li { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 200px; height: 48px; padding: 0 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--card-shadow); font: 500 14px/20px var(--sans); color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.marquee-group li:hover { color: var(--text); }
.stack-ico { width: 24px; height: 24px; flex: none; fill: currentColor; }
.stack-ico-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; scroll-margin-top: 0; }
.section-surface { background-color: var(--surface); background-image: radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px); background-size: 24px 24px; box-shadow: inset 0 1px 0 var(--ring), inset 0 -1px 0 var(--ring); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2, .faq-intro h2, .sec-copy h2 { margin-top: 16px; }
.sec-copy h2 { text-wrap: pretty; }
.section-head p.muted { margin-top: 16px; }
h2 { font: 600 48px/48px var(--sans); letter-spacing: -1.2px; text-wrap: balance; }
h3 { font: 600 16px/24px var(--sans); }
.eyebrow-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--ring-strong); color: var(--accent); }

/* ---------- Cards with pointer-following border glow ---------- */
.card { position: relative; border-radius: 16px; padding: 32px; background: var(--surface); box-shadow: var(--card-shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; --x: 50%; --y: 0%; }
.card::before, .cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--x) var(--y), rgb(56 189 248 / 0.7), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card::after, .cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--x) var(--y), rgb(56 189 248 / 0.07), transparent 70%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover::before, .card:hover::after, .cta:hover::before, .cta:hover::after { opacity: 1; }
@media (hover: hover) { .card:hover { transform: translateY(-1px); } }
.card > * { position: relative; z-index: 1; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .card { display: flex; flex-direction: column; padding: 32px; }
.b-3 { grid-column: span 3; }
.b-2 { grid-column: span 2; }
.mini { position: relative; height: 256px; padding: 16px; border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--ring); -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.card-copy { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; margin-top: 24px; padding-inline: 8px; align-items: start; }
.card-copy .eyebrow-icon { grid-row: span 2; }
.card-copy p { color: var(--muted); }

/* mini interface vocabulary */
.ui-bar { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; font: 500 12px/16px var(--mono); color: var(--muted); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.16); }
.ui-line { display: flex; gap: 8px; font: 400 13px/20px var(--mono); color: var(--text); }
.prompt { color: var(--accent); }
.ui-list { display: grid; gap: 8px; margin-top: 12px; }
.ui-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring); font: 400 12px/16px var(--sans); color: var(--text); }
.ui-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-row .mono { font-size: 12px; }
.ui-row .ico { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--ring-strong); font: 500 12px/16px var(--sans); color: var(--muted); white-space: nowrap; }
.chip-ok { color: var(--ok); background: rgb(52 211 153 / 0.1); box-shadow: inset 0 0 0 1px rgb(52 211 153 / 0.3); }
.chip-warn { color: var(--warn); background: rgb(251 191 36 / 0.1); box-shadow: inset 0 0 0 1px rgb(251 191 36 / 0.3); }
.chip-danger { color: var(--danger); background: rgb(251 113 133 / 0.1); box-shadow: inset 0 0 0 1px rgb(251 113 133 / 0.3); }
.chip-accent { color: var(--accent); background: rgb(56 189 248 / 0.1); box-shadow: inset 0 0 0 1px rgb(56 189 248 / 0.3); }
.ui-btns { display: flex; gap: 8px; margin-top: 12px; }
.ui-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; font: 500 12px/16px var(--sans); box-shadow: inset 0 0 0 1px var(--ring-strong); color: var(--text); }
.ui-btn-primary { background: var(--text); color: var(--bg); box-shadow: none; }
.ui-title { font: 600 14px/20px var(--sans); color: var(--text); }
.ui-sub { font: 400 12px/16px var(--sans); color: var(--muted); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ok { color: var(--ok); }
.chart { width: 100%; height: 80px; }
.chart .grid-l { stroke: rgb(255 255 255 / 0.08); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: url("#g-area"); }
.bars { display: flex; gap: 4px; margin-top: 12px; }
.bars i { flex: 1; height: 24px; border-radius: 4px; background: var(--ok); opacity: 0.85; }
.bars i.w { background: var(--warn); }
.bars i.n { background: rgb(255 255 255 / 0.12); }
.site-row .ico { color: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
.mt { margin-top: 12px; }

/* Monitoring card: draw-in, live ticking chart, bars one by one, alert slide-in. Static final state without motion. */
.mon-up { border-radius: 999px; }
.bars i { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .is-in .chart .line { stroke-dasharray: 1; animation: chart-draw 2s ease-out both; }
  .js .is-in .chart .area { animation: fade-in 1.2s ease-out 0.6s both; }
  .js .is-in .chart-run { animation: chart-scroll 16s linear 2s infinite; }
  .js .is-in .bars i { animation: bar-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 300ms); }
  .js .is-in .bars i.w { animation: bar-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both, bar-flip 0.9s ease-in-out both; animation-delay: calc(var(--i, 0) * 55ms + 300ms), 2.6s; }
  .js .is-in .mon-alert { animation: alert-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.4s both; }
  .js .is-in .mon-bell { transform-origin: 50% 0; animation: bell 3.2s ease-in-out 4s infinite; }
  .js .is-in .mon-up { animation: pulse-ok 2.4s ease-out infinite; }
}
@keyframes chart-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chart-scroll { to { transform: translateX(-240px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes bar-in { from { opacity: 0; scale: 1 0.15; } }
@keyframes bar-flip {
  0% { transform: rotateX(0); background: var(--ok); }
  49% { transform: rotateX(90deg); background: var(--ok); }
  51% { transform: rotateX(90deg); background: var(--warn); }
  100% { transform: rotateX(0); background: var(--warn); }
}
@keyframes alert-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(16deg); } 78% { transform: rotate(-14deg); } 82% { transform: rotate(9deg); } 86% { transform: rotate(-6deg); } 90% { transform: rotate(0); } }
@keyframes pulse-ok {
  0% { box-shadow: inset 0 0 0 1px rgb(52 211 153 / 0.3), 0 0 0 0 rgb(52 211 153 / 0.4); }
  70%, 100% { box-shadow: inset 0 0 0 1px rgb(52 211 153 / 0.3), 0 0 0 7px rgb(52 211 153 / 0); }
}

/* Isolated sites card: three compartments, a dashed wall between them, requests that are blocked at the wall. */
.iso { padding: 16px 12px; }
.iso-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; --cw: calc((100% - 24px) / 3); }
.iso-box { position: relative; min-width: 0; padding: 8px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring-strong); }
.iso-box + .iso-box::before { content: ""; position: absolute; left: -7px; top: -8px; bottom: -8px; border-left: 1.5px dashed rgb(251 113 133 / 0.45); }
.iso-lock { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; color: var(--accent); }
.iso-name { display: grid; }
.iso-name b { padding-right: 16px; font: 600 11px/14px var(--sans); color: var(--text); }
.iso-name small { font: 400 8.5px/12px var(--mono); color: var(--muted); white-space: nowrap; }
.iso-layers { display: grid; margin-top: 8px; }
.iso-layers li { overflow: hidden; padding: 4px 0; border-top: 1px solid var(--ring); font: 400 9px/12px var(--mono); color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.iso-layers li:first-child { color: var(--text); }
.iso-req { position: absolute; top: 94px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px rgb(251 113 133 / 0.8); }
.iso-req-a { left: calc(var(--cw) - 6px); }
.iso-req-b { left: calc(var(--cw) * 2 + 22px); }
.iso-block { position: absolute; top: 62px; display: grid; place-items: center; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 0 0 1px rgb(251 113 133 / 0.55), 0 0 12px rgb(251 113 133 / 0.3); color: var(--danger); }
.iso-block-a { left: calc(var(--cw) + 6px); }
.iso-block-b { left: calc(var(--cw) * 2 + 18px); }
@media (prefers-reduced-motion: no-preference) {
  .js .is-in .iso-req-a { animation: iso-a 5s ease-in-out infinite; }
  .js .is-in .iso-req-b { animation: iso-b 5s ease-in-out 2.5s infinite; }
  .js .is-in .iso-block-a { animation: iso-block 5s ease-out infinite; }
  .js .is-in .iso-block-b { animation: iso-block 5s ease-out 2.5s infinite; }
}
@keyframes iso-a {
  0%, 6% { left: calc(var(--cw) * 0.5 - 4px); opacity: 0; scale: 1; }
  12% { opacity: 1; }
  38% { left: calc(var(--cw) - 6px); opacity: 1; scale: 1; }
  44% { left: calc(var(--cw) - 6px); opacity: 1; scale: 1.8; }
  52%, 100% { left: calc(var(--cw) - 6px); opacity: 0; scale: 0.4; }
}
@keyframes iso-b {
  0%, 6% { left: calc(var(--cw) * 2.5 + 20px); opacity: 0; scale: 1; }
  12% { opacity: 1; }
  38% { left: calc(var(--cw) * 2 + 22px); opacity: 1; scale: 1; }
  44% { left: calc(var(--cw) * 2 + 22px); opacity: 1; scale: 1.8; }
  52%, 100% { left: calc(var(--cw) * 2 + 22px); opacity: 0; scale: 0.4; }
}
@keyframes iso-block {
  0%, 36% { opacity: 0; scale: 0.4; }
  42% { opacity: 1; scale: 1.15; }
  48%, 78% { opacity: 1; scale: 1; }
  90%, 100% { opacity: 0; scale: 0.9; }
}

/* ---------- How it works ---------- */
.stepper { position: relative; display: grid; gap: 64px; }
.rail { position: absolute; left: 19px; top: var(--rail-top, 20px); height: var(--rail-h, calc(100% - 40px)); width: 2px; background: var(--ring-strong); border-radius: 2px; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--accent), rgb(56 189 248 / 0.4)); transform-origin: 50% 0; transform: scaleY(var(--fill, 1)); border-radius: 2px; box-shadow: 0 0 12px rgb(56 189 248 / 0.5); }
.step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.step-num { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--ring-strong); font: 600 14px/20px var(--mono); color: var(--muted); transition: color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.step.is-active .step-num { color: var(--bg); background: var(--accent); box-shadow: 0 0 0 4px rgb(56 189 248 / 0.2); }
.step-copy h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.4px; }
.step-copy p { margin-top: 8px; color: var(--muted); }
.step-vis { min-width: 0; }

.term { border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring-strong), 0 16px 48px rgb(0 0 0 / 0.4); overflow: hidden; }
.term-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ring); font: 500 12px/16px var(--mono); color: var(--muted); }
.term-body { padding: 20px 16px 24px; display: grid; gap: 12px; font: 400 14px/24px var(--mono); }
.term-line { display: flex; gap: 8px; }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 4px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-options { display: grid; gap: 8px; transition: opacity 0.4s, transform 0.4s; }
.term-options li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--ring); font-size: 13px; line-height: 20px; }
.term-options li.is-pick { box-shadow: 0 0 0 1px rgb(56 189 248 / 0.5); }
.radio { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--subtle); }
.is-pick .radio { box-shadow: inset 0 0 0 4px var(--accent); }
.term-ai { display: flex; gap: 8px; color: var(--muted); }
.term-ai .ico { margin-top: 2px; color: var(--accent); }
.term-options .opt { flex: 1; min-width: 0; }
.term-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--muted); transition: opacity 0.4s 0.15s, transform 0.4s 0.15s; }
.js .term.is-pending .term-options, .js .term.is-pending .term-meta { opacity: 0; transform: translateY(8px); }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sec-media { position: relative; padding-bottom: 48px; }
.sec-media .float { position: absolute; right: -16px; bottom: 0; width: 48%; transform: translate3d(0, var(--py, 0px), 0); }
.sec-intro { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; text-wrap: pretty; }
.sec-rows { display: grid; gap: 0; margin-top: 32px; }
.sec-row { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--ring); }
.sec-row:first-child { border-top: 0; padding-top: 0; }
.sec-row:last-child { padding-bottom: 0; }
.sec-row .eyebrow-icon { grid-row: span 2; }
.sec-row p { color: var(--muted); }

/* ---------- Showcase ---------- */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.show + .show { margin-top: 96px; }
.show.rev .show-media { order: 2; }
.show-media { position: relative; margin-bottom: 32px; }
.show-media .float { position: absolute; right: -16px; bottom: -32px; width: 52%; transform: translate3d(0, var(--py, 0px), 0); }
.show.rev .show-media .float { right: auto; left: -16px; }
.show-copy h3 { margin-top: 16px; font-size: 32px; line-height: 40px; letter-spacing: -0.8px; font-weight: 600; }
.show-copy > p:not(.pill) { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.checks .ico { color: var(--accent); }

/* ---------- Lab numbers ---------- */
.band { padding: 96px 0; background: var(--surface); box-shadow: inset 0 1px 0 var(--ring), inset 0 -1px 0 var(--ring); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 32px; border-radius: 16px; background: var(--surface-2); box-shadow: var(--card-shadow); }
.stat-num { font: 600 48px/56px var(--sans); letter-spacing: -1.2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { margin-top: 8px; font-weight: 500; }
.stat-note { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.band-note { margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- Install ---------- */
.install { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
/* The command box is the focal point: animated sky/indigo ring and a soft outer glow. */
@property --ring-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.install-main .term { position: relative; isolation: isolate; overflow: visible; box-shadow: 0 0 0 1px var(--ring), 0 0 48px rgb(56 189 248 / 0.14), 0 0 120px rgb(99 102 241 / 0.1); }
.install-main .term::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ring-angle), #38bdf8 0%, #6366f1 30%, rgb(56 189 248 / 0.12) 55%, rgb(99 102 241 / 0.12) 75%, #38bdf8 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .install-main .term::before { animation: ring-spin 7s linear infinite; }
  .install-main .term { animation: glow-pulse 5s ease-in-out infinite alternate; }
}
@keyframes ring-spin { to { --ring-angle: 360deg; } }
@keyframes glow-pulse {
  from { box-shadow: 0 0 0 1px var(--ring), 0 0 40px rgb(56 189 248 / 0.1), 0 0 100px rgb(99 102 241 / 0.08); }
  to { box-shadow: 0 0 0 1px var(--ring), 0 0 64px rgb(56 189 248 / 0.22), 0 0 140px rgb(99 102 241 / 0.16); }
}
.term-cmd { display: flex; align-items: center; gap: 12px; padding: 20px; margin: 24px 16px 0; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--ring); }
.term-cmd code { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: 16px; line-height: 28px; color: var(--text); }
.term-cmd .prompt { color: var(--accent); font: 500 16px/28px var(--mono); }
.term-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ring); font: 500 12px/16px var(--mono); color: var(--muted); }
.term-note { padding: 16px 16px 20px; font-size: 14px; line-height: 20px; color: var(--muted); }
.copy-wrap { position: relative; display: inline-flex; flex: none; }
.tip { position: absolute; right: 0; bottom: calc(100% + 8px); padding: 4px 8px; border-radius: 8px; background: var(--text); color: var(--bg); font: 500 12px/16px var(--sans); white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.copy-wrap:hover .tip, .copy-wrap:focus-within .tip { opacity: 1; transform: none; }
.install-steps { display: grid; gap: 16px; margin-top: 32px; }
.install-steps li { display: flex; align-items: flex-start; gap: 16px; color: var(--muted); }
.install-steps .n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px var(--ring-strong); font: 600 12px/16px var(--mono); color: var(--text); }
.requirements h3 { font-size: 18px; line-height: 28px; }
.table-wrap { margin-top: 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
th, td { padding: 12px 8px; text-align: left; vertical-align: top; border-top: 1px solid var(--ring); }
thead th { border-top: 0; font-weight: 600; color: var(--muted); padding-top: 0; }
tbody th { font-weight: 500; color: var(--text); white-space: nowrap; }
td { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 112px; }
.faq-intro p { margin-top: 16px; }
.faq-list { display: grid; gap: 0; }
details { border-top: 1px solid var(--ring); }
details:last-child { border-bottom: 1px solid var(--ring); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font: 500 18px/28px var(--sans); cursor: pointer; list-style: none; border-radius: 8px; }
summary::-webkit-details-marker { display: none; }
summary .ico { color: var(--muted); transition: transform 0.3s ease, color 0.2s; }
summary:hover .ico { color: var(--text); }
details[open] summary .ico { transform: rotate(180deg); color: var(--accent); }
details p { padding: 0 32px 20px 0; color: var(--muted); }
@supports selector(::details-content) {
  details::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}

/* ---------- CTA ---------- */
.cta-section { padding-top: 96px; }
.cta { position: relative; overflow: hidden; padding: 96px 32px; border-radius: 24px; text-align: center; background-color: var(--surface); background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px); background-size: 20px 20px; box-shadow: 0 0 0 1px var(--ring-strong); --x: 50%; --y: 0%; }
.cta > * { position: relative; z-index: 1; }
.cta .glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(500px circle at var(--x) var(--y), rgb(56 189 248 / 0.14), transparent 70%), radial-gradient(ellipse 60% 80% at 50% 0, rgb(56 189 248 / 0.08), transparent); pointer-events: none; }
.cta h2 { max-width: 640px; margin-inline: auto; }
.cta .actions { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: 64px 0 32px; border-top: 1px solid var(--ring); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; max-width: 320px; color: var(--muted); font-size: 14px; line-height: 20px; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-h { margin: 0 0 4px; font: 600 14px/20px var(--sans); letter-spacing: 0; color: var(--text); }
.footer-grid nav a, .footer-grid > div:last-child a { font-size: 14px; line-height: 24px; color: var(--muted); transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; font-size: 14px; line-height: 20px; color: var(--muted); }
.footer-bottom p { padding-top: 24px; border-top: 1px solid var(--ring); }
.footer-bottom a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--text); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.footer-bottom a:hover { text-decoration-color: var(--text); }

/* ---------- Legal and simple pages ---------- */
.legal { padding-top: 128px; padding-bottom: 96px; }
.legal h1 { font: 600 40px/48px var(--sans); letter-spacing: -1px; margin-top: 16px; }
.legal .meta { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 20px; }
.legal .toc { margin-top: 32px; padding: 24px; border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow); }
.legal .toc ol { display: grid; gap: 8px; padding-left: 24px; list-style: decimal; color: var(--muted); }
.legal .toc a { color: var(--text); }
.legal .toc a:hover { color: var(--accent); }
.legal section { margin-top: 48px; scroll-margin-top: 96px; }
.legal h2 { font: 600 24px/32px var(--sans); letter-spacing: -0.4px; text-wrap: initial; }
.legal h3 { margin-top: 24px; font-size: 18px; line-height: 28px; }
.legal p, .legal li { color: #d4d4d8; line-height: 28px; max-width: 72ch; }
.legal p { margin-top: 16px; }
.legal ul, .legal section ol { margin-top: 16px; padding-left: 24px; list-style: disc; display: grid; gap: 8px; }
.legal li p { margin-top: 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(56 189 248 / 0.4); }
.legal table { margin-top: 16px; }
.legal th, .legal td { padding: 12px 16px 12px 0; }
.legal thead th { padding-top: 0; }
.legal td { color: #d4d4d8; }
.empty-state { margin-top: 32px; padding: 48px 24px; border-radius: 16px; text-align: center; background: var(--surface); box-shadow: var(--card-shadow); color: var(--muted); }
.draft-banner { margin-top: 24px; padding: 12px 16px; border-radius: 12px; background: rgb(251 191 36 / 0.08); box-shadow: inset 0 0 0 1px rgb(251 191 36 / 0.3); color: var(--warn); }
mark.fill { padding: 0 4px; border-radius: 4px; background: rgb(251 191 36 / 0.16); color: var(--warn); }
.notfound { padding-top: 160px; padding-bottom: 128px; text-align: center; }
.notfound h1 { margin-top: 24px; font: 600 48px/56px var(--sans); letter-spacing: -1.2px; }
.notfound p { margin-top: 16px; color: var(--muted); }
.notfound .actions { margin-top: 32px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
  .d1 { --d: 0.08s; }
  .d2 { --d: 0.16s; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  h2 { font-size: 40px; line-height: 44px; letter-spacing: -1px; }
  .hero h1 { font-size: 56px; line-height: 60px; letter-spacing: -1.4px; }
  .b-3, .b-2 { grid-column: span 3; }
  .bento .card:last-child { grid-column: span 6; }
  .sec-grid, .show { gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring-strong), 0 16px 48px rgb(0 0 0 / 0.6); }
  .nav-links.is-open { display: flex; }
  .nav-links a { height: 44px; }
  .icon-btn.menu-btn { display: inline-flex; }
  .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 16px 24px; align-items: start; }
  .step-vis { grid-column: 2; }
  .sec-grid, .show, .faq, .install { grid-template-columns: minmax(0, 1fr); }
  .show.rev .show-media { order: 0; }
  .faq-intro { position: static; }
  .sec-media .float, .show-media .float, .show.rev .show-media .float { right: 12px; left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .btn, .btn-sm { height: 44px; }
  .icon-btn, .icon-btn.menu-btn { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .pill-link { min-height: 44px; padding-inline: 16px; }
  .stats .stat-num { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
  .term-label .badge { flex: none; white-space: nowrap; }
  .footer-grid nav, .footer-grid > div:last-child { gap: 0; }
  .footer-grid nav a, .footer-grid > div:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-grid nav a, .footer-grid > div:last-child a { min-width: 44px; }
  .legal .toc a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-h { margin-bottom: 0; line-height: 44px; }
}
@media (max-width: 720px) {
  .section, .band { padding: 64px 0; }
  .cta-section { padding-top: 64px; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 40px; line-height: 44px; letter-spacing: -1px; }
  .lead { font-size: 16px; line-height: 24px; }
  h2 { font-size: 32px; line-height: 36px; letter-spacing: -0.8px; }
  .hero-stage { margin-top: 40px; }
  .hero-float { right: 0; width: 44%; bottom: 4%; }
  .trust { padding-top: 40px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .mini { height: auto; -webkit-mask-image: none; mask-image: none; }
  .b-3, .b-2, .bento .card:last-child { grid-column: auto; }
  .card, .stat, .bento .card { padding: 24px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat-num { font-size: 40px; line-height: 48px; }
  .show + .show { margin-top: 64px; }
  .show-copy h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.4px; }
  .cta { padding: 64px 24px; }
  .stepper { gap: 40px; }
  .legal { padding-top: 112px; padding-bottom: 64px; }
  .legal h1 { font-size: 32px; line-height: 40px; }
  summary { font-size: 16px; line-height: 24px; }
  details p { padding-right: 0; }
  .install-main { min-width: 0; }
  .term-cmd { padding: 16px; margin-inline: 12px; }
  .term-cmd code, .term-cmd .prompt { font-size: 14px; line-height: 24px; }
}
@media (max-width: 420px) {
  .nav-actions .btn { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .term-cmd { flex-wrap: wrap; }
  .term-options li { display: grid; grid-template-columns: 12px minmax(0, 1fr); }
  .term-options li .chip { grid-column: 2; justify-self: start; }
}

/* ---------- Reduced motion: no animation, no transforms driven by pointer or scroll ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .beam, .aurora-b { display: none; }
  .marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; }
  .marquee-group { flex: 0 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .hero-float, .sec-media .float, .show-media .float { transform: none; }
  .card:hover { transform: none; }
  .bg-hl, .bg-spot { display: none; }
  .dot::after { display: none; }
  .caret { display: none; }
}
@media print {
  .bg { display: none; }
  .site-header { position: static; }
}

/* Editorial guides */
.guide-page { padding: 144px 0 96px; }
.guide-wrap { width: min(100% - 40px, 820px); margin-inline: auto; }
.guide-wide { width: min(100% - 40px, 1120px); margin-inline: auto; }
.breadcrumb { color: #a1a1aa; font-size: 14px; margin-bottom: 32px; }
.breadcrumb a, .guide-prose a, .guide-sources a { color: #7dd3fc; overflow-wrap: anywhere; }
.guide-page h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 24px; }
.guide-meta { color: #a1a1aa; font-size: 14px; margin-bottom: 32px; }
.guide-box, .guide-chart { background: #18181b; border: 1px solid #3f3f46; border-radius: 16px; padding: 24px; margin: 32px 0; }
.guide-box strong { color: #7dd3fc; }
.guide-prose { font-size: 18px; line-height: 1.75; color: #d4d4d8; overflow-wrap: anywhere; }
.guide-prose h2, .guide-faq h2, .guide-sources h2, .guide-related h2 { color: #fafafa; font-size: clamp(27px, 4vw, 36px); line-height: 1.2; margin: 56px 0 20px; }
.guide-prose h3 { color: #fafafa; font-size: 23px; line-height: 1.3; margin: 36px 0 16px; }
.guide-prose p, .guide-prose ul, .guide-prose ol { margin: 0 0 24px; }
.guide-prose ul, .guide-prose ol { padding-left: 1.5em; }
.guide-prose blockquote { border-left: 3px solid #38bdf8; padding-left: 20px; margin: 32px 0; }
.guide-prose code { color: #bae6fd; }
.guide-table { overflow-x: auto; margin: 32px 0; }
.guide-table table, .guide-chart table { width: 100%; border-collapse: collapse; text-align: left; }
.guide-table th, .guide-table td, .guide-chart th, .guide-chart td { border: 1px solid #3f3f46; padding: 12px; vertical-align: top; }
.guide-table th, .guide-chart th { background: #27272a; color: #fafafa; }
.guide-figure { margin: 32px 0; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.guide-figure figcaption, .guide-chart figcaption { color: #a1a1aa; font-size: 14px; margin-top: 12px; }
.guide-prose .chart-series { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.chart-series li { min-width: 0; }
.chart-label { display: block; color: #fafafa; font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
.chart-measure { display: flex; align-items: center; gap: 8px; }
.chart-track { flex: 1; min-width: 0; }
.chart-series .bar { display: block; height: 20px; border-radius: 4px; background: #38bdf8; }
.chart-value { flex: 0 0 112px; color: #fafafa; font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-timeline .bar { height: 2px; border-radius: 0; position: relative; }
.chart-timeline .bar::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; }
.guide-chart .w-0{width:0%}.guide-chart .w-1{width:1%}.guide-chart .w-2{width:2%}.guide-chart .w-3{width:3%}.guide-chart .w-4{width:4%}.guide-chart .w-5{width:5%}.guide-chart .w-6{width:6%}.guide-chart .w-7{width:7%}.guide-chart .w-8{width:8%}.guide-chart .w-9{width:9%}.guide-chart .w-10{width:10%}
.guide-chart .w-11{width:11%}.guide-chart .w-12{width:12%}.guide-chart .w-13{width:13%}.guide-chart .w-14{width:14%}.guide-chart .w-15{width:15%}.guide-chart .w-16{width:16%}.guide-chart .w-17{width:17%}.guide-chart .w-18{width:18%}.guide-chart .w-19{width:19%}.guide-chart .w-20{width:20%}
.guide-chart .w-21{width:21%}.guide-chart .w-22{width:22%}.guide-chart .w-23{width:23%}.guide-chart .w-24{width:24%}.guide-chart .w-25{width:25%}.guide-chart .w-26{width:26%}.guide-chart .w-27{width:27%}.guide-chart .w-28{width:28%}.guide-chart .w-29{width:29%}.guide-chart .w-30{width:30%}
.guide-chart .w-31{width:31%}.guide-chart .w-32{width:32%}.guide-chart .w-33{width:33%}.guide-chart .w-34{width:34%}.guide-chart .w-35{width:35%}.guide-chart .w-36{width:36%}.guide-chart .w-37{width:37%}.guide-chart .w-38{width:38%}.guide-chart .w-39{width:39%}.guide-chart .w-40{width:40%}
.guide-chart .w-41{width:41%}.guide-chart .w-42{width:42%}.guide-chart .w-43{width:43%}.guide-chart .w-44{width:44%}.guide-chart .w-45{width:45%}.guide-chart .w-46{width:46%}.guide-chart .w-47{width:47%}.guide-chart .w-48{width:48%}.guide-chart .w-49{width:49%}.guide-chart .w-50{width:50%}
.guide-chart .w-51{width:51%}.guide-chart .w-52{width:52%}.guide-chart .w-53{width:53%}.guide-chart .w-54{width:54%}.guide-chart .w-55{width:55%}.guide-chart .w-56{width:56%}.guide-chart .w-57{width:57%}.guide-chart .w-58{width:58%}.guide-chart .w-59{width:59%}.guide-chart .w-60{width:60%}
.guide-chart .w-61{width:61%}.guide-chart .w-62{width:62%}.guide-chart .w-63{width:63%}.guide-chart .w-64{width:64%}.guide-chart .w-65{width:65%}.guide-chart .w-66{width:66%}.guide-chart .w-67{width:67%}.guide-chart .w-68{width:68%}.guide-chart .w-69{width:69%}.guide-chart .w-70{width:70%}
.guide-chart .w-71{width:71%}.guide-chart .w-72{width:72%}.guide-chart .w-73{width:73%}.guide-chart .w-74{width:74%}.guide-chart .w-75{width:75%}.guide-chart .w-76{width:76%}.guide-chart .w-77{width:77%}.guide-chart .w-78{width:78%}.guide-chart .w-79{width:79%}.guide-chart .w-80{width:80%}
.guide-chart .w-81{width:81%}.guide-chart .w-82{width:82%}.guide-chart .w-83{width:83%}.guide-chart .w-84{width:84%}.guide-chart .w-85{width:85%}.guide-chart .w-86{width:86%}.guide-chart .w-87{width:87%}.guide-chart .w-88{width:88%}.guide-chart .w-89{width:89%}.guide-chart .w-90{width:90%}
.guide-chart .w-91{width:91%}.guide-chart .w-92{width:92%}.guide-chart .w-93{width:93%}.guide-chart .w-94{width:94%}.guide-chart .w-95{width:95%}.guide-chart .w-96{width:96%}.guide-chart .w-97{width:97%}.guide-chart .w-98{width:98%}.guide-chart .w-99{width:99%}.guide-chart .w-100{width:100%}
.guide-chart details, .guide-faq details { margin-top: 16px; }
.guide-faq details { border-top: 1px solid #3f3f46; padding: 20px 0; }
.guide-faq summary, .guide-chart summary { cursor: pointer; color: #fafafa; font-weight: 600; }
.guide-faq p { color: #d4d4d8; margin-top: 16px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.guide-card { display: block; border: 1px solid #3f3f46; border-radius: 16px; padding: 24px; background: #18181b; }
.guide-topic { margin-top: 56px; }
.guide-topic > h2 { margin-bottom: 20px; font-size: 28px; }
.guide-card h3 { font-size: 22px; margin: 0 0 12px; }
.guide-card p { color: #a1a1aa; }
