/* JM Varda website. One stylesheet for every page.
   Colours and fonts live in :root below. Change them here and the whole site follows. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/BarlowCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/BarlowCondensed-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/IBMPlexSans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexSans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/IBMPlexSans-600.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0B0C0D;        /* the page */
  --panel: #141618;     /* a box on the page */
  --inset: #1C1F22;     /* a box inside a box */
  --line: #22262A;      /* thin dividing lines */
  --line-2: #2E3338;    /* edges of buttons and inputs */
  --ink: #F3F2EE;       /* headings, main buttons */
  --text: #E2E1DC;      /* normal reading text */
  --quiet: #A3ABAE;     /* supporting text */
  --faint: #6E777B;     /* placeholders */
  --out: #555D61;       /* the "out" bars in the chart */
  --rust: #E07A4A;      /* needs attention */
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
main > .wrap { padding-block: 64px; }

/* ---------- Header and footer ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.14em; line-height: 1; }
.brand-mark { width: 18px; height: 18px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a:not(.btn) { color: var(--quiet); font-size: 15px; font-weight: 500; padding: 10px 0; transition: color .2s; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--quiet); }
.site-footer .wrap { padding-block: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.site-footer .links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-footer a { padding: 10px 0; }

/* ---------- Type ---------- */
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--ink); line-height: 1; font-size: clamp(40px, 4.6vw, 64px); }
.display--hero { font-size: clamp(38px, 5vw, 70px); line-height: 0.96; }
.lede { font-size: 19px; color: var(--quiet); max-width: 34em; }
.lede--hero { font-size: 20px; line-height: 1.5; max-width: 30em; }
.note { font-size: 13px; color: var(--quiet); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; background: var(--ink); color: var(--bg); border: 0; border-radius: var(--radius); font-size: 17px; font-weight: 600; transition: background .2s, transform .2s, opacity .2s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; background: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn--small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--quiet); border: 1px solid var(--line-2); font-weight: 500; }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--quiet); }
.btn--ghost:disabled { background: transparent; color: var(--quiet); border-color: var(--line-2); }
.text-link { display: inline-flex; align-items: center; height: 52px; font-size: 17px; font-weight: 500; color: var(--text); transition: color .2s; }
.text-link:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Home ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-demo { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* The light that runs round the card. Delete the .glow rules to switch it off. */
@property --glow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes glow-spin { to { --glow-angle: 360deg; } }
.glow { padding: 1px; border-radius: 13px; background: conic-gradient(from var(--glow-angle), var(--line) 0deg 290deg, var(--ink) 335deg, var(--line) 360deg); animation: glow-spin 7s linear infinite; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.glow > .card { border: 0; }
.dash { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--quiet); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; }
.dot--rust { width: 8px; height: 8px; background: var(--rust); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 12px; }
.tile { background: var(--inset); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tile-label { font-size: 13px; color: var(--quiet); }
.tile-value { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--ink); }
.dash-row { display: flex; flex-wrap: wrap; gap: 24px 28px; }
.dash-col { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.dash-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--quiet); }
.legend { display: flex; gap: 12px; font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; display: inline-block; background: var(--ink); }
.legend i.out { background: var(--out); }
.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 124px; border-bottom: 1px solid var(--line-2); }
.bars > div { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.bars i { width: 14px; background: var(--ink); transform-origin: bottom; animation: bar-grow .9s cubic-bezier(.2,.8,.2,1) .5s both; }
.bars i.out { background: var(--out); }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.feed { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feed li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; line-height: 1.4; color: var(--text); transition: opacity .4s; }
.feed li:nth-child(2) { opacity: 0.75; }
.feed li:nth-child(3) { opacity: 0.5; }
.feed time { flex: none; width: 68px; font-size: 12px; color: var(--quiet); }
.alert { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }

/* ---------- What we do ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.services main > .wrap { padding-block: 36px; display: flex; flex-direction: column; gap: 32px; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px 56px; }
.area h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.area p { font-size: 15px; color: var(--quiet); margin-top: 2px; }
.area ul { margin: 12px 0 0; padding: 0; list-style: none; }
.area li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }

/* ---------- What we fix ---------- */
.fix main > .wrap { display: flex; flex-direction: column; gap: 36px; }
.picker { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.pains { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pain { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 20px; text-align: left; border-radius: var(--radius); font-size: 17px; font-weight: 500; line-height: 1.35; background: transparent; color: var(--quiet); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.pain:hover { color: var(--ink); border-color: var(--line-2); }
.pain[aria-pressed="true"] { background: var(--panel); color: var(--ink); border-color: var(--ink); }
.pain svg { width: 18px; height: 18px; flex: none; }
.answer { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.answer-kicker { font-size: 14px; color: var(--quiet); }
.answer h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.answer-body { font-size: 19px; line-height: 1.55; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 14px; }
.answer-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.answer-example { font-size: 18px; color: var(--ink); }
.btn--mid { height: 48px; padding: 0 22px; font-size: 16px; }

/* ---------- How it works ---------- */
.how main > .wrap { display: flex; flex-direction: column; gap: 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px 56px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 20px; }
.step-no { font-size: 14px; font-weight: 500; letter-spacing: 0.12em; color: var(--quiet); }
.steps h2 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.steps p { color: var(--quiet); }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 28px 48px; }
.promises h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.promises p { font-size: 15px; color: var(--quiet); margin-top: 4px; }

/* ---------- Cost of waiting ---------- */
.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.calc-inputs { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.slider { display: flex; flex-direction: column; gap: 6px; }
.slider label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.slider output { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1; color: var(--ink); }
.slider input { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); }
.calc-result { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.calc-result .quiet { color: var(--quiet); }
.calc-total { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 7.6vw, 104px); line-height: 0.95; color: var(--ink); }
.calc-sub { font-size: 20px; color: var(--ink); }

/* ---------- Leak check (the lead magnet) ---------- */
.leak { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.leak-inputs { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.leak-intro { display: flex; flex-direction: column; gap: 16px; }
.leak-group { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.leak-group h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; color: var(--quiet); }
.leak-q { display: flex; flex-direction: column; gap: 10px; }
.leak-label { color: var(--text); }
.options--tight { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.leak-result { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 24px; }
.leak-result .quiet { color: var(--quiet); }
.leak-list { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-direction: column; gap: 12px; }
.leak-list li { display: flex; flex-direction: column; gap: 6px; }
.leak-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text); }
.leak-row b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.leak-bar { height: 6px; background: var(--inset); border-radius: 3px; overflow: hidden; }
.leak-bar i { display: block; height: 100%; background: var(--quiet); border-radius: 3px; transition: width .3s; }
.leak-list li.top .leak-bar i { background: var(--rust); }
.leak-insight { background: var(--inset); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.leak-insight small { color: var(--rust); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.leak-insight p { color: var(--text); }
.leak-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.leak-cta p { color: var(--quiet); }
.leak-cta strong { color: var(--ink); }
.leak-how summary { cursor: pointer; font-size: 14px; color: var(--quiet); padding: 6px 0; }
.leak-how p { font-size: 13px; color: var(--quiet); }
@media (max-width: 860px) { .leak-result { position: static; } }

/* ---------- Shared sections (home, what we fix) ---------- */
.section-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.inline-link { color: var(--ink); font-weight: 600; }
.inline-link:hover { color: #fff; }
.fit, .differ { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px 32px; }
.fit-list li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.fit-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--rust); }
.fit-foot { color: var(--quiet); }
.differ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px 48px; }
.differ-grid h3 { font-size: 19px; font-weight: 600; color: var(--ink); }
.differ-grid p { color: var(--quiet); margin-top: 6px; }
.areas-wrap { display: flex; flex-direction: column; gap: 20px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.area h3 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.steps--five { grid-template-columns: repeat(auto-fit, minmax(min(176px, 100%), 1fr)); gap: 40px 28px; }
.steps--five h2 { font-size: 28px; }

/* ---------- About: who it is for ---------- */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 40px; }
.who h2 { font-size: 15px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.who ul { margin: 10px 0 0; padding: 0; list-style: none; }
.who li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--quiet); font-size: 15px; }

/* ---------- Field notes ---------- */
.notes { display: flex; flex-direction: column; gap: 40px; }
.note-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 56px; }
.note-item { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 24px; }
.note-item:target { border-top-color: var(--rust); }
.note-no { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--rust); }
.note-item h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.note-item p { color: var(--quiet); }
.note-item .note-do { color: var(--text); }
.note-do b { color: var(--ink); }
.notes-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.notes-cta p { flex: 1 1 320px; color: var(--quiet); }
.notes-cta strong { color: var(--ink); }

/* ---------- Feeling safe to choose ---------- */
.assure { font-size: 14px; color: var(--quiet); }
.assure-box { margin-top: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
.assure-box h2 { font-size: 15px; font-weight: 600; color: var(--ink); }
.assure-box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.assure-box li { font-size: 15px; color: var(--quiet); padding-left: 20px; position: relative; }
.assure-box li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--quiet); }
.commit { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--text); }
.commit span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--quiet); margin-bottom: 2px; }

.opt { color: var(--faint); font-weight: 400; }
.send-note { color: var(--quiet); font-size: 15px; }
.form-error a, .send-note a { color: var(--ink); font-weight: 600; }

/* ---------- Comparison table (home) ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--quiet); }
.compare thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.compare tbody th { color: var(--ink); font-weight: 600; position: sticky; left: 0; background: var(--bg); min-width: 180px; }
.compare .us { background: var(--panel); color: var(--ink); }
.compare thead .us { color: var(--ink); }
.compare td.yes::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--rust); vertical-align: 1px; }
@media (max-width: 640px) { .compare tbody th { min-width: 132px; } .compare th, .compare td { padding: 12px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sample one-page read ---------- */
.sample { display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.read { display: flex; flex-direction: column; gap: 18px; }
.read-flag { font-size: 13px; color: var(--rust); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.read-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.read-head p, .read-looked, .read-limits { color: var(--quiet); }
.read b { color: var(--ink); font-weight: 600; }
.read-leaks { margin: 0; padding: 0; list-style: none; counter-reset: leak; display: flex; flex-direction: column; }
.read-leaks li { counter-increment: leak; padding: 18px 0 18px 44px; border-top: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 6px; }
.read-leaks li::before { content: counter(leak); position: absolute; left: 0; top: 16px; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--rust); }
.read-leaks h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.read-leaks p { color: var(--text); font-size: 15px; }
.read-sign { color: var(--text); font-style: italic; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- About ---------- */
.about-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.photo { flex: 0 1 340px; min-width: 0; aspect-ratio: 4 / 5; background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--quiet); object-fit: cover; }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy .strong { font-size: 19px; color: var(--text); max-width: 34em; }
.about-copy .soft { color: var(--quiet); max-width: 34em; }

/* ---------- Questions ---------- */
.faq-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 80px; }
.faq-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.faq { flex: 2 1 560px; min-width: 0; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 10px 0; font-size: 19px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--quiet); max-width: 40em; }

/* ---------- Get started ---------- */
.start-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.start-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.start-copy .display { font-size: clamp(38px, 4.2vw, 60px); line-height: 0.98; }
.start-copy .lede { max-width: 26em; }
.wizard { flex: 1.4 1 520px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.progress { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--quiet); }
.progress-track { flex: 1 1 auto; display: flex; gap: 6px; }
.progress-track i { flex: 1 1 0; height: 3px; background: var(--line-2); transition: background .3s; }
.progress-track i.on { background: var(--ink); }
.step { display: flex; flex-direction: column; gap: 20px; animation: rise .3s ease both; }
.step h2 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.step .hint { font-size: 15px; color: var(--quiet); margin-top: -16px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.option { min-height: 56px; padding: 10px 16px; border-radius: var(--radius); font-size: 16px; font-weight: 500; line-height: 1.3; text-align: left; background: transparent; color: var(--text); border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.option:hover { border-color: var(--quiet); }
.option[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--quiet); }
.field input { height: 52px; padding: 0 16px; width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 17px; }
.field input::placeholder { color: var(--faint); }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.done-head { display: flex; align-items: center; gap: 16px; }
.done-head h2 { font-weight: 700; font-size: 42px; line-height: 1; }
.tick { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.tick svg { width: 24px; height: 24px; }
.next-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.next-steps div { background: var(--inset); border-radius: var(--radius); padding: 20px; }
.next-steps small { display: block; font-size: 13px; color: var(--quiet); }
.next-steps strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin: 4px 0; }
.next-steps p { font-size: 15px; color: var(--quiet); }
.form-error { font-size: 15px; color: var(--rust); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal > *:nth-child(2) { animation-delay: .12s; }
.reveal > *:nth-child(3) { animation-delay: .24s; }
.reveal > *:nth-child(4) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  main > .wrap, .services main > .wrap { padding-block: 40px; }
  .card { padding: 24px; }
  .dash, .wizard { padding: 22px; }
}
