/* Brick landing page. Values come from design-tokens.json. */

:root {
  --ink: #111827;
  --ink-muted: #5b6472;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --sunken: #eef1f5;
  --line: #e3e7ed;
  --line-strong: #7c8594;
  --blue: #2b65ec;
  --blue-hover: #1f57d6;
  --blue-tint: #eef3ff;
  --blue-ink: #1a4fc4;
  --sky: #8ec5ff;
  --turquoise: #85d0d6;
  --mint: #7ddcae;
  --paid-fg: #127a4b;
  --paid-bg: #e3f5eb;
  --pending-fg: #8a5300;
  --pending-bg: #fdf1d8;
  --denied-fg: #b42318;
  --denied-bg: #fde8e6;
  --placeholder: #c9d1dc;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;

  --radius-input: 10px;
  --radius-button: 14px;
  --radius-panel: 28px;

  --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.05), 0 16px 40px rgba(17, 24, 39, 0.14);
  --shadow-form: 0 2px 4px rgba(17, 24, 39, 0.04), 0 32px 72px rgba(10, 30, 90, 0.35);
  --shadow-soft: 0 6px 16px rgba(17, 24, 39, 0.08);
  --shadow-ui: 0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 22px rgba(17, 24, 39, 0.09);

  --max-width: 1160px;
  --gutter: 24px;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
section[id] { scroll-margin-top: 80px; }
[hidden] { display: none !important; }
img { display: block; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font-family: var(--font-display); font-weight: 600; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue-ink); }
.eyebrow.green { color: var(--paid-fg); }
.muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  text-decoration: none;
  font: 600 17px var(--font-display);
  box-sizing: border-box;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; border: 0; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { padding: 0 20px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 16px var(--font-body); }
.btn-outline:hover { color: var(--ink); background: var(--surface-alt); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.header-nav { display: flex; align-items: center; gap: 20px; }
.nav-link { font: 600 15px var(--font-body); color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--blue); }
.wordmark-dot { display: inline-block; width: 8px; height: 8px; background: var(--blue); margin-left: 2px; }

/* ---------- Photos ---------- */

.photo { position: relative; overflow: hidden; background: var(--sunken); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */

.hero { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--blue-ink); background: var(--blue-tint); border-radius: 999px; padding: 6px 12px; }
.h1 { margin: 0; font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.035em; }
.lead { margin: 0; font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 500px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; }
.hero-photo { height: 500px; border-radius: var(--radius-panel); }
.hero-photo img { object-position: center 35%; }
.badge-bank { position: absolute; top: 28px; right: 20px; background: var(--mint); border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 28px rgba(17, 24, 39, 0.10); font-size: 14px; font-weight: 600; }
.doc-card { position: relative; margin: -190px 0 110px -24px; max-width: 400px; background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); }
.doc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-card-meta { font-size: 12px; font-weight: 600; color: var(--blue-ink); }
.doc-card-title { font-size: 16px; font-weight: 600; }
.doc-card-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--paid-fg); }

/* Status chips */
.chip { height: 26px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; flex: none; }
.chip-sm { height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; }
.chip-paid { background: var(--paid-bg); color: var(--paid-fg); }
.chip-pending { background: var(--pending-bg); color: var(--pending-fg); }
.chip-info { background: var(--blue-tint); color: var(--blue-ink); }
.chip-neutral { background: var(--sunken); color: var(--ink-muted); }
.chip-mint { background: var(--mint); color: var(--ink); }

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

.outcomes { padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.outcome { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.outcome.sky { background: var(--sky); }
.outcome.turquoise { background: var(--turquoise); }
.outcome.mint { background: var(--mint); }
.outcome-icon { width: 88px; height: 88px; border-radius: 22px; background: rgba(255, 255, 255, 0.55); padding: 6px; box-sizing: border-box; }
.outcome-icon img, .step-icon img { width: 100%; height: 100%; object-fit: contain; }
.outcome-title { font-family: var(--font-display); font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -0.02em; }
.outcome-body { font-size: 16px; line-height: 24px; }

/* ---------- How it works ---------- */

.how { background: var(--surface-alt); }
.how .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.h2 { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; text-align: center; }
.h2-lg { font-size: 48px; line-height: 52px; letter-spacing: -0.035em; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.step-icon { width: 160px; height: 160px; border-radius: 40px; background: var(--surface); padding: 14px; box-sizing: border-box; box-shadow: var(--shadow-ui); }
.step-num { font-size: 13px; font-weight: 600; color: var(--blue-ink); }
.step-title { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.015em; }
.step-body { font-size: 16px; line-height: 24px; color: var(--ink-muted); max-width: 320px; }

/* ---------- Features ---------- */

.features { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 96px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.feature.flip { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
.feature-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.h3 { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.feature-copy p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.panel { flex: 1 1 520px; min-width: 0; border-radius: var(--radius-panel); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.panel { box-shadow: inset 0 2px 12px rgba(17, 24, 39, 0.07), inset 0 0 0 1px rgba(17, 24, 39, 0.04); }
.panel.blue { background: var(--blue-tint); gap: 16px; }
.panel.green { background: var(--paid-bg); }
.panel.gray { background: var(--sunken); }
.panel.blue.timeline { gap: 14px; }
.box { background: var(--surface); border-radius: 16px; }

/* White UI cards inside the product visuals share one soft shadow */
.box, .msg-text, .msg-file, .mock-read, .mock-scan, .bubble-reply, .balance, .request-btn, .mock-phone { box-shadow: var(--shadow-ui); }

/* Snap it */
.snap-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.snap-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.snap-step > span:last-child { font-size: 13px; font-weight: 600; }
.snap-arrow { color: var(--blue); font-size: 22px; font-weight: 600; }
.mock-phone { width: 92px; height: 150px; box-sizing: border-box; border-radius: 18px; background: var(--ink); padding: 8px; display: flex; }
.mock-phone-screen { flex: 1; border-radius: 12px; background: var(--placeholder); display: flex; align-items: center; justify-content: center; }
.mock-phone-paper { width: 52px; height: 70px; background: #fff; border-radius: 3px; transform: rotate(-9deg); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.mock-scan { width: 100px; height: 130px; box-sizing: border-box; border-radius: 6px; background: #fff; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 16px rgba(17, 24, 39, 0.10); }
.mock-scan span { height: 4px; background: var(--placeholder); border-radius: 2px; }
.mock-scan span:first-child { height: 5px; width: 60%; background: var(--line-strong); }
.mock-scan span:last-child { width: 70%; }
.mock-read { width: 110px; height: 130px; box-sizing: border-box; border-radius: 14px; background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; color: var(--paid-fg); }
.mock-read .warn { color: var(--pending-fg); }
.bubble-reply { align-self: flex-end; max-width: 360px; background: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 16px; box-shadow: var(--shadow-soft); }
.bubble-meta { font-size: 12px; font-weight: 600; color: var(--blue-ink); }
.bubble-text { font-size: 15px; line-height: 22px; }

/* Bank */
.account { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account-name { font-size: 15px; font-weight: 600; }
.account-sub { font-size: 13px; color: var(--ink-muted); }
.rows { padding: 6px 16px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.row:first-child { border-top: 0; }
.row-date { width: 48px; color: var(--ink-muted); flex: none; }
.row-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-amt { width: 84px; text-align: right; font-weight: 600; flex: none; }
.balance { align-self: flex-start; background: var(--mint); border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 600; }

/* Messages */
.msg { align-self: flex-start; max-width: 78%; display: flex; flex-direction: column; gap: 4px; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg-from { font-size: 12px; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
.msg-icon { width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.msg-icon.email { background: #fff; }
.msg-icon.email img { width: 16px; height: 16px; }
.msg-icon.brick { background: var(--blue); }
.msg-icon.brick::after { content: ""; width: 6px; height: 6px; background: #fff; }
.msg-text { background: #fff; border-radius: 4px 18px 18px 18px; padding: 10px 14px; font-size: 15px; line-height: 22px; }
.msg.out .msg-text { background: var(--blue-tint); border-radius: 18px 4px 18px 18px; }
.msg-file { background: #fff; border-radius: 4px 18px 18px 18px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.msg-file-thumb { width: 26px; height: 32px; border-radius: 4px; background: var(--sunken); flex: none; }
.msg-file strong { font-weight: 600; }
.msg-file .ok { color: var(--paid-fg); font-weight: 600; }

/* Timeline */
.phases { padding: 16px; display: flex; gap: 4px; }
.phase { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.phase-bar { height: 10px; border-radius: 3px; background: var(--placeholder); }
.phase-name { font-weight: 600; }
.phase-date { color: var(--ink-muted); }
.phase.first .phase-bar { border-radius: 999px 3px 3px 999px; background: var(--blue); }
.phase.last .phase-bar { border-radius: 3px 999px 999px 3px; background: var(--mint); }
.checklist .row { justify-content: space-between; padding: 11px 0; font-variant-numeric: normal; }
.checklist .row > span:first-child { font-weight: 600; }
.request { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.request-btn { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; }
.request-note { font-size: 13px; color: var(--blue-ink); font-weight: 600; }

/* Case tracker */
.chip-denied { background: var(--denied-bg); color: var(--denied-fg); }
.tracker { display: flex; flex-direction: column; gap: 40px; }
.tracker-copy { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.tracker-copy p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.tracker-stage { position: relative; background: var(--blue-tint); border-radius: var(--radius-panel); padding: 40px 40px 0; overflow: hidden; box-shadow: inset 0 2px 12px rgba(17, 24, 39, 0.07), inset 0 0 0 1px rgba(17, 24, 39, 0.04); }
.app { display: flex; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: var(--shadow-card); overflow: hidden; }
.app-side { flex: none; width: 188px; box-sizing: border-box; padding: 22px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.app-brand { padding: 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.app-brand .wordmark-dot { width: 6px; height: 6px; }
.app-facility { padding: 0 10px 16px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.app-nav { height: 38px; padding: 0 10px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.app-nav.active { background: var(--blue-tint); color: var(--blue-ink); }
.app-count { min-width: 22px; height: 20px; border-radius: 999px; background: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.app-main { flex: 1; min-width: 0; padding: 26px 28px 8px; }
.app-hello { font-family: var(--font-display); font-size: 30px; line-height: 34px; font-weight: 600; letter-spacing: -0.03em; }
.app-sub { margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.app-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.app-filter { height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.app-filter.on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-ink); }
.q-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.q-row:first-child { border-top: 0; }
.q-row > .chip { width: 84px; justify-content: center; }
.q-main { flex: 1; min-width: 0; }
.q-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-title span { font-weight: 400; color: var(--ink-muted); }
.q-detail { margin-top: 2px; font-size: 13px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-when { flex: none; width: 70px; text-align: right; font-size: 12px; color: var(--ink-muted); }
.q-action { flex: none; min-width: 112px; height: 34px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.q-action.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.case-card { position: absolute; right: 64px; top: 64px; width: 236px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-card); }
.case-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.case-card-meta { font-size: 12px; color: var(--ink-muted); }
.case-card-progress { margin: 12px 0 8px; height: 8px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.case-card-progress span { display: block; height: 100%; background: var(--mint); border-radius: 999px; }
.case-card-count { font-size: 13px; color: var(--ink-muted); }
.case-card-count strong { color: var(--ink); font-weight: 600; }

/* Empower */
.empower { display: flex; flex-direction: column; gap: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-ui); border: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.04em; color: var(--blue); }
.stat-label { margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col { border-radius: 24px; padding: 28px; background: var(--surface-alt); box-shadow: inset 0 2px 12px rgba(17, 24, 39, 0.06), inset 0 0 0 1px rgba(17, 24, 39, 0.04); }
.split-col.you { background: var(--blue); color: #fff; box-shadow: var(--shadow-card); }
.split-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.split-head .msg-icon { width: 24px; height: 24px; border-radius: 7px; }
.split-head .msg-icon.brick::after { width: 8px; height: 8px; }
.you-dot { width: 24px; height: 24px; border-radius: 7px; background: var(--sunny, #ffd25a); color: var(--ink); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.split-col ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split-col li { position: relative; padding-left: 26px; font-size: 17px; line-height: 26px; }
.split-col li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--paid-fg); }
.split-col.you li::before { color: #ffd25a; }

.more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; text-align: center; margin-top: -24px; }
.more strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.more span { font-size: 17px; color: var(--ink-muted); }

/* ---------- Consultants ---------- */

.consultants { padding-top: 56px; padding-bottom: 88px; }
.consultants-card { background: var(--surface-alt); border-radius: var(--radius-panel); padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.consultants-photo { flex: 0 1 280px; height: 180px; border-radius: 20px; }
.consultants-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.consultants-title { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.consultants-body { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.consultants .btn { flex: none; font: 600 16px var(--font-display); padding: 0 22px; }

/* ---------- Demo ---------- */

.demo { background: var(--blue); color: #fff; }
.demo .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.demo-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.demo-title { margin: 0; font-family: var(--font-display); font-size: 56px; line-height: 58px; font-weight: 600; letter-spacing: -0.035em; color: #fff; }
.demo-copy p { margin: 0; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, 0.88); }
.demo-photo { height: 240px; border-radius: 24px; background: rgba(255, 255, 255, 0.14); }

.card-form { flex: 1 1 420px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--radius-panel); padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-form); box-sizing: border-box; }
.card-form-title { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.card-form-sub { font-size: 15px; color: var(--ink-muted); }
.field-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field input, .field select { height: 48px; box-sizing: border-box; border: 1px solid var(--line-strong); border-radius: var(--radius-input); padding: 0 14px; font: 400 16px var(--font-body); background: #fff; color: var(--ink); width: 100%; }
.field select { padding: 0 12px; }
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.card-form .btn { height: 56px; font-size: 18px; justify-content: center; width: 100%; }
.card-form .btn:disabled { opacity: 0.7; cursor: default; }
.form-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-muted); text-align: center; }
.form-error { margin: 0; font-size: 14px; color: #b42318; text-align: center; }
.thanks { gap: 10px; }
.thanks-check { width: 44px; height: 44px; border-radius: 999px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.thanks p { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* ---------- Footer ---------- */

.site-footer { padding-top: 32px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-muted); }
.site-footer a { color: var(--ink-muted); }
.site-footer strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Privacy page ---------- */

.prose { padding-top: 64px; padding-bottom: 88px; max-width: 720px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--ink-muted); text-decoration: none; }
.back-link:hover { color: var(--blue); }
.prose h1 { margin: 0 0 8px; font-family: var(--font-display); font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; }
.prose h2 { margin: 36px 0 8px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose li { font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.prose ul { padding-left: 20px; }

/* ---------- Scroll reveal (only runs when JS adds .reveal-ready) ---------- */

.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .h1 { font-size: 44px; line-height: 46px; }
  .h2, .h2-lg, .demo-title { font-size: 36px; line-height: 40px; }
  .h3 { font-size: 30px; line-height: 34px; }
  .snap-row { zoom: 0.8; }
  .header-nav { gap: 14px; }
  .nav-link { font-size: 14px; }
  .hero { padding-top: 48px; padding-bottom: 72px; gap: 40px; }
  .hero-photo { height: 420px; }
  .doc-card { margin: -110px 12px 0 -8px; }
  .panel { padding: 16px; border-radius: 24px; }
  .row { gap: 8px; font-size: 13px; }
  .row-date { width: 44px; white-space: nowrap; }
  .row-amt { width: auto; }
  .rows .chip-sm { font-size: 11px; padding: 0 6px; }
  .rows { padding: 4px 12px; }
  .consultants-card { padding: 24px; }
  .consultants-photo { flex-basis: 100%; height: 200px; }
  .card-form { padding: 24px; }
  .features { gap: 72px; }
  .tracker-stage { padding: 16px 12px 0; border-radius: 24px; }
  .stats, .split { grid-template-columns: 1fr; }
  .stat-num { font-size: 52px; line-height: 52px; }
  .app-side, .q-when, .case-card { display: none; }
  .app-main { padding: 18px 14px 4px; }
  .app-hello { font-size: 24px; line-height: 28px; }
  .app-filters { flex-wrap: nowrap; overflow: hidden; }
  .q-row { flex-wrap: wrap; gap: 6px 10px; }
  .q-row > .chip { order: 1; width: auto; }
  .q-action { order: 2; margin-left: auto; min-width: 0; height: 30px; font-size: 12px; }
  .q-main { order: 3; flex-basis: 100%; }
  .q-detail { white-space: normal; }
  .demo .wrap, .how .wrap { padding-top: 72px; padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}
