/* Fonts are hosted on DoorMap itself (SIL Open Font License), so no visitor data goes to a font service. */
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/overpass-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/overpass-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/overpass-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/overpass-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/overpass-mono-latin-700-normal.woff2") format("woff2"); }
/* DoorMap v3. Dark-first night-shift UI, road-sign type (Overpass). Evergreen (#1E6B45) fills every button, card and badge;
   bright green (#22C55E) is used only for text on dark backgrounds.
   Mobile single column; 3 columns from 900px. */
:root {
  --bg: #000000; --surface: #0A0A0A; --surface-2: #141414; --line: #232323;
  --fg: #FFFFFF; --muted: #A1A1AA; --accent: #1E6B45; --accent-ink: #FFFFFF; --accent-text: #22C55E; --accent-hover: #24804F; --accent-border: #2F8A5F; --line-strong: #333333;
  --drv: #B45309; --drv-hover: #C2570C; --drv-text: #FBBF24; --drv-border: #D97706;
  --ok: #43D990; --err: #FF7A7A; --warn: #FFB547;
  --display: "Overpass", "Arial Narrow", system-ui, sans-serif;
  --body: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F4F6F8; --surface: #FFFFFF; --surface-2: #EAEFF3; --line: #D3DCE3;
    --fg: #0B1015; --muted: #334155; --accent-text: #1E6B45; --accent-border: #1E6B45; --line-strong: #B8C4CE; --drv-text: #92400E; --drv-border: #B45309; --ok: #0F8A52; --err: #C62828; --warn: #A15C00;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F4F6F8; --surface: #FFFFFF; --surface-2: #EAEFF3; --line: #D3DCE3;
  --fg: #0B1015; --muted: #334155; --accent-text: #1E6B45; --accent-border: #1E6B45; --line-strong: #B8C4CE; --drv-text: #92400E; --drv-border: #B45309; --ok: #0F8A52; --err: #C62828; --warn: #A15C00;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; padding-top: env(safe-area-inset-top, 0px); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--accent-text); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 640px; }
.minw0 { min-width: 0; }
.stack { display: grid; gap: 14px; }

/* header */
header.top { position: sticky; top: 0; z-index: 9; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 800; font-size: 21px; margin-right: auto; }
nav.main { display: flex; gap: 4px; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
nav.main a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
@media (max-width: 460px) { .logo span { display: none; } nav.main a { padding: 8px 9px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 12px; border: 0;
  font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; font-family: var(--display); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }
.btn-danger { background: var(--err); color: #1a0000; }
.btn-danger-ghost { background: none; color: var(--err); border: 1px solid var(--err); }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; color: var(--accent-text); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px 0; justify-self: start; font-size: 16px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

section[data-view] { padding-block: 28px 48px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow.warn { color: var(--warn); }
.lede { color: var(--muted); font-size: 18px; max-width: 58ch; }
.page-title { font-size: clamp(30px, 7vw, 44px); margin: 6px 0 10px; }
.sub-title { font-size: 24px; margin-bottom: 8px; }
.section-gap { margin-top: 40px; }

/* home */
.hero { display: grid; gap: 28px; padding-block: 20px 12px; }
.hero h1 { font-size: clamp(36px, 8vw, 64px); }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.choices { display: grid; gap: 14px; }
@media (min-width: 760px) { .choices { grid-template-columns: 1.4fr 1fr; } }
.choice { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); text-decoration: none; color: var(--fg); border: 1px solid var(--line); background: var(--surface); }
.choice.driver { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.choice.driver .eyebrow, .choice.driver .sub { color: rgba(255, 255, 255, .88); }
.choice h2 { font-size: 28px; }
.choice .sub { color: var(--muted); font-size: 16px; }
.choice .go { margin-top: auto; font-family: var(--display); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.choice .go.accent { color: var(--accent-text); }
.flow { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-top: 1px solid var(--line); }
.flow-item .n { font-family: var(--mono); font-weight: 700; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--accent); color: var(--accent-text); }
.flow-item h3 { font-size: 19px; margin-bottom: 4px; }
.flow-item p { color: var(--muted); font-size: 15px; }

/* forms */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.fs { margin: 0; display: grid; gap: 14px; min-width: 0; }
.fs legend { padding: 0 6px; }
.regform { display: grid; gap: 28px; margin-top: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.seg button { min-height: 48px; border: 0; border-radius: 9px; background: none; font-weight: 800; font-family: var(--display); font-size: 16px; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 0 0 1px var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.opt { color: var(--muted); font-weight: 400; }
.big-label { font-size: 20px !important; font-family: var(--display); font-weight: 800 !important; }
.field input, .field textarea { min-height: 54px; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font-size: 18px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input[readonly] { color: var(--muted); }
.field input.code { font-family: var(--mono); font-size: 28px; letter-spacing: .24em; text-align: center; text-transform: uppercase; }
.hint { font-size: 14px; color: var(--muted); }
.err { color: var(--err); font-weight: 600; font-size: 15px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.sugg { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sugg button { width: 100%; text-align: left; padding: 12px 14px; background: var(--surface-2); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; }
.private { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; font-weight: 500; }
.private::before { content: ""; width: 10px; height: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 13'%3E%3Cpath d='M3 5.5V4a3 3 0 0 1 6 0v1.5h.5A1.5 1.5 0 0 1 11 7v4.5A1.5 1.5 0 0 1 9.5 13h-7A1.5 1.5 0 0 1 1 11.5V7a1.5 1.5 0 0 1 1.5-1.5zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 13'%3E%3Cpath d='M3 5.5V4a3 3 0 0 1 6 0v1.5h.5A1.5 1.5 0 0 1 11 7v4.5A1.5 1.5 0 0 1 9.5 13h-7A1.5 1.5 0 0 1 1 11.5V7a1.5 1.5 0 0 1 1.5-1.5zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.check .opt { display: block; font-size: 14px; }
.promise { font-weight: 800; font-family: var(--display); color: var(--ok); font-size: 16px; }
.promise.big { font-size: 22px; margin: 6px 0 18px; }
.submitrow { display: grid; gap: 10px; max-width: 460px; }
.regform.editing .submitrow { position: sticky; bottom: 0; max-width: none; background: var(--bg); border-top: 1px solid var(--line); padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 5; }
.bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.dev { margin-top: 18px; padding: 10px 14px; border: 1px dashed var(--warn); border-radius: 10px; font-size: 14px; color: var(--muted); }

/* upload cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.ucard { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.ucard.ok { border-color: var(--ok); }
.ucard h3 { font-size: 21px; margin-top: 2px; }
.ucard .what { color: var(--muted); font-size: 15px; margin-top: 4px; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--accent-text); letter-spacing: .06em; text-transform: uppercase; }
.tag .badge { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; margin-left: 6px; }
.exs { display: flex; gap: 10px; flex-wrap: wrap; }
.exs figure { margin: 0; width: 104px; }
.exs img { display: block; width: 104px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.exs figcaption { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--surface-2); max-width: 100%; }
.slot.empty { opacity: .35; }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot .rm { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .72); color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.slot .num { position: absolute; left: 6px; bottom: 6px; font-family: var(--mono); font-size: 12px; background: rgba(0, 0, 0, .72); color: #fff; padding: 2px 7px; border-radius: 4px; }
.add { aspect-ratio: 3 / 4; border-radius: 10px; border: 2px dashed var(--line); background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--fg); max-width: 100%; }
.add:hover { border-color: var(--accent); }
.add .plus { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 30px; font-weight: 800; line-height: 1; }
.add small { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; padding: 0 4px; }
.caps { display: grid; gap: 10px; }
.cap-field { gap: 4px; }
.cap-field label { font-size: 13px; color: var(--muted); }
.cap-field textarea { min-height: 64px; font-size: 15px; padding: 8px 12px; border-width: 1px; border-radius: 8px; }
.count { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* codes */
.codebox { font-family: var(--mono); font-weight: 700; font-size: clamp(36px, 11vw, 56px); letter-spacing: .18em; text-align: center; padding: 18px 12px;
  border: 2px dashed var(--accent-border); border-radius: var(--r); background: var(--surface); overflow-wrap: anywhere; }
.codebox.small { font-size: clamp(30px, 9vw, 40px); padding: 10px 18px; }
.codeline { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.pending { display: grid; gap: 12px; padding: 16px 18px; border: 2px solid var(--warn); border-radius: var(--r); background: var(--surface); }

/* driver directions */
.dest { display: grid; gap: 6px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-top: 8px; }
.dest .unit { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.dest .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.progress { display: grid; gap: 6px; margin: 18px 0 6px; }
.progress button { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; }
.progress button i { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); margin-bottom: 6px; }
.progress button.done i, .progress button.cur i { background: var(--accent); }
.progress button.cur { color: var(--fg); }
.step-title { font-size: clamp(26px, 6vw, 36px); margin: 10px 0 6px; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 14px; padding-bottom: 6px; scrollbar-width: thin; }
.shot { flex: 0 0 100%; scroll-snap-align: start; display: grid; gap: 10px; min-width: 0; margin: 0; align-content: start; }
.shot .zoom { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; display: block; }
.shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.shot .cap { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 19px; font-weight: 600; }
.shot .cap b { font-family: var(--mono); font-size: 14px; background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 2px 8px; margin-top: 2px; }
.bigcaps .shot .cap { font-size: 23px; }
.note { margin-top: 14px; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; font-size: 18px; overflow-wrap: anywhere; }
.note .eyebrow { display: block; margin-bottom: 2px; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--accent); }
@media (min-width: 900px) {
  .route-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
  .route-side { position: sticky; top: 76px; }
  .shot { flex-basis: calc(50% - 5px); }
  .gallery.one .shot { flex-basis: 100%; }
}
.actionbar { position: sticky; bottom: 0; z-index: 5; background: var(--bg); border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); margin-top: 22px; }
.actionbar .row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.actionbar .btn-ghost { min-width: 64px; padding: 0 16px; }

/* account preview */
.preview { display: grid; gap: 22px; }
@media (min-width: 900px) { .preview { grid-template-columns: 320px 1fr; align-items: start; } .preview-steps { display: grid; gap: 28px; } }
.preview-steps > div { border-top: 1px solid var(--line); padding-top: 16px; }
.preview-steps > div:first-child { border-top: 0; padding-top: 0; }
.settings { max-width: 640px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.switch-row .opt { display: block; font-size: 14px; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 56px; height: 32px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; cursor: pointer; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--muted); transition: transform .15s; }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::after { transform: translateX(24px); background: #fff; }
.confirm { border: 2px solid var(--err); border-radius: 10px; padding: 14px; display: grid; gap: 12px; }

/* docs */
.doc ul { padding-left: 20px; display: grid; gap: 10px; color: var(--muted); }
.doc li b { color: var(--fg); }

/* lightbox + toast */
.lb { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb button { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; color: #000; font-weight: 800; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30; background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; max-width: calc(100% - 32px); }

/* find page header */
.find-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.find-head > div:first-child { min-width: 0; }
.acct-cta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; max-width: 180px; padding-top: 4px; }
.acct-cta a.pill { font-weight: 800; font-family: var(--display); text-decoration: none; border: 2px solid var(--accent-border); border-radius: 999px; padding: 7px 14px; color: var(--accent-text); font-size: 15px; }
.acct-cta small { color: var(--muted); font-size: 12.5px; line-height: 1.3; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding-block: 20px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* one complex, three ways in */
.gates-fig { display: grid; gap: 20px; margin-top: 44px; align-items: center; }
@media (min-width: 900px) { .gates-fig { grid-template-columns: 1fr 1.4fr; gap: 32px; } }
.gates-fig h2 { font-size: clamp(26px, 5vw, 34px); margin: 6px 0 10px; }
.gates-img { padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: none; cursor: zoom-in; display: block; max-width: 100%; }
.gates-img img, .gates-mini img { display: block; width: 100%; height: auto; }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.legend i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--mono); font-size: 14px; }
.gates-mini { margin: 0 0 16px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
@media (min-width: 760px) { .gates-mini { grid-template-columns: 300px 1fr; align-items: center; } }
.gates-mini .zoom { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gates-mini figcaption { font-size: 15px; }

/* "most important" instruction on the entrance card */
.must { border: 2px solid var(--accent); border-radius: 12px; padding: 14px 16px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.must b.head { display: flex; gap: 8px; align-items: center; font-family: var(--display); font-size: 18px; line-height: 1.2; }
.must b.head::before { content: "★"; color: var(--accent-text); }
.must ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.must .hint { margin-top: 8px; display: block; }
.drawbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-family: var(--display); font-size: 15px; cursor: pointer; justify-self: start; }
.drawbtn.done { background: none; color: var(--accent-text); border-color: var(--accent-border); }
.slot .drawn { position: absolute; left: 6px; top: 6px; font-family: var(--mono); font-size: 11px; background: #E11D48; color: #fff; padding: 2px 6px; border-radius: 4px; }
.count.warn { color: var(--warn); }
.pathwarn { border: 2px solid var(--warn); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; background: var(--surface); }
.exs .zoom { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; border-radius: 8px; }
.exs figure { width: 132px; }
.exs img { width: 132px; height: 99px; }

/* drawing tool */
.draw { position: fixed; inset: 0; z-index: 40; background: #0b0f13; color: #f3f6f8; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.draw-top { padding: 12px 16px; display: grid; gap: 2px; }
.draw-top b { font-family: var(--display); font-size: 20px; }
.draw-top span { color: #a9b5c0; font-size: 14px; }
.draw-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.draw-stage canvas { max-width: 100%; max-height: 100%; touch-action: none; border-radius: 8px; cursor: crosshair; background: #222; }
.draw-tools, .draw-actions { display: flex; gap: 10px; align-items: center; padding: 10px 16px; flex-wrap: wrap; }
.draw-actions { padding-bottom: 14px; }
.draw-actions .btn { flex: 1; }
.draw .btn-ghost { background: #1f2831; color: #f3f6f8; border-color: #2e3a46; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 16px; }
.swatches { display: flex; gap: 8px; margin-right: auto; }
.sw { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid transparent; cursor: pointer; }
.sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--c); }

/* driver reports */
.report-btn { justify-self: start; background: none; border: 0; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.report-all { margin-top: 14px; font-size: 15px; color: var(--muted); }
.sheet-bg { position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg); color: var(--fg); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 18px 18px 0 0;
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 14px; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 18px; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { font-size: 24px; }
.sheet .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); font-size: 24px; cursor: pointer; }
.rep-target { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.rep-target img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.field-label { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.reasons label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.reasons label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.reasons input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.reasons small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }

/* feedback */
.kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { width: 100%; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; }
.kinds input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.kinds input:focus-visible + span { outline: 3px solid var(--fg); outline-offset: 2px; }
.support-box { margin-top: 18px; }
.support-box .mail { font-family: var(--display); font-weight: 800; font-size: 22px; overflow-wrap: anywhere; }
.eyebrow.ok { color: var(--ok); }


/* ===================== Version 3 ===================== */
.eyebrow { font-size: 14px; color: var(--accent-text); font-weight: 700; }
.hero-top { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero-top { grid-template-columns: 1fr 1.15fr; gap: 44px; } }
.hero-text { display: grid; gap: 16px; }
.hero-eyebrow { font-size: 15px; letter-spacing: .1em; }
.hero-lede { font-size: 20px; color: var(--muted); }
@media (min-width: 900px) { .hero-lede { font-size: 21px; } }
.hero h1 em { color: var(--accent-text); }
.hero-visual { margin: 0; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 24px; }

.choices { margin-top: 8px; }
@media (min-width: 760px) { .choices { align-items: start; } }
.driver-col { display: grid; gap: 12px; }
.choice { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; gap: 12px; }
.choice:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.choice.driver { background: var(--accent); color: var(--accent-ink); }
.choice.driver:hover { background: var(--accent-hover); }
.choice.driver .eyebrow, .choice.driver .sub { color: var(--accent-ink); }
.choice.driver .sub { font-size: 17px; }
.choice.resident { background: var(--surface-2); border: 1px solid var(--line-strong); min-height: 100%; }
.choice.resident:hover { border-color: var(--accent); }
.choice.resident .sub { color: var(--muted); font-size: 17px; }
.badge-ok { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #FFFFFF; font-weight: 800; font-size: 14px; }
.cta { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 12px;
  font-family: var(--display); font-weight: 800; font-size: 18px; transition: background-color .15s, color .15s; }
.cta-white { background: #FFFFFF; color: #1E6B45; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.cta-outline { border: 2px solid var(--accent-border); color: var(--accent-text); }
.choice.resident:hover .cta-outline { background: var(--accent); color: var(--accent-ink); }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; color: var(--accent-text); }

.flow-item .n { background: var(--accent); border: 0; color: #FFFFFF; width: 40px; height: 40px; font-size: 19px; }
.flow-item p { color: var(--muted); }

.gates-fig { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
@media (min-width: 900px) { .gates-fig { padding: 32px 40px 32px 32px; grid-template-columns: 1fr 1.6fr; } }
.gates-img { border-radius: 14px; }
.legend li { color: var(--fg); }

/* nav: real buttons */
nav.main { gap: 8px; align-items: center; }
nav.main a.nav-link { color: var(--fg); }
nav.main a.nav-btn { border-radius: 10px; font-weight: 800; padding: 8px 14px; }
nav.main a.nav-btn.solid { background: var(--accent); color: var(--accent-ink); }
nav.main a.nav-btn.solid:hover { background: var(--accent-hover); }
nav.main a.nav-btn.outline { border: 2px solid var(--accent-border); color: var(--fg); padding: 6px 12px; }
nav.main a.nav-btn.outline:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
nav.main a.nav-btn[aria-current="page"].solid { background: var(--accent); }
@media (max-width: 460px) { nav.main { gap: 5px; } nav.main a { font-size: 14px; } nav.main a.nav-btn { padding: 7px 9px; } nav.main a.nav-btn.outline { padding: 5px 8px; } nav.main a.nav-link { padding: 7px 4px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 8px; color: var(--muted); max-width: 62ch; }

/* footer */
footer { margin-top: 24px; background: var(--surface); }
footer .wrap.footer-grid { display: grid; gap: 18px; padding-block: 8px; }
@media (min-width: 760px) { footer .wrap.footer-grid { grid-template-columns: 1.2fr 2fr 1.2fr; align-items: start; } }
.footer-brand { display: grid; gap: 6px; }
.footer-brand .logo { font-size: 19px; }
.footer-brand p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--fg); text-decoration: none; font-weight: 700; }
.footer-links a:hover, .footer-meta a:hover { text-decoration: underline; }
.footer-meta { display: grid; gap: 4px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .choice:hover { transform: none; } }
.choice.resident .cta { margin-top: auto; }

/* ===== Guest access, sign-up and devices ===== */
.usage-meter { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 8px; }
.meter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.usage-meter .bar { height: 8px; }
.recent { margin-top: 22px; }
.recent h3 { font-size: 18px; margin: 4px 0 8px; }
.recent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.recent-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.recent-list a { display: grid; gap: 2px; text-decoration: none; color: var(--fg); min-width: 0; }
.recent-list a span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.recent-list small { color: var(--muted); white-space: nowrap; font-size: 13px; }
.code-input { font-family: var(--mono, ui-monospace, monospace); font-size: 30px; letter-spacing: 0.35em; text-align: center; font-weight: 800; padding: 12px; }
.code-input::placeholder { letter-spacing: 0.35em; opacity: .35; }
.code-slot { margin-top: 18px; }
.linkbtn.inline { display: inline; padding: 0; min-height: 0; font-size: inherit; vertical-align: baseline; }
.pw-row { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pw-row p { display: grid; gap: 2px; }
.join-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-weight: 700; color: var(--accent-text); }
.devices { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.devices li > span { display: grid; gap: 2px; }
.devices small { color: var(--muted); font-size: 13px; }
.notice { margin-top: 18px; padding: 14px 16px; border: 2px solid var(--warn); border-radius: 12px; background: var(--surface); }

/* landing copy + driver-account prompts */
.hero-text .hero-lede + .hero-lede { margin-top: -4px; }
.hero-signup { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); }
.hero-signup p { font-size: 17px; }
.hero-signup .btn { justify-self: start; }
.driver-acct-link { display: block; padding: 12px 14px; border: 1px dashed var(--accent-border); border-radius: 12px; color: var(--fg); text-decoration: none; font-size: 15px; }
.driver-acct-link b { color: var(--accent-text); }
.driver-acct-link:hover { background: var(--surface); }
.acct-promo { display: grid; gap: 2px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--accent-border); border-radius: 12px; color: var(--fg); text-decoration: none; font-size: 14px; background: var(--surface); }
.acct-promo b { color: var(--accent-text); font-size: 15px; }
.faq-list { margin: 8px 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.faq-list b { color: var(--fg); }

/* ===== "Make Every Delivery Easier" + map password protection ===== */
.free-sec { margin-top: 48px; display: grid; gap: 12px; }
.chip-free { justify-self: start; font-size: 15px; font-weight: 700; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 999px; padding: 4px 14px; }
.free-sec h2 { font-size: clamp(32px, 7vw, 56px); letter-spacing: -.02em; }
.free-sec > .lede { font-size: 20px; color: var(--fg); max-width: 60ch; }
.free-grid { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 900px) { .free-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.free-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.free-card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.free-card p { color: var(--muted); font-size: 17px; }
.privacy-card { background: var(--surface-2); }
.privacy-card svg { color: var(--accent-text); flex: none; }
.price-card { text-align: center; justify-items: center; border-color: var(--line-strong); }
.price-card .price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent-text); letter-spacing: .02em; }
.price-card .btn { margin-top: 6px; }

.vis-choice { display: grid; gap: 8px; }
@media (min-width: 700px) { .vis-choice { grid-template-columns: 1fr 1fr; } }
.vis-choice label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.vis-choice label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.vis-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.vis-choice b { display: inline-flex; align-items: center; gap: 6px; }
.vis-choice small { display: block; color: var(--muted); font-size: 14px; }
.vis { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; vertical-align: middle; }
.vis.public { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-strong); }
.vis.locked { background: var(--accent); color: var(--accent-ink); }
.vis.off { background: var(--surface-2); color: var(--warn); border: 1px solid var(--warn); }
.protect-panel { margin-top: 18px; max-width: 640px; }
.protect-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.protect-head h2 { font-size: 22px; }
.lock { display: grid; gap: 12px; padding-block: 8px; }
.lock-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-text); }
#u-pass { font-size: 20px; }


/* ===== Homepage intro, How It Works, upload reminder ===== */
.hero-actions { display: grid; gap: 12px; justify-items: start; }
.btn-hero { min-height: 60px; font-size: 20px; padding: 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-weight: 700; color: var(--fg); }
.hero-points li::before { content: "✓ "; color: var(--accent-text); }
.how { margin-top: 48px; display: grid; gap: 14px; justify-items: start; }
.how h2 { font-size: clamp(28px, 6vw, 42px); }
.how-steps { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 14px; width: 100%; counter-reset: none; }
@media (min-width: 700px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .how-steps { grid-template-columns: repeat(4, 1fr); } }
.how-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.how-num { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 17px; }
.how-icon { color: var(--accent-text); }
.how-step h3 { font-size: 19px; padding-right: 36px; }
.how-step p { color: var(--muted); font-size: 15px; }
.upload-why { font-size: 18px; font-weight: 700; margin: 4px 0 14px; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }

.check.consent span { font-size: 15px; }
.check.consent .opt { margin-top: 4px; }

/* Terms of Service */
.legal p { margin: 0 0 12px; color: var(--muted); max-width: 70ch; }
.legal .legal-dates { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; scroll-margin-top: 80px; }
.legal ul { margin: 0 0 12px; }
.legal .toc { margin: 18px 0 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal .toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2 220px; column-gap: 24px; }
.legal .toc li { margin-bottom: 4px; break-inside: avoid; }
.contact-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; }
.contact-dl dt { font-weight: 800; }
.contact-dl dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* privacy pages */
.legal h3 { font-size: 17px; margin: 18px 0 8px; }
.tbl-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--surface); font-weight: 800; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td { color: var(--muted); }
.notice-box { padding: 4px 18px 6px; border: 2px solid var(--accent-border); border-radius: 14px; background: var(--surface); margin-top: 18px; }
.notice-mini { font-size: 13px; color: var(--muted); line-height: 1.45; padding: 10px 12px; border-left: 3px solid var(--accent-border); background: var(--surface); border-radius: 0 8px 8px 0; }
.legal .panel { margin-top: 16px; }
.legal select { min-height: 54px; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); font-size: 17px; width: 100%; }
.legal .tos-sec, #request { scroll-margin-top: 76px; }
.legal .panel h2 { margin-top: 0; }

/* admin inbox */
.ad-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.ad-tabs button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font-weight: 700; cursor: pointer; }
.ad-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ad-tabs b { margin-left: 4px; }
.ad-list { display: grid; gap: 10px; }
.ad-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); display: grid; gap: 6px; min-width: 0; }
.ad-item.open { border-left: 4px solid var(--warn); }
.ad-item header { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-transform: capitalize; }
.ad-item p { overflow-wrap: anywhere; }
.ad-text { white-space: pre-wrap; background: var(--bg); border-radius: 8px; padding: 8px 10px; }

/* finish screen, access history, metrics */
.done-screen { display: grid; gap: 14px; justify-items: start; padding-block: 8px; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.rotate { margin: 4px 0 8px; display: grid; gap: 8px; max-width: 640px; }
.access-hist { margin-top: 18px; max-width: 640px; }
.ah-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ah-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ah-list li.bad span { color: var(--warn); font-weight: 700; }
.ah-list small { color: var(--muted); white-space: nowrap; }
.kpis { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); display: grid; gap: 4px; }
.kpi span { font-size: 13px; color: var(--muted); font-weight: 700; }
.kpi b { font-size: 28px; font-family: var(--display); font-variant-numeric: tabular-nums; }
.kpi small { font-size: 13px; color: var(--muted); }
.ad-list h3 { margin: 18px 0 8px; font-size: 18px; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 140px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow-x: auto; }
.bar-col { position: relative; flex: 1 0 28px; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bar-col i { position: absolute; bottom: 18px; width: 70%; max-height: calc(100% - 18px); background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 4px 4px 0 0; }
.bar-col em { position: absolute; bottom: 18px; width: 70%; max-height: calc(100% - 18px); background: var(--accent); border-radius: 4px 4px 0 0; }
.bar-col small { position: absolute; bottom: 0; font-size: 10px; color: var(--muted); }
.funnel { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 420px; }
.funnel li { display: flex; justify-content: space-between; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }

/* ===== registration wizard ===== */
.wiz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: none; }
.wiz-steps button { width: 100%; min-height: 48px; display: grid; justify-items: center; gap: 4px; padding: 6px 2px; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1.2; text-align: center; }
.wiz-steps button span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); font-family: var(--mono); font-size: 14px; color: var(--fg); }
.wiz-steps button.done span { border-color: var(--accent-border); }
.wiz-steps button.cur { color: var(--fg); }
.wiz-steps button.cur span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wiz-steps button:disabled { cursor: default; opacity: .55; }
@media (max-width: 420px) { .wiz-steps button { font-size: 0; } .wiz-steps button span { font-size: 14px; } .wiz-steps button.cur { font-size: 11px; } }
.wstep { display: grid; gap: 18px; }
.ws-title { font-size: 26px; display: grid; gap: 4px; }
.ws-title span { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.wiz-nav { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; justify-content: space-between; background: var(--bg); border-top: 1px solid var(--line);
  padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.wiz-nav .btn { flex: 1; max-width: 260px; }
.wiz-nav #wiz-next { margin-left: auto; }
.wiz-resume { display: grid; gap: 10px; border-color: var(--accent-border); }
.cards.one { grid-template-columns: 1fr; max-width: 720px; }
@media (min-width: 900px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.cards.two > div { min-width: 0; display: grid; }
.qwarn { margin: 0; padding: 10px 12px 10px 28px; border: 1px solid var(--warn); border-radius: 10px; color: var(--fg); font-size: 14px; display: grid; gap: 4px; }
.slot .qbad { position: absolute; right: 6px; bottom: 6px; background: var(--warn); color: #1a1000; font-weight: 800; border-radius: 4px; padding: 0 6px; font-size: 13px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.check-list li > span:first-child { font-weight: 800; text-align: center; }
.check-list li.ok > span:first-child { color: var(--ok); }
.check-list li.warn { border-color: var(--warn); } .check-list li.warn > span:first-child { color: var(--warn); }
.check-list li.bad { border-color: var(--err); } .check-list li.bad > span:first-child { color: var(--err); }
.check-list li.info > span:first-child { color: var(--muted); }
.wiz-preview { border: 1px solid var(--line-strong); border-radius: 18px; padding: 14px; background: var(--bg); display: grid; gap: 16px; max-width: 900px; }
@media (min-width: 900px) { .wiz-preview { grid-template-columns: 300px 1fr; align-items: start; } }
.wiz-preview .preview-steps { display: grid; gap: 22px; }

/* homepage v4 */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ctas .btn { flex: 1 1 auto; white-space: nowrap; }
.demo-link { font-weight: 800; color: var(--accent-text); text-decoration: none; font-family: var(--display); font-size: 18px; }
.demo-link:hover { text-decoration: underline; }
.how-who { font-size: 20px; margin-top: 8px; color: var(--fg); }
.how-steps.drivers .how-step h3 { font-size: 19px; }
@media (min-width: 1000px) { .how-steps.drivers { grid-template-columns: repeat(3, 1fr); } }
.trust-strip { margin-top: 44px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-strip div { display: grid; gap: 4px; padding: 16px; border-left: 3px solid var(--accent-border); background: var(--surface); border-radius: 0 12px 12px 0; }
.trust-strip span { color: var(--muted); font-size: 15px; }
.home-faq { margin-top: 44px; max-width: 760px; display: grid; gap: 4px; }
.home-faq h2 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 8px; }
.home-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.home-faq summary { cursor: pointer; font-weight: 800; font-family: var(--display); font-size: 18px; }
.home-faq details p { margin-top: 6px; color: var(--muted); }
.demo-banner { padding: 10px 14px; border: 1px dashed var(--accent-border); border-radius: 10px; margin-bottom: 14px; }

/* closed gate in the "three ways in" legend */
.legend li.closed > span { color: var(--muted); }
.legend li.closed i { position: relative; background: color-mix(in srgb, var(--c) 45%, transparent); }
.legend li.closed i::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: #DC2626; font-size: 30px; font-weight: 900; font-style: normal; }
.closed-tag { color: #fff; background: #DC2626; padding: 1px 7px; border-radius: 5px; font-size: .85em; letter-spacing: .04em; text-transform: uppercase; }

/* driver account benefits under "How it works" */
.acct-perks { display: grid; gap: 6px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--accent-border); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); color: var(--fg); text-decoration: none; max-width: 760px; }
.acct-perks > b { font-family: var(--display); font-size: 19px; }
.acct-perks span { color: var(--muted); }
.acct-perks span b { color: var(--fg); }
.acct-perks .cta-line { color: var(--accent-text); font-weight: 800; margin-top: 4px; }
.acct-perks:hover .cta-line { text-decoration: underline; }
.acct-perks + .row-btns { margin-top: 22px; }

/* homepage choices: residents first and highlighted, drivers smaller */
.choice.resident.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.choice.resident.primary:hover { background: var(--accent-hover); border-color: transparent; }
.choice.resident.primary .eyebrow, .choice.resident.primary .sub { color: var(--accent-ink); }
.choice.driver.compact { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-strong); padding: 16px 18px; gap: 8px; }
.choice.driver.compact:hover { background: var(--surface-2); border-color: var(--accent); }
.choice.driver.compact .eyebrow { color: var(--accent-text); }
.choice.driver.compact h2 { font-size: 21px; }
.choice.driver.compact .sub { color: var(--muted); font-size: 15px; }
.choice.driver.compact .badge-ok { font-size: 13px; padding: 3px 10px; background: transparent; color: var(--accent-text); border-color: var(--accent-border); }
.choice.driver.compact .cta { font-size: 16px; padding: 0 16px; min-height: 44px; }
.choice.driver.compact:hover .cta-outline { background: var(--accent); color: var(--accent-ink); }
.choices .driver-col .driver-acct-link { font-size: 14px; padding: 10px 12px; }
.choices .driver-col .trust { font-size: 13px; }

/* Landing page colour coding: residents = evergreen green, drivers = amber */
.btn-driver { background: var(--drv); color: #FFFFFF; border: 0; }
.btn-driver:hover { background: var(--drv-hover); }
.btn-driver-ghost { background: transparent; color: var(--drv-text); border: 2px solid var(--drv-border); }
.btn-driver-ghost:hover { background: var(--drv); color: #FFFFFF; border-color: var(--drv); }
[data-view=home] .demo-link { color: var(--drv-text); }
[data-view=home] .how-who { color: var(--accent-text); }
[data-view=home] .how-who.drv { color: var(--drv-text); }
[data-view=home] .how-steps.drivers .how-num { background: var(--drv); }
[data-view=home] .how-steps.drivers .how-step { border-top: 3px solid var(--drv); }
[data-view=home] .how-steps:not(.drivers) .how-step { border-top: 3px solid var(--accent); }
.acct-perks { border-color: var(--drv-border); border-left-color: var(--drv); }
.acct-perks .cta-line { color: var(--drv-text); }
.choice.driver.compact { border-left: 4px solid var(--drv); }
.choice.driver.compact:hover { border-color: var(--drv); }
.choice.driver.compact .eyebrow { color: var(--drv-text); }
.choice.driver.compact .badge-ok { color: var(--drv-text); border-color: var(--drv-border); }
.choice.driver.compact .cta-outline { border-color: var(--drv-border); color: var(--drv-text); }
.choice.driver.compact:hover .cta-outline { background: var(--drv); color: #FFFFFF; border-color: var(--drv); }
.choices .driver-col .driver-acct-link { border-color: var(--drv-border); }
.choices .driver-col .driver-acct-link b { color: var(--drv-text); }
.choices .driver-col .trust { color: var(--drv-text); }

/* ===== Landing page 4.0: minimal, near-black, residents first ===== */
.home { padding-bottom: 24px; }
.hx { max-width: 860px; margin: 0 auto; padding: clamp(56px, 12vw, 120px) 0 36px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; background: var(--surface); }
.hx-pill span:first-child { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.hx-pill:hover { border-color: var(--line-strong); color: var(--fg); }
.hx-title { font-size: clamp(40px, 7.4vw, 78px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; max-width: 15ch; margin: 0; }
.hx-title em { font-style: normal; color: var(--accent-text); }
.hx-sub { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 34ch; line-height: 1.5; margin: 0; }
.hx-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hx-btn { min-height: 48px; padding: 0 22px; border-radius: 10px; font-size: 17px; }
.hx-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.hx-ghost:hover { background: var(--surface-2); }
.hx-driver { color: var(--muted); text-decoration: none; font-size: 15px; }
.hx-driver b { color: var(--drv-text); }
.hx-driver:hover b { text-decoration: underline; }
.hx-shot { margin: 8px auto 0; max-width: 1000px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 30px 80px rgba(30,107,69,.18); }
.hx-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }

.hsec, .home .gates-fig, .home .trust-strip, .home .free-sec, .home .home-faq, .drv-band, .acct-bottom { margin-top: clamp(72px, 12vw, 128px); }
.hsec { text-align: center; }
.hsec h2, .home .gates-fig h2, .home .free-sec h2, .home .home-faq h2, .acct-bottom h2 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.03em; line-height: 1.08; }
.hsec h2 { max-width: 20ch; margin: 8px auto 0; }
.hsec-sub { color: var(--muted); margin-top: 10px; font-size: 18px; }
.hsec .how-steps { margin-top: 36px; text-align: left; }
.home .how-step { background: var(--surface); border: 1px solid var(--line); border-top: 1px solid var(--line); }
.home .how-steps:not(.drivers) .how-step { border-top: 1px solid var(--line); }
.home .how-step:hover { border-color: var(--line-strong); }
.home .eyebrow { color: var(--accent-text); }
.home .gates-fig { background: var(--surface); border: 1px solid var(--line); }
.home .trust-strip div { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); }

/* small driver strip */
.drv-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 24px 26px; border: 1px solid var(--line); border-left: 3px solid var(--drv); border-radius: 14px; background: var(--surface); }
.drv-band .eyebrow { color: var(--drv-text); }
.drv-band h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; margin-top: 4px; }
.drv-band p { color: var(--muted); margin-top: 4px; }
.drv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.drv-acct { color: var(--drv-text); font-weight: 700; text-decoration: none; font-size: 15px; }
.drv-acct:hover { text-decoration: underline; }

/* free driver account details, at the bottom */
.acct-bottom { max-width: 760px; padding-top: 28px; border-top: 1px solid var(--line); }
.acct-bottom h2 { font-size: clamp(22px, 3vw, 28px); }
.acct-bottom ul { margin: 14px 0 18px; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.acct-bottom li b { color: var(--fg); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hsec > .eyebrow, .hsec > .hsec-sub { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.test-banner { background: #FBBF24; color: #111; text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }

/* audience links in the header: "I'm a driver" / "I'm a property manager" */
header.top .wrap { flex-wrap: wrap; height: auto; min-height: 60px; }
nav.aud { display: flex; gap: 4px; margin-left: auto; }
nav.aud a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
nav.aud a:hover { background: var(--surface-2); }
nav.aud a.drv { color: var(--drv-text); }
nav.aud a[aria-current="page"] { background: var(--surface-2); }
nav.aud + nav.main { margin-left: 0; }
@media (max-width: 760px) {
  nav.aud { order: 3; width: 100%; margin: 0 -4px; padding: 4px 0 8px; justify-content: center; border-top: 1px solid var(--line); }
  nav.aud a { font-size: 14px; padding: 6px 10px; }
  nav.main { margin-left: auto; }
  header.top .wrap { row-gap: 0; padding-top: 8px; }
}
.hx-small { padding-top: clamp(44px, 9vw, 88px); }
.drv-eyebrow, .home .drv-eyebrow { color: var(--drv-text); }
[data-view=drivers] .how-steps.drivers .how-num { background: var(--drv); }
.pm-note { color: var(--muted); margin-top: 10px; }
.pm-note a { color: var(--accent-text); }
.pm-steps .how-num { background: var(--accent); }

/* photo spots: tap on the map where a photo was taken */
.spot-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 12px; overflow: auto; }
.spot-wrap { position: relative; max-width: 100%; }
.spot-wrap img { display: block; max-width: 100%; max-height: 62vh; border-radius: 8px; cursor: crosshair; touch-action: manipulation; }
.spot-pin { position: absolute; width: 28px; height: 28px; margin: -28px 0 0 -14px; pointer-events: none; }
.spot-pin::before { content: ""; position: absolute; inset: 0; background: #FBBF24; border: 3px solid #111; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.spot-photo { display: flex; align-items: center; gap: 10px; margin: 0; color: #a9b5c0; font-size: 14px; }
.spot-photo img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 2px solid #FBBF24; }
.spotbtn { justify-self: start; background: none; border: 1px dashed var(--line-strong); color: var(--fg); border-radius: 8px; padding: 6px 10px; font-weight: 700; cursor: pointer; }
.spotbtn.done { border-style: solid; border-color: var(--accent-border); color: var(--accent-text); }
.slot .spotted { position: absolute; left: 4px; bottom: 4px; font-size: 14px; }
.drawbtn.marks { border-color: #DC2626; }

.spots-panel { margin-top: 16px; display: grid; gap: 8px; }
.spot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.spot-item { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px dashed var(--line-strong); border-radius: 10px; background: none; color: var(--fg); text-align: left; cursor: pointer; font-weight: 700; }
.spot-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; }
.spot-item small { display: block; font-weight: 600; color: var(--muted); }
.spot-item.done { border-style: solid; border-color: var(--accent-border); }
.spot-item.done small { color: var(--accent-text); }

/* driver view switch: Simple / Voice guide */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 10px 0; }
.mode-switch button { min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 800; font-size: 15px; cursor: pointer; }
.mode-switch button[aria-pressed="true"] { background: var(--drv); color: #fff; }
.g-say { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 4px 0 12px; }
.g-map { margin: 0 0 12px; }
.g-map-in { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.g-map-in img { display: block; width: 100%; height: auto; max-height: 42vh; object-fit: contain; background: #111; }
.g-map figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.g-pin, .g-dot { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.g-pin { width: 22px; height: 22px; background: #FBBF24; border: 3px solid #111; box-shadow: 0 0 0 6px rgba(251, 191, 36, .35); animation: gpulse 1.4s ease-in-out infinite; }
.g-dot { width: 10px; height: 10px; background: #fff; border: 2px solid #111; opacity: .8; }
.g-dot.past { background: #9CA3AF; }
@keyframes gpulse { 50% { box-shadow: 0 0 0 12px rgba(251, 191, 36, .1); } }
@media (prefers-reduced-motion: reduce) { .g-pin { animation: none; } }
.g-ctl { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; margin-top: 12px; position: sticky; bottom: 8px; }
.g-ctl .btn { min-height: 52px; }

/* optional photo location (read once) */
.gps-sheet { max-width: 520px; }
.gps-badge { display: inline-block; align-self: start; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 13px; }
.gps-photo { display: flex; gap: 12px; align-items: flex-start; }
.gps-photo img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.gps-trust { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; }
.gps-trust li { padding-left: 26px; position: relative; color: var(--muted); }
.gps-trust li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent-text); font-weight: 900; }
.gps-trust b { color: var(--fg); }
.gps-btns .btn { flex: 1 1 200px; }
.gpsbtn { justify-self: start; background: none; border: 1px dashed var(--accent-border); color: var(--accent-text); border-radius: 8px; padding: 6px 10px; font-weight: 800; cursor: pointer; }
.gpsbtn.done { border-style: solid; }
.slot .gpsed { position: absolute; left: 24px; bottom: 4px; font-size: 14px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: grid; gap: 2px; color: var(--muted); }
.contact-list b { color: var(--fg); font-weight: 700; }
.contact-list a { color: var(--accent-text); font-weight: 800; word-break: break-all; }

.tip { border-left: 3px solid var(--accent); background: var(--surface); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--muted); }
.tip b { color: var(--fg); }
.voice-set { border: 0; padding: 12px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.voice-set select { min-height: 44px; }
.g-maps { display: inline-flex; gap: 6px; margin-right: 8px; vertical-align: middle; }
.g-maps button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--fg); font-weight: 800; cursor: pointer; }
.g-maps button[aria-pressed="true"] { background: var(--drv); border-color: var(--drv); color: #fff; }

/* Who we are */
.who { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; padding: 36px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.who h2 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 14px; }
.who p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.home .who { margin-top: clamp(72px, 12vw, 128px); }
.who-page { margin-top: 8px; display: grid; gap: 20px; }
.who-page .hx-ctas { justify-content: center; }
