/* One stylesheet for site + app. Mobile-first; fluid sizes; 375px floor; no fixed widths; big targets for gloves and sun. */
:root {
  --bg: #f6fafb; --card: #ffffff; --ink: #0f172a; --muted: #5b6b7c; --line: #dbe5ea;
  --brand: #0e7490; --brand-ink: #ffffff; --brand-soft: #e0f2f6; --accent: #f59e0b;
  --ok: #15803d; --ok-soft: #dcfce7; --warn: #b45309; --warn-soft: #fef3c7; --bad: #b91c1c; --bad-soft: #fee2e2;
  --radius: 12px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --pad: clamp(12px, 4vw, 24px); --max: 1080px;
  /* shared design tokens (2026-10-24): homepage, console and app all read these */
  --night: #06182a; --deep: #0a3c5a; --cyan: #22d3ee;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --shadow-lift: 0 2px 4px rgba(6, 24, 42, .08), 0 14px 32px rgba(6, 24, 42, .14);
  --glow: 0 0 0 1px rgba(34, 211, 238, .35), 0 8px 28px rgba(34, 211, 238, .18);
  --ring: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  /* Clarity pass (2026-10-26): the visible edge around every listed item (quote, invoice, payment, stop, customer, line) so
     nothing runs into the next thing outdoors. Darker than --line on purpose. */
  --edge: #5b7083; --edge-w: 2px; --item-gap: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1418; --card: #12202a; --ink: #e6f0f3; --muted: #9db0bb; --line: #23343f; --brand: #22a5c4;
    --brand-soft: #123441; --ok-soft: #0f2e1c; --warn-soft: #33270b; --bad-soft: #3a1414; --ok: #4ade80; --warn: #fbbf24; --bad: #f87171; --edge: #93a9bb; }
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html, body { max-width: 100vw; overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; font-size: clamp(15px, 1.2vw + 11px, 17px); }
a { color: var(--brand); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 6vw, 48px); letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 4vw, 32px); }
h3 { font-size: clamp(17px, 2.4vw, 20px); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.small { font-size: .875em; }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; flex-shrink: 0; font-size: 1.1em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #22d3ee, var(--brand)); display: grid; place-items: center; color: #fff; font-size: 16px; }
.nav { display: flex; gap: 4px 14px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 460px) { .nav { flex: 1 1 100%; margin-left: 0; padding-bottom: 8px; justify-content: space-between; } }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 18px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-ink); min-height: 52px; text-align: center; }
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: var(--brand-soft); color: var(--brand); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.big { padding: 16px 22px; font-size: 1.15em; min-height: 62px; }
.btn .ico { font-size: 1.3em; line-height: 1; }
.btn.block { width: 100%; }
.btn.sm { min-height: 48px; padding: 8px 14px; font-size: .95em; } /* 48px floor: gloves, wet fingers */
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1 1 auto; }
label { display: block; font-weight: 600; margin: 10px 0 4px; font-size: .95em; }
input, select, textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); min-height: 48px; }
/* A quick second tap on a button must be a tap, not a zoom (iPhone double-tap zoom shrank the page under a button). */
html, body, button, .btn, a, input, select, textarea, label, summary, [role=button] { touch-action: manipulation; }
/* iPhone date/time boxes keep their own minimum width and stick out of narrow columns (autopay "Or until", "First billing day"):
   let them shrink to the column like every other box, with the date on the left. */
input[type=date], input[type=time], input[type=datetime-local], input[type=month] { min-width: 0; max-width: 100%; box-sizing: border-box; display: block; -webkit-appearance: none; appearance: none; text-align: left; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value, input[type=datetime-local]::-webkit-date-and-time-value { text-align: left; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 1px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr)); gap: 0 10px; }

/* cards + sections */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
section { padding: clamp(36px, 8vw, 80px) 0; }
.hero { padding-top: clamp(28px, 7vw, 72px); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 46ch; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 12px; left: var(--pad); width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.price { font-size: clamp(30px, 5vw, 40px); font-weight: 800; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .8em; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.bad { background: var(--bad-soft); color: var(--bad); }
.note { border-left: 4px solid var(--accent); background: var(--warn-soft); padding: 10px 14px; border-radius: 8px; }
.alert { padding: 10px 14px; border-radius: 10px; margin: 8px 0; }
.alert.ok { background: var(--ok-soft); color: var(--ok); } .alert.bad { background: var(--bad-soft); color: var(--bad); } .alert.warn { background: var(--warn-soft); color: var(--warn); }
ul.check { list-style: none; padding: 0; margin: 0; } ul.check li { padding-left: 26px; position: relative; margin: 6px 0; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9em; }
footer .wrap { display: flex; gap: 10px 20px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: .92em; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }

/* app shell */
.app-top .wrap { min-height: 52px; }
.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.app-tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 10px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; min-height: 64px; justify-content: center; }
.app-tabs a .lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tabs a .ico { font-size: 26px; line-height: 1; }
.app-tabs a.active { color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); background: var(--brand-soft); }
.app-main { min-height: calc(100dvh - 120px); padding: 14px 0 calc(110px + env(safe-area-inset-bottom)); }
.next-card { border: 2px solid var(--brand); }
.next-card .who { font-size: clamp(20px, 5vw, 26px); font-weight: 800; }
.stop { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stop .num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px; }
.stop.done .num { background: var(--ok-soft); color: var(--ok); } .stop.skipped .num { background: var(--warn-soft); color: var(--warn); }
.stop .body { flex: 1 1 auto; min-width: 0; }
.stop .acts { flex-shrink: 0; display: flex; gap: 6px; }
.stop.done .who, .stop.skipped .who { text-decoration: line-through; color: var(--muted); }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: var(--ok); }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 50; width: max-content; max-width: calc(100% - 32px); }
dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); background: var(--card); color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .45); }
dialog .dlg { padding: var(--pad); overflow-y: auto; max-height: calc(100dvh - 24px); }
/* Every pop-up sheet gets a close X in its top corner that stays put while the sheet scrolls (the only Close used to be
   halfway down a long form). It sits outside the scrolling body; titles leave room for it. */
dialog#dlg { position: fixed; }
.dlg-x-form { margin: 0; }
.dlg-x { position: absolute; top: max(8px, env(safe-area-inset-top)); right: 8px; z-index: 5; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
dialog#dlg .dlg > :first-child { padding-right: 44px; }
.dlg-x::before { content: '\2715'; }
.kb article { max-width: 72ch; }
.kb article h2 { margin-top: 1.4em; }
.formula { font-family: ui-monospace, Consolas, monospace; background: var(--brand-soft); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.result { font-size: 1.15em; font-weight: 800; color: var(--brand); }
@media (max-width: 360px) { .btn { padding: 10px 12px; } .stop .acts .btn { padding: 6px 10px; } }

/* language toggle: big, always visible, never hidden on phones */
.lang-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; min-width: 64px; padding: 6px 12px;
  border-radius: 999px; border: 2px solid var(--brand); background: var(--card); color: var(--brand); font: inherit; font-weight: 800; cursor: pointer; }
[data-lang-toggle] { flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"], .chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.chip .x { font-weight: 800; }
.daybar { display: grid; grid-template-columns: 4.5em 1fr auto; gap: 8px; align-items: center; margin: 6px 0; }
.daybar .bar { height: 14px; border-radius: 7px; background: var(--line); overflow: hidden; }
.daybar .bar > div { height: 100%; background: var(--brand); }
.daybar .bar > div.long { background: var(--warn); }
.sug { border-left: 5px solid var(--ok); }
.big-num { font-size: 1.5em; font-weight: 800; color: var(--ok); }
.stepper { display: flex; gap: 6px; margin: 4px 0 14px; }
.stepper span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.stepper span.on { background: var(--brand); }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: min(260px, 100%); margin: 0 auto; }
.qr svg { width: 100%; height: auto; display: block; }
.arrived { background: var(--ok-soft); color: var(--ok); }

/* ---- phone-first field app (2026-10-06) ---- */
.logo-img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.plan-badge { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { flex-shrink: 0; min-width: 48px; min-height: 48px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); font-size: 20px; cursor: pointer; }
.icon-btn[aria-pressed="true"] { border-color: var(--ink); }
[data-sun-toggle] { flex-shrink: 0; }

.btn.icon-only { min-width: 48px; padding: 8px; }
.stop .acts { align-items: center; }
.next-card .addr { font-size: 1.05em; }
.next-card .note { font-size: 1em; }
.next-label { letter-spacing: .04em; font-weight: 700; }
.route-top { margin: 0 0 12px; }
.progress-label { margin-bottom: 6px; }
.check-row { display: flex; align-items: center; gap: 12px; font-weight: 600; min-height: 48px; margin: 8px 0; cursor: pointer; }
.check-row input { width: 28px; min-height: 28px; height: 28px; flex: 0 0 auto; }
.sync-bar { background: var(--warn-soft); color: var(--warn); border-bottom: 1px solid var(--line); }
.sync-row, .install-row { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; font-weight: 600; }
.sync-row > span { flex: 1 1 160px; }
.install-row { flex-wrap: nowrap; }
.install-row > span { flex: 1 1 auto; font-size: .92em; line-height: 1.3; }
.install-bar { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 9; background: var(--card); border-top: 2px solid var(--brand); box-shadow: 0 -4px 16px rgba(15, 23, 42, .12); }
.install-row img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.install-row .btn { flex: 0 0 auto; }
/* visit sheet: full height on phones, big inputs, sticky finish button */
@media (max-width: 760px) { dialog { width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; } dialog .dlg { max-height: 100dvh; } }
.visit .visit-head { position: sticky; top: calc(-1 * var(--pad)); background: var(--card); padding: 4px 0 8px; z-index: 2; border-bottom: 1px solid var(--line); }
.step-h { margin: 16px 0 6px; font-size: 1.05em; color: var(--brand); }
.read-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 8px 10px; }
.read-cell { margin: 0; font-size: .92em; }
.read-cell span { display: block; margin-bottom: 4px; }
.read-cell input { font-size: 1.35em; font-weight: 700; text-align: center; min-height: 56px; }
.dose-panel { border: 2px solid var(--brand); border-radius: var(--radius); padding: 12px 14px; background: var(--brand-soft); color: var(--ink); }
.dose-panel.ok { border-color: var(--ok); background: var(--ok-soft); }
.dose-panel.muted { border-style: dashed; background: transparent; color: var(--muted); }
.dose-steps { margin: 8px 0; padding-left: 22px; }
.dose-steps li { margin: 8px 0; font-size: 1.05em; font-weight: 600; }
.dose-steps li > span { display: block; overflow-wrap: anywhere; }
.dose-steps li .btn { margin-top: 6px; }
details { margin: 10px 0; }
details > summary { min-height: 48px; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; padding: 4px 0; }
.photo-btn { flex: 1 1 160px; }
.thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; }
.sticky-actions { position: sticky; bottom: calc(-1 * var(--pad)); background: var(--card); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 8px; border-top: 1px solid var(--line); z-index: 2; }
.sticky-actions .btn.big { padding: 12px 14px; font-size: 1.05em; }

/* Sun mode: black on white, thick lines, darker teal; also when the phone asks for more contrast. Forces light. */
:root[data-contrast="high"] {
  color-scheme: light;
  --bg: #ffffff; --card: #ffffff; --ink: #000000; --muted: #1f2937; --line: #334155;
  --brand: #075063; --brand-ink: #ffffff; --brand-soft: #d9f0f5; --accent: #b45309;
  --ok: #065f2c; --ok-soft: #d1fadf; --warn: #7c2d12; --warn-soft: #fde68a; --bad: #7f1d1d; --bad-soft: #fecaca;
  --shadow: none; --edge: #0b0f14; --edge-w: 2.5px;
}
:root[data-contrast="high"] body { font-weight: 500; }
:root[data-contrast="high"] .card { border-width: var(--edge-w); border-color: var(--edge); }
:root[data-contrast="high"] input, :root[data-contrast="high"] select, :root[data-contrast="high"] textarea,
:root[data-contrast="high"] .btn.ghost, :root[data-contrast="high"] .app-tabs { border-width: 2px; border-color: var(--line); }
:root[data-contrast="high"] .app-tabs a { color: #111827; }
:root[data-contrast="high"] .app-tabs a.active { color: #ffffff; background: var(--brand); }
@media (prefers-contrast: more) {
  :root:not([data-contrast]) { --ink: #000000; --muted: #1f2937; --line: #334155; --brand: #075063; --edge: #0b0f14; --edge-w: 2.5px; }
}
.badge:empty { display: none; }
.badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; } /* long climate labels wrap on 360px instead of running off-screen */

/* ---------- Marketing site (body.site): brand kit type, hero, sections. Scoped so the app is untouched. ---------- */
/* Bricolage Grotesque Bold (SIL OFL 1.1, public/fonts/OFL-bricolage-grotesque.txt) for headings only. Preloaded and
   font-display: optional, so it never shifts the layout: if it is not ready for the first paint, that visit keeps the
   system font. Body text stays the fast system font. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-bold-v1.ttf") format("truetype"); font-weight: 700 800; font-display: optional; }
.site h1, .site h2, .site .logo, .site .price, .site .btn.big { font-family: var(--display); }
.site h1 { font-size: clamp(30px, 7.2vw, 54px); line-height: 1.08; letter-spacing: -.025em; }
.site h2 { font-size: clamp(24px, 4.6vw, 36px); letter-spacing: -.015em; }
.site h3 { font-size: clamp(17px, 2.2vw, 19px); }
.site .logo img { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
.site .lead { font-size: clamp(17px, 2.3vw, 20px); max-width: 52ch; }
.site a:focus-visible, .site summary:focus-visible, .site button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 30; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
.site .nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site a.lang-btn { text-decoration: none; }
.site .wrap.narrow, .site .narrow { max-width: 760px; }
.site .page { padding-top: 16px; padding-bottom: 48px; }
.site .band { background: color-mix(in srgb, var(--brand-soft) 55%, var(--bg)); }
.crumbs { margin: 0 0 12px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* hero */
.hero-grid { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.hero .badge { margin: 0 0 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; max-width: 620px; }
.cta-row > * { flex: 1 1 220px; }
.trust { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.ico-sm { width: 18px; height: 18px; flex-shrink: 0; color: var(--ok); }
.mock { margin: 0; }
.mock-phone { background: linear-gradient(160deg, var(--night, #06182a), var(--deep, #0a3c5a)); border-radius: 28px; padding: 14px; box-shadow: 0 20px 50px rgba(6, 24, 42, .25); max-width: 380px; margin: 0 auto; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; color: #f0f9ff; padding: 6px 8px 12px; font-family: var(--display); font-size: 1.1em; }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-stop { display: flex; align-items: center; gap: 10px; background: #ffffff; color: #0f172a; border-radius: 14px; padding: 12px; }
.mock-stop .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e0f2f6; color: #0e7490; font-weight: 800; flex-shrink: 0; }
.mock-stop.done { opacity: .78; } .mock-stop.done .num { background: #dcfce7; } .mock-stop.done .ico-sm { color: #15803d; }
.mock-stop.next { outline: 3px solid var(--cyan, #22d3ee); }
.mock-stop .who { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.mock-stop .muted { color: #475569; }
.mock-go { display: inline-flex; align-items: center; gap: 4px; background: #0e7490; color: #fff; border-radius: 10px; padding: 8px 10px; font-weight: 700; font-size: .9em; white-space: nowrap; }
.mock-go .ico-sm { color: #fff; width: 16px; height: 16px; }
.mock figcaption { text-align: center; margin-top: 8px; }

/* sections */
.site ol.steps { list-style: none; padding: 0; margin: 0; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 10px; }
.more-link { margin-top: 18px; font-weight: 600; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 8px; }
.plan { display: flex; flex-direction: column; }
.plan .check { flex: 1 1 auto; margin-bottom: 16px; }
.plan-pop { border: 2px solid var(--brand); }
.plan .price { margin: 4px 0 8px; }
.examples { width: 100%; max-width: 520px; border-collapse: collapse; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.examples th, .examples td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.examples th:not(:first-child), .examples td:not(:first-child) { text-align: right; }
.compare { margin-top: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; margin: 10px 0; }
.faq summary { list-style: none; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05em; }
.faq summary::after { content: "+"; font-size: 1.5em; font-weight: 700; color: var(--brand); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 4px 0 14px; }
.cta-band { background: linear-gradient(135deg, var(--night, #06182a), var(--deep, #0a3c5a)); color: #f0f9ff; }
.cta-band p { color: #c7dceb; }
.btn.light { background: #22d3ee; color: #06182a; }
.cta-card { margin-top: 24px; background: var(--brand-soft); border-color: transparent; }
.cols2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 20px 0; }
.cols2 h2, .cta-card h2 { font-size: clamp(20px, 3.4vw, 26px); }
.calc-slot { min-height: 1180px; }
@media (min-width: 640px) { .calc-slot { min-height: 960px; } }
.calc h2.calc-sub { font-size: clamp(17px, 2.2vw, 20px); margin-top: 8px; font-family: inherit; }
.guide-card { text-decoration: none; color: inherit; display: block; }
.guide-card h2 { font-size: clamp(17px, 2.2vw, 20px); color: var(--brand); }
.guide-card:hover { border-color: var(--brand); }
.kb article { max-width: 72ch; }

/* footer */
.site footer .foot { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.foot-links a:not(.lang-btn) { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 0; }
.foot-brand p { margin: 6px 0 0; }
.foot-brand .foot-social { display: flex; gap: 8px; margin-top: 10px; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--line); transition: background .15s, color .15s; }
.foot-social a:hover, .foot-social a:focus-visible { background: var(--ink); color: #fff; }

@media (prefers-color-scheme: dark) {
  :root:not([data-contrast]) .site .btn:not(.secondary):not(.ghost):not(.light) { color: #06182a; }
  .site .mock-phone { box-shadow: none; border: 1px solid var(--line); }
}
html:has(body.site) { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html:has(body.site) { scroll-behavior: smooth; } }
/* Stop rows with Directions + Call + Text + Done: on a phone the buttons get their own line under the name. */
@media (max-width: 480px) { .stop { flex-wrap: wrap; } .stop .acts { flex: 1 0 100%; justify-content: flex-end; } }

/* ---------- homepage v2 (2026-10-24): dark hero, real app screens, photo bands ---------- */
.site { --navy: #061a24; --navy2: #0a3443; --aqua: #22d3ee; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78em; color: var(--brand); margin: 0 0 .8em; }
.hero2 { background: radial-gradient(1200px 600px at 85% 10%, #0e7490 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  color: #e8f6fa; padding: clamp(28px, 6vw, 72px) 0 18px; overflow: hidden; }
.hero2-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero2-grid { grid-template-columns: 1.05fr .95fr; } }
.hero2 .eyebrow { color: var(--aqua); }
.hero2 h1 { color: #fff; font-size: clamp(34px, 6.4vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .35em; }
.hero2 .lead { color: #cfe8ef; font-size: clamp(17px, 1.5vw + 10px, 21px); max-width: 34em; }
.hero2 .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.btn.glow { background: linear-gradient(135deg, #22d3ee, #0e7490); color: #fff; box-shadow: 0 10px 30px rgba(34, 211, 238, .35); }
.btn.outline-light { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .08); }
.trust-light { color: #cfe8ef; }
.trust-light .ico-sm { color: var(--aqua); }
.demo-msg { color: #9fc3cf; }
.hero2-art { position: relative; justify-self: center; width: min(100%, 480px); padding-left: clamp(56px, 12vw, 110px); }
.hero2-photo { display: block; width: 100%; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); aspect-ratio: 1104 / 1376; object-fit: cover; }
.phone { margin: 0; background: #0b0f14; border-radius: 34px; padding: 9px; box-shadow: 0 24px 60px rgba(2, 12, 18, .45), inset 0 0 0 1.5px #2b3640; width: min(300px, 78vw); }
.phone img { display: block; width: 100%; border-radius: 26px; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; }
.hero2-phone { position: absolute; left: 0; bottom: -28px; width: clamp(150px, 42%, 220px); }
.credit { color: #7fa6b3; font-size: .78em; margin-top: 40px; }

.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0; }
.fact { padding: 22px 12px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); color: var(--brand); line-height: 1.1; }
.fact span { color: var(--muted); }
@media (max-width: 640px) { .fact { padding: 16px 10px; } .fact:nth-child(odd) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

.showcase { padding: clamp(40px, 7vw, 96px) 0; }
.showcase.flip { background: var(--brand-soft); }
.showcase-grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) { .showcase-grid { grid-template-columns: .8fr 1.2fr; } .showcase.flip .showcase-art { order: 2; } }
.showcase-art { display: flex; justify-content: center; }
.showcase h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.02em; }
.showcase .lead { font-size: clamp(16px, 1.2vw + 10px, 19px); color: var(--muted); }

.soon { background: linear-gradient(135deg, #0a3443, #0e7490); color: #e8f6fa; padding: clamp(40px, 7vw, 88px) 0; }
.soon-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .soon-grid { grid-template-columns: 1.3fr .9fr; } }
.soon h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.soon .lead { color: #cfe8ef; }
.kicker-light { color: #a5f3fc; }
ul.check.check-light li::before { color: #a5f3fc; }
.check-light { color: #e8f6fa; }

.crew { position: relative; padding: clamp(80px, 14vw, 180px) 0 clamp(32px, 5vw, 56px);
  background: linear-gradient(90deg, rgba(6, 26, 36, .92) 0%, rgba(6, 26, 36, .72) 45%, rgba(6, 26, 36, .1) 80%), linear-gradient(180deg, rgba(6, 26, 36, 0) 40%, rgba(6, 26, 36, .6) 100%), var(--bg-img) 70% center / cover no-repeat; }
.crew-box { color: #fff; max-width: 760px; margin-left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); }
.crew-box h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.crew-box p { color: #e2f1f5; font-size: clamp(16px, 1.2vw + 10px, 19px); }

.cta-water { background: linear-gradient(rgba(6, 26, 36, .55), rgba(6, 26, 36, .7)), var(--bg-img) center / cover no-repeat !important; padding: clamp(56px, 9vw, 120px) 0 !important; }
.cta-water h2 { font-size: clamp(28px, 4.6vw, 46px); }

/* Smart routing: week board (drag a pool to another day or tech), bulk-select bar, bad-text helper. */
.bad-text { color: var(--bad); }
.rt-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.rt-day { border: 2px dashed var(--line); border-radius: 12px; padding: 8px; min-height: 90px; }
.rt-day.off { background: var(--warn-soft); }
.rt-day.drop-here { border-color: var(--brand); background: var(--brand-soft); }
.rt-dayhead { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.rt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rt-pool { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: grab; min-height: 48px; }
.rt-pool.dragging { opacity: .4; }
.rt-name { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.rt-grip { color: var(--muted); }
.rt-acts { display: none; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rt-pool.open .rt-acts { display: flex; }
.rt-acts .btn { min-height: 48px; }
.rt-acts .icon-only { min-width: 48px; }
.rt-empty { padding: 10px 4px; }
.bulk-bar { position: sticky; bottom: 72px; z-index: 9; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; background: var(--card); border: 2px solid var(--brand); border-radius: 12px; margin-top: 10px; }
.bulk-bar select { flex: 1 1 130px; }
.pin-map { height: min(60dvh, 380px); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
