@charset "UTF-8";
/* ===========================================================================
   AlliedStar SENSA IL — design system
   Clinical / instrument aesthetic: paper white, hairline rules, one accent,
   tabular figures, generous rhythm. RTL-native via logical properties.
   =========================================================================== */

/* ── 1. Tokens ───────────────────────────────────────────────────────────── */
:root {
  /* Ink & paper */
  --ink: #0b1417;
  --ink-2: #24343a;
  --muted: #5c6e75;
  --muted-2: #7d8e95;
  --line: #e3e8ea;
  --line-2: #f0f3f4;
  --paper: #ffffff;
  --tint: #f6f8f9;
  --tint-2: #eef2f3;

  /* Accent — PLACEHOLDER until the approved AlliedStar brand files arrive.
     Swap these three values only; nothing else references a raw accent hex. */
  --accent: #077682;
  --accent-ink: #05616b;
  --accent-soft: #e7f3f4;

  /* Signals */
  --ok: #16704a;
  --ok-soft: #e6f2ec;
  --warn: #96590a;
  --warn-soft: #fbf1e2;
  --no: #a82a20;
  --no-soft: #fbeceb;

  /* Type */
  --font: "Heebo", "Assistant", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.125rem;
  --lh-body: 1.72;

  /* Space & shape */
  --wrap: 1216px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(64px, 8vw, 132px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --hdr-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
}

@media (min-width: 768px) {
  :root { --fs-body: var(--fs-body-lg); --hdr-h: 76px; }
}

/* ── 2. Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--tint-2); padding: 0.1em 0.35em; border-radius: 4px; }
sup { line-height: 0; }
[hidden] { display: none !important; }

.num, bdi.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: 0; }

main:focus { outline: none; }

/* ── 3. Layout ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.sec { padding-block: var(--sec-y); position: relative; }
.sec--tint { background: var(--tint); }
.sec--tint + .sec--tint { padding-block-start: 0; }
.sec--ink { background: var(--ink); color: #eef3f4; }
.sec--ink .sec__lead, .sec--ink .card__body { color: #a9bcc2; }
.sec--accent { background: var(--accent-soft); }
.sec--flush { padding-block-start: 0; }

.sec__head { max-width: 62ch; margin-block-end: clamp(32px, 4vw, 56px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__title { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.55rem); }
.sec__lead { margin-block-start: 18px; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); color: var(--muted); }

/* Eyebrow with the instrument-rule motif */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent-ink); text-transform: none;
}
.sec--ink .eyebrow { color: #6fc9d3; }
.eyebrow__idx {
  font-variant-numeric: tabular-nums;
  font-weight: 500; color: var(--muted-2);
  padding-inline-end: 12px; border-inline-end: 1px solid var(--line);
}
.sec--ink .eyebrow__idx { color: #6b7f86; border-color: #24343a; }
.eyebrow__label { position: relative; }
.eyebrow__label::after {
  content: ""; position: absolute; inset-block-end: -7px; inset-inline: 0; height: 3px;
  background: repeating-linear-gradient(to left, currentColor 0 1px, transparent 1px 5px);
  opacity: 0.35;
}

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }

.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--sticky > :last-child { position: sticky; top: calc(var(--hdr-h) + 24px); } }

.prose { max-width: 68ch; }
.prose h3 { margin-block: 1.9em 0.55em; font-size: 1.2rem; }
.prose h3:first-child { margin-block-start: 0; }
.prose > p + p { margin-block-start: 0; }
.prose a { color: var(--accent-ink); }

/* ── 4. Buttons ──────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 46px; padding: 12px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.9688rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__arrow { width: 15px; height: 15px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-3px); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.9063rem; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1.0313rem; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--secondary:hover { --btn-bg: var(--tint); --btn-fg: var(--ink); --btn-bd: #c9d3d6; }
.btn--quiet { --btn-bg: transparent; --btn-fg: var(--muted); --btn-bd: transparent; }
.btn--quiet:hover { --btn-bg: var(--tint-2); --btn-fg: var(--ink); }
.btn--invert { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--invert:hover { --btn-bg: #e8eef0; --btn-fg: var(--ink); }
.btn--ghost-invert { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.32); }
.btn--ghost-invert:hover { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }

/* ── 5. Header ───────────────────────────────────────────────────────────── */
.topline { background: var(--ink); color: #9fb3ba; font-size: 0.8125rem; }
.topline__inner { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.topline p { margin: 0; }
.topline__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-block-end: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.hdr.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgba(11,20,23,.5); }
.hdr__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: var(--hdr-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand__mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1.0313rem; letter-spacing: -0.01em; }
.brand__by { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: none; margin-inline-end: auto; }
@media (min-width: 1080px) { .nav { display: block; } }
.nav__list { display: flex; gap: clamp(4px, 1.2vw, 18px); list-style: none; }
.nav__link {
  display: inline-block; padding: 8px 6px; font-size: 0.9375rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 6px; inset-block-end: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: inline-end;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }

.hdr__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 1080px) { .hdr__actions { margin-inline-start: 0; } }
.hdr__actions .btn { display: none; }
@media (min-width: 560px) { .hdr__actions .btn { display: inline-flex; } }

.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
@media (min-width: 1080px) { .burger { display: none; } }
.burger__box { display: block; width: 18px; }
.burger__box span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.burger__box span + span { margin-block-start: 4.5px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav { border-block-start: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
.mnav__list { list-style: none; padding-block: 8px 20px; }
.mnav__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; border-block-end: 1px solid var(--line-2); text-decoration: none; font-weight: 500; min-height: 48px; }
.mnav__list a .btn__arrow { color: var(--muted-2); }
.mnav__cta { padding-block-start: 18px; }
.mnav__cta .btn { width: 100%; }

.trust { border-block-end: 1px solid var(--line); background: var(--tint); font-size: 0.8125rem; color: var(--muted); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 40px; }
.trust__sep { color: var(--line); }

/* ── 6. Breadcrumbs ──────────────────────────────────────────────────────── */
.crumbs { border-block-end: 1px solid var(--line-2); font-size: 0.8438rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; min-height: 42px; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ── 7. Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.02fr 0.98fr; } }
.hero__h1 { font-size: clamp(2.05rem, 1.2rem + 3.6vw, 3.55rem); letter-spacing: -0.028em; }
.hero__lead { margin-block-start: 22px; font-size: clamp(1.075rem, 1rem + 0.5vw, 1.235rem); color: var(--ink-2); max-width: 46ch; }
.hero__micro { margin-block-start: 20px; display: inline-flex; align-items: center; gap: 9px; font-size: 0.875rem; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
.hero__micro::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); flex: none; }

/* Signature: the scan-field canvas. Decorative, cheap, motion-aware. */
.scanfield { position: relative; aspect-ratio: 4 / 3.35; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, #fbfdfd, var(--tint)); overflow: hidden; }
.scanfield canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanfield__frame { position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r-md); pointer-events: none; }
.scanfield__frame::before, .scanfield__frame::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 1.5px solid var(--accent); opacity: .55;
}
.scanfield__frame::before { inset-block-start: -1px; inset-inline-start: -1px; border-inline-end: 0; border-block-end: 0; border-start-start-radius: var(--r-md); }
.scanfield__frame::after { inset-block-end: -1px; inset-inline-end: -1px; border-inline-start: 0; border-block-start: 0; border-end-end-radius: var(--r-md); }
.scanfield__meta {
  position: absolute; inset-block-end: 14px; inset-inline: 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--muted-2);
  background: color-mix(in srgb, #fff 78%, transparent); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 11px;
}
.scanfield__caption { margin-block-start: 12px; font-size: 0.8125rem; color: var(--muted-2); text-align: center; }
.scanfield__ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px; color: var(--muted-2); font-size: 0.8125rem; }

/* ── Media ───────────────────────────────────────────────────────────────── */
.pic { display: block; }
.pic img { width: 100%; height: auto; display: block; }

/* Frame that matches the instrument language: hairline, soft tint, corner marks. */
.mediaframe {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fbfdfd, var(--tint));
}
.mediaframe::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: var(--r-md);
}
.sec--ink .mediaframe { border-color: #24343a; background: #101c20; }
.sec--ink .mediaframe::after { border-color: rgba(255,255,255,.08); }

.mediafig { margin: 0; }
.mediafig figcaption {
  margin-block-start: 12px; font-size: 0.8125rem; color: var(--muted-2); line-height: 1.55;
}
.sec--ink .mediafig figcaption { color: #7d9198; }

.vid { display: block; width: 100%; height: auto; background: var(--ink); }
.mediaframe--video { background: var(--ink); }

/* Hero media sits slightly proud of the text column on wide screens. */
.hero__media .mediaframe { box-shadow: 0 40px 80px -60px rgba(11, 20, 23, .6); }

.media-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .media-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .media-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.brand__logo { display: block; flex: none; }
.brand__logo img { width: auto; height: 26px; display: block; }
.brand__sep { color: var(--muted-2); font-weight: 400; }
.brand--footer .brand__sep { color: #4d6167; }
@media (min-width: 768px) { .brand__logo img { height: 28px; } }

/* Asset placeholder blocks — visible, honest, and named. */
.assetph {
  display: grid; place-content: center; gap: 8px; text-align: center;
  min-height: 200px; padding: 28px;
  border: 1px dashed color-mix(in srgb, var(--muted-2) 45%, transparent);
  border-radius: var(--r-md); background: var(--tint);
  color: var(--muted); font-size: 0.8438rem;
}
.assetph__name { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.75rem; color: var(--ink-2); direction: ltr; }

/* ── 8. Stats ────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.stat { padding: clamp(20px, 2.6vw, 30px); border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
@media (max-width: 640px) { .stat { border-inline-start: 0; border-block-start: 1px solid var(--line); } .stat:first-child { border-block-start: 0; } }
.stat__value { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.stat__mark { color: var(--accent); font-size: 0.5em; margin-inline-start: 2px; }
.stat__unit { margin: 8px 0 0; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.stats__note { margin-block-start: 14px; font-size: 0.8125rem; color: var(--muted-2); }
.stats__src { color: var(--accent-ink); }

/* ── 9. Cards ────────────────────────────────────────────────────────────── */
.card {
  position: relative; padding: clamp(22px, 2.4vw, 30px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card::before {
  content: ""; position: absolute; inset-block: -1px auto; inset-inline-start: -1px;
  width: 2px; height: 0; background: var(--accent); border-radius: 2px;
  transition: height var(--dur) var(--ease);
}
.card:hover { border-color: #c9d5d8; }
.card:hover::before { height: 42px; }
.card--link { text-decoration: none; display: block; }
.card--link:hover { transform: translateY(-2px); }
.card--link .btn__arrow { position: absolute; inset-block-end: 24px; inset-inline-start: 24px; color: var(--accent); }
.card--link { padding-block-end: 58px; }
.sec--ink .card { background: #101c20; border-color: #24343a; }
.sec--ink .card:hover { border-color: #35494f; }
.card__idx { display: block; font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--muted-2); margin-block-end: 14px; }
.card__kicker { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.card__title { font-size: 1.0938rem; margin-block-end: 10px; }
.card__body { font-size: 0.9375rem; color: var(--muted); line-height: 1.68; }

/* ── 10. Lists, steps, notices ───────────────────────────────────────────── */
.blist { list-style: none; display: grid; gap: 12px; }
.blist li { position: relative; padding-inline-start: 26px; }
.blist li::before {
  content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: 0.72em;
  width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 50%;
}
.blist--tight { gap: 8px; }

.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.5vw, 30px); padding-block: clamp(20px, 2.5vw, 28px); border-block-start: 1px solid var(--line); }
.step:first-child { border-block-start: 0; padding-block-start: 0; }
.step__n { font-size: 0.8125rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; padding-block-start: 0.35em; }
.step__title { font-size: 1.0625rem; margin-block-end: 6px; }
.step__body p { color: var(--muted); font-size: 0.9688rem; }

.checklist { border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 2.4vw, 28px); background: var(--paper); }
.checklist__title { font-size: 1.0625rem; margin-block-end: 16px; }
.checklist ul { list-style: none; display: grid; gap: 11px; }
.checklist li { position: relative; padding-inline-start: 28px; font-size: 0.9688rem; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 0.45em;
  width: 14px; height: 8px; border: 1.8px solid var(--accent); border-block-start: 0; border-inline-end: 0;
  transform: rotate(-45deg);
}

.notice { border: 1px solid var(--line); border-inline-start: 3px solid var(--muted-2); border-radius: var(--r-sm); padding: 16px 20px; background: var(--tint); font-size: 0.9375rem; }
.notice__title { margin: 0 0 6px; font-weight: 600; }
.notice--warn { border-inline-start-color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, var(--line)); }
.notice--no { border-inline-start-color: var(--no); background: var(--no-soft); border-color: color-mix(in srgb, var(--no) 25%, var(--line)); }
.notice--ok { border-inline-start-color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 25%, var(--line)); }
.notice--accent { border-inline-start-color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.notice + .notice { margin-block-start: 14px; }

/* ── 11. Tables ──────────────────────────────────────────────────────────── */
.table-wrap { margin-block-start: 8px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.table-scroll:focus-visible { outline-offset: 0; }
.table { font-size: 0.9375rem; min-width: 620px; }
.table__caption { caption-side: top; text-align: start; padding: 18px 20px 0; font-weight: 600; color: var(--ink); }
.table th, .table td { padding: 15px 20px; text-align: start; vertical-align: top; border-block-start: 1px solid var(--line); }
.table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--tint); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2); border-block-start: 0; white-space: nowrap;
}
.table tbody th { font-weight: 600; width: 30%; }
.table tbody tr:hover td, .table tbody tr:hover th { background: color-mix(in srgb, var(--tint) 55%, transparent); }
.table--dense th, .table--dense td { padding: 11px 16px; }
.table__note { margin-block-start: 12px; font-size: 0.8125rem; color: var(--muted-2); }
.table-hint { display: none; margin-block-start: 8px; font-size: 0.75rem; color: var(--muted-2); }
@media (max-width: 720px) { .table-hint { display: block; } }

/* Mobile: table becomes cards, no data loss */
@media (max-width: 620px) {
  .table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table tr { border-block-start: 1px solid var(--line); padding: 6px 0; }
  .table tr:first-child { border-block-start: 0; }
  .table tbody th { width: auto; padding: 14px 18px 6px; font-size: 1rem; border: 0; }
  .table td { border: 0; padding: 6px 18px 10px; }
  .table td::before {
    content: attr(data-label); display: block;
    font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.05em; color: var(--muted-2);
    margin-block-end: 3px;
  }
  .table-hint { display: none; }
}

/* ── 12. FAQ ─────────────────────────────────────────────────────────────── */
.faq-search { margin-block-end: clamp(28px, 4vw, 44px); }
.faq-search__label { display: block; font-size: 0.875rem; font-weight: 600; margin-block-end: 8px; }
.faq-search__field { position: relative; display: flex; align-items: center; }
.faq-search__field svg { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.faq-search__field input {
  width: 100%; min-height: 50px; padding: 12px 46px 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
}
.faq-search__field input:focus-visible { border-color: var(--accent); }
.faq-search__status { margin-block-start: 8px; font-size: 0.8125rem; color: var(--muted-2); min-height: 1.2em; }

.faq-group + .faq-group { margin-block-start: clamp(32px, 4vw, 52px); }
.faq-group__title { font-size: 1.1875rem; margin-block-end: 12px; padding-block-end: 12px; border-block-end: 1px solid var(--line); }
.faq { border-block-end: 1px solid var(--line-2); }
.faq__q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 19px 2px; min-height: 48px;
  background: none; border: 0; cursor: pointer; text-align: start;
  font-size: 1.0313rem; font-weight: 500; color: var(--ink);
}
.faq__btn:hover { color: var(--accent-ink); }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; margin-block-start: 5px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 0;
  width: 16px; height: 1.6px; background: var(--accent); border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }
.faq__a { padding: 0 2px 22px; color: var(--muted); font-size: 0.9688rem; max-width: 74ch; }
.faq__a p + p { margin-block-start: 0.9em; }
.faq__a a { color: var(--accent-ink); }
.faq-empty { margin-block-start: 32px; color: var(--muted); }
.faq mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; border-radius: 2px; }

/* ── 13. Forms ───────────────────────────────────────────────────────────── */
.form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); background: var(--paper); }
.form--compact { border: 0; padding: 0; }
.form__title { font-size: 1.375rem; margin-block-end: 10px; }
.form__intro { color: var(--muted); font-size: 0.9688rem; margin-block-end: 26px; max-width: 60ch; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 660px) { .form__grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }
@media (max-width: 660px) { .field--half, .field--full { grid-column: 1 / -1; } }

.field__label { display: flex; align-items: baseline; gap: 8px; font-size: 0.875rem; font-weight: 600; margin-block-end: 7px; }
.field__req { font-size: 0.6875rem; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); padding: 1px 7px; border-radius: 3px; }
.field__opt { font-size: 0.6875rem; font-weight: 400; color: var(--muted-2); }
.field__hint { margin: -2px 0 7px; font-size: 0.8125rem; color: var(--muted-2); }
.field__input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:hover { border-color: #c9d3d6; }
.field__input:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.field__textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field__selectwrap { position: relative; }
.field__select { appearance: none; padding-inline-end: 40px; cursor: pointer; }
.field__chev { position: absolute; inset-inline-end: 14px; inset-block-start: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-2); pointer-events: none; }
.field__file { padding: 9px 12px; cursor: pointer; }
.field__error { margin: 6px 0 0; font-size: 0.8125rem; color: var(--no); font-weight: 500; }
.field.is-invalid .field__input { border-color: var(--no); background: color-mix(in srgb, var(--no-soft) 55%, #fff); }

.check { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; cursor: pointer; font-size: 0.9063rem; color: var(--ink-2); }
.check__input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); position: relative; flex: none; margin-block-start: 1px; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check__box::after { content: ""; position: absolute; inset-block-start: 5px; inset-inline-start: 5px; width: 10px; height: 5.5px; border: 2px solid #fff; border-block-start: 0; border-inline-end: 0; transform: rotate(-45deg) scale(0.4); opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.check__input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check__input:checked + .check__box::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.check__input:focus-visible + .check__box { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.check__label a { color: var(--accent-ink); }

.chips { border: 0; padding: 0; margin: 0; }
.chips__list { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9063rem; background: var(--paper); transition: all var(--dur) var(--ease); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* Honeypot. Hidden with the sr-only technique rather than a large negative
   offset — in RTL an off-canvas element extends the scrollable width and
   creates a horizontal scrollbar across the whole document. */
.hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* The field inside would still lay out at full width; clipped and unpainted,
   but it shows up in layout audits — so pin its box too. */
.hp input, .hp label { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }

.form__foot { margin-block-start: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__submit { min-width: 200px; }
.form__note { font-size: 0.8125rem; color: var(--muted-2); max-width: 46ch; margin: 0; }
.form__status { margin-block-start: 16px; font-size: 0.9375rem; min-height: 1.2em; }
.form__status.is-error { color: var(--no); font-weight: 500; }
.form.is-busy .form__submit { opacity: .65; pointer-events: none; }
.btn__spin { display: none; width: 15px; height: 15px; border: 2px solid currentColor; border-inline-start-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.form.is-busy .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 14. CTA band ────────────────────────────────────────────────────────── */
.cta { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(60% 120% at 12% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%),
    repeating-linear-gradient(to left, rgba(255,255,255,.05) 0 1px, transparent 1px 44px);
}
.cta .wrap { position: relative; }
.cta__inner { display: grid; gap: clamp(22px, 3vw, 44px); align-items: center; }
@media (min-width: 860px) { .cta__inner { grid-template-columns: 1.15fr auto; } }
.cta__title { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.15rem); }
.cta__body { margin-block-start: 14px; color: #aebfc5; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__note { margin-block-start: 26px; padding-block-start: 20px; border-block-start: 1px solid rgba(255,255,255,.12); font-size: 0.8125rem; color: #8b9ea5; }
.cta--tint { background: var(--tint); color: var(--ink); }
.cta--tint::before { display: none; }
.cta--tint .cta__body { color: var(--muted); }
.cta--tint .btn--invert { --btn-bg: var(--accent); --btn-fg: #fff; }
.cta--tint .btn--invert:hover { --btn-bg: var(--accent-ink); }
.cta--tint .btn--ghost-invert { --btn-fg: var(--ink); --btn-bd: var(--line); }
.cta--tint .btn--ghost-invert:hover { --btn-bg: #fff; --btn-bd: #c9d3d6; }
.cta--tint .cta__note { border-color: var(--line); color: var(--muted-2); }

/* ── 15. Footer ──────────────────────────────────────────────────────────── */
.ftr { background: var(--ink); color: #97abb2; padding-block: clamp(44px, 5vw, 72px) 0; font-size: 0.9063rem; }
.ftr__top { display: grid; gap: clamp(32px, 4vw, 64px); padding-block-end: clamp(32px, 4vw, 52px); }
@media (min-width: 880px) { .ftr__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); } }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { color: var(--accent); }
.brand--footer .brand__by { color: #7d9198; }
.ftr__own { margin-block-start: 18px; max-width: 40ch; }
.ftr__nochan { margin-block-start: 14px; font-size: 0.8438rem; color: #7d9198; }
.ftr__nochan a { color: #b9e5ea; }
.fcontact { margin-block-start: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fcontact__link { color: #fff; text-decoration: none; font-weight: 500; }
.fcontact__link:hover { color: #8fd8e0; }
.fcontact__sep { color: #3a4c52; }
.fcontact__hours { font-size: 0.8438rem; color: #7d9198; width: 100%; }

.ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.fcol__title { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; margin-block-end: 14px; }
.fcol ul { list-style: none; display: grid; gap: 10px; }
.fcol a { text-decoration: none; }
.fcol a:hover { color: #fff; text-decoration: underline; }

.ftr__legal { border-block-start: 1px solid #1e2c31; padding-block: 26px 34px; font-size: 0.8125rem; color: #7d9198; }
.ftr__legal p { max-width: 108ch; }
.ftr__meta { margin-block-start: 14px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.ftr__meta a { color: #a8c7cd; }

/* ── 16. Mobile CTA + consent ────────────────────────────────────────────── */
.mcta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px calc(var(--gutter) / 1.6) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px); border-block-start: 1px solid var(--line);
  transform: translateY(110%); transition: transform 260ms var(--ease);
}
.mcta.is-on { transform: translateY(0); }
@media (min-width: 860px) { .mcta { display: none !important; } }
.mcta__primary, .mcta__second { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.mcta__primary { background: var(--accent); color: #fff; }
.mcta__second { border: 1px solid var(--line); color: var(--ink); }
body:has(.mcta.is-on) .ftr { padding-block-end: 78px; }

.consent {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 120;
  padding: var(--gutter); padding-block-end: calc(var(--gutter) + env(safe-area-inset-bottom));
}
@media (min-width: 720px) { .consent { inset-inline-start: auto; max-width: 460px; } }
.consent__inner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: 0 24px 60px -30px rgba(11,20,23,.55); }
.consent__title { font-size: 1.0313rem; margin-block-end: 8px; }
.consent__body { font-size: 0.875rem; color: var(--muted); margin-block-end: 16px; }
.consent__body a { color: var(--accent-ink); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 17. Tools: TCO calculator ───────────────────────────────────────────── */
.calc { display: grid; gap: clamp(22px, 3vw, 40px); }
@media (min-width: 960px) { .calc { grid-template-columns: 1.08fr 0.92fr; align-items: start; } }
.calc__panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); background: var(--paper); }
.calc__rows { display: grid; gap: 4px; }
.calc__row { display: grid; grid-template-columns: 1fr 132px; gap: 14px; align-items: center; padding-block: 11px; border-block-start: 1px solid var(--line-2); }
.calc__row:first-child { border-block-start: 0; }
.calc__row label { font-size: 0.9375rem; }
.calc__row .field__hint { margin: 2px 0 0; }
.calc__num { position: relative; }
.calc__num input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-align: start; font-variant-numeric: tabular-nums; }
.calc__num::after { content: "₪"; position: absolute; inset-inline-end: 12px; inset-block-start: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 0.875rem; pointer-events: none; }
.calc__num input { padding-inline-end: 30px; }
.calc__seg { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; width: fit-content; }
.calc__seg label { position: relative; }
.calc__seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.calc__seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 20px; font-size: 0.9063rem; cursor: pointer; }
.calc__seg input:checked + span { background: var(--accent); color: #fff; font-weight: 600; }
.calc__seg input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: -2px; }

.calc__out { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: sticky; top: calc(var(--hdr-h) + 20px); }
.calc__outhead { background: var(--ink); color: #fff; padding: 22px 26px; }
.calc__outhead h3 { font-size: 1.0625rem; }
.calc__outhead p { margin: 6px 0 0; font-size: 0.8125rem; color: #9fb3ba; }
.calc__big { padding: 26px; border-block-end: 1px solid var(--line); background: var(--paper); }
.calc__biglabel { margin: 0 0 6px; font-size: 0.8125rem; color: var(--muted); }
.calc__bigval { margin: 0; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__sub { display: grid; grid-template-columns: repeat(2, 1fr); }
.calc__subcell { padding: 20px 26px; border-inline-start: 1px solid var(--line); }
.calc__subcell:first-child { border-inline-start: 0; }
.calc__subcell p { margin: 0; }
.calc__sublabel { font-size: 0.8125rem; color: var(--muted); margin-block-end: 4px !important; }
.calc__subval { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__bars { padding: 22px 26px; border-block-start: 1px solid var(--line); background: var(--tint); display: grid; gap: 12px; }
.calc__bar { display: grid; gap: 5px; }
.calc__barhead { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--muted); }
.calc__barval { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__bartrack { height: 7px; background: var(--tint-2); border-radius: 4px; overflow: hidden; }
.calc__barfill { height: 100%; background: var(--accent); border-radius: 4px; width: 0; transition: width 320ms var(--ease); }
.calc__disc { padding: 16px 26px 20px; font-size: 0.75rem; color: var(--muted-2); background: var(--tint); }

/* ── 18. Tools: computer self-check ──────────────────────────────────────── */
.pcheck { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.pcheck__body { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 20px; }
.pcheck__q { display: grid; gap: 9px; }
.pcheck__q > p { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.pcheck__opts { display: flex; flex-wrap: wrap; gap: 9px; }
.pcheck__verdict { padding: clamp(20px, 2.6vw, 30px); border-block-start: 1px solid var(--line); background: var(--tint); }
.pcheck__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.pcheck__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pcheck__badge--ok { background: var(--ok-soft); color: var(--ok); }
.pcheck__badge--warn { background: var(--warn-soft); color: var(--warn); }
.pcheck__badge--no { background: var(--no-soft); color: var(--no); }
.pcheck__badge--idle { background: var(--tint-2); color: var(--muted); }
.pcheck__verdicttext { margin-block-start: 12px; font-size: 0.9688rem; color: var(--ink-2); max-width: 60ch; }
.pcheck__reasons { margin-block-start: 12px; display: grid; gap: 7px; list-style: none; font-size: 0.875rem; color: var(--muted); }
.pcheck__reasons li { padding-inline-start: 20px; position: relative; }
.pcheck__reasons li::before { content: "—"; position: absolute; inset-inline-start: 0; }

/* ── 19. Misc blocks ─────────────────────────────────────────────────────── */
.kv { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.kv__row { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; border-block-start: 1px solid var(--line); }
.kv__row:first-child { border-block-start: 0; }
.kv__k { padding: 14px 20px; background: var(--tint); font-weight: 600; font-size: 0.875rem; }
.kv__v { padding: 14px 20px; font-size: 0.9375rem; }
@media (max-width: 560px) { .kv__row { grid-template-columns: 1fr; } .kv__v { padding-block-start: 0; } }

/* Highlight box (kv on the right, copy on the left). */
.wherebox {
  display: grid; gap: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 36px); background: var(--paper);
  position: relative; overflow: hidden;
}
.wherebox::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px;
  background: var(--accent);
}
@media (min-width: 860px) { .wherebox { grid-template-columns: 1.15fr 0.85fr; align-items: center; } }
.wherebox__title { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); margin-block-end: 12px; }
.wherebox__body { color: var(--muted); max-width: 52ch; }
.wherebox__meta .kv__k { background: var(--accent-soft); }

.pull { border-inline-start: 2px solid var(--accent); padding-inline-start: clamp(18px, 2.4vw, 28px); font-size: clamp(1.1rem, 1rem + 0.7vw, 1.35rem); line-height: 1.55; color: var(--ink-2); }

.srcs { display: grid; gap: 0; }
.srcs__item { display: grid; gap: 4px; padding-block: 18px; border-block-start: 1px solid var(--line); }
.srcs__item:first-child { border-block-start: 0; }
.srcs__claim { font-weight: 600; font-size: 0.9688rem; }
.srcs__meta { font-size: 0.8125rem; color: var(--muted); }
.srcs__meta a { color: var(--accent-ink); word-break: break-all; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--muted); background: var(--paper); }

/* ── Gated guide ─────────────────────────────────────────────────────────── */
.gq-list { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.gq {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 2vw, 24px);
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  break-inside: avoid;
}
.gq__n {
  margin: 0; font-size: 1.125rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; line-height: 1.3;
}
.gq__title { font-size: 1.0938rem; margin-block-end: 14px; }
.gq__dl { display: grid; gap: 4px 14px; margin: 0; }
@media (min-width: 620px) { .gq__dl { grid-template-columns: 118px 1fr; } }
.gq__dl dt {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted-2);
  padding-block-start: 2px;
}
.gq__dl dd { margin: 0 0 10px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.62; }
.gq__dl dd:last-child { margin-block-end: 0; }
.gq__ok { color: var(--ok) !important; }
.gq__no { color: var(--no) !important; }

/* Ruled writing area for the printed worksheet. */
.gnotes { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.gnotes__line { height: 42px; border-block-start: 1px dashed var(--line); }
.gnotes__line:first-child { border-block-start: 0; }

.err404 { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.err404__code { font-size: clamp(3.5rem, 2rem + 7vw, 7rem); font-weight: 600; letter-spacing: -0.05em; color: var(--tint-2); line-height: 1; }
.err404 .actions { justify-content: center; }

.confirm { text-align: center; padding-block: clamp(56px, 9vw, 120px); }
.confirm__mark { width: 68px; height: 68px; margin-inline: auto; margin-block-end: 26px; border-radius: 50%; background: var(--accent-soft); display: grid; place-content: center; color: var(--accent-ink); }
.confirm__mark svg { width: 30px; height: 30px; }
.confirm .actions { justify-content: center; }

/* ── 20. Motion ──────────────────────────────────────────────────────────── */
/* Content is visible by default and only *becomes* animatable once app.js has
   booted successfully and set .js-reveal. A JavaScript failure can therefore
   never leave a section invisible — the worst case is no animation. */
.reveal { opacity: 1; }
.js-reveal .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 21. Touch and very small screens ────────────────────────────────────── */

/* Give every non-prose control a comfortable thumb target. Links that sit
   inside a sentence are deliberately left alone — WCAG exempts them, and
   inflating them would break the line rhythm of the body copy. */
@media (pointer: coarse) {
  .brand { min-height: 44px; }

  .fcol ul { gap: 0; }
  .fcol a {
    display: flex; align-items: center; min-height: 44px;
  }

  .crumbs ol { min-height: 48px; }
  .crumbs a, .crumbs [aria-current] {
    display: inline-flex; align-items: center; min-height: 40px;
  }

  .fcontact__link { display: inline-flex; align-items: center; min-height: 44px; }
  .stats__src { display: inline-flex; align-items: center; min-height: 40px; }
}

/* iPhone SE and similar: the wordmark plus the burger no longer fit on one
   line at the default sizes, so the header trims down rather than overflow. */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hdr__inner { gap: 10px; }
  .brand { min-width: 0; }
  .brand__logo img { height: 21px; }
  .brand__name { font-size: 0.9375rem; }
  .brand__by { display: none; }
  .brand--footer .brand__by { display: block; }
  .topline { font-size: 0.75rem; }
  .trust__inner { font-size: 0.75rem; }
}

/* ── 22. Print ───────────────────────────────────────────────────────────── */
@media print {
  .hdr, .trust, .topline, .mcta, .consent, .cta__actions, .btn, .faq-search,
  .crumbs, .ftr__cols, .scanfield, .table-hint { display: none !important; }

  :root { --sec-y: 16pt; --gutter: 0; }
  body { font-size: 10.5pt; background: #fff; }
  .wrap { max-width: none; }
  .sec--tint, .sec--ink, .cta { background: #fff !important; color: #000 !important; }
  .sec--ink .sec__lead, .cta__body { color: #333 !important; }
  .faq__a { display: block !important; }
  .card, .checklist, .notice, .gq, .table-scroll, .gnotes { break-inside: avoid; }
  .sec__title, .gq__title, .hero__h1 { break-after: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  a[href^="/"]::after { content: ""; }

  /* Worksheet pages start on a fresh sheet so they stay usable on paper. */
  .gnotes, .table-wrap { page-break-inside: avoid; }
}

@page { margin: 14mm; }
