/* home.css: the home page's own layout, from system.css's tokens. */

/* ---------- 1. the header: five fields, one clip and one glass card each (motion menu style 1) ---------- */
.hero { position: relative; min-height: 100svh; background: var(--c-ink); isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--c-ink); }
.hero__slides { position: absolute; inset: 0; }
/* the kit's rotating header, as kit.md gives it */
[data-kit-scene="rotate"] [data-kit-slide] { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
[data-kit-scene="rotate"] [data-kit-slide][data-kit-on] { visibility: visible; z-index: 2; opacity: var(--kit-move, 1); transform: translateX(var(--kit-glide, calc((1 - var(--kit-move, 1)) * 4%))); }
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-prev])) [data-kit-slide][data-kit-on] { transform: none; opacity: 1; }
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { visibility: visible; z-index: 1; }
[data-kit-scene="rotate"] [data-kit-slide] video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-kit-on])) [data-kit-slide]:not([data-kit-slide] ~ [data-kit-slide]) { visibility: visible; }
[data-kit-scene="rotate"] [data-kit-slide] video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; clip-path: inset(2px); }
[data-kit-scene="rotate"] [data-kit-slide] video[data-kit-shown] { clip-path: none; }
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); }
/* each field's crop; the dental clip is shown mirrored, so its faces sit on the right */
.hero__slide { --pos: 70% 40%; }
.hero__slide video { object-position: var(--pos); }
.hero__slide--plumbing { --pos: 74% 30%; }
.hero__slide--dental { --pos: 26% 40%; }
.hero__slide--dental video, .hero__slide--dental .kit-first { transform: scaleX(-1); }
.hero__slide--roofing { --pos: 70% 30%; }
.hero__slide--auto { --pos: 60% 50%; }
.hero__slide--spa { --pos: 66% 40%; }
/* one still grade over every slide: dark toward the words, clear where the cards sit */
.hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .76) 27%, rgba(0, 0, 0, .36) 47%, rgba(0, 0, 0, 0) 62%), linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, .9) 100%); }
.hero__stop { right: 22px; bottom: 22px; }
.hero__in { position: relative; z-index: 4; display: grid; align-content: center; box-sizing: border-box; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(24px, 5vh, 60px)); padding-bottom: clamp(40px, 7vh, 72px); pointer-events: none; }
.hero__in > * { pointer-events: auto; }
.hero__words { max-width: 610px; }
.hero__title { margin: 0; font-size: clamp(2.3rem, 1.2rem + 3.1vw, 4rem); font-weight: 800; line-height: 1.03; letter-spacing: -.032em; text-wrap: balance; }
.hero__lead { max-width: 520px; margin: 18px 0 0; font-size: var(--fs-lead); line-height: 1.5; color: rgba(246, 251, 253, .88); text-wrap: pretty; }
.hero__form { width: 100%; max-width: 560px; margin-top: clamp(22px, 3.4vh, 34px); }

/* the field cards: each arrives with its picture (--kit-in), then its second beat lands */
.hcard { position: absolute; z-index: 2; right: 6%; bottom: 13%; width: min(372px, 28vw); padding: 16px 18px; background: var(--glass-strong); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 22px)) scale(calc(.96 + .04 * var(--kit-in, 1))); font-size: var(--fs-small); }
.hcard p { margin: 0; }
.hcard__k { display: flex; align-items: center; gap: 8px; font: 700 .82rem/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--c-brand); }
.hcard__v { margin-top: 6px !important; font: 700 1.06rem/1.3 var(--font-display); color: var(--c-on-ink); }
.hcard__s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px !important; font-size: var(--fs-micro); color: var(--c-quiet); }
.hcard__live { width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 10px rgba(2, 228, 255, .9); }
/* search */
.hcard__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--c-paper); color: var(--c-navy); font: 500 .95rem/1 var(--font-mono); }
.hcard__lens { position: relative; flex: none; width: 11px; height: 11px; border: 2px solid var(--c-quiet-on-paper); border-radius: 50%; }
.hcard__lens::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 2px; background: var(--c-quiet-on-paper); transform: rotate(45deg); }
.hcard__q::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--c-brand-text); }
.hcard__list { display: grid; gap: 2px; margin: 10px 0 0; padding: 0; list-style: none; }
.hcard__sug { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 10px; font: 400 .9rem/1.25 var(--font-ui); color: rgba(246, 251, 253, .72); opacity: 0; transform: translateY(-6px); }
.hcard__sug b { font-weight: 700; color: var(--c-brand); }
.hcard__sug--lit { background: rgba(2, 228, 255, .14); box-shadow: inset 0 0 0 1px rgba(2, 228, 255, .5); color: var(--c-on-ink); }
.hcard__pin { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 8px rgba(2, 228, 255, .9); }
[data-kit-on] .hcard__sug, [data-prev] .hcard__sug { opacity: 1; transform: none; }
[data-kit-on] .hcard__sug { transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
[data-kit-on] .hcard__sug:nth-child(1) { transition-delay: .55s; }
[data-kit-on] .hcard__sug:nth-child(2) { transition-delay: .68s; }
[data-kit-on] .hcard__sug:nth-child(3) { transition-delay: .8s; }
/* the card going out leaves at once, so the next one never shows its words through the glass */
[data-kit-scene="rotate"] [data-kit-slide][data-prev] .hcard { opacity: 0; transition: opacity .2s var(--ease-out); }
/* call */
.hcard__row { display: flex; align-items: center; gap: 10px; }
.hcard__ring { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(2, 228, 255, .16); box-shadow: inset 0 0 0 1.5px var(--c-brand); }
.hcard__ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 12px rgba(2, 228, 255, .9); }
.hcard__who { font: 700 1.02rem/1.2 var(--font-display); white-space: nowrap; }
.hcard__time { margin-left: auto; font: 500 var(--fs-micro)/1 var(--font-mono); color: var(--c-quiet); white-space: nowrap; }
.hcard__state { position: relative; margin-top: 12px !important; height: 40px; }
.hcard__was, .hcard__now { position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; padding: 0 12px; border-radius: 10px; font: 600 .92rem/1.2 var(--font-ui); }
.hcard__was { background: rgba(246, 251, 253, .08); color: var(--c-quiet); }
.hcard__now { background: rgba(2, 228, 255, .15); box-shadow: inset 0 0 0 1px rgba(2, 228, 255, .55); color: var(--c-on-ink); opacity: 0; transform: scale(.96); }
.hcard__tick { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
[data-kit-on] .hcard__now, [data-prev] .hcard__now { opacity: 1; transform: none; }
[data-kit-on] .hcard__now { transition: opacity .28s 1.55s, transform .5s 1.55s var(--ease-out); }
[data-kit-on] .hcard__was, [data-prev] .hcard__was { opacity: 0; }
[data-kit-on] .hcard__was { transition: opacity .2s 1.5s; }
/* booked */
.hcard--booked { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.hcard__cal { display: grid; place-items: center; width: 58px; height: 64px; border-radius: 12px; background: var(--c-paper); color: var(--c-navy); text-align: center; overflow: hidden; }
.hcard__cal span { align-self: stretch; display: block; padding: 4px 0; background: var(--c-brand); font: 700 .8125rem/1 var(--font-ui); text-transform: uppercase; color: var(--c-ink); }
.hcard__cal b { font: 800 1.6rem/1 var(--font-display); }
.hcard--booked .hcard__k { transform: scale(.7); opacity: 0; transform-origin: left center; }
[data-kit-on] .hcard--booked .hcard__k, [data-prev] .hcard--booked .hcard__k { transform: none; opacity: 1; }
[data-kit-on] .hcard--booked .hcard__k { transition: transform .5s 1.45s cubic-bezier(.34, 1.56, .64, 1), opacity .2s 1.45s; }
/* lead */
.hcard__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: var(--radius-pill); background: var(--c-paper); color: var(--c-navy); font: 600 .8125rem/1 var(--font-ui); opacity: 0; transform: translateY(4px); }
.hcard__check { width: 16px; height: 16px; border-radius: 50%; background: var(--c-good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.4 2.3 4.8-5' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
[data-kit-on] .hcard__badge, [data-prev] .hcard__badge { opacity: 1; transform: none; }
[data-kit-on] .hcard__badge { transition: opacity .3s 1.5s, transform .45s 1.5s var(--ease-out); }
/* text */
.hcard--text { display: grid; gap: 8px; }
.hcard__bubble { max-width: 86%; padding: 9px 13px; border-radius: 16px; font: 500 .92rem/1.35 var(--font-ui); }
.hcard__bubble--in { justify-self: start; border-bottom-left-radius: 5px; background: rgba(246, 251, 253, .14); }
.hcard__bubble--out { justify-self: end; border-bottom-right-radius: 5px; background: var(--c-brand); color: var(--c-ink); font-weight: 600; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: right bottom; }
[data-kit-on] .hcard__bubble--out, [data-prev] .hcard__bubble--out { opacity: 1; transform: none; }
[data-kit-on] .hcard__bubble--out { transition: opacity .25s 1.5s, transform .5s 1.5s var(--ease-out); }
.hcard--text .hcard__s { justify-self: end; }

@media (max-width: 1100px) {
  .hcard { width: min(320px, 34vw); right: 4%; }
}
/* James (6 Nov): the form box and the card beside it stay whole on a laptop's first screen. The header's words and
   its form box size to the screen's height, so the header is never taller than the screen and the card, set from
   its foot, stays in view beside the box. */
@media (min-width: 761px) {
  .hero__in { padding-top: calc(var(--header-h) + clamp(14px, 3.4svh, 52px)); padding-bottom: clamp(26px, 5svh, 64px); }
  .hero__title { font-size: min(clamp(2.3rem, 1.2rem + 3.1vw, 4rem), 8svh); }
  .hero__lead { margin-top: clamp(10px, 1.8svh, 18px); }
  .hero__form { margin-top: clamp(14px, 2.6svh, 34px); }
}
@media (min-width: 761px) and (max-height: 820px) {
  .hero__form.formbox { padding: 18px 20px; }
  .hero__form .tile { min-height: 62px; padding-block: 6px; }
  .hero__form .tile__pic { height: 46px; }
  .hero__form .formbox__q { margin-bottom: 10px; }
  .hero__form .formbox__note { margin-top: 10px; }
}
/* the phone: the footage sits in its own box under the header, the words and the form under it */
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: var(--header-h); }
  .hero__stage { position: relative; inset: auto; height: clamp(230px, 64vw, 330px); margin: 12px var(--gutter) 0; border-radius: var(--radius-l); box-shadow: var(--glow-soft); }
  .hero__stage::after { background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .35) 100%); }
  .hero__stop { top: 10px; right: 10px; bottom: auto; }
  .hero__slide--plumbing { --pos: 76% 30%; }
  .hero__slide--dental { --pos: 45% 40%; }
  .hero__slide--roofing { --pos: 72% 30%; }
  .hero__slide--spa { --pos: 70% 40%; }
  .hcard { left: 10px; right: auto; bottom: 10px; width: min(236px, 66%); padding: 11px 12px; }
  .hcard__who { font-size: .9rem; }
  .hcard__bar { padding: 8px 11px; font-size: .84rem; }
  .hcard__sug { padding: 5px 9px; font-size: .8125rem; }
  .hcard__sug:nth-child(n+3) { display: none; }
  .hcard__v { font-size: .92rem; }
  .hcard__cal { width: 46px; height: 52px; }
  .hcard__cal b { font-size: 1.25rem; }
  .hcard__ring { width: 28px; height: 28px; }
  .hcard__ring::after { inset: 8px; }
  .hcard__state { height: 36px; margin-top: 8px !important; }
  .hcard__was, .hcard__now, .hcard__bubble { font-size: .8125rem; }
  .hcard--text { gap: 6px; }
  .hero__in { min-height: 0; padding-top: 26px; padding-bottom: 40px; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 2.6rem); }
  .hero__lead { margin-top: 12px; font-size: 1.02rem; }
}

/* ---------- 2. every call answered: a before and after the visitor drags ---------- */
.answered__head { margin-bottom: var(--space-5); }
.ba { aspect-ratio: 2 / 1; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba__media video { object-position: 50% 30%; }
.ba__mute { position: absolute; inset: 0; z-index: 1; background: rgba(4, 10, 14, .42); -webkit-backdrop-filter: grayscale(1) brightness(.62) contrast(.92); backdrop-filter: grayscale(1) brightness(.62) contrast(.92); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__tag { position: absolute; z-index: 3; top: 18px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: var(--radius-pill); font: 600 var(--fs-micro)/1 var(--font-ui); letter-spacing: .02em; }
.ba__tag--was { left: 18px; background: rgba(4, 10, 14, .7); color: var(--c-quiet); }
.ba__tag--now { right: 18px; background: rgba(4, 10, 14, .7); color: var(--c-on-ink); box-shadow: inset 0 0 0 1px rgba(2, 228, 255, .5); }
.ba__live { width: 7px; height: 7px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 8px rgba(2, 228, 255, .9); }
.ba__cards { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; pointer-events: none; }
/* each card's two faces share one box; the handle splits them where it crosses (--cx), as it splits the footage */
.ba__card { position: absolute; display: grid; width: max-content; max-width: 42%; }
.ba__card:nth-child(1) { left: 15%; top: 14%; }
.ba__card:nth-child(2) { left: 19%; top: 41%; }
.ba__card:nth-child(3) { left: 23%; top: 68%; }
.ba__face { grid-area: 1 / 1; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-m); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.ba__face p { display: grid; gap: 3px; margin: 0; min-width: 0; }
.ba__face b { font: 700 .98rem/1.2 var(--font-display); }
.ba__face span:not(.ba__dot) { font-size: var(--fs-micro); line-height: 1.3; color: var(--c-quiet); }
.ba__face--was { background: rgba(10, 14, 18, .72); box-shadow: inset 0 0 0 1px rgba(246, 251, 253, .12); clip-path: inset(-40px calc(100% - var(--cx, 100%)) -40px -40px); }
.ba__face--was b { color: rgba(246, 251, 253, .82); }
.ba__face--now { background: var(--glass-strong); box-shadow: inset 0 1px 0 var(--glass-edge), 0 0 0 1px rgba(2, 228, 255, .6), 0 0 26px rgba(2, 228, 255, .26); clip-path: inset(-40px -40px -40px var(--cx, 100%)); }
.ba__face--now span:not(.ba__dot) { color: var(--c-brand-light); }
.ba__card[data-now] .ba__face--was, .ba__card[data-was] .ba__face--now { visibility: hidden; }
.ba__tag--was { transition: opacity .3s var(--ease-out); }
.ba[data-thin] .ba__tag--was { opacity: 0; }
.ba__dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M9 15.4l4 3.9 8-8.6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 14px rgba(2, 228, 255, .6); }
.ba__dot--miss { background: rgba(255, 107, 122, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M10.5 10.5l9 9m0-9-9 9' fill='none' stroke='%23FF6B7A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: inset 0 0 0 1.5px rgba(255, 107, 122, .7); }
.ba__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; }
.ba__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(180deg, rgba(2, 228, 255, .2), var(--c-brand) 30%, var(--c-brand) 70%, rgba(2, 228, 255, .2)); box-shadow: 0 0 14px rgba(2, 228, 255, .7); }
.ba__spark { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c-paper); box-shadow: 0 0 10px 3px rgba(2, 228, 255, .9); opacity: 0; }
.ba[data-nudged] .ba__spark { animation: ba-spark 2.4s var(--ease-in-out) both; }
@keyframes ba-spark { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
.ba__knob { position: absolute; left: -24px; top: 60%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: var(--c-ink); color: var(--c-brand); box-shadow: 0 0 0 2px var(--c-brand), 0 0 24px rgba(2, 228, 255, .55), var(--shadow-m); }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--c-paper); outline-offset: 4px; }
.ba__stop { right: 16px; bottom: 16px; }
.answered__svcs { margin-top: var(--space-4); }
@media (max-width: 760px) {
  .ba { aspect-ratio: 4 / 5; }
  .ba__media video { object-position: 62% 30%; }
  .ba__card { max-width: 84%; }
  .ba__card:nth-child(1) { left: 10%; top: 44%; }
  .ba__card:nth-child(2) { left: 13%; top: 61%; }
  .ba__card:nth-child(3) { left: 16%; top: 78%; }
  .ba__face { padding: 10px 12px; gap: 10px; }
  .ba__face b { font-size: .88rem; }
  .ba__dot { width: 24px; height: 24px; }
  .ba__tag { top: 12px; padding: 6px 10px; }
  .ba__tag--was { left: 12px; }
  .ba__tag--now { right: 12px; }
  .ba__stop { top: 50px; right: 12px; bottom: auto; }
  .ba__knob { top: 27%; }
}

/* ---------- 3. found first: the search box on a phone in a real photo (motion menu style 7) ---------- */
.found { background-color: var(--c-ink); }
.found__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.found__svcs { margin-top: var(--space-5); max-width: 520px; }
.found__pic { position: relative; width: 100%; max-width: 600px; justify-self: end; }
.found__stage { position: relative; aspect-ratio: 600 / 760; overflow: hidden; border-radius: var(--radius-l); background: var(--c-ink-soft); box-shadow: var(--glow-soft), var(--shadow-l); }
/* the photo drawn larger than its box, zoomed on the phone so its screen reads */
.found__zoom { position: absolute; left: -87.8%; top: -14.7%; width: 241%; height: 127%; }
.found__photo { position: absolute; inset: 0; margin: 0; }
.found__photo .screen > [data-scene] { position: absolute; inset: 0; }
/* the screen's white ground (seen only in the loop's fade) stops 2 px inside the screen's soft edge: a ground that
   reaches the edge shows there as a thin white line around the scene's darker layers (the call sheet, the keyboard) */
.found__photo .screen { box-sizing: border-box; padding: 2px; background: var(--c-white) content-box; }
/* under the screen, the bezel's inner band shaded (home.mjs withRim), its outer edge soft so it reads as the bezel */
.found__photo .screen-rim { background: rgba(0, 0, 0, .82); filter: blur(.8px); }
.found__stop { right: 16px; bottom: 16px; }
.found__tag { position: absolute; left: 4%; right: 4%; top: 3.2%; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 16px; font-size: var(--fs-small); line-height: 1.3; color: var(--c-quiet); opacity: 0; }
.found__tag b { display: block; color: var(--c-on-ink); font: 700 .98rem/1.25 var(--font-display); }
.found__dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M11.2 9.5c.6-.6 1.6-.5 2 .2l1.2 2.1c.4.6.2 1.4-.3 1.9l-.9.8c.8 1.6 2 2.9 3.6 3.7l.8-.9c.5-.5 1.3-.7 1.9-.3l2.1 1.2c.7.4.8 1.4.2 2l-1 1c-1 1-2.6 1.2-3.9.6-3.2-1.6-5.7-4.1-7.3-7.3-.6-1.3-.4-2.9.6-3.9z' fill='%23000'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 14px rgba(2, 228, 255, .7); }
@media (max-width: 1100px) {
  .found__grid { grid-template-columns: 1fr; }
  .found__pic { justify-self: center; }
}
@media (max-width: 760px) {
  .found__stage { aspect-ratio: 358 / 520; }
  .found__zoom { left: -181%; top: -44.6%; width: 404%; height: 186%; }
  .found__tag { position: relative; left: auto; right: auto; top: auto; margin-top: 12px; }
  .found__stop { right: 12px; bottom: 12px; }
}

/* ---------- 4. chosen when they're ready: real photos riding a growth line (motion menu style 8) ---------- */
.ready__head { margin-bottom: var(--space-5); }
.ready__stage { position: relative; aspect-ratio: 2.15 / 1; }
.ready__clip { position: absolute; inset: 0; }
.ready__clip video { object-position: 70% 50%; }
.ready__clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, 0) 66%); }
.ready__stop { top: 16px; right: 16px; }
.ready__scene { position: absolute; left: 3%; top: 5%; width: 54%; height: 90%; z-index: 2; }
.ready__svcs { grid-template-columns: repeat(4, 1fr); margin-top: var(--space-4); }
@media (max-width: 1100px) {
  .ready__stage { aspect-ratio: 16 / 9; }
  .ready__scene { width: 62%; }
  .ready__svcs { grid-template-columns: 1fr 1fr; }
}
/* on a tablet and a phone the box grows tall: the landscaper's face at its top, the cards over the lawn under it */
@media (max-width: 900px) {
  .ready__stage { aspect-ratio: auto; height: 740px; }
  .ready__clip video { object-position: 58% 0%; }
  .ready__clip::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .45) 100%); }
  .ready__scene { left: 4%; right: 4%; top: 26%; bottom: 3%; width: auto; height: auto; }
}
@media (max-width: 520px) {
  .ready__svcs { grid-template-columns: 1fr; }
}

/* ---------- 5. the calculator: the month fills with booked jobs ---------- */
.worth { background: radial-gradient(1100px 520px at 78% 40%, rgba(36, 91, 128, .32), transparent 70%), var(--c-ink); }
.worth__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sliders { display: grid; gap: 22px; margin-top: var(--space-5); }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.slider__top label { font: 600 1rem/1.2 var(--font-ui); }
.slider__val { font: 800 1.35rem/1 var(--font-display); color: var(--c-brand); font-variant-numeric: tabular-nums; }
.slider__input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.slider__input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--c-brand-dark), var(--c-brand)) 0 / var(--kit-fill, 50%) 100% no-repeat, rgba(59, 129, 181, .28); }
.slider__input::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(59, 129, 181, .28); }
.slider__input::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--c-brand-dark), var(--c-brand)); }
.slider__input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--c-paper); box-shadow: 0 0 0 4px rgba(2, 228, 255, .35), 0 0 18px rgba(2, 228, 255, .7); }
.slider__input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--c-paper); box-shadow: 0 0 0 4px rgba(2, 228, 255, .35), 0 0 18px rgba(2, 228, 255, .7); }
.slider__input:focus-visible { outline: none; }
.slider__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--c-paper), 0 0 0 7px var(--c-brand); }
.worth__result { margin-top: var(--space-5); padding: 20px 22px; border-radius: var(--radius-l); background: var(--c-navy); box-shadow: var(--glow); }
.worth__result p { margin: 0; }
.worth__jobs { font: 600 1.05rem/1.3 var(--font-ui); color: var(--c-quiet); }
.worth__jobs b { font: 800 1.5rem/1 var(--font-display); color: var(--c-on-ink); }
.worth__money { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.worth__money b { display: block; font: 800 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1 var(--font-display); letter-spacing: -.02em; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.worth__money span { display: block; margin-top: 6px; font-size: var(--fs-small); color: var(--c-quiet); }
.worth__note { margin-top: 14px !important; font-size: var(--fs-micro); line-height: 1.4; color: var(--c-quiet); }
.worth__cta { margin-top: var(--space-4); }
/* the month board: each booked job a chip, carried in along the trace */
.board { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-l); background: linear-gradient(160deg, rgba(28, 44, 70, .72), rgba(11, 23, 38, .92)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--glow-soft), var(--shadow-l); }
.board__trace { position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, var(--c-brand), rgba(59, 129, 181, .35)); }
.board__node { position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-ink); box-shadow: 0 0 0 1.5px var(--c-brand), 0 0 12px rgba(2, 228, 255, .7); }
.board__spark { position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-paper); box-shadow: 0 0 10px 3px rgba(2, 228, 255, .9); opacity: 0; }
.board__spark[data-run] { animation: board-spark .9s var(--ease-in-out) both; }
@keyframes board-spark { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.board__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.board__head p { margin: 0; }
.board__title { font: 700 1.1rem/1.2 var(--font-display); }
.board__count { font-size: var(--fs-small); color: var(--c-quiet); }
.board__count b { font: 800 1.2rem/1 var(--font-display); color: var(--c-brand); font-variant-numeric: tabular-nums; }
.board__days, .board__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.board__days { margin-bottom: 8px; }
.board__days span { font: 600 var(--fs-micro)/1 var(--font-ui); color: var(--c-quiet); text-align: center; }
.board__cell { display: grid; align-content: start; gap: 5px; min-height: 96px; padding: 7px 6px; box-sizing: border-box; border-radius: 10px; background: rgba(4, 10, 14, .55); box-shadow: inset 0 0 0 1px rgba(59, 129, 181, .22); }
.board__date { font: 600 var(--fs-micro)/1 var(--font-ui); color: rgba(169, 180, 186, .8); }
.board__chips { display: grid; gap: 4px; }
.board__chip { display: block; padding: 3px 0; border-radius: 6px; background: var(--c-brand); color: var(--c-ink); font: 700 var(--fs-micro)/1.15 var(--font-mono); text-align: center; box-shadow: 0 0 10px rgba(2, 228, 255, .45); }
.board__chip[data-new] { animation: chip-in .55s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(-10px) scale(.7); } }
@media (max-width: 1100px) {
  .worth__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .board { padding: 20px 12px 14px; }
  .board__days, .board__grid { gap: 5px; }
  .board__cell { min-height: 84px; padding: 5px 3px; }
  .board__chip { font-size: var(--fs-micro); letter-spacing: -.04em; }
  .worth__money { grid-template-columns: 1fr; }
}

/* ---------- 6. one dashboard, free: on the laptop in a real photo (motion menu style 9) ---------- */
.dash__head { margin-bottom: var(--space-5); }
.dash__pic { position: relative; }
.dash__stage { position: relative; aspect-ratio: 1240 / 640; overflow: hidden; border-radius: var(--radius-l); background: var(--c-deep); box-shadow: var(--glow-soft), var(--shadow-l); }
.dash__zoom { position: absolute; left: -20.5%; top: -45.3%; width: 151.5%; height: 164%; }
.dash__photo { position: absolute; inset: 0; margin: 0; }
.dash__photo .screen > [data-scene] { position: absolute; inset: 0; }
.dash__photo .screen { background: var(--c-deep); }
.dash__stop { right: 16px; bottom: 16px; }
.dash__total { position: absolute; right: 5%; top: 34%; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--glass-strong); opacity: 0; }
.dash__total b { font: 800 3.2rem/1 var(--font-display); color: var(--c-brand); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dash__total p { margin: 0; }
.dash__total strong { display: block; font: 700 1.1rem/1.2 var(--font-display); }
.dash__total span { display: block; margin-top: 3px; font-size: var(--fs-small); color: var(--c-quiet); }
@media (max-width: 760px) {
  .dash__stage { aspect-ratio: 358 / 400; }
  .dash__zoom { left: -67%; top: -36%; width: 292%; height: 146%; }
  .dash__total { position: relative; right: auto; top: auto; margin-top: 12px; }
  .dash__total b { font-size: 2.4rem; }
}

/* ---------- 7. a free start: the spark runs the steps ---------- */
.start__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-5); align-items: end; margin-bottom: var(--space-5); }
.start__lead { color: rgba(246, 251, 253, .8); }
.extras { display: flex; gap: 14px; }
.extra { width: 210px; padding: 12px; border-radius: var(--radius-m); background: rgba(4, 10, 14, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(59, 129, 181, .3); }
.extra__pic { position: relative; height: 64px; border-radius: 10px; overflow: hidden; }
.extra__pic--pod { display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--c-navy); }
.extra__play { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M13.5 11.5v11l9-5.5z' fill='%23000'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 12px rgba(2, 228, 255, .6); }
.extra__pic--pod svg { flex: 1; height: 34px; }
.extra__wave { fill: none; stroke: rgba(169, 180, 186, .5); stroke-width: 2; }
.extra__wave--done { stroke: var(--c-brand); }
.extra__pic--pr { display: grid; align-content: start; gap: 5px; padding: 9px 12px; background: var(--c-paper); }
.extra__pic--pr b { padding-bottom: 5px; border-bottom: 1px solid rgba(11, 23, 38, .14); font: 800 .8125rem/1 var(--font-display); color: var(--c-navy); }
.extra__pic--pr span { font: 600 .8125rem/1.25 var(--font-ui); color: var(--c-text-on-paper); }
.extra__name { margin: 10px 2px 0; font: 600 var(--fs-small)/1.3 var(--font-ui); }
.start__scene { position: relative; }
.start__scene .scene { padding-bottom: 4px; }
.start__stop { right: 0; top: -2px; }
.start__terms { display: flex; align-items: center; gap: 10px; margin: var(--space-4) 0 0; font: 600 var(--fs-ui)/1.3 var(--font-ui); }
.start__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-brand); box-shadow: 0 0 10px rgba(2, 228, 255, .9); }
@media (max-width: 1100px) {
  .start__top { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .extras { flex-direction: column; }
  .extra { width: auto; }
}

/* ---------- 8. the questions and 9. the close: their styles live in design\components.css (shared since Part 2) ---------- */

@media (prefers-reduced-motion: reduce) {
  .board__chip[data-new], .board__spark[data-run] { animation: none; }
  .ba__tag--was { transition: none; }
  .ba[data-nudged] .ba__spark { animation: none; }
  .hcard, .hcard__sug, .hcard__now, .hcard--booked .hcard__k, .hcard__badge, .hcard__bubble--out { opacity: 1; transform: none; }
  .hcard__was { opacity: 0; }
  [data-kit-on] .hcard__sug, [data-kit-on] .hcard__now, [data-kit-on] .hcard__was, [data-kit-on] .hcard--booked .hcard__k, [data-kit-on] .hcard__badge, [data-kit-on] .hcard__bubble--out { transition: none; }
}
