/* Faster Depreciation. The Blueprint and Brick identity from brand/brand-guidelines.md. */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Primary */
  --navy: #15324D;
  --chalk: #F1F4F6;
  --paper: #FFFFFF;
  --brick: #B23F26;
  /* Support */
  --night: #0C1F33;
  --slate: #4C5A68;
  --concrete: #C3CCD4;
  --sky: #DCE7F0;
  --teal: #11705E;
  --signal: #F2C14E;
  --brick-dark: #8F311D;
  --brick-light: #E8826A;
  /* Tints used only behind banners */
  --ok-tint: #DFF0EA;
  --field-line: #8796A5;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --wrap: 72.5rem;
  --gutter: 16px;
  --r: 2px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--navy);
  font: 400 17px/27px var(--text);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-color: var(--brick); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brick-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; box-shadow: 0 0 0 1px var(--navy); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; font-stretch: 112%; margin: 0; letter-spacing: -0.005em; }
h3 { font-size: 22px; line-height: 28px; font-stretch: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.label { font: 600 12px/16px var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons: one Brick primary per view, navy outline secondary */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  font: 600 16px/1.2 var(--text);
  border-radius: var(--r);
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 120ms ease, color 120ms ease;
}
.btn--primary { background: var(--brick); color: var(--paper); border-color: var(--brick); }
.btn--primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: var(--paper); }
.btn--primary:disabled { background: var(--concrete); border-color: var(--concrete); color: var(--slate); cursor: not-allowed; }
.btn--secondary { background: var(--paper); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--paper); }
.btn--small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }

/* Status banner: Signal with navy text */
.status { background: var(--signal); color: var(--navy); font-size: 15px; line-height: 22px; }
.status__inner {
  display: flex; gap: 6px 24px; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.status p { margin: 0; }
.status__link { white-space: nowrap; font-weight: 600; text-decoration-color: var(--navy); }
.status__link:hover { color: var(--navy); }

/* Masthead: endorsed logo left, navigation right */
.masthead { background: var(--paper); border-bottom: 1px solid var(--concrete); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.wordmark { display: block; flex: none; text-decoration: none; }
.wordmark img { width: 260px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--brick); }

/* Hero: Chalk, Display XL, ledger-bars chart on a Paper card */
.hero { background: var(--chalk); padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.07; font-weight: 640; max-width: 16ch; }
.hero__lead { font-size: 20px; line-height: 31px; max-width: 36rem; margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 20px; font-size: 14px; line-height: 21px; color: var(--slate); }
.hero__note .num { color: var(--navy); }

/* The ledger: one bar per year, height = that year's write-off, same scale in both rows */
.ledger { margin: 0; background: var(--paper); border: 1px solid var(--concrete); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.ledger__row + .ledger__row { margin-top: 20px; }
.ledger__label { font-size: 14px; line-height: 21px; margin: 0 0 6px; }
.ledger__row--report .ledger__label { color: var(--brick); font-weight: 500; }
.ledger__track { display: flex; align-items: flex-end; height: 68px; border-bottom: 1.5px solid var(--navy); }
.bars {
  --years: 50;
  --col: calc(100% / var(--years));
  --gap: 2px;
  background-image: repeating-linear-gradient(90deg, var(--bar) 0 calc(var(--col) - var(--gap)), transparent calc(var(--col) - var(--gap)) var(--col));
  background-size: 100% 100%;
}
.bars--default { --bar: var(--concrete); }
.bars--report { --bar: var(--brick); }
.ledger .bars--default { width: 100%; height: 32px; }
.ledger .bars--report { width: 50%; height: 64px; }
.ledger__axis { position: relative; height: 14px; margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--slate); }
.ledger__axis span { position: absolute; top: 0; white-space: nowrap; }
.ledger__axis span:nth-child(1) { left: 0; }
.ledger__axis span:nth-child(2) { left: 50%; transform: translateX(-50%); }
.ledger__axis span:nth-child(3) { right: 0; }
.ledger figcaption { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--concrete); font-size: 14px; line-height: 21px; color: var(--slate); }

/* Terms */
.terms { background: var(--paper); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--concrete); border-bottom: 1px solid var(--concrete); }
.terms__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.terms__list > div { border-top: 3px solid var(--navy); padding-top: 16px; }
.terms dt { font: 600 20px/26px var(--display); font-stretch: 106%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.terms .de { font: italic 400 14px/1 var(--text); color: var(--slate); }
.terms dd { margin: 10px 0 0; font-size: 16px; line-height: 25px; }

/* Section heads */
.section-head { max-width: 50rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.section-head p { margin-top: 12px; color: var(--slate); font-size: 18px; line-height: 28px; }

/* Calculator card: navy top rule, inputs first, then the results ledger */
.calc { padding: clamp(48px, 7vw, 88px) 0; }
.calc__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--paper); border: 1px solid var(--concrete); border-top: 4px solid var(--navy); border-radius: var(--r);
}
.calc__form { padding: clamp(20px, 3vw, 36px); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend, .field__sub > label { display: block; font-weight: 500; font-size: 15px; line-height: 20px; margin-bottom: 6px; padding: 0; }
.field__sub { margin-top: 14px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: 13px; line-height: 19px; color: var(--slate); margin: 6px 0 0; }
.input { position: relative; }
.input input, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 500 17px/1.3 var(--mono); color: var(--navy);
  background: var(--paper); border: 1px solid var(--field-line); border-radius: var(--r);
}
textarea { font: 400 16px/1.5 var(--text); resize: vertical; min-height: 6rem; }
.input input:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px var(--signal); }
.input input[aria-invalid="true"] { border: 2px solid var(--brick); }
.input--euro input { padding-left: 30px; }
.input--euro::before { content: '€'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font: 500 17px/1 var(--mono); color: var(--slate); pointer-events: none; }
.input--pct input, .input--m2 input { padding-right: 44px; }
.input--pct::after, .input--m2::after { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 500 15px/1 var(--mono); color: var(--slate); pointer-events: none; }
.input--pct::after { content: '%'; }
.input--m2::after { content: 'm²'; }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.seg { display: inline-flex; border: 1px solid var(--field-line); border-radius: var(--r); overflow: hidden; max-width: 100%; }
.seg label { position: relative; flex: 1 1 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 16px; font-size: 15px; line-height: 20px; text-align: center; white-space: nowrap; cursor: pointer; background: var(--paper); }
.seg label + label span { border-left: 1px solid var(--concrete); }
.seg input:checked + span { background: var(--navy); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: -3px; }
.seg--3 { display: flex; }

output { float: right; font-weight: 500; color: var(--navy); font-size: 15px; }
input[type=range] { width: 100%; accent-color: var(--navy); height: 2rem; margin: 0; }

.calc__rule { margin-top: 28px; padding: 16px 18px; background: var(--sky); border-radius: var(--r); font-size: 14px; line-height: 21px; color: var(--navy); }
.calc__rule h3 { font-size: 16px; line-height: 22px; margin-bottom: 8px; }

.calc__out { padding: clamp(20px, 3vw, 36px); border-left: 1px solid var(--concrete); display: flex; flex-direction: column; }
.verdict { padding: 12px 16px; border-left: 4px solid var(--navy); background: var(--sky); border-radius: var(--r); margin-bottom: 24px; }
.verdict[data-state="worth-it"] { background: var(--ok-tint); border-left-color: var(--teal); }
.verdict__title { font: 600 18px/24px var(--text); margin: 0 0 4px; }
.verdict__text { font-size: 14px; line-height: 21px; margin: 0; }

.mini-ledger { margin-bottom: 20px; }
.mini-ledger__row { display: grid; grid-template-columns: 6.5rem 1fr; align-items: end; gap: 12px; margin-bottom: 8px; }
.mini-ledger__label { font-size: 13px; line-height: 18px; color: var(--slate); padding-bottom: 2px; }
.mini-ledger__track { height: 56px; display: flex; align-items: flex-end; border-bottom: 1.5px solid var(--navy); }
.mini-ledger .bars { --gap: 1px; transition: width 200ms ease, height 200ms ease; }
@media (prefers-reduced-motion: reduce) { .mini-ledger .bars { transition: none; } }

.results { margin: 0; border-top: 2px solid var(--navy); }
.results > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--concrete); }
.results dt { font-size: 15px; line-height: 21px; }
.results dt .sub { display: block; font-size: 12.5px; line-height: 18px; color: var(--slate); margin-top: 1px; }
.results dd { margin: 0; font-size: 17px; text-align: right; white-space: nowrap; }
.results__extra dt { font-weight: 600; }
.results__extra dd { font-size: 28px; line-height: 1.1; }
.results__saving dd { font-size: 22px; color: var(--teal); }
.results__fee dd { font-size: 22px; color: var(--brick); }
.results__fee .net { display: block; font-size: 13px; color: var(--slate); font-weight: 400; margin-top: 2px; }
.results__gain { border-bottom: 0 !important; }
.results__gain dt { font-weight: 600; }
.results__gain dd { font-size: 22px; color: var(--teal); }
.results__gain dd.is-negative { color: var(--brick-dark); }
.results__note { margin-top: auto; padding-top: 20px; font-size: 13px; line-height: 19px; color: var(--slate); }

/* Pricing */
.pricing { background: var(--paper); padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--concrete); border-bottom: 1px solid var(--concrete); }
.formula { border-top: 4px solid var(--navy); border-bottom: 1px solid var(--concrete); padding: clamp(24px, 3vw, 36px) 0; margin-bottom: clamp(32px, 4vw, 48px); }
.formula__rule { font: 620 clamp(26px, 3.2vw, 40px)/1.15 var(--display); font-stretch: 112%; max-width: 26ch; margin-bottom: 28px; }
.formula__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.formula__facts > div { display: flex; flex-direction: column; gap: 4px; }
.formula__k { font: 600 12px/16px var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.formula__v { font-size: 30px; line-height: 1.2; color: var(--navy); }
.formula__v:not(.num) { font-family: var(--display); font-weight: 600; font-stretch: 106%; }
.formula__n { font-size: 14px; line-height: 21px; color: var(--slate); }

.pricing__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); margin-bottom: clamp(32px, 5vw, 56px); }
.pricing__grid h3 { margin-bottom: 8px; }
.pricing__grid p + h3 { margin-top: 28px; }
.pricing__sub { margin: clamp(32px, 4vw, 48px) 0 16px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 26px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; background: var(--paper); }
.table caption { text-align: left; caption-side: bottom; font-size: 13px; line-height: 19px; color: var(--slate); padding: 10px 0 0; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--concrete); text-align: left; vertical-align: top; }
.table thead th { font: 600 12px/16px var(--text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); border-bottom: 2px solid var(--navy); vertical-align: bottom; }
.table tbody th { font-weight: 500; }
.table .r { text-align: right; }
.table td.num { font-weight: 400; }
.table .strong { font-weight: 500; color: var(--brick); }
.table .muted { color: var(--slate); }
.table .why { display: block; font-family: var(--text); font-size: 12px; color: var(--slate); }
.table--price tbody tr:nth-child(odd) { background: #F7F9FB; }
.table--examples td, .table--examples th { white-space: nowrap; }
.table--examples tbody th { white-space: normal; min-width: 11rem; }
.table--examples tbody tr:nth-child(odd) { background: #F7F9FB; }
.table--compare td:nth-child(2) { font-weight: 500; background: var(--sky); }
.table--compare thead th:nth-child(2) { color: var(--navy); background: var(--sky); }
.illustration { margin-top: 16px; padding: 12px 16px; background: var(--sky); border-left: 4px solid var(--navy); border-radius: var(--r); font-size: 15px; line-height: 23px; max-width: 50rem; }
.fine { font-size: 13px; line-height: 19px; color: var(--slate); margin-top: 12px; }

/* How it works */
.how { padding: clamp(48px, 7vw, 88px) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; border-top: 2px solid var(--navy); }
.steps li { counter-increment: step; padding: 20px 20px 0 0; position: relative; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--concrete); }
.steps li::before { content: '0' counter(step); display: block; font: 500 15px/1 var(--mono); color: var(--slate); margin-bottom: 14px; }
.steps h3 { font-size: 18px; line-height: 24px; margin-bottom: 8px; }
.steps p { font-size: 15px; line-height: 23px; }
.independence { margin-top: clamp(32px, 5vw, 52px); background: var(--navy); color: var(--paper); padding: clamp(24px, 3vw, 36px); border-radius: var(--r); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.independence h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-stretch: 112%; }
.independence p { color: var(--concrete); }

/* Who */
.who { background: var(--paper); padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--concrete); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 clamp(32px, 5vw, 64px); }
.who__list { list-style: none; margin: 0; padding: 0; }
.who__list li { padding: 14px 0; border-bottom: 1px solid var(--concrete); }
.who__list li:first-child { border-top: 2px solid var(--navy); }
.who__list strong { font-weight: 600; }
.who__best { grid-column: 2; margin-top: 20px; color: var(--slate); font-size: 15px; line-height: 23px; }

/* FAQ */
.faq { background: var(--chalk); padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--concrete); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(16px, 5vw, 64px); }
.faq__list details { border-bottom: 1px solid var(--concrete); }
.faq__list details:first-child { border-top: 2px solid var(--navy); }
.faq__list summary {
  cursor: pointer; list-style: none; padding: 17px 40px 17px 0; position: relative;
  font: 600 19px/26px var(--display); font-stretch: 106%;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 22px/1 var(--mono); color: var(--navy); }
.faq__list details[open] summary::after { content: '\2212'; }
.faq__list details > div { padding: 0 0 20px; max-width: 42rem; }
.faq__list ul { margin: 0 0 1em; padding-left: 20px; }
.faq__list li { margin-bottom: 5px; }

/* Reserve */
.reserve { background: var(--navy); color: var(--paper); padding: clamp(48px, 7vw, 88px) 0; }
.reserve__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.reserve h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 640; }
.reserve__lead { font-size: 20px; line-height: 31px; margin: 20px 0; }
.reserve__copy p:not(.reserve__lead) { color: var(--concrete); font-size: 15px; line-height: 23px; max-width: 32rem; }
.reserve__form { background: var(--paper); color: var(--navy); padding: clamp(20px, 3vw, 32px); border-radius: var(--r); }
.reserve__form .field { margin-bottom: 18px; }
.reserve__form .input input { font: 400 17px/1.3 var(--text); }
.optional { font-weight: 400; color: var(--slate); font-size: 13px; margin-left: 6px; }
.linkish { background: none; border: 0; padding: 6px 0 0; color: var(--navy); text-decoration: underline; text-decoration-color: var(--brick); text-underline-offset: 3px; font: 500 14px var(--text); cursor: pointer; }
.reserve__privacy { font-size: 13px; line-height: 19px; color: var(--slate); }
.error { color: var(--brick-dark); font-size: 14px; font-weight: 500; margin: 6px 0 0; }
.reserve__done { margin-top: 16px; padding: 12px 16px; background: var(--ok-tint); border-left: 4px solid var(--teal); border-radius: var(--r); font-size: 15px; line-height: 23px; }

/* Footer */
.footer { background: var(--night); color: var(--chalk); padding: 48px 0 32px; font-size: 14px; line-height: 21px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px; }
.footer__brand { margin: 0 0 16px; }
.footer__brand img { width: 220px; height: auto; }
.footer a { color: var(--chalk); text-decoration-color: var(--brick-light); }
.footer a:hover { color: var(--paper); }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(195, 204, 212, 0.25); font-size: 13px; color: var(--concrete); }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal__body { max-width: 44rem; background: var(--paper); border: 1px solid var(--concrete); border-top: 4px solid var(--navy); border-radius: var(--r); padding: clamp(20px, 4vw, 48px); }
.legal h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 620; margin-bottom: 24px; }
.legal h2 { font-size: 22px; line-height: 28px; font-stretch: 106%; margin: 36px 0 12px; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 20px; }
.legal .lede { font-size: 18px; line-height: 28px; }

/* Imagery. Cool, flat-daylight photographs in navy-led frames. */
.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--sky); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) contrast(1.03); }
.frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(21, 50, 77, 0.14); background: linear-gradient(180deg, rgba(21, 50, 77, 0) 55%, rgba(21, 50, 77, 0.18)); }
.frame__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--paper); background: var(--navy); padding: 7px 9px; border-radius: var(--r);
}

/* Hero: blueprint grid behind, photograph with the ledger card laid over it */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--chalk);
  background-image:
    linear-gradient(rgba(21, 50, 77, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 50, 77, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--chalk) 0%, rgba(241, 244, 246, 0.9) 45%, rgba(241, 244, 246, 0.2) 100%); pointer-events: none; }
.hero__grid { position: relative; }
.hero__visual { position: relative; padding-bottom: 8px; }
.hero__photo { aspect-ratio: 1 / 1; border-top: 4px solid var(--navy); }
.hero__photo img { object-position: 50% 80%; }
.hero__visual .ledger {
  position: relative; margin: -30% 18% 0 -7%; z-index: 1;
  box-shadow: 0 24px 48px -20px rgba(12, 31, 51, 0.45), 0 2px 6px rgba(12, 31, 51, 0.08);
  border-top: 4px solid var(--brick);
}

/* How it works: inspection details */
.evidence { margin: 0 0 clamp(36px, 5vw, 56px); }
.evidence__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.evidence__photo { aspect-ratio: 3 / 2; }
.evidence figcaption, .who__photo figcaption { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--slate); max-width: 44rem; }

/* Who: the post-war block under the heading */
.who__intro { grid-row: span 2; }
.who__photo { overflow: visible; background: none; }
.who__photo img { aspect-ratio: 16 / 9; border-radius: var(--r); border-top: 4px solid var(--navy); }
.who__photo::after { display: none; }

/* Reserve: the courtyard at dusk under a navy scrim */
.reserve { position: relative; overflow: hidden; isolation: isolate; }
.reserve__bg { position: absolute; inset: 0; z-index: -1; }
.reserve__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.8); }
.reserve__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 50, 77, 0.97) 0%, rgba(21, 50, 77, 0.9) 45%, rgba(21, 50, 77, 0.5) 100%); }

/* Gentle reveal, only with JavaScript and only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__photo img { animation: settle 1400ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
}

@media (max-width: 960px) {
  .hero::before { background: linear-gradient(180deg, var(--chalk) 0%, rgba(241, 244, 246, 0.85) 60%, rgba(241, 244, 246, 0.5) 100%); }
  .hero__visual { max-width: 36rem; }
  .hero__photo { margin-left: 0; aspect-ratio: 4 / 3; }
  .hero__photo img { object-position: 50% 55%; }
  .hero__visual .ledger { margin: -64px 12px 0; }
  .who__intro { grid-row: auto; }
  .who__photo { margin-bottom: 28px; }
  .reserve__bg::after { background: linear-gradient(180deg, rgba(21, 50, 77, 0.95) 0%, rgba(21, 50, 77, 0.88) 100%); }
}
@media (max-width: 720px) {
  .evidence__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .hero__grid, .calc__grid, .pricing__grid, .reserve__grid, .faq__wrap, .who__grid { grid-template-columns: minmax(0, 1fr); }
  .calc__out { border-left: 0; border-top: 1px solid var(--concrete); }
  .who__best { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 18px 0 18px 48px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--concrete); }
  .steps li::before { position: absolute; left: 0; top: 22px; }
  .independence { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .terms__list, .formula__facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .status__inner { flex-direction: column; align-items: flex-start; }
  .masthead__inner { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .wordmark img { width: 184px; }
  .btn--small { padding: 0 10px; font-size: 13px; }
  .hero__lead { font-size: 18px; line-height: 28px; }
  .results dd { font-size: 16px; }
  .results__extra dd { font-size: 24px; }
  .results__saving dd, .results__fee dd, .results__gain dd { font-size: 19px; }
  .table--compare th, .table--compare td { white-space: normal; }
  .table--examples thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--examples, .table--examples tbody, .table--examples tr, .table--examples th, .table--examples td { display: block; width: 100%; }
  .table--examples tr { border-top: 2px solid var(--navy); padding: 8px 0 12px; }
  .table--examples tbody tr:nth-child(odd) { background: transparent; }
  .table--examples tbody th { border: 0; padding: 8px 0; font-weight: 600; }
  .table--examples td { text-align: right; border: 0; padding: 5px 0; white-space: normal; overflow: hidden; }
  .table--examples td::before { content: attr(data-label); float: left; font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--slate); text-align: left; }
  .table--examples .why { display: inline; margin-left: 6px; }
}
@media (max-width: 400px) {
  .seg span { padding: 10px 10px; font-size: 14px; }
  .mini-ledger__row { grid-template-columns: 5rem 1fr; }
  .wordmark img { width: 180px; }
}
