/* Car Claim Centre. Look follows financefairplay.co.uk: black type, red buttons, white card on grey. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Car Claim Centre brand: navy, orange, cream */
  --red: #e87826;        /* brand orange (variable name kept so the rest of the sheet reads the same) */
  --red-dark: #c9651d;
  --black: #020338;      /* brand navy: headings, bands, footer */
  --ink: #2b2b2b;
  --grey: #6b6b6b;
  --line: #d9d6d2;
  --bg: #fbf5ee;         /* cream */
  --peach: #f7dcc3;
  --white: #fff;
  --green: #1d9e4b;
  --err: #d3202a;
  --font: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--white); }
h1, h2, h3 { color: var(--black); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
a { color: var(--red-dark); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
section { scroll-margin-top: var(--nav-h); }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 28px; border-radius: 40px; border: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; cursor: pointer; width: 100%; text-align: center; box-shadow: 0 8px 22px rgba(232,120,38,.35); transition: transform .12s, box-shadow .12s; }
.btn .arr { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--black); box-shadow: 0 8px 22px rgba(2,3,56,.3); }
@media (hover:hover) { .btn-go:hover { background: #14155e; } }
.btn:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-outline { background: #fff; color: var(--black); border: 2px solid var(--black); box-shadow: none; }
.btn-ghost { background: none; color: var(--grey); border: 0; min-height: 0; padding: 8px; font-size: .95rem; width: auto; text-decoration: underline; }
@media (hover:hover) {
  .btn:hover { background: var(--red-dark); }
  .btn-outline:hover { background: var(--black); color: #fff; }
  .btn-ghost:hover { background: none; color: var(--black); }
}

/* nav */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); height: var(--nav-h); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.logo img { width: 150px; height: auto; }
.nav-cta { width: auto; min-height: 42px; padding: 8px 18px; font-size: .95rem; white-space: nowrap; box-shadow: none; }

/* hero: light, soft shapes, copy left and the form right */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 48px 0 56px; }
/* soft peach diagonal band and a faint navy chevron, as on the brand site */
.shape { position: absolute; pointer-events: none; }
.shape-a { width: 38%; height: 140%; right: -12%; top: -20%; background: var(--peach); opacity: .35; transform: skewX(-16deg); border-radius: 60px; }
.shape-b { width: 300px; height: 280px; left: 6%; top: 36%; background: var(--black); opacity: .05; clip-path: polygon(0 0, 100% 0, 50% 100%); }
/* one centred column: headline, then the card, nothing beside it to compete */
.hero-inner { position: relative; max-width: 640px; text-align: center; }
.hero-copy .tick-line { justify-content: center; }
.hero-copy .fn { display: none; }
.fn-mobile { display: block; text-align: center; }
.hero-form { margin-top: 22px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .3em; }
.hl { color: var(--red); }
.hero .sub { font-size: 1.25rem; color: var(--ink); margin: 0; }
/* a badge, not a button: tinted so nobody tries to press it */
.owed { display: block; width: fit-content; max-width: 100%; margin: 6px auto 0; background: #fff3e8; color: var(--red-dark); border: 1px solid #f3cba6; font-weight: 700; font-size: .95rem; padding: 7px 16px; border-radius: 40px; text-align: center; white-space: nowrap; }
.hero .fn { margin-top: 22px; }
.hero-form { position: relative; }
.trust-bar { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 14px 0 0; font-size: .9rem; color: var(--ink); }
.card .fn { text-align: center; margin-top: 10px; font-size: .74rem; }
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar svg { color: var(--red); }
.trust { margin-top: 22px; }
.trust p.lead { font-weight: 600; color: var(--black); text-align: center; font-size: 1rem; }
.trust-grid { display: grid; gap: 10px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--red); }
.trust-item p { margin: 0; flex: 1; text-align: left; }
.trust-item strong { color: var(--black); }
.tick-line { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .95rem; margin: 10px 0 0; }
.tick-line svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.tick-line.centred { justify-content: center; color: var(--grey); font-size: .85rem; }
.fn { font-size: .78rem; color: var(--grey); margin-top: 14px; }

/* form card */
/* the card stands out by contrast: white on a cream hero, a hairline border and one soft shadow */
.card { scroll-margin-top: calc(var(--nav-h) + 10px); background: #fff; color: var(--ink); border: 2px solid var(--red); border-radius: 18px; padding: 24px 22px 22px; box-shadow: 0 16px 40px rgba(2,3,56,.14); text-align: left; }
.progress-row { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.progress { flex: 1; height: 8px; background: #ececec; border-radius: 4px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6b67a, var(--red)); border-radius: 4px; transition: width .35s; }
.step-count { font-size: .78rem; font-weight: 600; color: var(--grey); white-space: nowrap; }
.step-count:empty { display: none; }
.screen[hidden] { display: none; }
.screen-title { font-size: 1.8rem; line-height: 1.15; margin-bottom: .35em; text-align: center; }
.screen-sub { color: var(--grey); font-size: .95rem; margin-bottom: 20px; text-align: center; }
.centre .screen-sub, .centre p { text-align: center; }
.choices { display: grid; gap: 12px; margin-bottom: 18px; }
.choices.tiles { display: flex; justify-content: center; gap: 12px; }
.choice { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 18px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--black); font-weight: 600; font-size: 1.05rem; cursor: pointer; text-align: center; transition: transform .12s, border-color .12s, background .12s; }
/* sized to their content, not stretched to the card */
.choice.tile { flex: 1 1 0; max-width: 210px; flex-direction: row; gap: 12px; min-height: 68px; padding: 12px 24px; font-size: 1.2rem; border-radius: 12px; }
.choice.tile svg { width: 30px; height: 30px; }
.choice.tile svg { color: var(--black); }
.choice[aria-pressed="true"] { border-color: var(--red); background: #fff6ec; transform: scale(1.02); }
.choice[aria-pressed="true"] svg { color: var(--red); }
.choice.invalid { border-color: var(--err); }
.choice:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
@media (hover:hover) { .choice:hover { border-color: var(--black); } }
.choice.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-name { grid-template-columns: 110px 1fr 1fr; }
.nowrap { white-space: nowrap; }
.field.select-float select { padding: 8px 32px 8px 14px; min-height: 58px; }
.row-3 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; }
.actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1; }
.back { flex: none; width: 56px; min-height: 56px; border: 2px solid var(--line); border-radius: 40px; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--black); }
.back svg { width: 22px; height: 22px; }
.back:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
@media (hover:hover) { .back:hover { border-color: var(--black); } }
.warn { color: var(--err); font-size: .9rem; margin: 0 0 10px; display: none; }
.warn.show { display: block; }
.send-err { color: var(--err); font-size: .95rem; margin: 10px 0 0; }

/* fields: floating labels, status icon */
.field { position: relative; margin-bottom: 14px; }
.field input, .field select { width: 100%; min-height: 58px; padding: 24px 44px 8px 16px; border: 2px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--black); background: #fff; appearance: none; -webkit-appearance: none; }
.field select { padding-top: 8px; padding-bottom: 8px; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field.plain input { padding-top: 8px; padding-bottom: 8px; }
.field label { position: absolute; left: 16px; top: 18px; color: var(--grey); font-size: 1rem; pointer-events: none; transition: all .12s; }
.field.plain label, .field.select label { position: static; display: block; font-size: .92rem; font-weight: 600; color: var(--black); margin: 0 0 6px; }
.field input::placeholder { color: transparent; }
.field input:focus::placeholder { color: #a8a8a8; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field input:-webkit-autofill + label { top: 8px; font-size: .72rem; color: var(--grey); }
.field input:focus, .field select:focus { outline: none; border-color: var(--black); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.valid input { border-color: var(--green); }
.field .icon { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; pointer-events: none; display: none; }
.field.checking .icon-spin { display: block; border: 3px solid #e4e4e4; border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; }
.field.valid .icon-ok { display: block; }
.field.valid .icon-ok svg { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .field.checking .icon-spin { animation: none; } .choice.shake { animation: none; } }
.err { color: var(--err); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hint { font-size: .9rem; color: var(--grey); margin: 6px 0 0; }
.hint button { background: none; border: 0; padding: 0; color: var(--red-dark); text-decoration: underline; cursor: pointer; font: inherit; }
.phone-box { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; position: relative; }
.phone-box .cc { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--bg); color: var(--black); font-weight: 600; border-right: 2px solid var(--line); white-space: nowrap; }
.phone-box input { border: 0 !important; border-radius: 0; flex: 1; }
.field.phone:focus-within .phone-box { border-color: var(--black); }
.field.phone.invalid .phone-box { border-color: var(--err); }
.field.phone.valid .phone-box { border-color: var(--green); }
.field.phone label { left: 96px; }
.lock { color: var(--grey); font-size: .85rem; display: flex; gap: 6px; align-items: flex-start; margin-top: 14px; }
.lock svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* soft warning with confirm, for a name that does not look like one */
.soft-warn { border: 2px solid var(--red); background: #fff6ec; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.soft-warn[hidden] { display: none; }
.soft-warn p { margin: 0 0 10px; font-size: .95rem; color: var(--black); }
.soft-actions { display: flex; gap: 8px; }
.btn-small { min-height: 42px; font-size: .95rem; padding: 8px 16px; width: auto; flex: 1; box-shadow: none; }
.choices.stacked { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choices.stacked .choice.tile { max-width: none; width: 100%; min-height: 56px; font-size: 1rem; padding: 8px 16px; }
.choices.stacked .choice.tile svg { width: 24px; height: 24px; }
.choice.tile.primary { border-color: var(--black); }

/* address */
.add-another { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 2px; margin: 2px 0 6px; color: var(--red-dark); font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; }
.add-another:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; border-radius: 6px; }
@media (hover:hover) { .add-another:hover { text-decoration: underline; } }
.years-q { font-weight: 700; color: var(--black); text-align: center; font-size: 1.35rem; line-height: 1.2; margin: 20px 0 12px; }
[data-addr-years][hidden] { display: none; }
.actions .btn[hidden] { display: none; }
.addr-results { display: grid; gap: 6px; margin: 0 0 12px; max-height: 260px; overflow: auto; }
.addr-results .hint { margin: 4px 0 2px; font-weight: 600; color: var(--black); }
.addr-results .btn-ghost { text-align: left; border: 0; padding: 8px 4px; }
.addr-results button { text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; font-size: .95rem; color: var(--black); }
.addr-results button[aria-selected="true"] { border-color: var(--red); background: #fff6ec; }
@media (hover:hover) { .addr-results button:hover { border-color: var(--black); } }
.addr-summary { border: 2px solid var(--green); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; font-size: .95rem; }
.addr-summary strong { display: block; color: var(--black); }
.prev-list { display: grid; gap: 8px; margin-bottom: 14px; }
.prev-item { display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.prev-item button { background: none; border: 0; color: var(--red-dark); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 0; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 12px; }

/* consents */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; font-size: .88rem; line-height: 1.45; color: var(--ink); }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.consent.invalid { color: var(--err); }
.consent.invalid input { outline: 2px solid var(--err); outline-offset: 1px; border-radius: 3px; }
.small { font-size: .82rem; color: var(--grey); }
.small ul { padding-left: 18px; margin: 8px 0; }
.small li { margin-bottom: 6px; }

/* signature */
.sig-wrap { position: relative; border: 2px dashed #b9b9b9; border-radius: 12px; background: #fff; margin-bottom: 8px; touch-action: none; }
.sig-wrap canvas { display: block; width: 100%; height: 170px; border-radius: 6px; }
.sig-wrap .sig-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b0b0b0; pointer-events: none; font-size: .95rem; }
.sig-wrap.has-ink .sig-ph { display: none; }
.sig-wrap.invalid { border-color: var(--err); }
.sig-tools { display: flex; justify-content: flex-end; margin-bottom: 12px; }

/* loading / result */
.centre { text-align: center; padding: 20px 0; }
.spinner { width: 46px; height: 46px; border: 4px solid #e4e4e4; border-top-color: var(--red); border-radius: 50%; margin: 10px auto 18px; animation: spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.otp input { text-align: center; letter-spacing: .3em; font-size: 1.4rem; font-weight: 600; }
.big-tick { width: 64px; height: 64px; color: var(--green); margin: 0 auto 12px; }

/* lp sections */
.strip { background: var(--black); color: #fff; text-align: center; padding: 14px 0; font-size: 1.1rem; }
.strip p { margin: 0; }
.sec { padding: 64px 0; }
.sec-alt { background: var(--bg); }
.steps-sec { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.sec h2 { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.sec .intro { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.step { border-radius: 18px; padding: 30px 24px 22px; background: #fff; text-align: center; box-shadow: 0 10px 36px rgba(0,0,0,.08); }
.step svg { color: var(--red); margin: 0 auto 12px; }
.step h3 { font-size: 1.2rem; }
.step .n { display: inline-block; color: var(--red); font-size: .92rem; margin-top: 10px; }
.step .n::before { content: "\2013  "; }
.step .n::after { content: "  \2013"; }
.reg { font-size: .85rem; color: var(--grey); max-width: 860px; margin: 0 auto 16px; text-align: center; }
.cta-mid { max-width: 360px; margin: 24px auto 0; }
/* lenders: black band, three balanced columns, fade when collapsed */
.sec-dark { background: var(--black); color: #fff; }
.sec-dark h2 { color: #fff; }
.sec-dark .intro { color: #d9d9d9; }
/* letter groups flow left to right, A B C on the first row, then the next three, as on the brand site */
.lenders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin: 28px 0 0; align-items: start; }
.lgroup { min-width: 0; }
.lenders h3 { color: #b9c0d8; font-weight: 600; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.18); }
.lenders ul { list-style: none; padding: 0; margin: 0 0 8px; }
.lenders li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .95rem; color: #eaeaea; }
.lenders li svg { color: var(--red); flex: none; }
.lenders.collapsed { max-height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.show-all { display: inline-flex; margin: 18px auto 0; width: auto; min-height: 50px; padding: 10px 30px; }
.show-all-wrap { text-align: center; }
/* pcp / hp */
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.two h2 { text-align: left; }
.panel { position: relative; background: #fffaf4; border: 1.5px solid var(--black); border-radius: 36px 36px 36px 120px; padding: 28px 28px 24px; text-align: center; }
.panel .car { width: 100%; max-width: 440px; margin: 0 auto 10px; height: auto; }
.panel h2 { text-align: center; font-size: 1.4rem; }
.panel .btn { max-width: 320px; margin: 10px auto 0; }

/* footer */
.site-footer { background: var(--black); color: #dfe3f0; padding: 44px 0 30px; font-size: .88rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .8rem; color: #c3c8dc; }
.site-footer .logo { color: #fff; margin-bottom: 10px; }
.site-footer .logo img { width: 180px; }

/* funnel overlay: once the first answer is in, the funnel takes the screen (fixed, centred, same on every step) */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(2,3,56,.6); backdrop-filter: blur(2px); }
.overlay[hidden] { display: none; }
.overlay-scroll { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px 14px 40px; }
.overlay-box { position: relative; max-width: 580px; margin: 0 auto; }
.overlay-box .card { box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.overlay-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f0f0f0; color: var(--black); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.overlay-close:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
@media (hover:hover) { .overlay-close:hover { background: #e2e2e2; } }
.overlay .progress-row { padding-right: 40px; }
body.modal-open { overflow: hidden; }
/* leave warning: fixed to the screen, centred, the same on every step */
.leave { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 70; width: min(420px, calc(100% - 32px)); background: #fff; border-radius: 16px; padding: 24px 22px 20px; box-shadow: 0 30px 80px rgba(0,0,0,.4); text-align: center; }
.leave[hidden] { display: none; }
.leave h3 { font-size: 1.3rem; margin-bottom: .4em; }
.leave p { color: var(--grey); font-size: .95rem; }
.leave-actions { display: grid; gap: 8px; }
.leave-actions .btn-ghost { width: 100%; }
.overlay.warning .overlay-box > .card { pointer-events: none; filter: blur(2px); opacity: .6; }
@media (max-width: 560px) { .overlay-scroll { padding: 10px 8px 30px; } }

/* _paused.html and _passcode.html */
.status-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 24px 16px; }
.status-wrap { width: min(460px, 100%); }
.status-card { text-align: center; padding: 34px 28px 30px; }
.status-logo { width: 150px; height: auto; margin: 0 auto 20px; }
.status-card form { display: grid; gap: 12px; margin-top: 6px; }
.status-card input[type=password] { width: 100%; min-height: 56px; border: 2px solid var(--line); border-radius: 12px; font: inherit; font-size: 18px; text-align: center; padding: 8px 14px; }
.status-card input[type=password]:focus { outline: none; border-color: var(--black); }
.status-card button { min-height: 56px; border: 0; border-radius: 40px; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.status-card button:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
@media (hover:hover) { .status-card button:hover { background: var(--red-dark); } }
.status-card .err { color: var(--err); margin: 10px 0 0; }
.status-card .err[hidden] { display: none; }

/* test strip */
.test-strip { background: #b40000; color: #fff; text-align: center; font-size: .8rem; font-weight: 600; padding: 5px 10px; letter-spacing: .02em; }

/* cookie banner: small, two equal buttons */
/* cookie banner: small and out of the way, bottom-left corner on desktop so it never covers the form */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 340px; background: #f4f5fa; color: var(--black); border: 1px solid #dfe2ee; border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(2,3,56,.14); font-size: .74rem; line-height: 1.4; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 8px; color: var(--ink); }
.cookie .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie .btn { min-height: 32px; font-size: .8rem; padding: 4px 10px; box-shadow: none; border-radius: 8px; width: 100%; }
.cookie .btn-outline { background: #fff; color: var(--black); border: 1.5px solid var(--black); }
.cookie .more { display: block; margin-top: 6px; font-size: .7rem; color: var(--grey); }

/* policy pages */
.policy { padding: 40px 0 60px; }
.policy .wrap { max-width: 820px; }
.policy h2 { font-size: 1.25rem; margin-top: 1.6em; }
.policy h3 { font-size: 1.05rem; margin-top: 1.2em; }
.policy table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 12px 0; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.scroll-x { overflow-x: auto; }
/* letter of authority boxes, as on the client's letter */
.loa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 22px; }
.loa-col { display: grid; gap: 8px; align-content: start; }
.loa-box { border: 1.5px solid var(--black); border-radius: 4px; padding: 10px 12px; min-height: 44px; font-size: .85rem; color: var(--black); background: #fff; }
.loa-box.loa-tall { min-height: 150px; }
.loa-sign { grid-template-columns: 1fr 1fr; }
.loa-sign .loa-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .loa-grid { grid-template-columns: 1fr; } .loa-sign { grid-template-columns: 1fr 1fr; } }

/* responsive */
@media (max-width: 860px) {
  .hero { padding: 26px 0 44px; }
  .hero-form { margin-top: 18px; }
  .shape-a { width: 320px; height: 320px; right: -160px; top: -120px; }
  .steps { grid-template-columns: 1fr; }
  .lenders { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .panel { border-radius: 28px 28px 28px 80px; padding: 22px 18px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(1080px, 100% - 28px); }
  .hero { padding: 22px 0 56px; }
  .hero h1 { font-size: 1.75rem; }
  .hero .sub { font-size: 1.05rem; }
  .owed { font-size: .82rem; padding: 6px 12px; }
  .card { padding: 20px 16px 18px; border-radius: 14px; }
  .screen-title { font-size: 1.5rem; }
  .choice.tile { min-height: 62px; max-width: none; padding: 10px 16px; font-size: 1.1rem; }
  .logo img { width: 118px; }
  .nav-cta { padding: 8px 12px; font-size: .88rem; min-height: 38px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 9px 11px; font-size: .68rem; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
  .cookie p { margin: 0; }
  .cookie .row { grid-template-columns: auto auto; gap: 6px; grid-row: span 2; }
  .cookie .btn { min-height: 30px; font-size: .74rem; padding: 4px 12px; width: auto; }
  .cookie .more { margin-top: 0; font-size: .66rem; }
  .row, .row-name { grid-template-columns: 1fr; }
  .lenders { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .lenders li { font-size: .85rem; gap: 7px; align-items: flex-start; }
  .lenders li svg { margin-top: 4px; }
  .lenders.collapsed { max-height: 420px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* /x/ fee disclosure (patch 62) */
.fees-sec { padding: 26px 0 30px; background: var(--bg); }
.fees-line { max-width: 820px; margin: 0 auto 8px; font-size: .9rem; color: var(--ink); text-align: center; }
.fees-line a, .fee-foot a { color: var(--red-dark); font-weight: 600; white-space: nowrap; }
.fees-scheme { font-size: .82rem; color: var(--grey); margin-bottom: 0; }
.fee-foot { font-size: .72rem; line-height: 1.45; color: var(--grey); text-align: center; margin: 30px 0 0; }
.owed.owed-x { white-space: normal; max-width: 100%; line-height: 1.35; text-align: center; }

/* /x/: the card question is the page headline (patch 64) */
.hero-x { padding-top: 28px; }
.hero-x .hero-form { margin-top: 0; }
.q-hero { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; margin-bottom: .35em; }
@media (max-width: 640px) { .hero-x { padding-top: 18px; } .q-hero { font-size: 1.75rem; } }

/* every landing page on a phone: no hero headline above the card; the card question takes the headline style (patch 65) */
@media (max-width: 640px) {
  .hero-copy { display: none; }
  .hero { padding-top: 18px; }
  .hero .hero-form { margin-top: 0; }
  .q-hero-m { font-size: 1.75rem; line-height: 1.12; }
  .q-hero-m .hl-m { color: var(--red); }
}
