/*
 * SafetyPro360 public website.
 * Same identity as the app (navy, white, one deep green, Manrope) at selling scale.
 * The mark of the site is the tick box: an empty box beside every question, ticked when answered.
 * Works from 360px to 3440px. Bands run edge to edge; their content sits in .wrap.
 */

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --ink: #0d1424;
    --ink-2: #364256;
    --ink-3: #56647a;
    --line: #dfe5ed;
    --line-strong: #c4cdd9;
    --canvas: #f3f5f8;
    --surface: #ffffff;

    --navy: #0c1322;
    --navy-raised: #162036;
    --navy-line: rgba(255, 255, 255, 0.12);
    --on-navy: #ffffff;
    --on-navy-2: #b8c4d8;
    --on-navy-3: #8d9cb5;

    --brand: #0a7f5a;
    --brand-strong: #086747;
    --brand-soft: #e5f4ed;
    --brand-bright: #23cf9b;

    --r: 10px;
    --r-lg: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --wrap: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
    --band: clamp(64px, 8vw, 128px);
    --head-h: 72px;
}

@media (min-width: 1800px) { :root { --wrap: 1520px; } }
@media (min-width: 2400px) { :root { --wrap: 1880px; --head-h: 80px; } html { font-size: 112.5%; } }
@media (min-width: 3200px) { :root { --wrap: 2240px; } html { font-size: 125%; } }

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.1rem + 4vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.875rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: #bfe8d6; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.band--navy :focus-visible, .site-foot :focus-visible { outline-color: var(--brand-bright); }
html { scrollbar-color: #b9c3d1 transparent; }
.icon { flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 500; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.band { padding: var(--band) 0; }
.band--tint { background: var(--canvas); }
.band--navy { background: var(--navy); color: var(--on-navy-2); }
.band--navy h1, .band--navy h2, .band--navy h3 { color: var(--on-navy); }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; color: var(--ink-2); max-width: 44em; }
.band--navy .lede { color: var(--on-navy-2); }

/* ---------- Buttons and links ---------- */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 24px;
    border: 1px solid transparent; border-radius: var(--r);
    font-size: 1rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.button .icon { transition: transform 0.25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: scale(0.98); }
.button--small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.button--primary { background: var(--brand); color: #fff; }
.button--primary:hover { background: var(--brand-strong); color: #fff; }
.button--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button--ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.band--navy .button--primary { background: var(--brand-bright); color: var(--navy); }
.band--navy .button--primary:hover { background: #4be0b3; color: var(--navy); }
.button--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.button--ghost-light:hover { border-color: #fff; color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-note { margin: 14px 0 0; font-size: 0.9375rem; color: var(--ink-3); }
.band--navy .cta-note { color: var(--on-navy-3); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); text-decoration: none; }
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--light { color: var(--brand-bright); }
.text-link--light:hover { color: #6ee7c3; }

/* ---------- The tick box ---------- */

.tickbox {
    display: inline-flex; flex: none; align-items: center; justify-content: center;
    width: 1em; height: 1em;
    border: 0.085em solid currentColor; border-radius: 0.2em;
    color: var(--line-strong);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s;
}
.tickbox svg { width: 72%; height: 72%; color: #fff; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.45s var(--ease) 0.1s; }
.tickbox.is-ticked, .is-active > .sheet-q .tickbox, .is-done > .sheet-q .tickbox, .is-answered .tickbox { background: var(--brand); border-color: var(--brand); color: var(--brand); }
.tickbox.is-ticked svg, .is-active > .sheet-q .tickbox svg, .is-done > .sheet-q .tickbox svg, .is-answered .tickbox svg { stroke-dashoffset: 0; }
.band--navy .tickbox { color: rgba(255, 255, 255, 0.4); }
.band--navy .tickbox.is-ticked, .band--navy .is-active > .sheet-q .tickbox, .band--navy .is-done > .sheet-q .tickbox { background: var(--brand-bright); border-color: var(--brand-bright); }
.band--navy .tickbox svg { color: var(--navy); }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 600; }
.ticks .icon { margin-top: 0.3em; color: var(--brand); }
.band--navy .ticks li { color: #fff; }
.band--navy .ticks .icon { color: var(--brand-bright); }

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

.site-head { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.site-head-row { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.site-logo { flex: none; display: block; }
.site-logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-group { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: none;
    font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.nav-link:hover, .nav-toggle[aria-expanded="true"] { background: var(--canvas); color: var(--ink); }
.nav-link.is-current { color: var(--brand); }
.nav-toggle .icon { transition: transform 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.menu-button:hover { background: var(--canvas); }

.nav-panel {
    position: absolute; left: -14px; top: calc(100% + 14px); z-index: 10;
    width: 420px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: 0 24px 48px -20px rgba(13, 20, 36, 0.3);
    animation: panel-in 0.2s var(--ease);
}
.nav-panel--wide { width: min(880px, calc(100vw - 2 * var(--gutter))); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; }
.nav-list { list-style: none; display: grid; gap: 2px; }
.nav-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-list a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.nav-list a:hover { background: var(--canvas); }
.nav-list strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.nav-list span { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-3); }
.nav-aside { display: grid; align-content: start; gap: 2px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-aside a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav-aside a:hover { background: var(--canvas); color: var(--brand); }

.mobile-menu { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; background: var(--surface); }
.mobile-menu[hidden] { display: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.mobile-menu-head img { height: 34px; width: auto; }
.mobile-menu-head .menu-button { display: inline-flex; }
.mobile-menu-body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; }
.mobile-menu-body > a, .mobile-menu-body summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.mobile-menu-body summary::-webkit-details-marker { display: none; }
.mobile-menu-body details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu-body ul { list-style: none; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.mobile-menu-body li a { display: flex; align-items: center; min-height: 44px; padding-left: 12px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.mobile-menu-foot { flex: none; display: grid; gap: 10px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

@media (max-width: 1099px) {
    .site-nav, .nav-login { display: none; }
    .site-head-row { justify-content: space-between; gap: 12px; }
    .menu-button { display: inline-flex; }
}
@media (max-width: 480px) {
    :root { --head-h: 64px; }
    .site-logo img { height: 32px; }
    .site-actions .button--small { padding: 0 14px; }
}

/* ---------- Screens (real screenshots of the product) ---------- */

.screen { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); }
.screen img { width: 100%; }
.band--navy .screen { border: 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.screen--phone { width: min(100%, 300px); border-radius: 30px; border: 8px solid var(--ink); background: var(--ink); }
.screen--phone img { border-radius: 22px; }
.screen--missing, .photo--missing { display: flex; align-items: center; justify-content: center; min-height: 160px; background: #e9edf2; color: var(--ink-3); font-size: 0.8125rem; font-weight: 700; }
.photo { width: 100%; border-radius: var(--r-lg); object-fit: cover; }

/* ---------- Home: hero and the question sheet ---------- */

.hero { padding: clamp(48px, 6vw, 104px) 0 0; overflow: hidden; }
.hero { padding-top: clamp(40px, 4.5vw, 88px); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.hero-copy h1 { font-size: clamp(2.25rem, 0.9rem + 3.9vw, 4.75rem); }
.hero-offer .cta-row { margin-top: 28px; }
@media (max-width: 1099px) {
    .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
}

.sheet { display: grid; grid-template-columns: minmax(300px, 0.5fr) minmax(0, 1fr); grid-template-rows: repeat(7, auto) 1fr; column-gap: clamp(32px, 4vw, 72px); margin-top: clamp(48px, 6vw, 96px); align-items: start; }
.sheet-title { grid-column: 1; grid-row: 1; margin: 0 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--on-navy-3); }
.sheet-item { display: contents; }
.sheet-q {
    grid-column: 1; grid-row: var(--row);
    position: relative; display: flex; align-items: flex-start; gap: 16px;
    width: 100%; padding: 16px 0; border: 0; border-top: 1px solid var(--navy-line); background: none;
    font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.375rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.3;
    color: var(--on-navy-3); text-align: left; cursor: pointer; transition: color 0.2s;
}
.sheet-q .tickbox { font-size: 1.5em; margin-top: -0.03em; }
.sheet-q:hover, .is-active > .sheet-q { color: #fff; }
/* The line that fills while a question is on show */
.sheet-q::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--brand-bright); transform: scaleX(0); transform-origin: left; }
.sheet.is-running .is-active > .sheet-q::after { animation: sheet-fill 6s linear forwards; }
@keyframes sheet-fill { to { transform: scaleX(1); } }
.sheet-a { grid-column: 2; grid-row: 1 / -1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0.45s; }
.is-active > .sheet-a { opacity: 1; visibility: visible; transform: none; }
.sheet-a .screen { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sheet-a .screen img { aspect-ratio: 16 / 9.2; object-fit: cover; object-position: top left; }
.sheet-caption { display: none; }

@media (min-width: 1800px) {
    .sheet { grid-template-columns: minmax(360px, 0.36fr) minmax(0, 1fr); }
}

@media (max-width: 999px) {
    .hero { padding-bottom: 48px; }
    .sheet { display: block; }
    .sheet-title { margin-bottom: 8px; }
    .sheet-item { display: block; }
    .sheet-a { display: none; opacity: 1; visibility: visible; transform: none; padding: 4px 0 24px; }
    .is-active > .sheet-a { display: block; animation: answer-in 0.4s var(--ease); }
    .sheet-a .screen { border-radius: var(--r-lg); }
    .sheet-a .screen img { aspect-ratio: auto; }
    .sheet-caption { display: block; margin: 12px 0 0; font-size: 0.9375rem; color: var(--on-navy-2); }
    .sheet-caption strong { color: #fff; }
    .sheet-caption a { color: var(--brand-bright); font-weight: 700; }
    .sheet.is-running .is-active > .sheet-q::after { animation: none; }
}
@keyframes answer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Home: sections ---------- */

.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.intro-copy { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); max-width: 40em; }

.answer { border-top: 1px solid var(--line); }
.answer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.answer--flip .answer-copy { order: 2; }
.question { display: flex; align-items: flex-start; gap: 0.4em; font-size: clamp(1.75rem, 1.1rem + 2.3vw, 3.125rem); letter-spacing: -0.03em; line-height: 1.1; }
.question .tickbox { font-size: 0.82em; margin-top: 0.14em; }
.asked-by { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); }
.asked-by::before { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; }
.question--light { color: #fff; font-weight: 800; margin: 0; max-width: 18em; }
.asked .asked-by { color: var(--on-navy-3); }
.asked .lede { margin-top: 28px; }
.asked { padding: clamp(48px, 6vw, 96px) 0; }
.answer-lead { margin-top: 28px; font-size: 1.125rem; }
.answer-lead strong { color: var(--ink); }
.answer .ticks { margin: 24px 0 28px; }

.attention-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.attention .lede { margin: 24px 0 28px; }

.onsite-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.onsite-copy h2 { margin-bottom: 24px; }
.onsite-copy .text-link { margin-top: 12px; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 2.5vw, 40px); }
.phones .screen--phone:nth-child(2) { margin-top: clamp(32px, 5vw, 72px); }
.phones .screen--phone { flex: 0 1 280px; }

.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.people-item { padding: 0 clamp(24px, 4vw, 72px); }
.people-item:first-child { padding-left: 0; border-right: 1px solid var(--line-strong); }
.people-item:last-child { padding-right: 0; }
.people-item h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem); margin-bottom: 20px; }
.people-item .text-link { margin-top: 8px; }

.price-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.price-grid .lede { margin-top: 20px; }
.ticks--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ticks--columns li { padding: 16px 0; border-top: 1px solid var(--line); }

.closing { text-align: left; }
.closing h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); letter-spacing: -0.035em; max-width: 14em; }
.closing .lede { margin-top: 24px; }
.closing-ticks { display: flex; gap: 10px; margin-bottom: 32px; font-size: 1.75rem; }

@media (max-width: 999px) {
    .intro-grid, .answer-grid, .attention-grid, .onsite-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
    .answer--flip .answer-copy { order: 0; }
    .people-grid { grid-template-columns: minmax(0, 1fr); }
    .people-item, .people-item:first-child, .people-item:last-child { padding: 0; border: 0; }
    .people-item + .people-item { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line-strong); }
    .phones .phone-third { display: none; }
}
@media (max-width: 560px) {
    .ticks--columns { grid-template-columns: minmax(0, 1fr); }
    .cta-row .button { flex: 1 1 100%; }
}

/* ---------- Questions and answers (FAQ) ---------- */

.faq { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 1.125rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary .icon { color: var(--ink-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 48px 24px 0; max-width: 46em; }

/* ---------- Page heads (every page but home) ---------- */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.page-head { padding: clamp(32px, 4vw, 64px) 0 clamp(48px, 6vw, 96px); }
.page-head h1 { margin-top: 20px; font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.875rem); max-width: 16em; }
.page-head .lede { margin-top: clamp(16px, 2vw, 28px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 20px; }
.page-head-grid h1 { margin-top: 0; }
@media (max-width: 999px) { .page-head-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature, sector and solution pages ---------- */

.block { border-top: 1px solid var(--line); }
.block-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.block--flip .block-copy { order: 2; }
.block-copy h2 { margin-bottom: 20px; font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.5rem); }
.block-copy .ticks { margin-top: 24px; }
.block--text .block-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.block--text .block-body { max-width: 44em; }
.block-body h3 { margin: 28px 0 8px; }
.block-body ul, .block-body ol { margin: 0 0 1em 1.2em; }
.block-body li { margin-bottom: 6px; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: step; padding: 28px 32px 0 0; }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; font-size: 0.9375rem; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 1rem; }

.not-list { list-style: none; display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.not-list li { padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.not-list strong { color: var(--ink); }

.block-media--phone { display: flex; justify-content: center; }
.page-head-media.block-media--phone .screen--phone { width: min(100%, 320px); }

.use-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 clamp(24px, 3vw, 56px); margin-top: 32px; }
.use-list a { position: relative; display: block; height: 100%; padding: 22px 40px 22px 0; border-top: 1px solid var(--line-strong); text-decoration: none; }
.use-list a:hover { border-top-color: var(--brand); }
.use-list strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.use-list a:hover strong { color: var(--brand); }
.use-list span { display: block; margin-top: 4px; color: var(--ink-2); }
.use-list .icon { position: absolute; right: 4px; top: 26px; color: var(--line-strong); transition: transform 0.25s var(--ease), color 0.2s; }
.use-list a:hover .icon { color: var(--brand); transform: translateX(4px); }

.related { border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem); }

.link-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 3vw, 56px); margin-top: 28px; }
.link-list a { position: relative; display: block; height: 100%; padding: 20px 36px 20px 0; border-top: 1px solid var(--line-strong); text-decoration: none; transition: border-color 0.2s; }
.link-list a:hover { border-top-color: var(--brand); }
.link-list strong { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.link-list a:hover strong { color: var(--brand); }
.link-list span { display: block; margin-top: 2px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-3); }
.link-list .icon { position: absolute; right: 4px; top: 24px; color: var(--line-strong); transition: transform 0.25s var(--ease), color 0.2s; }
.link-list a:hover .icon { color: var(--brand); transform: translateX(4px); }

.hub-group + .hub-group { margin-top: clamp(48px, 6vw, 88px); }
.hub-group h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem); }

@media (max-width: 999px) {
    .block-grid, .block--text .block-grid { grid-template-columns: minmax(0, 1fr); }
    .block--flip .block-copy { order: 0; }
}

/* ---------- Pricing ---------- */

.pricing-head { padding-top: clamp(32px, 4vw, 64px); }
.pricing-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 96px); align-items: end; max-width: 96rem; margin-top: 28px; }
.pricing-intro h1 { font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.25rem); max-width: 12em; }
@media (max-width: 999px) { .pricing-intro { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Three white cards on the navy band. On desks each card is a subgrid, so prices and lists line up across the row */
.plans { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 96rem; margin-top: clamp(36px, 5vw, 72px); }
.plan-card { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 40px); border-radius: var(--r-lg); background: var(--surface); color: var(--ink-2); }
.band--navy .plan-card h2 { color: var(--ink); }
.plan-name { font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.875rem); }
.plan-for { margin: 6px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--ink-3); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 24px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: clamp(2.5rem, 1.9rem + 1.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price span { font-weight: 600; color: var(--ink-3); }
.plan-limits { margin: 24px 0 0; align-content: start; }
.band--navy .plan-card .ticks li { color: var(--ink); }
.band--navy .plan-card .ticks .icon { color: var(--brand); }
.plan-all { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 20px 0 28px; border-top: 1px solid var(--line); font-weight: 700; color: var(--brand-strong); }
.plan-all .tickbox { font-size: 1.375rem; }
.band--navy .plan-card .tickbox.is-ticked { background: var(--brand); border-color: var(--brand); }
.band--navy .plan-card .tickbox svg { color: #fff; }
.plan-card .button { width: 100%; margin-top: auto; white-space: normal; text-align: center; line-height: 1.25; }
.band--navy .plan-card .button--primary { background: var(--brand); color: #fff; }
.band--navy .plan-card .button--primary:hover { background: var(--brand-strong); color: #fff; }
.band--navy .plan-card :focus-visible { outline-color: var(--brand); }
.plans-note { margin: 28px 0 0; max-width: 46em; font-size: 1rem; color: var(--on-navy-2); }
@media (min-width: 600px) and (max-width: 999px) { .plan-limits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (min-width: 1000px) {
    .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 1.6vw, 28px); }
    @supports (grid-template-rows: subgrid) {
        .plan-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    }
}

/* The comparison table: scrolls sideways inside its own box on a phone, never the page */
.compare-scroll {
    max-width: 96rem; margin-top: 32px; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
    /* A shadow on the right edge while there is more table to scroll to; the white cover rides with the table's end and hides it there */
    background:
        linear-gradient(to left, var(--surface) 40%, rgba(255, 255, 255, 0)) right center / 48px 100% no-repeat local,
        radial-gradient(farthest-side at 100% 50%, rgba(13, 20, 36, 0.18), rgba(13, 20, 36, 0)) right center / 16px 100% no-repeat scroll,
        var(--surface);
}
.compare-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 1rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.compare-table td, .compare-table thead th { white-space: nowrap; }
.compare-table th, .compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th, .compare-table thead td { vertical-align: bottom; border-bottom-color: var(--line-strong); }
.compare-name { display: block; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.compare-price { display: block; margin-top: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-3); }
.compare-table tbody th { width: 28%; font-weight: 700; color: var(--ink); }
.compare-table td { font-weight: 600; color: var(--ink); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
/* The row names stay in view while the plans scroll past them */
.compare-table tbody th, .compare-table thead td { position: sticky; left: 0; z-index: 1; background: var(--surface); }
@media (max-width: 560px) {
    .compare-table { min-width: 28rem; font-size: 0.9375rem; }
    .compare-table th, .compare-table td { padding: 14px 14px; }
    .compare-table tbody th { width: auto; }
}

.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; }

/* Home: the three plans in short */
.plan-rows { list-style: none; border-top: 1px solid var(--line); }
.plan-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.plan-rows-name { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.plan-rows-limits { display: block; margin-top: 2px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-3); }
.plan-rows-price { flex: none; margin: 0; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.plan-rows-price strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-rows-all { margin: 16px 0 0; font-size: 0.9375rem; font-weight: 700; color: var(--brand-strong); }
@media (max-width: 480px) { .plan-rows li { flex-direction: column; } }

/* ---------- Guides (long reading pages) ---------- */

.guide-head { padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.guide-head h1 { margin-top: 20px; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); max-width: 18em; }
.guide-head .lede { margin-top: 20px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }

.guide-grid { display: grid; grid-template-columns: 220px minmax(0, 46rem) minmax(260px, 320px); justify-content: space-between; gap: clamp(32px, 4vw, 72px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--band); align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 32px); max-height: calc(100vh - var(--head-h) - 64px); overflow-y: auto; font-size: 0.9375rem; }
.toc-title { margin: 0 0 12px; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line-strong); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-3); line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--brand); border-left-color: var(--brand); font-weight: 700; }
.toc-mobile { display: none; }

.guide-side { position: sticky; top: calc(var(--head-h) + 32px); display: grid; gap: 20px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy-2); font-size: 0.9375rem; }
.side-card h2 { font-size: 1.1875rem; color: #fff; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.side-card .button { width: 100%; margin-top: 16px; background: var(--brand-bright); color: var(--navy); }
.side-card .button:hover { background: #4be0b3; color: var(--navy); }
.side-card .side-note { margin-top: 10px; font-size: 0.8125rem; color: var(--on-navy-3); text-align: center; }
.side-download { padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); font-size: 0.9375rem; }
.side-download h2 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.side-download .button { width: 100%; margin-top: 14px; }

.prose { font-size: 1.0625rem; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol, .prose table, .prose .note, .prose .checklist, .prose figure { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose .answer-box { padding: 24px 28px; margin: 0 0 2em; border-radius: var(--r-lg); background: var(--brand-soft); color: var(--ink); font-size: 1.125rem; line-height: 1.55; }
.prose .answer-box p { margin: 0; }
.prose .note { padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--canvas); font-size: 1rem; }
.prose .note p { margin: 0 0 0.6em; }
.prose .note p:last-child { margin: 0; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
.prose table { width: 100%; margin: 0; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--canvas); font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }
.prose tbody th { font-weight: 700; color: var(--ink); }
.prose .checklist { list-style: none; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.prose .checklist li { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.prose .checklist li:last-child { border-bottom: 0; }
.prose .checklist li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border: 2px solid var(--line-strong); border-radius: 5px; }
.prose .checklist-title { margin: 1.6em 0 0.6em; font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.prose .script { padding: 24px 28px; border-left: 0; border-radius: var(--r-lg); background: var(--canvas); }
.prose .script p:last-child { margin-bottom: 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 2em; }
.sources { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line-strong); font-size: 0.9375rem; }
.sources h2 { margin: 0 0 0.6em; font-size: 1.0625rem; letter-spacing: -0.01em; }
.sources ul { list-style: none; padding: 0; margin: 0; }
.sources li { margin-bottom: 6px; }
.guide-disclaimer { margin-top: 1.5em; font-size: 0.875rem; color: var(--ink-3); }

@media (max-width: 1279px) {
    .guide-grid { grid-template-columns: minmax(0, 46rem) minmax(240px, 300px); }
    .toc { display: none; }
    .toc-mobile { display: block; margin: 0 0 2em; border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
    .toc-mobile summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
    .toc-mobile summary::-webkit-details-marker { display: none; }
    .toc-mobile[open] summary .icon { transform: rotate(180deg); }
    .toc-mobile ol { list-style: none; padding: 0 18px 14px; margin: 0; }
    .toc-mobile li { margin: 0; }
    .toc-mobile a { display: block; padding: 7px 0; color: var(--ink-2); font-weight: 600; text-decoration: none; }
}
@media (max-width: 899px) {
    .guide-grid { grid-template-columns: minmax(0, 1fr); }
    .guide-side { position: static; }
}

/* ---------- Legal and plain pages ---------- */

.plain { padding-bottom: var(--band); }
.plain .prose { max-width: 46rem; }

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

.site-foot { background: var(--navy); color: var(--on-navy-3); padding: clamp(56px, 6vw, 96px) 0 32px; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 56px); }
.foot-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.foot-brand p { max-width: 26em; }
.site-foot h2 { margin-bottom: 14px; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; color: #fff; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { color: var(--on-navy-2); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 0.8125rem; }
.foot-legal p { margin: 0; max-width: 60em; }
.foot-legal p:last-child { display: flex; gap: 20px; white-space: nowrap; }
@media (max-width: 1099px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-legal p:last-child { flex-wrap: wrap; white-space: normal; } }

/* ---------- Motion ---------- */

/* Content is visible by default; only when the script is running does a screen wait for its question */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print (guides and checklists are meant to be printed) ---------- */

@media print {
    .site-head, .site-foot, .mobile-menu, .toc, .toc-mobile, .guide-side, .guide-actions, .closing, .crumbs, .skip { display: none !important; }
    body { font-size: 11pt; color: #000; }
    .guide-grid { display: block; padding: 0; }
    .guide-head { border: 0; padding: 0 0 12pt; }
    .prose .checklist li { break-inside: avoid; }
    a { color: #000; text-decoration: none; }
}

/* ---------- Forms (contact) ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; margin-top: 20px; }
.contact-grid h1 { margin-top: 0; }
.contact-facts { margin: 40px 0 0; border-top: 1px solid var(--line-strong); }
.contact-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.contact-facts dt { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.contact-facts dd { margin: 2px 0 0; }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--canvas); }
.form { display: grid; gap: 18px; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.field label span { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface);
    font: inherit; font-size: 1rem; color: var(--ink); caret-color: var(--brand);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 127, 90, 0.18); }
.form .button { justify-self: start; }
.form-small { margin: 0; font-size: 0.875rem; color: var(--ink-3); }
.form-error { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r); background: #fdecea; color: #a01e1e; font-weight: 600; }
.form-done { text-align: left; }
.form-done .tickbox { font-size: 2.5rem; margin-bottom: 16px; }
.form-done h2 { font-size: 1.75rem; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 999px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-two { grid-template-columns: minmax(0, 1fr); } .form .button { justify-self: stretch; } }

/* ---------- Sign up and log in ---------- */

.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; min-height: 100dvh; }
.auth-side { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 64px); background: var(--navy); color: var(--on-navy-2); }
.auth-logo img { height: 40px; width: auto; }
.auth-logo--small { display: none; }
.auth-side-body { margin: auto 0; padding: 48px 0; }
.auth-side-title { margin: 0 0 40px; font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; max-width: 13em; text-wrap: balance; }
.auth-questions { list-style: none; display: grid; }
.auth-questions li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--navy-line); font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; color: #fff; }
.auth-questions .tickbox { font-size: 1.4em; background: var(--brand-bright); border-color: var(--brand-bright); }
.auth-questions .tickbox svg { color: var(--navy); }
.auth-side-foot { margin: 0; font-size: 0.8125rem; color: var(--on-navy-3); }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 64px) var(--gutter); }
.auth-form { width: 100%; max-width: 460px; }
.auth-form h1 { font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem); }
.auth-lede { margin: 10px 0 28px; color: var(--ink-3); font-size: 1.0625rem; }
.button--block { width: 100%; justify-self: stretch !important; }
.auth-switch { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); }
.auth-switch a, .form-small a { font-weight: 700; }
.form-ok { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sp360-turnstile { min-height: 65px; }

@media (max-width: 999px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
    .auth-side { display: none; }
    .auth-main { justify-content: flex-start; padding-top: 28px; }
    .auth-logo--small { display: block; align-self: flex-start; width: 100%; max-width: 460px; margin: 0 auto 36px; }
    .auth-logo--small img { height: 36px; }
}

/* ---------- Tables inside selling pages (the same look as in guides) ---------- */

.block-body .table-scroll { overflow-x: auto; margin: 0 0 1.25em; border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
.block-body table { width: 100%; margin: 0; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.block-body th, .block-body td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.block-body thead th { background: var(--canvas); font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.block-body tbody tr:last-child td, .block-body tbody tr:last-child th { border-bottom: 0; }
.block-body tbody th { font-weight: 700; color: var(--ink); }
.block--text .block-body:has(table) { max-width: none; }

/* A desktop screenshot's phone twin, framed as a phone */
@media (max-width: 700px) {
    .screen--twin { width: min(100%, 300px); margin-left: auto; margin-right: auto; border: 8px solid var(--ink); border-radius: 30px; background: var(--ink); }
    .screen--twin img { border-radius: 22px; aspect-ratio: auto !important; }
    .band--navy .screen--twin { border-color: #2a3650; box-shadow: none; }
    .sheet-a .screen.screen--twin { border-radius: 30px; }
}

/* Headings beside a picture get the narrower column, so they step down a size (desks only) */
@media (min-width: 1000px) {
    .page-head-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
    .page-head-grid h1 { font-size: clamp(2rem, 1.05rem + 2.3vw, 3.25rem); }
}

/* Breadcrumbs on a navy band */
.band--navy .crumbs ol, .band--navy .crumbs a { color: var(--on-navy-2); }
.band--navy .crumbs li + li::before { color: var(--on-navy-3); }
.band--navy .crumbs a:hover { color: #fff; }

/* Long button labels wrap rather than push the page sideways */
.guide-actions .button { white-space: normal; text-align: center; line-height: 1.25; }

/* The pause control on the home page's question sheet */
.sheet-pause { grid-column: 1; grid-row: 8; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 0.875rem; font-weight: 700; color: var(--on-navy-3); cursor: pointer; }
.sheet-pause:hover { color: #fff; }
.sheet-pause[hidden] { display: none; }

@media (max-width: 767px) {
    .site-foot ul a, .foot-legal a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 359px) {
    .site-actions .button--small { display: none; }
}
.auth .form { gap: 14px; }
.auth-form h1 { margin-top: 0; }

/* Plain notices: not found, expired links */
.notice { padding-top: clamp(56px, 8vw, 120px); }
.notice h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.notice .lede { margin-top: 20px; }
