/* Public website (home, terms, privacy). Separate from the dispatcher dashboard styles. */
/* Clean and calm: cream, navy and gold. --brand is the button color (navy; gold in dark mode), --on-brand the text on it. */
:root {
  --bg: #faf8f4; --panel: #ffffff; --soft: #f2eee6; --text: #14213d; --muted: #565c6b; --line: #e6e0d4;
  --brand: #14213d; --brand-2: #0b1428; --on-brand: #ffffff; --gold: #a8823a; --gold-text: #8a6a2b; --accent: #a8823a; --good: #2f6b4f;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 10px 30px -18px rgba(20, 33, 61, .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #10141c; --panel: #171c26; --soft: #1c2230; --text: #eef0f5; --muted: #a7adbb; --line: #2a3141;
    --brand: #d6b46a; --brand-2: #e2c482; --on-brand: #10141c; --gold: #d6b46a; --gold-text: #d6b46a; --shadow: none; }
}
:root[data-theme="dark"] { --bg: #10141c; --panel: #171c26; --soft: #1c2230; --text: #eef0f5; --muted: #a7adbb; --line: #2a3141;
  --brand: #d6b46a; --brand-2: #e2c482; --on-brand: #10141c; --gold: #d6b46a; --gold-text: #d6b46a; --shadow: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--text); text-underline-offset: 2px; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 34px; height: 34px; display: block; flex: none; }
.logo-mark img { display: block; width: 34px; height: 34px; }
nav.links { display: flex; gap: 22px; align-items: center; font-size: 14.5px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }
.call-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--on-brand) !important; text-decoration: none; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.call-btn:hover { background: var(--brand-2); }
.call-btn.big { font-size: 20px; padding: 14px 26px; }
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.phone-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.phone-card .num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 4px; }
.phone-card ol { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.phone-card li { margin: 6px 0; }
section { padding: 56px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.15; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--on-brand); background: var(--brand); }
.price { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.price .amount { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand); }
.price ul { margin: 0; padding-left: 20px; }
.price li { margin: 6px 0; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 2px; }
.policy { max-width: 760px; }
.policy h1 { font-size: clamp(30px, 4vw, 42px); }
.policy h2 { font-size: 22px; margin-top: 32px; }
.policy p, .policy li { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .flinks { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero { padding: 44px 0 32px; }
  .hero .wrap, .grid3, .price { grid-template-columns: 1fr; }
  nav.links a:not(.call-btn) { display: none; }
  .price .amount { font-size: 56px; }
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ghost-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--brand); color: var(--brand); text-decoration: none; font-weight: 600; }
.ghost-cta.big { font-size: 20px; padding: 13px 24px; }
.ghost-cta:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
/* Small phones: the top bar keeps just the logo and a round call button. */
.logo { white-space: nowrap; }
@media (max-width: 480px) {
  header.top .wrap { gap: 10px; }
  nav.links { gap: 12px; }
  nav.links .call-btn { padding: 10px 12px; }
  nav.links .call-btn span { display: none; }
  .logo { font-size: 16px; }
}

/* "Text me" consent checkbox on the booking and sitter sign-up forms (optional, never pre-checked). */
form label.sms-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--muted); }
form label.sms-ok input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
form label.sms-ok b { color: var(--text); font-weight: 600; }
/* Neighborhood pull-down (public/site/neighborhoods.js) */
.nbhd { display: grid; gap: 6px; }
.nbhd select { width: 100%; }
/* Finder's fee: the regular price crossed out next to the introductory launch rate (public/site/fee.js) */
.fee-old { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .75; }
.fee-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 6px; }
.fee-big-old { font-size: 34px; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 4px; opacity: .65; }
.fee-big-new { font-size: 52px; font-weight: 800; line-height: 1; }
.fee-big-note { flex-basis: 100%; font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; opacity: .9; }
/* Babysitter preferences picker (public/site/prefs.js) */
.pgroup { margin: 0 0 14px; }
.ptitle { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pchip { font: inherit; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; }
.pchip.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pother { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 400; margin: 0; }
.pother input { width: 70px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.pother-text { flex-basis: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.pnote { display: block; font-weight: 600; font-size: 14.5px; }
.pnote textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.pchip.pother-chip { border-style: dashed; }
.pdrop { position: relative; }
.pdrop summary { list-style: none; cursor: pointer; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.pdrop summary::after { content: " ▾"; color: var(--muted); }
.pdrop[open] summary { border-color: var(--brand); }
.pdrop-list { margin-top: 6px; max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 6px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 10px; }
.pdrop-list label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; padding: 4px 0; }
.pdrop[open] { flex-basis: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Time picker: hour : minute AM/PM */
.tpick { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.tpick select { flex: 1 1 0; min-width: 0; margin-top: 0; }
.tpick .tp-colon { font-weight: 700; color: var(--muted, #6b7280); }

/* Booking history, reviews and references (public/site/history.js) */
.h-wrap { margin-top: 8px; }
.h-box { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #e5e7eb); background: var(--panel, #fff); }
.h-box h4 { margin: 6px 0 0; font-size: 14px; }
.h-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.h-stat b { font-weight: 700; }
.h-reviews, .h-prev { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.h-repeat { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fdf2f6; color: #b83f6b; }
.h-repeat-line { font-size: 14px; }
.h-asked { color: #1f2f56; font-weight: 600; }
.h-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.h-pick .star-pick button { font-size: 24px; line-height: 1; background: none; border: 0; color: #d1d5db; cursor: pointer; padding: 0 2px; }
.h-pick .star-pick button.on { color: #c9a227; }
.h-share { margin: 0 0 10px; }
.bk [data-hopen], .h-box .linkbtn, .h-share .linkbtn { color: #1f2f56; background: none; border: 0; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; justify-self: start; }
.rate-box { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line, #e5e7eb); background: var(--panel, #fff); margin-top: 6px; }
.rate-box textarea { font: inherit; padding: 9px 11px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; }
.rate-box .call-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-content: center; }
.stars { color: #c9a227; font-weight: 700; }
.bk .h-box .linkbtn, .bk .linkbtn[data-hopen], .bk .linkbtn[data-href], .bk .linkbtn[data-hconnect] { color: #1f2f56; }
.bk .h-box .linkbtn[data-hreport] { color: #94a3b8; font-size: 12px; }

.h-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #14213d; color: #f3dfa6; }
