/* PracticeLift marketing site */

/* ---------- Tokens ---------- */
/* Only the five brand colors are used. Lines, fills, and shadows are those colors at reduced strength. */
:root {
  --white: #FFFFFF;
  --pale: #F2F7FF;
  --blue: #245BFF;
  --navy: #102449;
  --muted: #53647D;

  --line: rgba(36, 91, 255, .13);
  --line-strong: rgba(16, 36, 73, .2);
  --control: rgba(16, 36, 73, .5);
  --busy: rgba(36, 91, 255, .08);
  --on-dark-soft: rgba(255, 255, 255, .82);

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --header-h: 72px;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 20px;
  --r-xl: 28px;
  --shadow-lg: 0 22px 44px -28px rgba(16, 36, 73, .3), 0 0 0 1px var(--line);
  --shadow-md: 0 14px 30px -20px rgba(16, 36, 73, .32);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: var(--r-s); background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(80px, 9vw, 128px); }
.band-tight { padding-block: clamp(64px, 7vw, 100px); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Type ---------- */
h1 { font-weight: 800; letter-spacing: -0.042em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.sec-lede { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 34em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head h2 { max-width: 14em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 18px -12px rgba(36, 91, 255, .6); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { background: var(--white); border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--pale); }
.btn-outline-white { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
/* Background and text switch together so the header never passes through a low-contrast state */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--blue); color: var(--white); --mark-stem: var(--navy); --mark-block: var(--white); --mark-dot: var(--white); transition: box-shadow .25s; }
.site-header.is-stuck, .site-header.menu-open { background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(16, 36, 73, .4); --mark-block: var(--blue); --mark-dot: var(--blue); }
.site-header:not(.is-stuck):not(.menu-open) :focus-visible { outline-color: var(--white); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.035em; line-height: 1; text-decoration: none; }
/* The mark: a stem and an appointment block lifted beside it, read together as a P */
.brand-mark { width: 30px; height: 30px; flex: none; }
.bm-stem { fill: var(--mark-stem, var(--navy)); }
.bm-block { fill: var(--mark-block, var(--blue)); }
.wordmark { white-space: nowrap; }
/* The i in Lift carries a small raised square that echoes the block */
.wm-i { position: relative; }
.wm-i::after { content: ""; position: absolute; left: 50%; top: .08em; width: .19em; height: .19em; margin-left: -.095em; border-radius: .035em; background: var(--mark-dot, var(--blue)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.nav-links a { text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav-links a:hover { text-decoration: underline; }
.is-stuck .nav-links a { color: var(--muted); }
.is-stuck .nav-links a:hover { color: var(--navy); }
.btn-header { min-height: 42px; padding-inline: 18px; font-size: .9375rem; background: var(--white); color: var(--blue); }
.btn-header:hover { background: var(--pale); }
.is-stuck .btn-header, .menu-open .btn-header { background: var(--blue); color: var(--white); }
.is-stuck .btn-header:hover, .menu-open .btn-header:hover { background: var(--navy); }
.menu-btn { display: none; min-height: 42px; padding-inline: 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); color: var(--navy); }
.mobile-links { display: flex; flex-direction: column; padding-block: 8px 20px; }
.mobile-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; text-decoration: none; }

/* ---------- Entrance ---------- */
.enter { animation: rise .8s var(--ease) both; }
.e2 { animation-delay: .1s; }
.e3 { animation-delay: .2s; }
.e4 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Restrained reveals for a few major blocks */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Demo building blocks ---------- */
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.demo-tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(36, 91, 255, .18); }
.demo-ctrls { flex: none; display: flex; flex-wrap: wrap; gap: 8px; }
.replay { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); font-size: .8125rem; font-weight: 600; cursor: pointer; transition: border-color .18s, transform .18s var(--ease); }
.replay:hover { border-color: var(--navy); }
.replay:active { transform: scale(.96); }
.replay svg { width: 14px; height: 14px; }
.replay:disabled { opacity: .45; cursor: default; }
.replay:disabled:hover { border-color: var(--line-strong); }
/* Pausing a demo also freezes its looping motion */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* Parts of a demo appear as the sequence reaches them */
.js [data-show] { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.js [data-show].is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }

.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.45; }
.msg-in { align-self: flex-start; background: var(--busy); color: var(--navy); border-bottom-left-radius: 4px; }
.msg-out { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.msg-slot { position: relative; align-self: flex-end; max-width: 86%; display: flex; flex-direction: column; }
.msg-slot > .msg { max-width: none; }
.msg-slot > .typing { position: absolute; top: 0; right: 0; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--blue); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .9); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .35; } 40% { opacity: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { min-height: 38px; padding-inline: 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .75); background: transparent; color: var(--white); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .2s var(--spring); }
.chip:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.chip:active:not(:disabled) { transform: scale(.94); }
.chip.is-picked { background: var(--white); color: var(--blue); border-color: var(--white); transform: scale(1.05); }
.chip:disabled { cursor: default; }
.chip:focus-visible { outline-color: var(--white); }

.spinner { flex: none; display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Illustrative schedule */
.cal { --px: .62px; position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); font-size: .75rem; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cal-day { font-weight: 700; font-size: .875rem; }
.cal-note { color: var(--muted); font-size: .75rem; }
.cal-grid { position: relative; display: grid; grid-template-columns: 40px repeat(var(--cols, 3), minmax(0, 1fr)); }
.cal-colhead { height: 32px; display: flex; align-items: center; padding-inline: 8px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-colhead.corner { border-left: 0; }
.cal-times, .cal-col { position: relative; height: calc(540 * var(--px)); }
.cal-col { border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(60 * var(--px) - 1px), var(--line) calc(60 * var(--px) - 1px), var(--line) calc(60 * var(--px))); }
.cal-times span { position: absolute; right: 6px; top: calc(var(--t) * var(--px) - 6px); color: var(--muted); font-size: .75rem; line-height: 1; }
.cal-times span:first-child { top: 4px; }
.blk { position: absolute; left: 4px; right: 4px; top: calc(var(--s) * var(--px) + 1px); height: calc(var(--d) * var(--px) - 2px); padding: 3px 6px; overflow: hidden; border-radius: 5px; background: var(--busy); color: var(--muted); line-height: 1.25; }
/* Existing appointments stay unlabeled shaded blocks, so the new booking is what reads */
.blk:not(.is-event) { font-size: 0; }
.blk.lunch { background: repeating-linear-gradient(135deg, var(--pale) 0 6px, var(--white) 6px 12px); border: 1px dashed var(--line-strong); }
.blk.is-event { z-index: 2; top: calc(var(--start, 0) * var(--px) + 1px); height: calc(var(--d, 60) * var(--px) - 2px); background: var(--blue); color: var(--white); font-size: .75rem; box-shadow: 0 0 0 3px rgba(36, 91, 255, .22), 0 8px 18px -10px rgba(16, 36, 73, .45); }
.blk.is-event b, .blk.is-event span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk.is-event b { font-weight: 700; }
.js .blk.is-event[data-show] { transform: scale(.9); transform-origin: 50% 0; }
.js .blk.is-event[data-show].is-on { transform: none; transition: opacity .3s var(--ease), transform .55s var(--spring), visibility 0s; }
.slot-hint { position: absolute; z-index: 1; left: 4px; right: 4px; top: calc(var(--s) * var(--px) + 1px); height: calc(var(--d, 60) * var(--px) - 2px); border-radius: 5px; border: 1.5px dashed var(--blue); background: rgba(36, 91, 255, .06); }
.js .slot-hint[data-show].is-on { transition-delay: calc(var(--i, 0) * 380ms + 250ms); }

/* Schedule check: a band sweeps the day while openings are found */
.scan { position: absolute; z-index: 1; left: 40px; right: 0; top: 32px; height: calc(80 * var(--px)); pointer-events: none; background: linear-gradient(to bottom, rgba(36, 91, 255, 0), rgba(36, 91, 255, .14) 85%, rgba(36, 91, 255, .7) 96%, rgba(36, 91, 255, 0)); }
.scan.is-on { animation: scan 1.6s var(--ease) forwards; }
@keyframes scan { from { transform: translateY(calc(-80 * var(--px))); } to { transform: translateY(calc(540 * var(--px))); } }
.status-pill { position: absolute; z-index: 3; top: 44px; left: 0; right: 0; width: max-content; max-width: calc(100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .75rem; font-weight: 600; box-shadow: 0 8px 18px -12px rgba(16, 36, 73, .6); }
.status-pill .spinner { width: 12px; height: 12px; border-color: rgba(255, 255, 255, .3); border-top-color: var(--white); }

/* Confirmation popup */
.popup { position: absolute; z-index: 4; right: 14px; bottom: 14px; width: min(300px, calc(100% - 28px)); display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 36px -18px rgba(16, 36, 73, .4); font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.js .popup[data-show] { transform: translateY(18px) scale(.86); transform-origin: 85% 100%; }
.js .popup[data-show].is-on { transform: none; transition: opacity .25s var(--ease), transform .6s var(--spring), visibility 0s; }
.popup-lines { flex: 1; min-width: 0; }
.popup-lines > span { display: block; }
.popup-lines b { display: block; margin-bottom: 2px; color: var(--navy); font-size: .9375rem; }
.popup-src { margin-top: 4px; color: var(--blue); font-weight: 600; }
.popup-icon { position: relative; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); }
.popup-icon svg { width: 14px; height: 14px; }
.popup.is-on .popup-icon::after, .popup-static .popup-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: ring 1s ease-out .2s both; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

/* ---------- 1. Hero ---------- */
.hero { background: var(--blue); color: var(--white); padding-block: clamp(20px, 3.5vw, 44px) 236px; }
.hero :focus-visible { outline-color: var(--white); }
.hero-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 56px; align-items: end; }
.hero-kicker { margin-bottom: 18px; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; max-width: 36em; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.9rem); max-width: 10.5em; }
.hero-lede { margin-bottom: 24px; font-size: 1.125rem; line-height: 1.55; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-demo { position: relative; margin-top: -188px; padding-bottom: clamp(56px, 7vw, 96px); }
.hero-demo-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.phone { position: relative; z-index: 2; margin-top: 44px; margin-right: -44px; padding: 10px; border-radius: 34px; background: var(--white); box-shadow: 0 26px 52px -30px rgba(16, 36, 73, .45), 0 0 0 1px var(--line); }
.phone-inner { overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--white); }
.phone-top { padding: 14px 12px 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: .8125rem; }
.phone-top b { display: block; font-size: .9375rem; }
.phone-top span { color: var(--muted); }
.sms { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 410px; padding: 14px 12px; }
.sms .msg, .thread .msg, .webchat-log .msg { font-size: .875rem; }
/* On the patient's screen, the practice writes from the left */
.sms .msg-out, .thread .msg-out, .webchat-log .msg-out { align-self: flex-start; border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
.sms .msg-in, .thread .msg-in, .webchat-log .msg-in { align-self: flex-end; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.sms .msg-slot { align-self: flex-start; }
.sms .msg-slot > .typing { left: 0; right: auto; }

.board { position: relative; padding: 18px 18px 18px 66px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-lg); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.week { display: flex; gap: 6px; margin-bottom: 12px; }
.week > span { flex: 1; padding: 8px 0; border-radius: var(--r-s); background: var(--pale); color: var(--muted); text-align: center; font-size: .8125rem; }
.week b { display: block; color: var(--navy); font-size: 1rem; }
.week .on { background: var(--navy); color: var(--on-dark-soft); }
.week .on b { color: var(--white); }
.cal-hero { --px: .7px; border: 0; }
/* In the hero, the confirmation lands right beside the new appointment */
.cal-hero .popup { right: calc(25% + 10px); bottom: auto; top: min(calc(var(--start, 180) * var(--px) + 14px), calc(100% - 118px)); }
.js .cal-hero .popup[data-show] { transform-origin: 100% 30%; }
.note { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

/* ---------- 2. Problems (compact) ---------- */
.problem-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.problem-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.problem-list li { padding-top: 18px; border-top: 2px solid var(--navy); }
.problem-list h3 { margin-bottom: 8px; font-size: 1.25rem; }
.problem-list p { color: var(--muted); }
.problem-close { margin-top: 44px; font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; max-width: 34em; }

/* ---------- 3. Channel overview ---------- */
.channels { background: var(--pale); }
.channel-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel-list li { position: relative; }
.channel-list li::after { content: ""; position: absolute; left: 50%; bottom: -28px; width: 2px; height: 28px; margin-left: -1px; background: var(--line-strong); }
.channel { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.channel:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.channel:active { transform: scale(.99); }
/* 3D renders with transparent padding, pulled in so the object lines up with the text.
   The edge fade hides the faint floor shading from the render. */
.channel-icon { flex: none; width: 96px; height: 96px; margin: -14px 0 -8px -14px; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.channel-text b { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.channel-text span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.channel-go { margin-top: auto; color: var(--blue); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.channel-merge { position: relative; height: 56px; }
.channel-merge::before { content: ""; position: absolute; top: 27px; left: calc((100% - 48px) / 8); right: calc((100% - 48px) / 8); height: 2px; background: var(--line-strong); }
.channel-merge::after { content: ""; position: absolute; top: 28px; left: 50%; width: 2px; height: 28px; margin-left: -1px; background: var(--line-strong); }
.channel-target { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; width: max-content; max-width: 100%; margin-inline: auto; padding: 14px 24px; border-radius: 999px; background: var(--navy); color: var(--white); text-align: center; }
.channel-target b { font-size: 1.0625rem; }
.channel-target span { color: var(--on-dark-soft); font-size: .9375rem; }

/* ---------- 4a. Receptionist ---------- */
.rec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; align-items: start; }
.coverage h3 { margin-bottom: 8px; }
.coverage-list > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.coverage-list dt { font-weight: 700; }
.coverage-list dd { margin-top: 4px; color: var(--muted); }
.coverage-note { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--blue); background: var(--pale); border-radius: 0 var(--r-m) var(--r-m) 0; font-size: .9375rem; }
.player-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ptab { min-height: 42px; padding-inline: 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .18s var(--ease); }
.ptab:hover { border-color: var(--navy); }
.ptab:active { transform: scale(.97); }
.ptab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.callcard { overflow: hidden; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-lg); }
.callcard:focus-visible { outline-offset: 4px; }
.callcard-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--navy); color: var(--white); }
.live-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.callcard-title { line-height: 1.3; font-size: .875rem; }
.callcard-title b { display: block; font-size: .9375rem; }
.callcard-title span { color: var(--on-dark-soft); }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; margin-left: auto; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .6); transform: scaleY(.2); }
.is-playing .wave i { animation: wave 1s ease-in-out infinite; animation-delay: calc(var(--n) * -.13s); }
@keyframes wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.callcard-timer { min-width: 38px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.callcard-context { padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--pale); color: var(--muted); font-size: .875rem; }
.callcard-lines { display: flex; flex-direction: column; gap: 14px; min-height: 360px; padding: 20px; }
.callcard-lines .line { animation: lineIn .45s var(--ease) both; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; font-size: .9375rem; line-height: 1.5; }
.line .who { padding-top: 1px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.line-ai .who { color: var(--blue); }
.line-system p { padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); background: var(--pale); font-size: .875rem; }
.line-system .who { color: var(--navy); }
.outcome { display: flex; align-items: flex-start; gap: 14px; margin: 0 20px 20px; padding: 14px 16px; border-radius: 14px; background: var(--pale); }
.outcome.is-new { animation: pop .55s var(--spring) both; }
.outcome-tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: .8125rem; font-weight: 700; }
.outcome-tag.is-handoff { background: var(--navy); }
.outcome-text { font-size: .9375rem; line-height: 1.45; }
.outcome-text b { display: block; }
.outcome-text span { color: var(--muted); }
.callcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }

/* ---------- 4b. Online booking ---------- */
.booking { background: var(--blue); color: var(--white); }
.booking :focus-visible { outline-color: var(--white); }
.booking .sec-lede { color: var(--white); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.widget { overflow: hidden; border-radius: var(--r-xl); background: var(--white); color: var(--navy); box-shadow: 0 28px 56px -34px rgba(16, 36, 73, .55); }
.widget :focus-visible { outline-color: var(--blue); }
.widget-top { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.widget-logo { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 800; }
.widget-name { line-height: 1.3; }
.widget-name b { display: block; }
.widget-name span { color: var(--muted); font-size: .875rem; }
.widget-flag { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: .8125rem; font-weight: 700; }
.widget-steps { display: flex; gap: 6px; padding: 18px 24px 0; }
.widget-steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 600; transition: border-color .3s, color .3s; }
.widget-steps li.is-done, .widget-steps li[aria-current="step"] { border-top-color: var(--blue); color: var(--navy); }
.widget-body { padding: 22px 24px 24px; }
.wstep { min-width: 0; margin: 0; padding: 0; border: 0; }
.wstep:not([hidden]) { animation: panelIn .4s var(--ease); }
.wstep legend, .result h3 { margin-bottom: 16px; padding: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.wstep legend:focus, .result h3:focus { outline: none; }
.wstep-note { margin: -6px 0 16px; color: var(--muted); font-size: .9375rem; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-opt, .day, .time-opt { position: relative; display: block; cursor: pointer; }
.type-opt input, .day input, .time-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.type-card { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s var(--ease); }
.type-card b { display: block; font-size: 1rem; }
.type-card span { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.type-opt:hover .type-card { border-color: var(--navy); }
.type-opt:active .type-card { transform: scale(.985); }
.type-opt input:checked + .type-card { border-color: var(--blue); background: var(--pale); box-shadow: inset 0 0 0 1px var(--blue); }
.type-opt input:focus-visible + .type-card, .day input:focus-visible + .day-card, .time-opt input:focus-visible + .time-card { outline: 3px solid var(--blue); outline-offset: 2px; }
.urgent-note { margin-top: 16px; padding: 16px 18px; border-radius: 0 14px 14px 0; border-left: 4px solid var(--navy); background: var(--pale); color: var(--navy); }
.urgent-note p { margin-top: 4px; font-size: .9375rem; }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.week-label { font-weight: 700; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--control); background: var(--white); cursor: pointer; transition: border-color .18s; }
.icon-btn:hover:not(:disabled) { border-color: var(--navy); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn svg { width: 16px; height: 16px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.day-card { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line-strong); text-align: center; color: var(--muted); font-size: .8125rem; transition: background-color .2s, border-color .2s, color .2s; }
.day-card b { color: var(--navy); font-size: 1.25rem; line-height: 1.2; }
.day-card small { font-size: .75rem; line-height: 1.2; }
.day:hover .day-card { border-color: var(--navy); }
.day input:checked + .day-card { background: var(--navy); border-color: var(--navy); color: var(--white); }
.day input:checked + .day-card b { color: var(--white); }
.day input:disabled { cursor: not-allowed; }
.day input:disabled + .day-card { background: var(--pale); border-style: dashed; opacity: .75; }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.times-label { margin-bottom: 10px; font-weight: 600; font-size: .9375rem; }
.time-card { display: block; padding: 11px 8px; border-radius: 999px; border: 1.5px solid var(--line-strong); text-align: center; font-weight: 600; font-size: .9375rem; transition: background-color .18s, border-color .18s, color .18s, transform .2s var(--spring); }
.time-opt:hover .time-card { border-color: var(--blue); }
.time-opt input:checked + .time-card { background: var(--blue); border-color: var(--blue); color: var(--white); transform: scale(1.03); }
.times-empty { padding: 14px 16px; border-radius: var(--r-m); background: var(--pale); color: var(--muted); font-size: .9375rem; }
.rule-inline { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-m); border: 1px dashed var(--blue); background: var(--pale); color: var(--navy); font-size: .875rem; line-height: 1.45; }
.rule-inline b { display: block; margin-bottom: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .check.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--control); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea.input { resize: vertical; min-height: 96px; }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23102449' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.input:hover { border-color: var(--navy); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 91, 255, .2); }
/* Errors are marked with a thicker navy outline, a tint, and an icon rather than a new color */
.input[aria-invalid="true"] { border-color: var(--navy); background: var(--pale); box-shadow: inset 0 0 0 1px var(--navy); }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--navy); font-size: .8125rem; font-weight: 600; }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .6875rem; font-weight: 800; line-height: 16px; text-align: center; }
.wstep > .field-error { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.review { display: grid; border-top: 1px solid var(--line); }
.review > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: .9375rem; }
.review dd { font-weight: 600; }
.result > p { margin-bottom: 18px; color: var(--muted); }
.popup.popup-static { position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; animation: pop .6s var(--spring) both; }
.widget-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.widget-foot [data-back] { margin-right: auto; }
.rules { padding: 20px 24px; border-radius: var(--r-l); border: 1px solid rgba(255, 255, 255, .45); }
.rules summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary h3 { font-size: 1.125rem; }
.rules ul { margin-top: 12px; }
.rules li { display: block; margin-inline: -12px; padding: 10px 12px; border-radius: 12px; transition: background-color .3s, color .3s; }
.rules li b { display: block; font-size: .9375rem; }
.rules li span { display: block; font-size: .875rem; }
.rules li.is-applied { background: var(--white); color: var(--navy); }
.rules li.is-applied b::after { content: "In use"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: .75rem; font-weight: 700; }
.rules .faq-icon { background: transparent; border-color: rgba(255, 255, 255, .6); }
.rules .faq-icon::before, .rules .faq-icon::after { background: var(--white); }
.rules[open] .faq-icon { background: var(--white); border-color: var(--white); }
.rules[open] .faq-icon::before, .rules[open] .faq-icon::after { background: var(--blue); }
.rules-note { margin-top: 12px; font-size: .875rem; }
.booking-note { margin-top: 20px; font-size: .9375rem; }

/* ---------- 4c. Website chat ---------- */
.webchat-sec { background: var(--pale); }
.wc-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 56px; align-items: start; }
.site-frame { overflow: hidden; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-lg); }
.site-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--pale); color: var(--muted); font-size: .75rem; }
.site-dots { display: flex; gap: 5px; }
.site-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.site-url { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.site-tag { margin-left: auto; font-weight: 600; white-space: nowrap; }
.site-body { position: relative; height: 640px; }
.faux { height: 100%; padding: 22px 28px; }
.faux-nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .8125rem; }
.faux-nav b { margin-right: auto; color: var(--navy); font-size: .9375rem; }
.faux-call { color: var(--navy); font-weight: 600; }
.faux-hero { max-width: 300px; margin-top: 72px; }
.faux-h { color: var(--navy); font-size: 2.125rem; font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.faux-p { margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.faux-btn { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .8125rem; font-weight: 600; }
.faux-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 320px; margin-top: 56px; }
.faux-tiles span { display: flex; align-items: flex-end; height: 92px; padding: 10px; border-radius: 12px; background: var(--pale); color: var(--muted); font-size: .75rem; font-weight: 600; }
.webchat { position: absolute; top: 66px; right: 20px; bottom: 20px; width: min(380px, calc(100% - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: 0 22px 44px -24px rgba(16, 36, 73, .45), 0 0 0 1px var(--line); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--blue); color: var(--white); }
.chat-avatar { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue); font-weight: 800; }
.chat-name { line-height: 1.3; font-size: .8125rem; }
.chat-name b { display: block; font-size: .9375rem; }
.webchat-log { flex: 1; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.webchat-log::before { content: ""; flex: 1 0 0; }
.webchat-log > li { animation: lineIn .35s var(--ease) both; }
.webchat-log .typing { align-self: flex-start; }
.webchat-replies { display: flex; flex-wrap: wrap; gap: 6px; min-height: 60px; padding: 10px 14px; border-top: 1px solid var(--line); }
.webchat-replies:empty { display: none; }
.reply-btn { min-height: 38px; padding-inline: 13px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color .18s, color .18s, transform .18s var(--spring); }
.reply-btn:hover { background: var(--pale); }
.reply-btn:active { transform: scale(.95); }
.webchat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 14px 12px; color: var(--muted); font-size: .75rem; }
.chat-card { align-self: stretch; display: flex; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--pale); color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.chat-card .popup-lines > span { display: block; }
.chat-card b { display: block; color: var(--navy); font-size: .875rem; }
.chat-card .popup-icon.is-handoff { background: var(--navy); }
.chat-card-note { margin-top: 4px; color: var(--navy); font-weight: 600; }
.wc-side .coverage-list > div:first-child { padding-top: 0; }
.wc-note { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--blue); border-radius: 0 var(--r-m) var(--r-m) 0; background: var(--white); font-size: .9375rem; }

/* ---------- 4d. Text follow-up ---------- */
.followup .sec-head { align-items: start; }
.ticks { margin-top: 20px; }
.ticks li { position: relative; margin-top: 10px; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23245BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.walk { padding: 20px; border-radius: var(--r-xl); background: var(--pale); }
.walk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.walk-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4.4fr); gap: 24px; align-items: start; }
.walk-time { padding: 8px 4px 0 6px; }
.walk-time li { position: relative; padding: 0 0 20px 28px; color: var(--muted); font-size: .9375rem; line-height: 1.4; transition: color .3s; }
.walk-time li::before { content: ""; position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--pale); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.walk-time li::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: 2px; width: 2px; margin-left: -1px; background: var(--line-strong); }
.walk-time li:last-child::after { display: none; }
.walk-time .wt-when { display: block; font-size: .75rem; font-weight: 700; }
.walk-time li.is-done, .walk-time li.is-current { color: var(--navy); }
.walk-time li.is-done::before { background: var(--blue); border-color: var(--blue); }
.walk-time li.is-current::before { background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 91, 255, .2); }
.walk-time li.is-current { font-weight: 600; }
.walk-phone { overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 22px 44px -30px rgba(16, 36, 73, .4); }
.thread { display: flex; flex-direction: column; gap: 8px; height: 470px; overflow-y: auto; padding: 14px 12px; overscroll-behavior: contain; }
.thread::before { content: ""; flex: 1 0 0; }
.js .thread [data-show]:not(.is-on) { display: none; }
.js .thread [data-show].is-on { animation: lineIn .4s var(--ease) both; }
.thread .typing { align-self: flex-start; }
.sys { align-self: center; max-width: 92%; padding: 6px 10px; border-radius: 10px; background: var(--pale); color: var(--muted); font-size: .75rem; line-height: 1.45; text-align: center; }
.walk-cal { position: relative; }
.cal-single { --px: .78px; }
.popup.popup-big { left: -28px; right: 12px; bottom: 18px; width: auto; padding: 16px 18px; gap: 14px; font-size: .875rem; box-shadow: 0 24px 48px -22px rgba(16, 36, 73, .45), 0 0 0 1px var(--line); }
.popup-big .popup-icon { width: 34px; height: 34px; }
.popup-big .popup-lines b { font-size: 1rem; margin-bottom: 8px; }
.popup-big .appt { display: block; padding: 10px 12px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--pale); color: var(--navy); }
.popup-big .appt > * { display: block; }
.popup-big .appt strong { font-size: .9375rem; }

/* ---------- 5. Reporting ---------- */
.reporting { background: var(--pale); }
.rep-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.rep-copy h2 { max-width: 11em; }
.rep-copy .sec-lede { margin-top: 20px; }
.rep-copy .coverage-list { margin-top: 24px; border-top: 1px solid var(--line); }
.report { padding: 22px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-lg); }
.report-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.report-title b { display: block; font-size: 1.125rem; }
.report-title span { color: var(--muted); font-size: .8125rem; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 36px; padding-inline: 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); font-size: .8125rem; font-weight: 600; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.report-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.report-table th { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.report-table td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.report-table td:first-child { font-weight: 600; white-space: nowrap; }
.report-table tr.is-hidden { display: none; }
/* Visit states differ by shape as well as by label */
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.s-attended::before { background: var(--navy); }
.s-upcoming::before { border: 2px solid var(--blue); }
.s-follow::before { border: 2px dashed var(--muted); }
.report-foot { margin-top: 12px; color: var(--muted); font-size: .8125rem; }

/* ---------- 6. Optional marketing add-on ---------- */
.addon { padding-block: clamp(56px, 7vw, 88px); }
.addon-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px 56px; align-items: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--line-strong); }
.addon-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.addon-head p { margin-top: 12px; color: var(--muted); }
.addon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.addon-list > div { padding-top: 14px; border-top: 2px solid var(--blue); }
.addon-list dt { font-weight: 700; font-size: 1.0625rem; }
.addon-list dd { margin-top: 4px; color: var(--muted); font-size: .9375rem; }

/* ---------- 7. Implementation ---------- */
.implement { background: var(--pale); }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.steps-row li { padding-top: 22px; border-top: 2px solid var(--navy); }
.step-num { display: block; margin-bottom: 16px; color: var(--blue); font-size: clamp(2.5rem, 4.4vw, 3.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; }
.steps-row h3 { margin-bottom: 10px; }
.steps-row p { color: var(--muted); }
.steps-row .step-need { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-strong); color: var(--navy); font-size: .9375rem; }

/* ---------- 8. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-side h2 { max-width: 9em; }
.faq-side p { margin: 18px 0 26px; color: var(--muted); font-size: 1.125rem; }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary, .form-more summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; }
.faq-list summary { padding-block: 20px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.faq-list summary::-webkit-details-marker, .form-more summary::-webkit-details-marker { display: none; }
.faq-list summary:hover .faq-icon, .form-more summary:hover .faq-icon { border-color: var(--navy); }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: background-color .2s; }
.faq-icon::after { transform: rotate(90deg); }
details[open] > summary .faq-icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
details[open] > summary .faq-icon::before, details[open] > summary .faq-icon::after { background: var(--white); }
.faq-a { max-width: 44em; padding: 0 56px 22px 0; color: var(--muted); }
details[open] .faq-a { animation: panelIn .35s var(--ease); }

/* ---------- 9. CTA and form ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cta-blue { display: flex; justify-content: flex-end; background: var(--blue); color: var(--white); }
.cta-inner { width: 100%; max-width: calc(var(--max) / 2 + var(--gutter)); padding: clamp(64px, 8vw, 112px) clamp(28px, 5vw, 72px) clamp(64px, 8vw, 112px) var(--gutter); }
.cta-inner h2 { font-size: clamp(2.125rem, 3.8vw, 3.25rem); max-width: 10em; }
.cta-inner > p { margin-top: 20px; font-size: 1.1875rem; max-width: 28em; }
.cta-list { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .45); }
.cta-list li { padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .45); font-weight: 600; }
.cta-form { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(56px, 7vw, 104px) clamp(28px, 5vw, 72px); }
.cta-form .demo-form { width: 100%; max-width: calc(var(--max) / 2 - clamp(28px, 5vw, 72px)); }
.demo-form h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.025em; }
.demo-form h3:focus { outline: none; }
.form-sub { margin: 6px 0 22px; color: var(--muted); }
.demo-form .fields { margin-bottom: 18px; }
.form-more { margin-bottom: 20px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.form-more summary { padding-block: 14px; font-weight: 600; }
.form-more .faq-icon { width: 28px; height: 28px; }
.form-more .fields { padding-bottom: 18px; margin-bottom: 0; }
.form-status { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r-m); color: var(--navy); font-size: .9375rem; line-height: 1.5; }
.form-status b { display: block; }
.form-status.is-warn { background: var(--pale); border: 1px dashed var(--blue); }
.form-status.is-ok { background: var(--pale); border: 1px solid var(--blue); }
.form-status.is-err { background: var(--white); border: 2px solid var(--navy); }
.form-config-note { margin: -6px 0 20px; padding: 12px 14px; border-radius: var(--r-m); border: 1px dashed var(--blue); background: var(--pale); color: var(--navy); font-size: .875rem; }
.form-alt { margin-top: 12px; color: var(--muted); font-size: .8125rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 32px; }
.brand-footer { color: var(--navy); }
.footer-line { margin-top: 10px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer-links a { color: var(--navy); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note p + p { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .btn-header { margin-left: auto; }
  .header-row { gap: 12px; }
}

@media (max-width: 1100px) {
  .walk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .walk-time { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
  .walk-time li::after { display: none; }
  .popup.popup-big { left: 12px; }
}

/* Above this width the full rules list sits beside the widget, so the inline note isn't needed */
@media (min-width: 961px) {
  .rule-inline { display: none !important; }
}

@media (max-width: 960px) {
  .sec-head, .problem-head, .rec-grid, .rep-grid, .faq-grid, .booking-grid, .wc-grid, .addon-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero { padding-bottom: 130px; }
  .hero-demo { margin-top: -96px; }
  .hero-demo-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(340px, 100%); margin: 0 auto -64px; }
  .board { padding: 84px 14px 14px; }
  .channel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-list li::after, .channel-merge { display: none; }
  .channel-target { margin-top: 20px; }
  .problem-list, .steps-row { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta-blue { justify-content: flex-start; }
  .cta-inner, .cta-form .demo-form { max-width: none; }
  .cta-inner { padding-inline: var(--gutter); }
  .cta-form { padding-inline: var(--gutter); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .site-body { height: 600px; }
  .faux-hero, .faux-tiles, .faux-nav span:not(.faux-call) { display: none; }
  .faux { padding: 16px; }
  .webchat { top: 56px; left: 12px; right: 12px; bottom: 12px; width: auto; }
  .site-tag { display: none; }
  .walk-grid { grid-template-columns: minmax(0, 1fr); }
  .walk-time { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .addon-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.1875rem; }
  .brand-mark { width: 27px; height: 27px; }
  .btn-header { min-height: 40px; padding-inline: 14px; font-size: .875rem; }
  .menu-btn { min-height: 40px; padding-inline: 12px; font-size: .875rem; }
  .hero-kicker { font-size: 1rem; }
  .ctas .btn { flex: 1 1 100%; }
  .board-head { flex-wrap: wrap; }
  .week > span:nth-child(-n+2) { display: none; }
  .cal-hero .cal-grid { --cols: 2 !important; }
  .cal-hero .c-dr { display: none; }
  .cal-hero { --px: .6px; }
  .cal-hero .popup { right: 14px; top: auto; bottom: 14px; }
  .channel-list { grid-template-columns: minmax(0, 1fr); }
  .channel { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; }
  .channel-icon { width: 76px; height: 76px; margin: -10px -4px -10px -10px; }
  .channel-text { flex: 1; min-width: 0; }
  .channel-go { flex-basis: 100%; }
  .channel-target { border-radius: var(--r-l); }
  .line { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .player-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ptab { flex: none; }
  .callcard-head { flex-wrap: wrap; }
  .wave { display: none; }
  .callcard-timer { margin-left: auto; }
  .callcard-lines { min-height: 0; padding: 16px; }
  .callcard-foot { flex-wrap: wrap; }
  .outcome { flex-direction: column; gap: 8px; margin-inline: 16px; }
  .widget-top { padding: 16px; }
  .widget-flag { display: none; }
  .widget-steps { padding-inline: 16px; }
  .widget-body { padding: 18px 16px 20px; }
  .type-grid, .fields { grid-template-columns: minmax(0, 1fr); }
  .days { gap: 5px; }
  .day-card { padding-inline: 2px; font-size: .75rem; }
  .day-card b { font-size: 1.125rem; }
  .day-card small { font-size: .6875rem; }
  .review > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .walk { padding: 14px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .walk-time { grid-template-columns: minmax(0, 1fr); }
  .walk-time li:not(.is-current) { display: none; }
  .walk-time li { padding-bottom: 4px; }
  .thread { height: 430px; }
  .report { padding: 16px; }
  .report-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .report-table, .report-table tbody, .report-table tr, .report-table td { display: block; }
  .report-table tr { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .report-table tr.is-hidden { display: none; }
  .report-table td { padding: 2px 0; border: 0; }
  .report-table td:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); }
  .faq-a { padding-right: 0; }
  .faq-list summary { font-size: 1.0625rem; }
  .cta-inner { padding-block: 48px; }
  .cta-inner > p { font-size: 1.0625rem; }
  .cta-list { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scan { display: none; }
}
