@font-face {
  font-family: "Clarity City";
  src: url("/landing-page/assets/fonts/clarity-city.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("/landing-page/assets/fonts/chivo-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  /* The application's own palette */
  color-scheme: dark;
  --bg: #06181d;
  --surface: #0a252b;
  --surface-2: #0f363d;
  --ink: #e9f4f3;
  --ink-2: #a9c0be;
  --ink-3: #839f9d;
  --line: rgba(128, 206, 200, .17);
  --shadow: #000;
  --accent: #7fe0d8;
  --accent-hover: #a5ebe5;
  --on-accent: #041719;
  --danger: #ed7f78;
  --app: #0a252b;
  --app-line: rgba(169, 221, 215, .14);
  --app-text: #e9f4f3;
  --app-muted: #8fb0ad;
  --amber: #e7bd67;
  --font-text: "Clarity City", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Chivo Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gap: 168px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 10% -10%, rgba(21, 132, 143, .28), transparent 36rem), linear-gradient(180deg, #071a20 0%, #041216 100%); font: 400 17px/1.55 var(--font-text); font-synthesis: none; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 60; padding: 10px 16px; border-radius: 999px; color: var(--bg); background: var(--ink); }
.skip-link:focus { top: 12px; }

/* Type */
h1 { max-width: 12em; font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
h2 > span { color: var(--accent); }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }

/* Controls */
.button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; color: var(--on-accent); background: var(--accent); font: 600 15px/1 var(--font-text); white-space: nowrap; cursor: pointer; transition: background-color .2s; }
.button:hover { background: var(--accent-hover); }
.button-quiet { color: var(--ink); background: var(--surface-2); }
.button-quiet:hover { background: color-mix(in oklab, var(--ink) 14%, var(--bg)); }
.text-link { display: inline-block; padding-block: 8px; color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: underline 1px color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: currentColor; }

/* Header: a row on the hero that gathers into a capsule once you scroll */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: center; padding: 14px 24px; pointer-events: none; transition: padding .35s var(--ease); }
.header-inner { display: grid; flex: 1; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1240px; height: 60px; padding: 0 10px 0 20px; border-radius: 100px; pointer-events: auto; transition: max-width .45s var(--ease), background-color .25s, box-shadow .25s; }
.site-header.stuck { padding-top: 16px; }
.site-header.stuck .header-inner { max-width: 1000px; background: color-mix(in srgb, var(--surface-2) 90%, transparent); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -14px color-mix(in srgb, var(--shadow) 60%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a, .sign-in { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.site-nav a:hover, .sign-in:hover { color: var(--ink); }
.sign-in { padding-block: 10px; }
.site-nav .nav-demo { display: none; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 18px; }
.header-demo { height: 40px; padding-inline: 16px; font-size: 14px; }
.menu-button { display: none; }

/* Hero */
.hero { position: relative; padding-top: 176px; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-label { padding: 6px 12px; border-radius: 999px; color: var(--ink-2); background: var(--surface); font: 500 13px/1.4 var(--font-mono); }
.hero h1 { margin-top: 24px; }
.hero-lead { max-width: 590px; margin-top: 24px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-note { margin-top: 16px; color: var(--ink-2); font-size: 14px; }
/* App status chips (tinted fill, saturated edge) placed in the hero margins */
.hero-chips { position: absolute; inset: 0; width: min(1440px, 100%); margin-inline: auto; pointer-events: none; }
.chip { position: absolute; display: grid; place-items: center; width: 68px; height: 58px; padding-left: 7px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--c) 12%, var(--bg)); --size: 30px; }
.chip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--c); }
.chip::after, .seal::after { content: ""; width: var(--size); height: var(--size); background: var(--c, var(--ink)); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.chip-thermometer { --c: #e7bd67; --icon: url("/landing-page/assets/icons/thermometer.svg"); top: 218px; left: 7%; }
.chip-calendar { --c: #7fe0d8; --icon: url("/landing-page/assets/icons/calendar-range.svg"); top: 404px; left: 15.5%; }
.chip-sliders { --c: #8fb4f5; --icon: url("/landing-page/assets/icons/sliders-horizontal.svg"); top: 556px; left: 5%; }
.chip-bell { --c: #ed7f78; --icon: url("/landing-page/assets/icons/bell-ring.svg"); top: 250px; right: 6%; }
.chip-dosing { --c: #b9a0f2; --icon: url("/landing-page/assets/icons/plug-zap.svg"); top: 446px; right: 15%; }
.chip-board { --c: #83e5bd; --icon: url("/landing-page/assets/icons/microchip.svg"); top: 590px; right: 7.5%; }
.seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; margin-block: 72px 0; padding: 0; list-style: none; }
.seals li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15px; }
.seal { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); --size: 19px; }
.seal-calendar { --icon: url("/landing-page/assets/icons/calendar-range.svg"); }
.seal-workflow { --icon: url("/landing-page/assets/icons/workflow.svg"); }
.seal-thermometer { --icon: url("/landing-page/assets/icons/thermometer.svg"); }
.seal-bell { --icon: url("/landing-page/assets/icons/bell-ring.svg"); }
.seal-sliders { --icon: url("/landing-page/assets/icons/sliders-horizontal.svg"); }
.seal-fish { --icon: url("/landing-page/assets/icons/fish.svg"); }
.seal-droplet { --icon: url("/landing-page/assets/icons/droplet.svg"); }
.seal-flask { --icon: url("/landing-page/assets/icons/flask-conical.svg"); }
.seal-chart { --icon: url("/landing-page/assets/icons/chart-no-axes-combined.svg"); }
.seal-clipboard { --icon: url("/landing-page/assets/icons/clipboard-check.svg"); }
.seal-chip { --icon: url("/landing-page/assets/icons/microchip.svg"); }
.seal-usb { --icon: url("/landing-page/assets/icons/usb.svg"); }

/* Product captures sit in the app's own dark frame */
.app-window { display: block; padding: 6px; border-radius: 16px; background: #0c2328; box-shadow: 0 0 0 1px var(--line), 0 32px 64px -32px color-mix(in srgb, var(--shadow) 70%, transparent); }
.app-window img { width: 100%; border-radius: 10px; }
.app-window > a { display: block; border-radius: 10px; }
.shot-caption { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.shot-caption a { display: inline-block; margin-left: 6px; padding-block: 8px; color: var(--accent); font-weight: 600; text-decoration: underline 1px; text-underline-offset: 3px; white-space: nowrap; }

/* Overview: the window opens to its full size as it scrolls into view */
.open-track { margin-top: 96px; }
.open-window { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.open-caption { width: min(1040px, calc(100% - 80px)); }
.overview-copy { margin-top: 96px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.split-heading > p { max-width: 470px; color: var(--ink-2); }
.stack-heading > p { max-width: 560px; margin-top: 16px; color: var(--ink-2); }
.overview-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.overview-benefits p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (prefers-reduced-motion: no-preference) and (width > 900px) {
  @supports (animation-timeline: view()) {
    /* The layout box is the opened size (the capture's natural width at most), so the frame never overflows. */
    .open-track { view-timeline: --open block; }
    .open-window, .open-caption { width: min(1280px, 100vw - 48px); }
    .open-window { transform-origin: 50% 0; animation: open-window linear both; animation-timeline: --open; animation-range: entry 0% contain 60%; }
  }
}
@keyframes open-window { from { transform: scale(.7); } }

.section { margin-top: var(--gap); }

/* Comparison */
.compare-table { width: 100%; margin-top: 56px; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.compare-table thead th { padding: 18px 20px 14px; text-align: left; font-size: 16px; font-weight: 600; }
.compare-table thead td { width: 15%; }
.compare-table tbody th { padding: 18px 20px 18px 16px; border-top: 1px solid var(--line); color: var(--ink-2); text-align: left; vertical-align: top; font-size: 14px; font-weight: 500; border-radius: 14px 0 0 14px; transition: background-color .2s; }
.compare-table td { padding: 18px 20px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; transition: background-color .2s; }
.compare-table .ours { color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.compare-table th.ours { color: var(--accent); border-radius: 14px 14px 0 0; }
.compare-table tr:last-child td.ours { border-radius: 0 0 14px 14px; }
.compare-table tbody tr:hover :is(th, td) { background: var(--surface); }
.compare-table tbody tr:hover td.ours { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.compare-summary td { color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }

/* Schedules and rules: the capture holds while the text beside it changes */
.swap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); gap: 112px 64px; align-items: start; }
.swap-text[data-step="0"] { grid-area: 1 / 1; }
.swap-shot[data-step="0"] { grid-area: 1 / 2; }
.swap-text[data-step="1"] { grid-area: 2 / 1; }
.swap-shot[data-step="1"] { grid-area: 2 / 2; }
.swap-text > p { margin-top: 16px; color: var(--ink-2); }
.swap-text > .text-link { margin-top: 24px; }
.tick-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; }
.tick-list li { position: relative; padding-left: 26px; }
.tick-list li::before { content: ""; position: absolute; top: .42em; left: 2px; width: 11px; height: 6px; border-bottom: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); transform: rotate(-45deg); }
@media (width > 900px) {
  .js .swap { row-gap: 0; }
  .js .swap-text { display: flex; flex-direction: column; justify-content: center; min-height: 82vh; opacity: .38; transition: opacity .45s var(--ease); }
  .js .swap-text.on { opacity: 1; }
  .js .swap-shot { position: sticky; top: max(112px, calc(50vh - 240px)); grid-row: 1 / span 2; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
  .js .swap-shot.on { opacity: 1; pointer-events: auto; transform: none; }
}

/* Features: cards like the app's panels, each led by the hero's icon badge */
.trays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tray { padding: 24px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -28px color-mix(in srgb, var(--shadow) 60%, transparent); }
.tray .seal { margin-bottom: 18px; }
.tray > p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* What you provide */
.interlude { max-width: 840px; text-align: center; }
.interlude p { color: var(--ink-2); font-size: clamp(22px, 2.4vw, 29px); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.interlude b { color: var(--ink); font-weight: 500; }
.interlude .text-link { margin-top: 24px; }

/* Setup steps on one rail */
.steps > h2 { max-width: 16em; margin-inline: auto; text-align: center; }
/* Dots sit at the start of each column; the line runs from the first dot to the last */
.rail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 64px 0 0; padding: 0; list-style: none; }
.rail::before, .rail::after { content: ""; position: absolute; top: 8px; left: 8px; right: calc((100% - 96px) / 3 - 8px); height: 1px; background: var(--line); }
.rail::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.rail-dot { position: relative; z-index: 1; display: block; width: 17px; height: 17px; margin-bottom: 22px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink-3); transition: background-color .3s, box-shadow .3s; }
.rail-index { color: var(--ink-2); font: 500 12px/1 var(--font-mono); }
.rail h3 { margin-top: 10px; }
.rail p { max-width: 36ch; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.rail.lit::after { transform: none; }
.rail.lit .rail-dot { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 5px var(--bg); }
.rail.lit li:nth-child(2) .rail-dot { transition-delay: .6s; }
.rail.lit li:nth-child(3) .rail-dot { transition-delay: 1.2s; }

/* Connection loss: a board drops and its outputs follow their plans */
.resilience { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
.resilience .boards { order: -1; }
.resilience-copy > p { margin-top: 16px; color: var(--ink-2); }
.resilience-copy .text-link { margin-top: 20px; }
.boards { display: grid; gap: 10px; padding: 14px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); color: var(--app-text); background: var(--app); font: 400 12px/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.board { padding: 14px; border: 1px solid var(--app-line); border-radius: 12px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.board-head b { font: 600 14px/1.3 var(--font-text); }
.board-state { padding: 4px 9px; border-radius: 999px; color: #8fe3b2; background: rgba(79, 214, 142, .12); white-space: nowrap; }
.outputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.output { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: rgba(169, 221, 215, .06); box-shadow: inset 0 0 0 1px var(--app-line); transition: box-shadow .3s; }
.output b { font: 500 13px/1.3 var(--font-text); }
.output span { color: var(--app-text); font-size: 20px; line-height: 1.3; transition: opacity .3s; }
.output small { color: var(--app-muted); font-size: 11px; }
/* Room for the longer connection-loss texts, so the boards keep their height when one drops */
.output small[data-offline] { min-height: 2lh; }
.board-drop .board-state { color: var(--amber); background: rgba(240, 182, 90, .12); }
.board-drop .output { box-shadow: inset 0 0 0 1.5px rgba(240, 182, 90, .55); }
.board-drop .output small { color: var(--amber); }
.board-drop[data-state="online"] .board-state { color: #8fe3b2; background: rgba(79, 214, 142, .12); }
.board-drop[data-state="online"] .output { box-shadow: inset 0 0 0 1px var(--app-line); }
.board-drop[data-state="online"] .output small, .board-drop[data-state="waiting"] .output small { color: var(--app-muted); }
.board-drop[data-state="waiting"] .output { box-shadow: inset 0 0 0 1px var(--app-line); }
.board-drop[data-state="waiting"] .output span { opacity: .45; }
.boards-note { min-height: calc(2lh + 6px); padding: 4px 6px 2px; color: var(--app-muted); }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 64px; }
.faq-list details { border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; margin-inline: -16px; padding: 20px 56px 20px 16px; border-radius: 10px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; transition: background-color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--surface); }
.faq-list summary::after { content: ""; position: absolute; top: 50%; right: 20px; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 14px no-repeat; transition: background-size .25s var(--ease); }
.faq-list details[open] summary::after { background-size: 14px 1.5px, 1.5px 0; }
.faq-list details p { max-width: 38em; padding-bottom: 24px; color: var(--ink-2); font-size: 16px; }
.faq-list p a { color: var(--accent); text-decoration: underline 1px; text-underline-offset: 3px; }

/* Interest */
.interest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
.interest > div { position: sticky; top: 120px; }
.interest > div > p { max-width: 420px; margin-top: 16px; color: var(--ink-2); }
#interest-form { display: grid; gap: 12px; padding: 32px; border-radius: 18px; background: var(--surface); }
#interest-form label { font-size: 14px; font-weight: 600; }
#interest-form label > span { color: var(--ink-2); font-weight: 400; }
#interest-form input:not([type="checkbox"]), #interest-form textarea { width: 100%; margin-bottom: 6px; padding: 12px 14px; border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); border-radius: 10px; color: var(--ink); background: var(--bg); font: inherit; font-size: 16px; transition: border-color .2s; }
#interest-form input:not([type="checkbox"]):focus-visible, #interest-form textarea:focus-visible { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent); outline-offset: 0; }
#interest-form textarea { min-height: 112px; resize: vertical; }
#interest-form .interest-check { display: flex; align-items: flex-start; gap: 10px; padding-block: 5px; font-size: 15px; font-weight: 400; }
.interest-check input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.interest-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#interest-error { color: var(--danger); font-size: 14px; }
#interest-status { color: var(--accent); font-size: 14px; }
#interest-form .button { justify-self: start; margin-top: 4px; }
#interest-form .button:disabled { opacity: .6; cursor: wait; }

/* Closing: rings radiate from the demo button */
.closing { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 36px; margin-top: var(--gap); padding: 88px 48px 96px; border-radius: 24px; overflow: hidden; background: var(--surface); text-align: center; }
.closing::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5; background: repeating-radial-gradient(circle at 50% 78%, transparent 0 53px, var(--accent) 54px, transparent 55px); -webkit-mask-image: linear-gradient(transparent 30%, #000 85%); mask-image: linear-gradient(transparent 30%, #000 85%); }
.closing h2 { max-width: 15em; margin-inline: auto; }
.closing p { max-width: 520px; margin: 16px auto 0; color: var(--ink-2); }
.closing-actions { display: grid; justify-items: center; gap: 14px; }
.closing-actions .button { height: 48px; padding-inline: 26px; font-size: 16px; }
.closing-actions > a:last-child { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); background: var(--surface); font-size: 14px; }
.closing-actions > a:last-child b { color: var(--ink); font-weight: 600; }
.closing-actions > a:last-child:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Footer: one inset card */
.site-footer { padding: 120px 16px 16px; }
.footer-card { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 48px; min-height: 340px; padding: 40px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(2, auto); grid-column: 2; gap: 0 80px; font-size: 15px; }
.footer-cols b { display: block; margin-bottom: 10px; font-weight: 500; }
.footer-cols a { display: block; color: var(--ink-2); line-height: 32px; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-brand { grid-area: 2 / 1; align-self: end; font-size: 22px; }
.footer-line { grid-area: 2 / 2; align-self: end; justify-self: end; color: var(--ink-2); font-size: 14px; }

/* Local preview route message (serve.mjs) */
.preview-message { padding-block: 120px; }
.preview-message h1 { margin-top: 20px; font-size: 44px; }
.preview-message p { margin-block: 24px; color: var(--ink-2); }

/* First screen: the headline leads, the rest settles in after it */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .seals, .chip { animation: settle .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5), .seals { animation-delay: .32s; }
  .chip { animation-duration: 1s; animation-delay: calc(.45s + var(--i, 0) * .08s); }
  .chip-calendar { --i: 1; } .chip-sliders { --i: 2; } .chip-bell { --i: 3; } .chip-dosing { --i: 4; } .chip-board { --i: 5; }
}
@keyframes settle { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1180px) {
  .hero-chips { display: none; }
}
@media (max-width: 900px) {
  :root { --gap: 128px; }
  .shell { width: calc(100% - 48px); }
  .site-header { padding-inline: 12px; }
  .header-inner { grid-template-columns: 1fr auto; padding-left: 16px; }
  .site-nav { display: none; }
  .site-nav.open { position: fixed; top: 82px; right: 12px; left: 12px; display: grid; gap: 0; padding: 16px 20px 8px; border-radius: 20px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px color-mix(in srgb, var(--shadow) 60%, transparent); }
  .site-nav.open a { padding-block: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 17px; }
  .site-nav.open .nav-demo { display: flex; height: 48px; margin-bottom: 8px; border-top: 0; color: var(--on-accent); font-size: 16px; }
  .menu-button { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--surface-2); cursor: pointer; }
  .menu-button span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { padding-top: 144px; }
  .seals { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 16px 48px; }
  .open-window, .open-caption { width: calc(100% - 48px); }
  .split-heading { grid-template-columns: 1fr; }
  .overview-benefits { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .swap { grid-template-columns: 1fr; gap: 32px; }
  .swap-text[data-step="0"], .swap-shot[data-step="0"], .swap-text[data-step="1"], .swap-shot[data-step="1"] { grid-area: auto; }
  .swap-text[data-step="1"] { margin-top: 64px; }
  .trays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resilience, .faq, .interest { grid-template-columns: 1fr; gap: 40px; }
  .interest > div { position: static; }
  .closing { padding: 64px 32px 72px; }
  .resilience .boards { order: 0; }
}
@media (max-width: 700px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { margin-top: 28px; }
  .compare-table tbody th { padding: 0 0 8px; border: 0; }
  .compare-table td { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .compare-table td::before { content: attr(data-label); color: var(--ink-2); font: 500 12px/1.6 var(--font-mono); }
  .compare-table td.ours, .compare-table tr:last-child td.ours { padding-inline: 12px; border-top: 0; border-radius: 10px; }
  .compare-table td.ours::before { color: var(--accent); }
  .compare-summary td { font-size: 17px; }
  .rail { grid-template-columns: 1fr; gap: 36px; }
  .rail::before, .rail::after { top: 8px; bottom: 8px; left: 8px; right: auto; width: 1px; height: auto; }
  .rail::after { transform: scaleY(0); transform-origin: top; }
  .rail li { position: relative; padding-left: 44px; }
  .rail-dot { position: absolute; top: 0; left: 0; margin: 0; }
  .rail h3 { margin-top: 6px; }
  .outputs { grid-template-columns: 1fr; }
  .output { grid-template-columns: 1fr auto; align-items: baseline; }
  .output small { grid-column: 1 / -1; }
  .output small[data-offline] { min-height: 0; }
}
@media (max-width: 600px) {
  :root { --gap: 104px; }
  body { font-size: 16px; }
  .shell, .open-window, .open-caption { width: calc(100% - 32px); }
  .header-demo { display: none; }
  .hero { padding-top: 128px; }
  .hero h1 { letter-spacing: -.04em; }
  .hero-lead { font-size: 17px; }
  .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 56px; }
  .seals li { font-size: 14px; }
  .trays { grid-template-columns: 1fr; }
  #interest-form { padding: 20px; }
  .closing { padding: 48px 20px 56px; }
  .site-footer { padding: 96px 12px 12px; }
  .footer-card { grid-template-columns: 1fr; grid-template-rows: auto; gap: 40px; min-height: 0; padding: 28px 24px; }
  .footer-cols, .footer-brand, .footer-line { grid-area: auto; justify-self: start; }
  .footer-cols { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
