/* AIMRIS — variant A "Site journal". White Swiss page, one yellow accent. */
:root {
  --ink: #14151a;
  --paper: #ffffff;
  --band: #f5f5f4;
  --chip: #ececea;
  --line: #e3e3e1;
  --line-2: #cfcecb;
  --muted: #484c52;
  --muted-2: #6e7077;
  --yellow: #f5a800;
  --yellow-hot: #ffb733;
  --yellow-tint: rgba(245, 168, 0, 0.16);
  --gold: #8a5a00;
  --alert: #ba3327;
  --alert-tint: rgba(186, 51, 39, 0.1);
  --ok: #16764a;
  --ok-tint: rgba(22, 118, 74, 0.1);

  --display: 'Archivo', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --sec: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--muted);
  font: 400 17px/1.6 var(--display);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
html { scrollbar-color: var(--line-2) var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--paper); border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--yellow); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.muted { color: var(--muted-2); }
.note { font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* ---------- type */
.display {
  font: 800 clamp(44px, 6.6vw, 96px)/0.94 var(--display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font: 800 clamp(34px, 4.6vw, 64px)/0.98 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
h3 { font: 700 20px/1.25 var(--display); letter-spacing: -0.005em; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--muted); max-width: 60ch; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 700 15.5px/1 var(--display); letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:not(:disabled):hover { background: var(--yellow-hot); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:not(:disabled):hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2c33; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.top__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo img { width: 104px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 600 15px/1 var(--display); color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.top__cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; margin-left: auto; }
.menu i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease); }
.menu i:first-of-type { top: 17px; } .menu i:last-of-type { top: 25px; }
.menu[aria-expanded='true'] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded='true'] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: var(--sec); }
.hero__head { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.hero .display { font-size: clamp(42px, 7.1vw, 96px); }
.hero .display .l { display: block; }
.hero__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; }
.hero__side .lead { max-width: 64ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1024px) { .hero__side { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero .display { font-size: clamp(34px, 10.5vw, 56px); } }

.exhibit { margin-top: clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 24px; align-items: start; }
.monitor { min-width: 0; }
.frame { position: relative; padding: 14px; }
.corner { position: absolute; width: 36px; height: 36px; border: 0 solid var(--yellow); pointer-events: none; }
.corner.tl { top: 0; left: 0; border-top-width: 5px; border-left-width: 5px; }
.corner.tr { top: 0; right: 0; border-top-width: 5px; border-right-width: 5px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 5px; border-left-width: 5px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 5px; border-right-width: 5px; }
.screen, .player { position: relative; aspect-ratio: 16 / 9; background: #1b1d22; overflow: hidden; }
.screen video, .player video { width: 100%; height: 100%; object-fit: cover; }
.hud { position: absolute; z-index: 3; display: flex; gap: 6px; align-items: center; pointer-events: none; }
.hud--top { top: 10px; left: 10px; right: 10px; }
.hud span { font: 600 12px/1 var(--mono); padding: 6px 8px; background: rgba(20, 21, 26, 0.82); color: #fff; letter-spacing: 0.02em; }
.hud .hud__cam { background: var(--yellow); color: var(--ink); }
.hud .hud__clock { margin-left: auto; font-feature-settings: 'tnum' 1; }
.hud__play {
  position: absolute; z-index: 3; right: 10px; bottom: 10px;
  font: 600 12px/1 var(--mono); padding: 8px 10px; border: 0;
  background: rgba(20, 21, 26, 0.82); color: #fff;
}
.hud__play:hover { background: var(--ink); }

.cams { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 12px 14px 10px; }
.cams button {
  width: 100%; text-align: left; border: 0; background: var(--band); padding: 9px 10px 11px; position: relative;
  font: 600 11.5px/1.25 var(--mono); color: var(--muted);
}
.cams button b { display: block; color: var(--ink); font-weight: 600; }
.cams button:hover { background: var(--chip); }
.cams button[aria-current='true'] { background: var(--ink); color: #c9cbd0; }
.cams button[aria-current='true'] b { color: var(--yellow); }
.cams .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--yellow); }
.monitor > .note { margin-inline: 14px; }
.latest { display: none; margin: 10px 14px 0; padding: 10px 12px; border: 1px solid var(--ink); align-items: center; gap: 6px 12px; grid-template-columns: auto auto 1fr auto; }
.latest__k { font: 700 13px/1.2 var(--display); color: var(--ink); }
.latest__time { font-size: 12.5px; color: var(--muted-2); }
.latest__title { font: 700 14.5px/1.3 var(--display); color: var(--ink); min-width: 0; }

/* ---------- journal */
.journal { border: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; min-height: 100%; max-height: 640px; }
.journal__head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 12px; border-bottom: 1px solid var(--ink); }
.journal__title { font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.journal__date { font-size: 12.5px; color: var(--muted-2); }
.journal__count { display: flex; gap: 18px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.journal__count b { color: var(--ink); font-size: 15px; }
.journal__rows { overflow: hidden; flex: 1; }
.row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); position: relative;
}
.row__thumb { width: 76px; height: 57px; background: #1b1d22; display: block; }
.row__thumb canvas { width: 100%; height: 100%; display: block; }
.row__main { min-width: 0; display: grid; gap: 3px; }
.row__line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.row__title { font: 700 15px/1.25 var(--display); color: var(--ink); }
.row__time { font: 500 12px/1 var(--mono); color: var(--muted-2); white-space: nowrap; }
.row__where { font: 500 12px/1.35 var(--mono); color: var(--muted-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.chip { justify-self: start; display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: 0.02em; padding: 5px 7px; border-radius: 2px; }
.chip--wait { background: var(--yellow-tint); color: var(--gold); }
.chip--alert { background: var(--alert-tint); color: var(--alert); }
.chip--ok { background: var(--ok-tint); color: var(--ok); }
.chip--info { background: var(--chip); color: var(--muted); }
.row--new { animation: arrive 0.9s var(--ease); }
@keyframes arrive {
  0% { background: var(--yellow); transform: translateY(-14px); opacity: 0; }
  30% { background: var(--yellow); transform: none; opacity: 1; }
  100% { background: var(--paper); }
}
@media (prefers-reduced-motion: reduce) { .row--new { animation: none; } }

/* ---------- sections */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.checks, .how, .review, .map, .next, .rollout, .faq { padding-block: var(--sec); border-top: 1px solid var(--ink); }
.how, .next { background: var(--band); }

/* ---------- checks */
.checks__body { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: 40px; align-items: start; }
.checks__list { border-top: 1px solid var(--ink); }
.tab {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 18px 0 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; position: relative;
}
.tab__name { font: 800 clamp(20px, 1.9vw, 26px)/1.1 var(--display); color: var(--ink); text-transform: uppercase; letter-spacing: -0.01em; }
.tab__line { grid-column: 1 / -1; font-size: 15.5px; color: var(--muted); }
.tab__body { grid-column: 1 / -1; font-size: 15.5px; color: var(--muted); display: none; max-width: 52ch; margin-top: 6px; }
.tab__cam { font: 500 12px/1 var(--mono); color: var(--muted-2); align-self: center; }
.tab__bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--yellow); }
.tab:hover .tab__name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tab[aria-selected='true'] .tab__name { color: var(--ink); }
.tab[aria-selected='true'] .tab__body { display: block; }
.tab[aria-selected='true'] .tab__line { color: var(--ink); font-weight: 600; }
.tab[aria-selected='true']::before { content: ''; position: absolute; left: -18px; top: 22px; width: 8px; height: 8px; background: var(--yellow); }
.checks__stage { position: sticky; top: 92px; }
.entry {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 6px 16px;
  border: 1px solid var(--ink); border-top: 0; padding: 14px 16px;
}
.entry__k { font: 700 14px/1 var(--display); color: var(--ink); }
.entry__time { font-size: 13px; color: var(--muted-2); }
.entry__title { font: 700 16px/1.3 var(--display); color: var(--ink); }
.entry__detail { grid-column: 3; font-size: 14px; color: var(--muted-2); margin-top: -4px; }
.entry .chip { grid-column: 4; grid-row: 1; }

/* ---------- how */
.how__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.how__film { margin: 0; }
.how__film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ccc; }
.how__film .note { margin-top: 8px; }
.pipe { counter-reset: p; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.pipe li { counter-increment: p; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); position: relative; }
.pipe li::before { content: counter(p); grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 18px/1 var(--display); }
.pipe li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 64px; bottom: -22px; width: 2px; background: var(--ink); }
.pipe p { font-size: 16px; }
.spec { width: 100%; margin-top: clamp(40px, 5vw, 72px); border-collapse: collapse; border-top: 2px solid var(--ink); }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-2); vertical-align: baseline; }
.spec th { width: 28%; font: 700 16px/1.3 var(--display); color: var(--ink); padding-right: 24px; }
.spec td { color: var(--ink); font-size: 17px; }
.spec .big { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.spec .num { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- review console */
.console { border: 1px solid var(--ink); background: var(--paper); }
.console__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--ink); }
.console__title { font: 800 18px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.console__bar .mono { font-size: 13px; color: var(--muted-2); }
.console__demo { margin-left: auto; font: 600 11px/1 var(--mono); padding: 5px 7px; background: var(--chip); color: var(--muted); }
.console__body { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); }
.queue { border-right: 1px solid var(--line); }
.queue li + li { border-top: 1px solid var(--line); }
.q {
  width: 100%; border: 0; background: none; text-align: left; padding: 14px 16px;
  display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center;
}
.q:hover { background: var(--band); }
.q[aria-current='true'] { background: var(--yellow-tint); box-shadow: inset 0 0 0 2px var(--yellow); }
.q__thumb { width: 88px; height: 56px; background-color: #1b1d22; background-repeat: no-repeat; }
.q__title { display: block; font: 700 15px/1.3 var(--display); color: var(--ink); }
.q__where { display: block; font: 500 12px/1.4 var(--mono); color: var(--muted-2); margin: 3px 0 6px; }
.evidence { display: grid; grid-template-rows: auto 1fr; }
.evidence__media { position: relative; aspect-ratio: 16 / 9; max-height: 52vh; width: 100%; background: #1b1d22; overflow: hidden; }
.evidence__media video { width: 100%; height: 100%; object-fit: cover; }
.evidence__play { position: absolute; z-index: 3; left: 12px; bottom: 12px; border: 0; background: var(--paper); color: var(--ink); font: 700 14px/1 var(--display); padding: 10px 14px; }
.evidence__play:hover { background: var(--yellow); }
.evidence__meta { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.evidence__meta .mono { font-size: 13px; color: var(--muted-2); }
.flow { display: flex; flex-wrap: wrap; gap: 0; margin: 6px 0 4px; }
.flow li { font: 600 12.5px/1 var(--display); padding: 9px 12px 9px 20px; background: var(--chip); color: var(--muted); position: relative; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%); margin-right: -4px; }
.flow li:first-child { padding-left: 12px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.flow li.done { background: var(--ink); color: var(--paper); }
.flow li.now { background: var(--yellow); color: var(--ink); }
.flow li.off { opacity: 0.35; }
.flow.is-dismissed li.now { background: var(--muted); color: var(--paper); }
.evidence__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.evidence__toast { min-height: 1.5em; font-size: 14.5px; color: var(--ink); }

/* ---------- map */
.map__grid { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: 48px; align-items: center; }
.map__text { display: grid; gap: 22px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; border: 0 solid var(--yellow); border-left-width: 3px; border-top-width: 3px; }
.ticks--ink li::before { border-color: var(--ink); }
.plan { margin: 0; position: relative; border: 1px solid var(--ink); background: var(--band); }
.plan svg { width: 100%; height: auto; }
.plan__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 14px; border-top: 1px solid var(--ink); font-size: 13.5px; color: var(--ink); background: var(--paper); }
.lg { display: inline-block; vertical-align: -2px; margin-right: 8px; width: 16px; height: 12px; }
.lg--cam { background: rgba(245, 168, 0, 0.45); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.lg--hot { border: 2px solid var(--alert); border-radius: 50%; width: 13px; height: 13px; }
.lg--path { border-top: 2px dashed var(--ink); height: 0; width: 20px; vertical-align: 3px; }
.plan__cams .cam { cursor: pointer; }
.plan__cams .cam:focus { outline: none; }
.plan__cams .cam:focus .cam__dot, .plan__cams .cam:hover .cam__dot { stroke: var(--ink); stroke-width: 3; }
.plan__cams .cam:hover .cam__fov, .plan__cams .cam:focus .cam__fov { fill-opacity: 0.55; }
.plan__labels text, .plan__clusters text { font-family: var(--display); }
.plan__tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: var(--paper); font: 600 12px/1.3 var(--mono); padding: 7px 9px; opacity: 0; transform: translate(-50%, -130%); transition: opacity 0.15s; white-space: nowrap; }
.plan__tip.on { opacity: 1; }

/* ---------- next */
.next { padding-block: clamp(56px, 7vw, 96px); }
.next .sec-head { margin-bottom: 28px; }
.next .h2 { font-size: clamp(28px, 3vw, 40px); }
.next__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 48px; align-items: start; }
.next__grid figure.next__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.next__item { margin: 0; display: grid; gap: 14px; }
.next__item h3 { margin-top: 4px; }
.player--small { aspect-ratio: 16 / 9; }
.tag { position: absolute; z-index: 3; top: 10px; right: 10px; font: 600 11.5px/1 var(--mono); padding: 6px 8px; }
.tag--dev { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.ask { position: relative; border: 1px solid var(--ink); background: var(--paper); padding: 22px 20px 20px; display: grid; gap: 14px; }
.ask .tag { position: absolute; }
.ask__q { justify-self: end; max-width: 85%; background: var(--ink); color: var(--paper); padding: 12px 14px; font-size: 15.5px; margin-top: 18px; }
.ask__a { max-width: 92%; background: var(--band); color: var(--ink); padding: 12px 14px; font-size: 15.5px; border-left: 0; }

/* ---------- rollout */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 56px); border-top: 2px solid var(--ink); }
.steps li { padding: 22px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.steps__n { font: 900 clamp(56px, 6vw, 88px)/0.85 var(--display); color: var(--yellow); letter-spacing: -0.04em; -webkit-text-stroke: 0; }
.steps p { font-size: 16px; }
.rollout__cta { margin-top: 36px; }

/* ---------- faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 700 19px/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 0 22px; max-width: 64ch; }

/* ---------- demo */
.demo { background: var(--yellow); padding-block: var(--sec); color: var(--ink); }
.demo .h2, .demo .lead { color: var(--ink); }
.demo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.demo__text { display: grid; gap: 24px; }
.demo__mail a { font-weight: 700; }
.form { background: var(--paper); border: 2px solid var(--ink); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: grid; gap: 6px; }
.field label { font: 700 15px/1.2 var(--display); color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.2 var(--display); color: var(--ink);
  background: var(--paper); border: 1px solid #8b8d93; border-radius: var(--radius);
}
.field input::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.field.invalid input, .field.invalid select { border-color: var(--alert); }
.form__hint { grid-column: 1 / -1; font-size: 14px; color: var(--muted-2); margin-top: -4px; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 1px; flex: none; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__msg { grid-column: 1 / -1; min-height: 1.4em; font-size: 15px; color: var(--ink); }
.form__msg.err { color: var(--alert); }

/* ---------- footer */
.foot { padding: 48px 0 40px; border-top: 1px solid var(--ink); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px 48px; align-items: start; }
.foot__grid p { max-width: 42ch; margin-top: 14px; }
.foot__langs, .foot__meta { display: grid; gap: 8px; color: var(--ink); }
.foot__langs a, .foot__meta a { text-decoration: none; font-weight: 600; }
.foot__langs a:hover, .foot__meta a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.foot__note { grid-column: 1 / -1; font: 500 12.5px/1.6 var(--mono); color: var(--muted-2); max-width: none !important; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- responsive */
@media (max-width: 1180px) {
  .latest:not([hidden]) { display: grid; }
  .exhibit { grid-template-columns: 1fr; }
  .journal { max-height: none; }
  .journal__rows { max-height: 400px; }
  .cams { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .menu { display: block; margin-left: 0; }
  .top__in { gap: 12px; }
  .top__cta { margin-left: auto; }
  .hero__head, .sec-head, .checks__body, .how__grid, .map__grid, .next__grid, .faq__grid, .demo__grid { grid-template-columns: 1fr; }
  .checks__stage { position: relative; top: 0; order: -1; }
  .console__body { grid-template-columns: 1fr; }
  .queue { border-right: 0; border-bottom: 1px solid var(--ink); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__cta { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .menu { margin-left: 0; }
  .frame { padding: 8px; }
  .corner { width: 22px; height: 22px; }
  .corner.tl, .corner.tr, .corner.bl, .corner.br { border-width: 0; }
  .corner.tl { border-top-width: 4px; border-left-width: 4px; }
  .corner.tr { border-top-width: 4px; border-right-width: 4px; }
  .corner.bl { border-bottom-width: 4px; border-left-width: 4px; }
  .corner.br { border-bottom-width: 4px; border-right-width: 4px; }
  .hud span { font-size: 10.5px; padding: 5px 6px; }
  .hud .hud__place { display: none; }
  .cams { display: flex; overflow-x: auto; margin-inline: 8px; scrollbar-width: none; }
  .cams li { flex: 0 0 104px; }
  .monitor > .note { margin-inline: 8px; }
  .entry { grid-template-columns: 1fr auto; }
  .entry__k { grid-column: 1; }
  .entry__time { grid-column: 2; justify-self: end; }
  .entry__title, .entry__detail { grid-column: 1 / -1; }
  .entry .chip { grid-column: 1; grid-row: auto; }
  .tab[aria-selected='true']::before { left: -12px; width: 7px; height: 7px; top: 24px; }
  .latest { grid-template-columns: auto 1fr; }
  .latest__title { grid-column: 1 / -1; }
  .latest .chip { grid-column: 1 / -1; justify-self: start; }
  .flow li:not(.now) { font-size: 0; padding: 0; width: 22px; height: 30px; }
  .flow li.now { padding-left: 16px; }
  .plan__labels text { font-size: 22px; }
  .plan__cams text { font-size: 20px; }
  .plan__cams .cam__dot { r: 11; }
  .q { grid-template-columns: 72px 1fr; }
  .q__thumb { width: 72px; height: 46px; }
  .spec th { width: 38%; font-size: 12.5px; }
  .spec td { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .steps li:first-child { border-top: 0; }
  .form { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .flow li { font-size: 11.5px; padding: 8px 10px 8px 16px; }
}
