/* getnameio.com — the NameIO design system's marketing site (Claude Design
 * artifact "NameIO", ROADMAP T6d). Tokens come from site-tokens.css, generated
 * from src/nameio/design/tokens.json by `pnpm nameio:tokens`. The page ships
 * no scripts and no inline styles (CSP style-src 'self'): every animation is
 * CSS. Load animations run once; scroll-driven ones use animation-timeline
 * where the browser has it and render their final state elsewhere. */
@import "/site-tokens.css";

@font-face {
  font-family: "Geist Variable";
  src: url("/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Variable";
  src: url("/fonts/geist-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--nio-ground);
  color: var(--nio-ink);
  font-family: var(--nio-font-sans);
  font-size: 17px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--nio-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--nio-accent);
  outline-offset: 2px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
}
h1 {
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -0.025em;
  max-width: 720px;
}
h3 {
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.02em;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--nio-walnut);
}
p {
  margin: 0;
}
.body-lg {
  font-size: 17px;
  line-height: 26px;
  color: var(--nio-ink-secondary);
  max-width: 560px;
}
.eyebrow,
.mono {
  font-family: var(--nio-font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nio-ink-secondary);
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 16px;
  height: 16px;
}

/* ---------- buttons, badges, status ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--nio-hairline-strong);
  border-radius: 999px;
  background: var(--nio-surface);
  color: var(--nio-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 80ms,
    border-color 80ms;
}
.btn:hover {
  background: var(--nio-lamplight);
  text-decoration: none;
}
.btn-primary {
  background: var(--nio-accent);
  border-color: var(--nio-accent);
  color: var(--nio-on-accent);
}
.btn-primary:hover {
  background: var(--nio-accent-hover);
  border-color: var(--nio-accent-hover);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
}
.btn-pending {
  background: var(--nio-surface-sunken);
  border-color: var(--nio-hairline);
  color: var(--nio-ink-secondary);
  cursor: default;
}
.btn-lg {
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
}
.btn-sm {
  height: 28px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
  align-self: flex-start;
}
.textlink {
  font-size: 15px;
  font-weight: 500;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--nio-surface-sunken);
  color: var(--nio-ink-secondary);
}
.badge-good {
  background: var(--nio-lawn-wash);
  color: var(--nio-lawn-ink);
}
.badge-critical {
  background: var(--nio-geranium-wash);
  color: var(--nio-geranium-ink);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nio-ink-muted);
}
.status-critical::before {
  background: var(--nio-geranium);
}
.status-falling::before {
  background: var(--nio-clay);
}
.status-attention::before {
  background: var(--nio-amber);
}

/* ---------- the frame: two mullions drawing down on load ---------- */
.frame {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--nio-mullion);
  transform-origin: 50% 0;
  animation: mullion 1.08s cubic-bezier(0.65, 0, 0.25, 1) forwards;
  pointer-events: none;
}
.frame::before {
  left: 0;
}
.frame::after {
  right: 0;
  animation-delay: 140ms;
}
.frame-plain::before,
.frame-plain::after {
  display: none;
}
@keyframes mullion {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 24px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 48px;
  padding: 0 8px 0 16px;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--nio-ink-secondary);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--nio-ink);
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nio-ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.wordmark-walnut {
  color: var(--nio-walnut);
}

/* ---------- the house motif ---------- */
.panels {
  display: block;
  overflow: visible;
}
.block-ink {
  fill: var(--nio-ink);
}
.block-glass {
  fill: var(--nio-accent-wash);
}
.block-accent {
  fill: var(--nio-accent);
}
.block-walnut {
  fill: var(--nio-walnut);
}
.block-hedge {
  fill: var(--nio-hedge);
}
.block-inverse {
  fill: var(--nio-ink-inverse);
}
.block-sunken {
  fill: var(--nio-surface-sunken);
}
.lv rect,
.louvers rect {
  fill: var(--nio-ink);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.panels-footer .lv rect {
  fill: var(--nio-ink-inverse);
}
.panel .block {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.panel:nth-child(2) .block {
  animation-delay: 70ms;
}
.panel:nth-child(3) .block {
  animation-delay: 140ms;
}
.panel:nth-child(4) .block {
  animation-delay: 210ms;
}
.panel:nth-child(5) .block {
  animation-delay: 280ms;
}
.panel:nth-child(6) .block {
  animation-delay: 350ms;
}
.panel .lv rect {
  transform: scaleY(0);
  animation: draw 220ms cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
/* Above the fold: the hero's panels are visible at first paint (REVIEW.md). */
.stage-panels .panel .block {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes draw {
  to {
    transform: scaleY(1);
  }
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.mark .louvers rect {
  transform: scaleY(0);
  animation: draw 220ms cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
.mark-hedge .louvers rect {
  fill: var(--nio-hedge);
}
.mark-hedge .eyebrow {
  color: var(--nio-hedge);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 48px;
}
.louver-field {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 948px);
  height: auto;
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 60% 100% at 50% 0%,
    #000 20%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 60% 100% at 50% 0%,
    #000 20%,
    transparent 100%
  );
}
.louver-field rect {
  fill: var(--nio-hairline-strong);
  transform: scaleY(0);
  animation: draw 320ms cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
.hero-center {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-center .eyebrow {
  margin-bottom: 16px;
}
.hero .lede {
  margin-top: 20px;
  max-width: 560px;
  color: var(--nio-ink-secondary);
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.proof {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.proof li {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 16px;
  border: 1px solid var(--nio-hairline-strong);
  border-radius: 6px;
  background: var(--nio-surface);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.proof-label {
  font-family: var(--nio-font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--nio-ink-secondary);
}
.stage {
  position: relative;
  max-width: 1040px;
  margin: 48px auto 0;
}
.stage-panels {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}
.window {
  position: relative;
  z-index: 1;
  width: 80%;
  margin: 72px auto 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--nio-ground);
  color: var(--nio-ink);
  box-shadow: var(--nio-shadow-overlay);
  color-scheme: dark;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--nio-hairline);
  font-size: 12px;
  color: var(--nio-ink-secondary);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nio-hairline-strong);
}

/* the live scan: 0.4s type · 2.0s answers · bars · score, once */
.scan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}
.scan-q {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--nio-hairline-strong);
  border-radius: 3px;
  background: var(--nio-surface);
  font-family: var(--nio-font-mono);
  font-size: 13px;
  color: var(--nio-ink);
}
.scan-q .icon {
  color: var(--nio-ink-muted);
}
.typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  border-right: 1px solid var(--nio-accent);
  animation:
    type 1.5s steps(52) 400ms forwards,
    caret 1s steps(2, start) 400ms 3;
}
@keyframes type {
  to {
    max-width: 100%;
  }
}
@keyframes caret {
  to {
    border-color: transparent;
  }
}
.scan-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scan-rows li {
  display: grid;
  grid-template-columns: 8px 92px 1fr auto;
  align-items: center;
  gap: 12px;
  height: 28px;
  font-size: 13px;
  line-height: 18px;
  color: var(--nio-ink-muted);
  animation: row-on 300ms forwards;
}
.scan-rows .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.35;
}
.scan-rows .s1 .dot {
  background: var(--nio-series-1);
}
.scan-rows .s2 .dot {
  background: var(--nio-series-2);
}
.scan-rows .s3 .dot {
  background: var(--nio-series-3);
}
.scan-rows .s4 .dot {
  background: var(--nio-series-4);
}
.scan-rows .engine {
  font-weight: 500;
}
.scan-rows .answer {
  color: var(--nio-ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
}
.scan-rows .badge {
  opacity: 0;
}
.scan-rows .s1 {
  animation-delay: 2.3s;
}
.scan-rows .s2 {
  animation-delay: 2.8s;
}
.scan-rows .s3 {
  animation-delay: 3.3s;
}
.scan-rows .s4 {
  animation-delay: 3.8s;
}
.scan-rows .answer,
.scan-rows .badge,
.scan-rows .dot {
  animation: show 300ms forwards;
  animation-delay: inherit;
}
@keyframes row-on {
  to {
    color: var(--nio-ink);
  }
}
@keyframes show {
  to {
    opacity: 1;
  }
}
.scan-result {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  animation: show 300ms 4.3s forwards;
}
.ring {
  position: relative;
  width: 120px;
  flex: none;
  text-align: center;
}
.ring svg {
  display: block;
  transform: rotate(-90deg);
}
.ring-track {
  fill: none;
  stroke: var(--nio-surface-sunken);
  stroke-width: 10;
}
.ring-arc {
  fill: none;
  stroke: var(--nio-accent);
  stroke-width: 10;
  stroke-dashoffset: 345.6;
  animation: ring 900ms cubic-bezier(0.65, 0, 0.25, 1) 4.9s forwards;
}
@keyframes ring {
  to {
    stroke-dashoffset: 152.1; /* 345.6 × (1 − 0.56) */
  }
}
.ring-num {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-num strong {
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ring-num small {
  font-size: 12px;
  color: var(--nio-ink-secondary);
}
.caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--nio-ink-secondary);
}
.scan-bars {
  flex: 1;
  min-width: 0;
}
.scan-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--nio-font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nio-ink-secondary);
}
.scan-bars ol,
.mock-bars ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scan-bars li,
.mock-bars li {
  display: grid;
  grid-template-columns: 92px 1fr 80px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 18px;
}
.scan-bars .track,
.mock-bars .track {
  position: relative;
  height: 16px;
}
.scan-bars .bar,
.mock-bars .bar {
  position: absolute;
  inset: 0;
  border-radius: 0 3px 3px 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  animation: grow 900ms cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
.scan-bars .bar {
  animation-delay: 4.6s;
}
.s1 .bar {
  --v: 0.7;
  background: var(--nio-series-1);
}
.s2 .bar {
  --v: 0.65;
  background: var(--nio-series-2);
}
.s3 .bar {
  --v: 0.5;
  background: var(--nio-series-3);
}
.s4 .bar {
  --v: 0.4;
  background: var(--nio-series-4);
}
.s2 .bar {
  animation-delay: 4.65s;
}
.s3 .bar {
  animation-delay: 4.7s;
}
.s4 .bar {
  animation-delay: 4.75s;
}
@keyframes grow {
  to {
    transform: scaleX(var(--v, 1));
  }
}
.scan-bars .value,
.mock-bars .value {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- sections ---------- */
section {
  border-top: 1px solid var(--nio-hairline);
  padding: 80px 0;
}
.hero {
  border-top: 0;
}
.readout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
}
.readout div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.readout dd {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.readout dt {
  font-family: var(--nio-font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nio-ink-secondary);
}

/* the questions: a tall section whose block sticks while the strip travels */
.questions {
  min-height: 150vh;
  padding: 0;
}
.questions-inner {
  position: sticky;
  top: 96px;
  padding: 64px 0;
}
.questions-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.strip {
  overflow-x: auto;
  padding: 8px 0;
}
.strip-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  width: max-content;
}
.strip-track li {
  width: 260px;
  flex: none;
  padding: 16px;
  background: var(--nio-surface);
  border: 1px solid var(--nio-hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.strip-track li.is-missed {
  background: var(--nio-surface-sunken);
}
.strip-cat {
  font-family: var(--nio-font-mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nio-ink-secondary);
}
.strip-q {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-height: 40px;
}
.strip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.strip-foot .mono {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

/* the problem */
.problem {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
}
.problem .body-lg {
  margin-top: 24px;
}
.problem-panels {
  justify-self: end;
  width: 320px;
  height: auto;
}

/* how it works: steps on the left, the sticky loop on the right */
.steps {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
}
.steps > *,
.problem > *,
.questions-head > * {
  min-width: 0;
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.step h3 {
  max-width: 480px;
}
.eyebrow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nio-hedge);
}
.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
}
.swatch-ink {
  background: var(--nio-ink);
}
.swatch-accent {
  background: var(--nio-accent);
}
.swatch-walnut {
  background: var(--nio-walnut);
}
.swatch-hedge {
  background: var(--nio-hedge);
}
.print {
  margin: 16px 0 0;
  background: var(--nio-matte);
  border: 1px solid var(--nio-hairline);
  padding: 12px 12px 32px;
}
.print-frame {
  position: relative;
  background: var(--nio-surface);
  border: 1px solid var(--nio-hairline);
  overflow: hidden;
}
.print-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nio-matte);
  pointer-events: none;
  opacity: 0;
}
.print figcaption {
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.steps-figure {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loop {
  position: relative;
  width: 440px;
  height: 320px;
}
.loop-dot {
  fill: var(--nio-hairline-strong);
}
.loop-dot-lit {
  fill: var(--nio-accent);
}
.loop-track {
  fill: none;
  stroke: url(#loop-dots);
  stroke-width: 28;
}
.loop-lit {
  fill: none;
  stroke: url(#loop-dots-lit);
  stroke-width: 28;
  stroke-dasharray: 1104;
  stroke-dashoffset: 0;
}
.loop-line {
  fill: none;
  stroke: var(--nio-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1104;
  stroke-dashoffset: 0;
  opacity: 0.5;
}
.loop-marker {
  offset-path: path(
    "M96 40H344A56 56 0 0 1 400 96V224A56 56 0 0 1 344 280H96A56 56 0 0 1 40 224V96A56 56 0 0 1 96 40Z"
  );
  offset-distance: 100%;
  offset-rotate: auto;
}
.marker-body {
  fill: var(--nio-ink);
  stroke: var(--nio-surface);
  stroke-width: 2;
}
.marker-core {
  fill: var(--nio-lamplight);
}
.station {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--nio-hairline-strong);
  background: var(--nio-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--nio-ink);
  white-space: nowrap;
}
.station .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nio-accent);
}
.st1 {
  left: 96px;
  top: 40px;
}
.st2 {
  left: 400px;
  top: 136px;
}
.st3 {
  left: 344px;
  top: 280px;
}
.st4 {
  left: 40px;
  top: 184px;
}

/* mock product panels inside the prints */
.mock {
  padding: 20px;
  font-size: 13px;
  line-height: 18px;
}
.mock-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-form label,
.mock-form > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.field-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--nio-ink-secondary);
}
.field {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--nio-hairline-strong);
  border-radius: 3px;
  background: var(--nio-surface);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--nio-hairline-strong);
  background: var(--nio-surface);
}
.chip-ghost {
  color: var(--nio-ink-secondary);
  border-style: dashed;
}
.mock-bars .bar {
  animation-delay: 200ms;
}
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mock-table th {
  text-align: left;
  padding: 0 12px;
  height: 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--nio-ink-secondary);
  border-bottom: 1px solid var(--nio-hairline-strong);
}
.mock-table td {
  padding: 0 12px;
  height: 44px;
  border-bottom: 1px solid var(--nio-hairline);
}
.mock-table tr:last-child td {
  border-bottom: 0;
}
.mock-code {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  background: var(--nio-surface-sunken);
  font-family: var(--nio-font-mono);
  font-size: 12px;
  line-height: 18px;
  white-space: pre-wrap;
  color: var(--nio-ink);
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--nio-surface);
  border: 1px solid var(--nio-hairline);
  border-radius: 10px;
  transition:
    box-shadow 140ms,
    transform 140ms;
}
.plan:hover {
  box-shadow: var(--nio-shadow-raised);
  transform: translateY(-2px);
}
.plan-featured {
  background: var(--nio-walnut-wash);
  border-color: var(--nio-walnut);
}
.plan-featured .eyebrow {
  color: var(--nio-walnut);
}
.plan h3 {
  font-size: 18px;
  line-height: 24px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price strong {
  font-size: 44px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.price span {
  color: var(--nio-ink-secondary);
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}
.plan li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.plan li .icon {
  color: var(--nio-ink-secondary);
  margin-top: 2px;
}
.plan .btn {
  align-self: flex-start;
}
.plan-note {
  font-size: 13px;
  line-height: 18px;
  color: var(--nio-ink-secondary);
}
.notdone h2 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.015em;
}
.notdone .body-lg {
  margin-top: 12px;
}

/* ---------- footer: the house at night ---------- */
.foot {
  position: relative;
  overflow: hidden;
  margin-top: 96px;
  padding: 64px 0 32px;
  background: var(--nio-ink);
  color: var(--nio-ink-inverse);
}
.foot-panels {
  position: absolute;
  right: -16px;
  top: -8px;
  width: 480px;
  height: auto;
  opacity: 0.92;
}
.foot-inner {
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 24px;
  padding-right: 460px;
}
.foot h4 {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.7;
}
.foot nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
}
.foot a {
  color: var(--nio-ink-inverse);
}
.foot-tagline {
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
  opacity: 0.7;
  max-width: 280px;
}
.foot-legal {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
  line-height: 18px;
  opacity: 0.7;
}

/* ---------- docs, legal and other pages ---------- */
.is-page main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.prose h1 {
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.prose h2 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}
.prose p,
.prose li {
  margin: 0 0 12px;
  color: var(--nio-ink);
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose code {
  font-family: var(--nio-font-mono);
  font-size: 14px;
  background: var(--nio-surface-sunken);
  padding: 1px 5px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.prose pre {
  display: block;
  overflow-x: auto;
  padding: 16px;
  background: var(--nio-surface-sunken);
  border-radius: 3px;
  font-size: 13px;
  line-height: 20px;
}
.prose pre code {
  background: none;
  padding: 0;
}
.prose table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px;
  border-bottom: 1px solid var(--nio-hairline);
}
.prose th {
  font-size: 12px;
  font-weight: 500;
  color: var(--nio-ink-secondary);
  border-bottom-color: var(--nio-hairline-strong);
}
.prose blockquote {
  margin: 16px 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--nio-hairline-strong);
  color: var(--nio-ink-secondary);
}
.license {
  white-space: pre-wrap;
  font-size: 13px;
}
.draft-banner {
  padding: 8px 16px;
  background: var(--nio-amber-wash);
  color: var(--nio-amber-ink);
  text-align: center;
  font-size: 14px;
}

/* ---------- scroll-driven motion, where the browser has it ---------- */
@supports (animation-timeline: view()) {
  /* the nav condenses into a floating pill after 64px of scroll */
  .nav-inner {
    animation: nav-float linear both;
    animation-timeline: scroll(root block);
    animation-range: 40px 160px;
  }
  @keyframes nav-float {
    to {
      max-width: 760px;
      background: var(--nio-glass);
      border-color: var(--nio-hairline);
      box-shadow: var(--nio-shadow-raised);
      backdrop-filter: blur(12px);
    }
  }
  /* the prompt strip travels with the scroll */
  .questions {
    view-timeline-name: --questions;
  }
  .strip {
    overflow: hidden;
  }
  .strip-track {
    animation: travel linear both;
    animation-timeline: --questions;
    animation-range: contain 0% contain 100%;
  }
  @keyframes travel {
    to {
      transform: translateX(-1100px);
    }
  }
  /* the problem's louvers open as the section scrolls in */
  .problem {
    view-timeline-name: --problem;
  }
  .problem-panels .lv rect {
    animation: open linear both;
    animation-timeline: --problem;
    animation-range: entry 30% entry 100%;
  }
  @keyframes open {
    from {
      transform: scaleY(0);
    }
    to {
      transform: scaleY(1);
    }
  }
  /* prints develop as they enter */
  .print-frame::after {
    opacity: 1;
    animation: develop linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 80%;
  }
  @keyframes develop {
    to {
      opacity: 0;
    }
  }
  /* the steps: the one in view reads at full ink */
  .step {
    animation: focus linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes focus {
    0% {
      opacity: 0.3;
    }
    35% {
      opacity: 1;
    }
    65% {
      opacity: 1;
    }
    100% {
      opacity: 0.3;
    }
  }
  /* the loop: dots light behind the marker as the steps pass */
  .steps {
    view-timeline-name: --steps;
  }
  .loop-lit,
  .loop-line {
    stroke-dashoffset: 1104;
    animation: lit linear both;
    animation-timeline: --steps;
    animation-range: contain 0% contain 100%;
  }
  @keyframes lit {
    to {
      stroke-dashoffset: 0;
    }
  }
  .loop-marker {
    offset-distance: 0%;
    animation: drive linear both;
    animation-timeline: --steps;
    animation-range: contain 0% contain 100%;
  }
  @keyframes drive {
    to {
      offset-distance: 100%;
    }
  }
  .station {
    color: var(--nio-ink-secondary);
    animation: linear both;
    animation-timeline: --steps;
    animation-range: contain 0% contain 100%;
  }
  .station .dot {
    background: var(--nio-hairline-strong);
  }
  .st1 {
    animation-name: st1;
  }
  .st2 {
    animation-name: st2;
  }
  .st3 {
    animation-name: st3;
  }
  .st4 {
    animation-name: st4;
  }
  @keyframes st1 {
    0%,
    24.9% {
      background: var(--nio-ink);
      border-color: var(--nio-ink);
      color: var(--nio-ink-inverse);
    }
    25%,
    100% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink);
    }
  }
  @keyframes st2 {
    0%,
    24.9% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink-secondary);
    }
    25%,
    49.9% {
      background: var(--nio-ink);
      border-color: var(--nio-ink);
      color: var(--nio-ink-inverse);
    }
    50%,
    100% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink);
    }
  }
  @keyframes st3 {
    0%,
    49.9% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink-secondary);
    }
    50%,
    74.9% {
      background: var(--nio-ink);
      border-color: var(--nio-ink);
      color: var(--nio-ink-inverse);
    }
    75%,
    100% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink);
    }
  }
  @keyframes st4 {
    0%,
    74.9% {
      background: var(--nio-surface);
      border-color: var(--nio-hairline-strong);
      color: var(--nio-ink-secondary);
    }
    75%,
    99.9% {
      background: var(--nio-ink);
      border-color: var(--nio-ink);
      color: var(--nio-ink-inverse);
    }
  }
  /* the footer's panels rise as it enters */
  .foot-panels .block {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .loop {
    zoom: 0.78;
  }
  .foot-panels {
    display: none;
  }
  .foot-grid {
    padding-right: 0;
  }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  h1 {
    font-size: 40px;
    line-height: 44px;
  }
  h2 {
    font-size: 32px;
    line-height: 38px;
  }
  h3 {
    font-size: 26px;
    line-height: 32px;
  }
  .nav-links {
    display: none;
  }
  .frame {
    padding: 0 16px;
  }
  section {
    padding: 48px 0;
  }
  .window {
    width: 100%;
    margin-top: 48px;
  }
  .stage-panels {
    width: 140%;
    left: -20%;
  }
  .scan-rows li {
    grid-template-columns: 8px 84px 1fr;
  }
  .scan-rows .badge {
    display: none;
  }
  .scan-result {
    flex-direction: column;
    align-items: center;
  }
  .questions {
    min-height: 0;
  }
  .questions-inner {
    position: static;
    padding: 48px 0;
  }
  .questions-head,
  .problem,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }
  .problem-panels {
    width: 100%;
    max-width: 320px;
    justify-self: start;
  }
  .strip {
    overflow-x: auto;
  }
  .step {
    min-height: 0;
    padding: 32px 0;
  }
  .steps-figure {
    position: static;
    align-items: flex-start;
  }
  .loop {
    zoom: 0.72;
  }
  .foot-panels {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    padding-right: 0;
  }
}

/* ---------- reduced motion: everything renders final ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .frame::before,
  .frame::after,
  .louver-field rect,
  .panel .lv rect,
  .mark .louvers rect {
    transform: none;
  }
  .panel .block {
    opacity: 1;
    transform: none;
  }
  .typed {
    max-width: 100%;
    border-right: 0;
  }
  .scan-rows li {
    color: var(--nio-ink);
  }
  .scan-rows .answer,
  .scan-rows .badge,
  .scan-rows .dot,
  .scan-result {
    opacity: 1;
  }
  .ring-arc {
    stroke-dashoffset: 152.1;
  }
  .scan-bars .bar,
  .mock-bars .bar {
    transform: scaleX(var(--v, 1));
  }
  .print-frame::after {
    opacity: 0;
  }
  .step {
    opacity: 1;
  }
  .strip {
    overflow-x: auto;
  }
  .strip-track {
    transform: none;
  }
}

/* ---------- generated stagger rules (no inline styles under the CSP) ---------- */
.louver-field rect:nth-child(1) {
  animation-delay: 12ms;
}
.louver-field rect:nth-child(2) {
  animation-delay: 24ms;
}
.louver-field rect:nth-child(3) {
  animation-delay: 36ms;
}
.louver-field rect:nth-child(4) {
  animation-delay: 48ms;
}
.louver-field rect:nth-child(5) {
  animation-delay: 60ms;
}
.louver-field rect:nth-child(6) {
  animation-delay: 72ms;
}
.louver-field rect:nth-child(7) {
  animation-delay: 84ms;
}
.louver-field rect:nth-child(8) {
  animation-delay: 96ms;
}
.louver-field rect:nth-child(9) {
  animation-delay: 108ms;
}
.louver-field rect:nth-child(10) {
  animation-delay: 120ms;
}
.louver-field rect:nth-child(11) {
  animation-delay: 132ms;
}
.louver-field rect:nth-child(12) {
  animation-delay: 144ms;
}
.louver-field rect:nth-child(13) {
  animation-delay: 156ms;
}
.louver-field rect:nth-child(14) {
  animation-delay: 168ms;
}
.louver-field rect:nth-child(15) {
  animation-delay: 180ms;
}
.louver-field rect:nth-child(16) {
  animation-delay: 192ms;
}
.louver-field rect:nth-child(17) {
  animation-delay: 204ms;
}
.louver-field rect:nth-child(18) {
  animation-delay: 216ms;
}
.louver-field rect:nth-child(19) {
  animation-delay: 228ms;
}
.louver-field rect:nth-child(20) {
  animation-delay: 240ms;
}
.louver-field rect:nth-child(21) {
  animation-delay: 252ms;
}
.louver-field rect:nth-child(22) {
  animation-delay: 264ms;
}
.louver-field rect:nth-child(23) {
  animation-delay: 276ms;
}
.louver-field rect:nth-child(24) {
  animation-delay: 288ms;
}
.louver-field rect:nth-child(25) {
  animation-delay: 300ms;
}
.louver-field rect:nth-child(26) {
  animation-delay: 312ms;
}
.louver-field rect:nth-child(27) {
  animation-delay: 324ms;
}
.louver-field rect:nth-child(28) {
  animation-delay: 336ms;
}
.louver-field rect:nth-child(29) {
  animation-delay: 348ms;
}
.louver-field rect:nth-child(30) {
  animation-delay: 360ms;
}
.louver-field rect:nth-child(31) {
  animation-delay: 372ms;
}
.louver-field rect:nth-child(32) {
  animation-delay: 384ms;
}
.louver-field rect:nth-child(33) {
  animation-delay: 396ms;
}
.louver-field rect:nth-child(34) {
  animation-delay: 408ms;
}
.louver-field rect:nth-child(35) {
  animation-delay: 420ms;
}
.louver-field rect:nth-child(36) {
  animation-delay: 432ms;
}
.louver-field rect:nth-child(37) {
  animation-delay: 444ms;
}
.louver-field rect:nth-child(38) {
  animation-delay: 456ms;
}
.louver-field rect:nth-child(39) {
  animation-delay: 468ms;
}
.louver-field rect:nth-child(40) {
  animation-delay: 480ms;
}
.louver-field rect:nth-child(41) {
  animation-delay: 492ms;
}
.louver-field rect:nth-child(42) {
  animation-delay: 504ms;
}
.louver-field rect:nth-child(43) {
  animation-delay: 516ms;
}
.louver-field rect:nth-child(44) {
  animation-delay: 528ms;
}
.louver-field rect:nth-child(45) {
  animation-delay: 540ms;
}
.louver-field rect:nth-child(46) {
  animation-delay: 552ms;
}
.louver-field rect:nth-child(47) {
  animation-delay: 564ms;
}
.louver-field rect:nth-child(48) {
  animation-delay: 576ms;
}
.louver-field rect:nth-child(49) {
  animation-delay: 588ms;
}
.louver-field rect:nth-child(50) {
  animation-delay: 600ms;
}
.louver-field rect:nth-child(51) {
  animation-delay: 612ms;
}
.louver-field rect:nth-child(52) {
  animation-delay: 624ms;
}
.louver-field rect:nth-child(53) {
  animation-delay: 636ms;
}
.louver-field rect:nth-child(54) {
  animation-delay: 648ms;
}
.louver-field rect:nth-child(55) {
  animation-delay: 660ms;
}
.louver-field rect:nth-child(56) {
  animation-delay: 672ms;
}
.louver-field rect:nth-child(57) {
  animation-delay: 684ms;
}
.louver-field rect:nth-child(58) {
  animation-delay: 696ms;
}
.louver-field rect:nth-child(59) {
  animation-delay: 708ms;
}
.louver-field rect:nth-child(60) {
  animation-delay: 720ms;
}
.panel .lv rect:nth-child(1) {
  animation-delay: 432ms;
}
.panel .lv rect:nth-child(2) {
  animation-delay: 464ms;
}
.panel .lv rect:nth-child(3) {
  animation-delay: 496ms;
}
.panel .lv rect:nth-child(4) {
  animation-delay: 528ms;
}
.panel .lv rect:nth-child(5) {
  animation-delay: 560ms;
}
.panel .lv rect:nth-child(6) {
  animation-delay: 592ms;
}
.panel .lv rect:nth-child(7) {
  animation-delay: 624ms;
}
.panel .lv rect:nth-child(8) {
  animation-delay: 656ms;
}
.panel .lv rect:nth-child(9) {
  animation-delay: 688ms;
}
.panel .lv rect:nth-child(10) {
  animation-delay: 720ms;
}
.panel .lv rect:nth-child(11) {
  animation-delay: 752ms;
}
.panel .lv rect:nth-child(12) {
  animation-delay: 784ms;
}
.panel .lv rect:nth-child(13) {
  animation-delay: 816ms;
}
.panel .lv rect:nth-child(14) {
  animation-delay: 848ms;
}
.panel .lv rect:nth-child(15) {
  animation-delay: 880ms;
}
.panel .lv rect:nth-child(16) {
  animation-delay: 912ms;
}
.mark .louvers rect:nth-child(1) {
  animation-delay: 30ms;
}
.mark .louvers rect:nth-child(2) {
  animation-delay: 60ms;
}
.mark .louvers rect:nth-child(3) {
  animation-delay: 90ms;
}
.mark .louvers rect:nth-child(4) {
  animation-delay: 120ms;
}
.mark .louvers rect:nth-child(5) {
  animation-delay: 150ms;
}
.mark .louvers rect:nth-child(6) {
  animation-delay: 180ms;
}
.mark .louvers rect:nth-child(7) {
  animation-delay: 210ms;
}
@supports (animation-timeline: view()) {
  .problem-panels .lv rect:nth-child(1) {
    animation-range: entry 33% entry 73%;
  }
  .problem-panels .lv rect:nth-child(2) {
    animation-range: entry 36% entry 76%;
  }
  .problem-panels .lv rect:nth-child(3) {
    animation-range: entry 39% entry 79%;
  }
  .problem-panels .lv rect:nth-child(4) {
    animation-range: entry 42% entry 82%;
  }
  .problem-panels .lv rect:nth-child(5) {
    animation-range: entry 45% entry 85%;
  }
  .problem-panels .lv rect:nth-child(6) {
    animation-range: entry 48% entry 88%;
  }
  .problem-panels .lv rect:nth-child(7) {
    animation-range: entry 51% entry 91%;
  }
  .problem-panels .lv rect:nth-child(8) {
    animation-range: entry 54% entry 94%;
  }
  .problem-panels .lv rect:nth-child(9) {
    animation-range: entry 57% entry 97%;
  }
  .problem-panels .lv rect:nth-child(10) {
    animation-range: entry 60% entry 100%;
  }
  .problem-panels .lv rect:nth-child(11) {
    animation-range: entry 63% entry 103%;
  }
}
