:root {
  /* Brand sheet: ../brand.md. One accent (blue). Green = success / new booking. Orange = urgent or needs you.
     Red = emergency and errors. Every text colour here passes WCAG AA on the background it sits on. */
  --bg: #fbfbfd;
  --surface: #ffffff;
  --fill: #f5f5f7;
  --fill-hover: #ebebef;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --line-strong: #b8b8bd;
  --hair: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0066cc;
  --blue-text: #0066cc;          /* blue text on a tinted background */
  --blue-soft: #e8f1fc;
  --blue-on-dark: #6cb4ff;
  --focus: rgba(0, 113, 227, 0.5);
  --ring: rgba(0, 113, 227, 0.18);
  --green: #1a7f45;
  --green-soft: #e7f6ec;
  --orange: #a35200;
  --orange-soft: #fff4e5;
  --red: #d70015;
  --red-soft: #fdecee;
  --bubble-them: #e9e9eb;
  --dark: #1d1d1f;               /* dark cards, hint, phone frame */
  --radius: 22px;                /* cards, tiles */
  --radius-m: 16px;              /* alerts, FAQ items, banners, start options */
  --radius-s: 12px;              /* inputs, icon boxes */
  --radius-pill: 980px;          /* buttons, chips, status pills */
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --shadow-hover: 0 2px 4px rgba(0,0,0,.04), 0 16px 40px rgba(0,0,0,.09);
  --shadow-pop: 0 30px 80px rgba(0,0,0,.25);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.47 var(--font); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
svg { display: block; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 600; font-size: 17px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.nav-link { font-size: 14px; color: var(--ink); opacity: .8; }

/* ---------- home ---------- */
.hero { max-width: 880px; margin: 0 auto; padding: 96px 22px 56px; text-align: center; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--blue); margin: 0 0 10px; letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.hero p.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--ink-2); margin: 22px auto 0; max-width: 680px; letter-spacing: -0.02em; }
.cta-row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; border-radius: var(--radius-pill); padding: 12px 22px; font-size: 17px; background: var(--blue); color: #fff; transition: background .2s; }
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--blue); padding: 12px 6px; }
.btn.ghost:hover { text-decoration: underline; }
.btn.small { font-size: 14px; padding: 8px 16px; }
.btn.secondary { background: var(--fill); color: var(--ink); }
.btn.secondary:hover { background: var(--fill-hover); }
.btn:disabled { opacity: .4; cursor: default; }

.section { max-width: 1080px; margin: 0 auto; padding: 40px 22px 72px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; text-align: center; }
.section p.sub { color: var(--ink-2); text-align: center; margin: 0 auto 40px; max-width: 560px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile {
  background: var(--surface); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow);
  color: var(--ink); display: flex; flex-direction: column; gap: 10px; min-height: 210px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tile .icon { width: 44px; height: 44px; border-radius: var(--radius-s); background: var(--fill); display: grid; place-items: center; color: var(--ink); }
.tile .label { font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: none; margin-top: 6px; }
.tile .headline { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.tile .go { margin-top: auto; font-size: 15px; color: var(--blue); }

.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.feature .num { font-size: 13px; font-weight: 600; color: var(--blue); }
.feature h3 { font-size: 24px; letter-spacing: -0.025em; margin: 8px 0 8px; line-height: 1.15; }
.feature p { color: var(--ink-2); margin: 0; font-size: 16px; }

.footer { text-align: center; color: var(--ink-3); font-size: 12px; padding: 30px 22px 50px; border-top: 1px solid var(--hair); max-width: 1080px; margin: 0 auto; }

/* ---------- demo page ---------- */
.demo-head { max-width: 1080px; margin: 0 auto; padding: 44px 22px 20px; }
.demo-head h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.033em; margin: 0; max-width: 760px; }
.demo-head p { color: var(--ink-2); margin: 12px 0 0; max-width: 640px; font-size: 19px; }
.demo-head .tools { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.stage { max-width: 1080px; margin: 0 auto; padding: 10px 22px 60px; display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; }

.stage > * { min-width: 0; }  /* stop the chip row from widening the page */
.segmented { display: none; }

/* phone */
.phone {
  background: var(--surface); border-radius: 44px; box-shadow: 0 0 0 10px var(--dark), 0 30px 60px rgba(0,0,0,.18);
  height: 760px; display: flex; flex-direction: column; overflow: hidden; margin: 10px; position: relative;
}
.phone-bar { padding: 16px 20px 12px; text-align: center; border-bottom: 1px solid var(--hair); background: rgba(249,249,249,.94); }
.avatar { width: 44px; height: 44px; border-radius: 50%; margin: 6px auto 4px; background: linear-gradient(180deg, #7d7d82, #5b5b60); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.phone-bar .who { font-size: 12px; color: var(--ink); }
.phone-bar .sub { font-size: 11px; color: var(--ink-3); }
.thread { flex: 1; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 3px; scroll-behavior: smooth; }
.ts { align-self: center; font-size: 11px; color: var(--ink-3); margin: 10px 0 6px; text-align: center; }
.ts b { font-weight: 600; color: var(--ink-2); }
.bubble { max-width: 78%; padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.32; letter-spacing: -0.01em; white-space: pre-wrap; word-wrap: break-word; animation: rise .28s ease; }
.bubble.them { align-self: flex-start; background: var(--bubble-them); color: var(--ink); }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; }
.bubble + .bubble.them, .bubble + .bubble.me { margin-top: 2px; }
.bubble.me + .bubble.them, .bubble.them + .bubble.me { margin-top: 8px; }
.bubble img { display: block; max-width: 100%; border-radius: 12px; }
.bubble.photo { padding: 3px; background: transparent; }
.typing { align-self: flex-start; background: var(--bubble-them); border-radius: 19px; padding: 12px 14px; display: flex; gap: 4px; margin-top: 8px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.delivered { align-self: flex-end; font-size: 11px; color: var(--ink-3); margin: 2px 4px 0 0; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--hair); background: var(--surface); border-radius: var(--radius-pill); padding: 7px 13px; font-size: 13px; cursor: pointer; color: var(--blue); white-space: nowrap; }
.chip:hover { background: var(--blue-soft); }

.composer { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 18px; }
.icon-btn { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--fill); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { background: var(--fill-hover); }
.field { flex: 1; border: 1px solid var(--line); border-radius: 19px; display: flex; align-items: flex-end; padding: 4px 4px 4px 14px; background: var(--surface); }
.field textarea { flex: 1; border: 0; outline: 0; resize: none; font: 16px/1.3 var(--font); padding: 5px 0; max-height: 110px; background: transparent; letter-spacing: -0.01em; }
.send { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.send:disabled { background: var(--line-strong); cursor: default; }
.attach-preview { display: flex; gap: 6px; padding: 0 12px; }
.attach-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }

.start { position: absolute; inset: 0; background: rgba(255,255,255,.97); display: flex; flex-direction: column; justify-content: center; padding: 30px 26px; gap: 10px; z-index: 2; }
.start h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -0.025em; text-align: center; }
.start p { margin: 0 0 14px; color: var(--ink-2); text-align: center; font-size: 15px; }
.start-opt { border: 0; background: var(--fill); border-radius: var(--radius-m); padding: 14px 16px; text-align: left; cursor: pointer; display: flex; gap: 14px; align-items: center; }
.start-opt:hover { background: var(--fill-hover); }
.start-opt b { display: block; font-size: 16px; font-weight: 600; }
.start-opt span { font-size: 13px; color: var(--ink-2); }
.start-opt .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; flex: none; color: var(--blue); }

/* owner side */
.owner { display: flex; flex-direction: column; gap: 18px; padding-top: 10px; }
.owner-title { display: flex; align-items: baseline; justify-content: space-between; }
.owner-title h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.owner-title span { font-size: 14px; color: var(--ink-3); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.card h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; display: flex; justify-content: space-between; align-items: center; }
.empty { color: var(--ink-3); font-size: 15px; }

.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--fill); color: var(--ink-2); }
.status.booked { background: var(--green-soft); color: var(--green); }
.status.emergency { background: var(--red-soft); color: var(--red); }
.status.needs_owner { background: var(--orange-soft); color: var(--orange); }
.status.times_offered, .status.qualifying { background: var(--blue-soft); color: var(--blue-text); }
.status.out_of_area { background: var(--fill); color: var(--ink-2); }  /* not urgent, so not orange */

.brief-job { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 14px; }
.rows { display: grid; grid-template-columns: 110px 1fr; gap: 9px 16px; font-size: 15px; }
.rows dt { color: var(--ink-3); }
.rows dd { margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--fill); color: var(--ink-2); }
.tag.risk { background: var(--orange-soft); color: var(--orange); }

.alert { border-radius: var(--radius-m); padding: 14px 16px; background: var(--red-soft); color: var(--red); font-size: 15px; animation: rise .3s ease; display: flex; gap: 12px; }
.alert.urgent, .alert.needs_owner { background: var(--orange-soft); color: var(--orange); }
.alert b { display: block; font-size: 13px; }
.alert span { color: var(--ink); }

.booking { border-radius: var(--radius-m); background: var(--green-soft); padding: 14px 16px; font-size: 15px; margin-bottom: 14px; animation: rise .3s ease; }
.booking b { color: var(--green); display: block; font-size: 13px; }

.cal { display: grid; gap: 4px; }
.card-sub { margin: -6px 0 12px; font-size: 14px; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw.booked { background: var(--fill); border: 1px solid var(--line); }
.sw.new { background: var(--green); }
.slot { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 10px; font-size: 14px; }
.slot .t { min-width: 112px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.slot.booked { background: var(--fill); color: var(--ink-2); }
.slot.new { background: var(--green); color: #fff; font-weight: 600; animation: rise .3s ease; }
.slot.new .t { color: rgba(255,255,255,.85); }
.slot.none { color: var(--ink-3); }
.cal-day { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.cal-day:first-child { border-top: 0; }
.cal-day .d { color: var(--ink-2); font-weight: 600; }
.cal-items { display: flex; flex-direction: column; gap: 4px; }
.cal-item { display: flex; gap: 10px; color: var(--ink-2); }
.cal-item .t { min-width: 92px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cal-item.mine { color: var(--green); font-weight: 600; }
.cal-item.mine .t { color: var(--green); }
.cal-free { color: var(--ink-3); }

.steps { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.step { display: flex; gap: 10px; align-items: flex-start; animation: rise .3s ease; }
.step .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; flex: none; color: var(--ink-2); margin-top: 1px; }
.step .what { color: var(--ink); }
.step .detail { color: var(--ink-3); font-size: 13px; }
.turn-sep { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 14px; }

/* "start here" prompt beside the phone */
.phone-wrap { position: relative; }
.hint {
  position: absolute; z-index: 6; left: calc(100% + 22px); top: 300px; width: 240px;
  background: var(--dark); color: #fff; border-radius: var(--radius-m); padding: 16px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.22);
  animation: nudge 1.6s ease-in-out infinite;
}
.hint::before { content: ""; position: absolute; left: -8px; top: 26px; border: 9px solid transparent; border-left: 0; border-right-color: var(--dark); }
.hint b { display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 4px; }
.hint span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.82); }
.hint[hidden] { display: none; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@media (prefers-reduced-motion: reduce) { .hint { animation: none; } }
.start-opt { box-shadow: 0 0 0 0 rgba(0,113,227,.0); transition: box-shadow .2s, background .2s; }
.start-opt:hover, .start-opt:focus-visible { box-shadow: 0 0 0 3px rgba(0,113,227,.35); outline: none; }

/* sheet (personalise / web form) */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.sheet-bg.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet { background: var(--surface); border-radius: var(--radius); padding: 28px; width: 100%; max-width: 420px; box-shadow: var(--shadow-pop); }
.sheet h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.025em; }
.sheet p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.sheet label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.sheet input, .sheet textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border-radius: var(--radius-s); border: 1px solid var(--line); font: 16px var(--font); letter-spacing: -0.01em; }
.sheet input:focus, .sheet textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--ring); }
.sheet .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; bottom: 24px; background: rgba(29,29,31,.92); color: #fff; padding: 12px 18px; border-radius: var(--radius-s); font-size: 15px; z-index: 60; max-width: min(560px, calc(100% - 32px)); display: none; }
.toast.show { display: block; animation: rise .25s ease; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; padding-top: 0; }
  .segmented { display: flex; position: sticky; top: 60px; z-index: 10; margin: 0 auto 8px; background: rgba(118,118,128,.12); border-radius: 10px; padding: 2px; width: min(360px, 100%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .segmented button { flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 0; font-size: 14px; font-weight: 500; cursor: pointer; position: relative; }
  .segmented button.on { background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
  .segmented .badge { position: absolute; top: 6px; margin-left: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: none; }
  .segmented .badge.show { display: inline-block; }
  .stage[data-view="customer"] .owner { display: none; }
  .stage[data-view="owner"] .phone-wrap { display: none; }
  .phone { margin: 0; border-radius: 28px; box-shadow: var(--shadow); height: calc(100svh - 130px); min-height: 520px; }
  .demo-head { padding-top: 28px; }
  .hint { position: static; width: auto; margin: 0 0 14px; animation: none; text-align: center; }
  .hint::before { left: 50%; top: auto; bottom: -8px; transform: translateX(-50%); border: 9px solid transparent; border-bottom: 0; border-top-color: var(--dark); }
  .hint { position: relative; }
  .demo-head p { font-size: 17px; }
}


/* ---------- v6: review fixes ---------- */
.nav-pill { font-size: 14px; color: var(--blue); border: 1px solid rgba(0,113,227,.35); border-radius: var(--radius-pill); padding: 5px 14px; }
.nav-pill:hover { background: var(--blue-soft); text-decoration: none; }
.demo-head.compact { padding: 26px 22px 12px; }
.demo-head.compact h1 { font-size: clamp(26px, 3.4vw, 36px); }
.demo-head.compact p { font-size: 16px; margin-top: 8px; }
.demo-head.compact .tools { margin-top: 14px; }

/* how-to-try steps beside the phone */
.hint { position: relative; left: auto; top: auto; width: auto; animation: none; z-index: 1; }
.hint::before { top: 30px; }
.hint ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.6); }
.hint li.on { color: #fff; font-weight: 600; }
.hint li.done { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.hint[data-step="1"] { animation: nudge 1.6s ease-in-out infinite; }
.start-opt b { color: var(--ink); }
.start-opt { animation: glow 2.4s ease-in-out 2; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,113,227,0); } 50% { box-shadow: 0 0 0 4px rgba(0,113,227,.28); } }

.mobile-start, .update-banner { display: none; }

.status-line { margin: -6px 0 12px; font-size: 14px; color: var(--ink-2); }
.status-line:empty { display: none; }
.status.urgent { background: var(--orange-soft); color: var(--orange); }

.sw.offered { background: var(--blue-soft); border: 1.5px dashed var(--blue); }
.slot.offered { border: 1.5px dashed var(--blue); background: var(--blue-soft); color: var(--blue-text); font-weight: 500; }
.slot.offered .t { color: var(--blue-text); }
.slot .t { min-width: 118px; }

.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(0,113,227,.0); } 30% { box-shadow: 0 0 0 4px rgba(0,113,227,.35); } 100% { box-shadow: var(--shadow); } }

.cta-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; animation: rise .3s ease; }
.cta-card b { font-size: 18px; letter-spacing: -0.02em; }
.cta-card span { color: rgba(255,255,255,.8); font-size: 15px; }
.cta-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cta-card .btn.secondary { background: rgba(255,255,255,.14); color: #fff; }

.steps-card summary { list-style: none; cursor: pointer; }
.steps-card summary::-webkit-details-marker { display: none; }
.steps-card summary h3 { margin: 0; }
.steps-card summary h3::after { content: "Show"; font-weight: 500; color: var(--blue); }
.steps-card[open] summary h3::after { content: "Hide"; }
.steps-card[open] summary { margin-bottom: 14px; }

.chips-wrap { position: relative; }
.chips-wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }

.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ring); }
/* one focus ring for everything you can tab to */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible, .chip:focus-visible, .icon-btn:focus-visible,
.segmented button:focus-visible, .nav-pill:focus-visible, .nav-cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tile:focus-visible, .faq summary:focus-visible { outline-offset: 4px; border-radius: var(--radius-m); }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.contact-strip { text-align: center; padding: 10px 22px 60px; }
.contact-strip:empty { display: none; }
.contact-strip p { color: var(--ink-2); margin: 0 0 14px; }
.hero .note-line { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

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

@media (max-width: 900px) {
  .hint { display: none; }
  .mobile-start:not([hidden]) { display: block; margin: 0 22px 10px; background: var(--blue); color: #fff; border-radius: var(--radius-m); padding: 12px 16px; font-weight: 600; text-align: center; cursor: pointer; }
  .update-banner:not([hidden]) { display: flex; position: sticky; top: 104px; z-index: 11; margin: 0 22px 10px; background: var(--dark); color: #fff; border-radius: var(--radius-m); padding: 12px 14px; gap: 10px; align-items: center; font-size: 14px; animation: rise .25s ease; }
  .update-banner span { flex: 1; }
  .update-banner button { border: 0; background: var(--blue); color: #fff; border-radius: var(--radius-pill); padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
  .segmented .badge.show { display: inline-grid; place-items: center; width: auto; min-width: 18px; height: 18px; padding: 0 5px; top: 4px; font-size: 11px; font-weight: 700; color: #fff; border-radius: 9px; }
  .phone { height: calc(100svh - 120px); }
  .hero { padding: 48px 22px 36px; }
  .demo-head.compact { padding-top: 18px; }
  .demo-head.compact .tools { margin-top: 10px; }
  .cal-day { grid-template-columns: 1fr; gap: 6px; }
}

/* lead form */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--red); font-size: 14px; margin: 4px 0 0; min-height: 1em; }
.form-error:empty { display: none; }
.contact-strip h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; margin: 0 0 8px; }

/* "Get this" in the top bar, on every page */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { border: 0; cursor: pointer; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; border-radius: var(--radius-pill); padding: 6px 14px; }
.nav-cta:hover { background: var(--blue-hover); }
.nav-cta[hidden], #head-get[hidden] { display: none; }
@media (max-width: 900px) {
  .nav-actions { gap: 10px; }
  .nav-actions .nav-link { font-size: 13px; }
  #head-get { display: none !important; }  /* the top-bar button is always on screen on phones */
}

/* ---------- v11: consistency review ---------- */
/* calendar: grey = booked, grey dashed = free, blue = offered, solid green + NEW = new booking */
.sw.free { background: var(--surface); border: 1.5px dashed var(--line-strong); }
.slot.free { border: 1.5px dashed var(--line); color: var(--ink-2); font-weight: 500; background: var(--surface); }
.slot.free .t { color: var(--ink-3); }
.new-pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; background: #fff; color: var(--green); border-radius: 6px; padding: 1px 6px; margin-right: 4px; vertical-align: 1px; }
.cal-skip { text-align: center; font-size: 12px; color: var(--ink-3); padding: 6px 0; border-top: 1px solid var(--hair); }

/* Dave's booking text sits with his other texts */
.alert.booked { background: var(--green-soft); color: var(--green); }

/* failed message: plain words and a retry */
.failed-note { align-self: flex-end; margin: 2px 4px 6px 0; }
.failed-note button { border: 0; background: none; color: var(--red); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; }
.failed-note button:hover { text-decoration: underline; }
.slow-note { font-style: italic; }
.toast-link { border: 0; background: none; color: var(--blue-on-dark); font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-left: 4px; text-decoration: underline; }
#owner { scroll-margin-top: 120px; }
@media (max-width: 900px) { #owner { scroll-margin-top: 130px; } }

@media (max-width: 900px) {
  /* a plain instruction, not a button */
  .mobile-start:not([hidden]) { background: var(--blue-soft); color: var(--ink); font-weight: 600; cursor: default; }
  /* in the page flow, so it never covers the phone */
  .update-banner:not([hidden]) { position: static; }
  .phone-wrap { scroll-margin-top: 110px; }
  .segmented { margin-bottom: 12px; }
}

/* ---------- privacy and small pages ---------- */
.footer a { color: var(--ink-2); text-decoration: underline; }
.footer a:hover { color: var(--ink); }
.small-hero { padding: 72px 22px 48px; }
.small-hero h1 { font-size: clamp(34px, 5vw, 52px); }
.prose { max-width: 720px; margin: 0 auto; padding: 48px 22px 64px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.033em; line-height: 1.08; margin: 0 0 12px; }
.prose .lead { font-size: 21px; color: var(--ink-2); margin: 0 0 32px; line-height: 1.4; }
.prose h2 { font-size: 24px; letter-spacing: -0.025em; margin: 36px 0 10px; }
.prose p, .prose li { font-size: 17px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .card { margin: 0 0 8px; }
.prose .fine { font-size: 13px; color: var(--ink-2); margin-top: 36px; }
.prose code { font-size: 15px; background: var(--fill); padding: 1px 6px; border-radius: 6px; }

/* private builder login */
.sheet-inline { max-width: 360px; margin: 24px auto 0; text-align: left; }
.sheet-inline label { display: block; font-size: 13px; color: var(--ink-2); }
.sheet-inline input { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border-radius: var(--radius-s); border: 1px solid var(--line); font: 16px var(--font); }
.sheet-inline input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--ring); }
.sheet-inline .cta-row { justify-content: flex-start; }
