/* Marketing site. Phone first; everything here must work at 360px wide with 44px+ tap targets.
   Tokens come from base.css. One loud thing per page (the hero phone on the home page); the rest stays quiet. */

:root {
  --site-header-h: 64px;
  --site-bottom-bar: 76px; /* height of the phone action bar; the chat widget can sit above it */
  --cream: #f5f2ea;
  --cream-2: #c9c5ba;
  --stripe: 0 0 0 transparent;
}

html { scroll-padding-top: calc(var(--site-header-h) + 12px); }
/* The phone action bar is fixed to the bottom of the screen. The dark footer reserves its height (plus the
   phone's home-indicator strip), so the last link never sits under it and no paper strip shows below the footer.
   The chat launcher (widget.js) lifts itself by the same --site-bottom-bar while the bar shows (body.bar-on). */
body.site { background: var(--paper); }
@media (max-width: 799px) {
  body.site.has-bottom-bar .site-footer { padding-bottom: calc(var(--s-5) + var(--site-bottom-bar) + env(safe-area-inset-bottom, 0px)); }
}
main { display: block; overflow-x: clip; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 10px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink-900); color: var(--cream); border-bottom: 1px solid #24282d; }
.site-header-inner { display: flex; align-items: center; gap: var(--s-3); min-height: var(--site-header-h); }
.site-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.site-logo img { display: block; height: 28px; width: auto; }
@media (min-width: 400px) { .site-logo img { height: 32px; } }
.site-nav { display: none; gap: 2px; margin-left: var(--s-4); }
.site-nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; position: relative; }
.site-nav a:hover { background: #1f2327; }
.site-nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--accent); }
.site-header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.site-login { display: none; color: var(--cream); font-weight: 600; text-decoration: none; padding: 10px 12px; min-height: 44px; align-items: center; border-radius: 10px; }
.site-login:hover { background: #1f2327; }
.site-header-cta { display: none; }
@media (min-width: 640px) { .site-header-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .site-nav { display: flex; }
  .site-login { display: inline-flex; }
  .site-menu { display: none; }
}

/* mobile menu: a <details>, so it works with no script at all */
.site-menu { position: static; }
.site-menu > summary { list-style: none; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px; border-radius: 12px; cursor: pointer; color: var(--cream); font-weight: 700; border: 1px solid #3a3f46; user-select: none; -webkit-tap-highlight-color: transparent; }
.site-menu[open] .site-menu-btn { background: var(--cream); color: var(--ink-900); border-color: var(--cream); }
.burger { display: inline-grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.15s ease, opacity 0.15s ease; }
.site-menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-menu[open] .burger i:nth-child(2) { opacity: 0; }
.site-menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-900); border-bottom: 1px solid #2a2e34; padding: var(--s-2) var(--s-4) var(--s-5); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7); max-height: calc(100vh - var(--site-header-h)); overflow-y: auto; }
.site-menu-panel nav { display: grid; margin-bottom: var(--s-4); }
.site-menu-panel nav a { color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; padding: 10px 2px; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid #24282d; }
.site-menu-panel nav a.is-active { color: var(--accent); }
@media (max-width: 399px) { .site-menu-label { display: none; } }

/* ---------- shared section pieces ---------- */
.section-tight { padding: var(--s-6) 0; }
@media (min-width: 800px) { .section-tight { padding: var(--s-7) 0; } }
.section-tint { background: var(--paper-2); }
.section-head { margin-bottom: var(--s-5); max-width: 760px; }
.section-head h2 { max-width: 22ch; }
.section-head .lead { max-width: 54ch; margin: 0; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center h2, .section-head-center .lead { margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s-2); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.02em; color: var(--accent-700); }
.kicker::before { content: ""; flex: none; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.22); }
/* the same eyebrow with a trade icon in place of the dot (trade pages) */
.kicker-icon::before { display: none; }
.kicker-icon .trade-icon { flex: none; color: var(--accent); }
.dark .kicker { color: var(--accent); }
.h3 { font-size: 1.45rem; }
.link-strong { font-weight: 700; }
.source-note { font-size: 0.94rem; line-height: 1.5; color: var(--muted); max-width: 78ch; margin: var(--s-4) 0 0; }
/* Any sentence on the marketing site: at least 15px. */
body.site .small, body.site small, body.site .hint { font-size: 0.94rem; }
.sources { margin-top: var(--s-4); max-width: 78ch; }
.sources > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--muted); list-style: none; }
.sources > summary::-webkit-details-marker { display: none; }
.sources > summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.sources[open] > summary::after { content: "\2212"; }
.sources .source-note { margin-top: 0; }
.dark .source-note { color: #8f8d86; }
.split { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; } }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text-2); }

/* road-stripe bullets */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.points li { position: relative; padding-left: 34px; color: var(--text-2); }
.points li strong { color: var(--text); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 20px; height: 4px; border-radius: 2px; background: var(--accent); }

.promises { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 10px; font-weight: 600; }
.promises li { display: flex; align-items: flex-start; gap: 10px; }
.promises-row { margin-top: var(--s-5); }
@media (min-width: 800px) { .promises-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-6); } }
.tick { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--ink-900); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: var(--s-3); }
.mini-steps li { counter-increment: ms; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); color: var(--text-2); }
.mini-steps li strong { color: var(--text); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900); color: var(--accent); font: 800 1.1rem/30px var(--font-display); text-align: center; }

/* ---------- inner page head ---------- */
.page-head { background: var(--ink-900); color: var(--cream); padding: var(--s-6) 0 var(--s-6); border-bottom: 4px solid var(--accent); }
@media (min-width: 800px) { .page-head { padding: var(--s-7) 0; } }
.page-head h1 { font-size: clamp(2.2rem, 8.5vw, 4rem); max-width: 18ch; margin-bottom: 0.25em; }
.page-head .lead { color: var(--cream-2); max-width: 52ch; margin: 0; }
.page-head .kicker { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--s-6) 0 var(--s-7); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -20%; top: 10%; width: 70vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 176, 0, 0.16), rgba(255, 176, 0, 0)); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .hero { padding: var(--s-8) 0; } .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-7); } }
.hero-title { font-size: clamp(2.7rem, 12.5vw, 5.6rem); line-height: 0.94; letter-spacing: -0.005em; margin-bottom: 0.32em; }
.hero-title span { display: block; }
@media (min-width: 960px) { .hero-title { font-size: clamp(3.8rem, 5.7vw, 5.6rem); } }
.hero-sub { font-size: clamp(1.12rem, 3.6vw, 1.32rem); color: var(--cream-2); max-width: 36ch; margin-bottom: var(--s-5); }
.hero-actions { display: grid; gap: var(--s-3); }
@media (min-width: 440px) { .hero-actions { display: flex; flex-wrap: wrap; } }
.hero-promise { margin: var(--s-4) 0 0; font-size: 0.95rem; color: var(--cream-2); display: flex; align-items: center; gap: 8px; }
.hero-promise::before { content: ""; flex: none; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.22); }
.hero .btn-ghost { --btn-fg: var(--cream); color: var(--cream); }

.hear-panel { margin-top: var(--s-5); outline: none; }
.js .hear-panel:not(.is-open):not(:target) { display: none; }
.hear-label { font-size: 0.92rem; color: var(--cream-2); margin-bottom: var(--s-2); }
.hear-label strong { color: var(--cream); }
.hear-note, .hear-more { font-size: 0.94rem; color: var(--cream-2); margin: var(--s-2) 0 0; }
.hear-more a { color: var(--cream); }
.hear-panel .player { --surface: #fff; --text: var(--ink-900); --border: transparent; color: var(--ink-900); box-shadow: var(--shadow-lg); }
.hear-panel .player-none { background: var(--paper-2); }
.hero-phone { display: flex; justify-content: center; }

/* ---------- phone mock ---------- */
.phone { margin: 0; width: 100%; max-width: 330px; }
.phone-body { background: #08090a; border-radius: 46px; padding: 11px; box-shadow: 0 0 0 1.5px #33373d inset, 0 0 0 1px #000, 0 40px 70px -30px rgba(0, 0, 0, 0.75); }
.dark .phone-body { box-shadow: 0 0 0 1.5px #3d424a inset, 0 0 0 1px #000, 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(255, 176, 0, 0.18); }
.phone-screen { background: #fbfaf7; color: var(--ink-900); border-radius: 36px; overflow: hidden; min-height: 440px; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px; font-size: 0.82rem; font-weight: 700; }
.phone-notch { width: 86px; height: 24px; border-radius: 999px; background: #08090a; }
.phone-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.phone-bars i { display: block; width: 3px; background: var(--ink-900); border-radius: 1px; }
.phone-bars i:nth-child(1) { height: 4px; } .phone-bars i:nth-child(2) { height: 6px; } .phone-bars i:nth-child(3) { height: 8px; } .phone-bars i:nth-child(4) { height: 11px; }
.phone-head { display: grid; justify-items: center; gap: 4px; padding: 6px 12px 12px; border-bottom: 1px solid #ebe7de; background: #f4f2ed; }
.phone-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; }
.phone-contact { display: grid; justify-items: center; line-height: 1.2; }
.phone-contact strong { font-size: 0.86rem; }
.phone-contact span { font-size: 0.72rem; color: var(--muted); }
.phone-thread { list-style: none; margin: 0; padding: 12px 12px 18px; display: grid; gap: 8px; }
.phone-meta { justify-self: center; font-size: 0.72rem; font-weight: 600; color: var(--muted); padding: 2px 0; }
.bubble { justify-self: start; max-width: 88%; background: #e8e5de; color: var(--ink-900); padding: 9px 13px 8px; border-radius: 18px 18px 18px 6px; font-size: 0.92rem; line-height: 1.36; display: grid; gap: 2px; }
.bubble-me { justify-self: end; background: var(--ink-800); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble-title { font-size: 0.78rem; display: inline-flex; align-items: center; gap: 6px; }
.bubble-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-400); }
.bubble-booked .bubble-title::before { background: var(--ok); }
.bubble-lead .bubble-title::before { background: var(--accent-600); }
.bubble-emergency { background: #fbe3dd; }
.bubble-emergency .bubble-title { color: #8f1f10; }
.bubble-emergency .bubble-title::before { background: var(--danger); }
.bubble-spam { background: #ecebe7; color: var(--ink-600); }
.bubble-time { font-size: 0.68rem; color: var(--ink-500); justify-self: end; }
.phone figcaption { margin-top: var(--s-3); text-align: center; font-size: 0.94rem; color: var(--muted); }
/* A phone sized to what is on it (trade pages: one or two texts), so the screen is never half empty. */
.phone-fit .phone-screen { min-height: 0; }
.phone-fit .phone-thread { padding-bottom: 28px; }
.dark .phone figcaption { color: #8f8d86; }
/* Every text is on screen from the first paint, with or without JavaScript, in a screenshot, with reduced
   motion. The animation only adds a small "just arrived" nudge to each bubble in turn; it never hides one. */
@keyframes bubble-nudge { 0%, 100% { transform: none; } 35% { transform: translateY(-3px) scale(1.02); } }
@media (prefers-reduced-motion: no-preference) {
  .phone-animate .phone-thread > li { animation: bubble-nudge 0.5s ease-out; animation-delay: calc(var(--i, 0) * 0.45s + 0.3s); }
}

/* ---------- what happens when they call ---------- */
.call-steps { list-style: none; margin: 0; padding: 0; counter-reset: cs; display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .call-steps { grid-template-columns: repeat(3, 1fr); } }
.call-steps > li { counter-increment: cs; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); position: relative; }
.call-steps > li::before { content: counter(cs); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink-900); color: var(--accent); font: 800 1.4rem/1 var(--font-display); margin-bottom: var(--s-3); }
.call-steps h3 { font-size: 1.5rem; }
.call-steps p { color: var(--text-2); }
.say { background: var(--paper-2); border-radius: 16px 16px 16px 6px; padding: 10px 14px; color: var(--ink-800) !important; font-weight: 600; margin: 0; }
.asks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.asks li { background: var(--accent-soft); color: #6b4500; font-weight: 600; font-size: 0.9rem; padding: 5px 12px; border-radius: 999px; }
.mini-text { background: #e8e5de; border-radius: 16px 16px 16px 6px; padding: 9px 13px; font-size: 0.93rem; margin: 0; color: var(--ink-900) !important; }

/* ---------- type your business ---------- */
.build-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .build-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; } }
.build-form { border: 2px solid var(--ink-900); box-shadow: 4px 4px 0 var(--ink-900); }
@media (min-width: 600px) { .build-form { box-shadow: 6px 6px 0 var(--ink-900); } }
/* City and State side by side everywhere the same two fields appear (home, sign-up). */
.place-row { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 340px) { .place-row { grid-template-columns: 1fr; } }
.hint-inline { font-weight: 400; color: var(--muted); }
.input-state { text-transform: uppercase; }

/* ---------- calculator ---------- */
.calc { display: grid; gap: 0; padding: 0; overflow: hidden; }
@media (min-width: 860px) { .calc { grid-template-columns: 1.1fr 0.9fr; } }
.calc-inputs { padding: var(--s-5); }
.calc input[type="range"] { width: 100%; height: 44px; accent-color: var(--accent-600); margin: 0; }
.calc-result { background: var(--ink-900); color: var(--cream); padding: var(--s-5); display: flex; flex-direction: column; justify-content: center; }
.calc-label { margin: 0; font-weight: 600; color: var(--cream-2); }
.calc-big { margin: 0 0 var(--s-2); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 13vw, 4.2rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-unit { font-size: 1.3rem; color: var(--cream-2); font-weight: 700; }
.calc-line { color: var(--cream-2); margin-bottom: var(--s-2); }
.calc-line strong { color: var(--cream); }
.calc-result .btn { margin-top: var(--s-3); }
.calc-bars { display: grid; gap: 10px; margin: var(--s-2) 0 var(--s-4); }
.calc-bar-label { display: flex; justify-content: space-between; gap: 8px; font-size: 0.94rem; color: var(--cream-2); margin-bottom: 4px; }
.calc-bar-label strong { color: var(--cream); font-variant-numeric: tabular-nums; }
.calc-bar-track { height: 14px; border-radius: 7px; background: #24282d; overflow: hidden; }
.calc-bar-fill { display: block; height: 100%; border-radius: 7px; background: var(--cream); transition: width 0.25s ease; }
.calc-bar-ours .calc-bar-fill { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .calc-bar-fill { transition: none; } }

/* ---------- emergencies (night section) ---------- */
.emergency { border-top: 4px solid var(--accent); }
.emergency-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .emergency-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-7); } }
.whisper { background: var(--ink-800); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: var(--s-4) var(--s-5); }
.whisper-label { margin: 0 0 6px; font-size: 0.88rem; font-weight: 600; color: var(--cream-2); }
.whisper-text { margin: 0; font-size: 1.15rem; color: var(--cream); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #33373d; }
.timeline li { position: relative; padding: 0 0 var(--s-5) 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-900); border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(255, 176, 0, 0.16); }
.timeline-time { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent); letter-spacing: 0.02em; }
.timeline h3 { font-family: var(--font); font-weight: 700; font-size: 1.15rem; margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--cream-2); }

/* ---------- portal mock ---------- */
.mock { background: var(--paper-3); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink-900); color: var(--cream-2); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3d424a; }
.mock-bar span:first-child { background: var(--accent); }
.mock-bar p { margin: 0 0 0 8px; font-size: 0.85rem; font-weight: 600; }
.mock-grid { display: grid; gap: 12px; padding: 12px; }
@media (min-width: 900px) { .mock-grid { grid-template-columns: 1.25fr 1fr; } .mock-wide { grid-column: 1 / -1; } }
.mock-pane { background: var(--card); border-radius: var(--r); padding: var(--s-4); min-width: 0; }
.mock-title { margin: 0 0 var(--s-3); font-weight: 700; font-size: 0.95rem; }
.mock-calls { list-style: none; margin: 0; padding: 0; display: grid; }
.mock-calls li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-calls li:first-child { border-top: 0; }
.mock-time { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mock-who { display: grid; min-width: 0; line-height: 1.25; }
.mock-who strong { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-who span { font-size: 0.82rem; color: var(--muted); }
.mock-dur { display: none; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 520px) { .mock-calls li { grid-template-columns: 64px 1fr auto 40px; } .mock-dur { display: block; text-align: right; } }
.ticket { background: #fffdf7; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 4px var(--r) var(--r) 4px; padding: var(--s-4); }
.ticket-name { font-weight: 700; font-size: 1.08rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--s-3); }
.ticket-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; font-size: 0.92rem; margin-bottom: 6px; }
.ticket-row span { color: var(--muted); font-weight: 600; font-size: 0.82rem; padding-top: 2px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.ticket-actions .btn { pointer-events: none; }
.mock-pipeline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 700px) { .mock-pipeline { grid-template-columns: repeat(4, 1fr); } }
.mock-col { background: var(--paper-2); border-radius: var(--r-sm); padding: 10px; display: grid; gap: 6px; align-content: start; }
.mock-col p { margin: 0 0 2px; font-weight: 700; font-size: 0.86rem; display: flex; justify-content: space-between; }
.mock-col p span { color: var(--muted); font-weight: 600; }
.mock-card { display: grid; gap: 1px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; font-size: 0.86rem; font-weight: 600; min-width: 0; }
.mock-card span { font-weight: 500; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }

/* ---------- trades grid ---------- */
.trade-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .trade-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .trade-grid { grid-template-columns: repeat(5, 1fr); } }
.trade-tile { display: grid; gap: 4px; align-content: start; height: 100%; min-height: 112px; padding: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color 0.12s ease; }
.trade-tile:hover { border-color: var(--ink-800); }
.trade-tile-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink-900); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.trade-tile-name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.trade-tile-kind { font-size: 0.9rem; color: var(--muted); }
.trade-grid-compact .trade-tile { min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.trade-grid-compact .trade-tile-icon { margin: 0; width: 38px; height: 38px; }

/* ---------- plans ---------- */
.plans { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plans-compact { grid-template-columns: 1fr !important; max-width: 440px; width: 100%; }
@media (min-width: 900px) { .split .plans-compact { max-width: none; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.plan-featured { border: 2px solid var(--ink-900); box-shadow: 4px 4px 0 var(--ink-900); }
@media (min-width: 600px) { .plan-featured { box-shadow: 6px 6px 0 var(--ink-900); } }
.plan-flag { position: absolute; top: -14px; left: var(--s-5); margin: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.82rem; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink-900); }
.plan-name { font-size: 1.7rem; margin-bottom: 4px; }
.plan-tagline { color: var(--text-2); font-size: 0.97rem; min-height: 2.9em; margin-bottom: var(--s-3); }
.plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan-big { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-unit { color: var(--muted); font-weight: 600; }
.plan-note { font-size: 0.94rem; color: var(--muted); margin: 6px 0 var(--s-4); }
/* Four plans in a row: every price note gets two lines, so the four buttons line up. */
@media (min-width: 1120px) { .plans:not(.plans-compact) .plan-note { min-height: 3.1em; } }
.plan-covers { font-size: 0.92rem; color: var(--text-2); margin: var(--s-4) 0 var(--s-3); }
.plan-features { list-style: none; margin: 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.95rem; }
.plan-features li { position: relative; padding-left: 32px; min-height: 24px; }
/* the same amber-on-ink check as every other promise on the site (.tick) */
.plan-features li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-900); }
.plan-features li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item > summary { min-height: 56px; font-size: 1.04rem; }
.faq-item .disclosure-body p { color: var(--text-2); margin: 0; }
.faq-group + .faq-group { margin-top: var(--s-6); }
.faq-group h2 { font-size: 1.8rem; }

/* ---------- call-to-action band ---------- */
.cta-band { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--accent-ink); padding: var(--s-7) 0; border-top: 1px solid var(--accent-600); }
.cta-band-inner { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { margin-bottom: 0.2em; max-width: 20ch; }
.cta-band p { margin: 0; font-size: 1.1rem; font-weight: 500; max-width: 46ch; }
.cta-band-actions { display: grid; gap: var(--s-3); }
@media (min-width: 440px) { .cta-band-actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) { .cta-band-actions { justify-content: flex-end; } }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.55); border-color: var(--accent-700); box-shadow: 0 2px 0 var(--accent-700); }

/* ---------- how it works ---------- */
.how-steps { max-width: 760px; }
.fwd-shot { margin: var(--s-4) 0 var(--s-2); max-width: 420px; }
.fwd-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.fwd-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink-900); color: var(--cream); font-weight: 700; font-size: 0.94rem; }
.fwd-top .mark { flex: none; }
.fwd-body { padding: var(--s-4); display: grid; gap: 10px; }
.fwd-result { border-radius: var(--r); padding: 10px 12px; border-left: 4px solid var(--danger); background: #fbf1ee; }
.fwd-result.is-ok { border-left-color: var(--ok); background: #eef6f0; }
.fwd-shot p { margin: 0; }
.fwd-result p + p { margin-top: 4px; color: var(--text-2); font-size: 0.94rem; }
.fwd-fix { margin: 0; font-size: 0.94rem; background: var(--accent-soft); border-radius: var(--r-sm); padding: 8px 12px; }
.fwd-shot figcaption { margin-top: 8px; font-size: 0.94rem; color: var(--muted); }
.big-steps { list-style: none; margin: 0; padding: 0; counter-reset: bs; }
.big-steps > li { counter-increment: bs; position: relative; padding: 0 0 var(--s-6) 64px; }
.big-steps > li::before { content: counter(bs); position: absolute; left: 0; top: -4px; width: 46px; height: 46px; border-radius: 14px; background: var(--ink-900); color: var(--accent); font: 800 1.7rem/46px var(--font-display); text-align: center; }
.big-steps > li::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 10px; width: 2px; background: var(--line-strong); }
.big-steps > li:last-child::after { display: none; }
.big-steps h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.big-steps p { color: var(--text-2); }
.asks-list { display: grid; gap: 10px; }
.asks-trade-name { display: inline-flex; align-items: center; gap: 10px; }
.asks-trade-name .trade-icon { color: var(--accent-700); }
.asks-service { margin-bottom: var(--s-4); }
.asks-service h4 { margin-bottom: 6px; }
.asks-service ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.asks-service li + li { margin-top: 4px; }

/* ---------- pricing: what the other ways cost (one bar chart, one dollar scale) ---------- */
.cost-chart { list-style: none; margin: 0; padding: var(--s-4); display: grid; gap: var(--s-5); background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); }
@media (min-width: 800px) { .cost-chart { padding: var(--s-5) var(--s-6); } }
.cost-bar-row { display: grid; gap: 6px; }
@media (min-width: 800px) { .cost-bar-row { grid-template-columns: 240px 1fr; gap: var(--s-4); align-items: center; } }
.cost-bar-who { margin: 0; font-weight: 700; line-height: 1.3; }
.cost-bar-who span { display: block; font-weight: 500; font-size: 0.94rem; color: var(--muted); }
.cost-bar-track { position: relative; height: 30px; }
.cost-bar-track::before { content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--paper-2); }
.cost-bar { position: absolute; top: 0; bottom: 0; left: var(--from, 0%); width: calc(var(--to) - var(--from, 0%)); min-width: 10px; border-radius: 8px; background: var(--ink-600); }
.cost-bar-range { background: repeating-linear-gradient(135deg, var(--ink-600) 0 6px, var(--ink-500) 6px 12px); }
.cost-bar-ours { background: var(--accent); box-shadow: inset 0 -3px 0 var(--accent-600); }
.cost-bar-value { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--to) + 8px); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-bar-value.is-inside { left: auto; right: calc(100% - var(--to) + 10px); color: #fff; }
.cost-chart-note { margin: 0; font-size: 0.94rem; color: var(--text-2); }
.cost-rows { display: grid; gap: 10px; }
.cost-row { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s-4); }
@media (min-width: 860px) { .cost-row { grid-template-columns: 1fr 1fr 1.4fr; gap: var(--s-4); align-items: center; } }
.cost-row p { margin: 0; }
.cost-who { font-weight: 700; }
.cost-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; }
.cost-price span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.cost-note { color: var(--text-2); font-size: 0.95rem; }
.cost-ours { background: var(--ink-900); color: var(--cream); border-color: var(--ink-900); }
.cost-ours .cost-price strong { color: var(--accent); }
.cost-ours .cost-price span, .cost-ours .cost-note { color: var(--cream-2); }

/* ---------- compare ---------- */
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-bottom: var(--s-4); }
.jump span { font-weight: 700; color: var(--muted); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent-700); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: var(--s-4); scrollbar-width: thin; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-strong); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.chip:hover { border-color: var(--ink-800); }
.vs-list { display: grid; gap: var(--s-5); }
.vs { scroll-margin-top: calc(var(--site-header-h) + 12px); }
.vs-head { display: grid; gap: 2px; margin-bottom: var(--s-4); }
.vs-head h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0; }
.vs-price { margin: 0; color: var(--muted); font-weight: 600; }
.vs-table { display: grid; border-top: 1px solid var(--line); }
.vs-row { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vs-row-head { display: none; }
.vs-what { font-weight: 700; }
.vs-them, .vs-us { display: block; font-size: 0.96rem; }
.vs-them { color: var(--text-2); }
.vs-us { font-weight: 600; }
.vs-them, .vs-us { display: grid; grid-template-columns: 44px 1fr; gap: 6px; align-items: baseline; }
.vs-them::before, .vs-us::before { content: attr(data-label); font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.vs-us::before { color: var(--accent-700); }
@media (min-width: 760px) {
  .vs-row { grid-template-columns: 1fr 1.3fr 1.3fr; gap: var(--s-4); align-items: start; }
  .vs-row-head { display: grid; font-size: 0.85rem; font-weight: 700; color: var(--muted); padding: 8px 0; }
  .vs-row-head span:last-child { color: var(--accent-700); }
  .vs-them, .vs-us { display: block; }
  .vs-them::before, .vs-us::before { content: none; }
  .vs-us { position: relative; padding-left: 14px; }
  .vs-us::after { content: ""; position: absolute; left: 0; top: 0.35em; bottom: 0.35em; width: 4px; border-radius: 2px; background: var(--accent); }
}
.vs-wins { margin: var(--s-4) 0 0; background: var(--paper-2); border-radius: var(--r-sm); padding: 10px 14px; color: var(--text-2); }
.vs-wins strong { color: var(--text); }
.vs .source-note { margin-top: var(--s-3); }

/* ---------- about, partners, legal ---------- */
.about-patch { margin-top: var(--s-6); }
.about-patch img { width: 280px; height: auto; }
.partner-models .card { display: grid; gap: 4px; }
.partner-models .card p:last-child { margin: 0; color: var(--text-2); }
.partner-form .check { min-height: 44px; align-items: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal p { color: var(--text-2); }

/* ---------- error pages ---------- */
.error-page { padding: var(--s-7) 0 var(--s-8); }
.error-code { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 22vw, 8rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 3px var(--accent-600); }
.error-page h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
.error-actions { margin-top: var(--s-5); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: var(--cream-2); padding: var(--s-7) 0 var(--s-5); }
/* Phone: the brand, then Product and Company side by side, then the trades in two columns. Desktop: four columns. */
.footer-top { display: grid; gap: var(--s-5) var(--s-4); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "brand brand" "product company" "trades trades"; }
.footer-brand { grid-area: brand; }
.footer-product { grid-area: product; }
.footer-company { grid-area: company; }
.footer-trades { grid-area: trades; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-4); }
.footer-trades h2 { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .footer-top { gap: var(--s-6); grid-template-columns: 1.6fr 1fr 1fr 1fr; grid-template-areas: "brand product trades company"; }
  .footer-trades { grid-template-columns: 1fr; }
}
.footer-brand img { height: 28px; width: auto; }
.footer-tagline { color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: var(--s-3) 0; }
.footer-promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.footer-promises li { position: relative; padding-left: 22px; }
.footer-promises li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 12px; height: 3px; border-radius: 2px; background: var(--accent); }
.footer-col { display: grid; align-content: start; }
.footer-col h2 { font-family: var(--font); font-weight: 700; font-size: 0.98rem; color: var(--cream); margin: 0 0 6px; }
.footer-col a { color: var(--cream-2); text-decoration: none; padding: 8px 0; min-height: 40px; display: flex; align-items: center; font-size: 0.95rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #24282d; margin-top: var(--s-6); padding-top: var(--s-4); font-size: 0.94rem; color: #8f8d86; }
.footer-bottom p { margin: 0 0 6px; }

/* ---------- phone action bar ---------- */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(19, 21, 24, 0.97); border-top: 1px solid #2a2e34; transition: transform 0.2s ease, visibility 0s linear 0s; }
.bottom-bar .btn { min-height: 50px; padding: 8px 10px; }
.bottom-bar .btn-ghost { --btn-fg: var(--cream); color: var(--cream); background: transparent; border-color: #4a4f57; box-shadow: 0 2px 0 #000; }
@media (min-width: 800px) { .bottom-bar { display: none; } }
/* With script, the bar waits off screen until the page's own first buttons scroll away (site.js: body.bar-on). */
.js body.site:not(.bar-on) .bottom-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0s linear 0.2s; }
@media (prefers-reduced-motion: reduce) { .bottom-bar, .js body.site:not(.bar-on) .bottom-bar { transition: none; } }

/* Phone: the chat launcher (widget.js host [data-wgtp]) stays out of the first screen until the action bar slides
   in, and both tuck away while the visitor types in one of the page's own fields (site.js: body.wgtp-quiet,
   body.form-focus). visibility is inherited into the launcher's shadow root, so the host rule hides it all. */
@media (max-width: 799px) {
  body.site.wgtp-quiet [data-wgtp] { visibility: hidden !important; }
  .js body.site.form-focus .bottom-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0s linear 0.2s; }
}
