@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display-600-900.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --plate: #ffd21a;
  --plate-deep: #f2c200;
  --ink: #17191c;
  --paper: #ffffff;
  --road: #f1f3f4;
  --road-deep: #e4e8ea;
  --kerb: #c5cbd1;
  --slate: #565e67;
  --go: #0a7546;
  --go-soft: #e3f3ea;
  --stop: #b3261e;
  --stop-soft: #fbeceb;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Atkinson Hyperlegible Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --col: 38rem;
  --col-form: 34rem;
  --gutter: 20px;
  --tap: 52px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;          
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--plate);
  border-radius: 2px;
}
.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: 8px; top: -60px; z-index: 10;
  background: var(--plate); color: var(--ink); padding: 10px 14px; font-weight: 700;
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h1 { font-size: 2.625rem; }          
h2 { font-size: 2.0625rem; margin-top: 2.25rem; }   
h3 { font-size: 1.625rem; margin-top: 1.75rem; }    
.lede { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); max-width: 36rem; }
.muted { color: var(--slate); }
.small { font-size: 0.875rem; line-height: 1.45; }
.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--form { max-width: calc(var(--col-form) + 2 * var(--gutter)); }
main { display: block; padding-bottom: 3rem; }
.band { background: var(--road); padding: 2.25rem 0 1.5rem; margin-top: 2.5rem; margin-bottom: -3rem; }
.band h2:first-child, .band h3:first-child { margin-top: 0; }
.plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32em;
  background: var(--plate);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.07em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3px rgba(23, 25, 28, 0.35);
}
.plate span { display: inline-block; }
.plate--sm { font-size: 1.375rem; padding: 0.34em 0.55em 0.28em; }
a.plate--sm:hover { text-decoration: none; background: var(--plate-deep); }
.plate--hero {
  display: flex;
  width: 100%;
  font-size: clamp(3.1rem, 17vw, 6.25rem);
  padding: 0.18em 0.2em 0.12em;
  border-width: 3px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6px var(--ink);
  margin: 0.25rem 0 1.75rem;
}
.site-head { padding: 14px 0; border-bottom: 1px solid var(--road-deep); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-head nav { display: flex; gap: 18px; font-size: 0.9375rem; }
.site-head nav a { text-decoration: none; padding: 10px 0; }
.site-head nav a:hover { text-decoration: underline; }
.site-head--home { border-bottom: 0; }
.site-head--home .wrap { justify-content: flex-end; }
.site-foot { background: var(--paper); color: var(--ink); border-top: 1px solid var(--kerb); padding: 2rem 0 2.5rem; font-size: 0.875rem; line-height: 1.55; }
.site-foot p { max-width: 40rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 1.25rem; font-size: 0.9375rem; }
.site-foot nav a { padding: 6px 0; }
.site-foot .plate--sm { font-size: 1.125rem; margin-bottom: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  padding: 0.7rem 1.4rem;
  font-family: var(--text); font-size: 1.125rem; font-weight: 700; line-height: 1.2;
  color: var(--ink); background: var(--plate);
  border: 2px solid var(--ink); border-bottom-width: 4px;
  border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--plate-deep); text-decoration: none; }
.btn:active { border-bottom-width: 2px; transform: translateY(2px); }
.btn--block { display: flex; width: 100%; }
.btn--quiet { background: var(--paper); font-weight: 700; border-bottom-width: 2px; }
.btn--quiet:hover { background: var(--road); }
.btn--small { min-height: 44px; font-size: 1rem; padding: 0.45rem 0.9rem; }
.linkish {
  background: none; border: 0; padding: 8px 0; margin: 0; font: inherit; color: var(--ink);
  text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; min-height: 44px;
}
.linkish:hover { text-decoration-thickness: 2px; }
.hero { padding: 0.5rem 0 0.5rem; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.5rem); }
.hero .btn { margin: 0.5rem 0 0.75rem; }
.reassure { font-size: 0.9375rem; color: var(--slate); margin: 0; }
.who-line { font-size: 0.9375rem; border-left: 4px solid var(--plate); padding: 2px 0 2px 12px; margin: 1.5rem 0 0; }
.steps { list-style: none; padding: 0; margin: 1.25rem 0 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.25rem 3.25rem; margin: 0; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 1.375rem;
  background: var(--plate); border: 2px solid var(--ink); border-radius: var(--radius);
}
.steps h3 { font-size: 1.5rem; margin: 0 0 0.25rem; }
.steps p { margin: 0; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 0.85rem 0; border-top: 1px solid var(--kerb); margin: 0; }
.facts li:first-child { border-top: 0; padding-top: 0; }
.faq details { border-top: 1px solid var(--kerb); }
.faq details:last-of-type { border-bottom: 1px solid var(--kerb); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2.25rem 1rem 0; position: relative;
  font-weight: 700; font-size: 1.0625rem; min-height: var(--tap);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 1.35rem; width: 10px; height: 10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq details > div { padding: 0 0 1rem; }
.prose { max-width: var(--col); }
.prose h1 { margin-top: 1.75rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2rem; }
.prose h3 { font-size: 1.375rem; margin-top: 1.5rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.5rem 0.55rem 0; border-bottom: 1px solid var(--kerb); }
.prose th { font-weight: 700; width: 38%; }
.updated { color: var(--slate); font-size: 0.9375rem; }
.form-page h1 { margin-top: 1.5rem; }
.form-intro { margin-bottom: 1.5rem; }
.section-title { font-size: 1.875rem; margin: 2.25rem 0 1rem; }
.section-title:first-of-type { margin-top: 1rem; }
.field { margin: 0 0 1.35rem; }
.field > label, .field > .label, fieldset > legend {
  display: block; font-weight: 700; font-size: 1.0625rem; margin: 0 0 0.35rem; padding: 0;
}
fieldset { border: 0; margin: 0 0 1.35rem; padding: 0; min-width: 0; }
.hint { display: block; color: var(--slate); font-size: 0.9375rem; margin: -0.15rem 0 0.5rem; }
.input, .select {
  display: block; width: 100%;
  min-height: var(--tap);
  padding: 0.65rem 0.8rem;
  font-family: var(--text); font-size: 1.125rem; line-height: 1.3; color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  appearance: none; -webkit-appearance: none;
}
.input:focus, .select:focus { outline: 3px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 6px var(--plate); }
.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px; background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.input--short { max-width: 11rem; }
.input--postcode { max-width: 10rem; text-transform: uppercase; }
.dob { display: flex; gap: 12px; }
.dob .field { margin: 0; }
.dob label { font-weight: 400; font-size: 0.9375rem; margin-bottom: 0.25rem; display: block; }
.dob .input { text-align: left; }
.dob__d, .dob__m { width: 4.5rem; }
.dob__y { width: 6.25rem; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile label {
  display: flex; align-items: center; justify-content: center;
  min-width: 4.25rem; min-height: 48px; padding: 0 0.9rem;
  border: 2px solid var(--ink); border-radius: 4px; background: var(--paper);
  font-weight: 700; cursor: pointer; user-select: none; -webkit-user-select: none;
}
.tile input:checked + label { background: var(--plate); box-shadow: inset 0 -3px 0 var(--ink); }
.tile input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--plate); }
.field--error .input, .field--error .select, fieldset.field--error .tile label { border-color: var(--stop); }
.field--error > label, fieldset.field--error > legend { color: var(--stop); }
.error-msg { display: block; color: var(--stop); font-weight: 700; font-size: 0.9375rem; margin: 0 0 0.4rem; }
.field--error { border-left: 4px solid var(--stop); padding-left: 12px; margin-left: -16px; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 0.5rem; font-size: 0.9375rem; }
.details-card { border: 2px solid var(--ink); border-radius: 8px; padding: 0.4rem 1rem; margin: 0 0 1.5rem; }
.details-card__title { font-family: var(--display); font-weight: 800; font-size: 1.375rem; margin: 0.5rem 0 0.25rem; }
.drow { display: grid; grid-template-columns: 5.25rem 1fr auto; align-items: center; gap: 4px 10px; padding: 0.55rem 0; border-top: 1px solid var(--road-deep); }
.drow:first-of-type { border-top: 0; }
.drow__k { font-weight: 700; font-size: 0.9375rem; }
.drow__v { overflow-wrap: anywhere; min-width: 0; }
.drow__v--empty { color: var(--slate); font-style: italic; }
.drow .linkish { font-size: 0.9375rem; font-weight: 700; padding: 0 4px; }
.drow__edit { grid-column: 1 / -1; padding: 0.25rem 0 0.4rem; }
.drow__edit .field { margin-bottom: 0.75rem; }
.finder-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.finder-row .input { flex: 0 1 10rem; }
.finder-row .btn { flex: 0 0 auto; min-height: var(--tap); }
.finder-status { margin: 0.6rem 0 0; font-size: 0.9375rem; }
.addr-list { margin: 0.75rem 0 0; max-height: 22rem; overflow-y: auto; border: 2px solid var(--ink); border-radius: 4px; }
.addr-list button {
  display: block; width: 100%; text-align: left; background: var(--paper); border: 0; border-top: 1px solid var(--road-deep);
  padding: 0.8rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink); cursor: pointer; min-height: 48px;
}
.addr-list button:first-child { border-top: 0; }
.addr-list button:hover, .addr-list button:focus-visible { background: var(--road); }
.addr-picked { border: 2px solid var(--go); background: var(--go-soft); border-radius: 6px; padding: 0.75rem 0.9rem; margin: 0.25rem 0 0.75rem; }
.addr-picked p { margin: 0 0 0.35rem; }
.addr-manual { margin-top: 0.5rem; }
.addr-manual .field { margin-bottom: 1rem; }
.prev-block { border-left: 4px solid var(--road-deep); padding-left: 14px; margin: 0.5rem 0 1.25rem; }
.firm-line { background: var(--road); border-left: 4px solid var(--plate); padding: 0.85rem 1rem; margin: 0 0 1.25rem; border-radius: 0 6px 6px 0; }
.firm-line p { margin: 0; }
.check { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; margin: 0 0 1rem; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper);
  display: grid; place-content: center; cursor: pointer;
}
.check input::after {
  content: ""; width: 9px; height: 16px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(45deg) translate(-1px, -2px); opacity: 0;
}
.check input:checked { background: var(--plate); }
.check input:checked::after { opacity: 1; }
.check label { padding-top: 3px; cursor: pointer; }
.field--error .check input { border-color: var(--stop); }
.sig { margin: 0.5rem 0 0.75rem; }
.sig__box {
  position: relative; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper);
  touch-action: none; overflow: hidden;
}
.sig__box canvas { width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sig__line {
  position: absolute; left: 16px; right: 16px; bottom: 44px; height: 3px; background: var(--plate);
  border-radius: 2px; pointer-events: none;
}
.sig__x { position: absolute; left: 16px; bottom: 50px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--slate); pointer-events: none; }
.sig__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 0.4rem; }
.sig__meta p { margin: 0; font-size: 0.9375rem; color: var(--slate); }
.sig--signed .sig__box { border-color: var(--go); }
.sig--signed .sig__line { background: var(--go); }
.sig__done { display: none; color: var(--go); font-weight: 700; }
.sig--signed .sig__done { display: inline; }
.sig--signed .sig__hint { display: none; }
.field--error .sig__box { border-color: var(--stop); }
.missing { border: 2px solid var(--stop); background: var(--stop-soft); border-radius: 6px; padding: 0.85rem 1rem; margin: 0 0 1rem; }
.missing p { margin: 0 0 0.35rem; font-weight: 700; }
.missing ul { margin: 0; }
.missing a { color: var(--stop); font-weight: 700; }
.missing li.done { opacity: 0.55; text-decoration: line-through; }
.missing li.done a { color: var(--ink); }
.notice { border: 2px solid var(--ink); background: var(--road); border-radius: 6px; padding: 0.85rem 1rem; margin: 0 0 1rem; }
.notice--stop { border-color: var(--stop); background: var(--stop-soft); }
.stop-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--slate); }
.sending { display: flex; align-items: center; gap: 12px; margin: 0.75rem 0 0; font-weight: 700; }
.sending__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--plate); border: 2px solid var(--ink); animation: pmp-pulse 1s ease-in-out infinite; }
@keyframes pmp-pulse { 50% { transform: scale(0.6); } }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.result { padding: 1.5rem 0 0.5rem; }
.result h1 { margin-top: 0.5rem; }
.result .ref { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; background: var(--road); padding: 0.2rem 0.6rem; border-radius: 4px; }
.preview-flag { background: var(--ink); color: var(--paper); text-align: center; font-size: 0.875rem; padding: 6px 12px; }
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  h1 { font-size: 3.25rem; }
  .hero h1 { font-size: 4rem; }
  .plate--sm { font-size: 1.5rem; }
  .site-head { padding: 18px 0; }
  .band { padding: 3rem 0 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head nav, .site-foot nav, .btn { display: none; }
}
