/* Layout: a working document. Wide display type on a cool paper ground, deep blueprint blue for the
   hero and the security chapter, amber for actions and the offer. Asymmetric 12-col grid. */
:root {
  --paper: #EEF1F6;
  --paper-2: #E1E6EF;
  --sheet: #F9FAFC;
  --ink: #0E1B30;
  --ink-soft: #4A5670;
  --line: #C5CCD9;
  --deep: #14336B;
  --deep-2: #1B3F80;
  --on-deep: #EEF2FA;
  --on-deep-soft: #AFBEDB;
  --line-deep: #2E4F8A;
  --amber: #E6A23C;
  --amber-hi: #F0B357;
  --amber-deep: #B47819;
  --amber-ink: #85540C;
  --sev-high: #B3432D;
  --sev-med: #B57C17;
  --sev-low: #5B6780;
  --sev-ok: #2D7452;
  /* Fixed light values, used to put a light card back inside a dark or amber band. */
  --c-paper: #EEF1F6;
  --c-paper-2: #E1E6EF;
  --c-sheet: #F9FAFC;
  --c-ink: #0E1B30;
  --c-ink-soft: #4A5670;
  --c-line: #C5CCD9;
  --c-amber-ink: #85540C;
  --hero: #14336B;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-read: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 50; background: var(--paper);
}
::selection { background: var(--amber); color: var(--c-ink); }

/* Tone bands re-point the semantic tokens, so every component inside follows the band. */
.tone-dark {
  --paper: var(--hero); --paper-2: #1B3E7C; --sheet: #22488C; --ink: #F3F6FC; --ink-soft: #B3C1DC; --line: #2E5090;
  --amber-ink: var(--amber); --grid: rgba(243, 246, 252, 0.07);
  background-color: var(--paper); color: var(--ink);
}
.tone-light {
  --paper: var(--c-paper); --paper-2: var(--c-paper-2); --sheet: var(--c-sheet); --ink: var(--c-ink);
  --ink-soft: var(--c-ink-soft); --line: var(--c-line); --amber-ink: var(--c-amber-ink); color: var(--ink);
}
.tone-amber { --ink-soft: #3A2C12; --line: var(--amber-deep); --amber-ink: #3A2C12; background-color: var(--amber); color: var(--ink); }
.tone-dark .link-u { text-decoration-color: var(--ink-soft); }
html.at-hero body::before { background: var(--hero); }

.wrap {
  max-width: 84rem; margin-inline: auto;
  padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
}

/* Type */
.f-display { font-family: var(--f-display); font-stretch: 112%; font-weight: 760; letter-spacing: -0.025em; line-height: 0.98; text-wrap: balance; }
.f-read { font-family: var(--f-read); font-optical-sizing: auto; }
.f-mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.on-deep .label { color: var(--on-deep-soft); }

.h1 { font-size: clamp(2.55rem, 6.2vw, 5.9rem); font-weight: 790; }
.h-mega { font-size: clamp(2.7rem, 6.8vw, 6.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.94; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.25rem); }
.h3 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
.lede { font-family: var(--f-read); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.38; }
.prose { font-family: var(--f-read); font-size: 1.125rem; line-height: 1.6; max-width: 62ch; }
.prose-sm { font-family: var(--f-read); font-size: 1.04rem; line-height: 1.55; }

/* Word reveal masks (hero) */
.wmask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wmask > span { display: inline-block; }

/* Footnote-style references that tie the headline to each service */
.ref {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-left: 0.3em;
  font-family: var(--f-mono); font-weight: 500; font-size: 0.2em; letter-spacing: 0; line-height: 1;
  color: var(--c-ink); background: var(--amber); border-radius: 50%; text-decoration: none;
  vertical-align: top; position: relative; top: 0.55em;
}
.num {
  display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; flex: none; border-radius: 50%;
  background: var(--amber); color: var(--c-ink); font-family: var(--f-mono); font-size: 0.66rem; font-weight: 500;
  line-height: 1; letter-spacing: 0; vertical-align: 0.1em; font-style: normal;
}
.num-sm { width: 1.1rem; height: 1.1rem; font-size: 0.6rem; }
.num-lg {
  display: grid; width: clamp(3.4rem, 5vw, 4.6rem); height: clamp(3.4rem, 5vw, 4.6rem);
  font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.95rem);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-stretch: 106%; font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 1.05rem 1.5rem 1.1rem; border-radius: 2px; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--amber); color: var(--c-ink); box-shadow: inset 0 -3px 0 var(--amber-deep); }
.btn-lg { padding: 1.25rem 1.9rem 1.3rem; font-size: 1.08rem; }
.btn-primary:hover { background: var(--amber-hi); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--amber-deep); }
.btn-sm { padding: 0.7rem 1rem 0.75rem; font-size: 0.9rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--deep); }
.link-u {
  font-weight: 600; font-stretch: 106%; color: inherit; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; text-decoration-color: var(--line);
  transition: text-decoration-color .18s ease;
}
.link-u:hover { text-decoration-color: currentColor; }
.nav-link { color: var(--ink-soft); text-decoration: none; transition: color .15s ease; }
.nav-link:hover { color: var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
.on-deep a:focus-visible, .on-deep button:focus-visible { outline-color: var(--amber); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header .logo, .site-header .nav-link, .site-header .link-u { transition: color .3s ease; }
/* Brand lockup: S-circuit symbol (three services joined into one path) + spaced wordmark. */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.logo-mark { display: block; flex: none; width: 2.1rem; height: 2.1rem; }
.logo-mark rect { fill: var(--amber); }
.logo-mark path { fill: none; stroke: var(--c-ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark circle { fill: var(--c-ink); }
.logo-word { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 1.08rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; margin-right: -0.16em; }
.logo-lg .logo-mark { width: 2.9rem; height: 2.9rem; }
.logo-lg .logo-word { font-size: 1.45rem; }
.logo-tag { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep-soft); }
.foot-giant {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(2.8rem, 17vw, 15.4rem); line-height: 0.78; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-deep); user-select: none; overflow: hidden;
}

/* Hero schematic */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 92%); mask-image: linear-gradient(180deg, #000 25%, transparent 92%);
}
.schem { background: var(--sheet); color: var(--ink); border-radius: 3px; padding: clamp(1.1rem, 2vw, 1.6rem); }
.frame { position: relative; border: 1.5px dashed var(--amber-deep); border-radius: 2px; padding: 2.1rem 1rem 1rem; }
.frame-tag {
  position: absolute; top: -0.7rem; left: 0.75rem; background: var(--sheet); padding: 0 0.5rem;
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--amber-ink); letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.flow { position: relative; display: grid; gap: 0.95rem; }
.rail { position: absolute; left: 0.43rem; top: 0.5rem; bottom: 0.5rem; width: 1.5px; background: var(--line); }
.pulse { position: absolute; left: -3px; top: 0; width: 7.5px; height: 7.5px; border-radius: 50%; background: var(--amber-deep); opacity: 0; }
.node { position: relative; padding-left: 1.75rem; display: grid; gap: 0.2rem; }
.node::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.28rem; width: 0.7rem; height: 0.7rem;
  border: 1.5px solid var(--ink-soft); background: var(--sheet); border-radius: 50%;
}
.node-meta { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.6rem; }
.node p { font-size: 0.95rem; line-height: 1.38; }
.checks { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; }
.checks li { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.45rem; }
.checks li::before { content: ""; width: 6px; height: 6px; background: var(--amber); }

/* Commitments strip */
.commit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.commit { display: grid; gap: 0.45rem; align-content: start; padding: 2rem 1rem 2.2rem 1.1rem; border-left: 1px solid var(--line); }
.commit:nth-child(odd) { border-left: 0; padding-left: 0; }
.commit:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .commit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .commit { padding: 2.6rem 1.5rem 2.8rem; }
  .commit:nth-child(n) { border-left: 1px solid var(--line); border-top: 0; padding-left: 1.5rem; }
  .commit:first-child { border-left: 0; padding-left: 0; }
}
.commit-num {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.35rem, 5.3vw, 5.4rem);
  line-height: 0.86; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.commit-unit { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-ink); margin-top: 0.5rem; }
.commit-text { font-family: var(--f-read); font-size: 1.02rem; line-height: 1.42; color: var(--ink-soft); max-width: 24ch; }

/* Hero: service legend, commitments, self-check */
.legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.legend li { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.assure { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.assure li { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-mono); font-size: 0.72rem; color: var(--ink-soft); }
.assure li::before { content: ""; width: 0.55rem; height: 0.3rem; border-left: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber); transform: rotate(-45deg) translateY(-2px); }
.assure-link { color: var(--amber-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.assure-link:hover { color: var(--ink); }
.symptoms { border-top: 1px solid var(--line); }
.symptom {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: start;
  padding: 1rem 0.85rem; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .15s ease;
}
.symptom:hover { background: var(--paper-2); }
.symptom input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.symptom .box {
  width: 1.3rem; height: 1.3rem; margin-top: 0.12rem; border: 1.5px solid var(--ink-soft); border-radius: 2px;
  display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease;
}
.symptom input:checked ~ .box { background: var(--amber); border-color: var(--amber); }
.symptom input:checked ~ .box::after {
  content: ""; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.symptom:has(input:checked) { background: var(--sheet); }
.symptom input:focus-visible ~ .box { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Services */
.svc { border-top: 2px solid var(--ink); }
.tick-list { display: grid; gap: 0.65rem; }
.tick-list li { position: relative; padding-left: 1.15rem; font-size: 0.98rem; line-height: 1.45; color: var(--ink); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--amber); }
.svc-aside { border-left: 1px solid var(--line); padding-left: 1.25rem; }

/* Process */
.steps { position: relative; }
.pline { position: absolute; background: var(--line); }
.pline-fill { position: absolute; inset: 0; background: var(--deep); transform-origin: left center; }
.step { position: relative; }
.step-mark {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 2px solid var(--deep); background: var(--paper-2); color: var(--deep);
  font-family: var(--f-mono); font-size: 0.8rem; font-weight: 500; position: relative; z-index: 1;
  transition: background-color .3s ease, color .3s ease;
}
.step.is-on .step-mark { background: var(--deep); color: var(--on-deep); }
.step-out { border-top: 1px dashed var(--line); padding-top: 0.75rem; }
@media (min-width: 1024px) {
  .pline { left: 1.3rem; right: 1.3rem; top: 1.25rem; height: 2px; }
}
@media (max-width: 1023.98px) {
  .pline { left: 1.25rem; top: 1.3rem; bottom: 1.3rem; width: 2px; }
  .pline-fill { transform-origin: center top; }
  .step { padding-left: 4rem; }
  .step-mark { position: absolute; left: 0; top: -0.35rem; }
}

/* Reasons */
.reason { border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }

/* Security band */
.on-deep { background: var(--deep); color: var(--on-deep); }
.sec-block { border-top: 1px solid var(--line-deep); }
.report { background: var(--sheet); color: var(--ink); border-radius: 3px; position: relative; overflow: hidden; }
.report-head { border-bottom: 1px solid var(--line); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, var(--paper-2) 85%, var(--amber) 100%); mix-blend-mode: multiply; }
.finding { border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding-btn { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem 0.9rem; align-items: start; padding: 0.95rem 1.1rem; background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; }
.finding-btn:hover { background: var(--paper); }
.sev { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.sev::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.sev-high { color: var(--sev-high); } .sev-med { color: var(--sev-med); } .sev-low { color: var(--sev-low); }
.status { font-family: var(--f-mono); font-size: 0.68rem; color: var(--ink-soft); white-space: nowrap; }
.status-ok { color: var(--sev-ok); }
.finding-body { padding: 0 1.1rem 1.1rem; display: grid; gap: 0.75rem; }
.finding-body dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.finding-body dd { font-family: var(--f-read); font-size: 1rem; line-height: 1.45; }
.chev { font-family: var(--f-mono); font-size: 0.9rem; color: var(--ink-soft); width: 1rem; text-align: center; }

/* Entry points */
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--sheet); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-primary:disabled:hover { background: var(--amber); }
.entry-table tfoot th { padding-left: 0; text-align: left; font-weight: 500; font-size: 0.98rem; vertical-align: middle; }
.entry-table tfoot .price-row td, .entry-table tfoot .price-row th { border-bottom: 1px solid var(--line); }
.entry-price {
  display: inline-grid; justify-items: center; gap: 0.2rem; text-align: center;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 760; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.05; letter-spacing: -0.02em;
}
.entry-price small { display: block; font-family: var(--f-read); font-stretch: 100%; font-weight: 400; font-size: 0.85rem; letter-spacing: 0; color: var(--ink-soft); }
.entry-m .entry-price { justify-items: end; text-align: right; }
.entry-name { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.1; overflow-wrap: break-word; hyphens: auto; }
.report .finding-btn:focus-visible { outline-color: var(--c-ink); outline-offset: -3px; }
[hidden] { display: none !important; }

/* Quote builder */
.opt { font-family: var(--f-mono); font-size: 0.68rem; color: var(--ink-soft); font-weight: 400; margin-left: 0.5rem; }
.qlegend { font-weight: 650; font-stretch: 104%; font-size: 1.02rem; margin-bottom: 0.85rem; padding: 0; }
.qsub { border-left: 2px solid var(--ink); padding-left: 1.25rem; }
.qsub-tag { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.toggle input[type="radio"] + span::before { border-radius: 50%; }
.toggle-lg span { padding: 0.8rem 1.05rem; font-size: 1rem; gap: 0.6rem; }
.toggle-lg span::before { display: none; }

.quote { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 3px; }
.quote-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; padding: 1.4rem; border-bottom: 1.5px solid var(--ink); }
.quote-for {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1; letter-spacing: -0.025em; margin-top: 0.4rem; overflow-wrap: break-word; hyphens: auto;
}
.quote-code { display: grid; justify-items: end; gap: 0.35rem; text-align: right; }
@media (max-width: 520px) {
  .quote-head { grid-template-columns: minmax(0, 1fr); }
  .quote-code { display: flex; align-items: center; gap: 0.6rem; justify-items: start; text-align: left; }
}
.quote-code span { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.quote-code b { font-family: var(--f-mono); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; background: var(--ink); color: var(--sheet); padding: 0.35rem 0.55rem; border-radius: 2px; white-space: nowrap; }
/* Ticket notches where the price is torn off from the scope. */
.quote-price::before, .quote-price::after {
  content: ""; position: absolute; top: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); border: 1.5px solid var(--ink);
}
.quote-price::before { left: -14px; clip-path: inset(0 0 0 50%); }
.quote-price::after { right: -14px; clip-path: inset(0 50% 0 0); }

/* Amber offer band */
.tone-amber .num { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.tone-amber .tone-light .num { box-shadow: none; }
.tone-amber .tick-list li::before { background: var(--c-ink); }
.tone-amber .toggle span { border-color: var(--c-ink); }
.tone-amber .toggle span:hover { background: var(--c-sheet); }
.tone-amber .input { border-color: var(--c-ink); }
.offer-note { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--c-ink); color: var(--amber); padding: 0.45rem 0.8rem; border-radius: 2px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.quote-body { padding: 1.4rem; border-bottom: 1px dashed var(--line); min-height: 11rem; }
.quote-lines { display: grid; gap: 1.1rem; }
.quote-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.75rem; align-items: start; }
.quote-empty { display: grid; gap: 0.6rem; }
.quote-empty span { height: 0.7rem; background: var(--paper-2); border-radius: 2px; }
.quote-empty span:nth-child(2) { width: 78%; }
.quote-empty span:nth-child(3) { width: 52%; }
.quote-empty p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.quote-price { position: relative; padding: 1.4rem; border-bottom: 1px dashed var(--line); display: grid; gap: 0.4rem; }
.quote-big { font-size: clamp(3rem, 5.4vw, 4rem); line-height: 0.92; font-stretch: 125%; font-weight: 800; }
.stamp {
  position: absolute; right: 1.1rem; top: -0.95rem; display: grid; background: var(--sheet); justify-items: center; gap: 0.15rem;
  padding: 0.55rem 0.75rem 0.5rem; border: 2.5px solid var(--deep); border-radius: 4px; color: var(--deep);
  transform: rotate(-8deg); opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.stamp span { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.stamp small { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.04em; }
.stamp.is-on { opacity: 0.94; }
@media (max-width: 420px) { .stamp { right: 0.7rem; padding: 0.45rem 0.55rem; } .stamp span { font-size: 0.66rem; } }
.quote-incl { padding: 1.1rem 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1rem; border-bottom: 1px dashed var(--line); }
.quote-incl li { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--f-mono); font-size: 0.7rem; line-height: 1.4; color: var(--ink-soft); }
.quote-incl li::before { content: ""; flex: none; width: 0.55rem; height: 0.3rem; border-left: 1.5px solid var(--deep); border-bottom: 1.5px solid var(--deep); transform: rotate(-45deg) translateY(-1px); }
.quote-foot { padding: 1.25rem 1.4rem 1.4rem; }

/* Self-check */
.check-row { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.check-row:last-child { border-bottom: 1px solid var(--line); }
.check-q { font-size: 1rem; line-height: 1.45; font-weight: 550; }
.toggle-ans span { min-width: 3.5rem; justify-content: center; }
.toggle-ans span::before { display: none; }
.ans-si input:checked + span { background: var(--sev-ok); border-color: var(--sev-ok); color: var(--sheet); }
.ans-no input:checked + span { background: var(--sev-high); border-color: var(--sev-high); color: var(--sheet); }
.ans-ns input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.meter { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.seg { height: 10px; border-radius: 1px; background: var(--paper-2); transition: background-color 0.25s ease; }
.seg-si { background: var(--sev-ok); } .seg-no { background: var(--sev-high); } .seg-ns { background: var(--amber); }
.sev-ok { color: var(--sev-ok); }
.fix-list { display: grid; gap: 0.9rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.fix-list li { position: relative; padding-left: 1.1rem; }
.fix-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px; background: var(--sev-high); }
.entry-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.entry-table th, .entry-table td { padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-table thead th { border-bottom: 2px solid var(--ink); padding-top: 1.5rem; padding-bottom: 1.5rem; vertical-align: bottom; font-weight: 700; }
.entry-table thead th:first-child { width: 31%; padding-left: 0; }
.entry-table thead th + th { vertical-align: top; }
.entry-table tbody th { padding-left: 0; font-weight: 500; font-size: 0.98rem; line-height: 1.4; }
.entry-table td { text-align: center; vertical-align: middle; }
.entry-table tfoot td { border-bottom: 0; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.entry-table .col-full { background: var(--sheet); }
.ck { display: inline-block; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translateY(-2px); }
.ck-no { font-family: var(--f-mono); color: var(--line); }
.entry-m { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.own { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.own li { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-stretch: 104%; font-size: 1rem; }
.own li::before { content: ""; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--amber-deep); border-bottom: 2px solid var(--amber-deep); transform: rotate(-45deg) translateY(-2px); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.35rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 680; font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.25; }
.faq-sign { font-family: var(--f-mono); font-size: 1.15rem; color: var(--ink-soft); transition: transform .2s ease; flex: none; }
.faq[open] .faq-sign { transform: rotate(45deg); }
.faq summary:hover .faq-q { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; text-decoration-color: var(--line); }
.faq p { padding-bottom: 1.5rem; max-width: 62ch; color: var(--ink-soft); }

/* Diagnostic facts */
.diag { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
@media (min-width: 640px) { .diag { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.diag dd { margin-top: 0.35rem; font-weight: 650; font-stretch: 104%; font-size: 1.02rem; line-height: 1.3; }
.diag div:last-child { grid-column: 1 / -1; }
.diag div:last-child dd { font-weight: 500; font-family: var(--f-read); font-size: 1.04rem; }

/* Form */
.sheet { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 3px; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-stretch: 104%; font-size: 0.92rem; }
.input {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-bottom: 2px solid var(--ink-soft);
  border-radius: 2px; padding: 0.8rem 0.85rem; font-family: var(--f-display); font-size: 1rem; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.input:hover { border-bottom-color: var(--ink); }
.input:focus { outline: none; background: var(--sheet); border-color: var(--ink); border-bottom-color: var(--amber-deep); box-shadow: 0 0 0 3px var(--paper-2); }
.input[aria-invalid="true"] { border-bottom-color: var(--sev-high); }
textarea.input { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.err { font-family: var(--f-mono); font-size: 0.72rem; color: var(--sev-high); }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle span {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.85rem; border: 1px solid var(--line);
  border-radius: 2px; background: var(--paper); font-size: 0.92rem; font-weight: 550; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.toggle span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--ink-soft); border-radius: 1px; }
.toggle input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toggle input:checked + span::before { background: var(--amber); border-color: var(--amber); }
.toggle input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.notice { border-left: 3px solid var(--amber); background: var(--paper); }

.site-footer { background: var(--ink); color: var(--paper); }
.site-footer .nav-link { color: var(--on-deep-soft); }
.site-footer .nav-link:hover { color: var(--paper); }
.site-footer .logo { color: var(--paper); }
.site-footer .nav-link { font-size: 0.98rem; }
.foot-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.25rem; }

/* Before and after */
.ba-head, .ba-row { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.5rem 1rem; }
.ba-head { display: none; }
.ba-row { padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ba-row:first-of-type { border-top: 2px solid var(--ink); }
.ba-before { font-family: var(--f-read); font-size: 1.06rem; line-height: 1.5; color: var(--ink-soft); }
.ba-after { font-weight: 600; font-stretch: 104%; font-size: 1.04rem; line-height: 1.45; }
.ba-tag { display: block; font-family: var(--f-mono); font-size: 0.66rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem; }
.ba-after .ba-tag { color: var(--amber-ink); }
@media (min-width: 768px) {
  .ba-head, .ba-row { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
  .ba-head { display: grid; padding-bottom: 0.9rem; }
  .ba-row .ba-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ba-before, .ba-after { grid-column: auto; }
}
@media (max-width: 767.98px) { .ba-before, .ba-after { grid-column: 2; } }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); border-top: 1px solid var(--line);
  padding: 0.7rem max(16px, env(safe-area-inset-right, 0px)) calc(0.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-cta.is-shown { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

.min-w-0 { min-width: 0; }
.hyph { hyphens: auto; overflow-wrap: break-word; }
.noscript { max-width: 40rem; margin: 4rem auto; padding: 0 20px; font-family: var(--f-read); font-size: 1.1rem; line-height: 1.5; }
.noscript a { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
