/* ==========================================================================
   Handled — site styles
   Layout: one centered 1180px column; full-width colored bands carry their
   own inner .wrap. Display type = Bricolage Grotesque, body = Atkinson
   Hyperlegible (designed for low-vision legibility, fits our audience).
   ========================================================================== */

:root {
  /* Color — light */
  --bg: #F7FAF9;
  --surface: #FFFFFF;
  --sunk: #EAF3F1;
  --ink: #10213A;
  --muted: #46566B;
  --line: #D6E0DE;
  --accent: #0F766E;
  --accent-hover: #0B5D57;
  --accent-ink: #FFFFFF;
  --accent-soft: #D5EDE9;
  --highlight: #F5C451;
  --highlight-ink: #2E2100;
  --band: #10213A;
  --band-surface: #1A2E4C;
  --band-ink: #EEF3F9;
  --band-muted: #BAC7D7;
  --ok: #157A3C;
  --wait: #9A4A06;
  --focus: #F5C451;

  /* Type */
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.1rem);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 33, 58, .06), 0 10px 30px rgba(16, 33, 58, .08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1626;
    --surface: #122036;
    --sunk: #17283F;
    --ink: #E7EEF6;
    --muted: #A9B7C9;
    --line: #26394F;
    --accent: #3BC2B2;
    --accent-hover: #5FD3C5;
    --accent-ink: #06201D;
    --accent-soft: #123B3A;
    --highlight: #F5C451;
    --highlight-ink: #2E2100;
    --band: #07101C;
    --band-surface: #13233A;
    --band-ink: #E7EEF6;
    --band-muted: #A9B7C9;
    --ok: #5BD98A;
    --wait: #F2B65A;
    --focus: #F5C451;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1626;
  --surface: #122036;
  --sunk: #17283F;
  --ink: #E7EEF6;
  --muted: #A9B7C9;
  --line: #26394F;
  --accent: #3BC2B2;
  --accent-hover: #5FD3C5;
  --accent-ink: #06201D;
  --accent-soft: #123B3A;
  --highlight: #F5C451;
  --highlight-ink: #2E2100;
  --band: #07101C;
  --band-surface: #13233A;
  --band-ink: #E7EEF6;
  --band-muted: #A9B7C9;
  --ok: #5BD98A;
  --wait: #F2B65A;
  --focus: #F5C451;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }
p, li { max-width: 68ch; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.sunk { background: var(--sunk); }
.band { background: var(--band); color: var(--band-ink); }
.band p, .band li { color: var(--band-muted); }
.band h2, .band h3 { color: var(--band-ink); }
.band a:not(.btn) { color: var(--highlight); }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.band .eyebrow { color: var(--highlight); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--body); font-size: var(--step-0); font-weight: 700;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-highlight { background: var(--highlight); color: var(--highlight-ink); }
.btn-highlight:hover { background: var(--band-ink); color: var(--band); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px;
  color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 8px;
}
.site-nav a:not(.btn):hover { background: var(--sunk); color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.site-nav .btn { margin-left: 8px; min-height: 44px; }
.hiring-pill {
  font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--highlight); color: var(--highlight-ink); padding: 2px 8px; border-radius: 999px;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav[data-open="false"] { display: none; }
  .site-nav ul {
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .site-nav .btn { margin: 8px 0 0; }
}
@media (min-width: 881px) { .site-nav[data-open] { display: block; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--highlight) 62%, var(--highlight) 92%, transparent 92%); padding-inline: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 .mark { background: none; color: var(--highlight); } }
:root[data-theme="dark"] .hero h1 .mark { background: none; color: var(--highlight); }
.contact-modes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; list-style: none; }
.contact-modes li { font-size: var(--step--1); font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(44px, 6vw, 80px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.5rem); max-width: 18ch; }

/* ---------- Task ticket (signature component) ---------- */
.ticket {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden;
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px dashed var(--line); }
.ticket-id { font-variant-numeric: tabular-nums; font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.ticket-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.ticket-title { padding: 18px 22px 6px; font-family: var(--display); font-size: var(--step-1); font-weight: 700; }
.ticket-from { padding: 0 22px 14px; color: var(--muted); font-size: var(--step--1); }
.timeline { list-style: none; margin: 0; padding: 4px 22px 18px; display: flex; flex-direction: column; }
.timeline li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; padding-block: 10px; align-items: start; max-width: none; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 30px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); margin-top: 3px; position: relative; z-index: 1; }
.dot.done { background: var(--accent); }
.dot.wait { border-color: var(--wait); }
.timeline time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--step--1); white-space: nowrap; }
.timeline strong { display: block; }
.timeline span.note { color: var(--muted); font-size: var(--step--1); }
.ticket-summary { margin: 0 22px 22px; padding: 14px 16px; background: var(--sunk); border-radius: var(--radius-sm); font-size: var(--step--1); }
.ticket-summary b { display: block; margin-bottom: 4px; }

/* ---------- Path chooser ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.path {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px);
  border-radius: 18px; text-decoration: none; border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.path:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.path.alt { background: var(--band); border-color: var(--band); color: var(--band-ink); }
.path.alt:hover { border-color: var(--highlight); color: var(--band-ink); }
.path.alt p { color: var(--band-muted); }
.path h2 { font-size: var(--step-2); }
.path p { color: var(--muted); }
.path .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.path.alt .go { color: var(--highlight); }
@media (max-width: 720px) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card p { color: var(--muted); }
.band .card { background: var(--band-surface); border-color: transparent; }
.band .card p { color: var(--band-muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.icon svg { width: 22px; height: 22px; }
.band .icon { background: rgba(245, 196, 81, .14); color: var(--highlight); }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Lists */
.check-list, .x-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li, .x-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.check-list li::before, .x-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--accent-soft) center / 14px no-repeat;
}
.check-list li::before { background-color: var(--accent); -webkit-mask: none; }
.check-list li::before { background-image: url("data:image/svg+xml,%3Csvg 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'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-list li::before { background-color: var(--muted); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* ---------- Numbered steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps > li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; max-width: none; }
.steps > li::before {
  content: counter(step);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.band .steps > li::before { background: var(--highlight); color: var(--highlight-ink); }
.steps p { color: var(--muted); }
.band .steps p { color: var(--band-muted); }

/* Long-form vertical walkthrough */
.walk { list-style: none; margin: 0; padding: 0; counter-reset: walk; display: flex; flex-direction: column; }
.walk > li {
  counter-increment: walk; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px;
  padding-bottom: 36px; max-width: none;
}
.walk > li::before {
  content: counter(walk);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); position: relative; z-index: 1;
}
.walk > li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.walk > li:last-child::after { display: none; }
.walk > li:last-child { padding-bottom: 0; }
.walk-body { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; min-width: 0; }
.walk-body p { color: var(--muted); }
.walk-body ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.tip { margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sunk); font-size: var(--step--1); color: var(--ink); }
.tip b { color: var(--accent); }

/* ---------- ASL video placeholder ---------- */
.asl {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  border: 2px dashed var(--line); background: var(--surface); max-width: 560px;
}
.asl .play { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.asl .play svg { width: 20px; height: 20px; }
.asl p { font-size: var(--step--1); color: var(--muted); }
.asl strong { color: var(--ink); display: block; font-size: var(--step-0); }

/* ---------- Status chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: var(--step--1); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chip.wait i { background: var(--wait); }
.chip.ok i { background: var(--ok); }
.chip.new i { background: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { font-family: var(--body); font-size: var(--step-0); font-weight: 400; color: var(--muted); }
.plan .check-list { flex-grow: 1; font-size: var(--step--1); }
.plan-flag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); padding: 4px 10px; border-radius: 999px; }

/* ---------- Callout ---------- */
.callout { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: var(--sunk); }
.callout > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.callout p { color: var(--muted); }

/* ---------- Roles (careers) ---------- */
.roles { display: flex; flex-direction: column; gap: 20px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.role-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; padding: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.role-head > div { display: flex; flex-direction: column; gap: 10px; flex: 1 1 420px; min-width: 0; }
.role-head h3 { font-size: var(--step-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.facts li { font-size: var(--step--1); font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--sunk); }
.role-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: clamp(22px, 3vw, 32px); }
.role-body h4 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.role-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .role-body { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.faq-tools input { flex: 1 1 280px; min-width: 0; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a { font-weight: 700; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); }
.faq-jump a:hover { border-color: var(--accent); color: var(--ink); }
.faq-group { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; scroll-margin-top: 100px; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 6px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 4px; font-weight: 700; font-size: var(--step-1); font-family: var(--body);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--accent);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); flex: none;
}
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding: 0 4px 22px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.faq-empty { padding: 20px; border-radius: var(--radius); background: var(--sunk); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, fieldset legend { font-weight: 700; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; min-height: 120px; }
input[type="file"] { font: inherit; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--bg); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: var(--step--1); color: var(--muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.form-status.ok { background: var(--accent-soft); color: var(--ink); }
.form-status.err { background: var(--sunk); color: var(--wait); }
.req { color: var(--wait); }

/* Contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list b { display: block; }
.contact-list span { color: var(--muted); user-select: all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 56px 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer .brand { color: var(--band-ink); }
.site-footer h3 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--band-ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--highlight); text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--band-surface); display: flex; flex-direction: column; gap: 8px; font-size: var(--step--1); }
.footer-legal p { max-width: none; }

/* Logo */
.bm-bg { fill: var(--accent); }
.bm-fg { fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linejoin: round; }
.bm-check { fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 861px) { .sticky-col { position: sticky; top: 110px; } }

/* Legal pages */
.legal h3 { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.legal p { color: var(--muted); }

/* Contact values people may copy */
.copy { font-weight: 700; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.contact-list .note-text { user-select: auto; }

/* Utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.center-cta p { margin-inline: auto; }
.placeholder { background: var(--highlight); color: var(--highlight-ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* PocketBase team profiles and site branding */
.brand-logo { display:block; max-width:180px; max-height:52px; width:auto; height:auto; object-fit:contain; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1.25rem; }
.team-card { padding:1.5rem; border:1px solid var(--border, #d9d9d9); border-radius:16px; background:var(--surface, #fff); }
.team-card img, .team-avatar { width:88px; height:88px; border-radius:50%; object-fit:cover; margin-bottom:1rem; }
.team-avatar { display:grid; place-items:center; background:#e4eee8; color:#193b31; font-weight:700; font-size:1.5rem; }
.team-card h3 { margin:0 0 .25rem; }
.team-position { font-weight:700; }
