/* Northshelf accessibility audits: site styles.
   Colour pairs are checked by site/test/contrast.js and every page by site/test/check.js (axe-core).
   Sizes are in rem so text scales with the browser's settings; breakpoints are in rem so zoom
   switches to the narrow layout instead of scrolling sideways. Fonts are served from this site
   (SIL Open Font License, see assets/fonts/). */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf8f4;
  --bg-alt: #f3efe7;
  --surface: #ffffff;
  --ink: #15212b;
  --ink-muted: #475561;
  --line: #ddd6ca;
  --line-strong: #6f7883;
  --dot: #d8d0c2;
  --accent: #0b5e59;
  --accent-strong: #07413d;
  --accent-tint: #e2efec;
  --on-accent: #ffffff;
  --gold: #e9b949;
  --note: #fff5dc;
  --note-line: #e3c36f;
  --danger: #a61b1b;
  --danger-tint: #fdeceb;
  --success: #17633a;
  --success-tint: #e8f3ec;
  --success-line: #b9dcc6;
  --sev-high: #b42318;
  --sev-med: #c9820a;
  --sev-low: #8b97a1;
  --focus-ring: #15212b;
  --cta-bg: #0b5e59;
  --cta-ink: #ffffff;
  --cta-muted: #d7ece8;
  --cta-card: #0e6b65;
  --cta-line: #5f9d97;
  --footer-bg: #15212b;
  --footer-ink: #e8edf0;
  --footer-muted: #bcc6ce;
  --footer-focus: #ffd27a;
  --shadow: 0 1px 2px rgba(21, 33, 43, 0.06), 0 6px 20px rgba(21, 33, 43, 0.06);
  --shadow-lg: 0 2px 4px rgba(21, 33, 43, 0.05), 0 18px 48px -12px rgba(21, 33, 43, 0.22);
  --radius: 10px;
  --radius-lg: 18px;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", Charter, "Sitka Text", Cambria, Georgia, serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1418;
    --bg-alt: #131b20;
    --surface: #182228;
    --ink: #e8edf0;
    --ink-muted: #b4c0c8;
    --line: #2c3a42;
    --line-strong: #85929b;
    --dot: #26333b;
    --accent: #72d4c9;
    --accent-strong: #a3e6de;
    --accent-tint: #15363a;
    --on-accent: #06201e;
    --note: #2a2414;
    --note-line: #7a6430;
    --danger: #ffa39b;
    --danger-tint: #3b1715;
    --success: #8edca8;
    --success-tint: #12301f;
    --success-line: #2e5a3f;
    --sev-high: #ff8f84;
    --sev-med: #f2b84b;
    --sev-low: #8d9aa4;
    --focus-ring: #ffd27a;
    --cta-bg: #0f3d3a;
    --cta-ink: #eef6f4;
    --cta-muted: #c3dfda;
    --cta-card: #134a46;
    --cta-line: #3f7a74;
    --footer-bg: #0a0f12;
    --footer-ink: #e8edf0;
    --footer-muted: #b4c0c8;
    --footer-focus: #ffd27a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 48px -12px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 650;
  letter-spacing: -0.018em;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.95rem; line-height: 1.15; }
h3 { font-size: 1.22rem; font-weight: 650; letter-spacing: -0.005em; }

@media (min-width: 48rem) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.35rem; }
}

@media (min-width: 64rem) {
  h1 { font-size: 3.7rem; }
}

p, ul, ol, dl, table, figure, blockquote, pre { margin: 0 0 1rem; }

ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.35rem; }

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }

strong { font-weight: 650; }

code, kbd, pre { font-family: var(--font-mono); font-size: 0.92em; }

img, svg { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

main:focus { outline: none; }

[hidden] { display: none !important; }

.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: 1rem;
  top: -10rem;
  z-index: 10;
  padding: 0.75rem 1.1rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 650;
}

.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 40rem) {
  .container { padding-inline: 1.5rem; }
}

.page-narrow { max-width: 44rem; }

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 42rem;
}

.small { font-size: 0.95rem; }
.muted { color: var(--ink-muted); }
.nowrap { white-space: nowrap; }

.placeholder {
  background: var(--note);
  border: 1px dashed var(--note-line);
  border-radius: 4px;
  padding: 0 0.3em;
  color: var(--ink);
  font-style: normal;
}

.preview-bar {
  background: var(--note);
  border-bottom: 1px solid var(--note-line);
  font-size: 0.95rem;
  text-align: center;
  padding: 0.45rem 1rem;
}

.preview-bar p { margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(7, 65, 61, 0.25), 0 6px 16px -6px rgba(7, 65, 61, 0.45);
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-light {
  background: #ffffff;
  color: #07413d;
}

.btn-light:hover { background: #e9f4f2; color: #07413d; }

.btn-small {
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  font-size: 1rem;
}

.btn-block { width: 100%; }

.btn-arrow { width: 1.15em; height: 1.15em; flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .btn-arrow { transition: transform 0.15s ease; }
  .btn:hover .btn-arrow { transform: translateX(3px); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.brand:hover { color: var(--ink); }

.brand-mark { flex: none; width: 2.2rem; height: 2.2rem; }

.brand-text { display: flex; flex-direction: column; line-height: 1.12; }

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li { margin-top: 0; }

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration-color: transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.site-nav .nav-signin {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.95rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.header-call svg { width: 1.1rem; height: 1.1rem; flex: none; }

.header-call:hover { background: var(--accent); color: var(--on-accent); }

/* The call button sits right after the name, so the reading and Tab order match what's on screen at
   every width: on a wide screen the menu follows it on the right; on a phone the button sits at the
   right of the first row and the menu takes the row below. */
.header-call { margin-right: auto; }
.hc-word { display: none; }

@media (max-width: 40rem) {
  .header-inner { gap: 0.5rem 1rem; padding-block: 0.75rem 0.6rem; }
  .header-call { margin: 0 0 0 auto; padding: 0.35rem 0.85rem; }
  .hc-number { display: none; }
  .hc-word { display: inline; }
  .site-nav { flex-basis: 100%; }
  .site-nav ul { gap: 0 1rem; }
  .site-nav a { font-size: 0.97rem; padding: 0.3rem 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: 3.5rem; }

@media (min-width: 48rem) {
  .section { padding-block: 5.25rem; }
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 48rem; margin-bottom: 2.25rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.8rem 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
}

.eyebrow-mark {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 2.75rem 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 72% 32%, #000 25%, transparent 78%);
}

@media (min-width: 48rem) {
  .hero { padding-block: 4.5rem 4.5rem; }
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; }
}

.hero h1 { max-width: 14.5em; font-size: 2.15rem; }

@media (min-width: 48rem) {
  .hero h1 { font-size: 2.9rem; }
}

@media (min-width: 64rem) {
  .hero h1 { font-size: 3.25rem; }
}

.hero-lead { margin-bottom: 1.4rem; }

@media (max-width: 40rem) {
  .hero-lead { font-size: 1.1rem; }
  .eyebrow { margin-bottom: 0.85rem; }
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

/* The offer in one glance: price, the two next steps, what's included. */
.offer {
  max-width: 36rem;
  margin: 0 0 1.1rem;
  padding: 1.2rem 1.3rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.offer-price { display: flex; align-items: baseline; gap: 0.5rem; margin: 0 0 0.85rem; }

.offer-amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
}

.offer-unit { color: var(--ink-muted); font-weight: 650; }

.btn-row.offer-buttons { margin: 0 0 1.05rem; gap: 0.65rem; }
.offer-buttons .btn { flex: 1 1 auto; }

.btn-icon { width: 1.15em; height: 1.15em; flex: none; }
.btn-call { font-variant-numeric: tabular-nums; }

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 1rem;
}

.offer-list li { margin: 0; position: relative; padding-left: 1.75rem; }

.offer-note { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--ink-muted); }

/* Phone hours under the Call buttons, in the contact card and in the footer (brand\contact.json "hours"). */
.offer-hours { margin: -0.35rem 0 1rem; font-size: 0.95rem; font-weight: 650; color: var(--ink-muted); }
.cta-hours { margin: -0.35rem 0 1rem; font-size: 0.98rem; color: var(--cta-muted); }
.footer-hours { color: var(--footer-muted); font-size: 0.95rem; }
.offer-note a { font-weight: 650; white-space: nowrap; }

.got-email {
  max-width: 36rem;
  padding: 0.85rem 1.1rem;
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

.got-email p { margin: 0; font-size: 1rem; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 1rem;
  color: var(--ink-muted);
}

.hero-points li { margin: 0; position: relative; padding-left: 1.75rem; }

.hero-points li::before,
.check-list li::before,
.offer-list li::before,
.includes li::before,
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230b5e59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

@media (prefers-color-scheme: dark) {
  .hero-points li::before,
  .check-list li::before,
  .offer-list li::before,
  .includes li::before,
  .trust-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2372d4c9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* The example page with its before/after switch */

.demo {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1rem 1.1rem;
}

/* On a phone the picture gets as much width as it can, so its words stay readable. */
@media (max-width: 40rem) {
  .demo { padding: 0.75rem 0.6rem 0.9rem; border-radius: 18px; }
  .demo-bar, .legend-stack, .demo figcaption { margin-inline: 0.4rem; }
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin: 0 0.15rem 0.85rem;
}

.demo-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Two switches: Website or Phone, and Before or After fixes (site.js). A button keeps its size when it is
   pressed, so nothing moves when a switch is used. */
.demo-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.demo-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
}

.demo-btn-icon { width: 1.1em; height: 1.1em; flex: none; }

.demo-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.demo-btn:focus-visible { outline-offset: 2px; }

/* On a phone each switch gets the full width, one above the other, at the same text size. */
@media (max-width: 40rem) {
  .demo-switches { flex: 1 1 100%; display: grid; }
  .demo-toggle { display: flex; }
  .demo-btn { flex: 1 1 0; padding-inline: 0.6rem; }
}

.illus {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.demo[data-state="after"] .state-before { display: none; }
.demo:not([data-state="after"]) .state-after { display: none; }
.demo[data-view="phone"] .view-website { display: none; }
.demo:not([data-view="phone"]) .view-phone { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .demo[data-state="after"] .state-after { animation: fade-in 0.3s ease; }
  .demo[data-state="before"] .state-before { animation: fade-in 0.3s ease; }
  .demo[data-view="phone"] .view-phone { animation: fade-in 0.3s ease; }
  .demo[data-view="website"] .view-website { animation: fade-in 0.3s ease; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.illus-legend {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.98rem;
}

.illus-legend li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.illus-legend li + li { margin-top: 0.7rem; }

.illus-legend strong { font-weight: 650; }

/* Each finding ends with its WCAG criteria on a line of their own, the way the report lists them. */
.crit-line {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.88em;
  color: var(--ink-muted);
}

@media (max-width: 40rem) {
  .illus-legend { font-size: 0.95rem; }
}

/* All four lists share one spot, so the figure keeps its height whichever view is shown (site.js). */
.legend-stack { display: grid; }
.legend-stack > .legend { grid-area: 1 / 1; }
.legend.is-off { visibility: hidden; }

/* Under the website view's list: the phone view has one more problem. */
.legend-note {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.6rem;
  align-items: start;
  margin: 0.95rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.legend-note strong { color: var(--ink); font-weight: 650; }

.note-badge {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}

.note-badge svg { width: 1rem; height: 1rem; }

.issue-badge,
.fix-badge {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.issue-badge { background: #b42318; }
.fix-badge { background: #17633a; }
.fix-badge svg { width: 0.95rem; height: 0.95rem; }

.crit {
  white-space: nowrap;
  color: var(--ink-muted);
  font-size: 0.92em;
}

.demo figcaption {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Key dates and the site's own test result */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 2.75rem 0 0.85rem;
}

.fact-wide { grid-column: 1 / -1; }

@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .fact-wide { grid-column: auto; }
}

.facts li {
  margin: 0;
  padding: 0.85rem 1rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

@media (min-width: 48rem) {
  .facts li { padding: 1.15rem 1.25rem 1.2rem; }
}

.fact-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.fact-big {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 48rem) {
  .fact-big { font-size: 1.85rem; }
}

.fact-text { display: block; color: var(--ink-muted); font-size: 0.98rem; margin-top: 0.2rem; }

.source-line {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0;
}

.proof {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--success-tint);
  border: 1px solid var(--success-line);
  border-radius: 14px;
}

.proof p { margin: 0; font-size: 1rem; }

.proof-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--success);
}

.proof-icon svg { width: 1.45rem; height: 1.45rem; }

/* ---------- What you can count on ---------- */

.assure {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.assure-grid {
  display: grid;
  gap: 2.25rem;
}

.assure-head { max-width: 46rem; }
.assure-head .lead { margin-bottom: 0; }

.assure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 40rem) {
  .assure-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 72rem) {
  .assure-list { grid-template-columns: repeat(4, 1fr); }
}

.assure-list > li {
  margin: 0;
  padding: 1.4rem 1.3rem 1.3rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.assure-list h3 { margin: 0 0 0.4rem; }
.assure-list p { margin: 0; }

.assure-icon {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.assure-icon svg { width: 1.45rem; height: 1.45rem; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-grid > li { margin: 0; }

.card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.45rem 1.25rem;
}

.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.95rem;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
}

.card-icon svg { width: 1.5rem; height: 1.5rem; }

/* On a phone the icon sits beside the heading, so six cards take less scrolling. */
@media (max-width: 40rem) {
  .card { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.85rem; align-items: center; padding: 1.15rem; }
  .card-icon { width: 2.6rem; height: 2.6rem; margin: 0; }
  .card h3 { margin: 0; }
  .card p { grid-column: 1 / -1; margin-top: 0.6rem; }
}

/* Report preview */

.report-preview { margin: 3.5rem 0 0; }

.report-caption {
  max-width: 48rem;
  margin-bottom: 1.25rem;
  color: var(--ink-muted);
}

.report-caption strong { color: var(--ink); }

.report-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 62rem) {
  .report-grid { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
}

.report-sheet {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.7rem 1.5rem 1.5rem;
  overflow: hidden;
}

.report-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent);
}

.report-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.report-site {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 650;
  line-height: 1.2;
}

.report-meta { margin: 0.25rem 0 1.3rem; font-size: 0.95rem; color: var(--ink-muted); }

.report-total { display: flex; align-items: baseline; gap: 0.5rem; margin: 0 0 0.65rem; font-weight: 650; }

.report-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 650;
  line-height: 1;
}

.sev-bar {
  display: flex;
  gap: 3px;
  height: 0.8rem;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.sev-bar .sev-high { flex: 6; }
.sev-bar .sev-med { flex: 11; }
.sev-bar .sev-low { flex: 6; }

.sev-high { background: var(--sev-high); }
.sev-med { background: var(--sev-med); }
.sev-low { background: var(--sev-low); }

.sev-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: 0.95rem;
}

.sev-legend li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }

.sev-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; }

.report-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
  gap: 0.75rem;
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.report-split div { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.report-split dt { font-size: 0.88rem; color: var(--ink-muted); font-weight: 600; line-height: 1.35; }
.report-split dd { margin: 0.2rem 0 0; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 650; line-height: 1.1; }

.finding-label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.finding-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
}

.finding-tags li { margin: 0; }

.tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
  background: var(--bg);
}

.tag-high { border-color: var(--danger); color: var(--danger); background: var(--danger-tint); }

.finding h3 { font-size: 1.3rem; }

.finding dl { display: grid; gap: 0.15rem 1.25rem; margin: 0 0 1rem; }

@media (min-width: 48rem) {
  .finding dl { grid-template-columns: 9.5rem 1fr; }
}

.finding dt { font-weight: 700; }
.finding dd { margin: 0 0 0.6rem; }

.code-block {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #15212b;
  color: #e8edf0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (prefers-color-scheme: dark) {
  .code-block { background: #0a0f12; border: 1px solid var(--line); }
}

/* ---------- Price ---------- */

.price-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  align-items: start;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.price-card-main {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.price-card h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 3.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-unit { color: var(--ink-muted); font-weight: 600; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
}

.price-note { font-size: 0.95rem; color: var(--ink-muted); margin: 0.9rem 0 0; }

.price-footnote { margin-top: 1.5rem; font-size: 0.98rem; color: var(--ink-muted); max-width: 46rem; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 72rem) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.steps > li {
  counter-increment: step;
  margin: 0;
  position: relative;
  padding: 1.4rem 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.steps > li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
}

.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; }

/* What happens after you order: when on the left, what on the right, joined by a line. Stacks on a phone. */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 54rem;
}

.timeline > li {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 0.25rem 1.5rem;
  margin: 0;
}

.step-when {
  margin: 0;
  padding-top: 0.1rem;
  font-weight: 700;
  color: var(--accent);
}

.step-body {
  position: relative;
  padding: 0 0 1.6rem 1.6rem;
  border-left: 2px solid var(--line-strong);
}

.timeline > li:last-child .step-body { padding-bottom: 0.2rem; }

.step-body::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-alt);
}

.step-body h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.step-body p { margin: 0; }

@media (max-width: 40rem) {
  .timeline > li { grid-template-columns: 1fr; gap: 0; }
  .step-when { position: relative; padding: 0 0 0.3rem 1.6rem; border-left: 2px solid var(--line-strong); }
  .step-when::before {
    content: "";
    position: absolute;
    left: -0.55rem;
    top: 0.3rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg-alt);
  }
  .step-body::before { display: none; }
}

/* ---------- The rule ---------- */

.rule-grid {
  display: grid;
  gap: 2rem 3rem;
}

@media (min-width: 62rem) {
  .rule-grid { grid-template-columns: 1.55fr 1fr; align-items: start; }
}

.rule-main > h3 { margin-top: 2rem; }

.plain-list {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  counter-reset: req;
}

.plain-list li {
  counter-increment: req;
  position: relative;
  margin: 0;
  padding: 0.7rem 0.9rem 0.7rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plain-list li::before {
  content: counter(req);
  position: absolute;
  left: 0.8rem;
  top: 0.75rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.sources {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

@media (min-width: 62rem) {
  .sources { position: sticky; top: 1.5rem; }
}

.sources h3 { margin-bottom: 0.75rem; }

.sources ul { list-style: none; padding: 0; }

.sources li { padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.sources li:last-child { border-bottom: 0; padding-bottom: 0; }

.sources .src-meta { display: block; font-size: 0.92rem; color: var(--ink-muted); }

.callout {
  background: var(--note);
  border: 1px solid var(--note-line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.callout p:last-child { margin-bottom: 0; }

/* ---------- Tools and limits ---------- */

.limits-grid {
  display: grid;
  gap: 2rem 3rem;
}

@media (min-width: 56rem) {
  .limits-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
}

.meter-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.meter-figure p { margin-bottom: 0.7rem; font-weight: 650; }

.meter-headline { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }

.meter-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 650;
  line-height: 1;
  color: var(--accent);
}

.meter {
  position: relative;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 57%;
  background: var(--accent);
}

.meter-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.meter-figure figcaption { font-size: 0.95rem; color: var(--ink-muted); margin-top: 0.9rem; }

/* ---------- FAQ ---------- */

.faq-hint { margin: 0; color: var(--ink-muted); font-size: 1rem; }

.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 52rem;
}

/* Questions and the rule's longer lists open in place. The browser's own details element works
   without JavaScript, with the keyboard and with screen readers. */
.faq-item,
details.more {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

details.more { margin: 0.25rem 0 1.5rem; }

.faq-item > summary,
details.more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  line-height: 1.4;
}

.faq-item > summary { font-size: 1.1rem; }

.faq-item > summary::-webkit-details-marker,
details.more > summary::-webkit-details-marker { display: none; }

.faq-item > summary::after,
details.more > summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin: -0.3rem 0.2rem 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.faq-item[open] > summary::after,
details.more[open] > summary::after { transform: rotate(225deg); margin-top: 0.35rem; }

.faq-item > summary:hover,
details.more > summary:hover { color: var(--accent); }

.faq-item[open] > summary,
details.more[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }

.faq-item > p { margin: 0.9rem 1.1rem 1.1rem; }

details.more > p,
details.more > ul { margin: 0.9rem 1.1rem 1rem; }

details.more > .plain-list { margin: 0.9rem 0.9rem 1rem; }

/* ---------- Closing call to action ---------- */

.cta-band {
  --focus-ring: #ffd27a;
  background: var(--cta-bg);
  color: var(--cta-ink);
  padding-block: 3.75rem;
}

@media (min-width: 48rem) {
  .cta-band { padding-block: 5rem; }
}

.cta-grid {
  display: grid;
  gap: 2rem 3.5rem;
}

@media (min-width: 56rem) {
  .cta-grid { grid-template-columns: 1.25fr 1fr; align-items: center; }
}

.cta-band h2 { color: inherit; }
.cta-band .lead { color: var(--cta-muted); }
.cta-band p { color: var(--cta-ink); }
.cta-band .muted, .cta-band .small { color: var(--cta-muted); }
.cta-band a { color: var(--cta-ink); }
.cta-band a:hover { color: var(--cta-ink); }
.cta-band .placeholder { color: var(--ink); }
/* The Order button inside the contact card: .cta-band a would paint its text in the band ink (white on the white button). */
.cta-band .btn-light, .cta-band .btn-light:hover { color: #07413d; }

.cta-card {
  background: var(--cta-card);
  border: 1px solid var(--cta-line);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.4rem;
}

.cta-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-band .cta-label { color: var(--cta-muted); }

.cta-phone {
  margin: 0.1rem 0 1rem;
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 650;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.cta-phone a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

/* The number stays on one line (a[href^="tel:"]), so it gets smaller on the narrowest screens. */
@media (max-width: 24rem) {
  .cta-card { padding: 1.3rem 1.1rem 1.2rem; }
  .cta-phone { font-size: 1.8rem; }
}

.cta-email { margin: 0.1rem 0 0.9rem; font-size: 1.2rem; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  --focus-ring: var(--footer-focus);
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-block: 3rem 1.5rem;
}

.site-footer a { color: #ffffff; }
.site-footer a:hover { color: #ffffff; }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-about p:last-child { color: var(--footer-muted); }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

.footer-list { list-style: none; padding: 0; margin: 0; }

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #3a4852;
  font-size: 0.95rem;
  color: var(--footer-muted);
}

.footer-legal p { margin: 0; }

.site-footer .placeholder { color: var(--ink); }

/* ---------- Plain pages (privacy, terms, statement) ---------- */

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.65rem; margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }

.page-head { padding-block: 2.75rem 0.5rem; }

@media (min-width: 48rem) {
  .page-head { padding-block: 3.75rem 0.5rem; }
}

.updated { color: var(--ink-muted); font-size: 0.98rem; }

.section-tight { padding-bottom: 3.5rem; }

.outbox { list-style: none; padding: 0; }
.outbox li { border-top: 1px solid var(--line); padding-block: 1rem; }
.outbox h2 { font-family: var(--font-sans); font-size: 1.15rem; }
.outbox pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem; }

/* ---------- Forms ---------- */

.form { margin: 1.5rem 0 2rem; }

.field { margin-bottom: 1.4rem; }

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.optional { font-weight: 400; color: var(--ink-muted); }

.hint {
  margin: 0 0 0.45rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

.input {
  display: block;
  width: 100%;
  max-width: 30rem;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.input:focus-visible { outline-offset: 2px; border-color: var(--ink); }

.input-code {
  max-width: 15rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.25em;
}

.field-error .input {
  border-color: var(--danger);
  /* An error summary link scrolls to the field; this keeps its label, hint and error message in view. */
  scroll-margin-top: 12rem;
}

.field-error {
  border-left: 4px solid var(--danger);
  padding-left: 0.9rem;
}

.error-message {
  color: var(--danger);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.error-summary {
  border: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0 1.5rem;
  background: var(--surface);
}

.error-summary h2 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--danger); font-weight: 700; }

.alert {
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.25rem 0 1.5rem;
  border: 2px solid var(--success);
  background: var(--success-tint);
}

.alert p:last-child { margin-bottom: 0; }

.alert-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

/* ---------- Account ---------- */

.account-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-head p { margin: 0; }
.account-head form { margin: 0; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.panel h2 { font-size: 1.5rem; }
.panel > :last-child { margin-bottom: 0; }

.tracker {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 40rem) {
  .tracker { grid-template-columns: repeat(4, 1fr); }
}

.tracker li {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-muted);
}

.tracker .is-done { border-color: var(--success); color: var(--ink); }
.tracker .is-done::before { content: "\2713\00a0"; color: var(--success); }
.tracker .is-current { border-color: var(--accent); background: var(--accent-tint); color: var(--ink); }

.table-wrap { margin-bottom: 1rem; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 0;
}

.data-table caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.5rem;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table thead th { border-bottom: 2px solid var(--line-strong); }

/* Long web addresses break inside their cell instead of pushing the table past a narrow screen. */
.data-table th, .data-table td { overflow-wrap: anywhere; }

@media (max-width: 30rem) {
  .data-table { font-size: 0.95rem; }
  .data-table th, .data-table td { padding: 0.5rem 0.35rem; }
}

.num { text-align: right !important; font-variant-numeric: tabular-nums; }

.file-link { font-weight: 650; }

/* ---------- Conversion pass, Nov 7 2026: who we are, a real finding, results, sample report ---------- */

:not(pre) > code {
  padding: 0.05em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-alt);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

/* Who we are */

.trust { background: var(--surface); border-top: 1px solid var(--line); }

.trust-grid { display: grid; gap: 1.25rem; }

@media (min-width: 56rem) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

.trust-col {
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}

.trust-col h3 { margin: 0 0 0.9rem; }

.trust-list { list-style: none; padding: 0; margin: 0; }

.trust-list li { position: relative; margin: 0; padding-left: 1.9rem; }

.trust-list li + li { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }

.trust-list li + li::before { top: calc(0.8rem + 0.3em); }

.trust-list-no li::before {
  background: var(--danger-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' fill='none' stroke='%23a61b1b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

@media (prefers-color-scheme: dark) {
  .trust-list-no li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' fill='none' stroke='%23ffa39b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  }
}

/* A real finding, the way the report shows it */

.real-finding { padding: 1.6rem 1.5rem 1.5rem; }
.real-finding h3 { font-size: 1.35rem; margin: 0 0 1.1rem; }

.real-finding-grid { display: grid; gap: 1.25rem 2.25rem; }

@media (min-width: 62rem) {
  .real-finding-grid { grid-template-columns: 1fr 1.1fr; }
}

.rf-for {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.rf-dl { display: grid; gap: 0.1rem 1rem; margin: 0 0 0.9rem; }

@media (min-width: 30rem) {
  .rf-dl { grid-template-columns: 6.5rem 1fr; }
}

.rf-dl dt { font-weight: 700; }
.rf-dl dd { margin: 0 0 0.55rem; }

.rf-status {
  margin: 1rem 0 0;
  padding: 0.6rem 0.85rem;
  background: var(--success-tint);
  border: 1px solid var(--success-line);
  border-radius: 10px;
  font-size: 0.98rem;
}

.after-sheet { margin: 1rem 0 0; max-width: 52rem; font-size: 0.98rem; color: var(--ink-muted); }
.after-sheet a { font-weight: 650; }

.includes-title { margin: 3.25rem 0 1.1rem; font-size: 1.4rem; }

.includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem 2.5rem;
}

@media (min-width: 56rem) {
  .includes { grid-template-columns: 1fr 1fr; }
}

.includes li { position: relative; margin: 0; padding-left: 1.9rem; }

/* Before and after */

.results-grid { display: grid; gap: 1.75rem 3rem; }

@media (min-width: 62rem) {
  .results-grid { grid-template-columns: 1fr 1.15fr; align-items: center; }
}

.results-grid h2 { max-width: 16em; }

.link-arrow { font-weight: 650; }

.cmp-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.cmp-table caption {
  caption-side: top;
  padding: 0 0 0.6rem;
  text-align: left;
  font-weight: 700;
}

.cmp-table th,
.cmp-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.cmp-table thead th {
  border-top: 0;
  background: var(--bg-alt);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.cmp-table thead th:first-child { border-top-left-radius: 13px; }
.cmp-table thead th:last-child { border-top-right-radius: 13px; }

.cmp-table tbody th { font-weight: 600; }

.cmp-table td { font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 30rem) {
  .cmp-table td { white-space: nowrap; }
}

.cmp-good { color: var(--success); }

.cmp-note-ref { font-weight: 600; font-size: 0.9rem; }

@media (max-width: 30rem) {
  .cmp-table { font-size: 0.95rem; }
  .cmp-table th, .cmp-table td { padding: 0.6rem 0.55rem; }
}

.cmp-notes { max-width: 52rem; margin: 0.9rem 0 0.6rem; font-size: 0.95rem; color: var(--ink-muted); }

/* The sample report page */

.sample-head { max-width: 52rem; }

.sample-facts {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .sample-facts { grid-template-columns: repeat(3, 1fr); }
}

.sample-facts li {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.98rem;
}

.sample-fact-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.1;
}

.sample-body { padding-block: 0.5rem 4.5rem; }

.sample-section { margin-top: 3.25rem; }
.sample-section > h2 { font-size: 1.75rem; }

.sample-note { max-width: 50rem; color: var(--ink-muted); }

.sample-sheet { max-width: 54rem; }
.sample-sheet .report-site { margin-bottom: 0.2rem; }

.sev-bar-sample .sev-high { flex: 16; }
.sev-bar-sample .sev-med { flex: 16; }
.sev-bar-sample .sev-low { flex: 8; }

.sample-sub { margin: 0.4rem 0 0.4rem; font-weight: 700; }

.rfinding { max-width: 56rem; margin-top: 1.25rem; }
.rfinding h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }

.rf-id { color: var(--ink-muted); }

.sev-chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--danger);
  border-radius: 999px;
  background: var(--danger-tint);
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 700;
  vertical-align: 0.15em;
  white-space: nowrap;
}

.rf-meta {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0.8rem 0;
  border-block: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .rf-meta { grid-template-columns: 1fr 1fr; }
}

.rf-meta div { margin: 0; }
.rf-meta dt { font-size: 0.88rem; font-weight: 700; color: var(--ink-muted); }
.rf-meta dd { margin: 0; }

.rf-label { font-weight: 700; }

.rf-codecap { margin: 1.1rem 0 0.45rem; font-weight: 700; font-size: 0.98rem; }
.rf-codelabel { margin: 0.7rem 0 0.3rem; font-size: 0.92rem; font-weight: 700; color: var(--ink-muted); }

.sample-more { display: grid; gap: 1.5rem 3rem; }

@media (min-width: 62rem) {
  .sample-more { grid-template-columns: 1fr 1.2fr; }
}

.toc-list { padding-left: 1.6rem; }
.toc-list li + li { margin-top: 0.2rem; }

@media (min-width: 40rem) {
  .toc-list { columns: 2; column-gap: 2.5rem; }
}

.excerpt { margin: 0 0 1.25rem; }
.excerpt figcaption { margin-bottom: 0.5rem; font-weight: 650; font-size: 0.98rem; }

.excerpt blockquote {
  margin: 0;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.excerpt blockquote p:last-child { margin-bottom: 0; }

.sample-cta {
  max-width: 54rem;
  margin-top: 3.5rem;
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.sample-cta h2 { font-size: 1.65rem; }
.sample-cta .btn-row { margin: 1.25rem 0 1rem; }

.cta-sample { margin: 0.9rem 0 0; text-align: center; font-weight: 650; }

/* A phone number never breaks across two lines. */
a[href^="tel:"] { white-space: nowrap; }

/* Phones: less padding around the report sheets and boxes, so the text gets the width. */
@media (max-width: 40rem) {
  .trust-list, .includes { font-size: 1.03rem; }
  .code-block { font-size: 0.82rem; padding: 0.85rem 0.8rem; }
  .report-sheet, .real-finding { padding: 1.35rem 1rem 1.1rem; }
  .trust-col { padding: 1.2rem 1rem 1.1rem; }
  .offer { padding: 1.1rem 1rem 1rem; }
  .sample-facts li { padding: 0.7rem 0.9rem; }
  .sample-fact-num { display: inline; font-size: 1.5rem; margin-right: 0.3rem; }
  .sample-cta { padding: 1.4rem 1rem 1rem; }
  .real-finding h3, .rfinding h3 { font-size: 1.18rem; }
}

/* ---------- Official documents ---------- */

.doc-list { list-style: none; padding: 0; margin: 0 0 1rem; }

.doc-list > li {
  margin: 0 0 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.doc-title { display: block; font-weight: 650; line-height: 1.45; }
.doc-meta { display: block; margin-top: 0.35rem; font-size: 0.92rem; color: var(--ink-muted); }
.doc-says { display: block; margin-top: 0.4rem; }

.src-all { margin: 0.9rem 0 0.4rem; }

@media (max-width: 40rem) {
  .doc-list > li { padding: 0.9rem 0.85rem; }
}

/* ---------- How we test ---------- */

.crit-wrap { max-width: 56rem; margin-top: 2.25rem; }
.crit-wrap h2 { font-size: 1.65rem; }
.crit-intro { max-width: 44rem; }

.crit-table { font-size: 0.98rem; table-layout: fixed; }
.crit-col-name { width: 31%; }
.crit-table td { font-weight: 400; white-space: normal; }

/* How far the software gets with a criterion: a word, never color alone. */
.cov {
  display: inline-block;
  margin: 0 0.45rem 0.15rem 0;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.cov-sw { color: var(--success); background: var(--success-tint); }
.cov-part { color: var(--ink); background: var(--note); border-color: var(--note-line); }
.cov-none { color: var(--danger); background: var(--danger-tint); }

@media (max-width: 40rem) {
  .crit-col-name { width: 40%; }
  .crit-table th, .crit-table td { padding: 0.6rem 0.7rem; }
}

/* The example finding: room between its code and the notes under it. */
.code-block + .rf-dl { margin-top: 1rem; }

/* The example finding's code opens in place (a details.more fold), so the home page stays short on a phone
   and the web person still gets the before-and-after code with one click. */
details.rf-code { margin: 1rem 0 0; }
details.rf-code > .rf-codelabel { margin: 0.9rem 1.1rem 0.3rem; }
details.rf-code > .code-block { margin: 0 1.1rem 1rem; }
details.rf-code + .rf-dl { margin-top: 1rem; }

/* The letter that comes with the fixes, under the example finding on the home page. */
.letter-sheet { margin-top: 1.75rem; padding: 1.4rem 1.5rem 1.2rem; }
.letter-sheet h3 { font-size: 1.2rem; margin: 0 0 0.8rem; }

.letter-quote {
  margin: 0 0 0.85rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.letter-quote p:last-child { margin-bottom: 0; }

@media (max-width: 40rem) {
  .letter-sheet { padding: 1.2rem 1rem 1rem; }
}

/* ---------- Contrast themes, print ---------- */

@media (forced-colors: active) {
  .btn, .demo-btn, .header-call { border: 2px solid ButtonText; }
  .demo-btn[aria-pressed="true"] { border-width: 3px; text-decoration: underline; }
  .card-icon, .assure-icon, .issue-badge, .fix-badge, .note-badge, .steps > li::before, .plain-list li::before, .eyebrow-mark, .proof-icon, .sev, .sev-dot { forced-color-adjust: none; }
  .demo .illus { forced-color-adjust: none; }
  .meter-fill { background: Highlight; forced-color-adjust: none; }
  .tracker .is-current { border-width: 3px; }
  .report-sheet::before { background: CanvasText; }
}

@media print {
  .site-header nav, .header-call, .skip-link, .btn-row, .preview-bar, .demo-toggle { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding-block: 1rem; }
  .hero::before { display: none; }
  a { color: #000; }
  .cta-band, .site-footer { background: #fff; color: #000; }
  .cta-band a, .site-footer a { color: #000; }
}
