/* ==========================================================================
   Design tokens
   --------------------------------------------------------------------------
   The feel to hold on to: a measuring instrument. Light, plenty of air, one
   accent, and amounts set like readings on a gauge.

   The accent is instrument blue on purpose. The meter needs green / amber / red
   to mean fair / high / too expensive, so the brand colour must stay out of
   that scale — a green brand would make "fair" look like decoration.
   ========================================================================== */

:root {
  --ink:        #0F1723;
  --ink-2:      #46536B;
  --ink-3:      #66738A;
  --line:       #DEE4ED;
  --line-2:     #EDF1F7;
  --paper:      #FFFFFF;
  --surface:    #F5F8FC;

  --accent:      #0B44DB;
  --accent-deep: #0833A6;
  --accent-wash: #EEF3FF;

  /* Verdict scale. -ink variants are the text-safe versions. */
  --fair:       #0F8A5F;
  --fair-ink:   #0B6B4A;
  --high:       #D8790C;
  --high-ink:   #A15300;
  --steep:      #CE2B2B;
  --steep-ink:  #B01F1F;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  /* Amounts and ranges are the stars of this site; they get their own face,
     tabular figures and tighter tracking so columns of prices line up. */
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --wrap: 69rem;
  --wrap-narrow: 44rem;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 35, .05), 0 8px 24px -12px rgba(15, 23, 35, .12);
  --ring: 0 0 0 3px rgba(11, 68, 219, .28);

  --step: clamp(2.5rem, 6vw, 4.5rem);
}

/* ------------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* The wizard hides steps and buttons with the hidden attribute. Any element
   with its own display rule (.btn is inline-flex) would otherwise ignore it. */
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.6;
  text-wrap: pretty;
  /* Dutch stacks up long compounds ("verwerkingsverantwoordelijke") and the
     privacy page is full of them. Without this they push the page sideways on a
     320px screen. */
  overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
img, svg { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Parked above the viewport rather than at left:-9999px, which some engines
   count towards the scrollable width. */
.skiplink {
  position: absolute; left: 0; top: 0; z-index: 20;
  transform: translateY(-200%);
  background: var(--ink); color: #fff; padding: .75rem 1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skiplink:focus { transform: none; color: #fff; }

/* Amounts, everywhere they appear. */
.meter__amount, .ptable__price, .answer strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  font-weight: 600;
}

/* ------------------------------------------------------------ site chrome */

.site-head {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--wrap); margin-inline: auto;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--line-2);
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink); text-decoration: none; font-weight: 650;
  letter-spacing: -.02em; margin-right: auto;
}
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { font-size: 1.0625rem; }

.site-nav ul { display: flex; gap: clamp(.75rem, 2vw, 1.5rem); }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500;
  padding: .35rem 0; display: inline-block;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

@media (max-width: 46rem) {
  .site-head { flex-wrap: wrap; row-gap: .5rem; }
  .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line-2); padding-top: .5rem; }
  .site-nav ul { justify-content: space-between; }
}

.site-foot {
  margin-top: var(--step);
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--step) clamp(1rem, 4vw, 2rem) 2.5rem;
}
.site-foot__top {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
}
@media (max-width: 46rem) { .site-foot__top { grid-template-columns: 1fr; } }
.site-foot__brand .brand__name { display: block; font-weight: 650; margin-bottom: .5rem; }
.site-foot__brand p { color: var(--ink-2); font-size: .9375rem; max-width: 34ch; }
.site-foot__col h2 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: .75rem; font-weight: 650;
}
.site-foot__col li + li { margin-top: .4rem; }
.site-foot__col a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.site-foot__col a:hover { color: var(--accent); text-decoration: underline; }
.site-foot__baby {
  max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--ink-2);
}
.site-foot__contact {
  max-width: var(--wrap); margin: .5rem auto 0;
  font-size: .9375rem; color: var(--ink-3);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--accent); color: #fff;
  font: inherit; font-weight: 600; letter-spacing: -.01em;
  padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--sm { padding: .55rem 1rem; font-size: .9375rem; }
.btn--ghost {
  background: var(--paper); color: var(--accent-deep); border-color: var(--line);
}
.btn--ghost:hover { background: var(--accent-wash); color: var(--accent-deep); }

/* ---------------------------------------------------------------- sections */

.section, .hero {
  max-width: var(--wrap); margin-inline: auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.section { margin-top: var(--step); }
.section__h { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); margin-bottom: .75rem; }
.section__lead { color: var(--ink-2); max-width: 62ch; font-size: 1.0625rem; }
.section__more { margin-top: 1.5rem; font-weight: 550; }
.section__more a { text-decoration: none; }
.section__more a::after { content: " →"; }
.section__more a:hover { text-decoration: underline; }

.kicker {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); font-weight: 700; margin-bottom: .5rem;
}
.microcopy { color: var(--ink-3); font-size: .875rem; margin-top: 1rem; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--ink-2); }

.pull {
  margin: 1.75rem 0 0; padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.125rem, 1rem + .7vw, 1.375rem);
  font-weight: 550; letter-spacing: -.02em; color: var(--ink);
  max-width: 46ch;
}

/* -------------------------------------------------------------------- hero */

.hero { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: 0; }
.hero--compact { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero__h1 { font-size: clamp(2.25rem, 1.6rem + 3.6vw, 4rem); letter-spacing: -.035em; }
.hero__sub {
  margin-top: 1rem; max-width: 54ch;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  color: var(--ink-2);
}
.hero__actions { margin-top: 1.75rem; }
.hero__note { margin-top: .75rem; color: var(--ink-3); font-size: .9375rem; }

.reassure { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; }
.reassure li {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; color: var(--ink-2); font-weight: 500;
}
.reassure li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--fair); flex: none;
}

.hero--thanks .tick {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--fair); color: #fff; font-size: 1.375rem; font-weight: 700;
}

/* ============================ THE RANGE METER =============================
   The signature element (§3). Server-rendered so it is correct with no
   JavaScript; app.js only slides the needle in when it scrolls into view.
   ========================================================================== */

.meter {
  margin: 2rem 0 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.meter__job {
  font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); font-weight: 650; margin-bottom: 2.75rem;
}
.meter--pending .meter__job { margin-bottom: 1.5rem; }

/* Room above for the value bubble, below for zone labels and ticks. */
.meter__scale { position: relative; padding-bottom: 3.25rem; }
.meter--pending .meter__scale { padding-bottom: 2rem; }

/* No overflow:hidden here — the zone labels hang below the bar and would be
   clipped. The end zones round their own outer corners instead. */
.meter__track {
  display: flex; height: 15px; border-radius: 999px;
  background: var(--line-2);
}
.meter__zone { flex: 0 0 var(--w); position: relative; min-width: 0; }
.meter__zone:first-child { border-radius: 999px 0 0 999px; }
.meter__zone:last-child { border-radius: 0 999px 999px 0; }
.meter__zone--fair  { background: var(--fair); }
.meter__zone--high  { background: var(--high); }
.meter__zone--steep { background: var(--steep); }

.meter__zonelabel {
  position: absolute; top: calc(100% + .55rem); left: 50%;
  transform: translateX(-50%);
  font-size: .75rem; font-weight: 650; white-space: nowrap;
  letter-spacing: -.005em;
}
.meter__zone--fair  .meter__zonelabel { color: var(--fair-ink); }
.meter__zone--high  .meter__zonelabel { color: var(--high-ink); }
.meter__zone--steep .meter__zonelabel { color: var(--steep-ink); }

/* Boundary readings: where one verdict turns into the next. */
.meter__tick {
  position: absolute; top: calc(100% + 1.9rem); left: var(--pos);
  transform: translateX(-50%);
}
.meter__tickvalue {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: .75rem; color: var(--ink-3); white-space: nowrap; letter-spacing: -.03em;
}

/* The needle. */
.meter__marker {
  position: absolute; bottom: 100%; left: var(--pos);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 15px;      /* sits on the track */
}
.meter__bubble {
  display: block; text-align: center; white-space: nowrap;
  background: var(--ink); color: #fff;
  padding: .4rem .7rem .45rem; border-radius: 8px;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 35, .5);
}
.meter__bubblelabel {
  display: block; font-size: .6875rem; letter-spacing: .06em;
  text-transform: uppercase; opacity: .75; font-weight: 600;
}
.meter__bubble .meter__amount { display: block; font-size: 1.0625rem; color: #fff; }
/* Pointer: a hairline down to the track, ending in the notch. */
.meter__needle {
  position: absolute; top: 100%; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px; background: var(--ink);
}
.meter__needle::after {
  content: ""; position: absolute; bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink);
}

.meter__ends {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line-2);
  font-size: .8125rem; color: var(--ink-3);
}
.meter__ends span { display: flex; flex-direction: column; }
.meter__ends span:last-child { text-align: right; }
.meter__ends .meter__amount { font-size: 1rem; color: var(--ink); }

.meter__caption { margin-top: 1.25rem; font-size: .9375rem; color: var(--ink-2); }
.meter__pending {
  margin-top: 1.25rem; font-size: .875rem; color: var(--ink-3);
}

/* Needle slides in once, when the meter comes into view. */
@keyframes meter-slide {
  from { left: var(--from, 1%); }
  to   { left: var(--pos); }
}
.meter__marker.is-anim {
  animation: meter-slide 900ms cubic-bezier(.22, .68, .18, 1) both;
}

.verdict {
  margin-top: 1.5rem; font-weight: 600; font-size: 1.0625rem;
  padding-left: .9rem; border-left: 3px solid;
}
.verdict--fair  { border-color: var(--fair);  color: var(--fair-ink); }
.verdict--high  { border-color: var(--high);  color: var(--high-ink); }
.verdict--steep { border-color: var(--steep); color: var(--steep-ink); }

/* ------------------------------------------------------------------- cards */

.cards {
  display: grid; gap: 1rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  padding: 1.5rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--accent);
}
.card__title { font-size: 1.0625rem; margin-bottom: .5rem; letter-spacing: -.015em; }
.card__body { color: var(--ink-2); font-size: .9375rem; }

/* ------------------------------------------------------------------- steps */

.steps {
  display: grid; gap: 1.25rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  counter-reset: step;
}
.step { padding-top: 1rem; border-top: 2px solid var(--line); }
.step__n {
  display: block; font-family: var(--font-mono); font-size: .8125rem;
  font-weight: 700; color: var(--accent); margin-bottom: .5rem;
}
.step__title { font-size: 1rem; margin-bottom: .35rem; }
.step__body { color: var(--ink-2); font-size: .9375rem; }

/* ----------------------------------------------------------------- reasons */

.reasons {
  display: grid; gap: 1.5rem 2rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.reason__title {
  font-size: 1rem; margin-bottom: .4rem; padding-left: .75rem;
  border-left: 2px solid var(--accent);
}
.reason__body { color: var(--ink-2); font-size: .9375rem; padding-left: .75rem; }

/* ------------------------------------------------------------- lists, cols */

.bullets, .ticks, .crosses, .modellist { margin-top: 1.25rem; }
.bullets li, .ticks li, .crosses li, .modellist li {
  position: relative; padding-left: 1.75rem; color: var(--ink-2);
  font-size: .9375rem;
}
.bullets li + li, .ticks li + li, .crosses li + li, .modellist li + li { margin-top: .6rem; }
.ticks li::before, .crosses li::before, .bullets li::before, .modellist li::before {
  position: absolute; left: 0; top: -.05em; font-weight: 700;
}
.bullets li::before   { content: "·"; color: var(--accent); font-size: 1.5rem; top: -.45em; }
.modellist li::before { content: "—"; color: var(--ink-3); }
.ticks li::before     { content: "✓"; color: var(--fair-ink); }
.crosses li::before   { content: "✕"; color: var(--steep-ink); }

.twocol {
  display: grid; gap: 1rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.twocol__col {
  padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--paper);
}
.twocol__col--yes { background: #F3FBF7; border-color: #CBE9DA; }
.twocol__col--no  { background: var(--surface); }
.twocol__h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.twocol__col--yes .twocol__h { color: var(--fair-ink); }
.twocol__col--no  .twocol__h { color: var(--ink-3); }
.twocol .ticks, .twocol .crosses { margin-top: 1rem; }

/* ------------------------------------------------------------------ tables */

.tablewrap { margin-top: 1.75rem; overflow-x: auto; }
.ptable {
  width: 100%; border-collapse: collapse; min-width: 34rem;
  font-size: .9375rem; text-align: left;
}
.ptable caption {
  text-align: left; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-3); font-weight: 650;
  padding-bottom: .75rem;
}
.ptable th, .ptable td { padding: .85rem 1rem; vertical-align: top; }
.ptable thead th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ptable tbody tr + tr th, .ptable tbody tr + tr td { border-top: 1px solid var(--line-2); }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable td { color: var(--ink-2); }
.ptable__price { color: var(--ink); white-space: nowrap; }

/* --------------------------------------------------------------- promise */

.promise {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--accent-wash);
  border: 1px solid #D3E0FF; border-radius: var(--radius-lg);
}
.promise__label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-deep); font-weight: 700; margin-bottom: .75rem;
}
.promise__body {
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem);
  letter-spacing: -.015em; max-width: 58ch;
}
.promise__extra { margin-top: 1rem; color: var(--ink-2); font-size: .9375rem; max-width: 58ch; }

/* --------------------------------------------------------------- counter */

.counter {
  display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem;
  align-items: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(90deg, var(--fair), var(--high), var(--steep)) border-box;
  border-top: 3px solid transparent;
}
.counter__icon { color: var(--accent); grid-row: span 2; display: inline-flex; padding-top: .15rem; }
.counter__headline {
  font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); font-weight: 650;
  letter-spacing: -.02em;
}
.counter__body { color: var(--ink-2); font-size: .9375rem; max-width: 56ch; }
.counter--counted .counter__icon { grid-row: auto; font-weight: 700; }

/* ------------------------------------------------------------- cost links */

.costlinks { display: grid; gap: .5rem; margin-top: 1.75rem; }
.costlink {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.costlink:hover {
  border-color: var(--accent); background: var(--accent-wash);
  color: var(--ink); transform: translateX(2px);
}
.costlink__label { font-weight: 600; letter-spacing: -.015em; }
.costlink__range { font-size: .9375rem; color: var(--ink-2); white-space: nowrap; }
.costlink__cue { color: var(--accent); font-weight: 700; }
@media (max-width: 30rem) {
  .costlink { grid-template-columns: 1fr auto; }
  .costlink__range { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------- FAQ */

.faq { margin-top: 1.75rem; border-top: 1px solid var(--line); max-width: 62ch; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-weight: 600; letter-spacing: -.015em; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-weight: 400; font-size: 1.375rem; color: var(--accent);
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__q:hover { color: var(--accent-deep); }
.faq__a { padding: 0 2rem 1.25rem 0; color: var(--ink-2); font-size: .9375rem; }

/* --------------------------------------------------------------- CTA block */

.ctablock {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  background-image: radial-gradient(120% 140% at 100% 0%, #1B2A44 0%, var(--ink) 55%);
}
.ctablock__h {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  max-width: 34ch; color: #fff;
}
.ctablock__b { margin-top: .75rem; color: #C3CCDB; max-width: 48ch; }
.ctablock .btn { margin-top: 1.75rem; background: #fff; color: var(--ink); }
.ctablock .btn:hover { background: var(--accent-wash); color: var(--accent-deep); }

/* -------------------------------------------------------------------- doc */

.doc { max-width: var(--wrap-narrow); }
.doc__section + .doc__section { margin-top: 2.5rem; }
.doc__section h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.doc__section p { color: var(--ink-2); }
.doc__section p + p { margin-top: .75rem; }
.doc__section .bullets { margin-top: 1rem; }

/* ============================== THE FORM ==================================
   One form, all steps in the HTML. The wizard is progressive enhancement: with
   JavaScript off every step is visible and the form still submits.
   ========================================================================== */

.checkform {
  max-width: 40rem;
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.nojs-note { font-size: .875rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.js .nojs-note { display: none; }

.progress { margin-bottom: 1.75rem; }
.progress__bar {
  height: 5px; border-radius: 999px; background: var(--line-2); overflow: hidden;
}
.progress__fill {
  display: block; height: 100%; width: var(--p); border-radius: 999px;
  background: var(--accent);
  transition: width .3s cubic-bezier(.22, .68, .18, 1);
}
.progress__label {
  margin-top: .55rem; font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 650;
}

.fstep + .fstep { margin-top: 2.5rem; }
.js .fstep + .fstep { margin-top: 0; }
.fstep__head { margin-bottom: 1.25rem; }
.fstep__count {
  font-family: var(--font-mono); font-size: .75rem; color: var(--accent);
  font-weight: 700; margin-bottom: .4rem;
}
.js .fstep__count { display: none; }
.fstep__legend { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); }
.fstep__help { margin-top: .6rem; color: var(--ink-2); font-size: .9375rem; }

.field { margin-top: 1.25rem; }
.field__label {
  display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem;
}
.field__hint { margin-top: .5rem; font-size: .8125rem; color: var(--ink-3); }
.field__error {
  margin-top: .5rem; font-size: .875rem; color: var(--steep-ink); font-weight: 550;
}

input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .85rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--steep); }
textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
::placeholder { color: #97A2B4; }

.input--plate {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em;
  max-width: 12rem; font-weight: 600;
}

.moneyfield { display: flex; align-items: stretch; max-width: 14rem; }
.moneyfield__prefix {
  display: grid; place-items: center; padding: 0 .85rem;
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--surface); color: var(--ink-3);
  font-family: var(--font-mono); font-weight: 600;
}
.moneyfield input {
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em;
}
/* The amount is a reading, not a stepper. */
.moneyfield input::-webkit-outer-spin-button,
.moneyfield input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.moneyfield input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

input[type="file"] {
  width: 100%; font: inherit; font-size: .9375rem;
  padding: .8rem; background: var(--surface);
  border: 1px dashed var(--line); border-radius: var(--radius);
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
  margin-right: .85rem; padding: .5rem .9rem;
  color: var(--accent-deep); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
}

.or {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0 0; color: var(--ink-3); font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 650;
}
.or::before, .or::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* Chips: radio inputs that read as tappable choices. */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.chip label {
  display: inline-block; cursor: pointer;
  padding: .6rem 1rem; font-size: .9375rem; font-weight: 550;
  color: var(--ink-2); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.chip label:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip input:checked + label {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.chip input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); }
.field--check label { font-size: .9375rem; color: var(--ink-2); }
.field--check .field__error { grid-column: 1 / -1; margin-top: 0; }

.fnav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.fnote { margin-top: 1rem; font-size: .8125rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ share */

.share {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.share .btn { margin-top: 1.5rem; }
.related { margin-top: 1rem; }
.related h2 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: 1rem;
}
.related ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.related a { font-weight: 550; }

.answer {
  margin-top: 1.25rem; max-width: 60ch;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem);
  color: var(--ink);
}

/* ------------------------------------------------------------ preferences */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-head, .site-foot, .ctablock, .checkform { display: none; }
}
