/* home.css: the home page's parts (plan.md, Home), placed and sized with the tokens of system.css. */

/* ================= hero: a teal block and the field's footage, split by one big arc ================= */
.hero { position: relative; isolation: isolate; height: clamp(660px, calc(100svh - 74px), 880px); background: var(--c-brand); overflow: hidden; }
.hero__panel { --arc: 14vw; position: absolute; z-index: 3; inset: 0 auto 0 0; width: 55%; display: flex; align-items: center; background: var(--c-brand); border-top-right-radius: var(--arc) 50%; border-bottom-right-radius: var(--arc) 50%; }
/* the motif: a sunflower ring's arc just outside the teal one, as the logo's ring sits around its arrows */
.hero__panel::after { content: ""; position: absolute; top: 4%; bottom: 4%; right: -26px; width: 60%; box-sizing: border-box; border: 11px solid transparent; border-right-color: var(--c-accent); border-top-right-radius: calc(var(--arc) + 14px) 50%; border-bottom-right-radius: calc(var(--arc) + 14px) 50%; pointer-events: none; }
.hero__copy { box-sizing: border-box; width: 100%; max-width: calc(620px + var(--gutter)); margin-left: max(0px, calc((100vw - var(--max-w)) / 2 - var(--gutter))); padding: 36px 40px 36px var(--gutter); }
.hero__title { min-height: 3.04em; margin: 0 0 20px; font: 800 clamp(2.75rem, 1.75rem + 3vw, 4.6rem)/1.01 var(--font-display); letter-spacing: -0.032em; color: var(--c-paper-alt); text-wrap: balance; }
.hero__word { padding: 0 0.12em; border-radius: 0.14em; background: var(--c-accent); color: color-mix(in srgb, var(--c-ink) calc(100% - var(--kit-swap, 0) * 92%), transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__line { max-width: 31em; margin: 0 0 26px; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.22rem); line-height: 1.55; color: var(--c-paper-alt); }
.picker--hero { max-width: 470px; }

.hero__stage { position: absolute; z-index: 1; inset: 0 0 0 38%; }
/* the kit's header (kit.md): kept as it is; only the grade and the cards are this site's */
[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); }
.hero__slide video, .hero__slide .kit-first { object-position: var(--pos, 50% 50%); }

.hero__card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; box-sizing: border-box; max-width: min(400px, 80%); padding: 15px 20px 15px 15px; border-radius: 20px; background: var(--c-paper); color: var(--c-ink); box-shadow: 0 3px 0 rgb(11 36 33 / 0.12), var(--shadow-l); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 18px)); }
.hero__tick { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c-accent); color: var(--c-ink); }
.hero__tick svg { width: 20px; height: 20px; }
.hero__card-text b { display: block; font: 700 1.0625rem/1.25 var(--font-ui); }
.hero__card-text small { display: block; margin-top: 2px; font-size: 0.875rem; line-height: 1.3; color: var(--c-ink-soft); }
.hero__card--low { left: 30%; bottom: 9%; }
.hero__card--low-right { right: 6%; bottom: 9%; }
.hero__card--high { left: 30%; top: 10%; }
.hero__card--mid-right { right: 6%; top: 44%; }
.hero__stop { position: absolute; z-index: 4; top: 18px; right: 18px; }

@media (max-width: 999px) {
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero__panel { position: relative; inset: auto; width: auto; border-radius: 0 0 50% 50% / 0 0 34px 34px; }
  .hero__panel::after { top: auto; right: 6%; left: 6%; bottom: -20px; width: auto; height: 60px; border: 9px solid transparent; border-bottom-color: var(--c-accent); border-radius: 0 0 50% 50% / 0 0 40px 40px; }
  .hero__copy { max-width: none; margin: 0; padding: 30px var(--gutter) 46px; }
  .hero__title { min-height: 3.04em; font-size: clamp(2.15rem, 1.38rem + 3.6vw, 3.3rem); }
  .picker--hero { max-width: none; }
  .hero__stage { position: relative; inset: auto; aspect-ratio: 4 / 3; margin-top: -36px; }
  .hero__card { max-width: calc(100% - 28px); }
  .hero__card--low, .hero__card--high { left: 14px; right: auto; top: auto; bottom: 14px; }
  .hero__card--low-right, .hero__card--mid-right { right: 14px; left: auto; top: auto; bottom: 14px; }
  .hero__stop { top: 48px; right: 12px; }
}

/* ================= plan: the free plan tour over a neighborhood from above ================= */
.tour__stage { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(470px, 40vw, 540px); padding: clamp(22px, 3vw, 48px) clamp(14px, 3vw, 48px); border-radius: var(--radius-xl); overflow: hidden; background: var(--c-brand-deep); box-sizing: border-box; }
.tour__video { position: absolute; inset: -1px; z-index: -2; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.tour__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 64 62 / 0.52), rgb(8 64 62 / 0.34) 50%, rgb(8 64 62 / 0.58)); }
.tour__panel { width: 100%; outline-offset: -6px; }
.tour__stop { position: absolute; z-index: 3; top: 16px; right: 16px; }
.tour__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.tour__tab { position: relative; display: flex; align-items: flex-start; gap: 14px; overflow: hidden; padding: 18px 20px 20px; border: 2px solid var(--c-line); border-radius: 22px; background: var(--c-paper); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.tour__tab:hover { border-color: var(--c-brand); }
.tour__tab[aria-selected="true"] { border-color: var(--c-brand); background: var(--c-brand-light); }
.tour__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-paper-alt); font: 800 1rem/1 var(--font-display); color: var(--c-ink); }
.tour__tab[aria-selected="true"] .tour__num { background: var(--c-brand); color: var(--c-on-brand); }
.tour__words b { display: block; font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.tour__words small { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.4; color: var(--c-ink-soft); }
.tour__fill { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c-brand); }
[data-kit-tabs][data-kit-on] .tour__tab[aria-selected="true"] .tour__fill { width: calc(var(--kit-fill, 0) * 100%); }
@media (max-width: 760px) {
  .tour__tabs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tour__tab { padding: 14px 16px; }
  .tour__stage { min-height: 0; padding: 56px 10px 22px; }
}

/* ================= how: three steps rising like the logo's arrows, lit by the chat ================= */
.how { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--c-brand-deep); color: var(--c-on-ink); }
.how__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.how__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 40%; }
.how__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(98deg, rgb(8 64 62 / 0.95) 0%, rgb(8 64 62 / 0.9) 52%, rgb(8 64 62 / 0.62) 100%); }
.how__stop { position: absolute; z-index: 2; top: 20px; right: 20px; }
.how__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto 1fr; gap: var(--space-5) clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.how__head { grid-column: 1; grid-row: 1; align-self: start; }
.how__head .lead { margin-top: 14px; color: color-mix(in srgb, var(--c-on-ink) 86%, transparent); }
.rise { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin: 0; padding: 40px 0 0; list-style: none; }
.rise__step { --head: 34px; position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 30px 22px 24px; border-radius: 0 0 20px 20px; background: var(--c-paper-alt); color: var(--c-ink); }
.rise__step:nth-child(1) { min-height: 250px; }
.rise__step:nth-child(2) { min-height: 312px; }
.rise__step:nth-child(3) { min-height: 374px; }
/* the arrowhead on top of each step */
.rise__step::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--head); background: var(--c-paper-alt); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background-color 120ms linear 640ms; }
/* the fill that rises when the chat reaches the step */
.rise__step::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--c-brand); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 760ms var(--ease-out); }
.rise__step[data-reached]::after { transform: scaleY(1); }
.rise__step[data-reached]::before { background: var(--c-brand); }
.rise__step[data-reached] { color: var(--c-paper-alt); transition: color 220ms linear 520ms; }
.rise__num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--c-ink); color: var(--c-on-ink); font: 800 1.1rem/1 var(--font-display); }
.rise__step[aria-current] .rise__num { background: var(--c-accent); color: var(--c-ink); }
.rise__title { margin: 0 0 8px; font: 800 clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem)/1.12 var(--font-display); letter-spacing: -0.015em; }
.rise__tag { display: inline-block; margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: var(--c-brand-light); color: var(--c-brand-text); font: 700 0.8125rem/1.3 var(--font-ui); letter-spacing: 0; vertical-align: 0.2em; white-space: nowrap; }
.rise__step[data-reached] .rise__tag { background: var(--c-accent); color: var(--c-ink); }
.rise__text { margin: 0; font-size: 1rem; line-height: 1.5; }

.phone { grid-column: 2; grid-row: 1 / 3; align-self: center; box-sizing: border-box; width: 340px; padding: 12px; border-radius: 46px; background: var(--c-ink); box-shadow: 0 0 0 2px rgb(255 255 255 / 0.08), var(--shadow-l); }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-radius: 34px 34px 0 0; background: var(--c-paper); color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.phone__top b { display: block; font: 700 0.95rem/1.2 var(--font-ui); }
.phone__top small { display: block; font-size: 0.8125rem; color: var(--c-ink-soft); }
.phone__avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-paper-alt); }
.phone__avatar img { width: 30px; height: 30px; }
.phone__screen { display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; height: 420px; padding: 14px 14px 18px; overflow: hidden; border-radius: 0 0 34px 34px; background: var(--c-paper-alt); color: var(--c-ink); opacity: calc(1 - var(--kit-out, 0)); }
.chat [data-kit-msg] { flex: none; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.chat__msg { max-width: 84%; margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 0.9375rem; line-height: 1.4; }
.chat__msg--bot { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--c-paper); box-shadow: var(--shadow-s); }
.chat__msg--me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--c-brand); color: var(--c-on-brand); }
.chat__chips { display: flex; gap: 6px; align-self: flex-start; }
.chat__chips span { display: grid; place-items: center; min-width: 46px; height: 38px; padding: 0 10px; border: 2px solid var(--c-line); border-radius: 12px; background: var(--c-paper); font: 800 0.95rem/1 var(--font-display); transition: background-color 200ms, color 200ms, border-color 200ms; }
.chat__chips [data-kit-on] { border-color: var(--c-brand); background: var(--c-brand); color: var(--c-on-brand); }
.chat__typing { align-self: flex-start; display: flex; gap: 5px; margin: 0; padding: 13px 15px; border-radius: 18px 18px 18px 6px; background: var(--c-paper); box-shadow: var(--shadow-s); }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); animation: dot 1s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__work { display: grid; gap: 8px; min-width: 70%; }
.chat__bar { display: block; height: 7px; border-radius: 99px; background: var(--c-brand-light); overflow: hidden; }
.chat__bar [data-kit-bar] { display: block; height: 100%; width: calc(var(--kit-fill, 0) * 100%); border-radius: inherit; background: var(--c-brand); }
.chat__plan { align-self: stretch; display: grid; gap: 7px; padding: 14px 16px; border-radius: 18px; background: var(--c-paper); border: 2px solid var(--c-brand); font-size: 0.9375rem; }
.chat__plan b { font: 800 1.05rem/1.2 var(--font-display); color: var(--c-brand-text); }
.chat__plan span { display: flex; align-items: center; gap: 8px; }
.chat__plan svg { flex: none; width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-text); }
.chat__ping { align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--c-ink); color: var(--c-on-ink); }
.chat__ping b { display: block; font: 700 0.95rem/1.2 var(--font-ui); }
.chat__ping small { display: block; font-size: 0.8125rem; color: color-mix(in srgb, var(--c-on-ink) 75%, transparent); }
.chat__ping-dot { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--c-accent); color: var(--c-ink); }
.chat__ping-dot svg { width: 18px; height: 18px; }
@media (max-width: 1080px) {
  .how__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .how__head, .rise, .phone { grid-column: 1; grid-row: auto; }
  .phone { justify-self: center; }
}
/* on the phone the columns lie down: bars growing longer, each tipped by its arrowhead on the right, filling from the left */
@media (max-width: 700px) {
  .rise { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 4px; }
  .rise__step { --head: 30px; padding: 20px 18px 20px 20px; border-radius: 20px 0 0 20px; }
  .rise__step:nth-child(n) { min-height: 0; }
  .rise__step:nth-child(1) { margin-right: calc(22% + var(--head)); }
  .rise__step:nth-child(2) { margin-right: calc(11% + var(--head)); }
  .rise__step:nth-child(3) { margin-right: var(--head); }
  .rise__step::before { left: 100%; right: auto; top: 0; bottom: 0; width: var(--head); height: auto; clip-path: polygon(0 0, 100% 50%, 0 100%); }
  .rise__step::after { transform: scaleX(0); transform-origin: 0 50%; }
  .rise__step[data-reached]::after { transform: scaleX(1); }
  .rise__num { width: 34px; height: 34px; margin-bottom: 10px; }
  .phone { width: min(340px, 100%); }
  .phone__screen { height: 380px; }
}

/* ================= worth: the calculator, the year climbing out of the ring ================= */
.worth { background: var(--c-sand); }
.worth__box { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--c-paper); box-shadow: var(--shadow-m); --calc-thumb-size: 30px; --calc-track-size: 8px; --calc-track-radius: 4px; --calc-value-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); --calc-label-size: 1.0625rem; }
.worth__controls { display: grid; align-content: center; padding: clamp(26px, 3.4vw, 52px); }
.worth__controls .calc-sliders { gap: 30px; }
.worth__controls .calc-slider__label { font-weight: 600; }
.worth__controls .calc-slider__value { font-family: var(--font-display); font-weight: 800; color: var(--c-brand-text); }
.worth__result { display: grid; align-content: start; gap: 6px; padding: clamp(26px, 3.4vw, 52px); background: var(--c-brand); color: var(--c-paper-alt); --calc-ink: var(--c-paper-alt); --calc-ink-soft: var(--c-paper-alt); --calc-total-size: clamp(2.6rem, 1.9rem + 2.6vw, 4rem); --calc-figure-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.worth__result .calc-total { margin: 0; }
.worth__result .calc-total__value { font-weight: 800; letter-spacing: -0.02em; }
.worth__result .calc-total__label { display: block; margin-top: 4px; font-size: 1rem; }
.worth__picture { position: relative; margin: 6px auto 0; width: min(100%, 360px); }
.climb { display: block; width: 100%; height: auto; overflow: visible; }
.climb__ring { fill: none; stroke: color-mix(in srgb, var(--c-paper-alt) 26%, transparent); stroke-width: 24; stroke-linecap: round; }
.climb__month { fill: var(--c-accent); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.climb__month[data-kit-on] { opacity: 1; transform: scaleY(calc(0.35 + 0.65 * var(--kit-in, 1))); }
.climb__head { fill: var(--c-accent); transform: translateY(133px); transition: transform 380ms var(--ease-out); }
.climb__month { transition: y 380ms var(--ease-out), height 380ms var(--ease-out), opacity 160ms; }
.worth__result .calc-figures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 4px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--c-paper-alt) 26%, transparent); }
.worth__result .calc-figure { margin: 0; }
.worth__result .calc-figure__value { font-weight: 800; }
.worth__result .calc-figure__label { display: block; font-size: 0.9375rem; }
.worth__result .calc-note { margin: 12px 0 0; font-size: 0.9375rem; color: var(--c-paper-alt); }
/* the picture's key */
.worth__key { margin: 0 0 4px; text-align: center; font-size: 0.875rem; color: var(--c-paper-alt); }
.worth__result { position: relative; }
.worth__stop { position: absolute; top: 16px; right: 16px; background: rgb(8 64 62 / 0.55); }
@media (max-width: 860px) {
  .worth__box { grid-template-columns: minmax(0, 1fr); }
  .worth__picture { width: min(100%, 280px); }
}
/* on the narrowest phones the $10,000 mark would meet $50,000 */
@media (max-width: 380px) { .worth .calc-scale__mark + .calc-scale__mark { display: none; } }

/* ================= outcomes: a day of the owner ================= */
.day__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
/* the time sits over the frame's foot on a wide screen (same grid cell), and under it as a caption below 1200 px */
.day__card { display: grid; grid-template-areas: "frame" "line"; margin: 0; }
.day__frame { grid-area: frame; position: relative; isolation: isolate; aspect-ratio: 16 / 10.5; border-radius: 28px; overflow: hidden; background: var(--c-brand-deep); }
.day__video { position: absolute; inset: -1px; z-index: -2; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.day__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(8 64 62 / 0.62) 0%, rgb(8 64 62 / 0) 38%); pointer-events: none; }
.day__time { grid-area: frame; align-self: end; justify-self: start; position: relative; z-index: 2; margin: 0 0 18px 22px; color: var(--c-paper-alt); }
.day__time b { display: block; font: 800 clamp(2rem, 1.6rem + 1.3vw, 2.9rem)/1 var(--font-display); letter-spacing: -0.03em; }
.day__time span { display: block; margin-top: 4px; font: 600 1rem/1.2 var(--font-ui); }
.day__scene { position: absolute; z-index: 1; top: 18px; width: min(54%, 340px); }
.day__scene--left { left: 18px; }
.day__scene--right { right: 18px; }
.day__scene--low { right: 18px; top: auto; bottom: 18px; }
/* beside a scene on the left, the time moves to the right */
.day__time--right { justify-self: end; margin: 0 22px 18px 0; text-align: right; }
.day__line { grid-area: line; margin: 16px 4px 0; font: 700 clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem)/1.3 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.day__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: var(--space-5); }
/* the part's stop icon on the grid's top-right corner, over a clip, as every other part keeps its own */
.day__stop { position: absolute; z-index: 3; top: 18px; right: 18px; }
/* under 1200 px two frames side by side are too short and narrow for their scenes (they cut the search and review
   cards): the phone's card, the time under its frame and the scene wider, in two columns down to 761 px */
@media (max-width: 1199px) {
  .day__card { grid-template-areas: "frame" "time" "line"; }
  .day__frame { aspect-ratio: 16 / 12; }
  .day__frame::after { display: none; }
  .day__stop { top: 14px; right: 14px; }
  .day__time, .day__time--right { grid-area: time; justify-self: start; display: flex; align-items: baseline; gap: 10px; margin: 14px 4px 0; color: var(--c-brand-text); text-align: left; }
  .day__time b { font-size: 1.6rem; }
  .day__time span { margin-top: 0; color: var(--c-ink-soft); }
  .day__line { margin-top: 4px; }
  .day__scene { width: min(76%, 320px); top: 14px; }
  .day__scene--left { left: 14px; }
  .day__scene--right { right: 14px; }
  .day__scene--low { right: 14px; top: auto; bottom: 14px; }
  .day__scene[data-scene="out-reviews"] { top: 6px; }
}
@media (max-width: 1023px) {
  .day__frame { aspect-ratio: 4 / 4.1; }
  .day__video { object-position: var(--pos-phone, 50% 50%); }
}
@media (max-width: 760px) {
  .day__grid { grid-template-columns: minmax(0, 1fr); }
  .day__scene[data-scene="out-reviews"] .rev { display: none; }
}

/* ================= compare: drag the line ================= */
.versus__block { padding: clamp(26px, 4vw, 64px); border-radius: var(--radius-xl); background: var(--c-brand); color: var(--c-paper-alt); }
.versus__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-3) var(--space-5); align-items: end; margin-bottom: var(--space-5); }
.versus__head .lead { color: var(--c-paper-alt); }
.compare { position: relative; isolation: isolate; aspect-ratio: 16 / 8.4; border-radius: 26px; overflow: hidden; background: var(--c-ink); user-select: none; -webkit-user-select: none; }
.compare > .before, .compare > .after { position: absolute; inset: 0; }
.compare > .after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.55) * 100%)); }
.compare__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.before .compare__photo { filter: grayscale(1) contrast(0.92) brightness(0.86); }
.after .compare__photo { object-position: 60% 40%; }
.before::after { content: ""; position: absolute; inset: 0; background: rgb(11 36 33 / 0.28); }
.compare__tag { position: absolute; top: 18px; z-index: 2; padding: 9px 16px; border-radius: 999px; font: 700 0.95rem/1 var(--font-ui); }
.before .compare__tag { left: 18px; background: rgb(255 255 255 / 0.92); color: var(--c-ink); }
.after .compare__tag { right: 18px; background: var(--c-accent); color: var(--c-ink); }
.compare__cards { position: absolute; z-index: 2; bottom: 18px; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; width: min(40%, 250px); }
.before .compare__cards { left: 18px; }
.after .compare__cards { right: 18px; }
.compare__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); }
.compare__card b { grid-column: 2; font: 700 0.95rem/1.2 var(--font-ui); }
.compare__card small { grid-column: 2; font-size: 0.8125rem; color: var(--c-ink-soft); }
.compare__card--grey { grid-template-columns: minmax(0, 1fr); background: rgb(255 255 255 / 0.86); }
.compare__card--grey b, .compare__card--grey small { grid-column: 1; }
.compare__card--grey b { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgb(11 36 33 / 0.5); }
.compare__dot { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--c-brand-light); color: var(--c-brand-text); }
.compare__dot svg { width: 17px; height: 17px; }
[data-kit-whole] { transition: opacity 0.2s, visibility 0s; }
[data-kit-under] { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.compare > input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--kit-v, 0.55) * 100%); width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, 0.55), 1 - var(--kit-v, 0.55)) - 0.03) * 14), 1); }
.compare > input:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--c-paper-alt); box-shadow: 0 0 0 1px rgb(11 36 33 / 0.15); }
.handle__knob { position: absolute; top: 34%; left: -28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); box-shadow: 0 3px 0 rgb(11 36 33 / 0.3), var(--shadow-m); }
.handle__knob svg { width: 26px; height: 26px; }
.handle__hint { position: absolute; top: calc(34% + 64px); left: 50%; transform: translateX(-50%); padding: 5px 11px; border-radius: 999px; background: var(--c-ink); color: var(--c-on-ink); font: 700 0.8125rem/1 var(--font-ui); white-space: nowrap; }
.compare[data-kit-touched] .handle__hint { opacity: 0; }
.compare > input:focus-visible ~ .handle .handle__knob { outline: 3px solid var(--c-paper-alt); outline-offset: 3px; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 10px; font: 700 1rem/1.3 var(--font-ui); }
.promises svg { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); }
@media (max-width: 900px) {
  .versus__head { grid-template-columns: minmax(0, 1fr); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .compare { aspect-ratio: 3 / 4.3; }
  .compare__tag { top: 12px; padding: 8px 12px; font-size: 0.8125rem; }
  .before .compare__tag { left: 12px; }
  .after .compare__tag { right: 12px; max-width: 5.6em; white-space: normal; text-align: center; line-height: 1.2; border-radius: 16px; }
  .compare__cards { bottom: 12px; width: calc(45% - 22px); gap: 6px; }
  .before .compare__cards { left: 10px; }
  .after .compare__cards { right: 10px; }
  .compare__card { padding: 8px 9px; column-gap: 0; }
  .compare__card b { font-size: 0.8125rem; }
  .compare__dot { display: none; }
  .compare__card b, .compare__card small { grid-column: 1 / -1; }
  .handle__knob { top: 30%; width: 48px; height: 48px; left: -24px; }
  .handle__hint { display: none; }
  .compare__card b, .compare__card small { text-wrap: balance; }
  .promises { grid-template-columns: minmax(0, 1fr); }
}

/* ================= who: six kinds of business and room for more ================= */
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.who__item.tile--wide { grid-column: span 2; }
.tile { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px; background: var(--c-paper); color: var(--c-ink); text-decoration: none; box-shadow: var(--shadow-s); border: 1px solid var(--c-line); transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tile--wide .tile__media, .who__item.tile--wide .tile__media { aspect-ratio: 16 / 7.6; }
.tile__photo { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile:hover .tile__photo { transform: scale(1.045); }
.tile__text { display: grid; gap: 4px; padding: 16px 18px 20px; }
.tile__name { font: 800 1.3rem/1.15 var(--font-display); letter-spacing: -0.015em; }
.tile__fields { font-size: 0.9375rem; line-height: 1.45; color: var(--c-ink-soft); }
.tile--more { justify-content: space-between; background: var(--c-brand-dark); border-color: var(--c-brand-dark); color: var(--c-paper-alt); }
.tile--more .tile__text { padding: 24px 22px 8px; }
.tile--more .tile__name { font-size: 1.6rem; }
.tile--more .tile__fields { color: color-mix(in srgb, var(--c-paper-alt) 90%, transparent); font-size: 1rem; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 22px; font: 700 1rem/1.2 var(--font-ui); color: var(--c-accent); }
@media (min-width: 981px) {
  .who__item:last-child { grid-column: 1 / -1; }
  .who__item:last-child .tile--more { flex-direction: row; align-items: center; }
  .who__item:last-child .tile__go { margin: 0 26px 0 auto; white-space: nowrap; }
  .who__item:last-child .tile--more .tile__text { padding: 22px 26px; }
}
@media (max-width: 980px) { .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .who__grid { grid-template-columns: minmax(0, 1fr); } .who__item.tile--wide { grid-column: auto; } .who__item.tile--wide .tile__media { aspect-ratio: 4 / 3; } }

/* ================= faq ================= */
.faq { background: var(--c-sand); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-5) var(--space-6); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head .lead { margin-top: 14px; }
.faq__head a { color: var(--c-brand-text); font-weight: 700; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; background: var(--c-paper); border: 1px solid var(--c-line); }
.faq__item[open] { box-shadow: var(--shadow-s); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 700 1.1rem/1.3 var(--font-display); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-brand-light); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; border-radius: 2px; background: var(--c-brand-text); transform: translate(-50%, -50%); transition: transform var(--dur-fast) var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { margin: 0; padding: 0 22px 22px; color: var(--c-ink-soft); }
@media (max-width: 860px) { .faq__wrap { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ================= close: the idea, over a customer welcoming a pro ================= */
.close { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 3rem + 7vw, 9rem); color: var(--c-paper-alt); background: var(--c-brand-deep); }
.close__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.close__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 35%; }
.close__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 64 62 / 0.95) 0%, rgb(8 64 62 / 0.86) 42%, rgb(8 64 62 / 0.2) 78%, rgb(8 64 62 / 0.1) 100%); }
.close__motif { position: absolute; z-index: -1; left: -90px; bottom: -120px; width: clamp(280px, 30vw, 440px); height: auto; color: color-mix(in srgb, var(--c-brand-light) 18%, transparent); pointer-events: none; }
.close__rise { stroke: color-mix(in srgb, var(--c-accent) 55%, transparent); }
.close__stop { position: absolute; z-index: 2; top: 20px; right: 20px; }
.close__inner { position: relative; }
.close__title { max-width: 9.5em; margin: 0 0 16px; font: 800 clamp(2.7rem, 1.7rem + 3.6vw, 5rem)/0.98 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.close__line { max-width: 28em; margin: 0 0 28px; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; }
.picker--close { max-width: 470px; }
@media (max-width: 760px) {
  .close__bg::after { background: linear-gradient(180deg, rgb(8 64 62 / 0.55) 0%, rgb(8 64 62 / 0.9) 46%, rgb(8 64 62 / 0.96) 100%); }
  .close__video { object-position: 40% 20%; }
  .close { padding-top: clamp(9rem, 50vw, 13rem); }
  .close__motif { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rise__step::after, .rise__step::before, .rise__step, .tile, .tile__photo, .climb__month, .climb__head { transition: none; }
  .chat__typing i { animation: none; }
}
