/* part135sms.com — site styles
   Layout concept: flight-deck clarity. A navy "cockpit" band carries the hero and
   key CTAs; content pages read like a well-set ops manual on a cool white ground.
   Amber is the annunciator colour: used only for the primary action and the countdown. */

:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-2: #EBEFF5;
  --ink: #0E1C30;
  --muted: #56647A;
  --line: #D6DDE7;
  --link: #1F4F9A;
  --navy: #1E3A5F;
  --band: #12263F;
  --band-2: #1A3352;
  --band-ink: #EAF0F7;
  --band-muted: #A9B8CB;
  --band-line: rgba(234, 240, 247, .14);
  --amber: #F0A73A;
  --amber-ink: #8F4E00;
  --on-amber: #1B1200;
  --on-navy: #FFFFFF;
  --ok: #1F7A4D;
  --ok-bg: #E3F3EA;
  --warn-bg: #FFF4E0;
  --risk-1: #2E8B57; --risk-2: #8DBF45; --risk-3: #E6C33A; --risk-4: #E58A2E; --risk-5: #C8432F;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(14, 28, 48, .06), 0 8px 24px rgba(14, 28, 48, .08);
  --max: 1160px;
  --measure: 68ch;
  color-scheme: light;
}
:root[data-site-theme="dark"] {
  --bg: #0A1422; --surface: #101F33; --surface-2: #15273E; --ink: #E4EAF2; --muted: #9BAABE;
  --line: #22374F; --link: #8DB5F2; --navy: #9BC0F5; --band: #071020; --band-2: #0E1C30;
  --band-line: rgba(234, 240, 247, .12); --amber-ink: #F3B55A; --ok: #5CC892; --ok-bg: #0F2A1E;
  --warn-bg: #2A1F0B; --on-navy: #0A1422; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--band);
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; letter-spacing: -.005em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-weight: 650; }
h3 { font-size: 1.28rem; font-weight: 650; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--on-amber); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.container {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Deadline banner ---------- */
.deadline-bar { background: var(--band); color: var(--band-ink); font-size: .9rem; border-bottom: 1px solid var(--band-line); }
.deadline-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding-block: 8px; text-align: center; }
.deadline-bar a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.deadline-bar a:hover { text-decoration: underline; }
.days-chip {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600;
  background: rgba(240, 167, 58, .14); color: var(--amber); border: 1px solid rgba(240, 167, 58, .45);
  border-radius: 4px; padding: 1px 7px; letter-spacing: .02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: .01em; line-height: 1; }
.brand-word b { color: var(--amber-ink); font-weight: 700; }
.brand-word small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  text-decoration: none; padding: 8px 10px; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius-sm); width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav nav { display: grid; padding-block: 10px 16px; }
.mobile-nav a:not(.btn) { padding: 11px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .mobile-ctas { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
@media (max-width: 1240px) {
  .nav, .header-actions .btn-demo-h { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { order: 3; }
  .site-header.open .mobile-nav { display: block; }
}
@media (max-width: 560px) { .header-actions { display: none; } .brand-word small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 650; font-size: 1.06rem; letter-spacing: .01em; line-height: 1;
  padding: 13px 20px; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-sm { padding: 9px 14px; font-size: .98rem; }
.btn-checklist { background: var(--amber); color: var(--on-amber); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.btn-checklist:hover { background: #F6B656; }
.btn-demo { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-demo:hover { background: var(--surface-2); }
.btn-contact, .btn-login { background: var(--navy); color: var(--on-navy); }
.btn-contact:hover, .btn-login:hover { filter: brightness(1.08); }
.band .btn-demo { color: var(--band-ink); }
.band .btn-demo:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Bands & sections ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band a:not(.btn) { color: #A9C8F5; }
.band .muted { color: var(--band-muted); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(36px, 5vw, 60px); }
.section + .section { padding-top: 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.alt + .section { padding-top: clamp(48px, 7vw, 88px); }
.section.band + .section { padding-top: clamp(48px, 7vw, 88px); }
.eyebrow {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-ink); display: inline-flex; align-items: center; gap: 8px;
}
.band .eyebrow { color: var(--amber); }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; line-height: 1.55; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.prose { max-width: var(--measure); display: grid; gap: 16px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose h2 { margin-top: 22px; }
.prose h3 { margin-top: 10px; }
.source { font-size: .84rem; font-style: italic; color: var(--muted); }
.band .source { color: var(--band-muted); }
.inline-source { font-size: .84rem; font-style: italic; color: var(--muted); white-space: nowrap; }
.more-link { font-weight: 600; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* compass-rose ornament */
.rose { position: absolute; pointer-events: none; color: var(--band-ink); opacity: .07; }
.rose svg { width: 100%; height: 100%; display: block; }

/* ---------- Page hero (content pages) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px); }
.page-hero .container { position: relative; z-index: 1; display: grid; gap: 18px; }
.page-hero .lead { max-width: 64ch; color: var(--band-ink); opacity: .92; }
.page-hero .rose { width: 560px; height: 560px; right: -160px; top: -150px; }
.crumbs { font-size: .86rem; color: var(--band-muted); }
.crumbs a { color: var(--band-muted); text-decoration: none; }
.crumbs a:hover { color: var(--band-ink); text-decoration: underline; }

/* ---------- Home hero ---------- */
.home-hero { padding-block: clamp(40px, 6vw, 80px); }
.home-hero .rose { width: 760px; height: 760px; left: -260px; bottom: -380px; }
.home-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.home-hero .lead { color: var(--band-ink); opacity: .92; max-width: 58ch; }
.hero-copy { display: grid; gap: 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--band-muted); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
@media (max-width: 900px) { .home-hero .container { grid-template-columns: 1fr; } }

/* ---------- Login card ---------- */
.login-card {
  background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.28);
  padding: clamp(22px, 3vw, 30px); display: grid; gap: 16px; border: 1px solid var(--line);
}
.login-card header { display: flex; align-items: center; gap: 12px; }
.login-card header .lock {
  width: 40px; height: 40px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; color: var(--navy); flex: none;
}
.login-card header .lock svg { width: 22px; height: 22px; }
.login-card h2 { font-size: 1.45rem; }
.login-card .sub { font-size: .9rem; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 12px; width: 100%; min-width: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--navy); }
.login-card .btn-login { width: 100%; padding-block: 14px; }
.login-foot { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.form-msg { font-size: .9rem; border-radius: var(--radius-sm); padding: 10px 12px; background: var(--warn-bg); }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card .tag { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.feature { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--navy); min-width: 0; }
.feature h3 { font-size: 1.18rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { display: grid; gap: 12px; max-width: 70ch; margin-bottom: 32px; }

/* countdown readout */
.readout {
  background: var(--band); color: var(--band-ink); border-radius: 14px; padding: 26px 28px; display: grid; gap: 10px;
  border: 1px solid var(--band-line); box-shadow: inset 0 0 0 6px var(--band-2);
}
.readout .label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); }
.readout .big { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: clamp(3.4rem, 8vw, 5rem); line-height: 1; color: var(--amber); letter-spacing: -.02em; }
.readout .big small { font-size: .28em; color: var(--band-ink); letter-spacing: .1em; margin-left: 8px; }
.readout .rows { display: grid; gap: 6px; border-top: 1px solid var(--band-line); padding-top: 12px; font-size: .92rem; }
.readout .rows div { display: flex; justify-content: space-between; gap: 12px; }
.readout .rows span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* CTA band */
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; }
.cta-band .rose { width: 520px; height: 520px; right: -140px; top: -200px; }
@media (max-width: 820px) { .cta-band .container { grid-template-columns: 1fr; } }

/* link list */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600;
}
.link-list a::after { content: "→"; color: var(--amber-ink); font-weight: 700; }
.link-list a:hover { border-color: var(--navy); }
@media (max-width: 640px) { .link-list { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--font-display); font-weight: 650; font-size: 1rem; background: var(--surface-2); white-space: nowrap; }
td.cite { font-family: var(--font-mono); font-size: .84rem; color: var(--muted); white-space: nowrap; }

/* ---------- Timeline (deadline page) ---------- */
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: tl; }
.timeline li { position: relative; padding: 34px 18px 0 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); border: 3px solid var(--navy); }
.timeline li:last-child::after { background: var(--amber); border-color: var(--amber); }
.timeline .when { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); font-weight: 500; }
.timeline .now-flag { display: none; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; background: var(--amber); color: var(--on-amber); padding: 2px 7px; border-radius: 3px; justify-self: start; }
.timeline li.is-now .now-flag { display: inline-block; }
.timeline li.is-now::after { background: var(--navy); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 22px 34px; }
  .timeline li::before { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .timeline li::after { top: 3px; }
}

/* ---------- Four components (what is SMS) ---------- */
.pillars { display: grid; gap: 10px; margin: 6px 0; }
.pillars .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 4px; min-width: 0; }
.pillar .n { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); letter-spacing: .08em; }
.pillar strong { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.pillar span { font-size: .84rem; color: var(--muted); }
.pillars .base { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-sm); padding: 12px 16px; text-align: center; font-family: var(--font-display); font-weight: 650; }
@media (max-width: 720px) { .pillars .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Report flow (eSMS page) ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.flow li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 6px; align-content: start; position: relative; min-width: 0; }
.flow li .step { font-family: var(--font-mono); font-size: .78rem; color: var(--amber-ink); letter-spacing: .08em; }
.flow li strong { font-family: var(--font-display); font-size: 1.2rem; }
.flow li p { font-size: .94rem; color: var(--muted); }
.flow li:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.4rem; line-height: 1; }
@media (max-width: 980px) { .flow { grid-template-columns: 1fr; } .flow li:not(:last-child)::after { content: none; } }

/* risk matrix */
.matrix-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; max-width: 440px; }
.matrix { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.matrix div { aspect-ratio: 1.35; border-radius: 4px; display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: #10151c; }
.matrix div.pick { outline: 3px solid var(--ink); outline-offset: 1px; }
.axis-y { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.axis-x { grid-column: 2; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; text-align: center; }

/* report mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .86rem; }
.mock-bar .id { font-family: var(--font-mono); color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock-kv { display: grid; gap: 2px; background: var(--bg); border-radius: var(--radius-sm); padding: 9px 11px; min-width: 0; }
.mock-kv span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock-kv b { font-family: var(--font-mono); font-size: .92rem; font-weight: 500; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--amber-ink); }
.autofill { font-size: .74rem; color: var(--ok); font-weight: 600; }

/* ---------- Checklist ---------- */
.checklist-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .checklist-layout { grid-template-columns: 1fr; } .progress-card { position: static !important; } }
.progress-card { position: sticky; top: 96px; display: grid; gap: 14px; }
.meter { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .25s ease; }
.progress-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 600; }
.cl-section { display: grid; gap: 10px; padding-top: 28px; }
.cl-section:first-child { padding-top: 0; }
.cl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cl-count { font-family: var(--font-mono); font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cl-count.done { color: var(--ok); }
ul.checklist { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
ul.checklist li { border-bottom: 1px solid var(--line); }
ul.checklist li:last-child { border-bottom: 0; }
ul.checklist label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 16px; cursor: pointer; align-items: start; }
ul.checklist input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ok); cursor: pointer; }
ul.checklist input:checked + span { color: var(--muted); }
.cond { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--warn-bg); color: var(--amber-ink); padding: 2px 7px; border-radius: 3px; vertical-align: 2px; margin-left: 6px; }
.contact-box { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; background: var(--surface); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 220px; min-width: 0; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item h2, .faq-item h3 { font-size: 1.22rem; }
.faq-item h2 button, .faq-item h3 button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 18px 20px; font-family: var(--font-display); font-weight: 650; line-height: 1.25;
}
.faq-item button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; border-radius: var(--radius); }
.faq-item button::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--amber-ink); flex: none; transition: transform .15s ease; }
.faq-item button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 20px; display: grid; gap: 12px; }
.js .faq-a[hidden] { display: none !important; }

/* ---------- Support ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.big-contact { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.optional { font-weight: 400; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--band-muted); font-size: .94rem; padding-block: 56px 28px; }
.site-footer .container { display: grid; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: .8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--band-ink); text-decoration: underline; }
.site-footer .brand { color: var(--band-ink); }
.site-footer .brand-word small { color: var(--band-muted); }
.site-footer .brand-word b { color: var(--amber); }
.foot-base { border-top: 1px solid var(--band-line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; }

/* ---------- Stand-alone login page ---------- */
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.login-page .rose { width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -42%); opacity: .06; }
.login-header .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.login-header .brand { color: var(--band-ink); }
.login-header .brand-word b { color: var(--amber); }
.login-header .brand-word small { color: var(--band-muted); }
.login-header nav { display: flex; gap: 8px; }
.login-main { display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); position: relative; z-index: 1; }
.login-main .login-card { width: 100%; max-width: 420px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .btn:hover { transform: none; } }

/* fixes */
.login-card h1, .login-card h2 { font-size: 1.45rem; }
.band .login-card a:not(.btn) { color: var(--link); }
.login-header .btn-demo { color: var(--band-ink); }
.login-header .btn-demo:hover { background: rgba(255,255,255,.08); }
.section + .section.alt { padding-top: clamp(48px, 7vw, 88px); }

/* ---------- Light / dark switch ---------- */
.theme-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: block; } .theme-toggle .i-sun { display: none; }
:root[data-site-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-site-theme="dark"] .theme-toggle .i-sun { display: block; }
@media (max-width: 1240px) { .site-header .theme-toggle { margin-left: auto; order: 2; } .site-header .nav-toggle { margin-left: 0; order: 4; } }
.login-header .theme-toggle { color: var(--band-ink); border-color: var(--band-line); }
.login-header .theme-toggle:hover { background: rgba(255,255,255,.08); }

/* ---------- Live chat ---------- */
.link-btn { all: unset; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.site-footer .link-btn { color: var(--band-muted); text-decoration: none; }
.site-footer .link-btn:hover { color: var(--band-ink); text-decoration: underline; }
.chat-launcher {
  position: fixed; z-index: 70;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy); color: var(--on-navy); font-family: var(--font-display); font-weight: 650; font-size: 1.02rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.chat-launcher svg { width: 22px; height: 22px; }
.chat-launcher:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .chat-launcher span { display: none; } .chat-launcher { padding: 14px; } }
.chat-panel {
  position: fixed; z-index: 71; width: min(340px, calc(100vw - 32px));
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.chat-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--band); color: var(--band-ink); font-family: var(--font-display); font-size: 1.1rem; }
.chat-close { all: unset; cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 0 4px; }
.chat-close:focus-visible { outline: 2px solid var(--amber); }
.chat-panel-body { padding: 16px; display: grid; gap: 8px; font-size: .94rem; }
.chat-opt { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.chat-opt span { color: var(--muted); font-size: .84rem; }
.chat-opt b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.chat-opt:hover { border-color: var(--navy); }
.contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }

a[href^="tel:"] { white-space: nowrap; }
.site-header .container { gap: 14px; }

/* ---------- Logo ---------- */
.brand { line-height: 0; }
.brand svg.logo { height: 56px; width: auto; display: block; }
.site-header .container { min-height: 76px; }
.site-footer .brand svg.logo { height: 56px; }
.login-header .brand svg.logo { height: 60px; }
@media (max-width: 560px) { .brand svg.logo { height: 48px; } }
.hours { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: .95rem; padding-top: 4px; border-top: 1px solid var(--line); }
.chat-opt small { font-size: .74rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* live chat status */
.chat-status { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.chat-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.chat-status.is-online { color: var(--ok); }
.chat-status.is-online i { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); animation: chat-pulse 2s ease-out infinite; }
.chat-status:hover span { text-decoration: underline; text-underline-offset: 3px; }
.chat-status:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
@keyframes chat-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.mobile-nav .mobile-ctas .btn { border-bottom: 0; }
.nowrap { white-space: nowrap; }

/* anonymous reporting link in login boxes */
.anon-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.anon-link svg { width: 18px; height: 18px; color: var(--amber-ink); flex: none; }
.anon-link:hover { border-color: var(--navy); background: var(--surface-2); }
.login-card a.anon-link, .band .login-card a.anon-link { color: var(--ink); }

/* ---------- 404 ---------- */
.nf-hero .rose { width: 640px; height: 640px; right: -120px; top: -180px; }
.nf-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.nf-code { display: flex; justify-content: center; gap: .06em; font-family: var(--font-mono); font-weight: 600; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.nf-zero { display: inline-block; position: relative; color: transparent; width: .62em; }
.nf-zero::before { content: ""; position: absolute; inset: .12em .02em; border: .09em solid var(--amber); border-radius: 50%; }
.nf-zero::after { content: ""; position: absolute; left: 50%; top: 50%; width: .06em; height: .27em; background: var(--band-ink); border-radius: 2px; transform-origin: 50% 0; transform: translate(-50%, 0) rotate(-135deg); animation: nf-needle 4s ease-in-out infinite alternate; }
@keyframes nf-needle { from { transform: translate(-50%, 0) rotate(-150deg); } to { transform: translate(-50%, 0) rotate(-100deg); } }
.nf-path { font-size: .92rem; color: var(--band-muted); }
.nf-path code { font-family: var(--font-mono); color: var(--band-ink); overflow-wrap: anywhere; }
@media (max-width: 760px) { .nf-grid { grid-template-columns: 1fr; } .nf-code { justify-content: flex-start; font-size: 5rem; order: -1; } }

/* ---------- Password reset ---------- */
.rs-step { display: grid; gap: 16px; }
.rs-step:focus { outline: none; }
.rs-text { font-size: .95rem; color: var(--muted); }
.rs-notes { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--link); font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 8px; cursor: pointer; border-radius: 4px; }
.rs-rules { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; color: var(--muted); }
.rs-rules li { display: flex; align-items: center; gap: 8px; }
.rs-rules li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; box-sizing: border-box; }
.rs-rules li.ok { color: var(--ok); }
.rs-rules li.ok::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px var(--surface); }
.login-card .btn-login[href] { text-align: center; }

/* ---------- Legal ---------- */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-tabs { display: none; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 32px; }
.js .legal-tabs { display: flex; }
.legal-tab {
  font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; color: var(--muted); background: none; border: 0;
  padding: 12px 16px; margin-bottom: -2px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; position: relative;
}
.legal-tab:hover { color: var(--ink); }
.legal-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber); }
.legal-tab:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; border-radius: 4px; }
.legal-panel + .legal-panel { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.js .legal-panel + .legal-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-panel:focus { outline: none; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: .9rem; }
.legal-toc summary { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; margin-bottom: 10px; list-style: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--navy); }
.legal-doc { max-width: 74ch; display: grid; gap: 14px; font-size: 1rem; }
.legal-head { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.legal-meta { font-family: var(--font-mono); font-size: .84rem; color: var(--muted); }
.legal-doc h3 { font-size: 1.22rem; margin-top: 18px; scroll-margin-top: 100px; }
.legal-doc ul { margin: 0; padding-left: 1.25em; display: grid; gap: 10px; }
.legal-doc p, .legal-doc li { overflow-wrap: anywhere; }
.legal-important { background: var(--warn-bg); border-left: 4px solid var(--amber); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-address { font-style: normal; display: grid; gap: 2px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
  .legal-toc summary { margin-bottom: 0; }
  .legal-toc details[open] summary { margin-bottom: 10px; }
}
@media print {
  .deadline-bar, .site-header, .site-footer, .chat-launcher, .chat-panel, .page-hero, .legal-tabs, .legal-toc { display: none !important; }
  .legal-layout { display: block; }
  body { background: #fff; color: #000; }
}
.legal-tab .tab-short { display: none; }
@media (max-width: 600px) {
  .legal-tab { flex: 1; padding-inline: 8px; }
  .legal-tab .tab-long { display: none; }
  .legal-tab .tab-short { display: inline; }
}
@media (max-width: 900px) {
  .legal-toc summary { display: flex; justify-content: space-between; align-items: center; }
  .legal-toc summary::after { content: "+"; font-size: 1.2rem; color: var(--amber-ink); line-height: 1; }
  .legal-toc details[open] summary::after { content: "–"; }
}

/* reCAPTCHA box on the website forms (CI build). Google draws it at a fixed 304 × 78 px,
   so it is shrunk on narrow phones to stay inside the form. */
.g-recaptcha { flex-basis: 100%; max-width: 100%; min-width: 0; }
@media (max-width: 400px) {
  .g-recaptcha { width: 250px; height: 64px; overflow: hidden; }   /* 304 × .82; the width keeps grid/flex parents from sizing to 304px */
  .g-recaptcha > div { transform: scale(.82); transform-origin: 0 0; }
}
