/* AccidentsConnectPro
   Direction: a local newspaper's plain authority x road-sign clarity.
   Type roles: Newsreader (headlines, sentence case), Public Sans (body),
   Barlow Condensed (only for numbers and times, like a road sign).
   Will NOT do: all-caps slogan headlines, uppercase eyebrow on every section,
   purple gradients, emoji icons, stock photos, identical card grids. */
:root {
  --color-ink: #2b2b2b;
  --color-road: #1a1c1f;
  --color-paper: #f2eee8;
  --color-surface: #fbf9f6;
  --color-surface-sunk: #e9e3da;
  --color-line: #ddd5c9;
  --color-muted: #6b655c;
  --color-action: #2b2b2b;            /* charcoal: buttons and links on light areas (taupe inside dark areas, see below) */
  --color-taupe: #7d6d59;             /* the one accent: call buttons, highlights */
  --color-taupe-hover: #6e5f4c;
  --color-taupe-light: #d9cfc2;       /* taupe for small text on dark backgrounds */
  --btn-text: #ffffff;
  --color-action-hover: #3d3d3d;
  --color-accent-light: #d9cfc2;      /* light taupe: highlights on dark backgrounds */
  --color-action-text: #2b2b2b;       /* darker red for small text on light backgrounds (readable contrast) */
  --color-success: #1f6f4a;
  --color-danger: #b3382c;
  --color-info: #2a5a8a;

  --font-head: "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "Arial Narrow", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 80px;
  --radius: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 var(--s4); letter-spacing: -.012em; }
h1 { font-size: clamp(38px, 4.8vw, 60px); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 var(--s4); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s6); } }
.muted { color: var(--color-muted); }
.small { font-size: 14.5px; }
.num { font-family: var(--font-num); font-weight: 700; letter-spacing: .01em; }
.kicker { display: block; font-size: 15px; font-weight: 600; color: var(--color-muted); margin-bottom: var(--s2); }
.hidden { display: none !important; }

/* ---------- Demo bar (remove for launch) ---------- */
.demo-bar { background: #000; color: #b6b7ba; font-size: 13px; }
.demo-bar .wrap { display: flex; gap: var(--s4); align-items: center; padding-top: 6px; padding-bottom: 6px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.demo-bar .wrap::-webkit-scrollbar { display: none; }
.demo-bar strong { color: var(--color-accent-light); font-weight: 600; }
.demo-bar a { text-decoration: none; }
.demo-bar a:hover, .demo-bar a.active { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Utility strip + header ---------- */
.utility { background: var(--color-road); color: #d8d9db; font-size: 14px; }
.utility .wrap { display: flex; justify-content: space-between; gap: var(--s4); padding-top: 7px; padding-bottom: 7px; }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility .hours { display: none; }
@media (min-width: 700px) { .utility .hours { display: inline; } }
.site-header { background: var(--color-paper); border-bottom: 1px solid var(--color-line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: var(--s4); }
.logo { text-decoration: none; font-family: var(--font-num); font-size: 27px; font-weight: 700; letter-spacing: .01em; line-height: 1; position: relative; padding-bottom: 5px; }
.logo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: repeating-linear-gradient(90deg, var(--color-action) 0 14px, transparent 14px 22px); }
.logo span { color: var(--color-muted); font-weight: 600; }
.nav { display: none; gap: var(--s5); font-size: 15px; }
.nav a { text-decoration: none; color: var(--color-muted); }
.nav a:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 960px) { .nav { display: flex; } }

/* Header logo: round "AC" mark (matches the Google profile logo) + name with "Beverly Hills" underneath */
.logo.logo-c { display: inline-flex; align-items: center; gap: 10px; padding: 0; font-family: var(--font-body); letter-spacing: 0; }
.logo.logo-c::after { content: none; }
.logo-mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #1d1d1d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 19px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .02em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--color-ink); white-space: nowrap; }
.logo-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-taupe); margin-top: 3px; }
.logo.logo-c .logo-mark { color: #fff; font-weight: 600; }
.logo.logo-c .logo-name { color: var(--color-ink); font-weight: 700; }
.logo.logo-c .logo-sub { color: var(--color-taupe); }
@media (max-width: 420px) { .logo.logo-c { gap: 8px; } .logo-name { font-size: 15px; } .logo-sub { font-size: 9.5px; letter-spacing: .12em; } .logo-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 17px; } }

/* Location line next to the wordmark, so we're not confused with similarly named services */
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-tag { display: none; padding-left: 14px; border-left: 1px solid var(--color-line); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; line-height: 1.3; }
@media (min-width: 640px) { .brand-tag { display: block; } }
@media (min-width: 960px) and (max-width: 1100px) { .brand-tag { display: none; } }

/* Language picker: links to the hand-translated pages (/es/, /ar/, /ru/) */
.site-header .nav { order: 2; margin-left: auto; }
.lang { order: 3; position: relative; margin-left: auto; margin-inline-start: auto; }
.site-header .wrap > .btn { order: 4; white-space: nowrap; }
@media (min-width: 960px) { .lang { margin-left: 0; margin-inline-start: 0; } .lang summary { min-height: 36px !important; } }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid var(--color-line); border-radius: var(--radius); color: var(--color-ink); font-size: 14.5px; font-weight: 600; cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
/* Down-arrow so it's clear this opens a list of languages; it flips up while the list is open. */
.lang summary::after { content: ""; width: 7px; height: 7px; margin: -3px 2px 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.lang[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lang summary:hover, .lang[open] summary { border-color: var(--color-ink); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 160px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: 0 12px 30px -12px rgba(0,0,0,.3); padding: 4px; z-index: 30; display: grid; }
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; font-size: 15.5px; color: var(--color-ink); text-decoration: none; }
.lang-menu a:hover { background: var(--color-surface-sunk); }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--color-action-text); }
@media (max-width: 420px) { .lang summary span { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-body); padding: 15px 22px; border-radius: var(--radius);
  border: 1.5px solid var(--color-ink); background: transparent; color: var(--color-ink);
  cursor: pointer; text-decoration: none; transition: background .18s var(--ease), transform .12s var(--ease);
}
.btn:hover { background: rgba(22,25,29,.06); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-action); border-color: var(--color-action); color: var(--btn-text); }
.btn-primary:hover { background: var(--color-action-hover); }
.btn-dark { background: var(--color-ink); color: var(--color-paper); }
.btn-dark:hover { background: #2c3238; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { background: none; text-decoration: underline; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-action); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { padding: var(--s7) 0 var(--s8); }
.hero-grid { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: var(--s7); align-items: start; } }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); max-width: 17ch; }
.hero-lede { font-size: 19px; max-width: 46ch; color: #33383e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.picker-card { background: var(--color-surface); border: 1px solid var(--color-line); border-top: 4px solid var(--color-ink); padding: var(--s5); }
.picker-card h2 { font-size: 26px; margin-bottom: var(--s2); }
.type-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: var(--s4) 0; }
.type-picker button {
  font: 500 15px var(--font-body); text-align: left; padding: 13px 14px; border-radius: var(--radius);
  background: var(--color-paper); color: var(--color-ink); border: 1px solid transparent; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.type-picker button:hover { border-color: var(--color-ink); background: #fff; }

/* ---------- First days list ---------- */
.section { padding: var(--s8) 0; }
.days { border-top: 1px solid var(--color-ink); max-width: 900px; }
.days > div { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--color-line); }
@media (min-width: 760px) { .days > div { grid-template-columns: 220px 1fr; gap: var(--s6); } }
.days .when { font-family: var(--font-num); font-size: 30px; font-weight: 700; line-height: 1.1; }
.days b { font-size: 18px; display: block; margin-bottom: 4px; }
.days p { margin: 0; color: var(--color-muted); max-width: 60ch; }

/* ---------- Network ---------- */
.network { background: var(--color-road); color: var(--color-paper); }
.network-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s6); }
@media (min-width: 900px) { .network-list { grid-template-columns: 1.3fr 1fr 1fr; } }
.network-list li { border-top: 1px solid #4a525b; padding-top: var(--s4); }
.network-list li:first-child { border-top-color: var(--color-action); }
.network-list h3 { color: #fff; margin-bottom: var(--s2); }
.network-list p { color: #c5c8cc; }
.network-list a { color: var(--color-accent-light); font-weight: 600; text-decoration: none; }
.network-list a:hover { text-decoration: underline; }

/* ---------- How we get paid ---------- */
.paid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .paid { grid-template-columns: 300px 1fr; } }
.paid .zero { font-family: var(--font-num); font-size: 140px; font-weight: 700; line-height: .85; }
.paid .zero small { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--color-muted); line-height: 1.4; margin-top: var(--s3); }
.paid p { max-width: 62ch; }

/* ---------- Tools list ---------- */
.tool-list { display: grid; gap: 0 var(--s7); border-top: 1px solid var(--color-ink); }
@media (min-width: 820px) { .tool-list { grid-template-columns: 1fr 1fr; } }
.tool-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--color-line); text-decoration: none; }
.tool-row b { font-size: 18px; }
.tool-row span { display: block; color: var(--color-muted); font-size: 15px; }
.tool-row i { font-style: normal; font-weight: 600; transition: transform .2s var(--ease); }
.tool-row:hover b { text-decoration: underline; text-decoration-color: var(--color-action); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tool-row:hover i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 2fr; } }
.faq details { border-top: 1px solid var(--color-line); padding: var(--s4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--color-line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--color-muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: var(--s3); max-width: 68ch; color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-road); color: #b6b8bb; font-size: 14px; padding: var(--s7) 0 var(--s6); }
.site-footer .cols { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { display: block; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: var(--color-paper); display: inline-block; margin-bottom: var(--s3); }
.site-footer .logo span { color: #9ea4ab; }
/* Footer uses the same AC logo as the header, in light-on-dark colors */
.site-footer .logo.logo-c { display: inline-flex; margin-bottom: var(--s3); }
.site-footer .logo.logo-c .logo-mark { background: #f2eee8; color: #1d1d1d; }
.site-footer .logo.logo-c .logo-name { color: #fff; }
.site-footer .logo.logo-c .logo-sub { color: var(--color-taupe-light); }
.site-footer .logo.logo-c span { display: inline-flex; }
.site-footer .logo.logo-c .logo-text { display: flex; flex-direction: column; }
.site-footer .legal { border-top: 1px solid #3a424b; padding-top: var(--s4); font-size: 13.5px; line-height: 1.6; }

/* ---------- Tool pages ---------- */
.page { padding: var(--s7) 0 var(--s8); }
.page-head { margin-bottom: var(--s6); max-width: 680px; }
.page-head p { font-size: 18px; }
.panel { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 720px) { .panel { padding: var(--s6); } }
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.notice { font-size: 13.5px; color: var(--color-muted); padding: var(--s3) 0 0; border-top: 1px solid var(--color-line); margin-top: var(--s4); }
.aside-note h2 { font-size: 30px; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field { margin-bottom: var(--s4); }
.row { display: grid; gap: var(--s4); }
@media (min-width: 620px) { .row { grid-template-columns: 1fr 1fr; } }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: 16px var(--font-body); padding: 12px 13px; border: 1px solid #a6a8ab; border-radius: var(--radius);
  background: #fff; color: var(--color-ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 3px rgba(198,40,40,.4); }
textarea { min-height: 96px; resize: vertical; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.choice { position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 13px 14px; border: 1px solid #c2c3c5; border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.choice span:hover { border-color: var(--color-ink); }
.choice input:checked + span { border-color: var(--color-ink); background: var(--color-surface-sunk); box-shadow: inset 0 0 0 1px var(--color-ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(198,40,40,.6); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--color-ink); flex-shrink: 0; }

.stepper { display: flex; gap: 4px; margin-bottom: var(--s5); }
.stepper div { flex: 1; height: 4px; background: var(--color-surface-sunk); }
.stepper div.on { background: var(--color-ink); }
.step-label { font-size: 14px; color: var(--color-muted); margin-bottom: var(--s2); }
.step h2 { font-size: 32px; }
.form-nav { display: flex; justify-content: space-between; margin-top: var(--s5); gap: var(--s3); }
.error { color: var(--color-danger); font-size: 14px; margin-top: 6px; }

.ref-num { font-family: var(--font-num); font-size: 44px; font-weight: 700; letter-spacing: .03em; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 2px; background: var(--color-surface-sunk); margin: 0 4px 4px 0; }
.tag.attorney { background: #e3e9f1; color: var(--color-info); }
.tag.medical { background: #e2efe7; color: var(--color-success); }
.tag.repair { background: #f7ebd0; color: #7a5300; }
.tag.urgent { background: #fbe3e3; color: var(--color-danger); }

/* ---------- Checklist ---------- */
.emergency { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; background: var(--color-danger); color: #fff; padding: var(--s4) var(--s5); border-radius: var(--radius); margin-bottom: var(--s6); }
.emergency strong { font-size: 19px; }
.emergency .btn { background: #fff; border-color: #fff; color: var(--color-danger); }
.progress { height: 6px; background: var(--color-surface-sunk); overflow: hidden; margin: var(--s2) 0 var(--s5); }
.progress div { height: 100%; background: var(--color-success); width: 0; transition: width .35s var(--ease); }
.cl-group { margin-bottom: var(--s6); }
.cl-group h3 { border-bottom: 1px solid var(--color-ink); padding-bottom: var(--s2); }
.cl-item { display: flex; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--color-line); cursor: pointer; font-weight: 400; margin: 0; }
.cl-item input { width: 22px; height: 22px; accent-color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.cl-item b { display: block; font-weight: 600; }
.cl-item small { color: var(--color-muted); font-size: 14.5px; }
.cl-item.done b { text-decoration: line-through; color: var(--color-muted); }

/* ---------- Estimator ---------- */
.result-box { background: var(--color-road); color: var(--color-paper); padding: var(--s6); border-radius: var(--radius); position: sticky; top: 90px; }
.result-box .kicker { color: #a9afb6; }
.result-range { font-family: var(--font-num); font-size: clamp(42px, 5vw, 58px); font-weight: 700; line-height: 1; margin: var(--s2) 0 var(--s4); color: var(--color-accent-light); }
.breakdown { width: 100%; border-collapse: collapse; font-size: 15px; }
.breakdown td { padding: 7px 0; border-bottom: 1px solid #3c444d; }
.breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.result-box .notice { color: #a6a7a9; border-top-color: #3c444d; }
input[type=range] { width: 100%; accent-color: var(--color-ink); }
.sev-scale { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; }
@media (min-width: 620px) { .sev-scale { grid-template-columns: repeat(4,1fr); } }

/* ---------- Deadline ---------- */
.deadline-card { border-top: 4px solid var(--color-ink); padding: var(--s5) 0; }
.deadline-years { font-family: var(--font-num); font-size: 104px; font-weight: 700; line-height: .9; }
.countdown { font-family: var(--font-num); font-size: 32px; font-weight: 600; }
.countdown.late { color: var(--color-danger); }
.countdown.soon { color: #a86d00; }
.countdown.ok { color: var(--color-success); }

/* ---------- Kit ---------- */
.kit-section { margin-bottom: var(--s6); }
.kit-section h3 { border-bottom: 1px solid var(--color-ink); padding-bottom: var(--s2); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: var(--s2); margin-top: var(--s3); }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.witness { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--s2); margin-bottom: var(--s2); }
.photo-drop { border: 1.5px dashed #a6a8ab; border-radius: var(--radius); padding: var(--s5); text-align: center; cursor: pointer; background: #fff; font-weight: 400; }
.photo-drop:hover { border-color: var(--color-ink); }
.print-report { display: none; }

/* ---------- City page ---------- */
.city-hero { padding: var(--s7) 0 var(--s5); border-bottom: 1px solid var(--color-line); }
.breadcrumbs { font-size: 14px; color: var(--color-muted); margin-bottom: var(--s4); }
/* Back button at the top of every inner page */
.back-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; margin: 0 0 var(--s4); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 999px; color: var(--color-ink); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.back-btn span { font-size: 18px; line-height: 1; }
.back-btn:hover { border-color: var(--color-ink); }
.back-btn:focus-visible { outline: 3px solid var(--color-action); outline-offset: 2px; }
.page:has(.back-btn) { padding-top: var(--s5); }
.city-hero:has(.back-btn) { padding-top: var(--s5); }
.breadcrumbs a { text-decoration: none; }
.city-hero p { max-width: 60ch; font-size: 19px; color: #33383e; }
.facts { display: grid; gap: var(--s5); margin: var(--s6) 0; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { border-top: 1px solid var(--color-ink); padding-top: var(--s3); }
.facts b { display: block; font-family: var(--font-num); font-size: 44px; line-height: 1; margin-bottom: 6px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 32px; margin-top: var(--s7); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: var(--s3); }

/* ---------- Dashboard ---------- */
.dash-top { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: end; margin-bottom: var(--s5); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); margin-bottom: var(--s6); }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { border-top: 1px solid var(--color-ink); padding-top: var(--s2); }
.kpi span { font-size: 14px; color: var(--color-muted); }
.kpi b { display: block; font-family: var(--font-num); font-size: 46px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dash-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: 2.4fr 1fr; align-items: start; } }
.table-wrap { overflow-x: auto; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
table.leads { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
table.leads th { text-align: left; font-size: 13px; font-weight: 600; color: var(--color-muted); padding: 12px 14px; border-bottom: 1px solid var(--color-ink); }
table.leads td { padding: 12px 14px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
table.leads tr:hover td { background: #fafafa; }
table.leads select { padding: 6px 8px; font-size: 14px; width: auto; }
.score { display: inline-block; min-width: 34px; text-align: center; font-weight: 700; padding: 3px 6px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.score.hi { background: #fbe3e3; color: var(--color-danger); }
.score.md { background: #f7ebd0; color: #7a5300; }
.score.lo { background: var(--color-surface-sunk); color: var(--color-muted); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font: 500 14px var(--font-body); padding: 7px 12px; border: 1px solid var(--color-line); background: var(--color-surface); border-radius: var(--radius); cursor: pointer; }
.filters button.on { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.side-block h4 { border-bottom: 1px solid var(--color-ink); padding-bottom: var(--s2); }
.bars .bar-row { display: grid; grid-template-columns: 110px 1fr 28px; gap: var(--s2); align-items: center; font-size: 14px; margin-bottom: var(--s2); }
.bars .bar { height: 10px; background: var(--color-surface-sunk); overflow: hidden; }
.bars .bar div { height: 100%; background: var(--color-ink); transition: width .4s var(--ease); }
.bars .n { text-align: right; font-variant-numeric: tabular-nums; }
.funnel div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--color-line); font-size: 15px; }

/* ---------- Partner portal ---------- */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 4px; max-height: 220px; overflow-y: auto; padding: 4px; border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; }
.state-grid .choice span { padding: 7px 4px; text-align: center; font-size: 13px; font-weight: 600; }
.area-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.area-grid .choice span { font-weight: 500; text-align: left; padding: 8px 10px; }
.match-preview { background: var(--color-road); color: var(--color-paper); border-radius: var(--radius); padding: var(--s5); }
.match-preview .kicker { color: #a9afb6; }
.match-preview .big { font-family: var(--font-num); font-size: 80px; font-weight: 700; color: var(--color-accent-light); line-height: 1; }

/* ---------- Chat widget ---------- */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; background: var(--color-ink); color: var(--color-paper); border: 0; border-radius: var(--radius); padding: 13px 18px; font: 600 15px var(--font-body); cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: background .2s var(--ease); }
.chat-fab:hover { background: #2c3238; }
.chat { position: fixed; right: 18px; bottom: 78px; z-index: 50; width: min(380px, calc(100vw - 36px)); height: min(540px, calc(100vh - 120px)); background: var(--color-surface); border: 1px solid var(--color-ink); border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: 0 10px 34px rgba(0,0,0,.2); overflow: hidden; }
.chat-head { background: var(--color-ink); color: var(--color-paper); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-head b { font-size: 16px; }
.chat-head button { background: none; border: 0; color: var(--color-paper); font-size: 24px; cursor: pointer; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: var(--radius); font-size: 15px; line-height: 1.45; }
.msg.bot { background: var(--color-surface-sunk); align-self: flex-start; }
.msg.user { background: var(--color-ink); color: var(--color-paper); align-self: flex-end; }
.msg a { font-weight: 600; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.quick button { font: 500 13px var(--font-body); padding: 6px 10px; border: 1px solid var(--color-line); background: #fff; border-radius: var(--radius); cursor: pointer; }
.quick button:hover { border-color: var(--color-ink); }
.chat-form { display: flex; border-top: 1px solid var(--color-line); }
.chat-form input { border: 0; border-radius: 0; flex: 1; }
.chat-form input:focus { box-shadow: none; }
.chat-form button { border: 0; background: var(--color-action); color: #fff; font: 600 15px var(--font-body); padding: 0 18px; cursor: pointer; }
.chat-foot { font-size: 11.5px; color: var(--color-muted); padding: 6px 14px; background: var(--color-paper); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; background: var(--color-muted); border-radius: 50%; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Night hero (LA freeway photo) ---------- */
.hero-night {
  position: relative; color: #fff; padding: 88px 0 96px;
  background:
    linear-gradient(90deg, rgba(13,16,20,.62) 0%, rgba(13,16,20,.48) 38%, rgba(13,16,20,.12) 70%, rgba(13,16,20,.28) 100%),
    linear-gradient(0deg, rgba(13,16,20,.55) 0%, rgba(13,16,20,0) 28%),
    url("img/la-freeway.jpg") center 62% / cover no-repeat, #0d1014;
}
.hero-night .hero-grid { align-items: center; }
/* Background video (screens 768px+). The shade sits between the video and the text so the headline stays readable. */
.hero-night { overflow: hidden; }
.hero-video, .hero-shade { display: none; }
.hero-night > .wrap { position: relative; z-index: 2; }
/* Phones: the video fills the top of the hero (behind the headline) and fades into the dark background above the form */
@media (max-width: 767px) {
  .hero-night.has-video .hero-video { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 680px; object-fit: cover; z-index: 0; }
  .hero-night.has-video .hero-shade { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 682px; z-index: 1;
    background: linear-gradient(180deg, rgba(13,16,20,.45) 0%, rgba(13,16,20,.55) 45%, rgba(13,16,20,.82) 80%, #0d1014 100%); }
}
@media (min-width: 768px) {
  .hero-night.has-video .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .hero-night.has-video .hero-shade { display: block; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(10,11,12,.7) 0%, rgba(10,11,12,.55) 35%, rgba(10,11,12,.2) 62%, rgba(10,11,12,.3) 100%),
                linear-gradient(180deg, rgba(10,11,12,.25) 0%, rgba(10,11,12,0) 30%, rgba(10,11,12,0) 75%, rgba(10,11,12,.35) 100%); }
}
/* soft shadow keeps the text readable now that the photo is brighter */
.hero-night .hero-copy { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
.hero-night .hero-copy .btn { text-shadow: none; }
.hero-night h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.02; letter-spacing: -.02em; max-width: none; color: #fff; margin-bottom: var(--s5); }
.hero-night h1 span { display: block; color: var(--color-taupe-light); }
.hero-night .hero-lede { color: #d8dadd; font-size: 19px; max-width: 44ch; }
.btn-lg { padding: 18px 26px; font-size: 17px; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero-note { color: rgba(255,255,255,.8); font-size: 14.5px; margin-top: var(--s5); line-height: 1.7; }

.night-card { background: rgba(20,24,29,.86); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.night-card-head { padding: 22px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.night-card-head h2 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; color: #fff; }
.night-card-head p { margin: 0; color: #9da3aa; font-size: 14px; }
.night-card-body { padding: 20px 24px 22px; }
.night-progress { display: flex; justify-content: space-between; font-size: 13px; color: #9da3aa; }
.night-bar { height: 3px; background: rgba(255,255,255,.12); margin: 6px 0 18px; }
.night-bar div { width: 25%; height: 100%; background: var(--color-action); }
.night-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: var(--s3); }
.night-options { display: grid; gap: 8px; }
.night-options button { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; color: #fff; cursor: pointer; font: inherit; transition: border-color .15s var(--ease), background .15s var(--ease); }
.night-options button:hover, .night-options button:focus-visible { border-color: var(--color-action); background: rgba(255,255,255,.08); outline: none; }
.night-options button.pick { border-color: rgba(217,207,194,.55); }
.night-options i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); flex-shrink: 0; transition: border-color .15s, box-shadow .15s; }
.night-options button:hover i { border-color: var(--color-action); box-shadow: inset 0 0 0 4px #14181d, inset 0 0 0 9px var(--color-action); }
.night-options b { display: block; font-size: 15.5px; font-weight: 600; }
.night-options small { display: block; color: var(--color-accent-light); font-size: 13.5px; opacity: .9; }
.night-foot { text-align: center; color: #8a9097; font-size: 13px; margin: var(--s4) 0 0; }
.night-foot a { color: #fff; }

/* the intake form inside the dark hero card */
.night-opt { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 13px 16px; cursor: pointer; font-weight: 400;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #fff;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.night-opt input { position: absolute; opacity: 0; pointer-events: none; }
.night-opt:hover { border-color: rgba(255,255,255,.4); }
.night-opt.pick { border-color: rgba(217,207,194,.5); }
.night-opt i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); flex-shrink: 0; transition: all .15s var(--ease); }
.night-opt input[type=checkbox] + i { border-radius: 5px; }
.night-opt b { display: block; font-size: 15.5px; font-weight: 600; }
.night-opt small { display: block; color: var(--color-accent-light); font-size: 13.5px; }
.night-opt:has(input:checked) { border-color: var(--color-action); background: rgba(255,255,255,.12); }
.night-opt input:checked + i { border-color: var(--color-action); background: var(--color-action); box-shadow: inset 0 0 0 3px #1b2026; }
.night-opt input[type=checkbox]:checked + i { box-shadow: none; background: var(--color-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.night-opt input:focus-visible + i { outline: 2px solid #fff; outline-offset: 2px; }
.night-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.night-pills .night-opt { padding: 11px 14px; }
.night-fields { display: grid; gap: 12px; }
.night-fields label { color: #c5c8cc; font-size: 13.5px; font-weight: 600; margin: 0; display: grid; gap: 6px; }
.night-fields input, .night-fields select { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 15.5px; padding: 11px 12px; }
.night-fields select option { color: #16191d; }
.night-fields input::placeholder { color: #7d838a; }
.night-fields input:focus, .night-fields select:focus { border-color: var(--color-accent-light); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.night-photos { display: grid; gap: 6px; margin: 14px 0 0; color: #c5c8cc; font-size: 13.5px; font-weight: 600; }
.night-photos small { font-weight: 400; color: #a9afb6; font-size: 13px; }
.night-photos input { color: #e6e7e9; font-size: 14px; padding: 8px; border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.04); max-width: 100%; }
.night-photos input::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 0; border-radius: 6px; background: #fff; color: #16191d; font-weight: 600; cursor: pointer; }
.night-photos-help { font-weight: 400; color: #a9afb6; font-size: 13px; line-height: 1.5; }
.night-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-weight: 400; color: #a9afb6; font-size: 13px; line-height: 1.5; }
.night-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-action); flex-shrink: 0; }
.night-terms { color: #a9afb6; font-size: 13px; margin: 10px 0 0; }
.night-terms a, .night-consent a { color: #fff; }
.night-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.night-nav .btn-primary { min-width: 130px; }
.btn-ghost-light { color: #c5c8cc; border-color: transparent; padding-left: 4px; }
.btn-ghost-light:hover { background: none; color: #fff; }
.night-card .error { color: #ffffff; }
.night-card .step h3 { margin-bottom: 14px; }
.night-kicker { display: block; color: #9da3aa; font-size: 13.5px; font-weight: 600; }
.night-card .ref-num { color: #fff; }
.night-card #intakeDone h3 { font-size: 20px; margin: 4px 0 6px; }
.night-done-text { color: #c5c8cc; font-size: 15px; margin: 0 0 10px; }

/* Contact section: one button to the one form */
.contact-cta { background: var(--color-surface); color: var(--color-ink); padding: var(--s6); border-radius: 16px; }
.contact-cta h3 { font-size: 26px; margin-bottom: 6px; }
.contact-cta p { color: var(--color-muted); margin-bottom: 18px; }
.contact-cta ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--color-muted); }
.contact-cta li { padding-left: 24px; position: relative; }
.contact-cta li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--color-action); border-bottom: 2px solid var(--color-action); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .hero-night { padding: 56px 0 64px; background:
    linear-gradient(180deg, rgba(13,16,20,.70) 0%, rgba(13,16,20,.92) 55%, #0d1014 100%),
    url("img/la-freeway.jpg") 60% 0 / auto 520px no-repeat, #0d1014; }
}

/* ---------- Services cards ---------- */
.svc-head { display: grid; gap: var(--s3) var(--s6); margin-bottom: var(--s6); }
@media (min-width: 900px) { .svc-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.svc-head h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); }
.svc-head h2 span { color: var(--color-action); }
.svc-head p { margin: 0; max-width: 52ch; }
.svc-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-cards { grid-template-columns: repeat(6, 1fr); } .svc-feature { grid-column: span 4; } .svc-plain { grid-column: span 2; } .svc-photo { grid-column: span 2; } }
.svc-card { position: relative; display: block; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.45); }
.svc-card h3 { margin-bottom: var(--s2); }
.svc-go { display: inline-block; margin-top: var(--s4); font-weight: 600; color: var(--color-action-text); }
.svc-card:hover .svc-go { text-decoration: underline; text-underline-offset: 4px; }

.svc-feature { background: var(--color-surface); border: 1px solid var(--color-line); display: grid; }
@media (min-width: 700px) { .svc-feature { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) and (max-width: 999px) { .svc-feature { grid-column: 1 / -1; } }
.svc-feature-text { padding: var(--s6); align-self: center; }
.svc-feature h3 { font-size: 32px; }
.svc-feature p { color: var(--color-muted); }
.svc-feature img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.svc-checks { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.svc-checks li { padding-left: 26px; position: relative; }
.svc-checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--color-action); border-bottom: 2px solid var(--color-action); transform: rotate(-45deg); }

.svc-plain { background: var(--color-road); color: #fff; padding: var(--s6); display: flex; flex-direction: column; }
@media (min-width: 700px) and (max-width: 999px) { .svc-plain { grid-column: 1 / -1; } }
.svc-plain h3 { color: #fff; font-size: 28px; }
.svc-plain p { color: #c5c8cc; }
.svc-plain .svc-small { font-size: 14.5px; color: #9ea4ab; }
.svc-plain .svc-go { margin-top: auto; color: var(--color-accent-light); }

.svc-photo { min-height: 260px; background: #111; color: #fff; display: flex; align-items: flex-end; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.05) 25%, rgba(10,12,15,.88) 100%); }
.svc-photo > div { position: relative; z-index: 1; padding: var(--s5); }
.svc-photo h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.svc-photo p { margin: 0; color: #dcdddf; font-size: 15px; }
.svc-photo:hover img { transform: scale(1.04); }
@media (min-width: 700px) and (max-width: 999px) { .svc-photo:last-child { grid-column: 1 / -1; } }

/* ---------- Services bento grid ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.bento-card {
  position: relative; display: flex; align-items: flex-end; min-height: 260px;
  border-radius: 14px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: #15191e;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -18px rgba(0,0,0,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,14,18,0) 30%, rgba(12,14,18,.55) 62%, rgba(12,14,18,.92) 100%); }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 44px -20px rgba(0,0,0,.55); }
.bento-card:hover img { transform: scale(1.05); }
.bento-card:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; }
.bento-body { padding: 24px 76px 24px 24px; }
.bento-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: #fff; margin: 0 0 4px; }
.bento-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }
.bento-tag { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--btn-text); background: var(--color-action); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.bento-lead h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.015em; margin-bottom: 8px; }
.bento-lead p { font-size: 16.5px; max-width: 40ch; }
.bento-checks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bento-checks li { font-size: 13.5px; font-weight: 600; padding: 6px 12px 6px 28px; border-radius: 999px; position: relative;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bento-checks li::before { content: ""; position: absolute; left: 12px; top: 10px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.svc-arrow { position: absolute; right: 20px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.bento-card:hover .svc-arrow { background: var(--color-action); border-color: var(--color-action); transform: translateX(3px); }
.bento-lead { min-height: 420px; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lead, .bento-wide { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; }
  .bento-lead { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .bento-lead .bento-body { padding: 36px 90px 36px 36px; }
  .bento-lead .svc-arrow { right: 32px; bottom: 34px; width: 50px; height: 50px; }
  .bento-wide { grid-column: 3 / 5; }
  .bento-card { min-height: 0; }
}

.hurt-strip { display: grid; gap: 6px 24px; align-items: center; margin-top: 28px; padding: 20px 0;
  border-top: 1px solid var(--color-line); text-decoration: none; color: var(--color-ink); }
@media (min-width: 800px) { .hurt-strip { grid-template-columns: auto 1fr auto; } }
.hurt-strip b { font-size: 16px; }
.hurt-strip span { color: var(--color-muted); font-size: 15px; }
.hurt-strip i { font-style: normal; font-weight: 600; color: var(--color-action-text); white-space: nowrap; }
.hurt-strip:hover i { text-decoration: underline; text-underline-offset: 4px; }

/* Homepage rhythm: sections alternate between the paper background, a deeper beige band, and charcoal,
   instead of a divider line between every section. .section-rule adds one thin line where two paper sections meet. */
.band-sunk { background: var(--color-surface-sunk); }
.band-dark { background: #1f2124; color: #e9e4dc; }
.band-dark h2, .band-dark h3 { color: #fff; }
.section-rule { padding-top: 0 !important; }
.section-rule::before { content: ""; display: block; height: 1px; background: var(--color-line); margin: 0 auto var(--s8);
  width: min(calc(100% - 32px), calc(var(--maxw) - 32px)); }
@media (min-width: 720px) { .section-rule::before { width: min(calc(100% - 64px), calc(var(--maxw) - 64px)); } }

/* Why it's free + four promises */
.promise { display: grid; gap: 56px; }
@media (min-width: 960px) { .promise { grid-template-columns: 4fr 7fr; gap: 80px; } }
.promise .zero { font-family: var(--font-head); font-size: clamp(110px, 14vw, 168px); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--color-taupe-light); }
.promise .zero-cap { margin: 14px 0 40px; font-size: 16px; color: #b9b2a7; max-width: 30ch; }
.promise-free h2 { font-size: 24px; margin: 0 0 10px; }
.promise-free p:last-child { color: #c9c2b8; margin: 0; max-width: 40ch; }
.promise-main h2 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; margin: 0 0 36px; max-width: 20ch; }
.promise-grid { display: grid; gap: 34px 48px; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
.pr { border-top: 1px solid #3b3d41; padding-top: 22px; }
.pr svg { width: 28px; height: 28px; fill: none; stroke: var(--color-taupe-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.pr h3 { font-size: 19px; margin: 0 0 6px; }
.pr p { margin: 0; color: #b9b2a7; font-size: 15.5px; line-height: 1.6; }
.pr .link { color: var(--color-taupe-light); }

/* ---------- How it works: photo card + timeline ---------- */
.process-card { display: grid; gap: 28px; }
@media (min-width: 960px) { .process-card { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; } }
.process-photo { position: relative; min-height: 480px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; border-radius: 18px; overflow: hidden; }
.process-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; z-index: -2; }
.process-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,16,20,.25) 0%, rgba(13,16,20,.35) 40%, rgba(13,16,20,.9) 100%); }
.process-photo-text { padding: 36px; }
.process-photo h2 { color: #fff; font-size: clamp(36px, 4vw, 50px); margin-bottom: 6px; }
.process-lede { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 22px; }
.process-photo blockquote { margin: 0 0 22px; padding-left: 16px; border-left: 2px solid var(--color-accent-light);
  font-family: var(--font-head); font-size: 19px; line-height: 1.4; color: #fff; }
.process-photo cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 13.5px; color: rgba(255,255,255,.7); }

.process-steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; }
.process-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; position: relative; padding: 24px 0; border-bottom: 1px solid var(--color-line); }
.process-steps li:last-child { border-bottom: 0; }
.process-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 20px;
  color: var(--color-taupe); background: var(--color-surface-sunk); border: 1.5px solid var(--color-line); }
.process-steps li:first-child .process-dot { background: var(--color-taupe); color: #fff; border-color: var(--color-taupe); }
.process-when { display: block; font-family: var(--font-num); font-weight: 700; font-size: 15px; letter-spacing: .03em; color: var(--color-action-text); margin: 2px 0 2px; }
.process-steps h3 { font-family: var(--font-body); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin: 0 0 4px; }
.process-steps p { margin: 0; color: var(--color-muted); font-size: 15.5px; }
@media (max-width: 600px) { .process-photo { min-height: 380px; } .process-photo-text { padding: 26px; } }

/* ---------- Claim checkup ---------- */
.ck-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .ck-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.ck-q { padding: 20px 0; border-bottom: 1px solid var(--color-line); }
.ck-q:first-child { padding-top: 0; }
.ck-label { font-weight: 600; font-size: 16.5px; margin: 0 0 10px; }
.ck-label small { display: block; font-weight: 400; font-size: 14px; color: var(--color-muted); margin-top: 2px; }
.ck-label label { margin: 0; font-size: 16.5px; }
.ck-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-opts .choice span { padding: 9px 16px; border-radius: 999px; font-size: 15px; }
.ck-result { background: var(--color-road); color: #fff; border-radius: 18px; padding: 28px; position: sticky; top: 90px; }
.ck-result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ck-result h2 { color: #fff; font-size: 28px; margin: 0; }
.ck-result-head span { color: #9ea4ab; font-size: 13.5px; text-align: right; }
.ck-steps { list-style: none; padding: 0; margin: 0 0 22px; counter-reset: ck; max-height: 60vh; overflow-y: auto; }
.ck-steps li { counter-increment: ck; position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid #3c444d; }
.ck-steps li::before { content: counter(ck); position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 700; font-size: 14px; background: #2f363d; color: #d8dadd; }
.ck-steps li.urgent::before { background: var(--color-action); color: #fff; }
.ck-steps b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.ck-steps span { color: #c5c8cc; font-size: 14.5px; line-height: 1.5; }
.ck-steps .link { color: #fff; }
.ck-flag { display: inline-block !important; font-size: 13px !important; font-weight: 700; color: var(--color-accent-light) !important; margin-bottom: 2px; letter-spacing: .02em; }
.ck-cta p { color: #d8dadd; font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.ck-cta p b { color: #fff; display: block; font-size: 16px; margin-bottom: 2px; }
.ck-cta-alt { display: block; text-align: center; margin-top: 12px; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.ck-cta-alt:hover { text-decoration: underline; text-underline-offset: 4px; }
.ck-fine { color: #9aa0a7; font-size: 13.5px; margin: 14px 0 0; line-height: 1.5; }
.ck-factors { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--color-line); }
.ck-factor-grid { display: grid; gap: 0 48px; margin-top: 28px; }
@media (min-width: 760px) { .ck-factor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ck-factor-grid { grid-template-columns: repeat(3, 1fr); } }
.ck-factor-grid > div { padding: 20px 0; border-top: 1px solid var(--color-line); }
.ck-factor-grid h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.ck-factor-grid p { margin: 0; color: var(--color-muted); font-size: 15px; }
@media (max-width: 959px) { .ck-result { position: static; } .ck-steps { max-height: none; } }

/* ---------- Service pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(13,16,20,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: modalFade .2s var(--ease); }
.modal.hidden { display: none !important; }
.modal-box { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--color-surface);
  border-radius: 16px; padding: 32px 30px 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: modalRise .28s var(--ease); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: var(--color-muted); cursor: pointer; transition: background .15s; }
.modal-close:hover { background: var(--color-surface-sunk); color: var(--color-ink); }
.modal-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--color-surface-sunk); color: var(--color-taupe); margin-bottom: 16px; }
.modal-box h2 { font-size: 28px; margin: 0 0 4px; }
.modal-sub { color: var(--color-action-text); font-weight: 600; font-size: 15px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--color-line); }
.modal-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.modal-list li { position: relative; padding-left: 28px; }
.modal-list li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--color-action); border-bottom: 2px solid var(--color-action); transform: rotate(-45deg); }
.modal-list b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.modal-list span { color: var(--color-muted); font-size: 15px; line-height: 1.5; }
.modal-list li.modal-note { padding: 12px 14px; background: var(--color-surface-sunk); border-radius: 8px; }
.modal-list li.modal-note::before { display: none; }
.modal-list li.modal-note span { color: var(--color-ink); font-size: 14.5px; }
.modal-actions { display: grid; gap: 8px; }
.modal-actions .btn { width: 100%; }
@media (max-width: 760px) { .modal { align-items: end; padding: 0; } .modal-box { border-radius: 16px 16px 0 0; max-height: 88vh; } }

/* ---------- Accidents Connect homepage sections ---------- */
.picker-card .step h2 { font-size: 24px; }
.picker-card .stepper { margin-bottom: var(--s4); }
.choice-grid.one { grid-template-columns: 1fr; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }

.svc-grid { display: grid; gap: var(--s5) var(--s6); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(6, 1fr); } .svc-lead { grid-column: span 3; } .svc:not(.svc-lead) { grid-column: span 2; } }
.svc { border-top: 1px solid var(--color-line); padding-top: var(--s4); }
.svc-lead { border-top: 2px solid var(--color-ink); }
.svc-lead h3 { font-size: 30px; }
.svc p { color: var(--color-muted); margin: 0; }

.days.dark { border-top-color: var(--color-action); margin-top: var(--s6); }
.days.dark > div { border-bottom-color: #3c444d; }
.days.dark .when { color: var(--color-accent-light); }
.days.dark b { color: #fff; }
.days.dark p { color: #c5c8cc; }

.founder { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 0.85fr 1.15fr; gap: var(--s7); } }
.founder figure { margin: 0; }
.founder img { width: 100%; height: auto; display: block; border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 20%; }
.founder h2 { font-size: clamp(28px, 3vw, 38px); }
.facts-list { display: grid; gap: var(--s4) var(--s5); margin: var(--s5) 0 0; }
@media (min-width: 620px) { .facts-list { grid-template-columns: 1fr 1fr; } }
.facts-list div { border-top: 1px solid var(--color-line); padding-top: var(--s3); }
.facts-list dt { font-weight: 600; }
.facts-list dd { margin: 4px 0 0; color: var(--color-muted); font-size: 15.5px; }

/* Translated homepages (/es/, /ar/, /ru/) */
.i18n .night-card h3 { margin-top: 0; }
.i18n-steps { grid-template-columns: 1fr; }
@media (min-width: 900px) { .i18n-steps { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } .i18n-steps li:nth-last-child(2) { border-bottom: 0; } }
.i18n .contact-cta .btn-light { color: var(--color-ink); border-color: var(--color-line); }
[dir="rtl"] { --font-body: "Noto Sans Arabic", "Public Sans", system-ui, sans-serif; --font-head: "Noto Sans Arabic", Georgia, serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .night-opt, [dir="rtl"] .faq summary { text-align: right; }
[dir="rtl"] .hero-night h1 { line-height: 1.25; }
[dir="rtl"] .logo, [dir="rtl"] .zero { font-family: var(--font-num); }

/* Google reviews: plain quotes split by thin rules, no cards */
.stars { color: var(--color-action); letter-spacing: 2px; }
.hero-rating { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: var(--s4); color: #e6e7e9; font-size: 15px; text-decoration: none; }
.hero-rating .stars { color: var(--color-accent-light); }
.hero-rating b { color: #fff; }
.hero-rating:hover { color: #fff; text-decoration: underline; }
.hero-rating + .hero-note { margin-top: var(--s2); }
.rev-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.rev-head h2 { margin: 0; }
.rev-score { margin: 0; color: var(--color-muted); font-size: 15.5px; }
.rev-score b { color: var(--color-ink); font-size: 18px; }
.rev-list { display: grid; border-top: 1px solid var(--color-line); }
@media (min-width: 900px) { .rev-list { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; } .rev-feature { grid-row: span 2; } }
/* The first review is the big one */
.rev-feature blockquote { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; letter-spacing: -.01em; color: var(--color-ink); }
.rev { margin: 0; padding: var(--s5) 0; border-bottom: 1px solid var(--color-line); min-width: 0; }
@media (min-width: 900px) {
  .rev { padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 0; }
  .rev + .rev { padding-left: var(--s5); border-left: 1px solid var(--color-line); }
  .rev + .rev + .rev { border-top: 1px solid var(--color-line); }
  .rev-list { border-bottom: 1px solid var(--color-line); }
}
.rev blockquote { margin: 0; font-size: 16.5px; line-height: 1.65; overflow-wrap: anywhere; }
.rev figcaption { margin-top: var(--s3); font-weight: 600; font-size: 15px; }
.rev figcaption::before { content: "★★★★★"; display: block; color: var(--color-action); letter-spacing: 2px; font-weight: 400; margin-bottom: 2px; }
.rev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s5); }
.rev-foot .link { min-height: 44px; display: inline-flex; align-items: center; color: var(--color-action-text); }
.rev-note { margin: var(--s4) 0 0; font-size: 13px; color: var(--color-muted); max-width: 70ch; }

.vet-sec { background: var(--color-surface-sunk); }
.vet-q { font-family: var(--font-head); font-size: 22px; font-style: italic; color: var(--color-muted); margin-bottom: var(--s3); }
.vet-list { margin: 0; padding-left: 22px; }
.vet-list li { padding: var(--s3) 0; border-bottom: 1px solid var(--color-line); }
.vet-list li::marker { font-family: var(--font-num); font-weight: 700; }
.vet-list.compact li { padding: var(--s2) 0; }

/* Insurance tips: heading on the left, a short list on the right */
.rights-wrap { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .rights-wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.rights-wrap h2 { margin: 0 0 12px; max-width: 16ch; }
.rights { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-ink); }
.rights li { padding: 22px 0; border-bottom: 1px solid var(--color-line); font-size: 17px; color: var(--color-muted); }
.rights li b { display: block; color: var(--color-ink); font-size: 20px; letter-spacing: -.01em; margin-bottom: 4px; }

.coverage { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .coverage { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.areas li { padding: 8px 16px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 999px; font-size: 15px; }

.tools-guides { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .tools-guides { grid-template-columns: 1fr 1fr; } }
.tool-list.single { grid-template-columns: 1fr; }

.contact { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; } }
.contact h2 { color: #fff; }
.big-phone { display: inline-block; font-family: var(--font-head); font-weight: 800; letter-spacing: -.04em; font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--color-accent-light); text-decoration: none; margin: var(--s2) 0 var(--s3); }
.big-phone:hover { color: #ffffff; }
.contact-dl { display: grid; gap: var(--s3); margin: var(--s5) 0 0; }
.contact-dl div { display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); border-top: 1px solid #3c444d; padding-top: var(--s3); }
.contact-dl dt { color: #9ea4ab; }
.contact-dl dd { margin: 0; color: #fff; overflow-wrap: anywhere; min-width: 0; }
.contact > * { min-width: 0; }
@media (max-width: 420px) { .contact-dl div { grid-template-columns: 1fr; gap: 2px; } }
.contact-dl a { color: #fff; }
.contact-form { background: var(--color-surface); color: var(--color-ink); padding: var(--s6); border-radius: 16px; }
.contact-form .small { color: var(--color-muted) !important; }

.prose-wrap { max-width: 760px; }
.byline { color: var(--color-muted); font-size: 15px; margin-bottom: var(--s6); }
.prose .lede { font-size: 20px; color: #33383e; }
.prose h2 { font-size: 28px; margin-top: var(--s6); }
.article-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--color-line); }

.site-footer .legal p { margin: 0 0 var(--s2); }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--color-paper); border-top: 1px solid var(--color-line); }
  .call-bar .btn { padding: 13px 10px; }
  body { padding-bottom: 74px; }
  .chat-fab, .chat { display: none; }
}

/* ---------- Print: accident report only ---------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  body > *:not(main), main > *:not(#kit), #kit > .page > .wrap > *:not(.print-report) { display: none !important; }
  .print-report { display: block !important; }
  .print-report h1 { font-size: 26pt; }
  .print-report table { width: 100%; border-collapse: collapse; margin-bottom: 14pt; }
  .print-report td { border: 1px solid #999; padding: 5pt 7pt; vertical-align: top; }
  .print-report td:first-child { width: 32%; font-weight: 600; }
  .print-report .photos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Comfortable tap targets and readable sizes on phones ---------- */
.faq summary { padding: 6px 0; min-height: 44px; align-items: center; }
.site-footer a { padding: 8px 0; }
.site-footer .legal a { padding: 0; }
.contact-dl a { display: inline-block; padding: 8px 0; }
.ck-cta-alt { padding: 10px 0; }
.tool-row { min-height: 56px; }
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .site-footer .cols { gap: var(--s4); }
}
/* ===== Big-company polish (Apple-like): white + soft gray, bold sans headlines, pill buttons, frosted header ===== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; }
h1 { letter-spacing: -.035em; }
.hero-night h1 { font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.btn, .btn-sm, .btn-lg, .lang summary, .back-btn, .chat-fab { border-radius: 980px; }
.btn-primary { box-shadow: none; }
.site-header { background: rgba(242,238,232,.84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0,0,0,.08); }
.logo::after { background: repeating-linear-gradient(90deg, var(--color-ink) 0 14px, transparent 14px 22px); height: 2px; }
.stars, .rev figcaption::before { color: var(--color-ink); }
.hero-rating .stars { color: var(--color-taupe-light); }
.section { padding: 96px 0; }
.vet-sec, .network { border-radius: 0; }
.panel, .contact-cta, .contact-form, .lt-wrap, .table-wrap { border-radius: 18px; }
.founder img, .process-photo, .bento-card, .modal-box { border-radius: 22px; }
.night-card { border-radius: 22px; background: rgba(22,22,24,.78); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
a.link { color: var(--color-action-text); }
@media (max-width: 760px) { .section { padding: 64px 0; } }
/* Inside dark areas the accent flips to white, so black buttons and checks never disappear */
.hero-night, .network, .night-card, .bento-card, .result-box, .ck-result, .days.dark, .process-photo, .match-preview, .site-footer {
  --color-action: var(--color-taupe); --color-action-hover: var(--color-taupe-hover); --btn-text: #ffffff; }
.night-opt input[type=checkbox]:checked + i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.call-bar .btn-dark { background: var(--color-surface); color: var(--color-ink); border-color: var(--color-line); }
.svc-head h2 span { color: var(--color-muted); }
.link { text-decoration-thickness: 1.5px; }
/* Taupe: every call button, plus small accents */
a[href^="tel:"].btn-primary, .call-bar .btn-primary, .chat-form button { background: var(--color-taupe); border-color: var(--color-taupe); color: #fff; }
a[href^="tel:"].btn-primary:hover, .call-bar .btn-primary:hover { background: var(--color-taupe-hover); border-color: var(--color-taupe-hover); }
.svc-head h2 span { color: var(--color-taupe); }
.logo::after { background: repeating-linear-gradient(90deg, var(--color-taupe) 0 14px, transparent 14px 22px); }
.stars, .rev figcaption::before { color: var(--color-taupe); }
/* More breathing room between the headline and the callback form on wide screens */
@media (min-width: 960px) {
  .hero-night .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: clamp(72px, 9vw, 140px); }
  .hero-night .hero-copy { max-width: 560px; }
  .hero-night .night-card { justify-self: end; width: 100%; }
  .hero-night h1 { font-size: clamp(40px, 3.9vw, 64px); }
}
/* No dashed underline under the name anywhere (header or footer) */
.logo::after { content: none !important; }

/* Even line breaks in the hero headline (no one-word last line) */
.hero-night h1, .hero-night h1 span { text-wrap: balance; }
.hero-night .hero-lede { text-wrap: pretty; }

.night-911 { margin: -6px 0 12px; font-size: 13.5px; color: #c5c8cc; }
.night-911 a { color: #fff; font-weight: 700; }

/* Wider layout for the top bar and hero on big screens: headline further left, form further right (logo stays aligned with the headline) */
@media (min-width: 1300px) {
  .site-header .wrap, .demo-bar .wrap, .hero-night > .wrap { max-width: 1360px; padding-left: 32px; padding-right: 32px; }
}
/* "Free tools" dropdown in the main menu (same look as the language menu) */
.nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; color: var(--color-muted); display: inline-flex; align-items: center; gap: 6px; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.nav-drop[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-drop summary:hover, .nav-drop[open] summary { color: var(--color-ink); }
.nav-menu { position: absolute; left: -12px; top: calc(100% + 12px); min-width: 210px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 14px; box-shadow: 0 16px 36px -14px rgba(0,0,0,.28); padding: 6px; z-index: 30; display: grid; }
.nav-menu a { padding: 10px 12px; border-radius: 8px; color: var(--color-ink) !important; text-decoration: none !important; white-space: nowrap; }
.nav-menu a:hover { background: var(--color-surface-sunk); }
/* Phone and tablet menu */
.m-menu { order: 5; position: static; }
.m-menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--color-line); border-radius: 999px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu summary span { width: 17px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.m-menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.m-menu[open] summary span:nth-child(2) { opacity: 0; }
.m-menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.m-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-paper); border-bottom: 1px solid var(--color-line); box-shadow: 0 18px 30px -18px rgba(0,0,0,.3); padding: 8px 16px 20px; display: grid; max-height: calc(100vh - 70px); overflow-y: auto; z-index: 40; }
.m-panel a { padding: 13px 4px; border-bottom: 1px solid var(--color-line); color: var(--color-ink); text-decoration: none; font-size: 17px; font-weight: 600; }
.m-label { margin: 16px 4px 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.m-panel .m-call { margin-top: 18px; border-bottom: 0; color: #fff; text-align: center; justify-content: center; }
.site-header { position: sticky; }
.site-header .wrap { position: static; }
@media (min-width: 960px) { .m-menu { display: none; } }
/* Small phones: the bottom call bar already has "Call now", so the header shows the menu instead of "Get help" */
@media (max-width: 600px) { .site-header .wrap > .btn { display: none; } .lang { margin-left: auto; } }
/* Jump links stop just below the sticky top bar */
.section, #callback { scroll-margin-top: 84px; }

/* How it works: heading row, the animated explainer full width, the 4 steps as a timeline row, then the quote */
.process-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }
.process-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-taupe); margin-bottom: 10px; }
.process-head h2 { margin: 0 0 8px; }
.process-head p { margin: 0; }
.process-head .btn { margin-bottom: 2px; }
.process-card.process-card-video { display: block; }
.process-media { margin: 0; }
.ex-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04); background: #1b1f24; }
.ex-canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
/* Player bar along the bottom: play/pause, a bar you can drag to go back or forward, and the time */
.ex-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 36px 18px 14px; background: linear-gradient(rgba(20,18,16,0), rgba(20,18,16,.42)); }
.ex-replay { flex: none; min-height: 36px; min-width: 104px; border: 0; border-radius: 999px; padding: 0 14px; font: 600 13.5px var(--font-body); background: rgba(255,255,255,.92); color: var(--color-ink); cursor: pointer; }
.ex-replay:hover { background: #fff; }
.ex-seek { --p: 100%; flex: 1; min-width: 0; margin: 0; height: 24px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.ex-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #fff var(--p), rgba(255,255,255,.35) var(--p)); }
.ex-seek::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #fff var(--p), rgba(255,255,255,.35) var(--p)); }
.ex-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ex-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ex-seek:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.ex-time { flex: none; color: #fff; font: 600 13px var(--font-body); font-variant-numeric: tabular-nums; }

/* Steps: 4 equal columns joined by one line through the numbers */
.process-card-video .process-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; position: relative; }
.process-card-video .process-steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--color-line); }
.process-card-video .process-steps li { display: block; padding: 0; border: 0; }
.process-card-video .process-dot { position: relative; margin-bottom: 20px; background: var(--color-paper); border: 1px solid var(--color-taupe-light); color: var(--color-taupe); font-family: var(--font-body); font-size: 17px; }
.process-card-video .process-steps li:first-child .process-dot { background: var(--color-taupe); border-color: var(--color-taupe); color: #fff; }
.process-card-video .process-when { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-taupe); margin: 0 0 6px; }
.process-card-video .process-steps h3 { font-size: 19px; margin: 0 0 8px; }
.process-card-video .process-steps p { font-size: 15.5px; line-height: 1.55; }

/* Quote and the short facts line, on one row under the steps */
.process-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-line); }
.process-quote { margin: 0; max-width: 640px; padding-left: 18px; border-left: 2px solid var(--color-taupe); font-size: 18px; line-height: 1.5; color: var(--color-ink); }
.process-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--color-muted); }
.process-free { font-size: 15px; font-weight: 600; color: var(--color-taupe); text-decoration: none; white-space: nowrap; }
.process-free:hover { color: var(--color-taupe-hover); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 959px) {
  .process-card-video .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; margin-top: 36px; }
  .process-card-video .process-steps::before { display: none; }
}
@media (max-width: 560px) {
  .process-head .btn { width: 100%; text-align: center; }
  .ex-frame { border-radius: 16px; }
  .ex-controls { gap: 10px; padding: 24px 10px 8px; }
  .ex-replay { min-height: 32px; min-width: 0; font-size: 12.5px; padding: 0 10px; }
  .ex-time { font-size: 12px; }
  .process-card-video .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-card-video .process-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--color-line); }
  .process-card-video .process-steps li:last-child { border-bottom: 0; }
  .process-card-video .process-dot { margin: 0; }
  .process-foot { margin-top: 24px; }
}