/* ==========================================================================
   BOSDALE // SYSTEMS ENGINEERING
   Y2K steel-panel interface. Layout uses CSS Grid/Flexbox (not visible).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Silkscreen";
  src: url("../fonts/silkscreen-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --void: #161e30;        /* page background */
  --frame: #2a3853;       /* chassis around panels */
  --panel: #27324a;       /* panel body */
  --deep: #1b2437;        /* sunken fields, readouts */
  --bar: #4a5a7e;         /* panel title bars */
  --bar-2: #3c4a6b;
  --steel: #56678b;       /* brand band */
  --line: #52627f;        /* 1px rules */
  --hi: rgba(208, 222, 250, 0.38); /* bevel light edge */
  --lo: #0e1422;          /* bevel dark edge */
  --ink: #eef3fb;         /* primary text */
  --ink-2: #b8c4da;       /* secondary text */
  --dim: #8e9bb5;         /* tertiary, only on dark fills */
  --signal: #9fd0ff;      /* links, focus, active */
  --ok: #9ff0c4;
  --warn: #ffd08a;

  --f-display: "Michroma", "Eurostile", "Microgramma", "Arial Black", sans-serif;
  --f-pixel: "Silkscreen", "Courier New", monospace;
  --f-body: "Atkinson Hyperlegible", Verdana, Tahoma, sans-serif;

  --frame-w: 1040px;
  --gap: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--void);
  background-image:
    repeating-linear-gradient(135deg, rgba(160, 185, 230, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #1d2740 0%, var(--void) 420px);
  background-attachment: fixed, scroll;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-underline-offset: 0.18em; }
a:hover { color: #ffffff; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
strong { color: #ffffff; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--void); padding: 0.6rem 1rem;
  font-family: var(--f-display); font-size: 0.875rem; text-transform: uppercase;
}
.skip-link:focus { top: 0.5rem; }

/* ---------- Frame / chassis ---------- */
.frame {
  max-width: var(--frame-w);
  margin: 0 auto;
  padding: 0 12px 14px;
  background: var(--frame);
  border-left: 1px solid #0c111d;
  border-right: 1px solid #0c111d;
  box-shadow: inset 1px 0 0 rgba(160, 180, 220, 0.18), inset -1px 0 0 rgba(160, 180, 220, 0.18);
}

/* Top strip: thin decorative readout rail */
.rail {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: 0 -12px;
  padding: 0.3rem 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #3a4a6a, #2e3c58);
  border-bottom: 1px solid var(--lo);
  font-family: var(--f-pixel); font-size: 1rem; line-height: 1.4;
  color: var(--ink-2);
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
}
.rail span:last-child { color: var(--ink); }

/* Brand band */
.brand {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin: 10px 0 0;
  padding: 1.25rem 1.25rem 1.1rem;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #62739a 0%, var(--steel) 55%, #4b5b7e 100%);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 var(--hi), inset -1px -1px 0 rgba(0, 0, 0, 0.35);
}
.brand__logo { display: block; width: clamp(210px, 34vw, 330px); }
.brand__logo img { width: 100%; height: auto; }
.brand__readout {
  font-family: var(--f-pixel); font-size: 1rem; line-height: 1.35;
  color: #ffffff; text-align: right; text-transform: uppercase;
}
.brand__readout span { display: block; }

/* ---------- Navigation tab strip ---------- */
.tabs {
  margin-top: 8px;
  background: linear-gradient(180deg, #5b6c92, #45547a);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 var(--hi);
}
.tabs__toggle { display: none; }
.tabs__list {
  list-style: none; display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
}
.tabs__crumb {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  font-family: var(--f-pixel); font-size: 1rem; text-transform: uppercase; color: #ffffff;
  background: rgba(10, 16, 30, 0.35);
  border-right: 1px solid var(--lo);
  white-space: nowrap; overflow: hidden;
}
.tabs__crumb::before { content: "\25B8"; font-family: var(--f-body); }
.tabs__list a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.4rem 0.5rem;
  font-family: var(--f-display); font-size: 0.8125rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; text-align: center;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid var(--lo);
}
.tabs__list li:last-child a { border-right: 0; }
.tabs__list a:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.tabs__list a[aria-current="page"] {
  background: var(--deep); color: var(--signal);
  box-shadow: inset 1px 1px 0 var(--lo), inset -1px -1px 0 rgba(255, 255, 255, 0.12);
}
.tabs__list a:focus-visible { outline-offset: -3px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: grid;
  margin-top: 10px;
  min-height: 420px;
  border: 1px solid var(--lo);
  box-shadow: inset 0 0 0 1px rgba(160, 185, 230, 0.2);
  background: #111829;
  overflow: hidden;
}
.hero__scene, .hero__copy { grid-area: 1 / 1; }
.hero__scene svg { width: 100%; height: 100%; }
.hero__copy {
  position: relative; z-index: 1;
  justify-self: end; align-self: center;
  width: min(50%, 470px);
  margin: 2rem 2rem 2rem 0;
  text-align: right;
}
.hero__code {
  margin: 0 0 0.6rem;
  font-family: var(--f-pixel); font-size: 1rem; text-transform: uppercase; color: var(--ink-2);
}
.hero h1 {
  margin: 0 0 0.8rem;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.22;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 0 #000, 0 0 18px rgba(120, 170, 255, 0.35);
}
.hero__lede { color: var(--ink); margin-bottom: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }

/* Scene motion: one boot sequence on load */
.scene-scan { animation: scan 1.9s cubic-bezier(.3,.6,.4,1) 0.2s 1 both; }
.scene-arc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s ease-out 0.5s 1 forwards; }
@keyframes scan { from { transform: translateY(-60px); opacity: 1; } 90% { opacity: 1; } to { transform: translateY(470px); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Strip under hero */
.ticker {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 6px; padding: 0.35rem 0.8rem;
  background: linear-gradient(180deg, #3c4b6c, #33405e);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 var(--hi);
  font-family: var(--f-pixel); font-size: 1rem; text-transform: uppercase; color: #ffffff;
}
.ticker span:first-child::before { content: "\2193  "; font-family: var(--f-body); }

/* ---------- Inner-page banner ---------- */
.banner {
  position: relative;
  margin-top: 10px;
  padding: 2.4rem 1.5rem 2.2rem;
  min-height: 190px;
  border: 1px solid var(--lo);
  box-shadow: inset 0 0 0 1px rgba(160, 185, 230, 0.2);
  background: #111829 url("../img/banner.svg") right center / cover no-repeat;
}
.banner__code {
  margin: 0 0 0.5rem;
  font-family: var(--f-pixel); font-size: 1rem; text-transform: uppercase; color: var(--ink-2);
}
.banner h1 {
  margin: 0 0 0.6rem; max-width: 22ch;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2;
  letter-spacing: 0.02em; text-transform: uppercase; color: #ffffff;
  text-shadow: 0 1px 0 #000;
}
.banner p { max-width: 60ch; margin: 0; color: var(--ink); }

/* ---------- Panels ---------- */
.grid {
  display: grid; gap: var(--gap);
  margin-top: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--contact { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.span-all { grid-column: 1 / -1; }
.stack { display: grid; gap: var(--gap); }

.panel {
  container-type: inline-size;
  display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.08)),
    var(--panel);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 rgba(208, 222, 250, 0.16), inset -1px -1px 0 rgba(0, 0, 0, 0.3);
  min-width: 0;
}
.panel__bar {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(180deg, var(--bar), var(--bar-2));
  border-bottom: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 var(--hi);
}
.panel__bar::after {
  content: ""; flex: 1 1 auto; align-self: stretch; min-width: 1.5rem;
  margin: 0.2rem 0;
  background-image: radial-gradient(rgba(230, 238, 255, 0.35) 0.9px, transparent 1.3px);
  background-size: 4px 4px;
  order: 2;
}
.panel__icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-family: var(--f-pixel); font-size: 0.75rem; line-height: 1; color: #ffffff;
  box-shadow: 1px 1px 0 var(--lo);
}
.panel__title {
  margin: 0; order: 1;
  font-family: var(--f-display); font-weight: 400;
  font-size: 0.9375rem; line-height: 1.3; letter-spacing: 0.06em;
  text-transform: uppercase; color: #ffffff;
}
.panel__code {
  order: 3; flex: 0 0 auto;
  font-family: var(--f-pixel); font-size: 1rem; color: #ffffff; text-transform: uppercase;
}
@container (max-width: 400px) {
  .panel__code { display: none; }
}
.panel__body { padding: 1.05rem 1.15rem 1.25rem; flex: 1 1 auto; }
.panel__body > :first-child { margin-top: 0; }
.panel__body h3 {
  margin: 1.2rem 0 0.35rem;
  font-family: var(--f-display); font-weight: 400; font-size: 0.9375rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: #ffffff;
}
.panel__foot {
  padding: 0.7rem 1.15rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(208, 222, 250, 0.08);
}

/* Lists with bar markers (like the 2001 "=== //" glyphs) */
.list-bars { list-style: none; }
.list-bars li {
  position: relative; padding-left: 2.1rem; margin: 0.4rem 0;
}
.list-bars li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 1.45rem; height: 0.45rem;
  background:
    linear-gradient(90deg, #d7e2f7 0 35%, transparent 35% 45%, #7d8fb5 45% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Readout blocks */
.readout {
  margin: 0; padding: 0.75rem 0.85rem;
  background: var(--deep);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.5), inset -1px -1px 0 rgba(208, 222, 250, 0.1);
  font-family: var(--f-pixel); font-size: 1rem; line-height: 1.6; text-transform: uppercase;
}
.readout div { display: flex; justify-content: space-between; gap: 1rem; }
.readout dt { color: var(--dim); }
.readout dd { margin: 0; color: var(--ink); text-align: right; }
.readout .is-ok { color: var(--ok); }
.readout .is-ok::before { content: "\25CF  "; font-family: var(--f-body); }

.version-line {
  margin: 0.9rem 0 0; font-family: var(--f-pixel); font-size: 1rem;
  text-transform: uppercase; color: var(--ink-2);
}

/* Big-number facts (credentials) */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.85rem 0.9rem; align-items: baseline; }
.fact { display: contents; }
.fact__value {
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1; color: #ffffff;
  text-shadow: 0 0 14px rgba(120, 170, 255, 0.35);
}
.fact__label { color: var(--ink); line-height: 1.35; }

/* Outcome tiles inside a wide panel */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.6rem; }
.tile h3 { margin-top: 0; }
.tile p { color: var(--ink-2); }

/* Numbered steps (the 8.3 upgrade path is a real sequence) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0.9rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.9rem; align-items: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; height: 2.4rem;
  font-family: var(--f-display); font-size: 1rem; color: #ffffff;
  background: linear-gradient(180deg, var(--bar), var(--bar-2));
  border: 1px solid var(--lo); box-shadow: inset 1px 1px 0 var(--hi);
}
.steps h3 { margin: 0.35rem 0 0.25rem !important; }
.steps p { color: var(--ink-2); }

/* FAQ with native disclosure */
.faq details {
  border: 1px solid var(--lo);
  background: var(--deep);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.45), inset -1px -1px 0 rgba(208, 222, 250, 0.08);
}
.faq details + details { margin-top: 6px; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; gap: 0.7rem; align-items: baseline;
  padding: 0.75rem 0.9rem;
  font-weight: 700; color: #ffffff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: 0 0 auto; width: 1.2rem;
  font-family: var(--f-pixel); color: var(--signal);
}
.faq details[open] summary::before { content: "-"; }
.faq details[open] summary { border-bottom: 1px solid rgba(208, 222, 250, 0.12); }
.faq details > div { padding: 0.8rem 0.9rem 1rem 2.8rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.55rem 1.15rem;
  font-family: var(--f-display); font-size: 0.8125rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; line-height: 1.2;
  color: #ffffff; cursor: pointer;
  background: linear-gradient(180deg, #5f729c 0%, #4d5f88 55%, #43537a 100%);
  border: 1px solid var(--lo);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45), inset -1px -1px 0 rgba(0, 0, 0, 0.35), 1px 1px 0 rgba(0, 0, 0, 0.35);
}
.btn:hover { color: #ffffff; background: linear-gradient(180deg, #6c80ab 0%, #566995 55%, #4a5b84 100%); }
.btn:active {
  background: linear-gradient(180deg, #3d4c70, #4a5a80);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.45), inset -1px -1px 0 rgba(255, 255, 255, 0.2);
}
.btn--ghost {
  background: var(--deep);
  box-shadow: inset 1px 1px 0 rgba(208, 222, 250, 0.2), inset -1px -1px 0 rgba(0, 0, 0, 0.4);
}
.btn--ghost:hover { background: #24304a; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.text-link {
  font-family: var(--f-display); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.95rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label {
  font-family: var(--f-display); font-size: 0.8125rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #ffffff;
}
.field .req { color: var(--signal); }
.field .hint { font-size: 0.9375rem; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.75rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--deep);
  border: 1px solid #0a0f1a;
  border-radius: 0;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.45), inset -1px -1px 0 rgba(208, 222, 250, 0.14);
  appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.form--compact .textarea { min-height: 96px; }
.select {
  padding-right: 2.4rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%),
    linear-gradient(180deg, var(--bar), var(--bar-2));
  background-position: right 1.05rem center, right 0.7rem center, right 0 top 0;
  background-size: 5px 5px, 5px 5px, 2.1rem 100%;
  background-repeat: no-repeat;
}
.select option { background: var(--deep); color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: var(--dim); opacity: 1; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--warn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.form__note { font-size: 0.9375rem; color: var(--ink-2); }
.form__status {
  display: none;
  padding: 0.7rem 0.85rem;
  background: var(--deep); border: 1px solid var(--lo);
  font-size: 1rem;
}
.form__status.is-visible { display: block; }
.form__status.is-ok { border-left: 4px solid var(--ok); }
.form__status.is-error { border-left: 4px solid var(--warn); }

/* ---------- Radar (service area) ---------- */
.radar { margin: 0 auto; width: 100%; max-width: 440px; border: 1px solid var(--lo); }
.radar text { font-family: var(--f-pixel); }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem;
  margin-top: var(--gap); padding: 0.85rem 0.3rem 0.2rem;
  border-top: 1px solid var(--lo);
  box-shadow: inset 0 1px 0 rgba(208, 222, 250, 0.14);
  font-size: 0.9375rem; color: var(--ink-2);
}
.footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0; }
.footer nav li + li::before { content: "//"; margin: 0 0.6rem; color: var(--dim); }
.footer a { color: var(--ink); }
.footer a:hover { color: #ffffff; }
.footer__legal { flex-basis: 100%; font-size: 0.875rem; color: var(--ink-2); margin: 0; }

/* ---------- Plain prose pages ---------- */
.prose { max-width: 70ch; }
.prose h2 {
  margin: 1.6rem 0 0.4rem; font-family: var(--f-display); font-weight: 400;
  font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: #ffffff;
}
.prose ul { padding-left: 1.2rem; margin: 0 0 0.9rem; }
.prose li { margin: 0.25rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--contact { grid-template-columns: minmax(0, 1fr); }
  .tabs__list { grid-template-columns: repeat(5, 1fr); }
  .tabs__crumb { display: none; }
  .hero__copy { width: min(56%, 470px); margin-right: 1.25rem; }
}

@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .frame { padding: 0 8px 12px; border: 0; box-shadow: none; }
  .rail { margin: 0 -8px; padding: 0.3rem 10px; }
  .rail span:first-child { display: none; }
  .brand { padding: 0.9rem; gap: 1rem; }
  .brand__readout { display: none; }

  .tabs { position: relative; }
  .tabs__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    min-height: 48px; padding: 0.5rem 0.9rem;
    font-family: var(--f-display); font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: #ffffff; background: transparent; border: 0; cursor: pointer;
  }
  .tabs__toggle-icon {
    width: 22px; height: 16px;
    background: linear-gradient(#fff 0 0) top / 100% 3px no-repeat,
                linear-gradient(#fff 0 0) center / 100% 3px no-repeat,
                linear-gradient(#fff 0 0) bottom / 100% 3px no-repeat;
  }
  .tabs__toggle[aria-expanded="true"] .tabs__toggle-icon {
    background: linear-gradient(#fff 0 0) center / 100% 3px no-repeat;
  }
  .tabs__list { grid-template-columns: 1fr; border-top: 1px solid var(--lo); }
  .js .tabs__list[data-collapsed="true"] { display: none; }
  .tabs__list a {
    justify-content: flex-start; min-height: 48px; padding: 0.6rem 0.9rem;
    border-left: 0; border-right: 0; border-bottom: 1px solid var(--lo); font-size: 0.875rem;
  }
  .tabs__list li:last-child a { border-bottom: 0; }

  .hero { min-height: 0; }
  .hero__scene { grid-area: auto; height: 230px; }
  .hero__copy {
    grid-area: auto; width: auto; margin: 0; padding: 1.2rem 1rem 1.4rem;
    text-align: left; background: var(--panel); border-top: 1px solid var(--lo);
  }
  .hero__actions { justify-content: flex-start; }
  .ticker span:last-child { display: none; }

  .banner { padding: 1.6rem 1rem; min-height: 0; background-position: 70% center; }

  .grid, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 2.6rem 1fr; gap: 0.7rem; }
  .faq details > div { padding-left: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene-scan { display: none; }
  .scene-arc { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .panel, .btn, .input, .select, .textarea, .tabs, .brand { border: 1px solid CanvasText; }
  .panel__bar::after, .list-bars li::before { forced-color-adjust: auto; }
}

@media print {
  body { background: #fff; color: #000; }
  .rail, .tabs, .hero__scene, .ticker, .form, .banner { display: none; }
  .frame, .panel { background: #fff; box-shadow: none; border-color: #999; }
  .panel__bar { background: #eee; }
  .panel__title, .panel__code, strong { color: #000; }
}

/* Wrapped panels (anchor targets) fill their grid cell */
.grid > div[id] { display: flex; min-width: 0; }
.grid > div[id] > .panel { flex: 1 1 auto; }
