/* Hindsight report. Bold and visual: a navy head with the car in a rear-view mirror, big tiles, room to breathe. */

.report { --gap: clamp(3.5rem, 8vw, 6rem); font-size: 1.125rem; }
.report .wrap { width: min(100% - 2rem, 72rem); }

/* Head band */

.r-head { background: var(--ink); color: var(--on-ink); padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(6rem, 12vw, 9rem); }
.r-head .notice { background: rgba(255, 255, 255, 0.1); color: var(--on-ink); margin-bottom: 2rem; }
.r-head :focus-visible, .r-lock :focus-visible, .r-ask :focus-visible { outline-color: var(--mint); }
.r-head .plate:focus-within { outline-color: var(--mint); }
.r-head-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .r-head-grid { grid-template-columns: 1.1fr 0.9fr; } }
/* The registration, drawn as a rear plate: the one yellow thing on the page. */
.r-reg { display: inline-block; background: var(--plate); color: var(--plate-ink); font-family: var(--plate-font); font-weight: 600; font-size: clamp(3rem, 11.5vw, 6.5rem); line-height: 1; letter-spacing: 0.03em; padding: 0.1em 0.3em 0.06em; border-radius: 0.11em; white-space: nowrap; }
.r-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 700; margin-top: 1.25rem; }
.r-head .facts { margin-top: 0.6rem; font-size: 1.0625rem; max-width: 40ch; color: var(--on-ink-muted); }
/* The car sits in the rear-view mirror from the logo: same outline, same stalk. */
.r-car { aspect-ratio: 120 / 70; width: 100%; max-width: 36rem; justify-self: center; background: url("/img/mirror.svg") center / contain no-repeat; display: grid; align-items: center; padding: 11% 11% 2.5%; }
.r-car svg { display: block; width: 100%; height: auto; }
.r-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.r-actions .button { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.r-actions .button:hover { background: #5cf0bd; border-color: #5cf0bd; }
.r-actions .button.quiet { background: transparent; border-color: var(--on-ink-muted); color: var(--on-ink); }
.r-actions .button.quiet:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--on-ink); }

/* Score card, pulled up over the band */

.r-score { margin-top: calc(-1 * clamp(4.5rem, 9vw, 6.5rem)); background: var(--surface); border-radius: 1.25rem; box-shadow: 0 18px 50px rgba(11, 31, 58, 0.14); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .r-score { grid-template-columns: auto 1fr; gap: 3.5rem; } }
.r-dial { width: clamp(11rem, 30vw, 14rem); margin-inline: auto; }
.r-dial svg { display: block; width: 100%; height: auto; }
.r-dial .num { font-family: var(--font); font-weight: 800; font-size: 64px; fill: var(--ink); }
.r-dial .of { font-size: 15px; fill: var(--muted); }
.r-score h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.r-score p { margin-top: 0.75rem; color: var(--muted); max-width: 52ch; }
.r-score details { margin-top: 1.25rem; }
.r-score summary { cursor: pointer; font-weight: 700; }
.r-score details ul { list-style: none; margin: 0.75rem 0 0; padding: 0; max-width: 34rem; }
.r-score details li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.r-score details li span:last-child { font-weight: 700; white-space: nowrap; }
.r-locked-score { text-align: center; }

/* Section rhythm */

.r-section { margin-top: var(--gap); scroll-margin-top: 5rem; }
.r-section > h2 { font-size: clamp(1.875rem, 4.4vw, 3rem); font-weight: 800; }
.r-section > .lead { margin-top: 0.9rem; font-size: 1.1875rem; color: var(--muted); max-width: 56ch; }
.r-section > .lead + * { margin-top: 2.25rem; }

.r-nav { position: sticky; top: 0; z-index: 5; background: rgba(243, 245, 247, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 2.5rem; }
.r-nav .wrap { display: flex; gap: 0.25rem; overflow-x: auto; padding: 0.6rem 0; scrollbar-width: none; }
.r-nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 0.9688rem; padding: 0.45rem 0.9rem; border-radius: 99px; }
.r-nav a:hover { background: rgba(11, 31, 58, 0.08); }

/* Tiles */

.r-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 22rem) { .r-tiles { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 48rem) { .r-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.r-tile { background: var(--surface); border-radius: 1rem; padding: 1.4rem 1.4rem 1.5rem; border-top: 8px solid var(--clear); display: flex; flex-direction: column; gap: 0.4rem; min-height: 10.5rem; }
.r-tile .label { font-weight: 700; color: var(--muted); font-size: 1rem; }
.r-tile .value { overflow-wrap: anywhere; font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.125rem); line-height: 1.1; letter-spacing: -0.01em; }
.r-tile .more { color: var(--muted); font-size: 1rem; line-height: 1.4; margin-top: auto; }
.r-tile.flag { border-top-color: var(--flag); }
.r-tile.flag .value { color: var(--flag); }
.r-tile.note { border-top-color: #e0a400; }
.r-tile.locked { border-top-color: #b9c2c0; background: #e9edec; }
.r-tile.locked .value { color: var(--muted); }

/* Ask cards */

.r-asks { display: grid; gap: 1.25rem; }
.r-ask { background: var(--ink); color: #fff; border-radius: 1rem; padding: clamp(1.5rem, 3.5vw, 2.25rem); display: grid; gap: 0.75rem; }
.r-ask h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 800; color: var(--mint); }
.r-ask p { color: #d5deea; max-width: 62ch; }
.r-ask .say { color: #fff; font-weight: 700; }
.r-allclear { background: var(--clear-bg); border-radius: 1rem; padding: 2rem; }

/* The advert check */

.r-advert p { color: var(--muted); margin-top: 0.4rem; }
.r-advert-form { display: grid; gap: 1rem 2rem; margin-top: 1.25rem; align-items: end; }
@media (min-width: 44rem) { .r-advert-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .r-advert-form { grid-template-columns: auto auto minmax(0, 8rem) minmax(0, 11rem); justify-content: start; gap: 1rem 2.5rem; } }
.r-advert-form .tick { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; cursor: pointer; min-height: 3.2rem; }
.r-advert-form .tick input { width: 1.35rem; height: 1.35rem; accent-color: var(--ink); flex: none; }
.r-advert-form .field { display: grid; gap: 0.3rem; }
.r-advert-form .field label { font-weight: 700; font-size: 1rem; }
.r-advert-form .field input { font: inherit; font-weight: 700; padding: 0.65rem 0.8rem; border: 2px solid var(--ink); border-radius: 0.5rem; background: #fff; color: var(--ink); width: 100%; }
.r-advert-form .field input::placeholder { font-weight: 400; color: #8a95a5; }
.r-claims { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 56rem) { .r-claims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.r-claims-empty { color: var(--muted); }
.r-claim { background: var(--surface); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); border-top: 8px solid var(--clear); display: grid; gap: 0.6rem; align-content: start; }
.r-claim.flag { border-top-color: var(--flag); }
.r-claim.note { border-top-color: #e0a400; }
.r-claim.locked { border-top-color: #b9c2c0; background: #e9edf1; }
.r-claim .cv { font-weight: 800; font-size: 1.375rem; line-height: 1.15; color: var(--clear); }
.r-claim.flag .cv { color: var(--flag); }
.r-claim.note .cv { color: var(--note); }
.r-claim.locked .cv { color: var(--muted); }
.r-claim .says { color: var(--muted); }
.r-claim .says strong { color: var(--ink); }
.r-claim .source { color: var(--muted); font-size: 0.9688rem; }
.r-claim .ask { background: var(--ink); color: #fff; border-radius: 0.75rem; padding: 1rem 1.1rem; display: grid; gap: 0.75rem; margin-top: 0.4rem; }
.r-claim .ask p { font-weight: 700; }
.r-claim .ask span { display: block; font-weight: 700; font-size: 0.9375rem; color: var(--mint); margin-bottom: 0.25rem; }
.r-claim .ask .button { justify-self: start; border-color: var(--on-ink-muted); color: #fff; padding: 0.5rem 0.9rem; font-size: 0.9688rem; }
.r-claim .ask .button:hover { background: rgba(255, 255, 255, 0.08); }

/* Timeline */

.r-timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 50rem; }
.r-timeline::before { content: ""; position: absolute; left: 0.6rem; top: 0.5rem; bottom: 0.5rem; width: 3px; background: var(--line); border-radius: 2px; }
.r-timeline li { position: relative; padding: 0 0 1.75rem 2.75rem; }
.r-timeline li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); }
.r-timeline li.flag::before { border-color: var(--flag); background: var(--flag); }
.r-timeline li.good::before { border-color: var(--clear); }
.r-timeline li.year { padding-bottom: 1rem; font-weight: 800; font-size: 1.5rem; }
.r-timeline li.year::before { display: none; }
.r-timeline .when { color: var(--muted); font-size: 0.9688rem; font-weight: 700; }
.r-timeline .what { font-weight: 800; font-size: 1.1875rem; margin-top: 0.1rem; }
.r-timeline li.flag .what { color: var(--flag); }
.r-timeline .detail { color: var(--muted); margin-top: 0.2rem; max-width: 56ch; }

/* Panels and charts */

.r-panel { background: var(--surface); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.r-panel + .r-panel { margin-top: 1.25rem; }
.r-panel h3 { font-size: 1.3125rem; font-weight: 800; }
.r-panel h3 + p { color: var(--muted); margin-top: 0.4rem; }
.r-chart { overflow-x: auto; }
.r-chart svg { display: block; width: 100%; min-width: 34rem; height: auto; }
.r-chart text { font-family: var(--font); font-size: 13px; fill: var(--muted); }
.r-chart text.callout { font-weight: 700; fill: var(--flag); }

.r-two { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .r-two { grid-template-columns: 1fr 1fr; } .r-two > .r-panel + .r-panel { margin-top: 0; } }

.r-damage { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 40rem) { .r-damage { grid-template-columns: 11rem 1fr; gap: 2.5rem; } }
.r-damage svg { display: block; width: 100%; max-width: 11rem; margin-inline: auto; height: auto; }
.r-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 52rem) { .r-gallery { grid-template-columns: repeat(4, 1fr); } }
.r-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 0.75rem; overflow: hidden; }
.r-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.r-gallery .ph { aspect-ratio: 4 / 3; border-radius: 0.75rem; background: repeating-linear-gradient(135deg, #e3e8e6 0 12px, #edf0ef 12px 24px); display: grid; place-items: center; color: var(--muted); font-size: 0.9375rem; text-align: center; padding: 0.5rem; }
.r-caption { color: var(--muted); font-size: 0.9688rem; margin-top: 0.75rem; }
.r-lightbox { border: 0; padding: 0; background: var(--ink); color: #fff; max-width: min(96vw, 70rem); border-radius: 0.75rem; overflow: hidden; }
.r-lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.r-lightbox img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.r-lightbox .bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0.75rem; }
.r-lightbox button { font: inherit; font-weight: 700; color: var(--ink); background: var(--mint); border: 0; border-radius: 0.4rem; padding: 0.5rem 0.9rem; cursor: pointer; }

.r-facts { display: grid; grid-template-columns: 1fr; margin: 1rem 0 0; }
@media (min-width: 36rem) { .r-facts { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.r-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.r-facts dt { color: var(--muted); }
.r-facts dd { margin: 0; font-weight: 700; text-align: right; }

.r-bars { display: grid; gap: 0.9rem; margin-top: 1.25rem; }
.r-bar .row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; }
.r-bar .row span:last-child { color: var(--muted); font-weight: 500; }
.r-bar .track { height: 0.9rem; background: #e6ebe9; border-radius: 99px; margin-top: 0.35rem; overflow: hidden; }
.r-bar .fill { height: 100%; background: var(--ink); border-radius: 99px; }

.r-money { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
@media (min-width: 36rem) { .r-money { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.r-money div { background: var(--paper); border-radius: 0.75rem; padding: 1rem; }
.r-money .amt { font-weight: 800; font-size: clamp(1.375rem, 3.4vw, 2rem); }
.r-money .lbl { color: var(--muted); font-size: 0.9688rem; }
.r-price { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.r-price label { font-weight: 700; }
.r-price .field { display: flex; align-items: center; gap: 0.5rem; }
.r-price input { font: inherit; font-weight: 800; font-size: 1.5rem; width: 9.5rem; padding: 0.5rem 0.75rem; border: 2px solid var(--ink); border-radius: 0.5rem; background: #fff; color: var(--ink); }
.r-price output { display: block; min-height: 3em; max-width: 52ch; }

.r-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.r-list > li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.r-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.r-list .top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; }
.r-list .top strong { font-size: 1.0625rem; }
.r-list .top .miles { color: var(--muted); }
.r-list ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--muted); max-width: 70ch; }
.r-list p { color: var(--muted); margin-top: 0.25rem; }

.report .checklist label { font-size: 1.125rem; }
.report .checklist li { padding: 1rem 0; }

.r-lock { background: var(--ink); color: #fff; border-radius: 1.25rem; padding: clamp(1.75rem, 5vw, 3.5rem); display: grid; gap: 1.1rem; }
.r-lock h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.r-lock p { color: var(--on-ink-muted); font-size: 1.1875rem; }
.r-lock .button { background: var(--mint); border-color: var(--mint); color: var(--ink); justify-self: start; font-size: 1.125rem; padding: 1rem 1.6rem; }
.r-lock .button:hover { background: #5cf0bd; border-color: #5cf0bd; }
.r-lock .button[disabled] { opacity: 1; background: #1f3859; border-color: #1f3859; color: var(--on-ink-muted); }
.r-lock a { color: #fff; }
.r-consent { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; max-width: 44rem; cursor: pointer; font-size: 1.0625rem; }
.r-consent input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; accent-color: var(--mint); }
.r-lock p.r-small { font-size: 0.9688rem; }
.r-code { display: grid; gap: 0.4rem; max-width: 26rem; }
.r-code label { font-weight: 700; font-size: 1rem; }
.r-code > div { display: flex; gap: 0.5rem; }
.r-code input { flex: 1; min-width: 0; font: inherit; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.7rem 0.9rem; border: 2px solid #3c5377; border-radius: 0.5rem; background: #12294a; color: #fff; }
.r-code input::placeholder { color: #8296b3; font-weight: 500; letter-spacing: 0; text-transform: none; }
.r-lock .r-code .button { background: transparent; border-color: var(--on-ink-muted); color: #fff; font-size: 1rem; padding: 0.7rem 1.1rem; }
.r-lock .r-code .button:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.r-code p:empty { display: none; }
.r-lock [role=alert] { color: #ffb4ab; font-weight: 700; font-size: 1.0625rem; }
.r-lock [role=alert]:empty { display: none; }
.r-lock { grid-template-columns: minmax(0, 1fr); }
.r-climate { height: 38px; width: 100%; max-width: 380px; margin-top: 0.5rem; overflow: hidden; }
.r-climate iframe { display: block; border: 0; width: 380px; height: 38px; transform-origin: left top; color-scheme: normal; }

.report .sources { margin-top: var(--gap); }

@media print {
  .r-nav, .r-actions, .r-lock, .r-price, .r-advert, .r-claim .ask .button { display: none; }
  .r-claim .ask { background: #fff; color: #000; border: 2px solid #000; }
  .r-claim .ask span { color: #000; }
  .r-head { padding-bottom: 2rem; background: #fff; color: #000; }
  .r-head .facts { color: #333; }
  .r-car { background: none; }
  .r-score { margin-top: 1rem; box-shadow: none; border: 1px solid #ccc; }
  .r-ask { background: #fff; color: #000; border: 2px solid #000; }
  .r-ask h3, .r-ask p, .r-ask .say { color: #000; }
  .r-section { break-inside: avoid-page; margin-top: 2rem; }
}

/* Home page */

.home .r-head { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); }
.home .r-head .home-h1 { font-size: clamp(2.4rem, 5.2vw, 3.75rem); font-weight: 800; margin-top: 0; }
.home-lede { font-size: 1.25rem; margin-top: 1.25rem; max-width: 38ch; color: var(--on-ink-muted); }
.home .check-form { margin-top: 2rem; }
.home .check-form .hint { color: var(--on-ink-muted); }
.home .form-error { color: #ffb4ab; }
.plate.front { background: #fff; }
.button.big { font-size: 1.1875rem; padding: 1rem 1.75rem; background: var(--mint); border-color: var(--mint); color: var(--ink); }
.button.big:hover { background: #5cf0bd; border-color: #5cf0bd; }
.home .r-head .notice { margin: 2rem 0 0; }

.h-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .h-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Three pieces of the sample report, fanned over the mirror from the logo. Sizes are in em so the
   whole stage scales with its own width. */
.h-stage { container-type: inline-size; position: relative; display: block; width: 100%; max-width: 36rem; aspect-ratio: 1 / 1.1; justify-self: center; text-decoration: none; color: var(--ink); }
@media (max-width: 40rem) { .h-stage { aspect-ratio: 1 / 1.34; } }
.h-mirror { position: absolute; left: 3%; top: 0; width: 94%; height: auto; }
.h-car { position: absolute; left: 8.5%; top: 16%; width: 38%; height: auto; }
.h-card { position: absolute; background: #fff; border-radius: 1.1em; box-shadow: 0 1.2em 2.6em rgba(3, 12, 26, 0.38); padding: 1.1em 1.2em; font-size: clamp(0.7rem, 2.85cqw, 1.05rem); line-height: 1.3; display: flex; gap: 1em; }
.h-card b { display: block; font-weight: 800; font-size: 1.12em; letter-spacing: -0.01em; }
.h-card small { display: block; font-size: 0.86em; color: var(--muted); margin-top: 0.3em; }
.h-card small i { font-style: normal; font-weight: 700; color: var(--flag); }
.h-card em { display: block; font-style: normal; font-size: 0.86em; color: var(--muted); margin-bottom: 0.25em; }
.h-damage { top: 18%; right: -2%; width: 54%; align-items: center; transform: rotate(4deg); }
.h-damage svg { flex: none; width: 3.7em; height: auto; }
.h-miles { top: 33%; left: -2%; width: 57%; flex-direction: column; gap: 0.5em; transform: rotate(-5deg); }
.h-miles svg { width: 100%; height: auto; }
.h-service { bottom: 0; right: 3%; width: 66%; flex-direction: column; gap: 0.6em; transform: rotate(2deg); }
.h-service svg { width: 100%; height: auto; }
.h-stage:hover .h-service { transform: rotate(0deg) translateY(-0.3em); }
.h-stage:focus-visible { outline-offset: 0.75rem; border-radius: 1rem; }
@media (prefers-reduced-motion: no-preference) { .h-card { transition: transform 0.25s ease; } }

.h-covers { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.h-covers h2 { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.h-covers ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.7rem 1.75rem; font-size: 1.0625rem; }
.h-covers li { display: flex; align-items: center; gap: 0.55rem; }
.h-covers li::before { content: ""; flex: none; width: 0.72rem; height: 0.4rem; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg) translateY(-0.12rem); }

.h-say { gap: 1.5rem; }
@media (min-width: 52rem) { .h-say { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; } }
.h-say h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.h-quote { border-left: 4px solid var(--mint); padding-left: 1.25rem; display: grid; gap: 0.75rem; }
.h-why { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 40rem) { .h-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .h-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h-why .r-panel { margin-top: 0; }
.h-why .r-panel p { color: var(--muted); margin-top: 0.5rem; }

.h-cover-grid { display: grid; gap: 1.25rem; }
@media (min-width: 44rem) { .h-cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-cover-grid .r-panel { margin-top: 0; }
.home-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1.5rem !important; padding-bottom: 0.9rem; border-bottom: 3px solid var(--ink); }
.home-plan span { font-weight: 700; font-size: 1rem; color: var(--muted); white-space: nowrap; }
.home-full { border-top: 8px solid var(--mint); }
.home .ticks li { padding: 0.9rem 0; }
.home .ticks li:last-child { border-bottom: 0; padding-bottom: 0; }
.h-price { margin-top: 1.75rem; font-size: 1.1875rem; max-width: none; }
.h-price a { font-weight: 700; margin-left: 0.5rem; }

.h-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 48rem) { .h-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.h-steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.h-steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 2.5rem; line-height: 1; margin-bottom: 0.6rem; }
.h-steps h3 { font-size: 1.3125rem; font-weight: 800; }
.h-steps p { color: var(--muted); margin-top: 0.4rem; }

.home .faq { max-width: 50rem; }
.home .faq summary { font-size: 1.1875rem; }
.h-final { justify-items: start; }

/* Account */

.acct { padding: clamp(2rem, 6vw, 4rem) 0; }
.acct h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 800; }
.acct .lead { font-size: 1.1875rem; color: var(--muted); margin-top: 0.75rem; max-width: 48ch; }
.acct form { margin-top: 2rem; display: grid; gap: 0.9rem; max-width: 28rem; }
.acct label { font-weight: 700; }
.acct input[type=email] { font: inherit; font-size: 1.1875rem; padding: 0.85rem 1rem; border: 2px solid var(--ink); border-radius: 0.5rem; background: #fff; color: var(--ink); width: 100%; }
.acct .msg { min-height: 1.5em; font-weight: 600; }
.acct .msg.bad { color: var(--flag); }
.acct-cards { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 44rem) { .acct-cards { grid-template-columns: 1fr 1fr; } }
.acct-card { background: var(--surface); border-radius: 1rem; padding: 1.5rem; text-decoration: none; display: grid; gap: 0.5rem; border-top: 8px solid var(--mint); }
.acct-card:hover { box-shadow: 0 10px 30px rgba(11, 31, 58, 0.12); }
.acct-card .reg { font-family: var(--plate-font); font-weight: 600; font-size: 2.25rem; line-height: 1; letter-spacing: 0.03em; }
.acct-card .car { font-weight: 700; }
.acct-card .when { color: var(--muted); font-size: 0.9688rem; }
.acct-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--muted); }

/* Creator programme */

.creators-page .lead { font-size: 1.1875rem; color: var(--muted); }
.creators-page .acct { padding: 0; }
.acct form .field { display: grid; gap: 0.35rem; }
.acct form .field small { color: var(--muted); font-size: 0.9375rem; }
.acct form input[type=text], .acct form input[type=url] { font: inherit; font-size: 1.1875rem; padding: 0.85rem 1rem; border: 2px solid var(--ink); border-radius: 0.5rem; background: #fff; color: var(--ink); width: 100%; }
.acct form .check { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; font-weight: 500; cursor: pointer; }
.acct form .check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--ink); }
.acct form [role=alert] { color: var(--flag); }
.c-code { display: grid; gap: 1.5rem; background: var(--ink); color: var(--on-ink); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 2rem; }
@media (min-width: 48rem) { .c-code { grid-template-columns: auto 1fr; gap: 3rem; align-items: end; } }
.c-code .lbl { display: block; color: var(--on-ink-muted); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.c-code .reg { display: inline-block; background: var(--plate); color: var(--plate-ink); font-family: var(--plate-font); font-weight: 600; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1; letter-spacing: 0.04em; padding: 0.12em 0.35em 0.08em; border-radius: 0.12em; }
.c-code { grid-template-columns: minmax(0, 1fr); }
.c-code > div { min-width: 0; }
.c-link { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.c-link input { flex: 1 1 12rem; min-width: 0; font: inherit; padding: 0.75rem 0.9rem; border: 2px solid #3c5377; border-radius: 0.5rem; background: #12294a; color: #fff; }
.c-link .button { border-color: var(--on-ink-muted); color: #fff; white-space: nowrap; }
.c-link .button:hover { background: rgba(255, 255, 255, 0.08); }
.c-deal { margin-top: 1.25rem; color: var(--muted); font-size: 1.0625rem; max-width: none; }
.c-tiles { margin-top: 1.5rem; }
@media (min-width: 48rem) { .c-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.c-tiles .r-tile { min-height: 8.5rem; border-top-color: var(--mint); }
.c-tiles .r-tile.locked { border-top-color: #b9c2c0; background: var(--surface); }
.c-lists { margin-top: 1.25rem; }
.c-lists .r-panel p { color: var(--muted); margin-top: 0.5rem; }
.c-h2 { margin-top: 3.5rem; font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 800; }
.acct .table-scroll { overflow-x: auto; margin-top: 1.5rem; }
.c-table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: 1rem; }
.c-table th, .c-table td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.c-table th { border-bottom: 2px solid var(--ink); }
.c-table .muted { color: var(--muted); }
.c-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.c-actions .button { padding: 0.5rem 0.9rem; font-size: 0.9688rem; }
.c-pay { display: inline-flex; align-items: center; gap: 0.35rem; }
.c-pay input { font: inherit; width: 5.5rem; padding: 0.45rem 0.5rem; border: 2px solid var(--ink); border-radius: 0.4rem; }
