/* CiteWatch marketing site — shared stylesheet (v2)
   Type: Instrument Sans (display + body), DM Sans (data labels and figures). Light canvas, one strong accent, severity colours carry meaning. */

:root {
  --bg: #f6f6f3;
  --bg-2: #eeeeea;
  --surface: #ffffff;
  --ink: #111315;
  --ink-2: #3b3f45;
  --muted: #6b7077;
  --faint: #9a9ea5;
  --line: #e4e3dd;
  --line-2: #cfcdc5;
  --accent: #0e7c66;        /* the one brand colour: CTAs, key phrases, live status */
  --accent-ink: #0a5b4b;
  --accent-soft: #e1f1ec;
  --accent-glow: rgba(14,124,102,.28);
  --ij: #c8412f;            /* immediate jeopardy */
  --ij-soft: #fae7e3;
  --harm: #b8781a;          /* actual harm / condition-level / deadlines */
  --harm-soft: #f7ecd9;
  --std: #5c6470;
  --std-soft: #e9ebee;
  --dark: #141618;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17,19,21,.05), 0 18px 50px rgba(17,19,21,.10);
  --shadow-sm: 0 1px 2px rgba(17,19,21,.05), 0 8px 24px rgba(17,19,21,.08);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Sans", "Instrument Sans", system-ui, sans-serif;
  --max: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-2); }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #fff; }

/* Type */
.eyebrow { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -.005em; color: var(--accent); margin: 0 0 14px; }
.eyebrow--muted { color: var(--muted); }
.h-display { font-weight: 400; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.h-display .dim, .h-section .dim { color: #8b9097; }
.h-section { font-weight: 400; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.03em; max-width: 20ch; }
.h-sub { font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.h-card { font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--accent-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 6px; padding-right: 6px; }
.btn--ghost:hover { color: var(--accent); transform: none; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: rgba(17,19,21,.05); color: var(--ink); }
.nav a.is-active { color: var(--ink); background: rgba(17,19,21,.06); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--ghost { display: none; }
  .site-header.nav-open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 58px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; }
  .site-header.nav-open .nav a { padding: 12px; font-size: 16px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--ink); }
/* TRIAL: full-width note. To revert, replace "max-width: none" with "max-width: 90ch". */
.footer-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--faint); max-width: none; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Hero */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 700px; }
.hero-copy .lede { margin: 20px 0 28px; max-width: 46ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.hero-meta span::before { content: "·"; margin-right: 8px; color: var(--faint); }
.hero-meta span:first-child::before { content: none; }
.hero-stage { position: relative; margin-top: 48px; }

/* Floating cards around the mock (Sahova-style) */
.float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 13px; }
.float--alert { left: -18px; bottom: 44px; width: 300px; }
.float--match { right: -18px; top: -44px; width: 210px; }
.float .k { font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: flex; justify-content: space-between; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.float .k b { color: var(--accent); font-weight: 500; }
.float .t { font-weight: 500; font-size: 14px; }
.float .m { color: var(--muted); font-size: 12px; margin-top: 2px; }
.float .big { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 4px 0 6px; }
.float .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
@media (max-width: 900px) { .float { display: none; } }

/* Product mock window */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 13px; color: var(--ink); position: relative; z-index: 2; }
.mock-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fbfbf9; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.mock-search { flex: 1; max-width: 420px; margin-left: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--faint); font-size: 12px; background: #fff; display: flex; gap: 8px; align-items: center; }
.mock-search kbd { margin-left: auto; font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.mock-top .date { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.mock-top .live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.mock-top .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mock-top .av { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11.5px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.mock-body { display: grid; grid-template-columns: 196px 1fr; min-height: 520px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; background: #fcfcfb; }
.mock-side .who { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-weight: 500; }
.mock-side .who i { width: 20px; height: 20px; border-radius: 6px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11.5px; display: grid; place-items: center; font-style: normal; font-variant-numeric: tabular-nums; }
.mock-side .grp { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding: 12px 8px 6px; font-variant-numeric: tabular-nums; }
.mock-side .it { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 7px; color: var(--ink-2); }
.mock-side .it.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.mock-side .it b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.mock-side .it.is-active b { background: var(--accent); }
.mock-main { padding: 18px 20px 20px; min-width: 0; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mock-head h3 { font-weight: 500; font-size: 17px; letter-spacing: -.015em; }
.mock-head .date { font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.kpi b { font-weight: 500; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.kpi .d { font-size: 11px; color: var(--muted); margin-left: 6px; }
.kpi.is-ij b { color: var(--ij); }
.kpi.is-ok b { color: var(--accent); }
.mock-cols { display: grid; grid-template-columns: 1fr 220px; gap: 18px; }
.mock-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mock-filters span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--ink-2); background: #fff; }
.mock-filters span.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.alert-row { display: grid; grid-template-columns: 128px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.alert-row:first-of-type { border-top: 0; }
.alert-row .fac { font-weight: 500; font-size: 14px; }
.alert-row .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.alert-row .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; align-items: center; }
.alert-row .score { text-align: right; }
.alert-row .score b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.alert-row .score small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.rail { display: grid; gap: 12px; align-content: start; }
.rail-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.rail-card h5 { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.due { font-size: 12px; margin-bottom: 8px; }
.due .r { display: flex; justify-content: space-between; gap: 8px; }
.due .r span:last-child { font-family: var(--mono); color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bar { height: 5px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.bar.is-ij i { background: var(--ij); }
.bar.is-harm i { background: var(--harm); }
.states { display: flex; flex-wrap: wrap; gap: 5px; }
.states span { font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.states span.on { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.spark { width: 100%; height: 44px; }
.sev { display: inline-block; font-family: var(--mono); font-size: 11.5px; padding: 4px 8px; border-radius: 6px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sev--ij { background: var(--ij-soft); color: var(--ij); }
.sev--harm { background: var(--harm-soft); color: var(--harm); }
.sev--std { background: var(--std-soft); color: var(--std); }
.sev--info { background: var(--accent-soft); color: var(--accent-ink); }
.tag { font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; color: var(--ink-2); background: #fff; font-variant-numeric: tabular-nums; }
.clock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.clock i { width: 8px; height: 8px; border-radius: 50%; background: var(--harm); display: inline-block; }
.clock.is-ij i { background: var(--ij); }
.clock.is-ok i { background: var(--accent); }
.alert-row.reveal { opacity: 0; transform: translateY(6px); animation: rowIn .5s ease forwards; }
@keyframes rowIn { to { opacity: 1; transform: none; } }

/* Mock: facility, score, pipeline, contacts */
.fac-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.fac-head h4 { font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 16px; }
.kv div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kv small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.kv b { font-weight: 500; font-size: 14px; }
.summary { border-left: 3px solid var(--accent); padding: 8px 14px; background: var(--accent-soft); border-radius: 0 8px 8px 0; margin: 12px 0; font-size: 13.5px; line-height: 1.55; }
.hist { border-top: 1px solid var(--line); }
.hist div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; align-items: center; }
.hist .d { font-family: var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pipe .col { background: #f7f7f4; border-radius: 10px; padding: 10px; min-height: 260px; }
.pipe .col h5 { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; font-weight: 500; font-variant-numeric: tabular-nums; }
.card-sm { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; margin-bottom: 8px; font-size: 12.5px; }
.card-sm b { display: block; font-weight: 500; }
.card-sm .m { color: var(--muted); font-size: 11.5px; margin-top: 3px; display: flex; justify-content: space-between; gap: 8px; }
.avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); font-family: var(--mono); font-size: 11.5px; display: inline-grid; place-items: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.contact b { display: block; font-weight: 500; font-size: 14px; }
.contact .role { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.contact .src { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 8px; font-variant-numeric: tabular-nums; }
.contact .line { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; border-top: 1px dashed var(--line); }
.contact .line span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.contact .blur { filter: blur(4px); user-select: none; }
.credit { display: inline-flex; gap: 6px; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; }
.toggle.on { background: var(--accent); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on::after { left: 17px; }
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.mock-tabs button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: 14px; cursor: pointer; }
.mock-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock-caption { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 70ch; }
.illustrative { font-size: 12.5px; font-style: italic; color: var(--faint); margin-top: 10px; }
@media (max-width: 900px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-cols { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr 1fr; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .alert-row { grid-template-columns: 1fr; gap: 6px; }
  .alert-row > .sev { justify-self: start; }
  .alert-row .score { text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .contact-grid, .score-grid { grid-template-columns: 1fr; }
  .mock-search { display: none; }
}
@media (max-width: 560px) { .rail { grid-template-columns: 1fr; } }

/* How it works: three numbered steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font); font-size: 44px; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--accent); display: block; margin-bottom: 20px; }
.step .h-sub { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.step .art { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Photo band (Sahova-style photo with ribbed overlay and floating card) */
.photo-band { position: relative; border-radius: 22px; overflow: hidden; min-height: 520px; background: var(--dark); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 2px, transparent 2px 16px), linear-gradient(to right, rgba(17,19,21,.55), rgba(17,19,21,.05) 60%); pointer-events: none; }
.photo-band .over { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: end; color: #fff; }
.photo-band .over h2 { font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; }
.photo-band .over p { color: rgba(255,255,255,.78); margin: 12px 0 0; max-width: 46ch; font-size: 16px; }
.photo-band .activity { justify-self: end; width: 100%; max-width: 380px; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; }
.activity h5 { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.activity .row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.activity .row:first-of-type { border-top: 0; }
.activity .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.activity .ic.ij { background: var(--ij-soft); color: var(--ij); }
.activity .ic.ok { background: var(--accent-soft); color: var(--accent-ink); }
.activity .ic.harm { background: var(--harm-soft); color: var(--harm); }
.activity .row b { font-weight: 500; }
.activity .row small { display: block; color: var(--muted); font-size: 12px; }
.activity .row .t { font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.photo-credit { font-size: 12px; color: var(--faint); margin-top: 8px; }
@media (max-width: 900px) { .photo-band { min-height: 0; } .photo-band img { position: relative; height: 320px; } .photo-band .over { position: relative; left: 0; right: 0; bottom: 0; grid-template-columns: 1fr; padding: 24px; background: var(--dark); } .photo-band::after { display: none; } .photo-band .activity { justify-self: start; } }

/* Segment tiles */
.segments { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.segment { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.segment .pic { height: 210px; overflow: hidden; }
.segment .pic img { width: 100%; height: 100%; object-fit: cover; }
.segment .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.segment .eyebrow { margin-bottom: 8px; }
.segment .h-sub { font-size: 26px; margin-bottom: 10px; }
.segment p { color: var(--ink-2); font-size: 15.5px; }
.segment .stat { display: flex; gap: 22px; margin: 6px 0 18px; }
.segment .stat b { display: block; font-weight: 500; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; color: var(--accent); }
.segment .stat span { font-size: 12.5px; color: var(--muted); }
.segment .btn-row { margin-top: auto; }
@media (max-width: 900px) { .segments { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { margin-top: 44px; }
.timeline-track { position: relative; height: 2px; background: var(--line-2); margin: 0 12px; }
.timeline-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -9px; }
.tp { position: relative; padding-top: 28px; }
.tp::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.tp.is-us::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tp .day { font-size: 14px; font-weight: 500; color: var(--muted); display: block; margin-bottom: 6px; }
.tp.is-us .day { color: var(--accent); }
.tp b { font-weight: 500; display: block; margin-bottom: 4px; font-size: 16px; }
.tp p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 800px) { .timeline-track { display: none; } .timeline-points { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 0; } .tp { padding-top: 0; padding-left: 26px; } .tp::before { top: 3px; } }
@media (max-width: 480px) { .timeline-points { grid-template-columns: 1fr; } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card--flat { background: transparent; }
.card p { color: var(--ink-2); }
.card .h-card { margin-bottom: 10px; }
.card .eyebrow { margin-bottom: 12px; }
.slashes { margin-top: 14px; }
.slashes li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 7px; line-height: 1.5; }
.slashes li::before { content: "/"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Section headers */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.sec-head .lede { font-size: 17px; }
.sec-head--stack { grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

/* Email */
.email { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 720px; }
.email-head { padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fbfbf9; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.email-head b { color: var(--ink); font-weight: 500; }
.email-body { padding: 22px; font-size: 14.5px; line-height: 1.6; }
.email-body h4 { font-weight: 500; font-size: 18px; margin-bottom: 12px; letter-spacing: -.015em; }
.email-body .block { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.email-body .block .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 4px 0; }
.email-body .block .row span:first-child { color: var(--muted); }
.email-body .cta { display: inline-block; background: var(--accent); color: #fff; border-radius: 8px; padding: 9px 14px; font-size: 13.5px; margin-top: 6px; }
.email-foot { padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }

/* Pricing */
.pricing-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.seg-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.seg-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.seg-toggle button.is-active { background: var(--ink); color: #fff; }
.seg-toggle button:focus-visible { outline-offset: -2px; }
.coverage-note { font-size: 14px; color: var(--muted); max-width: 60ch; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.is-featured { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.plan .flag { position: absolute; top: -13px; left: 28px; font-size: 13px; font-weight: 500; background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 12px; }
.plan h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.plan .for { color: var(--muted); font-size: 14px; margin: 6px 0 18px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-weight: 400; font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { font-size: 12.5px; color: var(--faint); min-height: 20px; margin-top: 6px; }
.plan .btn { margin: 20px 0 22px; justify-content: center; }
.plan .incl { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.plan .slashes { margin-top: 0; }
.plan .slashes li { font-size: 13.5px; }
.enterprise { margin-top: 20px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.enterprise h3 { font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.enterprise p { color: rgba(255,255,255,.72); margin: 0; font-size: 15px; }
.enterprise .btn--secondary { background: #fff; border-color: #fff; color: var(--ink); }
.founding { border: 1px solid var(--accent); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: var(--surface); }
.founding .badge { font-size: 14px; font-weight: 500; background: var(--accent); color: #fff; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.founding h3 { font-weight: 500; font-size: 20px; margin-bottom: 8px; letter-spacing: -.015em; }
.founding p { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .enterprise { grid-template-columns: 1fr; } .founding { grid-template-columns: 1fr; } }

/* Chooser */
.chooser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.chooser fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.chooser legend { font-weight: 500; margin-bottom: 8px; font-size: 15px; }
.chooser label { display: inline-flex; align-items: center; gap: 8px; margin: 0 16px 8px 0; font-size: 14.5px; cursor: pointer; }
.chooser input[type=radio] { accent-color: var(--accent); }
.chooser-result { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.chooser-result b { font-weight: 500; color: var(--accent-ink); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13.5px; color: var(--ink); font-weight: 500; background: #fbfbf9; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; font-family: var(--mono); font-size: 11.5px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.status--live { background: var(--accent-soft); color: var(--accent-ink); }
.status--fed { background: var(--std-soft); color: var(--std); }
.status--check { background: var(--harm-soft); color: var(--harm); }
.status--none { background: var(--ij-soft); color: var(--ij); }
.status--partial { background: #ece9f7; color: #5b4a9c; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 26px; font-size: 13.5px; color: var(--muted); align-items: center; }
.coverage-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 28px; }
.coverage-summary div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.coverage-summary b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.coverage-summary span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .coverage-summary { grid-template-columns: repeat(2, 1fr); } }

/* Tag -> service map */
.map-row { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; align-items: start; }
.map-row:first-child { border-top: 0; }
.map-row .tag { font-size: 12px; }
.map-row .what { color: var(--ink-2); }
.map-row .who { color: var(--accent-ink); font-weight: 500; }
@media (max-width: 700px) { .map-row { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 18px; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; font-size: 15.5px; }
.faq .a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; border-radius: 22px; padding: 56px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 180%; background: radial-gradient(closest-side, rgba(14,124,102,.55), transparent); filter: blur(30px); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .h-section { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 16px; }
.cta-band .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.field label small { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.checks label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 400; cursor: pointer; }
.checks input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.form-note { font-size: 13px; color: var(--muted); }
.form-success { background: var(--accent-soft); border: 1px solid #c3ddd4; border-radius: var(--radius); padding: 28px; }
.form-success h3 { font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

/* Inner page hero, optionally with a photo */
.page-hero { padding: 72px 0 40px; }
.page-hero .lede { margin-top: 20px; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.page-hero .pic { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.page-hero .pic img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .pic::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 16px); pointer-events: none; }
@media (max-width: 900px) { .page-hero--split .wrap { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 72ch; font-size: 16px; }
.prose h2 { font-weight: 500; font-size: 24px; margin: 36px 0 12px; letter-spacing: -.02em; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }

/* Feature rows (product page) */
.feature-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; }
.feature-row.is-flipped .feature-copy { order: 2; }
.feature-copy .h-sub { font-size: 28px; margin-bottom: 12px; }
.feature-copy p { color: var(--ink-2); }
.plan-pill { display: inline-block; font-size: 13px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; color: var(--muted); margin-bottom: 14px; }
.plan-pill.is-pro { border-color: var(--accent); color: var(--accent-ink); }
.plan-pill.is-team { border-color: var(--ink); color: var(--ink); }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 24px; } .feature-row.is-flipped .feature-copy { order: 0; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }
.maxw { max-width: 72ch; }

@media (prefers-reduced-motion: reduce) {
  .alert-row.reveal { animation: none; opacity: 1; transform: none; }
  .btn, .btn .arrow { transition: none; }
}


/* ===== v3 additions ===== */

/* Line breaking: no stranded single words */
h1, h2, h3, .h-display, .h-section, .h-sub, .h-card { text-wrap: balance; }
p, li, .lede, summary { text-wrap: pretty; }

/* Animated hero backdrop: slow-drifting mesh with grain */
.hero-bg { position: absolute; top: -160px; left: 0; right: 0; height: 900px; z-index: 0; pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 92%); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(64px); will-change: transform; }
.hero-bg .b1 { width: min(560px, 60vw); height: min(560px, 60vw); right: -4%; top: 20px; background: radial-gradient(circle at 45% 45%, rgba(18,34,32,.78), rgba(18,34,32,0) 68%); animation: drift1 24s ease-in-out infinite alternate; }
.hero-bg .b2 { width: min(520px, 60vw); height: min(520px, 60vw); right: 14%; top: 300px; background: radial-gradient(circle, rgba(14,124,102,.70), rgba(14,124,102,0) 68%); animation: drift2 28s ease-in-out infinite alternate; }
.hero-bg .b3 { width: min(460px, 55vw); height: min(460px, 55vw); right: -6%; top: 320px; background: radial-gradient(circle, rgba(140,205,186,.85), rgba(140,205,186,0) 68%); animation: drift3 32s ease-in-out infinite alternate; }
.hero-bg .b4 { width: min(520px, 60vw); height: min(520px, 60vw); left: -10%; top: 40px; background: radial-gradient(circle, rgba(214,226,221,.95), rgba(214,226,221,0) 68%); animation: drift2 36s ease-in-out infinite alternate-reverse; }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes drift1 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,40px) scale(1.08); } 100% { transform: translate(30px,-30px) scale(.96); } }
@keyframes drift2 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,-40px) scale(1.12); } 100% { transform: translate(-40px,30px) scale(.94); } }
@keyframes drift3 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-60px) scale(1.1); } 100% { transform: translate(40px,20px) scale(1); } }
@media (max-width: 700px) { .hero-bg { top: -80px; height: 620px; } .hero-bg .b2 { right: 10%; } }

/* Small announcement pill in hero */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.7); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 22px; }
.pill b { background: var(--accent); color: #fff; font-weight: 500; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.pill:hover { border-color: var(--ink); }

/* Feature comparison table */
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 17%; }
.compare td:first-child { color: var(--ink); }
.compare .yes { color: var(--accent); font-weight: 600; }
.compare .no { color: var(--faint); }
.compare .grp td { background: #fbfbf9; font-weight: 500; font-size: 13px; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.compare th .p { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* Split rows (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split--flip > :first-child { order: 2; }
.split .pic { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split--flip > :first-child { order: 0; } }

/* Trigger list */
.trig { border-top: 1px solid var(--line); margin-top: 22px; }
.trig div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.trig .sev { justify-self: start; }
@media (max-width: 520px) { .trig div { grid-template-columns: 1fr; gap: 6px; } }

/* Stat line */
.stat-line { display: flex; flex-wrap: wrap; gap: 28px; margin: 22px 0 0; }
.stat-line b { display: block; font-weight: 400; font-size: 34px; letter-spacing: -.035em; line-height: 1.05; color: var(--accent); }
.stat-line span { font-size: 13.5px; color: var(--muted); }

/* Details used as a disclosure for long tables */
.disclose summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--accent); padding: 10px 0; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::after { content: "+"; font-size: 18px; }
.disclose[open] summary::after { content: "–"; }

/* Anchor offset under sticky header */
[id] { scroll-margin-top: 88px; }

@media (prefers-reduced-motion: reduce) { .hero-bg .blob { animation: none; } }

/* Step illustrations: readable at marketing scale */
.step .art .states span { font-size: 12.5px; padding: 4px 9px; }
.step .art .due { font-size: 14px; margin-bottom: 12px; }
.step .art .due .r span:last-child { font-size: 13px; color: var(--ink-2); }
.step .art .bar { height: 6px; margin-top: 6px; }

/* Marketing-scale chips (outside the product mock): sentence case, readable */
.trig .sev, .table-wrap .status, .legend .status { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; }
.email .sev { font-size: 11.5px; }

/* Short column beside a long one: keep it in view */
@media (min-width: 901px) {
  #faq .split > :first-child, .form-layout > aside { position: sticky; top: 100px; align-self: start; }
}

/* Photo-band activity card legibility */
.activity .ic { font-size: 11.5px; }
.activity .row .t { font-size: 12px; }


/* Header: compact, solid */
.site-header { border-bottom-color: var(--line); }
.site-header .btn { padding: 9px 16px; font-size: 14px; }
.site-header .btn--primary { box-shadow: none; }
.logo { font-size: 18px; }
.logo svg { width: 24px; height: 24px; }
[id] { scroll-margin-top: 76px; }

/* Coverage map (geographic) */
.covmap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; }
.usmap-wrap { position: relative; }
.usmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.usmap .st { stroke: #fff; stroke-width: 1; stroke-linejoin: round; cursor: pointer; transition: opacity .2s ease, filter .15s ease; outline: none; }
.usmap .st.is-hover, .usmap .st:focus-visible { stroke: var(--ink); stroke-width: 1.6; filter: brightness(1.04); }
.usmap .st.is-sel { stroke: var(--ink); stroke-width: 2; }
.usmap .is-dim { opacity: .18; }
.usmap .lbl, .usmap .co-txt { font-family: var(--font); font-size: 11px; font-weight: 600; text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.usmap .lbl.is-dim { opacity: .25; }
.usmap .co { cursor: pointer; }
.usmap .co-line { stroke: var(--line-2); stroke-width: 1; fill: none; }
.usmap .co-box { stroke: #fff; stroke-width: 1; }
.usmap .co:hover .co-box, .usmap .co-box.is-sel { stroke: var(--ink); stroke-width: 1.6; }
.usmap .s-live { fill: var(--accent); }
.usmap .s-check { fill: #eccb8a; }
.usmap .s-partial { fill: #c9bfee; }
.usmap .s-federal { fill: #d6d6cf; }
.usmap .s-none { fill: #eeb3a8; }
.lbl-live { fill: #fff; } .lbl-check { fill: #6d4509; } .lbl-partial { fill: #3f3180; } .lbl-federal { fill: #4a4e55; } .lbl-none { fill: #8c2718; }
.covmap-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--ink); color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow-sm); white-space: nowrap; }
.covmap-tip b { display: block; font-weight: 500; }
.covmap-tip span { color: rgba(255,255,255,.72); font-size: 12px; }
.covmap-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.covmap-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.lg { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px 7px 9px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.lg:hover { border-color: var(--line-2); }
.lg.is-on { border-color: var(--ink); color: var(--ink); }
.lg b { font-weight: 500; color: var(--ink); }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw.s-live, .status-pill.s-live { background: var(--accent); }
.sw.s-check { background: #eccb8a; } .sw.s-partial { background: #c9bfee; } .sw.s-federal { background: #d6d6cf; } .sw.s-none { background: #eeb3a8; }
.covmap-detail { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 96px; }
.cd-empty { margin: 0; color: var(--muted); font-size: 14px; }
.cd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cd-top b { font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.status-pill { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-pill.s-live { color: #fff; }
.status-pill.s-check { background: #f5e3bd; color: #6d4509; } .status-pill.s-partial { background: #e4def7; color: #3f3180; }
.status-pill.s-federal { background: #e7e7e2; color: #4a4e55; } .status-pill.s-none { background: #f6d6cf; color: #8c2718; }
.cd-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.cd-row span:first-child { color: var(--muted); }
.cd-note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .covmap-foot { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .covmap { padding: 14px; } .usmap .lbl, .usmap .co-txt { font-size: 15px; } .usmap .lbl { display: none; } .covmap-tip { display: none; } }

/* Collapsible coverage chooser */
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ask summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 16px; color: var(--ink-2); }
.ask summary::-webkit-details-marker { display: none; }
.ask summary b { font-weight: 500; color: var(--ink); margin-right: 6px; }
.ask summary i { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.ask summary i::before, .ask summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--accent); transform: translate(-50%, -50%); }
.ask summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.ask[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.ask[open] summary { border-bottom: 1px solid var(--line); }
.ask-body { padding: 20px 24px 24px; }
.ask-body .chooser { border: 0; padding: 0; background: transparent; }

/* Home page: see-through header over the hero */
.site-header.is-glass { background: rgba(246,246,243,.42); border-bottom-color: transparent; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.site-header.is-glass.is-scrolled { background: rgba(246,246,243,.62); border-bottom-color: rgba(17,19,21,.06); }
body.page-home .hero { margin-top: -59px; padding-top: 115px; }

/* Plan comparison on phones */
@media (max-width: 560px) { .compare th, .compare td { padding: 10px 6px; font-size: 12.5px; } .compare td:first-child, .compare th:first-child { padding-left: 12px; } .compare td:not(:first-child), .compare th:not(:first-child) { width: auto; } }

.usmap svg { max-width: 900px; margin: 0 auto; }


/* ===== UI polish pass ===== */
/* Steps: equal-height cards, illustration pinned to the bottom */
.step { display: flex; flex-direction: column; }
.step .art { margin-top: auto; padding-top: 18px; }
.step p { margin-bottom: 22px; }
.step .h-sub { font-size: 23px; white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 901px) { .step .h-sub { font-size: 20px; } .step { padding: 26px 22px 24px; } }
.due .r { align-items: baseline; }
.due .r span:last-child { white-space: nowrap; }

/* Dark call-to-action band: breathing room under the heading, buttons right-aligned on desktop */
.cta-band p { margin: 14px 0 0; }
@media (min-width: 861px) { .cta-band .btn-row { justify-content: flex-end; } }

/* Timeline captions */
.tp b { margin-bottom: 6px; }

/* Segment tiles: less aggressive crop, keep faces in frame */
.segment .pic { height: 260px; }
.segment .pic img { object-position: center 35%; }

/* Coverage list: keep short cells on one line */
[data-coverage-table] td:nth-child(-n+3) { white-space: nowrap; }


/* ===== UI polish pass, narrow widths ===== */
.nowrap { white-space: nowrap; }
.compare td:not(:first-child) { white-space: nowrap; }

/* Segment tiles: keep the photo proportion sensible when tiles go full width */
@media (max-width: 900px) { .segment .pic { height: auto; aspect-ratio: 16 / 9; } }
.segment .stat > div { flex: 1; min-width: 0; }

/* Coverage list: drop the notes column on small screens (the map panel shows notes) */
@media (max-width: 800px) { [data-coverage-table] th:nth-child(4), [data-coverage-table] td:nth-child(4) { display: none; } }
@media (max-width: 560px) { [data-coverage-table] th:nth-child(3), [data-coverage-table] td:nth-child(3) { display: none; } }

/* Tag table on phones: each row becomes a small card */
@media (max-width: 600px) {
  .map-table thead { display: none; }
  .map-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .map-table tr:last-child { border-bottom: 0; }
  .map-table td { padding: 0; border: 0; }
  .map-table td:nth-child(1) { font-weight: 500; }
  .map-table td:nth-child(2) { white-space: nowrap; color: var(--muted); }
  .map-table td:nth-child(3) { grid-column: 1 / -1; color: var(--ink-2); font-size: 14px; }
}

/* Hero floating cards: clear of the dashboard header, labels spaced */
.float--match { top: auto; bottom: 150px; right: -22px; width: 236px; }
.float .k { gap: 12px; }

/* Hero floats sit on the bottom edge of the dashboard, over reserved space */
.hero-stage .mock .mock-main { padding-bottom: 76px; }
.float--alert { left: 36px; bottom: -44px; }
.float--match { right: 36px; bottom: -36px; top: auto; }
.hero { padding-bottom: 56px; }


/* Spacing and alignment fixes */
.page-hero + .section--tight { padding-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }
.pricing-controls { align-items: flex-start; }
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: 72ch; }
.field label small { margin-left: 4px; }


/* Phone polish */
.logo svg { flex-shrink: 0; }
.segment .stat span, .stat-line span { display: block; line-height: 1.35; margin-top: 4px; }
@media (max-width: 560px) {
  .btn--lg { padding: 13px 18px; font-size: 15px; }
  .hero .btn-row { flex-wrap: nowrap; }
  .site-header .btn { padding: 8px 13px; font-size: 13.5px; }
  .nav-toggle { padding: 7px 11px; font-size: 14px; }
}
@media (max-width: 360px) { .hero .btn-row { flex-wrap: wrap; } }

/* Section rhythm on small screens */
@media (max-width: 700px) { .section { padding: 72px 0; } .section--tight { padding: 48px 0; } .page-hero { padding: 48px 0 28px; } .sec-head { margin-bottom: 32px; } }


/* Email view inside the product window */
.email--inmock { box-shadow: none; max-width: 640px; margin: 0 auto; }
.email--inmock .email-body p { color: var(--ink-2); }
@media (max-width: 560px) { .email--inmock .email-body .block .row { flex-direction: column; gap: 2px; } }


/* Positioning pass */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--accent-soft); border-radius: var(--radius); padding: 20px 26px; }
.callout p { margin: 0; color: var(--ink-2); font-size: 16px; }
.callout p b { color: var(--ink); font-weight: 500; }
.callout-ic { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(14,124,102,.18); }
.summary--poc { border-left-color: var(--harm); background: var(--harm-soft); }
.hero .hero-meta { margin-top: 18px; }


/* ===== v9: hero assurance, image duo, timeline, section heads, rhythm ===== */

/* Hero reassurance: two checked items, clearly separate */
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.assure li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%230e7c66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat; }

/* Two image tiles */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-tile { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 500px; color: #fff; background: var(--dark); isolation: isolate; }
.duo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.duo-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,14,13,.9) 0%, rgba(10,14,13,.6) 36%, rgba(10,14,13,0) 66%); }
.duo-tile:hover img { transform: scale(1.03); }
.duo-body { position: absolute; left: 32px; right: 32px; bottom: 30px; }
.duo-eyebrow { font-size: 15px; font-weight: 500; color: #9fdcc9; margin: 0 0 8px; }
.duo-body h3 { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 20px; }
.duo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; max-width: 420px; }
.duo-stats b { display: block; font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.duo-stats span { display: block; font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.74); margin-top: 6px; }
.duo-link { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font-size: 14.5px; font-weight: 500; }
.duo-tile:hover .duo-link .arrow { transform: translateX(3px); }
.duo-link .arrow { transition: transform .15s ease; }
.duo-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.duo + .photo-credit { margin-top: 10px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo-tile { min-height: 440px; } }
@media (max-width: 560px) { .duo-tile { min-height: 420px; } .duo-body { left: 22px; right: 22px; bottom: 22px; } .duo-body h3 { font-size: 26px; } .duo-stats b { font-size: 26px; } }

/* Timeline */
.tl { position: relative; padding-top: 44px; }
.tl-track { position: absolute; top: 51px; left: 8px; right: calc(25% - 8px); height: 2px; background: var(--line-2); border-radius: 2px; }
.tl-gap { position: absolute; top: -1px; left: calc(66.667% + 0px); width: 33.333%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), rgba(14,124,102,.25)); }
.tl-gap em { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 13px; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tl-step { position: relative; padding: 34px 28px 0 0; }
.tl-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.tl-day { display: inline-block; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }
.tl-step b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.tl-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tl-step.is-us .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-card { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px 16px; margin: -14px 12px 0 -16px; }
.tl-step.is-us .tl-day { color: #fff; background: var(--accent); border-color: var(--accent); }
.tl-step.is-us p { color: var(--accent-ink); }
.tl-step.is-late .tl-dot { border-style: dashed; }
.tl-step.is-late b, .tl-step.is-late p { color: var(--faint); }
@media (max-width: 800px) {
  .tl { padding-top: 0; }
  .tl-track { display: none; }
  .tl-steps { grid-template-columns: 1fr; gap: 26px; position: relative; }
  .tl-steps::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
  .tl-step { padding: 0 0 0 36px; }
  .tl-dot { top: 2px; }
  .tl-card { margin: -12px 0 0 -12px; }
}

/* Section heads: heading left, supporting line anchored right and baseline-aligned */
.sec-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 56px; align-items: last baseline; margin-bottom: 48px; }
.sec-head > .lede { justify-self: end; max-width: 40ch; margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--muted); padding-left: 20px; border-left: 2px solid var(--line-2); }
.sec-head--stack { margin-bottom: 40px; }
@media (max-width: 860px) { .sec-head { align-items: start; } .sec-head > .lede { justify-self: start; } }

/* Vertical rhythm */
.eyebrow { margin-bottom: 14px; }
.h-section + .lede, .h-display + .lede, .h-section + .lede.mt-2 { margin-top: 20px; }
.page-hero .lede { margin-top: 18px; }
.split .stat-line { margin-top: 26px; }
.split .trig { margin-top: 26px; }
.split .btn-row.mt-2 { margin-top: 28px; }

/* Spacing normalisation */
.page-hero .wrap > :last-child, .section .wrap > :last-child, .split > div > :last-child { margin-bottom: 0; }
.page-hero { padding-bottom: 40px; }
.page-hero .lede { margin-top: 20px; }
.prose > :first-child { margin-top: 0; }
.sec-head--stack { margin-bottom: 48px; }
.tl-step b { margin-bottom: 8px; }
@media (max-width: 700px) { .sec-head, .sec-head--stack { margin-bottom: 32px; } }

/* Small screens: section heads stack (must come after the desktop sec-head rule) */
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; row-gap: 16px; align-items: start; }
  .sec-head > .lede { justify-self: start; max-width: 60ch; }
}
@media (max-width: 900px) {
  .duo-tile::after { background: linear-gradient(to top, rgba(10,14,13,.93) 0%, rgba(10,14,13,.8) 45%, rgba(10,14,13,.1) 80%, rgba(10,14,13,0) 100%); }
}


/* ===== v10: section heads, timeline trail ===== */
/* Section head: label on row 1, title row 2; subtext starts level with the title, right-aligned against the edge */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 56px; row-gap: 0; align-items: start; }
.sec-head > div { display: contents; }
.sec-head > div > .eyebrow { grid-column: 1; grid-row: 1; }
.sec-head > div > .h-section { grid-column: 1; grid-row: 2; }
.sec-head > .lede { grid-column: 2; grid-row: 2; align-self: start; justify-self: end; text-align: right; max-width: 40ch; margin: 6px 0 0; padding: 0 20px 0 0; border-left: 0; border-right: 2px solid var(--line-2); }
.sec-head--stack { grid-template-columns: 1fr; }
.sec-head--stack > .eyebrow { grid-column: 1; grid-row: 1; }
.sec-head--stack > .h-section { grid-column: 1; grid-row: 2; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > .lede { grid-column: 1; grid-row: 3; justify-self: start; text-align: left; max-width: 60ch; margin-top: 16px; padding: 0 0 0 18px; border-right: 0; border-left: 2px solid var(--line-2); }
}

/* Timeline: track trails past the last step to the edge of the screen */
section:has(.tl) { overflow-x: clip; }
.tl-track { right: calc(50% - 50vw); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 220px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 220px), transparent); }
.tl-gap { position: absolute; top: 50px; left: calc(50% + 8px); width: 25%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), rgba(14,124,102,.3)); }
.tl-gap em { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 13px; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 800px) { .tl-gap { display: none; } }


/* ===== v11 ===== */
/* Timeline: fade in from the left edge as well; full strength at the first step */
.tl-track { left: calc(50% - 50vw); right: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 calc((100vw - min(1132px, 100vw - 48px)) / 2 + 8px), #000 calc(100% - 220px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 calc((100vw - min(1132px, 100vw - 48px)) / 2 + 8px), #000 calc(100% - 220px), transparent 100%); }

/* Split sections with a photo: photo fills the full height of the text column */
.split:has(> .pic) { align-items: stretch; }
.split > .pic { position: relative; aspect-ratio: auto; min-height: 380px; height: auto; border-radius: 20px; }
.split > .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split > .pic { min-height: 0; aspect-ratio: 4 / 3; } }

/* Shared small code chip */
.codes { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.code { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 500; line-height: 1; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; white-space: nowrap; }

/* Also built for: vendor cards */
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.vcard-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 22px; }
.vcard-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vcard .h-card { margin-bottom: 10px; }
.vcard p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 24px; }
.vcard-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vcard-k { font-size: 13px; color: var(--muted); }

/* Who a cited nursing home calls */
.calls-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.calls-head p { margin: 0; color: var(--muted); font-size: 15px; }
.calls { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calls-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.6fr); gap: 20px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); transition: background .15s ease; }
.calls-row:first-child { border-top: 0; }
.calls-row:not(.calls-row--head):hover { background: #fbfbf9; }
.calls-row--head { padding-top: 14px; padding-bottom: 14px; background: #fbfbf9; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.calls-what { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot--ij { background: var(--ij); box-shadow: 0 0 0 4px var(--ij-soft); }
.dot--harm { background: var(--harm); box-shadow: 0 0 0 4px var(--harm-soft); }
.dot--std { background: var(--std); box-shadow: 0 0 0 4px var(--std-soft); }
.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role { font-size: 13.5px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
@media (max-width: 700px) {
  .calls-row { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 16px 18px; }
  .calls-row--head { display: none; }
  .calls-row:nth-child(2) { border-top: 0; }
  .roles { grid-column: 1 / -1; }
}

/* Vendor cards: shared rows so icons, titles, text and footers line up across the three cards */
.vcards { row-gap: 0; }
@supports (grid-template-rows: subgrid) {
  .vcards .vcard { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .vcards .vcard-ic { margin-bottom: 22px; }
  .vcards .vcard p { margin-bottom: 24px; }
  .vcards .vcard-foot { margin-top: 0; align-self: stretch; align-content: start; }
}
.vcard-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 960px) { .vcards { row-gap: 20px; } }

/* Calls table: wider first column; on phones name and tags share a line, roles wrap below */
.calls-row { grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, 1.5fr); }
.calls-what { white-space: nowrap; }
@media (max-width: 700px) {
  .calls-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; }
  .roles { flex-basis: 100%; }
}


/* ===== v12: Sahova-aligned text palette, buttons and product preview ===== */
:root {
  --ink: #24231f;
  --ink-2: #4a4842;
  --muted: #979182;
  --faint: #aaa596;
  --line: #e6e4db;
  --line-2: #d8d5ca;
  --shadow: 0 24px 60px -30px rgba(36,35,31,.28);
  --shadow-sm: 0 8px 24px rgba(74,63,51,.14);
}

/* Buttons: flat, 12px radius, two weights, like Sahova */
.btn { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 500; box-shadow: none; }
.btn--lg { height: 44px; padding: 0 18px; font-size: 15px; }
.btn:hover { transform: none; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: none; }
.btn--primary:hover { background: #000; }
.btn--secondary { background: rgba(255,255,255,.65); border: 1px solid rgba(36,35,31,.16); color: var(--ink-2); }
.btn--secondary:hover { border-color: rgba(36,35,31,.32); color: var(--ink); }
.btn--ghost { color: var(--ink-2); }
.site-header .btn { height: 36px; padding: 0 14px; font-size: 13.5px; }
.duo-link { border-radius: 12px; }
.pill { border-radius: 12px; }
.seg-toggle, .seg-toggle button, .mock-tabs button { border-radius: 10px; }
.seg-toggle button.is-active, .mock-tabs button.is-active { background: var(--ink); }
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.enterprise .btn--secondary { background: #fff; color: var(--ink); border-color: #fff; }

/* Product preview window */
.mk { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; min-height: 500px; font-family: var(--font); color: var(--ink); text-align: left; }
.mk-side { background: #f4f3ee; border-right: 1px solid var(--line); padding: 16px 10px; }
.mk-ws { display: flex; align-items: center; gap: 8px; padding: 0 10px 14px; font-size: 13px; font-weight: 500; }
.mk-ws i { width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; font-style: normal; display: grid; place-items: center; }
.mk-grp { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 6px; display: flex; justify-content: space-between; }
.mk-grp b { font-weight: 500; color: var(--faint); letter-spacing: 0; }
.mk-it { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.mk-it b { font-weight: 400; font-size: 12px; color: var(--faint); }
.mk-it.on { background: rgba(36,35,31,.05); color: var(--ink); }
.mk-main { padding: 20px 28px 26px; min-width: 0; }
.mk-top { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.mk-top > span:first-child { margin-right: auto; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; }
.mk-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mk-av { width: 22px; height: 22px; border-radius: 50%; background: #f4f3ee; color: var(--ink-2); font-size: 9px; font-weight: 600; display: grid; place-items: center; }
.mk-h1 { font-size: 26px; font-weight: 400; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); margin: 0 0 8px; text-wrap: balance; }
.mk-h1 span { color: var(--muted); }
.mk-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.mk-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin: -8px 0 22px; }
.mk-status small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.mk-lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.mk-lbl a { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--faint); }
.mk-p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 6px 0 0; max-width: 62ch; }
.mk-list { display: block; }
.mk-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mk-row:first-child { border-top: 0; }
.mk-row-t { font-size: 14px; font-weight: 500; color: var(--ink); }
.mk-row-m { font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row-sev { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.mk-row-sev small { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.mk-row-score { text-align: right; min-width: 92px; }
.mk-row-score b { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.1; }
.mk-row-score small { font-size: 11.5px; color: var(--faint); }
.mk-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; margin-right: 2px; }
.mk-dot--ij { background: var(--ij); } .mk-dot--harm { background: var(--harm); } .mk-dot--std { background: #b3ae9f; } .mk-dot--info { background: var(--accent); }
.mk-line { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.mk-line:first-child { border-top: 0; }
.mk-line small { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); }
.mk-line em { font-style: normal; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.mk-line:has(> small:first-child) { grid-template-columns: 78px 1fr auto; }
.mk-list--tight .mk-line { padding: 8px 0; }
.mk-tg { width: 30px; height: 18px; border-radius: 999px; background: var(--line-2); position: relative; }
.mk-tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mk-tg.on { background: var(--ink); } .mk-tg.on::after { left: 14px; }
.mk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mk-bars > div { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.mk-bars > div:first-child { border-top: 0; }
.mk-bars i { display: block; height: 4px; border-radius: 999px; background: var(--line); margin-top: 7px; position: relative; }
.mk-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 999px; background: var(--ink-2); }
.mk-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.mk-col { background: #f4f3ee; border-radius: 12px; padding: 4px 8px 8px; min-height: 240px; }
.mk-col .mk-grp { padding: 10px 4px 8px; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; font-size: 12.5px; }
.mk-card b { display: block; font-weight: 500; color: var(--ink); }
.mk-card span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 3px; font-size: 12px; }
.mk-ct { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.mk-ct:first-child { border-top: 0; }
.mk-ct b { display: block; font-weight: 500; color: var(--ink); }
.mk-ct small { display: block; font-size: 12.5px; color: var(--muted); }
.mk-ct-v { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.mk-ct-v small { font-family: var(--font); }
.mk-ct-s { font-size: 12px; color: var(--faint); white-space: nowrap; }
.mk-ct-s a { color: var(--accent); font-weight: 500; }
.mk-blur { filter: blur(4px); user-select: none; }
.mk .email--inmock { margin: 4px 0 0; box-shadow: none; border-color: var(--line); }
.mk-row.reveal { opacity: 0; transform: translateY(6px); animation: rowIn .5s ease forwards; }
.hero-stage .mk-main { padding-bottom: 84px; }
@media (max-width: 900px) {
  .mk { grid-template-columns: 1fr; min-height: 0; }
  .mk-side { display: none; }
  .mk-main { padding: 18px 18px 22px; }
  .mk-row { grid-template-columns: 1fr; gap: 6px; }
  .mk-row-m { white-space: normal; }
  .mk-row-score { text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .mk-cols, .mk-pipe { grid-template-columns: 1fr; }
  .mk-ct { grid-template-columns: 1fr; gap: 4px; }
  .mk-h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mk-row.reveal { animation: none; opacity: 1; transform: none; } }

/* Floating cards beside the preview, in Sahova card style */
.float { border-radius: 18px; border: 1px solid #d8d5ca; box-shadow: 0 8px 24px rgba(74,63,51,.14); padding: 14px 16px; }
.float .k { font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.float .k b { color: var(--muted); font-weight: 600; }
.float .t { font-size: 14px; font-weight: 500; color: var(--ink); }
.float .m { color: var(--muted); font-size: 12.5px; }
.float .big { font-size: 30px; font-weight: 400; letter-spacing: -.03em; color: var(--ink); margin: 2px 0 4px; }
.float .tags { margin-top: 8px; gap: 8px; align-items: center; }
.float .tag { font-family: var(--font); font-size: 12px; border: 0; padding: 0; color: var(--ink-2); background: transparent; }
.float .clock { font-family: var(--font); font-size: 12px; color: var(--ink-2); }

.mk-lbl { margin-bottom: 6px; }
@media (max-width: 560px) { .mk-line:has(> small:first-child) { grid-template-columns: 1fr auto; } .mk-line:has(> small:first-child) > small { grid-column: 1 / -1; } }

/* ===== v12.1: preview fixes ===== */
/* Hero alert card sits over the main column, never over the sidebar labels */
.float--alert { left: 224px; bottom: -44px; }
/* Tablet and below: no floating cards, so no reserved band under the hero preview */
@media (max-width: 900px) {
  .hero-stage .mk-main { padding-bottom: 22px; }
  .mk-pipe { grid-template-columns: 1fr 1fr; }
  .mk-col { min-height: 0; }
}
@media (max-width: 560px) { .mk-pipe { grid-template-columns: 1fr; } }
/* Score bars: visible track */
.mk-bars i { background: var(--line-2); }
@media (max-width: 560px) {
  .mk-top { font-size: 12px; gap: 10px; }
  .mk-top > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mk-live { display: none; }
}


/* ===== v13: icons and cards inside the preview; hero without floating cards; compact audience tiles ===== */
.mk-it { justify-content: flex-start; gap: 9px; }
.mk-it > span { flex: 1; min-width: 0; }
.mk-ic { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--faint); }
.mk-it.on .mk-ic { color: var(--ink); }
.mk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; }
.mk-stat { background: #f4f3ee; border-radius: 12px; padding: 12px 14px 13px; min-width: 0; }
.mk-stat .k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-stat .k .mk-ic { color: var(--muted); width: 14px; height: 14px; }
.mk-stat b { display: block; font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.mk-stat small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-stat--text b { font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.3; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-stat--ij b { color: var(--ij); }
.mk-stats + .mk-lbl { margin-top: 20px; }
.mk-panel { background: #f4f3ee; border-radius: 14px; padding: 4px 18px 14px; }
.mk-panel .mk-lbl { margin-top: 14px; }
.mk-panel .mk-bars > div { border-top-color: rgba(36,35,31,.07); }
.mk-panel .mk-bars i { background: #fff; }
.hero-stage .mk-main { padding-bottom: 26px; }
.hero-stage .mk { min-height: 0; }
.hero-copy { max-width: 760px; }
.hero-copy .lede { max-width: 52ch; }
@media (max-width: 900px) {
  .mk-stats { grid-template-columns: 1fr 1fr; }
}



/* ===== v14: hero spaced like Sahova; full-width hero dashboard; Lucide icons; aligned stat cards ===== */
/* Hero: big headline, small muted line, small buttons, then air */
body.page-home .hero { padding-top: 150px; padding-bottom: 72px; }
.hero .wrap { max-width: 1440px; padding-left: 40px; padding-right: 40px; }
.hero-copy { max-width: 820px; }
.hero-copy .pill { margin-bottom: 30px; }
.hero-copy .h-display { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.07; letter-spacing: -.035em; }
.hero-copy .lede { font-size: 18px; line-height: 1.5; color: var(--muted); margin: 26px 0 26px; max-width: none; }
.hero .btn-row { gap: 10px; }
.hero .btn-row .btn { height: 36px; padding: 0 16px; font-size: 14px; }
.hero-stage { margin-top: 112px; }
@media (max-width: 900px) {
  body.page-home .hero { padding-top: 120px; padding-bottom: 56px; }
  .hero .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-stage { margin-top: 64px; }
  .hero-copy .lede { margin: 20px 0 22px; }
}

/* Sidebar: Lucide icons, optically centred with 13px text */
.mk-ic { display: block; width: 15px; height: 15px; stroke-width: 2; color: var(--muted); }
.mk-it { gap: 10px; }
.mk-it > span { line-height: 1; padding-top: 1px; }
.mk-it b { line-height: 1; padding-top: 1px; }
.mk-it.on .mk-ic { color: var(--ink); }

/* Stat cards: label, value and note sit on the same three lines in every card */
.mk-stat { display: grid; grid-template-rows: 16px 32px 16px; row-gap: 4px; padding: 12px 14px; }
.mk-stat .k { height: 16px; line-height: 16px; }
.mk-stat .k .mk-ic { width: 14px; height: 14px; color: var(--muted); }
.mk-stat b { margin: 0; height: 32px; display: flex; align-items: flex-end; font-size: 24px; line-height: 1; padding-bottom: 1px; }
.mk-stat small { margin: 0; height: 16px; line-height: 16px; }
.mk-stat--text b { font-size: 15px; font-weight: 500; line-height: 1.2; padding-bottom: 3px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 12px; }

/* Hero dashboard body: alerts on the left, deadlines and watchlist on the right */
.mk-cols--hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mk-cols--hero .mk-lbl:first-child { margin-top: 18px; }
.mk-cols--hero .mk-row { gap: 16px; }
.mk-cols--hero .mk-row-score { min-width: 80px; }
.hero-stage .mk-main { padding: 20px 32px 24px; }
.hero-stage .mk-side { padding: 18px 12px; }
@media (max-width: 900px) {
  .mk-cols--hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage .mk-main { padding: 18px 18px 22px; }
}
/* Hero rows: severity on one line, clock beneath it, so the place and tag line has room */
.mk-cols--hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.mk-cols--hero .mk-row-sev { flex-wrap: wrap; max-width: 160px; row-gap: 2px; }
.mk-cols--hero .mk-row-sev small { flex-basis: 100%; margin-left: 15px; }
.mk-cols--hero .mk-row-m { white-space: normal; overflow: visible; text-overflow: clip; }
/* Alert rows: fixed severity and score columns so every row lines up */
.mk-row { grid-template-columns: minmax(0, 1fr) 215px 110px; }
.mk-cols--hero .mk-row { grid-template-columns: minmax(0, 1fr) 150px 80px; }
.mk-lbl { align-items: center; line-height: 16px; min-height: 16px; }
@media (max-width: 900px) { .mk-row, .mk-cols--hero .mk-row { grid-template-columns: 1fr; } }
.mk-cols--hero .mk-row { grid-template-columns: minmax(0, 1fr) 140px 112px; gap: 14px; }
.mk-cols--hero .mk-row-sev { max-width: 140px; }
.mk-row-score small { white-space: nowrap; }
@media (max-width: 900px) { .mk-cols--hero .mk-row { grid-template-columns: 1fr; } }

/* ===== v15: WebGL hero backdrop (CSS blobs remain the fallback) ===== */
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-bg.is-gl .blob, .hero-bg.is-gl::after { display: none; }


/* ===== v16: dashboard emphasis. Colour marks meaning only; text stays in the grey scale ===== */
.mk-chip { width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; flex-shrink: 0; }
.mk-chip .mk-ic { width: 12px !important; height: 12px !important; }
.mk-chip--accent { background: var(--accent-soft); } .mk-chip--accent .mk-ic { color: var(--accent) !important; }
.mk-chip--ij { background: var(--ij-soft); } .mk-chip--ij .mk-ic { color: var(--ij) !important; }
.mk-chip--harm { background: var(--harm-soft); } .mk-chip--harm .mk-ic { color: var(--harm) !important; }
.mk-chip--ink { background: rgba(36,35,31,.07); } .mk-chip--ink .mk-ic { color: var(--ink-2) !important; }
.mk-stat .k { gap: 8px; height: 20px; line-height: 20px; }
.mk-stat { grid-template-rows: 20px 32px 16px; row-gap: 6px; }
.mk-stat--ij b { color: var(--ij); }
.mk-stat:not(.mk-stat--text) b { font-size: 28px; }

.mk-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1; }
.mk-pill--ij { background: var(--ij-soft); color: #a3331f; }
.mk-pill--harm { background: var(--harm-soft); color: #8a5a10; }
.mk-pill--info { background: var(--accent-soft); color: var(--accent-ink); }
.mk-pill--std { background: rgba(36,35,31,.06); color: var(--ink-2); }
.mk-row-sev { flex-direction: column; align-items: flex-start; gap: 4px; }
.mk-row-sev small { margin-left: 2px !important; flex-basis: auto !important; }
.mk-line .mk-pill { justify-self: end; }

.mk-row-score b { display: inline-flex; align-items: center; gap: 7px; justify-content: flex-end; font-size: 16px; }
.mk-score { width: 28px; height: 4px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden; display: inline-block; }
.mk-score::after { content: ""; position: absolute; inset: 0; width: var(--s); background: var(--accent); border-radius: 999px; }
.mk-row-score small { display: block; }

.mk-thead { display: grid; grid-template-columns: minmax(0, 1fr) 215px 110px; gap: 24px; padding: 2px 0 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }
.mk-thead span:last-child { text-align: right; }
.mk-thead + .mk-row { border-top: 0; }
.mk-cols--hero .mk-thead { grid-template-columns: minmax(0, 1fr) 140px 112px; gap: 14px; }
.mk-lbl > span { display: inline-flex; align-items: center; gap: 7px; }
.mk-lbl > span .mk-ic { width: 13px; height: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .mk-thead { display: none; }
  .mk-row-sev { flex-direction: row; align-items: center; gap: 8px; }
  .mk-row-score b { justify-content: flex-start; }
}


/* ===== v16: timeline sits a little right so the blank space either side evens out ===== */
@media (min-width: 801px) { .tl { left: clamp(0px, 3.2vw, 44px); } }

/* ===== v16: animated call-to-action background (the static glow is the fallback) ===== */
.cta-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; border-radius: inherit; }
.cta-band.is-gl::before { display: none; }
.cta-band > .cta-gl { position: absolute; }
.mk-src i { font-style: normal; }
.mk-cols--hero .mk-src { display: block; color: var(--faint); }
.mk-cols--hero .mk-src i { display: none; }
@media (max-width: 900px) {
  .mk-cols--hero { grid-template-columns: 1fr; gap: 8px; }
  .mk-cols--hero .mk-row { grid-template-columns: 1fr; }
}

/* Audience photo tiles: two-line label slot so both cards line up */
.duo-stats span { min-height: 2.7em; }

/* ===== v19: softer animated backdrop behind the product page hero ===== */
.page-hero--glow { position: relative; }
.page-hero--glow .wrap { position: relative; z-index: 1; }
.hero-bg--soft { top: -140px; height: 760px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 88%); mask-image: linear-gradient(to bottom, #000 30%, transparent 88%); }
.page-hero--glow + .section { position: relative; z-index: 1; }
@media (max-width: 700px) { .hero-bg--soft { top: -80px; height: 560px; } }

/* Product hero backdrop: a translucent veil in the page colour keeps it quiet */
.hero-bg.hero-bg--soft.is-gl::after { display: block; content: ""; position: absolute; inset: 0; background: rgba(246,246,243,.22); opacity: 1; }

/* ===== v22: product intro line follows the selected demo tab ===== */
.demo-lede { max-width: 60ch; }
.cap-stack { display: grid; }
.cap-stack > span { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.cap-stack > span.on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease .05s, transform .25s ease .05s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .cap-stack > span, .cap-stack > span.on { transition: none; transform: none; } }

/* ===== v23: demo tabs centred over the dashboard ===== */
.mock-tabs { justify-content: center; }

/* ===== v24: header links centred on the page, not between logo and buttons ===== */
@media (min-width: 1001px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .logo { justify-self: start; }
  .site-header .header-actions { justify-self: end; }
}

/* ===== v24: Features page intro centred to match the centred demo tabs ===== */
.page-hero--glow .wrap { text-align: center; }
.page-hero--glow .lede { margin-left: auto; margin-right: auto; }
.page-hero--glow .cap-stack { justify-items: center; }

/* ===== v25: Features page backdrop runs as a full-width band along the top ===== */
.hero-bg--soft { top: -60px; height: 640px; }

/* Features label stays legible over the darker band */
.page-hero--glow .eyebrow { color: var(--accent-ink); font-weight: 500; }

/* Audience tiles: the ribbed-glass photos are brighter, so the fade reaches higher to keep the labels legible */
.duo-tile::after { background: linear-gradient(to top, rgba(10,14,13,.9) 0%, rgba(10,14,13,.72) 42%, rgba(10,14,13,.3) 64%, rgba(10,14,13,0) 82%); }

/* ===== v28: Who it's for. Three columns, as in the first view. The active card grows to full height in its own
   column (nursing homes left, hospitals middle, staffing right) with its details beside it; upcoming cards peek up
   faintly at the bottom of their column; cards already shown drop away. Positions are set by JS. ===== */
.segx { padding: 8px 0 72px; --col: calc((100% - 32px) / 3); --peek: 46px; }
.seg-stage { position: relative; }
.scard { display: block; position: relative; overflow: hidden; border-radius: 18px; background: var(--dark); color: #fff; isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,14,13,.78) 0%, rgba(10,14,13,.35) 38%, rgba(10,14,13,0) 62%); }
.scard:hover img { transform: scale(1.03); }
.scard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.scard-txt { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.scard-txt b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; transition: font-size .5s ease; }
.scard-txt span { display: block; margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.scard-n { position: absolute; top: 14px; left: 14px; font-style: normal; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.seg-hint { display: none; }
.seg-inline { display: none; }

/* Pinned mode: wide and tall enough screens */
.segx.is-pinned .seg-stage { position: sticky; top: 88px; height: min(740px, calc(100vh - 112px)); overflow: hidden; border-radius: 18px; }
.segx.is-pinned .scard { position: absolute;
  transition: left .8s cubic-bezier(.22,.7,.2,1), top .8s cubic-bezier(.22,.7,.2,1), width .8s cubic-bezier(.22,.7,.2,1), height .8s cubic-bezier(.22,.7,.2,1), opacity .6s ease; }
.segx.is-pinned .scard.is-main .scard-txt b { font-size: 26px; }
.segx.is-pinned .scard.is-main .scard-n { opacity: 1; }
.segx.is-pinned .scard.is-peek { opacity: .38; }
.segx.is-pinned .scard.is-peek:hover { opacity: .6; }
.segx.is-pinned .scard.is-peek .scard-n { opacity: 1; }
.segx.is-pinned .scard.is-gone { opacity: 0; pointer-events: none; }
.segx.is-pinned .seg-hint { display: flex; position: absolute; left: 0; right: 0; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0; transition: opacity .3s ease; }
.segx.is-pinned .seg-hint span { animation: hintBob 1.6s ease-in-out infinite; }
@keyframes hintBob { 50% { transform: translateY(4px); } }
.segx.is-pinned[data-state]:not([data-state="0"]) .seg-hint { opacity: 0; pointer-events: none; }

/* Details beside the active card. Bottom inset keeps them clear of the peeking cards */
.segx.is-pinned .seg-panels { position: absolute; inset: 0; pointer-events: none; }
.segx.is-pinned .seg-panel { position: absolute; top: 0; bottom: calc(var(--peek) + 16px); opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.22,.7,.2,1), visibility 0s linear .45s; }
.segx.is-pinned .seg-panel.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .5s ease .25s, transform .7s cubic-bezier(.22,.7,.2,1) .2s, visibility 0s; }
.segx.is-pinned .seg-copy { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.segx.is-pinned .seg-panel[data-k="0"] { left: calc(var(--col) + 16px + 56px); right: 0; }          /* nursing homes: details to the right */
.segx.is-pinned .seg-panel[data-k="2"] { left: 0; right: calc(var(--col) + 16px + 56px); }          /* staffing: details to the left */
.segx.is-pinned .seg-panel[data-k="1"] { left: 0; right: 0; }                                        /* hospitals: details either side */
.segx.is-pinned .seg-panel[data-k="1"] .seg-copy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; align-items: center; }
.segx.is-pinned .seg-panel[data-k="1"] .seg-a { grid-column: 1; padding-right: 28px; }
.segx.is-pinned .seg-panel[data-k="1"] .seg-b { grid-column: 3; padding-left: 28px; }
.segx.is-pinned .seg-panel .h-section { font-size: clamp(30px, 3vw, 40px); }
.segx.is-pinned .seg-panel .lede { font-size: 16.5px; margin-top: 12px; }
.segx.is-pinned .seg-panel .stat-line { margin-top: 18px; }
.segx.is-pinned .seg-panel .seg-b { margin-top: 18px; }
.segx.is-pinned .seg-panel[data-k="1"] .seg-b { margin-top: 0; }
.segx.is-pinned .seg-panel .trig > div, .segx.is-pinned .seg-panel .vrow { padding-top: 9px; padding-bottom: 9px; }
.segx.is-pinned .seg-panel .btn-row { margin-top: 20px; }
.segx.is-pinned .seg-panel[data-k="1"] .h-section { font-size: clamp(28px, 2.6vw, 36px); }

/* Stacked mode: phones and short screens */
.segx:not(.is-pinned) .seg-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.segx:not(.is-pinned) .scard { aspect-ratio: 4 / 3; }
.segx:not(.is-pinned) .seg-panels { grid-column: 1 / -1; margin-top: 24px; }
.segx:not(.is-pinned) .seg-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.segx:not(.is-pinned) .seg-inline { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.segx:not(.is-pinned) .seg-b { margin-top: 18px; }
@media (max-width: 900px) {
  .segx:not(.is-pinned) .seg-stage { grid-template-columns: 1fr; gap: 10px; }
  .segx:not(.is-pinned) .scard { aspect-ratio: auto; height: 104px; }
  .segx:not(.is-pinned) .scard::after { background: linear-gradient(to right, rgba(10,14,13,.75), rgba(10,14,13,.3)); }
  .segx:not(.is-pinned) .scard-txt { top: 50%; bottom: auto; transform: translateY(-50%); }
  .segx:not(.is-pinned) .seg-panel { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
}

.vrows { margin-top: 0; border-top: 1px solid var(--line); }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vrow b { display: block; font-size: 16px; font-weight: 500; }
.vrow p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.vrow .codes { justify-content: flex-end; max-width: 240px; }
@media (max-width: 900px) { .vrow { grid-template-columns: 1fr; gap: 10px; } .vrow .codes { justify-content: flex-start; max-width: none; } }

@media (prefers-reduced-motion: reduce) {
  .segx.is-pinned .scard, .segx.is-pinned .seg-panel, .segx.is-pinned .seg-panel.is-on, .scard img { transition: none; }
  .segx.is-pinned .seg-hint span { animation: none; }
}
/* Shorter laptop screens: tighter spacing so every segment's details fit the pinned area */
@media (max-height: 800px) {
  .segx.is-pinned .seg-panel .h-section { font-size: 30px; }
  .segx.is-pinned .seg-panel .lede { font-size: 15.5px; margin-top: 8px; }
  .segx.is-pinned .seg-panel .stat-line { margin-top: 12px; }
  .segx.is-pinned .seg-panel .seg-b { margin-top: 12px; }
  .segx.is-pinned .seg-panel[data-k="1"] .seg-b { margin-top: 0; }
  .segx.is-pinned .seg-panel .trig > div, .segx.is-pinned .seg-panel .vrow { padding-top: 6px; padding-bottom: 6px; }
  .segx.is-pinned .seg-panel .btn-row { margin-top: 14px; }
}

/* ===== v29: nursing homes switch (alert triggers / who they call), vendor cards, peeks without labels ===== */
.segx.is-pinned .scard.is-peek .scard-n { opacity: 0; }
.seg-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); margin-bottom: 10px; }
.seg-switch button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-radius: 9px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.seg-switch button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,19,21,.08); }
.seg-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-panes { display: grid; }
.seg-panes > [data-pane] { grid-area: 1 / 1; }
.seg-panes > [hidden] { display: block; visibility: hidden; }   /* keep the taller pane's height so nothing jumps */
.callsx > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.callsx > div:last-child { border-bottom: 1px solid var(--line); }
.cx-what { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; flex-wrap: wrap; }
.cx-what .codes { gap: 4px; }
.cx-what .code { font-size: 11.5px; padding: 3px 6px; }
.cx-what .dot { box-shadow: none; width: 7px; height: 7px; }
.cx-who { font-size: 14px; color: var(--muted); }
.segx.is-pinned .callsx > div { padding-top: 8px; padding-bottom: 8px; }
.vcards2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vcard2 { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; }
.vcard2 b { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; }
.vcard2 p { margin: 6px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.vcard2-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.vcard2-foot .codes { gap: 4px; }
.vcard2-foot .code { font-size: 11.5px; padding: 4px 7px; }
@media (max-width: 900px) {
  .vcards2 { grid-template-columns: 1fr; }
  .callsx > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-height: 800px) {
  .segx.is-pinned .seg-panel .h-section { font-size: 28px; }
  .segx.is-pinned .seg-panel .eyebrow { margin-bottom: 6px; }
  .segx.is-pinned .seg-panel .stat-line { margin-top: 10px; }
  .segx.is-pinned .seg-panel .stat-line b { font-size: 26px; }
  .segx.is-pinned .seg-panel .trig > div, .segx.is-pinned .seg-panel .callsx > div { padding-top: 4px; padding-bottom: 4px; }
  .segx.is-pinned .seg-switch { margin-bottom: 6px; }
  .segx.is-pinned .seg-switch button { padding: 5px 10px; font-size: 13px; }
  .segx.is-pinned .vcard2 { padding: 12px 12px 10px; }
  .segx.is-pinned .vcard2 p { margin: 4px 0 10px; }
  .segx.is-pinned .vcard2-foot { padding-top: 8px; }
}

/* ===== v30: every segment centred. Active card in the centre column; previous card peeks at the top, next at the
   bottom. Intro, figures and call to action on the left; lists and cards on the right. ===== */
.segx.is-pinned .seg-panel[data-k] { left: 0; right: 0; top: 0; bottom: 0; }
.segx.is-pinned .seg-panel .seg-copy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; align-items: center; }
.segx.is-pinned .seg-panel .seg-a { grid-column: 1; padding-right: 28px; }
.segx.is-pinned .seg-panel .seg-b { grid-column: 3; padding-left: 28px; margin-top: 0; }
.segx.is-pinned .seg-panel .h-section { font-size: clamp(28px, 2.6vw, 36px); }
.segx.is-pinned .scard.is-peek .scard-txt { opacity: 0; }
.segx.is-pinned .scard .scard-txt { transition: opacity .3s ease; }
.segx.is-pinned .vcards2 { grid-template-columns: 1fr; gap: 10px; }
.segx.is-pinned .callsx > div { grid-template-columns: 1fr; gap: 2px; }
.segx.is-pinned .seg-switch { display: flex; width: 100%; }
.segx.is-pinned .seg-switch button { flex: 1; }
.segx:not(.is-pinned) .seg-a .btn-row { margin-bottom: 8px; }

/* ===== v31: slimmer neighbour cards; cards show the name only ===== */
.segx.is-pinned .scard.is-peek { opacity: .45; border-radius: 12px; }

/* ===== v32: ribbed images in the first view; the plain version fades in when a card becomes the main one ===== */
.scard .scard-plain { opacity: 0; transition: opacity .7s ease; }
.segx.is-pinned .scard.is-main .scard-plain { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .scard .scard-plain { transition: none; } }

/* ===== v33: figures stacked, more room above the buttons, list panels on the right ===== */
.segx.is-pinned .seg-panel .stat-line { flex-direction: column; gap: 12px; }
.segx .seg-a .btn-row { margin-top: 28px; }
.seg-panel[data-k="0"] .seg-b, .seg-panel[data-k="1"] .seg-b { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 6px; box-shadow: 0 1px 2px rgba(17,19,21,.04), 0 10px 30px -18px rgba(17,19,21,.18); }
.segx.is-pinned .seg-panel[data-k="0"] .seg-b, .segx.is-pinned .seg-panel[data-k="1"] .seg-b { margin-left: 28px; padding-left: 18px; }
.seg-b-k { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg-b .seg-switch { display: flex; width: 100%; margin-bottom: 6px; }
.seg-b .seg-switch button { flex: 1; }
.seg-b .trig { border-top: 0; margin-top: 0; }
.seg-b .trig > div { grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 11px 0; font-size: 14px; color: var(--ink-2); line-height: 1.4; border-bottom: 1px solid var(--line); }
.seg-b .trig > div:last-child, .seg-b .callsx > div:last-child { border-bottom: 0; }
.seg-b .trig .sev { font-size: 12px; padding: 4px 10px; }
.seg-b .callsx > div { border-top: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
.seg-b .cx-what { font-size: 14px; }
.seg-b .cx-who { font-size: 13.5px; padding-left: 17px; }
@media (max-height: 800px) {
  .segx .seg-a .btn-row { margin-top: 20px; }
  .segx.is-pinned .seg-panel .stat-line { gap: 8px; }
  .segx.is-pinned .seg-b .trig > div, .segx.is-pinned .seg-b .callsx > div { padding-top: 6px; padding-bottom: 6px; }
  .segx.is-pinned .seg-panel[data-k="0"] .seg-b, .segx.is-pinned .seg-panel[data-k="1"] .seg-b { padding-top: 12px; padding-bottom: 4px; }
}
.seg-b .trig > div { grid-template-columns: 112px minmax(0, 1fr); }
.seg-b .seg-switch button { white-space: nowrap; }

/* ===== v34: card sentences in the first view only; roomier left side; the nursing homes panel sizes to the visible list ===== */
.segx.is-pinned .scard-txt span { transition: opacity .3s ease, max-height .4s ease, margin .4s ease; max-height: 40px; }
.segx.is-pinned .scard.is-main .scard-txt span, .segx.is-pinned .scard.is-peek .scard-txt span { opacity: 0; max-height: 0; margin-top: 0; }
.segx.is-pinned .seg-panel .stat-line { gap: 18px; margin-top: 22px; }
.segx .seg-a .btn-row { margin-top: 36px; }
.seg-panes > [hidden] { display: none; }
@media (max-height: 800px) {
  .segx.is-pinned .seg-panel .stat-line { gap: 12px; margin-top: 14px; }
  .segx .seg-a .btn-row { margin-top: 24px; }
}

/* ===== v37: pricing. Tabs sit closer to the plans; coverage help is a link to an FAQ question; comparison in collapsible groups ===== */
.pricing-controls { margin-bottom: 22px; align-items: center; }
.cov-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cov-help { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.cov-help:hover { color: var(--ink); text-decoration-color: var(--ink); }
.faq .a .chooser { margin-top: 14px; border: 0; padding: 0; background: transparent; }
#coverage-help { scroll-margin-top: 96px; }

.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.cmp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cmp-all { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.cmp-all:hover { border-color: var(--ink); color: var(--ink); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 150px); align-items: center; }
.cmp-head { position: sticky; top: 58px; z-index: 2; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.cmp-head > span { padding: 14px 12px; text-align: center; }
.cmp-head > span.is-pro { color: var(--accent-ink); background: rgba(14,124,102,.06); }
.cmp-grp { border-bottom: 1px solid var(--line); }
.cmp-grp:last-child { border-bottom: 0; }
.cmp-grp summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; transition: background .15s ease; }
.cmp-grp summary::-webkit-details-marker { display: none; }
.cmp-grp summary:hover { background: #fbfbf9; }
.cmp-grp summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.cmp-g { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cmp-g b { font-size: 16px; font-weight: 500; color: var(--ink); }
.cmp-g small { font-size: 13px; color: var(--muted); }
.cmp-n { font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.cmp-grp summary i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex-shrink: 0; transition: transform .2s ease; }
.cmp-grp summary i::before { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: translate(-50%, -50%) rotate(45deg); }
.cmp-grp[open] summary i { transform: rotate(180deg); }
.cmp-rows { padding: 0 0 8px; }
.cmp-row { border-top: 1px solid var(--line); font-size: 14.5px; transition: background .15s ease; }
.cmp-row:hover { background: #fbfbf9; }
.cmp-f { padding: 12px 20px; color: var(--ink-2); line-height: 1.45; }
.cmp-v { display: grid; place-items: center; align-self: stretch; padding: 12px; }
.cmp-v.is-pro { background: rgba(14,124,102,.04); }
.cmp-y { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); position: relative; }
.cmp-y::after { content: ""; position: absolute; left: 50%; top: 45%; width: 5px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translate(-50%, -50%) rotate(45deg); }
.cmp-x { width: 12px; height: 2px; border-radius: 2px; background: var(--line-2); }
.cmp-t { font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }

@media (max-width: 760px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 16px 14px; }
  .cmp-f { grid-column: 1 / -1; padding: 0 0 10px; }
  .cmp-v { padding: 4px 0 0; gap: 5px; }
  .cmp-v::before { content: attr(data-l); font-size: 11.5px; color: var(--muted); }
  .cmp-v.is-pro { background: transparent; }
  .cmp-grp summary { padding: 14px 16px; }
  .cmp-bar { padding: 12px 16px; }
}

/* ===== v38: slimmer comparison groups with prices in the pinned header; a touch of colour on Enterprise; a light travelling around the featured plan ===== */
.cmp-head > span { padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.cmp-head small { font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.cmp-head .is-pro small { color: var(--accent-ink); opacity: .8; }
.cmp-grp summary { padding: 10px 20px; gap: 12px; }
.cmp-g { flex-direction: row; align-items: baseline; gap: 10px; }
.cmp-g b { font-size: 15px; }
.cmp-g small { font-size: 13px; }
.cmp-n { font-size: 12px; padding: 2px 9px; }
.cmp-grp summary i { width: 24px; height: 24px; }
.cmp-grp summary i::before { width: 6px; height: 6px; }
.cmp-grp[open] summary { border-bottom: 0; }
.cmp { overflow: clip; }
@media (max-width: 760px) { .cmp-g { flex-direction: column; gap: 1px; } }

.enterprise { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 160% at 100% 0%, rgba(14,124,102,.55) 0%, rgba(14,124,102,.18) 38%, rgba(14,124,102,0) 62%),
              radial-gradient(80% 120% at 0% 100%, rgba(140,205,186,.10) 0%, rgba(140,205,186,0) 60%), var(--dark); }

@media (max-width: 760px) { .cmp-g small { display: none; } .cmp-grp summary { padding: 11px 16px; } }

/* ===== v39: featured plan carries a small version of the landing backdrop; comparison group headers read as headers ===== */
.plan-bg { top: 0; left: 0; right: 0; bottom: 0; height: auto; border-radius: inherit; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 62%); mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 62%); }
.plan.is-featured > :not(.plan-bg):not(.flag) { position: relative; z-index: 1; }
.plan.is-featured .flag { z-index: 2; }

.cmp-grp summary { background: #faf9f6; }
.cmp-grp summary:hover { background: #f5f4ef; }
.cmp-g b { font-weight: 600; letter-spacing: -.005em; }
.cmp-grp summary i { background: #fff; }
.cmp-n { background: #fff; border: 1px solid var(--line); }
.plan-bg { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 12%, transparent 46%); mask-image: linear-gradient(to bottom, #000 0%, #000 12%, transparent 46%); }
.plan.is-featured .for { color: var(--ink-2); }
.plan-bg { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 16%, transparent 54%); mask-image: linear-gradient(to bottom, #000 0%, #000 16%, transparent 54%); }
/* Professional card backdrop reaches most of the card */
.plan-bg { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 92%); }
.plan.is-featured .price-note, .plan.is-featured .price span { color: var(--ink-2); }

/* ===== v40: request access as a four-step form ending in a booking calendar ===== */
.rq { padding: 26px 28px 24px; }
.rq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rq-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.rq-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted); background: #fff; flex-shrink: 0; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.rq-steps li.is-on { color: var(--ink); font-weight: 500; }
.rq-steps li.is-on i { background: var(--ink); border-color: var(--ink); color: #fff; }
.rq-steps li.is-done { color: var(--muted); }
.rq-steps li.is-done i { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-ink); }
.rq-bar { height: 3px; border-radius: 3px; background: var(--line); margin: 14px 0 0; overflow: hidden; }
.rq-bar span { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 3px; transition: width .35s ease; }
.rq-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rq-step { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.rq-step.is-on { animation: rqIn .35s ease; }
@keyframes rqIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rq-title { font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; padding: 0; }
.rq-founding { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400 !important; }
.rq-founding input { width: auto; margin-top: 3px; accent-color: var(--accent); }
.rq-error { margin: 16px 0 0; font-size: 14px; color: var(--ij); }
.rq-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.rq-nav [data-rq-next], .rq-nav [data-rq-submit] { margin-left: auto; }
.rq-nav .form-note { margin: 0; }

.cal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 15px; font-weight: 500; }
.cal-nav { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font-size: 17px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-w { font-size: 11.5px; color: var(--faint); text-align: center; padding-bottom: 4px; }
.cal-d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 14px; font-variant-numeric: tabular-nums; border: 0; background: transparent; font-family: inherit; }
.cal-d.is-closed { color: var(--line-2); }
.cal-d.is-full { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(154,158,165,.6); background: repeating-linear-gradient(135deg, rgba(17,19,21,.035) 0 4px, transparent 4px 8px); }
.cal-d.is-open { color: var(--accent-ink); background: var(--accent-soft); font-weight: 500; cursor: pointer; transition: background .15s ease, color .15s ease; }
.cal-d.is-open:hover { background: #cfe8df; }
.cal-d.is-picked { background: var(--accent); color: #fff; }
.cal-d.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-d:focus-visible, .cal-s:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cal-key { display: flex; gap: 16px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.cal-key span { display: inline-flex; align-items: center; gap: 6px; }
.cal-key i { width: 12px; height: 12px; border-radius: 4px; }
.cal-key .k-open { background: var(--accent-soft); }
.cal-key .k-full { background: repeating-linear-gradient(135deg, rgba(17,19,21,.12) 0 2px, transparent 2px 4px); border: 1px solid var(--line); }
.cal-slots { border-left: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.cal-day { font-size: 15px; font-weight: 500; margin: 4px 0 2px; }
.cal-tz { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
.cal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; max-height: 300px; overflow-y: auto; padding-right: 2px; }
.cal-s { height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.cal-s:hover { border-color: var(--accent); color: var(--accent-ink); }
.cal-s:disabled { color: var(--faint); text-decoration: line-through; background: #fbfbf9; border-color: var(--line); cursor: default; }
.cal-s.is-picked { background: var(--accent); border-color: var(--accent); color: #fff; }
.cal-picked { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; }
.cal-picked b { font-weight: 500; }
.form-success p b { font-weight: 500; }
@media (max-width: 700px) {
  .rq { padding: 20px 18px; }
  .rq-steps span { display: none; }
  .rq-steps { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .cal { grid-template-columns: 1fr; }
  .cal-slots { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .cal-list { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .rq-nav .form-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rq-step.is-on { animation: none; } .rq-bar span { transition: none; } }
.cal-d { position: relative; }
.cal-d small { position: absolute; top: 2px; left: 0; right: 0; text-align: center; font-size: 9.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-decoration: none; }
.cal-d.is-picked small { color: rgba(255,255,255,.85); }
.cal-d.is-open small { color: var(--accent-ink); }
.rq [hidden], .form-success[hidden] { display: none !important; }

/* ===== v41: quieter stepper; form fields and dropdowns in the site's rounded style ===== */
.rq-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rq-meta { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.rq-count { position: static; width: auto; height: auto; overflow: visible; clip: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.rq-name { color: var(--ink); font-weight: 500; }
.rq-segs { display: grid; grid-template-columns: repeat(4, 28px); gap: 5px; }
.rq-segs i { height: 3px; border-radius: 3px; background: var(--line); transition: background .3s ease; }
.rq-segs i.is-done, .rq-segs i.is-on { background: var(--accent); }
.rq-step { margin-top: 22px; }
.rq-title { font-size: 21px; margin-bottom: 20px; }

.rq .field label { font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }
.rq .field input, .rq .field select, .rq .field textarea { border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 11px 14px; font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.rq .field input, .rq .field select { height: 46px; }
.rq .field input::placeholder, .rq .field textarea::placeholder { color: var(--faint); }
.rq .field input:hover, .rq .field select:hover, .rq .field textarea:hover { border-color: #bdb9ad; }
.rq .field input:focus, .rq .field select:focus, .rq .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.rq .field select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4842' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; }
.rq .field select:invalid, .rq .field select option[value=""] { color: var(--faint); }
.rq .field select option { color: var(--ink); }

/* Browsers that support a styleable dropdown list (Chrome and Edge 135+) get a rounded panel */
@supports (appearance: base-select) {
  .rq .field select, .rq .field select::picker(select) { appearance: base-select; }
  .rq .field select { display: flex; align-items: center; }
  .rq .field select::picker-icon { display: none; }
  .rq .field select::picker(select) { border: 1px solid var(--line); border-radius: 14px; padding: 6px; margin-top: 6px; background: #fff; box-shadow: 0 1px 2px rgba(17,19,21,.05), 0 18px 40px -12px rgba(17,19,21,.22); }
  .rq .field select option { padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
  .rq .field select option:hover, .rq .field select option:focus-visible { background: var(--bg); color: var(--ink); outline: none; }
  .rq .field select option:checked { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
  .rq .field select option::checkmark { display: none; }
  .rq .field select option[value=""] { color: var(--faint); }
}
@media (max-width: 700px) { .rq-progress { flex-direction: column; align-items: flex-start; gap: 10px; } .rq-segs { grid-template-columns: repeat(4, 1fr); width: 100%; } }

/* ===== v42: request form polish. Tile checkboxes, calmer navigation, error and success states, calendar refinements ===== */
.rq .field label small { color: var(--faint); font-weight: 400; }
.rq .field textarea { min-height: 92px; line-height: 1.5; }
.rq .form-grid { gap: 18px 16px; }

/* checkbox tiles */
.rq .checks { gap: 8px; }
.rq .checks label, .rq .rq-founding { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 400; line-height: 1.35; color: var(--ink-2); cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; margin: 0; }
.rq .checks label:hover, .rq .rq-founding:hover { border-color: #bdb9ad; }
.rq .checks input, .rq .rq-founding input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.rq .checks input::after, .rq .rq-founding input::after { content: ""; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(45deg) scale(0); transition: transform .15s ease; }
.rq .checks input:checked, .rq .rq-founding input:checked { background: var(--accent); border-color: var(--accent); }
.rq .checks input:checked::after, .rq .rq-founding input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.rq .checks label:has(input:checked), .rq .rq-founding:has(input:checked) { border-color: rgba(14,124,102,.45); background: #f3f9f6; color: var(--ink); }
.rq .checks input:focus-visible, .rq .rq-founding input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rq .rq-founding { align-items: flex-start; }
.rq .rq-founding input { margin-top: 1px; }

/* navigation */
.rq-back { border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 4px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.rq-back:hover { color: var(--ink); }
.rq-nav .btn span { margin-left: 2px; transition: transform .15s ease; }
.rq-nav .btn:hover span { transform: translateX(2px); }
.rq-error { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--ij-soft); color: #a3331f; font-size: 14px; }
.rq-error::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--ij); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }

/* calendar: unavailable days, grouped times with a slim scroll */
.cal-d.is-off { color: var(--line-2); text-decoration: none; background: transparent; }
.cal-d.is-off small { color: var(--line-2); }
.cal-key .k-off { background: transparent; border: 1px solid var(--line-2); }
.cal-list { display: block; max-height: 292px; overflow-y: auto; padding: 0 6px 2px 0; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cal-list::-webkit-scrollbar { width: 6px; }
.cal-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.cal-list::-webkit-scrollbar-track { background: transparent; }
.cal-list.fade-b { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.cal-list.fade-t { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
.cal-list.fade-t.fade-b { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); }
.cal-g { margin: 12px 0 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.cal-g:first-child { margin-top: 0; }
.cal-sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cal-s { height: 40px; border-radius: 11px; }
.cal-empty { margin: 8px 0 0; font-size: 13.5px; color: var(--faint); }

/* side card badge and success */
.form-layout aside .badge { display: inline-block; margin-bottom: 12px; }
.form-success { position: relative; }
.ok-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.ok-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 700px) {
  .cal-list { max-height: none; overflow: visible; padding-right: 0; }
  .cal-list.fade-b, .cal-list.fade-t { -webkit-mask-image: none; mask-image: none; }
  .cal-sgrid { grid-template-columns: repeat(3, 1fr); }
}
.form-layout aside .badge { font-size: 12.5px; font-weight: 500; background: var(--accent-soft); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; }

/* ===== v43: compact chip checkboxes; month headings in the calendar; time zone picker ===== */
.rq .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.rq .checks label { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--ink-2); cursor: pointer; user-select: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.rq .checks label:hover { border-color: #b9b5a9; color: var(--ink); }
.rq .checks input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rq .checks label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.rq .checks label:has(input:checked)::before { content: ""; width: 9px; height: 5px; border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: translateY(-1.5px) rotate(-45deg); flex-shrink: 0; }
.rq .checks label:has(input:checked):hover { background: #000; }
.rq .checks label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rq .field > label small { margin-left: 6px; }

.rq .rq-founding { border: 0; background: none !important; padding: 2px 0; gap: 10px; color: var(--ink-2); }
.rq .rq-founding input { border-radius: 5px; }
.rq .rq-founding input:checked { background: var(--ink); border-color: var(--ink); }

.cal-m { grid-column: 1 / -1; margin: 12px 0 4px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.cal-grid > .cal-w + .cal-w + .cal-w + .cal-w + .cal-w + .cal-w + .cal-w + .cal-m { margin-top: 4px; }
.cal-grid { row-gap: 5px; }
.cal-d small { display: none; }

.cal-tz { margin-bottom: 10px; }
.cal-tzpick { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.cal-tzpick select { flex: 1; min-width: 0; height: 34px; padding: 0 30px 0 11px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4842' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 11px; }
.cal-tzpick select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@supports (appearance: base-select) {
  .cal-tzpick select, .cal-tzpick select::picker(select) { appearance: base-select; }
  .cal-tzpick select { display: flex; align-items: center; }
  .cal-tzpick select::picker-icon { display: none; }
  .cal-tzpick select::picker(select) { border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-top: 4px; background: #fff; box-shadow: 0 1px 2px rgba(17,19,21,.05), 0 18px 40px -12px rgba(17,19,21,.22); }
  .cal-tzpick select option { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); }
  .cal-tzpick select option:hover { background: var(--bg); color: var(--ink); }
  .cal-tzpick select option:checked { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
  .cal-tzpick select option::checkmark { display: none; }
}
.cal-picked span { color: var(--muted); margin-left: 6px; }
.cal-picked span::before { content: "·"; margin-right: 6px; }

/* ===== v44: clearer Founding Member option; time zone at the top of the times; taller time list; booked-out times ===== */
.rq .rq-founding { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px !important; border: 1px solid var(--line-2) !important; border-radius: 14px; background: #fff !important; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.rq .rq-founding:hover { border-color: #b9b5a9 !important; }
.rq .rq-founding:has(input:checked) { border-color: rgba(14,124,102,.4) !important; background: #f4f9f7 !important; }
.rq .rq-founding input { width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; }
.rq .rq-founding input:checked { background: var(--accent); border-color: var(--accent); }
.rq .rq-founding > span { display: flex; flex-direction: column; gap: 3px; }
.rq .rq-founding b { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.rq .rq-founding small { font-size: 13px; color: var(--muted); line-height: 1.4; }

.cal-tzpick { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cal-day { margin: 0 0 10px; }
.cal-tz { display: none; }
.cal-list { max-height: 372px; }
.cal-list.fade-b { -webkit-mask-image: linear-gradient(to bottom, #000 91%, transparent); mask-image: linear-gradient(to bottom, #000 91%, transparent); }
.cal-list.fade-t { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%); mask-image: linear-gradient(to bottom, transparent, #000 9%); }
.cal-list.fade-t.fade-b { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); }
.cal-s.is-booked { color: var(--faint); background: #f7f6f2; border-color: var(--line); text-decoration: line-through; text-decoration-color: rgba(154,158,165,.7); cursor: not-allowed; }
.cal-s.is-booked:hover { border-color: var(--line); color: var(--faint); }

/* ===== v45: Founding Member checkbox rebuilt on the shadcn/ui pattern: 18px square, 5px corners, thin border, filled with an icon tick ===== */
.rq .field .rq-founding { grid-template-columns: 18px minmax(0, 1fr); }
.rq .field .rq-founding input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; display: block;
  width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 2px 0 0;
  border: 1.5px solid #b9b5a9; border-radius: 5px; background: #fff no-repeat center / 12px 12px; box-shadow: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.rq .field .rq-founding input[type="checkbox"]::after { content: none; display: none; }
.rq .field .rq-founding input[type="checkbox"]:hover { border-color: var(--ink-2); }
.rq .field .rq-founding input[type="checkbox"]:focus { box-shadow: none; outline: none; }
.rq .field .rq-founding input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rq .field .rq-founding input[type="checkbox"]:checked { background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>"); }
.rq .field .rq-founding small { margin-left: 0; }

/* ===== v46: SurveyNotice wordmark in the header and footer ===== */
.logo { gap: 0; line-height: 0; }
.logo-img { display: block; height: 30px; width: auto; }
.site-footer .logo-img { height: 32px; }
@media (max-width: 700px) { .logo-img { height: 26px; } }

/* ===== v47: landing page motion. Bars fill, timeline draws, plans rise on scroll; clearer photo tiles on hover ===== */
/* bars fill from the left */
.rv .bar i, .rv .mk-score::after { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rv.is-in .bar i, .rv.is-in .mk-score::after { transform: none; }
.rv .due + .due .bar i { transition-delay: .15s; }
.hero-stage.rv .mk-score::after { transition-delay: .7s; }
.hero-stage.rv .mk-row:nth-child(3) .mk-score::after { transition-delay: .82s; }
.hero-stage.rv .mk-row:nth-child(4) .mk-score::after { transition-delay: .94s; }
.hero-stage.rv .mk-row:nth-child(5) .mk-score::after { transition-delay: 1.06s; }

/* timeline: the line draws, then each stop pops in and its text rises, then the head-start bar fills */
.tl.rv .tl-track { transform: scaleX(0); transform-origin: left center; transition: transform 1.5s cubic-bezier(.3,.6,.2,1); }
.tl.rv .tl-steps::before { transform: scaleY(0); transform-origin: top center; transition: transform 1.5s cubic-bezier(.3,.6,.2,1); }
.tl.rv .tl-dot { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.tl.rv .tl-step > :not(.tl-dot) { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.tl.rv .tl-gap { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .9s cubic-bezier(.3,.6,.2,1) 1.35s; }
.tl.rv .tl-gap em { opacity: 0; transform: translate(-50%, 6px); transition: opacity .5s ease 1.9s, transform .5s ease 1.9s; }
.tl.rv.is-in .tl-track, .tl.rv.is-in .tl-steps::before { transform: none; }
.tl.rv.is-in .tl-dot { transform: none; }
.tl.rv.is-in .tl-step > :not(.tl-dot) { opacity: 1; transform: none; }
.tl.rv.is-in .tl-gap { background-size: 100% 100%; }
.tl.rv.is-in .tl-gap em { opacity: 1; transform: translate(-50%, 0); }
.tl.rv .tl-step:nth-child(1) .tl-dot { transition-delay: .25s; } .tl.rv .tl-step:nth-child(1) > :not(.tl-dot) { transition-delay: .35s; }
.tl.rv .tl-step:nth-child(2) .tl-dot { transition-delay: .55s; } .tl.rv .tl-step:nth-child(2) > :not(.tl-dot) { transition-delay: .65s; }
.tl.rv .tl-step:nth-child(3) .tl-dot { transition-delay: .85s; } .tl.rv .tl-step:nth-child(3) > :not(.tl-dot) { transition-delay: .95s; }
.tl.rv .tl-step:nth-child(4) .tl-dot { transition-delay: 1.15s; } .tl.rv .tl-step:nth-child(4) > :not(.tl-dot) { transition-delay: 1.25s; }
/* the "we alert you" stop keeps a soft pulse once it has appeared */
.tl.rv.is-in .tl-step.is-us .tl-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: tlPulse 2.6s ease-out 2.2s infinite; opacity: 0; }
@keyframes tlPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* landing page plans: rise in on scroll; a subtle lift on hover */
.page-home .plans.rv .plan { opacity: 0; transform: translateY(22px); }
.page-home .plans .plan { transition: opacity .6s ease var(--d, 0s), transform .75s cubic-bezier(.2,.7,.2,1) var(--d, 0s), translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.page-home .plans.rv.is-in .plan { opacity: 1; transform: none; }
.page-home .plans .plan:nth-child(2) { --d: .1s; } .page-home .plans .plan:nth-child(3) { --d: .2s; }
.page-home .plans .plan:hover { translate: 0 -4px; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(17,19,21,.04), 0 20px 40px -20px rgba(17,19,21,.25); }
.page-home .plans .plan.is-featured:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 40px -20px rgba(14,124,102,.35); }

/* photo tiles: a soft dark veil comes over the photo so the text reads clearly (replaces the zoom) */
.duo-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,14,13,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease; }
.duo-tile:hover::before, .duo-tile:focus-visible::before { background: rgba(10,14,13,.46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.duo-tile:hover img { transform: none; }
.duo-body { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.duo-tile:hover .duo-body, .duo-tile:focus-visible .duo-body { transform: translateY(-6px); }
.duo-stats span { transition: color .3s ease; }
.duo-tile:hover .duo-stats span { color: rgba(255,255,255,.92); }
.duo-link { transition: background .25s ease, color .25s ease; }
.duo-tile:hover .duo-link { background: var(--accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .duo-tile::before, .duo-body, .page-home .plans .plan { transition: none; }
  .duo-tile:hover .duo-body { transform: none; }
  .tl-step.is-us .tl-dot::after { animation: none; }
}

/* ===== v48: optional landing animations. Each is switched on by a name on the <html> element (see index.html <head>).
   Start states only apply once the script has marked an element (.rv), so nothing can get stuck hidden. ===== */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* anim-hero-intro */
.anim-hero-intro .hero-copy > * { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) both; }
.anim-hero-intro .hero-copy > :nth-child(1) { animation-delay: .05s; }
.anim-hero-intro .hero-copy > :nth-child(2) { animation-delay: .13s; }
.anim-hero-intro .hero-copy > :nth-child(3) { animation-delay: .23s; }
.anim-hero-intro .hero-copy > :nth-child(4) { animation-delay: .33s; }
.anim-hero-intro .hero-stage { animation: riseIn .9s cubic-bezier(.2,.7,.2,1) .42s both; }

/* anim-headings */
.anim-headings .rv-head.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--hd, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--hd, 0s); }
.anim-headings .rv-head.rv.is-in { opacity: 1; transform: none; }

/* anim-steps */
.anim-steps .steps.rv .step { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.anim-steps .steps.rv.is-in .step { opacity: 1; transform: none; }
.anim-steps .steps.rv .step:nth-child(2) { transition-delay: .1s; }
.anim-steps .steps.rv .step:nth-child(3) { transition-delay: .2s; }
.anim-steps .steps.rv .bar i { transition-delay: .4s; }
.anim-steps .steps.rv .due + .due .bar i { transition-delay: .55s; }
.anim-steps .callout.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim-steps .callout.rv.is-in { opacity: 1; transform: none; }

/* anim-chips */
.anim-chips .steps.rv .states span { display: inline-block; opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .45s cubic-bezier(.3,1.5,.5,1); }
.anim-chips .steps.rv.is-in .states span { opacity: 1; transform: none; }
.anim-chips .steps.rv .states span:nth-child(1) { transition-delay: .35s; }
.anim-chips .steps.rv .states span:nth-child(2) { transition-delay: .43s; }
.anim-chips .steps.rv .states span:nth-child(3) { transition-delay: .51s; }
.anim-chips .steps.rv .states span:nth-child(4) { transition-delay: .59s; }

/* anim-tiles */
.anim-tiles .duo.rv .duo-tile { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1); }
.anim-tiles .duo.rv.is-in .duo-tile { opacity: 1; translate: 0 0; }
.anim-tiles .duo.rv .duo-tile:nth-child(2) { transition-delay: .12s; }

/* anim-cta */
.anim-cta .cta-band.rv { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.anim-cta .cta-band.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim-hero-intro .hero-copy > *, .anim-hero-intro .hero-stage { animation: none; }
}

/* ===== v49: map details pin on click ===== */
.covmap-detail { transition: border-color .25s ease, box-shadow .25s ease; }
.covmap-detail.is-pinned { border-color: rgba(14,124,102,.45); box-shadow: 0 0 0 3px var(--accent-soft); }
.covmap-detail.is-flash { animation: cdFlash .9s ease; }
@keyframes cdFlash { 0% { box-shadow: 0 0 0 0 rgba(14,124,102,.35); } 60% { box-shadow: 0 0 0 7px rgba(14,124,102,.12); } 100% { box-shadow: 0 0 0 3px var(--accent-soft); } }
.cd-pin { display: flex; justify-content: space-between; align-items: center; margin: -2px 0 8px; font-size: 12px; font-weight: 500; color: var(--accent-ink); }
.cd-clear { border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.cd-clear:hover { color: var(--ink); background: var(--bg); }

/* ===== v49: optional Features page animations (switched on from product.html <head>) ===== */
/* anim-hero-intro on the Features page */
.anim-hero-intro .page-hero--glow .wrap > * { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) both; }
.anim-hero-intro .page-hero--glow .wrap > :nth-child(1) { animation-delay: .05s; }
.anim-hero-intro .page-hero--glow .wrap > :nth-child(2) { animation-delay: .13s; }
.anim-hero-intro .page-hero--glow .wrap > :nth-child(3) { animation-delay: .23s; }
.anim-hero-intro #demo .mock-tabs { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) .33s both; }
.anim-hero-intro #demo #demo-mock { animation: riseIn .9s cubic-bezier(.2,.7,.2,1) .43s both; }

/* anim-demo-switch: each new demo screen eases its content in */
@keyframes demoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.anim-demo-switch #demo-mock .mk-main > * { animation: demoIn .45s cubic-bezier(.2,.7,.2,1) both; }
.anim-demo-switch #demo-mock .mk-main > :nth-child(2) { animation-delay: .04s; }
.anim-demo-switch #demo-mock .mk-main > :nth-child(3) { animation-delay: .08s; }
.anim-demo-switch #demo-mock .mk-main > :nth-child(4) { animation-delay: .12s; }
.anim-demo-switch #demo-mock .mk-main > :nth-child(n+5) { animation-delay: .16s; }

/* anim-map: states fill in west to east, then the legend and details rise */
.anim-map .covmap.rv:not(.rv-done) .usmap [data-st] { transition: opacity .5s ease var(--sd, 0s), filter .15s ease; }
.anim-map .covmap.rv:not(.is-in) .usmap [data-st] { opacity: 0; }
.anim-map .covmap.rv .covmap-foot { transition: opacity .6s ease 1s, transform .7s cubic-bezier(.2,.7,.2,1) 1s; }
.anim-map .covmap.rv:not(.is-in) .covmap-foot { opacity: 0; transform: translateY(10px); }

/* anim-notes */
.anim-notes .grid--3.rv .card { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim-notes .grid--3.rv.is-in .card { opacity: 1; transform: none; }
.anim-notes .grid--3.rv .card:nth-child(2) { transition-delay: .1s; }
.anim-notes .grid--3.rv .card:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .anim-hero-intro .page-hero--glow .wrap > *, .anim-hero-intro #demo .mock-tabs, .anim-hero-intro #demo #demo-mock, .anim-demo-switch #demo-mock .mk-main > * { animation: none; }
  .covmap-detail.is-flash { animation: none; }
}

/* ===== v50: coverage notes lift slightly on hover (uses translate so it doesn't fight the scroll-in) ===== */
#coverage .grid--3 .card { transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1), translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
#coverage .grid--3 .card:hover { translate: 0 -4px; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(17,19,21,.04), 0 18px 36px -20px rgba(17,19,21,.25); }
@media (prefers-reduced-motion: reduce) { #coverage .grid--3 .card:hover { translate: none; } }
/* keep the scroll-in stagger (opacity, transform) while the hover (translate, shadow, border) stays instant */
#coverage .grid--3 .card:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s, 0s; }
#coverage .grid--3 .card:nth-child(3) { transition-delay: .2s, .2s, 0s, 0s, 0s; }

/* ===== v51: Who it's for. Light touches around the scroll sequence ===== */
/* anim-hero-intro on plain page heroes */
.anim-hero-intro .page-hero:not(.page-hero--glow) .wrap > * { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) both; }
.anim-hero-intro .page-hero:not(.page-hero--glow) .wrap > :nth-child(2) { animation-delay: .1s; }
/* anim-cards-intro: "backwards" fill only, so once it ends the sequence's own states (faint slivers, hidden cards) take over */
.anim-cards-intro .segx .scard { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) backwards; }
.anim-cards-intro .segx .scard:nth-of-type(1) { animation-delay: .22s; }
.anim-cards-intro .segx .scard:nth-of-type(2) { animation-delay: .32s; }
.anim-cards-intro .segx .scard:nth-of-type(3) { animation-delay: .42s; }
.anim-cards-intro .segx .seg-hint { animation: riseIn .7s ease .75s backwards; }
/* vendor cards: subtle lift on hover (always on) */
.vcard2 { transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vcard2:hover { translate: 0 -3px; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(17,19,21,.04), 0 14px 30px -18px rgba(17,19,21,.25); }
@media (prefers-reduced-motion: reduce) {
  .anim-hero-intro .page-hero .wrap > *, .anim-cards-intro .segx .scard, .anim-cards-intro .segx .seg-hint { animation: none; }
  .vcard2:hover { translate: none; }
}

/* ===== v52: optional Pricing page animations (switched on from pricing.html <head>) ===== */
.anim-hero-intro .page-hero:not(.page-hero--glow) .wrap > :nth-child(3) { animation-delay: .2s; }

/* anim-plans */
.anim-plans .pricing-controls.rv { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim-plans .pricing-controls.rv.is-in { opacity: 1; transform: none; }
.anim-plans .plans .plan { transition: opacity .6s ease var(--d, 0s), transform .75s cubic-bezier(.2,.7,.2,1) var(--d, 0s), translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.anim-plans .plans.rv .plan { opacity: 0; transform: translateY(22px); }
.anim-plans .plans.rv.is-in .plan { opacity: 1; transform: none; }
.anim-plans .plans .plan:nth-child(1) { --d: .08s; } .anim-plans .plans .plan:nth-child(2) { --d: .18s; } .anim-plans .plans .plan:nth-child(3) { --d: .28s; }
.anim-plans .enterprise.rv, .anim-plans .founding.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim-plans .enterprise.rv.is-in, .anim-plans .founding.rv.is-in { opacity: 1; transform: none; }
/* plan hover on the Pricing page, matching the landing page */
.anim-plans .plans .plan:hover { translate: 0 -4px; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(17,19,21,.04), 0 20px 40px -20px rgba(17,19,21,.25); }
.anim-plans .plans .plan.is-featured:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 40px -20px rgba(14,124,102,.35); }

/* anim-sections */
.anim-sections .cmp.rv, .anim-sections details.ask.rv, .anim-sections #faq .split > .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim-sections .cmp.rv.is-in, .anim-sections details.ask.rv.is-in, .anim-sections #faq .split > .rv.is-in { opacity: 1; transform: none; }
.anim-sections #faq .faq.rv { opacity: 1; transform: none; }
.anim-sections #faq .faq.rv details { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.anim-sections #faq .faq.rv.is-in details { opacity: 1; transform: none; }
.anim-sections #faq .faq.rv details:nth-child(2) { transition-delay: .05s; } .anim-sections #faq .faq.rv details:nth-child(3) { transition-delay: .1s; }
.anim-sections #faq .faq.rv details:nth-child(4) { transition-delay: .15s; } .anim-sections #faq .faq.rv details:nth-child(5) { transition-delay: .2s; }
.anim-sections #faq .faq.rv details:nth-child(6) { transition-delay: .25s; } .anim-sections #faq .faq.rv details:nth-child(7) { transition-delay: .3s; }
.anim-sections #faq .faq.rv details:nth-child(n+8) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) { .anim-plans .plans .plan:hover { translate: none; } }

/* ===== v53: optional Request access animations (switched on from request-access.html <head>) ===== */
/* anim-form-intro ("backwards" fill so the sticky side column keeps its own positioning afterwards) */
.anim-form-intro .form-layout > div:first-child { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .28s backwards; }
.anim-form-intro .form-layout > aside > .card:nth-child(1) { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .4s backwards; }
.anim-form-intro .form-layout > aside > .card:nth-child(2) { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .5s backwards; }

/* anim-slots */
@keyframes slotIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.anim-slots .cal-g, .anim-slots .cal-sgrid .cal-s { animation: slotIn .35s cubic-bezier(.2,.7,.2,1) backwards; }
.anim-slots .cal-sgrid .cal-s:nth-child(2) { animation-delay: .02s; } .anim-slots .cal-sgrid .cal-s:nth-child(3) { animation-delay: .04s; }
.anim-slots .cal-sgrid .cal-s:nth-child(4) { animation-delay: .06s; } .anim-slots .cal-sgrid .cal-s:nth-child(5) { animation-delay: .08s; }
.anim-slots .cal-sgrid .cal-s:nth-child(6) { animation-delay: .1s; } .anim-slots .cal-sgrid .cal-s:nth-child(7) { animation-delay: .12s; }
.anim-slots .cal-sgrid .cal-s:nth-child(8) { animation-delay: .14s; } .anim-slots .cal-sgrid .cal-s:nth-child(n+9) { animation-delay: .16s; }
.anim-slots .cal-sgrid + .cal-g { animation-delay: .1s; }
.anim-slots .cal-picked:not([hidden]) { animation: slotIn .35s cubic-bezier(.2,.7,.2,1); }

/* anim-choices */
.anim-choices .rq .checks label, .anim-choices .cal-s, .anim-choices .cal-d.is-open { transition-property: background, border-color, color, transform; transition-duration: .15s; }
.anim-choices .rq .checks label:active, .anim-choices .cal-s:not(:disabled):active, .anim-choices .cal-d.is-open:active { transform: scale(.96); }

/* anim-success */
.anim-success .form-success:not([hidden]) { animation: riseIn .6s cubic-bezier(.2,.7,.2,1); }
@keyframes okPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.anim-success .form-success:not([hidden]) .ok-ic { animation: okPop .5s cubic-bezier(.3,1.5,.5,1) .2s backwards; }

@media (prefers-reduced-motion: reduce) {
  .anim-form-intro .form-layout > div:first-child, .anim-form-intro .form-layout > aside > .card,
  .anim-slots .cal-g, .anim-slots .cal-sgrid .cal-s, .anim-slots .cal-picked, .anim-success .form-success, .anim-success .ok-ic { animation: none !important; }
  .anim-choices .rq .checks label:active, .anim-choices .cal-s:active, .anim-choices .cal-d.is-open:active { transform: none; }
}

/* ===== v54: optional Terms and privacy animations (switched on from legal.html <head>) ===== */
.anim-prose .rv-prose.rv { opacity: 0; transform: translateY(10px); transition: opacity .55s ease var(--pd, 0s), transform .65s cubic-bezier(.2,.7,.2,1) var(--pd, 0s); }
.anim-prose .rv-prose.rv.is-in { opacity: 1; transform: none; }

/* ===== v56: Early signals in the dashboard previews (survey window, staffing trend) ===== */
.mk-sig { margin-top: 18px; gap: 14px; }
.mk-sig .mk-panel { padding: 2px 18px 16px; }
.mk-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* survey window: 0 to 18 months since the last inspection; shaded 9 to 15 */
.mk-win { padding: 26px 0 0; }
.mk-win-bar { position: relative; height: 8px; border-radius: 999px; background: #fff; }
.mk-win-zone { position: absolute; top: 0; bottom: 0; left: 50%; width: 33.33%; border-radius: 999px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(14,124,102,.22); }
.mk-win-now { position: absolute; top: 50%; left: 72.2%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
.mk-win-now b { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.mk-win-ax { position: relative; height: 34px; margin-top: 8px; font-size: 11.5px; color: var(--ink-2); }
.mk-win-ax span { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.mk-win-ax span:first-child { transform: none; text-align: left; }
.mk-win-ax small { display: block; font-size: 10.5px; color: var(--faint); }

/* staffing sparkline */
.mk-spark { display: block; width: 100%; height: 64px; margin-top: 12px; overflow: visible; }
.mk-spark .a { fill: var(--harm-soft); }
.mk-spark .l { fill: none; stroke: var(--harm); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mk-spark-ax { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--faint); }

@media (max-width: 900px) { .mk-sig { grid-template-columns: 1fr; } }
.mk-win-now b { font-style: normal; }

/* ===== v57: live dashboard demos (assets/js/demo-live.js; switched on by anim-demo-live in the page <head>) ===== */
.mk { position: relative; }
.mk-main { position: relative; transition: opacity .35s ease; }
.mk-main.lv-fade { opacity: 0; }
@keyframes lvIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mk-main.lv-in > :not(.lv-notif):not(.lv-own) { animation: lvIn .5s cubic-bezier(.2,.7,.2,1) both; }
.mk-main > .lv-own, .mk-main > .lv-notif { animation: none !important; }

/* pointer and click ripple */
.lv-cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -3px 0 0 -4px; z-index: 30; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 3px rgba(17,19,21,.28)); }
.lv-cur.is-on { opacity: 1; }
.lv-cur svg { display: block; width: 100%; height: 100%; transform-origin: 20% 15%; transition: transform .12s ease; }
.lv-cur path { fill: #16181a; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.lv-cur.is-down svg { transform: scale(.86); }
.lv-ripple { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(14,124,102,.16); border: 1.5px solid rgba(14,124,102,.45); z-index: 29; pointer-events: none; animation: lvRip .6s ease-out forwards; }
@keyframes lvRip { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* small state changes */
@keyframes lvFlip { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lv-flip { animation: lvFlip .45s cubic-bezier(.2,.7,.2,1); }
.mk-it b.lv-flip { display: inline-block; color: var(--accent); font-weight: 500; }
@keyframes lvPing { 0% { box-shadow: 0 0 0 0 rgba(14,124,102,.55); } 100% { box-shadow: 0 0 0 7px rgba(14,124,102,0); } }
.mk-live.lv-poll i { animation: lvPing .9s ease-out 2; }
.mk-row-sev .mk-pill, .mk-row-score small, .mk-lbl a, .email--inmock .block .row { transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); }
.mk .lv-pre { opacity: 0; transform: scale(.88); }
.email--inmock .block .row.lv-pre { transform: translateY(6px); }
.mk-line { transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.mk .lv-pre-l { opacity: 0; transform: translateX(-8px); }
.email--inmock { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.email--inmock.lv-pre-up { opacity: 0; transform: translateY(14px); }

/* row and line highlights */
.mk-row, .mk-line { position: relative; }
.mk-row > *, .mk-line > * { position: relative; z-index: 1; }
.lv-new::before, .lv-hover::before, .lv-rep::before { content: ""; position: absolute; inset: 2px -12px; border-radius: 10px; z-index: 0; pointer-events: none; }
.lv-new::before { background: rgba(14,124,102,.09); animation: lvNew 3.2s ease forwards; }
@keyframes lvNew { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
.lv-hover::before { background: rgba(36,35,31,.045); }
.lv-rep::before { background: var(--ij-soft); opacity: .75; animation: lvIn .4s ease both; }
.mk-row > .lv-act { position: absolute; right: -4px; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(17,19,21,.3); opacity: 0; transform: translateY(-50%) scale(.95); transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.mk-row > .lv-act.is-on { opacity: 1; transform: translateY(-50%); }
.mk-row > .lv-act.is-done { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(14,124,102,.3); }
.lv-act svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mk-stat { transition: box-shadow .3s ease, background .3s ease; }
.mk-stat.lv-sel { background: #fbf4e7; box-shadow: inset 0 0 0 1.5px rgba(184,120,26,.55); }
.mk-row-sev small { transition: color .3s ease; }
.mk-row-sev small.lv-hl { color: var(--harm); font-weight: 500; }

/* toast */
.lv-toast { position: absolute; right: 18px; bottom: 18px; z-index: 25; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 14px 30px -14px rgba(17,19,21,.5); opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.lv-toast.is-on { opacity: 1; transform: none; }
.lv-toast svg { width: 15px; height: 15px; fill: none; stroke: #7fd6bf; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* early signals */
.mk-win-zone { transition: opacity .6s ease; }
.mk-win-zone.lv-dim { opacity: .35; }
@keyframes lvGlow { 0% { box-shadow: inset 0 0 0 1px rgba(14,124,102,.22), 0 0 0 0 rgba(14,124,102,.35); } 100% { box-shadow: inset 0 0 0 1px rgba(14,124,102,.22), 0 0 0 8px rgba(14,124,102,0); } }
.mk-win-zone.lv-glow { animation: lvGlow .9s ease-out; }

/* facility */
.mk-lbl a.lv-flag { color: #a3331f; background: var(--ij-soft); padding: 2px 8px; border-radius: 6px; font-weight: 500; }

/* CRM */
.lv-tag { display: table; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 500; color: #a3331f; background: var(--ij-soft); padding: 2px 7px; border-radius: 5px; }
@keyframes lvDrop { from { transform: translateY(-10px); } to { transform: none; } }
.mk-card.lv-drop { animation: lvDrop .55s cubic-bezier(.2,.7,.2,1); }
.lv-ghost { position: absolute; z-index: 18; margin: 0; pointer-events: none; transition: transform .2s ease, box-shadow .2s ease; }
.lv-ghost.is-lift { transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 16px 30px -14px rgba(17,19,21,.4); }
@keyframes lvSettle { 0% { transform: scale(1.03); box-shadow: 0 10px 22px -12px rgba(17,19,21,.35); } 100% { transform: none; box-shadow: none; } }
.mk-card.lv-settle { animation: lvSettle .45s cubic-bezier(.2,.7,.2,1); }

/* who to call */
.mk-ct-v { transition: filter .7s ease; }
.mk-ct-s a.lv-busy { color: var(--faint); }
.mk-credits { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(36,35,31,.06); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.mk-credits b { font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes lvPulse { 0% { background: var(--accent-soft); box-shadow: 0 0 0 0 rgba(14,124,102,.35); } 100% { background: rgba(36,35,31,.06); box-shadow: 0 0 0 6px rgba(14,124,102,0); } }
.mk-credits.lv-pulse { animation: lvPulse 1s ease-out; }

/* email notification */
.lv-notif { position: absolute; top: 108px; left: 0; right: 0; margin: 0 auto; width: min(380px, calc(100% - 40px)); z-index: 12; display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: 0 18px 38px -16px rgba(17,19,21,.35); opacity: 0; transform: translateY(-16px) scale(.98); transition: opacity .4s ease, transform .55s cubic-bezier(.3,1.3,.5,1); }
.lv-notif.is-on { opacity: 1; transform: none; }
.lv-notif.is-gone { opacity: 0; transform: translateY(-10px) scale(.97); transition: opacity .25s ease, transform .3s ease; }
.lv-notif img { width: 30px; height: 30px; border-radius: 8px; background: #f4f3ee; padding: 4px; flex-shrink: 0; }
.lv-notif div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lv-notif small { font-size: 11.5px; color: var(--muted); }
.lv-notif small b { color: var(--ink-2); font-weight: 600; }
.lv-notif > div > b { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lv-notif span { font-size: 12.5px; color: var(--muted); }
@keyframes lvPress { 0% { transform: scale(.95); } 100% { transform: none; } }
.email-body .cta.lv-press { animation: lvPress .3s ease; }

/* v57: lead-scoring toggles and bars move smoothly */
.mk-tg { transition: background .25s ease; }
.mk-tg::after { transition: left .3s cubic-bezier(.3,1.3,.5,1); }
.mk-bars i::after { transition: width .7s cubic-bezier(.2,.7,.2,1); }
.mk-panel .mk-lbl a { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ===== v58: previews redesigned as focused snippets. The home window keeps its sidebar; the Features tabs use a
   slim breadcrumb frame (.sn) with one hero element and one supporting panel. Shared alert table (.tb). ===== */

/* --- the alert table --- */
.tb { display: block; }
.tb-h, .tb-r { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) 148px 104px; gap: 18px; align-items: center; }
.tb-h { padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }
.tb-h span:last-child, .tb-sc { text-align: right; }
.tb-r { padding: 12px 0; border-top: 1px solid var(--line); position: relative; }
.tb-h + .tb-r { border-top: 0; }
.tb-r > * { min-width: 0; position: relative; z-index: 1; }
.tb-fac b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.tb-fac small, .tb-cit small, .tb-sev small, .tb-sc small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-cit > span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .code { font-size: 11.5px; padding: 3px 6px; flex-shrink: 0; font-style: normal; }
.tb-sev { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tb-sev small { margin: 0 0 0 2px; }
.tb-sc b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; color: var(--ink); }
.tb-sc small { font-size: 11.5px; color: var(--faint); }
.tb--home .tb-h, .tb--home .tb-r { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 124px 96px; gap: 14px; }
.tb--home .tb-cit small { display: none; }
.tb--signals .tb-cit .code { font-family: var(--font); font-weight: 600; letter-spacing: 0; }

/* --- home window --- */
.mk-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 4px; }
.hm-grid .mk-lbl:first-child { margin-top: 16px; }
.hm-side .mk-lbl { margin-top: 16px; }
.hero-stage .mk-main { padding: 20px 32px 26px; }
.mk-live i { animation: none; }

/* --- snippet frame --- */
.sn { position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; min-height: 540px; font-family: var(--font); color: var(--ink); text-align: left; }
.sn-bar { display: flex; align-items: center; gap: 14px; padding: 11px 24px; border-bottom: 1px solid var(--line); background: #fbfbf9; font-size: 12.5px; color: var(--muted); }
.sn-crumb { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.sn-crumb i { font-style: normal; color: var(--faint); }
.sn-crumb span:last-child { color: var(--ink); }
.sn-bar-r { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.sn-body { position: relative; padding: 24px 28px 28px; }
.sn-head h3 { font-size: 24px; font-weight: 400; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 6px; color: var(--ink); text-wrap: balance; }
.sn-head h3 span { color: var(--muted); }
.sn-head p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.sn-head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sn-head--row h3 { margin-bottom: 4px; }
.sn-pills { display: flex; gap: 6px; flex-shrink: 0; padding-top: 4px; }
.sn-grid { display: grid; gap: 32px; margin-top: 22px; align-items: start; }
.sn-grid--a { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.sn-grid--b { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.sn-grid--eq { grid-template-columns: 1fr 1fr; }
.sn-grid--tight { gap: 14px; margin-top: 18px; }
.sn-grid--score { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .95fr); gap: 28px; }
.sn-grid > div > .mk-lbl:first-child, .sn-panel > .mk-lbl:first-child { margin-top: 0; }
.sn-panel { background: #f4f3ee; border-radius: 14px; padding: 16px 18px 16px; }
.sn-panel + .mk-lbl { margin-top: 18px; }
.sn-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sn-note--foot { margin-top: 16px; }
.sn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sn-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.sn-chip b { font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.sn-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sn .mk-lbl { margin: 18px 0 6px; }
.sn .mk-lbl a { color: var(--muted); }
.sn .mk-stats { margin: 18px 0 4px; }

/* sources checked */
.src-r { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 8px 0; border-top: 1px solid rgba(36,35,31,.07); font-size: 13px; color: var(--ink-2); }
.src-r:first-child { border-top: 0; }
.src-r .mk-dot { margin: 0; }
.src-r > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src-r small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.src-r em { grid-column: 2 / -1; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 1px; }
.src-r[data-tone="new"] em, .src-r em.is-new { color: var(--accent-ink); font-weight: 500; }

/* email snippet */
.sn-mail .email--inmock { margin: 0; max-width: none; }
.sn .email-body { padding: 18px 20px 20px; font-size: 14px; }
.sn .email-body h4 { font-size: 16.5px; }
.sn .email-body .block .row span:last-child { text-align: right; }
.email-body .cta--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); margin-left: 4px; }
.dl-r { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(36,35,31,.07); font-size: 13.5px; color: var(--ink); }
.dl-r:first-child { border-top: 0; }
.dl-r .mk-ic { color: var(--ink-2); }
.dl-r > span { min-width: 0; }
.dl-r small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* facility snippet */
.sn .mk-p { margin: 4px 0 0; font-size: 13.5px; max-width: none; }
.poc { border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; margin-top: 4px; }
.poc-r { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.poc-r small { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); padding-top: 3px; white-space: nowrap; }
.clk .clk-big { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.clk-big b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.clk-big span { font-size: 13.5px; color: var(--muted); }
.clk-bar { position: relative; height: 8px; border-radius: 999px; background: #fff; margin-top: 12px; overflow: hidden; }
.clk-bar i { position: absolute; inset: 0; width: var(--p); background: var(--ij); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.clk-ax { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.clk-ax span:nth-child(2) { color: var(--ink-2); font-weight: 500; }
.hist .mk-line { grid-template-columns: 70px 1fr auto; }
.hist .rep { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #a3331f; background: var(--ij-soft); padding: 2px 6px; border-radius: 5px; vertical-align: 1px; }

/* lead scoring snippet */
.svcl-r { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.svcl-r:first-child { border-top: 0; }
.sc-big { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 8px; }
.sc-big b { font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.sc-big span { font-size: 13.5px; color: var(--muted); }
.sn .mk-bars > div { padding: 7px 0; font-size: 12.5px; border-top-color: rgba(36,35,31,.07); }
.sn .mk-bars i { background: #fff; }
.rank-r { display: grid; grid-template-columns: 18px minmax(0, 1fr) 64px; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); position: relative; }
.rank-r:first-child { border-top: 0; }
.rank-r small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.rank-r > span { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-r b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-family: var(--mono); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.rank-r .mk-score { width: 24px; }

/* who to call snippet */
.ct-h, .ct-r { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) auto; gap: 18px; align-items: center; }
.ct-h { padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }
.ct-r { padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.ct-h + .ct-r { border-top: 0; }
.ct-r b { display: block; font-weight: 500; color: var(--ink); }
.ct-r small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ct-r .mk-ct-v small { font-family: var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-r .mk-ct-s { display: inline-flex; align-items: center; gap: 5px; }
.ct-r .mk-ct-s .mk-ic { width: 13px; height: 13px; color: var(--accent); }
.mk-credits { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: rgba(36,35,31,.06); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; flex-shrink: 0; }
.chain-big { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 6px; }
.chain-big b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.chain-big span { font-size: 13px; color: var(--muted); }
.sn-panel .mk-line { border-top-color: rgba(36,35,31,.07); }

/* CRM snippet */
.sn-owners { display: inline-flex; align-items: center; flex-shrink: 0; padding-top: 4px; }
.sn-owners .mk-av { width: 26px; height: 26px; font-size: 10px; border: 2px solid #fff; margin-left: -8px; }
.sn-owners .mk-av:first-child { margin-left: 0; }
.sn-owners small { margin-left: 8px; font-size: 12.5px; color: var(--muted); }
.sn .mk-pipe { margin-top: 20px; }
.sn .mk-col { min-height: 232px; }
.mk-card { position: relative; padding-right: 34px; }
.mk-card .own { position: absolute; right: 9px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: #f4f3ee; color: var(--ink-2); font-size: 8.5px; font-weight: 600; font-style: normal; display: grid; place-items: center; }

/* early signals snippet */
.sn .mk-win { padding-top: 26px; }

@media (max-width: 1100px) {
  .hm-grid { grid-template-columns: 1fr; gap: 6px; }
  .tb-h, .tb-r, .tb--home .tb-h, .tb--home .tb-r { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 132px 84px; gap: 12px; }
}
@media (max-width: 900px) {
  .sn-grid--a, .sn-grid--b, .sn-grid--eq, .sn-grid--score { grid-template-columns: 1fr; gap: 22px; }
  .sn-head--row { flex-direction: column; gap: 10px; }
  .tb-h { display: none; }
  .tb-r, .tb--home .tb-r { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .tb-fac { grid-column: 1 / -1; }
  .tb-sc { text-align: left; }
  .tb-sc b { justify-content: flex-start; }
  .mk-stats--3 { grid-template-columns: 1fr 1fr 1fr; }
  .sn-body { padding: 20px 18px 22px; }
  .sn { min-height: 0; }
}
@media (max-width: 560px) {
  .tb-r, .tb--home .tb-r { grid-template-columns: 1fr; gap: 8px; }
  .mk-stats--3 { grid-template-columns: 1fr; }
  .sn-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); }
  .sn-bar-r .mk-live { display: none; }
}
/* v58: live-demo states for the new snippets */
.sn-body.lv-in > * { animation: lvIn .5s cubic-bezier(.2,.7,.2,1) both; }
.sn-body > .lv-notif { animation: none !important; }
.sn-body.lv-fade { opacity: 0; }
.sn-body { transition: opacity .35s ease; }
.tb-r.lv-new::before, .tb-r.lv-hover::before, .svcl-r.lv-hover::before, .rank-r.lv-hover::before { content: ""; position: absolute; inset: 2px -12px; border-radius: 10px; z-index: 0; pointer-events: none; }
.tb-r.lv-new::before { background: rgba(14,124,102,.09); animation: lvNew 3.2s ease forwards; }
.tb-r.lv-hover::before, .svcl-r.lv-hover::before, .rank-r.lv-hover::before { background: rgba(36,35,31,.045); }
.svcl-r, .rank-r { position: relative; }
.svcl-r > *, .rank-r > * { position: relative; z-index: 1; }
.tb-r > .lv-act { position: absolute; right: -4px; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(17,19,21,.3); opacity: 0; transform: translateY(-50%) scale(.95); transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.tb-r > .lv-act.is-on { opacity: 1; transform: translateY(-50%); }
.tb-r > .lv-act.is-done { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(14,124,102,.3); }
.tb-sev small { transition: color .3s ease; }
.tb-sev small.lv-hl { color: var(--harm); font-weight: 500; }
.tb-sc small, .mk-pill, .rep { transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); }
.src-r em.lv-busy { color: var(--faint); animation: lvBusy 1.2s ease-in-out infinite; }
@keyframes lvBusy { 50% { opacity: .45; } }
.email--inmock.lv-focus { animation: lvFocus .9s ease; }
@keyframes lvFocus { 0% { box-shadow: 0 0 0 0 rgba(14,124,102,.35); } 100% { box-shadow: 0 0 0 10px rgba(14,124,102,0); } }
.email--inmock .block .row.lv-mark { animation: lvMark 1.2s ease; }
@keyframes lvMark { 0% { background: transparent; } 25% { background: var(--accent-soft); } 100% { background: transparent; } }
.email-body .cta--ghost.is-done { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(14,124,102,.3); }
.hist .mk-line.lv-rep::before { background: var(--ij-soft); }
.hist .mk-line.lv-hover::before { content: ""; position: absolute; inset: 2px -12px; border-radius: 10px; z-index: 0; background: rgba(36,35,31,.045); }
.mk-line.lv-rep::before { content: ""; position: absolute; inset: 2px -12px; border-radius: 10px; z-index: 0; }
[data-poc].lv-new { border-radius: 10px; }
.mk-tg::after { transition: left .3s cubic-bezier(.3,1.3,.5,1); }

/* ===== v59: preview polish. Clear section titles, highlights that fit their rows, Gmail email flow, CRM automations,
   who-to-call alignment, home side cards, a clicked map state stays selected. ===== */
/* section titles inside previews: readable, not whispered */
.mk-lbl { font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; text-transform: none; color: var(--ink); margin: 22px 0 8px; align-items: center; min-height: 20px; line-height: 20px; }
.mk-lbl > span { gap: 8px; }
.mk-lbl > span .mk-ic { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); stroke-width: 2; }
.mk-lbl a { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.sn .mk-lbl { margin: 20px 0 8px; }
.sn .mk-lbl a, .mk-panel .mk-lbl a { color: var(--muted); }
.tb-h { font-size: 11.5px; letter-spacing: .02em; }
/* stat cards: the label is what the number means, so it reads first */
.mk-stat .k { font-size: 13px; font-weight: 500; color: var(--ink-2); height: 20px; line-height: 20px; }
.mk-stat small { color: var(--muted); }

/* highlights fit inside their rows: rows carry the side padding, the list pulls back by the same amount */
.tb { margin: 0 -10px; }
.tb-h, .tb-r { padding-left: 10px; padding-right: 10px; }
.tb-r.lv-new::before, .tb-r.lv-hover::before { inset: 3px 0; }
.tb-r > .lv-act { right: 8px; }
.rank, .svcl, .hist, [data-lv], .hm-card .mk-list { margin-left: -10px; margin-right: -10px; }
.rank-r, .svcl-r, .hist .mk-line, [data-lv] .mk-line, .hm-card .mk-line { padding-left: 10px; padding-right: 10px; }
.rank-r.lv-hover::before, .svcl-r.lv-hover::before, .hist .mk-line.lv-hover::before, .mk-line.lv-rep::before, .lv-new::before, .lv-hover::before { inset: 3px 0; }
.mk-card.lv-drop { border-radius: 10px; }

/* home: the right column is three distinct cards */
.hm-card { background: #f8f7f3; border-radius: 12px; padding: 12px 14px 6px; margin-top: 12px; }
.hm-card:first-child { margin-top: 16px; }
.hm-card .mk-lbl { margin: 0 0 2px; }
.hm-card .mk-line { border-top-color: rgba(36,35,31,.07); font-size: 13px; }
.hm-card .mk-lbl + .mk-list .mk-line:first-child { border-top: 0; }
.hm-grid .mk-lbl:first-child { margin-top: 16px; }

/* email: Gmail frame, then the app */
.em-stage { position: relative; }
.gm { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: opacity .3s ease, transform .35s ease; }
.gm.is-out { opacity: 0; transform: translateX(-16px); }
.gm-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #f6f8fc; font-size: 12.5px; color: var(--ink-2); }
.gm-bar b { font-weight: 500; color: #202124; font-size: 14px; }
.gm-bar span { color: #5f6368; }
.gm-bar small { margin-left: auto; font-size: 12px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-m { width: 22px; height: 16px; flex-shrink: 0; }
.gm-msg { padding: 16px 20px 6px; }
.gm-subj { font-size: 16.5px; font-weight: 500; color: #202124; letter-spacing: -.01em; line-height: 1.3; }
.gm-subj em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 500; color: #5f6368; background: #f1f3f4; border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.gm-from { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; font-size: 13px; color: var(--ink-2); }
.gm-from img { width: 32px; height: 32px; border-radius: 50%; background: #f4f3ee; padding: 5px; }
.gm-from b { font-weight: 500; color: #202124; }
.gm-from small { display: block; font-size: 12px; color: #5f6368; }
.gm-from small:first-of-type { display: inline; }
.gm .email-body { padding: 8px 0 14px; }
.lv-notif .gm-m { width: 30px; height: 22px; flex-shrink: 0; margin-top: 4px; }
.em-app { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; opacity: 0; transform: translateX(16px); transition: opacity .4s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.em-app.is-in { opacity: 1; transform: none; }
.em-app-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fbfbf9; font-size: 12.5px; color: var(--muted); }
.em-app-bar img { width: 18px; height: 18px; }
.em-app-bar i { font-style: normal; color: var(--faint); }
.em-app-bar b { font-weight: 500; color: var(--ink); }
.em-app-body { padding: 18px 20px 20px; }
.em-app-body .sn-head h3 { font-size: 20px; }
.em-app-body .sn-head p { font-size: 12.5px; }
.em-app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.em-app-grid .sn-panel { padding: 14px 16px; }
.em-app-grid .clk-big b { font-size: 26px; }
.em-app-grid .sc-big b { font-size: 34px; }
.em-app-acts { display: flex; gap: 6px; margin-top: 8px; }
.em-app-acts .cta { margin: 0; padding: 7px 12px; font-size: 12.5px; }
.em-app-acts .cta.is-done { background: var(--accent-soft); color: var(--accent-ink); }

/* who to call: fixed source column so every line starts on the same edge */
.ct-h, .ct-r { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 150px; }
.ct-h span:last-child { text-align: right; }
.ct-r .mk-ct-s { justify-content: flex-end; text-align: right; }

/* CRM: automations */
.sn .mk-col { min-height: 208px; }
.sn-auto { margin-top: 14px; padding-bottom: 10px; }
.auto-r { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.25fr); gap: 10px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; border-top: 1px solid rgba(36,35,31,.07); font-size: 13px; color: var(--ink-2); position: relative; }
.auto-r:first-child { border-top: 0; }
.auto-r .auto-when { font-weight: 500; color: var(--ink); }
.auto-r i { font-style: normal; color: var(--faint); text-align: center; }
.auto-r.lv-fire { animation: lvFire 1.4s ease; }
@keyframes lvFire { 0% { background: transparent; } 20% { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); } 100% { background: transparent; } }
.lv-tag--ok { color: var(--accent-ink); background: var(--accent-soft); }

/* map: the clicked state keeps a distinct, darker outline until cleared */
.usmap .st.is-sel { stroke: var(--ink); stroke-width: 2.4; filter: brightness(.86) saturate(1.2); }
.usmap .st.is-sel.is-hover { filter: brightness(.86) saturate(1.2); }

@media (max-width: 900px) { .em-app-grid { grid-template-columns: 1fr; } .auto-r { grid-template-columns: 1fr; gap: 2px; } .auto-r i { display: none; } }
.tb--home .tb-h, .tb--home .tb-r { grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr) 120px 110px; }
.auto-r.lv-fire { animation: lvFire 1.4s ease; }

/* ===== v60: one visual language per meaning, one facility identity everywhere, titled panels.
   severity = filled colour pill · deadline = neutral countdown with a clock · signal = outlined tag with a type icon ===== */

/* deadline: neutral countdown, bold only when two days or fewer */
.due { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; line-height: 1.2; }
.due .mk-ic { width: 13px; height: 13px; color: var(--faint); stroke-width: 2; }
.due.is-urgent { color: var(--ink); font-weight: 600; }
.due.is-urgent .mk-ic { color: var(--ink); }
.tb-sev .due { font-size: 12px; margin-left: 1px; }

/* signal: outlined tag with an icon for the kind of signal */
.sig { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; line-height: 1; }
.sig .mk-ic { width: 13px; height: 13px; color: var(--ink-2); stroke-width: 2; }

/* flag: a fact about the facility (repeat citation), dark so it never reads as a severity */
.flag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 7px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1; transition: opacity .45s ease, transform .5s cubic-bezier(.3,1.4,.5,1); }
.flag .mk-ic { width: 12px; height: 12px; color: #fff; stroke-width: 2.2; }
.hist .rep { display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: #fff; letter-spacing: .02em; }
.hist .rep .mk-ic { width: 10px; height: 10px; color: #fff; stroke-width: 2.4; }
.hist .mk-line.lv-rep::before { background: rgba(36,35,31,.06); box-shadow: inset 2px 0 0 var(--ink); }

/* facility identity: square type icon, name, place and type */
.ent { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ent-i { flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: #f1efe8; border: 1px solid rgba(36,35,31,.06); font-style: normal; }
.ent-i .mk-ic { color: var(--ink-2); stroke-width: 1.8; }
.ent-i--md { width: 30px; height: 30px; }
.ent-i--md .mk-ic { width: 16px; height: 16px; }
.ent-i--sm { width: 24px; height: 24px; border-radius: 7px; }
.ent-i--sm .mk-ic { width: 13px; height: 13px; }
.ent-i--xs { width: 18px; height: 18px; border-radius: 5px; }
.ent-i--xs .mk-ic { width: 11px; height: 11px; }
.ent-i--lg { width: 48px; height: 48px; border-radius: 12px; }
.ent-i--lg .mk-ic { width: 24px; height: 24px; stroke-width: 1.6; }
.ent-t { min-width: 0; }
.ent-t b, .tb-fac .ent-t b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-t small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-tag { font-style: normal; font-weight: 600; color: var(--accent-ink); }
.ent-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 28px; padding: 0 10px 0 5px; margin: 0 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ent-head { display: flex; align-items: center; gap: 14px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.ent-head-t { flex: 1; min-width: 0; }
.ent-head h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 6px; color: var(--ink); }
.ent-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; font-size: 12.5px; color: var(--muted); }
.ent-meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ent-meta .mk-ic { width: 13px; height: 13px; color: var(--faint); stroke-width: 2; }
.ent-head-r { display: flex; align-items: center; gap: 6px; flex-shrink: 0; align-self: flex-start; padding-top: 4px; }
.ent-head + .sn-grid { margin-top: 18px; }
.em-app-body .ent-head { padding-bottom: 14px; }
.em-app-body .ent-head h3 { font-size: 18px; }
.em-app-body .ent-i--lg { width: 40px; height: 40px; }

/* a facility on one line: icon, name and detail, then something on the right */
.ln { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ln:first-child, [data-lv] > .ln:first-child { border-top: 0; }
.ln > * { position: relative; z-index: 1; }
.ln-t { min-width: 0; }
.ln-t b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-t small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln--more { grid-template-columns: minmax(0, 1fr) auto; }
.ln-quiet { font-size: 12px; color: var(--muted); }
.ln.lv-new::before { content: ""; position: absolute; inset: 2px -8px; border-radius: 9px; z-index: 0; }
.sn-panel .ln { border-top-color: rgba(36,35,31,.07); }

/* titled panel */
.pn { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.pn-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 14px 0 14px; border-bottom: 1px solid var(--line); }
.pn-t { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pn-t .mk-ic { width: 24px; height: 24px; padding: 4px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); stroke-width: 2; flex-shrink: 0; }
.pn-t b { font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-n { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--ink-2); background: #f1efe8; border-radius: 999px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.pn-r { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pn-r a { color: var(--muted); font-weight: 500; }
.pn-sort { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 10px; border: 1px solid var(--line-2); border-radius: 7px; font-weight: 500; color: var(--ink-2); }
.pn-sort .mk-ic { width: 12px; height: 12px; color: var(--muted); }
.pn-b { padding: 2px 14px 6px; }
.pn--table .pn-b { padding: 0 4px 4px; }
.pn .tb { margin: 0; }
.pn .tb-h { padding-top: 11px; }
.pn .tb-r:last-child { border-bottom: 0; }

/* bulk selection: the panel header becomes an action bar */
.pn-sel { position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px 12px 0 0; background: #f4f9f7; border-bottom: 1px solid rgba(14,124,102,.28); opacity: 0; transform: translateY(-3px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.pn.is-selecting .pn-sel { opacity: 1; transform: none; }
.pn-sel > b { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 8px 0 2px; }
.pbtn { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pbtn .mk-ic { width: 13px; height: 13px; color: currentColor; stroke-width: 2; }
.pbtn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pbtn.lv-press { animation: lvPress .3s ease; }
.pn-clear { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.cbx { width: 16px; height: 16px; flex-shrink: 0; display: grid; place-items: center; border-radius: 4px; border: 1.5px solid #c9c5b9; background: #fff; font-style: normal; transition: background .15s ease, border-color .15s ease; }
.cbx .mk-ic { width: 11px; height: 11px; color: #fff; stroke-width: 3; opacity: 0; transition: opacity .15s ease; }
.cbx.on { background: var(--ink); border-color: var(--ink); }
.cbx.on .mk-ic { opacity: 1; }
.tb-cb { display: flex; align-items: center; position: relative; z-index: 1; }
.tb-r.is-sel::before { content: ""; position: absolute; inset: 3px 0; border-radius: 10px; z-index: 0; background: #f4f9f7; box-shadow: inset 0 0 0 1px rgba(14,124,102,.25); }

/* table columns */
.tb-h, .tb-r { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) 140px 100px; }
.tb--sel .tb-h, .tb--sel .tb-r { grid-template-columns: 16px minmax(0, 1.35fr) minmax(0, 1.05fr) 132px 92px; gap: 14px; }
.tb--home.tb--sel .tb-h, .tb--home.tb--sel .tb-r { grid-template-columns: 16px minmax(0, 1.35fr) minmax(0, 1fr) 128px 84px; gap: 12px; }
.tb-r { padding-top: 11px; padding-bottom: 11px; }

/* home: two columns of titled panels */
.hm-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.hm-side { display: grid; gap: 14px; align-content: start; }
.hm-side .pn-b { padding: 2px 14px 4px; }
.hero-stage .mk-main { padding: 20px 28px 24px; }
.hero-stage .mk-h1 { margin-bottom: 4px; }

/* lead scoring ranked list with facility icons */
.rank-r { grid-template-columns: 16px 24px minmax(0, 1fr) 60px; }

/* CRM cards: facility icon beside the name */
.mk-card b { display: flex; align-items: center; gap: 7px; }
.mk-card b .ent-i--xs { background: #f4f3ee; }

/* email inbox before the message is opened */
.gm-list { padding: 2px 0; }
.gm-row { position: relative; display: grid; grid-template-columns: 24px 130px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid #eef0f2; font-size: 13px; color: #5f6368; background: #f8fafd; }
.gm-row:first-child { border-top: 0; }
.gm-row > * { position: relative; z-index: 1; min-width: 0; }
.gm-row img { width: 24px; height: 24px; border-radius: 50%; background: #f4f3ee; padding: 3px; }
.gm-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 600; color: #fff; background: #8e7cc3; }
.gm-av--hs { background: #ff7a59; }
.gm-row > b { font-weight: 400; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-row > span b { font-weight: 400; color: #202124; }
.gm-row small { font-size: 12px; color: #5f6368; }
.gm-row.is-unread { background: #fff; }
.gm-row.is-unread > b, .gm-row.is-unread > span b, .gm-row.is-unread small { font-weight: 700; color: #202124; }
.gm-row.lv-new::before { content: ""; position: absolute; inset: 0; border-radius: 0; z-index: 0; background: rgba(66,133,244,.09); animation: lvNew 3.2s ease forwards; }
.gm-msg.lv-open { animation: lvIn .45s cubic-bezier(.2,.7,.2,1); }

/* facility: the Plan of Correction box has room inside, so its highlight never touches the text */
[data-poc] { position: relative; isolation: isolate; padding: 2px 14px 12px; margin: 10px -14px 0; border-radius: 12px; }
[data-poc] > .mk-lbl { margin-top: 12px; }
[data-poc].lv-new::before { content: ""; position: absolute; inset: 0; border-radius: 12px; z-index: -1; background: rgba(14,124,102,.08); animation: lvNew 3.2s ease forwards; }

/* who to call */
.ct { margin-top: 2px; }

@media (max-width: 900px) {
  .tb-cb { display: none; }
  .tb--sel .tb-r, .tb--home.tb--sel .tb-r { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .pn-r .pn-sort { display: none; }
  .ent-head { flex-wrap: wrap; }
  .ent-head-r { width: 100%; padding-top: 0; padding-left: 62px; }
  .gm-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .gm-row > span { display: none; }
}
@media (max-width: 560px) {
  .tb--sel .tb-r, .tb--home.tb--sel .tb-r { grid-template-columns: 1fr; }
  .pn-sel .pbtn:not(.pbtn--dark) { display: none; }
}

/* v60: the home side panels use one-line rows so the window keeps its original height; wider alert table on Features */
.hm-side .ln { padding: 8px 0; }
.hm-side .ln-t { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.hm-side .ln-t b { flex-shrink: 0; }
.hm-side .ln-t small { margin: 0; min-width: 0; }
.sn-grid--a { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px; }

/* v61: "How it works" cards 2 and 3 stack their rows full width again. The preview countdown label (v58) also uses .due
   and had turned these rows into small grey side-by-side chips. */
.step .art .due { display: block; white-space: normal; line-height: inherit; color: inherit; }

/* v62: social and email icons (footer, Request access). Links are set in SOCIALS at the top of site.js. */
.ic { width: 18px; height: 18px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(17,19,21,.05); color: var(--ink-2); transition: background .18s, color .18s, transform .18s; }
.social-link .ic { width: 16px; height: 16px; stroke-width: 1.7; }
.social-link:hover, .social-link:focus-visible { background: var(--accent-soft); color: var(--accent-ink); transform: translateY(-2px); }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .social-link { transition: none; } .social-link:hover, .social-link:focus-visible { transform: none; } }
.footer-mail { display: flex; align-items: center; gap: 8px; }
.footer-mail .ic { width: 16px; height: 16px; }
.contact-card .social { margin-top: 12px; }

/* v63: Who it's for card sequence on short windows (it now runs from 540px tall on wide windows, see initSegScroll in site.js).
   Tighter side panels so every segment's details fit the pinned area. */
@media (max-height: 680px) {
  .segx.is-pinned .seg-panel[data-k="0"] .seg-b, .segx.is-pinned .seg-panel[data-k="1"] .seg-b { padding: 10px 14px 2px; }
  .segx.is-pinned .seg-b .seg-switch { margin-bottom: 4px; }
  .segx.is-pinned .seg-b .trig > div, .segx.is-pinned .seg-b .callsx > div { padding-top: 3px; padding-bottom: 3px; font-size: 14px; }
  .segx.is-pinned .vcards2 { gap: 8px; }
  .segx.is-pinned .vcard2 { padding: 10px 12px 8px; }
  .segx.is-pinned .vcard2 b { font-size: 14.5px; }
  .segx.is-pinned .vcard2 p { margin: 3px 0 8px; font-size: 12.5px; line-height: 1.4; }
  .segx.is-pinned .vcard2-foot { padding-top: 6px; }
}
