/* Lockout Desk website: one stylesheet for every page.
   Colours and fonts come from the brand basics (01-brand-website/brand-basics.md).
   Dark sections set their own heading, link and focus colours through the variables below. */

:root {
  --navy: #13213C; --lamp: #F4B63F; --lamp-hover: #F8C766; --lamp-soft: #FDF1D6;
  --paper: #F5F7FB; --white: #FFFFFF; --slate: #4B5468; --line: #DFE3EC; --field: #858EA3; --quiet: #C9CFDC;
  --on-dark: #D9DEEA; --on-dark-2: #B8C2D9; --line-dark: rgba(255, 255, 255, 0.16);
  --error-bg: #FBE3E0; --error-ink: #7A2219;
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(24px, 6vw, 40px);
  --band-y: clamp(56px, 8vw, 104px);
  --heading: var(--navy); --link: var(--navy); --focus: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--slate); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--navy); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--heading); text-wrap: balance; }
p, li, dd, dt { text-wrap: pretty; }
a { color: var(--link); }
svg { display: block; }
button, input, select, textarea { font: inherit; }
strong { font-weight: 600; }
::selection { background: var(--lamp-soft); color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--lamp); color: var(--navy); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Colour zones */
.dark { background: var(--navy); color: var(--on-dark-2); --heading: var(--white); --link: var(--white); --focus: var(--lamp); }
.dark ::selection { background: var(--lamp); color: var(--navy); }
.light { background: var(--white); color: var(--slate); --heading: var(--navy); --link: var(--navy); --focus: var(--navy); }
.light ::selection { background: var(--lamp-soft); color: var(--navy); }

/* Page structure */
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band-y); }
.band--first { padding-top: clamp(40px, 6vw, 80px); }
.paper { background: var(--paper); }
.white { background: var(--white); border-block: 1px solid var(--line); }
.white + .white, .white + .paper.bordered { border-top: 0; }
.bordered { border-top: 1px solid var(--line); }
.stack-lg { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.sec-head h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.dark .lead { color: var(--on-dark); }
.note { max-width: 70ch; font-size: 16px; }
.page-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.page-head h1, .cc-head h1, .guide__head h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.025em; }
.page-head .lead { max-width: 46em; }

/* Links and buttons */
.link { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.link--soft { text-decoration-color: rgba(255, 255, 255, 0.45); font-weight: inherit; }
.link--quiet { color: var(--slate); font-weight: 400; text-decoration-color: var(--quiet); }
.nowrap { white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--lamp); color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s ease; }
.btn:hover { background: var(--lamp-hover); color: var(--navy); }
.btn--lg { min-height: 56px; padding: 12px 24px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--back { background: var(--white); border: 1px solid var(--field); }
.btn--back:hover { background: var(--paper); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn .i { width: 20px; height: 20px; }

/* Header */
.site-header__inner { padding-block: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand__logo { width: 38px; height: 30px; }
.brand__name { font: 800 21px/1 var(--display); letter-spacing: -0.01em; color: var(--white); white-space: nowrap; }
.brand__name span { color: var(--lamp); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav__link { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); font-size: 16px; font-weight: 600; text-decoration: none; }
.nav__link:hover { color: var(--white); }
.nav__link[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 560px) {
  .nav { flex: 1 1 100%; justify-content: space-between; column-gap: 10px; }
  .nav__link { font-size: 15px; }
  .nav .btn { padding: 0 12px; font-size: 15px; }
}

/* Home: hero */
.hero { padding-block: clamp(28px, 5vw, 72px) var(--band-y); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 4.4vw, 56px); }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
.hero__lead { max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark); }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--white); }
.trust .i { color: var(--lamp); }
.trust .link { padding-block: 6px; }
.hero__diy { font-size: 16px; color: var(--on-dark); }
.hero__diy .link { display: inline-block; padding: 10px 0; white-space: nowrap; }
.hero__card { flex: 1 1 360px; max-width: 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: clamp(20px, 2.4vw, 32px); border-radius: 18px; box-shadow: 0 28px 60px -24px rgba(2, 6, 16, 0.6); }
.hero__card-head { display: flex; flex-direction: column; gap: 6px; }
.hero__card h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
.hero__card-head p { font-size: 16px; line-height: 1.5; }
.starter { display: flex; flex-direction: column; gap: 12px; }
.starter__label { font-size: 16px; font-weight: 600; color: var(--navy); }
.starter__tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px; }
.starter__tile { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.starter__tile:hover { border-color: var(--navy); }
.starter__tile .i { width: 18px; height: 18px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.5; }
.hero__note .i { width: 18px; height: 18px; color: var(--navy); }

/* Home: guide shelves */
.shelves { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.shelf { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color 0.15s ease; }
.shelf:hover { border-color: var(--navy); }
.shelf__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--navy); }
.shelf h3 { font-size: 18px; line-height: 1.3; }
.shelf__ex { font-size: 15px; line-height: 1.5; color: var(--slate); }

/* Numbered steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(28px, 3vw, 40px); }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-size: 20px; line-height: 1.3; }
.steps p { font-size: 16px; }
.num { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--lamp); font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; }
.num--sm { width: 36px; height: 36px; font-size: 16px; }
.num--ring { width: 28px; height: 28px; background: none; border: 2px solid var(--navy); color: var(--navy); font-size: 13px; }

/* Promises (dark) */
.promises { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 40px; }
.promises li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.promises h3 { font-size: 19px; line-height: 1.35; }
.promises p { font-size: 16px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.price { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.price__head { display: flex; flex-direction: column; gap: 6px; }
.price__name { font-size: 20px; line-height: 1.3; }
.price__who { font-size: 15px; line-height: 1.5; }
.price__total { display: flex; flex-direction: column; gap: 2px; }
.price__label { font-size: 15px; }
.price__amount { font: 800 38px/1.05 var(--display); letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__rows { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.price__rows div { display: flex; justify-content: space-between; gap: 12px; }
.price__rows dd { font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 28px; border-radius: 16px; }
.strip p { max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--on-dark); }
.strip strong { color: var(--white); }

/* Guide cards (home) */
.guide-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.guide-card { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color 0.15s ease; }
.guide-card:hover { border-color: var(--navy); }
.guide-card__text { display: flex; flex-direction: column; gap: 10px; }
.guide-card h3 { font-size: 21px; line-height: 1.3; }
.guide-card p { font-size: 15px; line-height: 1.5; color: var(--slate); }
.guide-card__more { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--navy); }

/* Questions and answers */
.faq-layout { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.faq-layout__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.faq-layout__head h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.faq-layout__head .lead { max-width: 30ch; }
.faq { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq--wide { flex-basis: 100%; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; cursor: pointer; font: 800 clamp(17px, 1.5vw, 19px)/1.35 var(--display); color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 22px; height: 22px; stroke-width: 2.25; transition: transform 0.2s ease; }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; max-width: 62ch; font-size: 16px; line-height: 1.65; }
.faq__a p + p { margin-top: 10px; }

/* Footer */
.site-footer__inner { padding-block: clamp(56px, 7vw, 88px) 48px; display: flex; flex-direction: column; gap: 48px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-cta__text { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.footer-cta h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.015em; }
.footer-cta p { font-size: 17px; color: var(--on-dark); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { align-self: flex-start; }
.footer-brand p { max-width: 30ch; font-size: 15px; color: var(--on-dark); }
.footer-mail { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--on-dark); text-decoration: none; }
.footer-mail:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: 4px; }
.footer-nav { flex: 0 1 220px; display: flex; flex-direction: column; }
.footer-nav h2 { margin: 0 0 4px; font: 600 14px/1.4 var(--body); letter-spacing: 0.02em; color: var(--white); }
.footer-nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--on-dark-2); text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.legal { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal-links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.legal-links a:hover { color: var(--white); text-decoration-color: var(--lamp); }
.legal p { max-width: 880px; font-size: 13px; line-height: 1.65; }

/* Prices page */
.panel { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.panel h2 { font-size: 20px; line-height: 1.3; }
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px 28px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; }
.ticks .i { width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.5; color: var(--navy); }
.cards-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.cards-steps li { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.cards-steps h3 { font-size: 20px; line-height: 1.3; }
.cards-steps p { font-size: 16px; }
.soft-box { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 40px; padding: 28px; background: var(--lamp-soft); border-radius: 16px; }
.soft-box h3 { flex: 1 1 220px; font-size: 22px; line-height: 1.3; }
.soft-box__body { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; color: var(--navy); }
.soft-box__body p { font-size: 17px; }

/* Guides */
.guide-band { padding-top: clamp(32px, 5vw, 64px); }
.guide { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 40px); }
.guide__head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; line-height: 1.5; color: var(--field); }
.byline { font-size: 15px; }
.guide__layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.guide__aside { flex: 1 1 220px; max-width: 260px; min-width: 0; position: sticky; top: 24px; }
.toc { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.toc h2 { margin: 0 0 6px; font: 600 15px/1.4 var(--body); color: var(--navy); }
.toc a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.4; color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: 4px; }
.guide__article { flex: 999 1 600px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.short-answer { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.short-answer h2 { font-size: 17px; line-height: 1.4; }
.short-answer p { font-size: 18px; line-height: 1.65; color: var(--navy); }
.intro-stack { display: flex; flex-direction: column; gap: 20px; }
.intro-stack > p { font-size: 16px; line-height: 1.65; }
.guide-sec { display: flex; flex-direction: column; gap: 24px; }
.guide-sec > h2, .guide-sec__h { scroll-margin-top: 24px; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.015em; }
.gsteps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.gstep { display: flex; align-items: flex-start; gap: 16px; }
.gstep__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gstep h2, .gstep h3 { font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.gstep p { font-size: 17px; line-height: 1.7; }
.callout { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px; background: var(--lamp-soft); border-radius: 16px; color: var(--navy); }
.callout .i { margin-top: 2px; }
.callout__body { display: flex; flex-direction: column; gap: 6px; }
.callout h3 { font-size: 18px; line-height: 1.35; }
.callout p { font-size: 16px; line-height: 1.65; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; scrollbar-color: var(--field) var(--paper); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; text-align: left; font-variant-numeric: tabular-nums; }
.table-wrap thead tr { background: var(--paper); }
.table-wrap th, .table-wrap td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { font-weight: 600; color: var(--navy); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(22px, 2.6vw, 30px); border-radius: 18px; }
.cta-box__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-box h2 { font-size: 24px; line-height: 1.25; }
.cta-box p { font-size: 16px; color: var(--on-dark); }
.related { display: flex; flex-direction: column; gap: 12px; }
.related h2 { font-size: 22px; line-height: 1.3; }
.row-links { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.row-links li { border-bottom: 1px solid var(--line); }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--navy); text-decoration: none; }
.row-link:hover { text-decoration: underline; text-decoration-color: var(--lamp); text-underline-offset: 4px; }
.sources { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.sources strong { color: var(--navy); }
.crisis { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: 15px; line-height: 1.6; }
.crisis .i { margin-top: 2px; color: var(--navy); }
.hub { display: flex; flex-direction: column; gap: 16px; }
.hub-shelf { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 16px; }
.hub-shelf__head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.hub-shelf__head h2 { font-size: 22px; line-height: 1.3; }
.hub-shelf__head p { font-size: 15px; }
.hub-shelf > .row-links, .hub-shelf > .shelf-empty { flex: 999 1 420px; min-width: 0; }
.shelf-empty { font-size: 16px; }

/* Free case check */
.cc-band { padding-top: clamp(40px, 6vw, 80px); }
.cc-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; }
.cc-head .lead { max-width: 46em; }
.cc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.cc-card { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 16px; }
.progress { display: flex; flex-direction: column; gap: 10px; }
.progress__label { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.progress__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.progress__bars span { height: 6px; border-radius: 3px; background: var(--line); transition: background-color 0.2s ease; }
.progress__bars span.is-done { background: var(--navy); }
.cc-form { display: flex; flex-direction: column; gap: 28px; }
.cc-step { display: flex; flex-direction: column; gap: 28px; }
.cc-form:not(.cc-js) .cc-step + .cc-step { padding-top: 28px; border-top: 1px solid var(--line); }
.cc-form:not(.cc-js) [data-next], .cc-form:not(.cc-js) [data-back] { display: none; }
.cc-step h2 { font-size: 24px; line-height: 1.3; }
.cc-step h2:focus, .sent:focus { outline: none; }
.choices { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.choices legend { padding: 0; margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.choices__grid { display: grid; gap: 10px; }
.choices__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices__grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.choices__row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.choices__grid--2 .choice { gap: 10px; padding: 10px 12px; }
.choice--chip { flex: 1 1 140px; min-height: 52px; padding: 10px 14px; }
.choice:hover { border-color: var(--field); }
.choice:has(input:checked) { background: var(--lamp-soft); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.choice input:focus-visible { outline: none; }
.choice__text { display: flex; flex-direction: column; gap: 2px; }
.choice__label { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.choice__hint { font-size: 14px; line-height: 1.45; color: var(--slate); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.optional { font-weight: 400; color: var(--slate); }
.field__hint { font-size: 14px; line-height: 1.5; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background-color: var(--white); font-size: 16px; color: var(--navy); }
.field textarea { line-height: 1.5; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2313213C' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #6B7385; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--lamp-soft); color: var(--navy); font-size: 15px; line-height: 1.55; }
.notice .i, .note-box .i { margin-top: 1px; }
.note-box { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; line-height: 1.55; }
.note-box .i { color: var(--navy); }
.form-error { padding: 12px 16px; border-radius: 10px; background: var(--error-bg); font-size: 15px; line-height: 1.5; color: var(--error-ink); }
.form-error a { color: var(--error-ink); font-weight: 600; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cc-hint, .cc-privacy { font-size: 14px; line-height: 1.5; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; line-height: 1.5; color: var(--navy); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .i { width: 18px; height: 18px; stroke-width: 2.5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 28px); border-radius: 14px; color: var(--on-dark); }
.sent h2 { font-size: 22px; line-height: 1.3; }
.sent ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.sent strong { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Once sent, the dark panel becomes the card itself, so it isn't a box inside a box. */
.cc-card:has(> .sent:not([hidden])) { padding: 0; border: 0; background: none; }
.cc-card:has(> .sent:not([hidden])) .sent { padding: clamp(24px, 3vw, 40px); border-radius: 18px; }
.cc-aside { flex: 1 1 300px; max-width: 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.aside-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.aside-card h2 { font-size: 20px; line-height: 1.3; }
.aside-card .link { align-self: flex-start; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; }
.mini-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; }

/* Legit and About */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.check-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.check-card h3 { font-size: 19px; line-height: 1.35; }
.check-card p { font-size: 16px; }
.addr { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 56px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 16px; }
.col h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.col .short-answer h2 { font-size: 17px; line-height: 1.4; letter-spacing: 0; }
.col--sticky { position: sticky; top: 24px; }
.facts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { margin-top: 16px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.draft-box { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--lamp-soft); color: var(--navy); }
.draft-box .i { margin-top: 2px; }

/* Small phones (kept last so they win over the rules above): long buttons may wrap
   onto two lines, and two-column answers stack. */
@media (max-width: 430px) {
  /* Sized to the screen so "Instagram, Facebook" stays on one line. */
  .hero h1 { font-size: clamp(30px, 8.5vw, 36px); }
}
@media (max-width: 400px) {
  .btn--lg { white-space: normal; padding-inline: 20px; }
}
@media (max-width: 350px) {
  .choices__grid--2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .guide__aside, .cta-box, .skip { display: none; }
  body { background: var(--white); }
}
