/* Vancova: flat colour, big type, one idea per section. The number plate is kept for the reg box and the logo. Motion lives in motion.css. */
:root {
  --cobalt: #2646d8;
  --vermilion: #f05236;
  --cream: #f4eedc;
  --ink: #20211c;
  --paper: #fbf8ee;
  --rule-dark: rgba(244, 238, 220, .32);
  --rule-light: rgba(32, 33, 28, .22);
  --imprint: #7d7560;
  --gutter: 96px;
  color-scheme: light;
  font-family: 'Archivo', Arial, sans-serif;
  color: var(--ink);
  background: var(--ink);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
svg, img { display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { background: var(--ink); color: var(--cream); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: calc(100% - var(--gutter)); max-width: 1200px; margin-inline: auto; }
.ic-a { fill: var(--accent, var(--vermilion)); }

h1, h2 { font-weight: 900; font-stretch: 115%; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(64px, 6.12vw, 88px); line-height: .99; }
h2 { font-size: clamp(46px, 4.7vw, 68px); line-height: 1.04; }
h3 { font-weight: 800; font-stretch: 108%; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.lede { font-size: 19px; line-height: 1.55; font-weight: 500; }

/* Header sits over the first section. */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: var(--cream); }
.top .wrap { min-height: 96px; display: flex; align-items: center; gap: 42px; max-width: 1280px; }
.brand { flex-shrink: 0; display: block; }
.top .brand svg { width: 196px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; line-height: 1.3; padding-block: 14px; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a:hover, .nav a[aria-current] { text-decoration-line: underline; }
.btn-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px;
  padding: 0 16px 0 18px; background: var(--cream); color: var(--ink); font-size: 15px; font-weight: 800;
  white-space: nowrap; transition: background .15s, color .15s;
}
.btn-sm:hover { background: var(--vermilion); }
.btn-sm svg { width: 20px; height: 20px; }
.menu-btn { display: none; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--cream); font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.top.top-min .wrap { min-height: 84px; }
.top.top-min .brand svg { width: 176px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 48px;
  min-height: 72px; min-width: 320px; padding: 0 26px; border: 0; border-radius: 0;
  background: var(--vermilion); color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.01em;
  white-space: nowrap; transition: background .15s, color .15s;
}
.btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.btn:hover { background: var(--cream); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--cobalt); color: var(--cream); }
a.btn { text-decoration: none; }

/* The giant plate: the only place the plate styling appears, apart from the logo. */
.plate-label { display: block; margin-bottom: 12px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.plate {
  position: relative; width: 100%; aspect-ratio: 4.7; border: 5px solid var(--ink); border-radius: 12px;
  background: var(--cream); isolation: isolate;
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 5px rgba(32, 33, 28, .28);
}
.plate:focus-within { outline: 4px solid var(--cream); outline-offset: 5px; }
.band {
  position: absolute; inset: 0 auto 0 0; width: 6.2%; min-width: 22px; border-radius: 7px 0 0 7px;
  background: var(--vermilion); display: flex; align-items: center; justify-content: center;
}
.band svg { width: 48%; height: 32%; fill: var(--ink); }
.screw {
  position: absolute; z-index: 4; pointer-events: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--ink);
}
.screw::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); transform: rotate(-35deg); }
.screw.tl { top: 14px; left: 13px; } .screw.bl { bottom: 14px; left: 13px; }
.screw.tr { top: 14px; right: 13px; } .screw.br { bottom: 14px; right: 13px; }
.plate-display { display: none; position: absolute; left: 10.1%; top: 14%; width: 84%; height: 72%; overflow: visible; pointer-events: none; fill: var(--ink); }
.plate-display.is-placeholder { fill: var(--imprint); }
.plate-character { transform-box: fill-box; transform-origin: 50% 50%; }
.plate-input {
  position: absolute; z-index: 3; inset: 10% 4% 10% 9.5%; width: 86.5%; height: 80%; padding: 0; border: 0;
  border-radius: 0; outline: none; background: transparent; color: var(--ink); text-align: center; text-transform: uppercase;
  font-family: 'Courier New', monospace; font-weight: 700; font-size: max(16px, 9vw); line-height: 1; letter-spacing: 0; appearance: none;
}
.plate.is-live .plate-display { display: block; }
.plate.is-live .plate-input { color: transparent; -webkit-text-fill-color: transparent; caret-color: var(--ink); font-size: clamp(16px, 12.65vw, 182px); }
.plate.is-live .plate-input::placeholder { color: transparent; -webkit-text-fill-color: transparent; opacity: 0; }
.plate-input::selection { background: rgba(38, 70, 216, .18); }

/* 1. Hero */
.hero { background: var(--cobalt); color: var(--cream); padding: 120px 0 34px; }
.hero h1 { font-size: clamp(56px, 6.82vw, 100px); line-height: 1; white-space: nowrap; text-wrap: nowrap; }
.sub { margin-top: 18px; max-width: 760px; font-size: 20px; line-height: 1.5; font-weight: 500; }
.quote { margin-top: 34px; }
.form-after { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 24px; }
.note { max-width: 560px; font-size: 18px; line-height: 1.5; font-weight: 600; }
.trust { display: flex; justify-content: space-between; gap: 26px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 15px; font-weight: 700; line-height: 1.35; }

/* The brand image: a cut-out on a flat colour panel, with hand-drawn marks over it. The same everywhere. */
.art { position: relative; margin: 0; isolation: isolate; }
.art img { position: relative; z-index: 1; width: 100%; height: auto; }
.art-panel { position: absolute; z-index: 0; inset: 16% 0 0; background: var(--panel); }
.art-v { --panel: var(--vermilion); }
.art-b { --panel: var(--cobalt); }
.art-c { --panel: var(--cream); }
.art-p { --panel: var(--paper); }
.art-tall { --panel-inset: 16%; }
.art-low .art-panel { inset: 34% 0 0; }
.art-wide { display: grid; place-items: end center; overflow: visible; margin: 36px 0; padding-top: 28px; }
.art-wide .art-panel { inset: 18% 0 0; }
.art-wide img { width: auto; max-width: 78%; max-height: 340px; }
.art-mark { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--w); transform: rotate(var(--r, 0deg)); pointer-events: none; }
.art-mark svg { width: 100%; height: auto; overflow: visible; }
.c-v { color: var(--vermilion); } .c-b { color: var(--cobalt); } .c-c { color: var(--cream); } .c-i { color: var(--ink); }

/* 2. Who it's for: one big picture, three ways in */
.uses { background: var(--cream); padding-block: 136px; }
.uses-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 84px; align-items: center; }
.uses-grid h2 { font-size: clamp(46px, 5.4vw, 78px); }
.use-links { margin-top: 44px; border-bottom: 3px solid var(--ink); }
.use-links a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 3px solid var(--ink); transition: color .15s; }
.use-links a:hover { color: var(--cobalt); }
.use-links strong { display: block; font-size: 36px; font-weight: 900; font-stretch: 112%; letter-spacing: -.04em; line-height: 1.1; }
.use-links em { display: block; margin-top: 4px; font-size: 18px; font-style: normal; font-weight: 500; line-height: 1.4; }
.use-links svg { width: 32px; height: 32px; flex-shrink: 0; }

/* 3. How it works */
.how { background: var(--cobalt); color: var(--cream); padding-block: 136px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 84px; align-items: center; }
.how-grid h2 { font-size: clamp(46px, 5.4vw, 78px); }
.steps { margin-top: 48px; display: grid; gap: 34px; }
.steps li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-n { display: block; font-size: 84px; line-height: .86; font-weight: 900; font-stretch: 115%; letter-spacing: -.06em; color: var(--vermilion); }
.steps h3 { font-size: 28px; font-weight: 900; font-stretch: 112%; letter-spacing: -.035em; }
.steps p { margin-top: 6px; font-size: 19px; line-height: 1.45; font-weight: 500; }

/* 4. Calculators */
.tools { background: var(--ink); color: var(--cream); padding-block: 136px; }
.tools-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 84px; align-items: center; }
.tools-grid h2 { font-size: clamp(44px, 4.8vw, 68px); }
.tools-side .lede { margin-top: 18px; }
.tools-side .art { margin-top: 44px; }
.tablist { display: flex; gap: 6px; margin-bottom: 6px; }
.tablist button { flex: 1; min-height: 58px; padding: 8px 10px; border: 0; background: rgba(244, 238, 220, .12); color: var(--cream); font-size: 16px; font-weight: 800; line-height: 1.15; transition: background .15s, color .15s; }
.tablist button:hover { background: rgba(244, 238, 220, .24); }
.tablist button[aria-selected="true"] { background: var(--vermilion); color: var(--ink); }
.tablist button:focus-visible { outline-offset: 2px; }
.calc { background: var(--cream); color: var(--ink); padding: 32px 34px 34px; }
.calc h3 { font-size: 28px; font-weight: 900; font-stretch: 112%; letter-spacing: -.035em; }
.calc-p { margin-top: 6px; font-size: 17px; line-height: 1.45; font-weight: 500; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 22px; }
.calc-f { display: flex; flex-direction: column; justify-content: flex-end; }
.calc-f label { margin-bottom: 7px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.calc-f input { display: block; width: 100%; min-height: 56px; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 0; background: #fff; font-size: 20px; font-weight: 700; }
.calc-f input:hover { border-color: var(--cobalt); }
.calc-f input:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.calc-out { margin-top: 22px; padding: 18px 20px; background: var(--cobalt); color: var(--cream); min-height: 92px; display: flex; align-items: center; }
.calc-empty { font-size: 17px; font-weight: 600; line-height: 1.4; }
.calc-res { width: 100%; }
.calc-line + .calc-line { margin-top: 10px; }
.calc-l { font-size: 15px; font-weight: 700; line-height: 1.3; }
.calc-v { font-size: 40px; font-weight: 900; font-stretch: 112%; letter-spacing: -.04em; line-height: 1.1; }
.calc-msg { margin-top: 8px; font-size: 17px; font-weight: 800; line-height: 1.35; }
.calc-n { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.calc-foot { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.calc-foot .btn { min-width: 220px; min-height: 60px; gap: 24px; font-size: 18px; padding-inline: 22px; }
.calc-foot .btn:hover { background: var(--ink); color: var(--cream); }
.calc-private { font-size: 14px; line-height: 1.4; font-weight: 600; }
.calc-box { margin: 36px 0; }
.calc-box .calc { background: var(--paper); border: 4px solid var(--ink); }
.prose .calc h3 { margin: 0; }
.prose .calc p { margin-bottom: 0; }
.prose .calc a.btn { color: var(--ink); text-decoration: none; font-weight: 800; }
.prose .calc a.btn:hover { color: var(--cream); }

/* 5. Questions and guides */
.faq { background: var(--cream); padding-block: 136px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 84px; align-items: start; }
.faq-side h2 { font-size: clamp(46px, 5vw, 72px); }
.faq-list { border-bottom: 3px solid var(--ink); }
.faq-more-btn { display: block; width: 100%; min-height: 66px; padding: 16px 0; border: 0; border-top: 3px solid var(--ink); background: none; text-align: left; color: var(--cobalt); font-size: 19px; font-weight: 800; }
.faq-more-btn:hover { color: var(--ink); }
.faq-guides { margin-top: 112px; }
.faq-guides-h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.faq-guides-h h2 { font-size: clamp(34px, 3.4vw, 48px); }
.more { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; color: var(--cobalt); font-size: 17px; font-weight: 800; white-space: nowrap; }
.more svg { width: 22px; height: 22px; }
details { border-top: 3px solid var(--ink); }
summary {
  position: relative; display: block; list-style: none; cursor: pointer; padding: 21px 56px 21px 0;
  font-size: 21px; font-weight: 800; font-stretch: 106%; letter-spacing: -.025em; line-height: 1.25;
}
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: 2px; }
.pm { position: absolute; right: 2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: var(--ink); transition: transform .16s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
details > p { padding: 0 56px 26px 0; font-size: 17px; line-height: 1.6; font-weight: 500; }
details > p a { color: var(--cobalt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Guide cards: homepage, hub and related guides */
.g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.g-card { display: block; transition: color .15s; }
.g-card:hover { color: var(--cobalt); }
.g-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.g-card:hover .g-thumb img { transform: scale(1.03); }
.g-thumb.art-c { --panel: var(--cobalt); }
.g-text { display: block; margin-top: 16px; }
.g-card-cta { display: flex; height: 100%; min-height: 280px; padding: 28px; background: var(--vermilion); color: var(--ink); transition: background .15s; }
.g-card-cta:hover { background: var(--ink); color: var(--cream); }
.g-card-cta .g-text { margin: 0; display: flex; flex-direction: column; }
.g-card-cta h3 { font-size: 30px; }
.g-card-cta p { margin-top: 10px; font-size: 17px; }
.g-card-cta svg { width: 34px; height: 34px; margin-top: auto; }
.g-card h3 { font-size: 24px; font-weight: 900; font-stretch: 110%; letter-spacing: -.035em; line-height: 1.14; }
.g-card p { margin-top: 6px; font-size: 16px; line-height: 1.45; font-weight: 500; }

/* 6. Final call to action and who runs the site */
.final { background: var(--vermilion); color: var(--ink); }
.final-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.final-copy { padding: 112px 64px 112px max(48px, calc((100vw - 1200px) / 2)); }
.final h2 { font-size: clamp(44px, 4.6vw, 68px); }
.final .lede { margin-top: 16px; max-width: 520px; }
.final .quote { margin-top: 32px; max-width: 560px; }
.final .plate:focus-within { outline-color: var(--ink); }
.final .band { background: var(--cobalt); }
.final .band svg { fill: var(--cream); }
.final .form-after { margin-top: 20px; }
.final .btn { min-width: 280px; }
.final-art { align-self: end; padding-top: 40px; padding-right: max(48px, calc((100vw - 1200px) / 2)); }
.final-art .art { max-width: 520px; margin-inline: auto; }
.facts-band { background: var(--ink); color: var(--cream); padding-block: 56px 60px; }
.facts-band h2 { font-size: 32px; letter-spacing: -.04em; line-height: 1.1; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 36px; margin-top: 26px; }
.facts li { padding-top: 14px; border-top: 3px solid var(--vermilion); }
.facts strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.facts span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; font-weight: 500; }

/* Inner pages */
.page-head { background: var(--cobalt); color: var(--cream); padding: 164px 0 72px; }
.page-head h1 { max-width: 960px; }
.page-head .lede { margin-top: 24px; max-width: 720px; }
.page-head.has-art { padding-bottom: 0; overflow: hidden; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.page-head-copy { padding-bottom: 72px; }
.page-head-grid h1 { font-size: clamp(46px, 5.2vw, 72px); }
.page-head-grid .art { max-width: 400px; width: 100%; margin-left: auto; }
.crumb { display: block; margin-bottom: 18px; font-size: 16px; font-weight: 700; }
.meta { margin-top: 16px; font-size: 15px; font-weight: 600; }
.page-body { background: var(--cream); padding-block: 84px 112px; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; font-weight: 450; }
.prose h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -.045em; margin: 54px 0 16px; text-wrap: pretty; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ink); }
.prose a, .side-notes a, .fine a { color: var(--cobalt); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover, .side-notes a:hover, .fine a:hover { color: var(--ink); }
.prose strong { font-weight: 750; }
.prose table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-top: 2px solid var(--ink); }
.prose th { font-weight: 800; }
.prose ol { counter-reset: n; margin-bottom: 16px; }
.prose ol li { counter-increment: n; padding-left: 34px; }
.prose ol li::before { content: counter(n); top: 0; width: auto; height: auto; background: none; font-weight: 900; color: var(--cobalt); }
.table-scroll { overflow-x: auto; max-width: 100%; }

/* Guide building blocks: no walls of text */
.prose .keys { margin-bottom: 36px; padding: 22px 26px 12px; background: var(--cobalt); color: var(--cream); }
.prose .keys-h { margin-bottom: 10px; font-size: 21px; font-weight: 900; font-stretch: 110%; letter-spacing: -.03em; }
.prose .keys ul { margin-bottom: 8px; }
.prose .keys li { font-weight: 600; line-height: 1.45; }
.prose .keys li::before { background: var(--vermilion); }
.prose .pull { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 8px solid var(--vermilion); font-size: 27px; font-weight: 800; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.22; }
.prose .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 26px; }
.prose .cards > div { padding: 18px 20px 20px; background: var(--paper); border-top: 5px solid var(--cobalt); }
.prose .cards > div:nth-child(3n+2) { border-top-color: var(--vermilion); }
.prose .cards h3 { margin: 0 0 6px; font-size: 20px; }
.prose .cards p { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 500; }
.prose details.more { display: block; padding: 0; color: inherit; font-size: inherit; white-space: normal; border-top: 2px solid var(--ink); }
.prose details.more:last-of-type { border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.prose details.more + details.more { border-bottom: 0; }
.prose details.more + details.more:last-of-type { border-bottom: 2px solid var(--ink); }
.prose details.more summary { padding: 15px 44px 15px 0; font-size: 19px; }
.prose details.more summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-size: 26px; font-weight: 800; }
.prose details.more[open] summary::after { content: '\2212'; }
.prose details.more > p { padding: 0 0 8px; font-size: 17px; line-height: 1.6; font-weight: 450; }
.prose thead th { background: var(--ink); color: var(--cream); padding: 12px 14px; border: 0; }
.prose td, .prose tbody th { padding: 12px 14px; border-top: 0; border-bottom: 2px solid var(--ink); background: var(--paper); }

/* Jump list at the top of long pages */
.prose .toc { margin-bottom: 44px; padding-block: 18px 12px; border-block: 2px solid var(--ink); }
.prose .toc p { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.prose .toc ol { margin: 0; columns: 2; column-gap: 32px; counter-reset: none; }
.prose .toc li { padding: 0; margin: 0; break-inside: avoid; }
.prose .toc li::before { display: none; }
.prose .toc a { display: block; padding-block: 5px; font-size: 16px; line-height: 1.3; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; }
.about-side { position: sticky; top: 28px; }
.roles { background: var(--ink); color: var(--cream); padding: 30px 28px 32px; }
.roles h2 { font-size: 30px; line-height: 1.08; letter-spacing: -.04em; }
.roles ol { margin-top: 20px; }
.roles li { padding-block: 14px; border-top: 1px solid var(--rule-dark); }
.roles h3 { font-size: 20px; }
.roles p { margin-top: 4px; font-size: 16px; line-height: 1.5; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.form-card { padding: 42px 44px 40px; background: var(--paper); }
.form-card h2 { font-size: 44px; letter-spacing: -.05em; margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.field input, .field textarea { display: block; width: 100%; min-height: 56px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 0; background: #fff; font-size: 17px; font-weight: 500; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.reg-field { max-width: 280px; text-transform: uppercase; font-size: 22px !important; font-weight: 800 !important; letter-spacing: .06em; }
.form-card .btn { width: 100%; min-width: 0; }
.form-card .btn:hover { background: var(--ink); color: var(--cream); }
.fine { margin-top: 16px; font-size: 15px; line-height: 1.55; font-weight: 500; }
.details { background: var(--ink); color: var(--cream); }
.details-body { padding: 30px 30px 34px; }
.details h2 { font-size: 34px; line-height: 1.08; letter-spacing: -.04em; }
.details dt { margin-top: 22px; font-size: 16px; font-weight: 800; }
.details dd { margin-top: 4px; font-size: 16px; line-height: 1.55; font-weight: 500; overflow-wrap: anywhere; }
.details dd a { text-decoration: underline; text-underline-offset: 3px; }
.side-notes { margin-top: 26px; font-size: 16px; line-height: 1.6; font-weight: 500; }
.side-notes p + p { margin-top: 12px; }

.doc-grid, .guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.doc-nav { position: sticky; top: 28px; padding: 24px 26px 26px; background: var(--ink); color: var(--cream); }
.doc-nav h2 { font-size: 26px; line-height: 1.1; letter-spacing: -.035em; }
.doc-nav ul { margin-top: 14px; }
.doc-nav a { display: block; padding: 9px 0; border-top: 1px solid var(--rule-dark); font-size: 15px; font-weight: 600; line-height: 1.3; }
.doc-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.doc-nav a[aria-current] { font-weight: 800; color: #ff9c8a; }

/* Guides */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 22px; font-size: 15px; font-weight: 600; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .7; }
.g-note { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.55; font-weight: 500; }
.g-cta { margin-top: 40px; padding: 34px 36px 36px; background: var(--vermilion); color: var(--ink); }
.prose .g-cta h2 { margin: 0; font-size: 34px; }
.prose .g-cta p { margin: 12px 0 22px; font-size: 17px; line-height: 1.55; font-weight: 500; }
.g-cta .btn, .prose .g-cta a.btn { background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 800; }
.g-cta .btn:hover, .prose .g-cta a.btn:hover { background: var(--cobalt); color: var(--cream); }
.side-cta { display: flex; margin-top: 16px; }
.doc-nav .side-cta .btn-sm { display: flex; width: 100%; justify-content: space-between; padding: 0 14px 0 16px; border-top: 0; font-size: 15px; font-weight: 800; }
.doc-nav .side-cta .btn-sm:hover { text-decoration: none; }
.related { margin-top: 72px; }
.related h2 { font-size: 40px; letter-spacing: -.045em; margin-bottom: 24px; }

/* Footer */
footer { background: var(--ink); color: var(--cream); padding-block: 56px 48px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding-bottom: 32px; border-bottom: 1px solid var(--rule-dark); }
.foot-top .brand svg { width: 190px; height: auto; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 26px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 65px; padding-top: 28px; }
.legal p { font-size: 14px; line-height: 1.7; }
.copyright { grid-column: 1 / -1; }

/* The quote form */
.q { min-height: 100vh; min-height: 100svh; padding: 112px 0 56px; background: var(--cobalt); color: var(--cream); }
.q-wrap { width: calc(100% - var(--gutter)); max-width: 720px; margin-inline: auto; }
.q-progress-text { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 800; }
#q-count { font-weight: 600; }
.q-bar { height: 10px; margin-top: 10px; background: rgba(244, 238, 220, .24); border-radius: 5px; overflow: hidden; }
.q-bar span { display: block; height: 100%; width: 0; background: var(--vermilion); border-radius: 5px; transition: width .25s ease; }
.q h1 { margin-top: 34px; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; outline: none; }
.q-hint { margin-top: 12px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.q-body { margin-top: 28px; }
.q .quote { margin-top: 0; }
.q .plate:focus-within { outline-color: var(--cream); }
.q-opts { display: grid; gap: 12px; }
.q-opts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-opt { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 12px 18px 12px 0; border: 4px solid var(--ink); border-radius: 10px; background: var(--cream); color: var(--ink); text-align: left; transition: background .12s, border-color .12s, transform .12s; }
@media (hover: hover) {
  .q-opt:hover { border-color: var(--vermilion); background: #fff; }
  .q-opt:hover .q-tick { border-color: var(--vermilion); }
  .q-opt[aria-pressed="true"]:hover { border-color: var(--ink); background: var(--vermilion); }
}
.q-opt:active { transform: scale(.985); }
.q-opt:focus-visible { outline: 4px solid var(--cream); outline-offset: 3px; }
.q-key { display: grid; place-items: center; align-self: stretch; flex: 0 0 46px; margin-block: -12px; background: var(--vermilion); border-radius: 5px 0 0 5px; color: var(--ink); font-size: 17px; font-weight: 900; }
.q-opt-text { display: block; flex: 1; min-width: 0; }
.q-opt-l { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.q-opt-d { display: block; margin-top: 3px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.q-tick { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border: 3px solid rgba(32, 33, 28, .4); border-radius: 50%; color: transparent; }
.q-tick svg { width: 18px; height: 18px; --accent: transparent; }
.q-opt[aria-pressed="true"] { background: var(--vermilion); color: var(--ink); }
.q-opt[aria-pressed="true"] .q-key { background: var(--ink); color: var(--cream); }
.q-opt[aria-pressed="true"] .q-tick { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.q-opt[aria-pressed="true"] .q-tick svg { --accent: var(--cream); }
.q-opt[aria-pressed="true"] .q-opt-l { font-weight: 900; }
.q-field { margin-bottom: 14px; }
.q-field label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.q-input { display: block; width: 100%; min-height: 72px; padding: 14px 18px; border: 4px solid var(--ink); border-radius: 10px; background: var(--cream); color: var(--ink); font-size: 22px; font-weight: 700; }
.q-input::placeholder { color: #6d675a; font-weight: 500; opacity: 1; }
.q-input:focus { outline: 4px solid var(--cream); outline-offset: 3px; }
.q-input[aria-invalid="true"] { border-color: var(--vermilion); outline: 4px solid var(--vermilion); outline-offset: 3px; }
.q-dob { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 12px; }
.q-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-pair .q-field, .q-dob .q-field { margin-bottom: 0; }
.q-err { min-height: 0; margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.q-err:not(:empty)::before { content: '! '; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; background: var(--cream); color: var(--ink); border-radius: 50%; font-weight: 900; }
.q-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.q-actions .btn { flex: 1; min-width: 0; min-height: 72px; gap: 16px; border-radius: 10px; font-weight: 900; font-size: 22px; }
.q-actions .btn:hover { background: var(--cream); }
.q-actions .btn:focus-visible, .q-back:focus-visible { outline: 4px solid var(--cream); outline-offset: 3px; }
.q-back { display: inline-flex; align-items: center; justify-content: center; min-height: 72px; min-width: 96px; padding: 0 18px; border: 3px solid var(--cream); border-radius: 10px; background: transparent; color: var(--cream); font-size: 17px; font-weight: 800; }
.q-back:hover { background: rgba(244, 238, 220, .14); }
.q-linkbtn { display: inline-block; margin-top: 14px; padding: 12px 0; border: 0; background: none; color: var(--cream); font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.q-review { background: var(--cream); color: var(--ink); padding: 8px 20px 12px; border: 4px solid var(--ink); border-radius: 10px; }
.q-group + .q-group { margin-top: 10px; border-top: 2px solid var(--ink); }
.q-group h2 { padding-block: 14px 4px; font-size: 20px; font-weight: 900; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.2; }
.q-review dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 2px 14px; align-items: center; padding-block: 3px; }
.q-review dt { font-size: 15px; font-weight: 500; }
.q-review dd { font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.q-review button { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--cobalt); font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.q-legal { margin-top: 14px; font-size: 15px; line-height: 1.5; font-weight: 500; }
.q-legal a, .q-done a.q-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.q-done-steps { display: grid; gap: 12px; margin-top: 24px; }
.q-done-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.q-done-steps svg { width: 26px; height: 26px; --accent: currentColor; }
.q-test { margin-top: 26px; padding: 14px 16px; background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.45; font-weight: 700; }
.q-done-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 1100px) {
  :root { --gutter: 64px; }
  .top .wrap { gap: 22px; }
  .top .brand svg { width: 176px; }
  .nav { gap: 18px; }
  .nav a, .btn-sm { font-size: 14px; }
  .btn-sm { gap: 12px; padding-inline: 14px; }
  h1 { font-size: clamp(48px, 6vw, 66px); }
  .hero h1 { font-size: 6.7vw; }
  .uses-grid, .how-grid, .tools-grid, .faq-grid { gap: 48px; }
  .steps li { grid-template-columns: 72px minmax(0, 1fr); }
  .step-n { font-size: 68px; }
  .about-grid, .doc-grid, .guide-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
}

@media (max-width: 860px) {
  .uses-grid, .how-grid, .tools-grid, .about-grid, .contact-grid, .doc-grid, .guide-grid, .legal, .final-main, .page-head-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { display: block; }
  .faq-side { margin-bottom: 24px; }
  .about-side, .doc-nav { position: static; }
  .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-copy { padding: 60px max(24px, calc((100vw - 720px) / 2)) 40px; }
  .final-art { padding-inline: 24px; padding-top: 0; }
  .uses-grid > div { display: contents; }
  .uses-grid h2 { order: 1; }
  .uses-grid .art { order: 2; }
  .use-links { order: 3; margin-top: 0; }
  .page-head-copy { padding-bottom: 8px; }
  .page-head-grid { gap: 8px; }
  .page-head-grid .art { max-width: 300px; }
  .foot-top { display: block; }
  .foot-links { justify-content: flex-start; margin-top: 24px; }
}

@media (max-width: 700px) {
  :root { --gutter: 40px; scroll-padding-top: 16px; }
  h1 { font-size: clamp(42px, 12vw, 66px); letter-spacing: -.05em; font-stretch: 110%; }
  h2 { font-size: 40px; line-height: 1.04; }
  .lede { font-size: 17px; }
  .js .nav { display: none; }
  .js .nav.is-open { position: absolute; top: 76px; left: 0; right: 0; display: block; padding: 4px 20px 20px; background: var(--cobalt); border-bottom: 2px solid var(--cream); }
  .js .nav.is-open a { display: block; padding-block: 14px; font-size: 19px; font-weight: 700; border-top: 1px solid var(--rule-dark); }
  .js .menu-btn { display: block; }
  .nav { flex-wrap: wrap; gap: 4px 16px; margin: 0; order: 3; width: 100%; }
  .top .wrap { min-height: 76px; flex-wrap: wrap; gap: 0 14px; }
  .js .top .wrap { flex-wrap: nowrap; }
  .top .brand svg { width: 150px; }
  .btn-sm { min-height: 40px; gap: 8px; padding-inline: 12px; margin-left: auto; }
  .btn-sm svg { width: 16px; height: 16px; }
  .side-cta .btn-sm { margin-left: 0; }
  .hero { padding: 92px 0 28px; }
  .hero h1 { font-size: 15vw; line-height: .98; white-space: normal; text-wrap: balance; }
  .sub { font-size: 17px; margin-top: 14px; }
  .quote { margin-top: 26px; }
  .plate-label { margin-inline: 8px; font-size: 17px; margin-bottom: 8px; }
  .hero .quote, .final .quote { width: calc(100vw - 24px); margin-left: calc((100% - (100vw - 24px)) / 2); max-width: none; }
  .plate { border-width: 3px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--cream), inset 0 0 0 2px rgba(32, 33, 28, .28); }
  .band { border-radius: 3px 0 0 3px; }
  .plate .screw { width: 7px; height: 7px; border-width: 1.5px; }
  .plate .screw::after { top: 1.5px; height: 1px; }
  .plate .screw.tl { top: 5px; left: 5px; } .plate .screw.bl { bottom: 5px; left: 5px; }
  .plate .screw.tr { top: 5px; right: 5px; } .plate .screw.br { bottom: 5px; right: 5px; }
  .plate.is-live .plate-input { font-size: max(16px, 12.65vw); }
  .form-after { width: calc(100% - 16px); margin: 16px auto 0; flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .btn { min-height: 62px; min-width: 0; width: 100%; font-size: 19px; padding-inline: 20px; }
  .btn svg { width: 25px; height: 25px; }
  .note { font-size: 16px; }
  .trust { flex-direction: column; gap: 6px; margin-top: 22px; padding-top: 16px; }
  .uses, .how, .tools, .faq { padding-block: 64px; }
  :root { --gutter: 48px; }
  .uses-grid, .how-grid, .tools-grid { gap: 36px; }
  .uses-grid h2, .how-grid h2, .tools-grid h2, .faq-side h2 { font-size: 42px; }
  .use-links strong { font-size: 30px; }
  .use-links em { font-size: 17px; }
  .steps { margin-top: 32px; gap: 26px; }
  .steps li { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
  .step-n { font-size: 58px; }
  .steps h3 { font-size: 24px; }
  .steps p { font-size: 17px; }
  .how-grid .art { width: 78%; margin-inline: auto; }
  .tools-side .art { margin-top: 24px; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; }
  .calc { padding: 22px 18px 24px; }
  .calc h3 { font-size: 24px; }
  .calc-fields { grid-template-columns: 1fr; gap: 12px; }
  .calc-v { font-size: 34px; }
  .calc-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .calc-foot .btn { min-width: 0; }
  summary { font-size: 19px; padding: 18px 40px 18px 0; }
  details > p { padding: 0 0 22px; font-size: 16px; }
  .faq-guides { margin-top: 64px; }
  .faq-guides-h { display: block; }
  .g-cards { grid-template-columns: 1fr; gap: 30px; }
  .final-copy { padding: 44px 20px 32px; }
  .final-art { padding-inline: 20px; }
  .final .quote { margin-top: 24px; }
  .final h2 { font-size: 38px; }
  .final .btn { min-width: 0; }
  .facts-band { padding-block: 40px 44px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .prose .cards { grid-template-columns: 1fr; }
  .prose .pull { font-size: 23px; }
  .prose .keys { padding-inline: 20px; }
  .art-wide img { max-height: 240px; }
  .page-head { padding: 104px 0 44px; }
  .page-head.has-art { padding-bottom: 0; }
  .page-head-grid h1 { font-size: clamp(38px, 11vw, 52px); }
  .page-body { padding-block: 48px 72px; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 42px; }
  .prose .toc ol { columns: 1; }
  .prose table { font-size: 14px; table-layout: fixed; overflow-wrap: anywhere; }
  .prose thead th, .prose td, .prose tbody th { padding: 10px 8px; }
  .g-cta { padding: 26px 22px; }
  .prose .g-cta h2 { font-size: 28px; }
  .related { margin-top: 52px; }
  .related h2 { font-size: 32px; }
  .form-card { padding: 28px 20px; }
  .form-card h2 { font-size: 34px; }
  .details-body { padding: 22px 22px 28px; }
  footer { padding-block: 44px 36px; }
  .foot-links { gap: 6px 22px; }
  .foot-links a { padding-block: 5px; }
  .q { padding: 88px 0 36px; }
  .q h1 { margin-top: 22px; font-size: 32px; line-height: 1.08; }
  .q-hint { font-size: 16px; margin-top: 8px; }
  .q-body { margin-top: 20px; }
  .q-opt { min-height: 66px; padding-left: 18px; padding-right: 14px; gap: 12px; }
  .q-opt-l { font-size: 18px; }
  .q-opt-d { font-size: 14px; }
  .q-key { display: none; }
  .q-actions .btn { min-height: 66px; padding-inline: 18px; font-size: 20px; }
  .q-back { min-height: 66px; min-width: 78px; }
  .q-input { font-size: 20px; min-height: 66px; }
  .q-review { padding-inline: 16px; }
  .q-review dl div { grid-template-columns: minmax(0, 1fr) auto; }
  .q-review dd { grid-column: 1; grid-row: 2; }
  .q-review button { grid-row: 1 / 3; grid-column: 2; }
  .q .quote { width: calc(100vw - 24px); margin-left: calc((100% - (100vw - 24px)) / 2); }
  #q-reg .q-actions, #q-reg .q-err, #q-reg .q-linkbtn { margin-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
