/* AUREX MOTION SYSTEMS — site styles
   Layout concept: datasheet-grade grid. Left-aligned text on a 12-column grid, hairline tables,
   and one bold object: the black anodised "nameplate" that carries the certification status. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* colour tokens, light */
  --bg: #ffffff;
  --bg-alt: #f2f5f9;
  --surface: #ffffff;
  --stage: #eceff4;
  --ink: #0f1b2d;
  --ink-2: #41516a;
  --ink-3: #5a6a82;
  --line: #d3dae5;
  --line-strong: #a9b4c6;
  --brand: #1f3864;
  --brand-text: #1f3864;
  --btn-bg: #1f3864;
  --btn-bg-hover: #16294b;
  --btn-fg: #ffffff;
  --link: #1b4c99;
  --link-hover: #0f2f66;
  --accent: #b07a1c;
  --accent-text: #7a5208;
  --focus: #1f6feb;
  --plate: #14171c;
  --plate-ink: #e4e7ec;
  --plate-dim: #98a2b3;
  --plate-rim: #3b424e;
  --notice-bg: #fff8e8;
  --notice-line: #e2c27a;
  --notice-ink: #4a3406;
  --ok-bg: #eaf5ee;
  --ok-line: #9cc9ae;
  --ok-ink: #17492b;
  --no-bg: #f7eceb;
  --no-line: #d9a9a4;
  --no-ink: #5b1f1a;
  --drawing: #1f3864;
  --drawing-soft: #8fa0bd;

  /* type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6rem;
  --measure: 66ch;
  --radius: 4px;
  --radius-lg: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a111d; --bg-alt: #0f1828; --surface: #111b2d; --stage: #e7ebf2;
    --ink: #e8edf5; --ink-2: #b0bccf; --ink-3: #93a1b8;
    --line: #243350; --line-strong: #3a4c6c;
    --brand: #1f3864; --brand-text: #a9c3f2;
    --btn-bg: #2f58a3; --btn-bg-hover: #3a68bc; --btn-fg: #ffffff;
    --link: #9dbaf0; --link-hover: #c6d8fa;
    --accent: #d9a441; --accent-text: #e3b765;
    --focus: #7fb0ff;
    --plate: #171b22; --plate-ink: #e9ecf1; --plate-dim: #9aa4b5; --plate-rim: #46505f;
    --notice-bg: #2a2110; --notice-line: #6b5420; --notice-ink: #f0dcae;
    --ok-bg: #112a1c; --ok-line: #2d6a47; --ok-ink: #bfe6cf;
    --no-bg: #2d1614; --no-line: #7a3a35; --no-ink: #f2c9c5;
    --drawing: #b9cdf3; --drawing-soft: #5f77a3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a111d; --bg-alt: #0f1828; --surface: #111b2d; --stage: #e7ebf2;
  --ink: #e8edf5; --ink-2: #b0bccf; --ink-3: #93a1b8;
  --line: #243350; --line-strong: #3a4c6c;
  --brand: #1f3864; --brand-text: #a9c3f2;
  --btn-bg: #2f58a3; --btn-bg-hover: #3a68bc; --btn-fg: #ffffff;
  --link: #9dbaf0; --link-hover: #c6d8fa;
  --accent: #d9a441; --accent-text: #e3b765;
  --focus: #7fb0ff;
  --plate: #171b22; --plate-ink: #e9ecf1; --plate-dim: #9aa4b5; --plate-rim: #46505f;
  --notice-bg: #2a2110; --notice-line: #6b5420; --notice-ink: #f0dcae;
  --ok-bg: #112a1c; --ok-line: #2d6a47; --ok-ink: #bfe6cf;
  --no-bg: #2d1614; --no-line: #7a3a35; --no-ink: #f2c9c5;
  --drawing: #b9cdf3; --drawing-soft: #5f77a3;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent); color: #fff; }
p, ul, ol, dl, figure, table { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.1rem + 4.4vw, 4.1rem); font-weight: 800; font-stretch: 112%; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.35rem); }
h3 { font-size: 1.2rem; font-stretch: 104%; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-stretch: 100%; }
code, .mono { font-family: var(--font-mono); font-size: 0.92em; }
.code { font-family: var(--font-mono); font-size: 0.94em; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-2); }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.small { font-size: 0.875rem; line-height: 1.5; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--alt { background: var(--bg-alt); }
.section--flush-top { padding-top: 0; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2, .prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--s-2); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.split { display: grid; gap: var(--s-6) var(--s-7); }
.split > * { min-width: 0; }
@media (min-width: 60rem) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .split--7-5 > :first-child { grid-column: span 7; }
  .split--7-5 > :last-child { grid-column: span 5; }
  .split--5-7 > :first-child { grid-column: span 5; }
  .split--5-7 > :last-child { grid-column: span 7; }
  .split--6-6 > * { grid-column: span 6; }
  .split--4-8 > :first-child { grid-column: span 4; }
  .split--4-8 > :last-child { grid-column: span 8; }
}
.section-head { display: grid; gap: var(--s-3); max-width: 46rem; margin-bottom: var(--s-6); }
.section-head p { color: var(--ink-2); max-width: var(--measure); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 4.5rem; flex-wrap: wrap; padding-block: 0.6rem; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark:hover { color: var(--ink); }
.wordmark .logo { display: block; height: 2.5rem; width: auto; }
.nav-toggle {
  display: none; font: inherit; font-weight: 500; color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.45rem 0.8rem; cursor: pointer;
}
.nav { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.nav ul { list-style: none; padding: 0; display: flex; gap: var(--s-5); flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.98rem; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .btn { color: var(--btn-fg); border-bottom: 0; }
.nav .btn:hover { color: var(--btn-fg); border-bottom: 0; }
@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: var(--s-3); padding-block: var(--s-3) var(--s-4); }
  .js .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; width: 100%; }
  .nav li { border-top: 1px solid var(--line); }
  .nav ul a { display: block; padding-block: 0.75rem; border-bottom: 0; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.8rem 1.25rem; border-radius: var(--radius); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand-text); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--brand-text); border-color: var(--brand-text); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- hero ---------- */
.hero { padding-block: var(--s-8) var(--s-7); }
.hero__grid { display: grid; gap: var(--s-6) var(--s-7); }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.hero__lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.hero__intro { display: grid; gap: var(--s-5); align-content: end; }
.hero__title { max-width: 14ch; }
.hero__title--wide { max-width: 20ch; }

.page-head { padding-block: var(--s-7) var(--s-6); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); }
.page-head p { margin-top: var(--s-4); color: var(--ink-2); font-size: 1.15rem; max-width: 44rem; }
.crumbs { font-size: 0.875rem; color: var(--ink-3); margin-bottom: var(--s-4); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { margin-inline: 0.4rem; }

/* ---------- product stage ---------- */
.stage { background: var(--stage); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.stage img { width: 100%; mix-blend-mode: multiply; }
.stage--pad { padding: var(--s-4); }
.stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem 0.9rem; font-size: 0.78rem; color: #4a586d; }
.family-marks { position: relative; height: 3.9rem; margin-top: var(--s-3); }
.family-marks a {
  position: absolute; top: 0; transform: translateX(-50%); text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 0.95rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
}
.family-marks a::before { content: ""; width: 1px; height: 0.7rem; background: var(--line-strong); }
.family-marks a span { font-family: var(--font-body); font-weight: 400; font-stretch: 100%; font-size: 0.78rem; color: var(--ink-3); }
.family-marks a:hover { color: var(--link); }
.fm-70 { left: 18%; } .fm-90 { left: 48%; } .fm-130 { left: 81%; }
@media (max-width: 40rem) { .family-marks { height: 2.6rem; } .family-marks a span { display: none; } }
.caption { font-size: 0.82rem; color: var(--ink-3); margin-top: var(--s-2); max-width: 60ch; }

/* ---------- nameplate (status) ---------- */
.plate {
  position: relative; background: var(--plate); color: var(--plate-ink);
  border-radius: var(--radius-lg); padding: clamp(1.1rem, 0.6rem + 2vw, 1.9rem);
  box-shadow: 0 0 0 1px var(--plate-rim), 0 14px 30px -18px rgba(8, 14, 26, 0.7);
}
.plate::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--plate-rim); border-radius: 6px; pointer-events: none; }
.plate__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-bottom: var(--s-3); margin-bottom: var(--s-4); border-bottom: 1px solid var(--plate-rim); }
.plate__brand { display: inline-flex; color: var(--plate-ink); }
.plate__brand .logo { display: block; height: 2rem; width: auto; }
.plate__title { font-family: var(--font-mono); font-weight: 400; font-stretch: 100%; line-height: 1.4; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plate-dim); }
.plate dl { display: grid; grid-template-columns: 1fr; gap: 0.15rem var(--s-5); }
.plate dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plate-dim); margin-top: var(--s-3); }
.plate dd { margin: 0; font-family: var(--font-mono); font-size: 0.92rem; line-height: 1.5; color: var(--plate-ink); }
@media (min-width: 48rem) {
  .plate dl { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; }
  .plate dt { margin-top: 0; padding-block: 0.45rem; }
  .plate dd { padding-block: 0.45rem; }
  .plate dt, .plate dd { border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .plate dt:first-of-type, .plate dd:first-of-type { border-top: 0; }
}
.plate a { color: var(--plate-ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.plate a:hover { color: #fff; }
.plate .mark { color: #ffd98a; }

/* ---------- spec rail (at a glance) ---------- */
.rail { display: grid; gap: 0 var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
@media (min-width: 52rem) { .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rail > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.rail dt { font-size: 0.85rem; color: var(--ink-3); }
.rail dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: 1.25rem; letter-spacing: -0.005em; }
.rail dd small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink-2); letter-spacing: 0; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 0.9rem 1rem; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: 1.05rem; color: var(--ink); caption-side: top; border-bottom: 1px solid var(--line); }
th, td { padding: 0.6rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; color: var(--ink); background: var(--bg-alt); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 500; color: var(--ink-2); background: var(--surface); }
.spec th[scope="row"] { min-width: 13rem; }
.spec td, .spec thead th:not(:first-child) { text-align: right; }
.spec td.is-text, .spec th.is-text { text-align: left; }
.spec-wide { min-width: 44rem; }
.spec .group th, .spec .group td { background: var(--bg-alt); font-family: var(--font-display); font-weight: 600; font-stretch: 104%; color: var(--ink); font-size: 0.85rem; letter-spacing: 0.01em; text-align: left; }
.spec tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.table-note { font-size: 0.84rem; color: var(--ink-3); margin-top: var(--s-3); max-width: 70ch; }
.mark-cell { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.5; }
.spec td.mark-cell--span { text-align: center; }
.table-scroll.n1 { max-width: 34rem; }
.table-scroll.n3 { max-width: 50rem; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.frame-card { display: grid; gap: var(--s-3); text-decoration: none; color: inherit; min-width: 0; }
.frame-card:hover { color: inherit; }
.frame-card .stage { aspect-ratio: 4 / 3.2; display: grid; place-items: center; }
.frame-card .stage img { width: 88%; }
.frame-card h3 { transition: color 0.15s ease; }
.frame-card:hover h3 { color: var(--link); }
.frame-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem var(--s-4); font-size: 0.92rem; }
.frame-card dt { color: var(--ink-3); }
.frame-card dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.more { font-weight: 600; font-size: 0.95rem; color: var(--link); }
.frame-card:hover .more { text-decoration: underline; }

/* ---------- fit check ---------- */
.fit { display: grid; gap: var(--s-4); }
@media (min-width: 52rem) { .fit { grid-template-columns: 1fr 1fr; } }
.fit__col { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); background: var(--surface); }
.fit__col h3 { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.fit__col--in { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok-ink); }
.fit__col--in h3 { color: var(--ok-ink); }
.fit__col--out { border-color: var(--no-line); background: var(--no-bg); color: var(--no-ink); }
.fit__col--out h3 { color: var(--no-ink); }
.fit ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.fit li { padding-left: 1.4rem; position: relative; }
.fit li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: currentColor; }
.fit strong { font-weight: 600; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- widget ---------- */
.checker { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.checker__form { display: grid; gap: var(--s-4); padding: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.checker__result { border-top: 1px solid var(--line); padding: var(--s-5); display: grid; gap: var(--s-4); background: var(--bg-alt); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.verdicts { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.verdict { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); background: var(--surface); }
.verdict h4 { display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; margin-bottom: var(--s-2); }
.verdict .tag { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.verdict--yes { border-color: var(--ok-line); } .verdict--yes .tag { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); }
.verdict--no { border-color: var(--no-line); } .verdict--no .tag { background: var(--no-bg); color: var(--no-ink); border: 1px solid var(--no-line); }
.verdict--open .tag { background: var(--notice-bg); color: var(--notice-ink); border: 1px solid var(--notice-line); }
.verdict ul { padding-left: 1.1rem; font-size: 0.92rem; color: var(--ink-2); }

/* ---------- forms ---------- */
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label, legend { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .hint { font-size: 0.84rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.6rem 0.75rem; min-width: 0;
}
textarea { min-height: 5.5rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.fs { border-top: 2px solid var(--ink); padding-top: var(--s-4); display: grid; gap: var(--s-4); }
.fs > legend { float: left; width: 100%; padding: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: 1.2rem; margin-bottom: var(--s-1); }
.fs > legend + * { clear: both; }
.fs-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.choices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; font-size: 0.97rem; cursor: pointer; }
.choices input { width: 1.05rem; height: 1.05rem; accent-color: var(--btn-bg); }
.form-actions { display: grid; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--bg-alt); }
.status-line { min-height: 1.4em; font-size: 0.92rem; color: var(--ink-2); }
textarea.preview { font-family: var(--font-mono); font-size: 0.84rem; min-height: 12rem; }
.honey { position: absolute; left: -9999px; }

/* ---------- notices ---------- */
.notice { border: 1px solid var(--notice-line); background: var(--notice-bg); color: var(--notice-ink); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
.notice p + p { margin-top: var(--s-2); }
.notice a { color: inherit; }
.note { border-left: 3px solid var(--accent); padding: 0.1rem 0 0.1rem var(--s-4); color: var(--ink-2); }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: var(--s-4); display: grid; gap: var(--s-2); align-content: start; }
.steps li::before { content: "Step " counter(step); font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); }
.steps h3 { font-size: 1.15rem; }
.steps.steps--eight { grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: var(--s-5) var(--s-6); }
.steps.steps--eight li::before { content: "Parameter " counter(step); }
.steps p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- documents ---------- */
.docs { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.doc { display: grid; gap: var(--s-3) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 52rem) { .doc { grid-template-columns: minmax(0, 1fr) auto; } }
.doc h3 { font-size: 1.1rem; }
.doc p { color: var(--ink-2); font-size: 0.97rem; margin-top: 0.25rem; max-width: 60ch; }
.doc .meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); margin-top: 0.4rem; }
.doc--later { opacity: 0.85; }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap; }
.pill--pending { background: var(--notice-bg); border-color: var(--notice-line); color: var(--notice-ink); }
.pill--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }

/* ---------- drawing ---------- */
.drawing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4); }
.drawing svg { width: 100%; height: auto; max-height: 28rem; }
.drawing .d-line { stroke: var(--drawing); fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.drawing .d-thin { stroke: var(--drawing-soft); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.drawing .d-center { stroke: var(--drawing-soft); fill: none; stroke-width: 1; stroke-dasharray: 10 3 2 3; vector-effect: non-scaling-stroke; }
.drawing .d-dash { stroke: var(--drawing-soft); fill: none; stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.drawing .d-fill { fill: var(--surface); stroke: var(--drawing); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.drawing .d-label { fill: var(--ink); font-family: var(--font-mono); font-size: 12px; }
.drawing .d-dot { fill: var(--drawing); }
.dims { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: 0.95rem; margin-top: var(--s-4); }
.dims dt, .dims dd { margin: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.dims dt { color: var(--ink-2); padding-right: var(--s-5); }
.dims dd { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- facts list ---------- */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; gap: 0.15rem var(--s-5); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .facts div { grid-template-columns: 12rem minmax(0, 1fr); } }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }

/* ---------- cta band ---------- */
.cta { display: grid; gap: var(--s-5); align-items: center; padding-block: var(--s-7); }
@media (min-width: 52rem) { .cta { grid-template-columns: minmax(0, 1fr) auto; } }
.cta h2 { max-width: 24ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: var(--s-7) var(--s-6); font-size: 0.95rem; }
.site-footer .cols { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { font-size: 0.95rem; font-stretch: 104%; margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; color: var(--ink-2); line-height: 1.55; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.legal-line { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); color: var(--ink-3); font-size: 0.84rem; line-height: 1.55; }
.legal-line p { max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header .nav, .nav-toggle, .btn, .form-actions { display: none !important; }
  body { font-size: 11pt; }
}
