/* The home page: places and sizes its parts, with the tokens of system.css. */

/* ---------- hero: the footage full-bleed, the words and the picker over its left half ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: max(660px, min(calc(100svh - var(--header-h)), 900px)); overflow: hidden; background: var(--c-night); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
[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(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; }
.hero__video { filter: saturate(0.92) contrast(1.04); }
.hero__video--mirror { transform: scaleX(-1); }
/* the night over the footage: dark behind the words, open where the card sits */
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(var(--c-shade), 0.95) 0%, rgba(var(--c-shade), 0.9) 28%, rgba(var(--c-shade), 0.62) 46%, rgba(var(--c-shade), 0.18) 66%, rgba(var(--c-shade), 0.12) 100%),
  linear-gradient(0deg, rgba(var(--c-shade), 0.55) 0%, rgba(var(--c-shade), 0) 28%),
  linear-gradient(180deg, rgba(var(--c-shade), 0.35) 0%, rgba(var(--c-shade), 0) 18%); }
.hero__slide--street::before { background:
  linear-gradient(90deg, rgba(var(--c-shade), 0.9) 0%, rgba(var(--c-shade), 0.78) 30%, rgba(var(--c-shade), 0.4) 50%, rgba(var(--c-shade), 0.05) 70%),
  linear-gradient(0deg, rgba(var(--c-shade), 0.55) 0%, rgba(var(--c-shade), 0) 28%); }
/* each field's card, where its frame has no face */
.hero__card { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - 1360px) / 2)); top: 44%; display: flex; align-items: center; gap: 0.85rem; width: min(22rem, 34vw); padding: 0.9rem 1.1rem 0.9rem 0.9rem; opacity: var(--kit-in, 0); transform: translateY(calc((1 - var(--kit-in, 0)) * 18px)) scale(calc(0.96 + 0.04 * var(--kit-in, 0))); transform-origin: 80% 50%; }
.hero__card-text { display: grid; gap: 0.1rem; min-width: 0; }
.hero__card-text strong { font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1.0625rem; color: var(--c-mist); line-height: 1.25; }
.hero__card-text span { font-size: 0.9375rem; color: var(--c-mist-soft); line-height: 1.3; }
.hero__slide--street .hero__card { top: 40%; }
.hero__slide--roofing .hero__card { top: 55%; }
.hero__slide--hvac .hero__card { top: 58%; }
.hero__slide--pools .hero__card { top: 26%; }
.hero__slide--law .hero__card { top: 64%; }
.hero__slide--dental .hero__card { top: 68%; }
/* the progress: the logo's bars, one per field, rising; the slide on screen lit */
.hero__bars { position: absolute; z-index: 3; right: calc(var(--gutter) + 60px); bottom: calc(var(--gutter) + 6px); display: flex; align-items: flex-end; gap: 5px; height: 32px; }
.hero__bars i { width: 8px; border-radius: 3px; background: rgba(224, 244, 255, 0.22); }
.hero__bars i:nth-child(1) { height: 30%; } .hero__bars i:nth-child(2) { height: 44%; } .hero__bars i:nth-child(3) { height: 58%; }
.hero__bars i:nth-child(4) { height: 72%; } .hero__bars i:nth-child(5) { height: 86%; } .hero__bars i:nth-child(6) { height: 100%; }
.hero__bars[data-at="1"] i:nth-child(-n+1), .hero__bars[data-at="2"] i:nth-child(-n+2), .hero__bars[data-at="3"] i:nth-child(-n+3),
.hero__bars[data-at="4"] i:nth-child(-n+4), .hero__bars[data-at="5"] i:nth-child(-n+5), .hero__bars[data-at="6"] i:nth-child(-n+6) { background: var(--c-brand); }
.hero__bars[data-at="1"] i:nth-child(1), .hero__bars[data-at="2"] i:nth-child(2), .hero__bars[data-at="3"] i:nth-child(3),
.hero__bars[data-at="4"] i:nth-child(4), .hero__bars[data-at="5"] i:nth-child(5), .hero__bars[data-at="6"] i:nth-child(6) { background: var(--c-accent); box-shadow: 0 0 12px var(--c-glow); }
.hero__in { position: relative; z-index: 4; width: min(100% - 2 * var(--gutter), var(--max-w)); margin-inline: auto; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero__in > * { max-width: 38rem; }
.hero__title { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.5rem); line-height: 1.0; letter-spacing: -0.02em; font-weight: 750; color: var(--c-mist); }
.hero__lines { display: block; }
.hero__line { display: block; }
.hero__word { width: fit-content; white-space: nowrap; padding-right: 0.06em; background: var(--g-word); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: calc(1 - 0.6 * var(--kit-swap, 0)); transform: translateY(calc(var(--kit-swap, 0) * 0.08em)); filter: blur(calc(var(--kit-swap, 0) * 6px)) drop-shadow(0 0 26px rgba(0, 197, 251, 0.28)); }
.hero__lead { margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--c-mist-soft); max-width: 34rem; }
.hero__lead strong { color: var(--c-mist); font-weight: 650; }
.picker--hero { margin-top: 1.75rem; }

@media (max-width: 1100px) { .hero__card { width: min(19rem, 36vw); } }
@media (max-width: 760px) {
  .hero { align-items: flex-start; min-height: 0; }
  .hero__in { padding-top: 6.5rem; padding-bottom: 2rem; }
  .hero__slide::before, .hero__slide--street::before { background: linear-gradient(180deg, rgba(var(--c-shade), 0.22) 0%, rgba(var(--c-shade), 0.42) 16%, rgba(var(--c-shade), 0.62) 30%, rgba(var(--c-shade), 0.86) 46%, rgba(var(--c-shade), 0.94) 62%, rgba(var(--c-shade), 0.96) 100%); }
  .hero__slide .hero__card { top: 1rem; left: var(--gutter); right: auto; width: auto; max-width: calc(100% - 2 * var(--gutter) - 56px); padding: 0.6rem 0.85rem 0.6rem 0.6rem; gap: 0.6rem; }
  .hero__card .signal-icon { width: 34px; height: 34px; border-radius: 9px; }
  .hero__card-text strong { font-size: 0.975rem; }
  .hero__card-text span { font-size: 0.875rem; }
  .hero__bars { display: none; }
  .hero > .stop--corner { top: 1rem; bottom: auto; }
  .hero__slide--street video { object-position: 62% 50%; }
  .hero__slide--roofing video { object-position: 100% 50%; }
  .hero__slide--hvac video { object-position: 100% 50%; }
  .hero__slide--pools video { object-position: 35% 50%; }
  .hero__slide--law video { object-position: 0% 50%; }
  .hero__slide--dental video { object-position: 0% 50%; }
  .picker--hero { margin-top: 1.4rem; }
}

/* ---------- plan: the free analysis and roadmap tour ---------- */
.plan__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem clamp(2rem, 1rem + 3vw, 4rem); margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
.plan__words { display: grid; gap: 1rem; max-width: 46rem; }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; width: 100%; padding: 0.95rem 1.1rem; border-radius: var(--radius-m); border: 1px solid var(--c-night-line); background: rgba(224, 244, 255, 0.03); color: var(--c-mist-soft); text-align: left; cursor: pointer; overflow: hidden; font: inherit; transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out); }
.tab:hover { background: rgba(224, 244, 255, 0.07); }
.tab__num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; border: 1px solid var(--c-night-line); font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--c-mist-soft); }
.tab__text { display: grid; gap: 0.1rem; }
.tab__text strong { font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1.125rem; color: var(--c-mist); line-height: 1.25; }
.tab__text span { font-size: 0.975rem; }
.tab[aria-selected="true"] { background: rgba(51, 176, 255, 0.1); border-color: rgba(0, 197, 251, 0.55); box-shadow: var(--glow-s); }
.tab[aria-selected="true"] .tab__num { background: var(--g-signal); color: var(--c-on-brand); border-color: transparent; }
.tab__fill { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--kit-fill, 0) * 100%); background: var(--c-accent); box-shadow: 0 0 10px var(--c-glow); }
.tabs:not([data-kit-on]) .tab__fill { display: none; }
.plan__cta { display: grid; gap: 0.85rem; justify-items: start; }
.plan__stage { position: relative; isolation: isolate; height: 610px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--c-night-line); box-shadow: var(--shadow-l); background: var(--c-night); }
.plan__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.plan__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 45%, rgba(var(--c-shade), 0.2), rgba(var(--c-shade), 0.6)); }
.plan__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
.plan__panel:not([hidden]) { animation: ez-panel 0.8s var(--ease-out) both; }
@keyframes ez-panel { 0%, 40% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plan__panel:not([hidden]) { animation: none; } }
.plan__panel:focus-visible { outline-offset: -4px; }
.plan__scene--scan { width: min(100%, 460px); transform: scale(1.3); }
@media (max-width: 760px) { .plan__scene--scan { transform: none; } }
.plan__scene--gantt { width: min(100%, 1040px); }
.plan__scene--leadbars, .plan__scene--cost { width: min(100%, 600px); height: min(100%, 520px); }
@media (max-width: 1100px) { .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .plan__top { grid-template-columns: 1fr; }
  .plan__stage { height: 640px; }
}
@media (max-width: 600px) {
  .tabs { gap: 0.5rem; }
  .tab { grid-template-columns: 1fr; gap: 0.5rem; padding: 0.75rem 0.8rem; align-content: start; }
  .tab__num { width: 2rem; height: 2rem; font-size: 0.9rem; }
  .tab__text strong { font-size: 1rem; }
  .tab__text span { display: none; }
  .plan__stage { height: 720px; border-radius: var(--radius-m); }
  .plan__panel { padding: 0.75rem; }
  .plan__scene--scan { width: 100%; }
}

/* ---------- how: three steps lit by the chat ---------- */
.how { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.how__video { object-position: 40% 50%; }
.how__shade { background: linear-gradient(90deg, rgba(var(--c-shade), 0.95) 0%, rgba(var(--c-shade), 0.86) 48%, rgba(var(--c-shade), 0.6) 100%); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.how__side h2 { margin-bottom: 1rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.15rem 1.3rem; border-radius: var(--radius-m); background: rgba(10, 26, 68, 0.6); border: 1px solid var(--c-night-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.step[aria-current="step"] { background: rgba(18, 36, 90, 0.9); border-color: rgba(0, 197, 251, 0.6); box-shadow: var(--glow-s); }
.step__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 11px; background: rgba(224, 244, 255, 0.08); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--c-mist); transition: background 0.45s var(--ease-out); }
.step[aria-current="step"] .step__num { background: var(--g-signal); color: var(--c-on-brand); }
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; font-size: 1.3rem; color: var(--c-mist); }
.step__tag { font-family: var(--font-text); font-weight: 600; font-size: 0.875rem; letter-spacing: 0; padding: 0.2em 0.7em; border-radius: 999px; background: rgba(0, 197, 251, 0.14); color: #8fe6ff; }
.step__body p { margin-top: 0.35rem; color: var(--c-mist-soft); }
.how__device { display: flex; justify-content: center; }
.phone { position: relative; width: min(100%, 340px); height: 620px; padding: 12px; border-radius: 46px; background: linear-gradient(155deg, #22325e 0%, #0b1533 55%, #050c22 100%); box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgba(224, 244, 255, 0.18), 0 0 80px -30px rgba(0, 197, 251, 0.45); display: flex; flex-direction: column; }
.phone::before { content: ""; position: absolute; inset: 12px; border-radius: 35px; background: radial-gradient(120% 60% at 50% 0%, #12245a 0%, #071232 55%); z-index: 0; }
.phone__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.7rem; padding: 1.4rem 1.1rem 0.9rem; border-bottom: 1px solid var(--c-night-line); }
.phone__avatar { display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; width: 40px; height: 40px; padding: 9px 8px; border-radius: 12px; background: var(--c-night); border: 1px solid var(--c-glass-line); }
.phone__avatar i { width: 5px; border-radius: 2px; background: var(--g-signal); }
.phone__avatar i:nth-child(1) { height: 35%; } .phone__avatar i:nth-child(2) { height: 58%; } .phone__avatar i:nth-child(3) { height: 80%; } .phone__avatar i:nth-child(4) { height: 100%; }
.phone__who { display: grid; line-height: 1.25; }
.phone__who strong { font-family: var(--font-display); font-stretch: 100%; font-weight: 650; color: var(--c-mist); font-size: 1.0625rem; }
.phone__who span { font-size: 0.875rem; color: var(--c-mist-soft); }
.phone__chat { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.55rem; padding: 1rem 1rem 1.4rem; overflow: hidden; opacity: calc(1 - 0.6 * var(--kit-out, 0)); }
.phone__chat > .msg:first-child { opacity: 1; }
.msg { max-width: 84%; padding: 0.6rem 0.85rem; border-radius: 16px; font-size: 1rem; line-height: 1.35; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.msg--in { align-self: flex-start; background: #15275e; color: var(--c-mist); border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: var(--c-azure); color: var(--c-night); font-weight: 600; border-bottom-right-radius: 5px; }
.msg--chips { align-self: flex-start; display: flex; gap: 0.4rem; padding: 0; background: none; }
.msg--chips span { display: grid; place-items: center; min-width: 2.6rem; height: 2.3rem; padding-inline: 0.6rem; border-radius: 10px; border: 1px solid var(--c-glass-line); color: var(--c-mist); font-family: var(--font-display); font-weight: 650; font-size: 1rem; }
.msg--chips span[data-kit-on] { background: rgba(0, 197, 251, 0.18); border-color: var(--c-accent); box-shadow: var(--glow-s); }
.msg--typing { align-self: flex-start; display: inline-flex; gap: 5px; background: #15275e; padding: 0.8rem 0.95rem; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-mist-soft); animation: ez-dot 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; } .msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ez-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.msg--check { align-self: stretch; max-width: none; display: grid; gap: 0.5rem; background: none; padding: 0.2rem 0; color: var(--c-mist); font-weight: 600; font-size: 0.975rem; }
.msg--check i { display: block; height: 6px; border-radius: 6px; background: rgba(224, 244, 255, 0.1); overflow: hidden; position: relative; }
.msg--check i::after { content: ""; position: absolute; inset: 0; width: calc(var(--kit-fill, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--c-brand), var(--c-accent)); }
.msg--card { align-self: stretch; max-width: none; display: grid; gap: 0.45rem; padding: 0.95rem 1rem; border-radius: 16px; background: linear-gradient(160deg, rgba(18, 109, 238, 0.28), rgba(10, 26, 68, 0.9)); border: 1px solid rgba(0, 197, 251, 0.35); }
.msg__k { font-size: 0.875rem; color: var(--c-mist-soft); }
.msg--card strong { font-family: var(--font-display); font-weight: 750; font-size: 1.6rem; line-height: 1.1; color: var(--c-mist); }
.msg--card small { font-family: var(--font-text); font-weight: 600; font-size: 0.95rem; color: var(--c-mist-soft); }
.msg__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 4px; height: 52px; }
.msg__bars i { height: var(--v); border-radius: 3px 3px 2px 2px; background: var(--g-signal); }
.msg__bars i.is-setup { background: rgba(224, 244, 255, 0.18); }
.msg__from { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.875rem; color: var(--c-mist-soft); border-top: 1px solid var(--c-night-line); padding-top: 0.45rem; }
.msg__from b { color: var(--c-mist); font-weight: 600; }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__shade { background: linear-gradient(180deg, rgba(var(--c-shade), 0.9), rgba(var(--c-shade), 0.94)); }
  .phone { height: 600px; }
}
@media (prefers-reduced-motion: reduce) { .msg--typing i { animation: none; } }

/* ---------- outcomes: four large cards over footage ---------- */
.outcomes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem); }
.ocard { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--c-night-line); background: var(--c-night-2); box-shadow: var(--shadow-m); }
.ocard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(1.12) saturate(1.05); }
.ocard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--c-shade), 0.96) 0%, rgba(var(--c-shade), 0.85) 30%, rgba(var(--c-shade), 0.2) 62%, rgba(var(--c-shade), 0.1) 100%); }
.ocard__scene { position: absolute; top: clamp(1rem, 0.6rem + 1vw, 1.5rem); width: min(384px, calc(100% - 2rem)); }
.ocard__scene--left { left: clamp(1rem, 0.6rem + 1vw, 1.5rem); }
.ocard__scene--right { right: clamp(1rem, 0.6rem + 1vw, 1.5rem); }
.ocard__scene .scene { width: 100%; }
#outcomes [data-scene="out-reviews"] .stars .on { width: 96% !important; opacity: 1 !important; }
#outcomes [data-scene="out-reviews"] .big b { opacity: 1 !important; transform: none !important; }
#outcomes [data-scene="out-reviews"] .rev { opacity: 1 !important; transform: none !important; }
.ocard__body { padding: clamp(1.25rem, 0.9rem + 1.2vw, 1.9rem); display: grid; gap: 0.6rem; }
.ocard__body h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.1rem); color: var(--c-mist); }
.ocard__line { color: var(--c-mist); font-size: 1.0625rem; max-width: 30rem; }
.ocard__how { color: var(--c-mist-soft); font-size: 0.975rem; max-width: 32rem; }
.ocard__how b { color: #8fe6ff; font-weight: 650; }
.ocard__link { margin-top: 0.2rem; }
.ocard--found .ocard__video { object-position: 30% 50%; }
.ocard--answer .ocard__video { object-position: 50% 60%; }
.ocard--work .ocard__video { object-position: 70% 40%; }
@media (max-width: 900px) { .outcomes__grid { grid-template-columns: 1fr; } .ocard { min-height: 600px; } }
@media (max-width: 520px) { .ocard { min-height: 640px; } }

/* ---------- worth: the year drawn as the logo's rising bars ---------- */
.worth .sec-head { color: var(--c-ink); }
.calc { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem); }
.calc__year { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "total chart" "stats chart"; gap: 1.5rem clamp(1.5rem, 1rem + 3vw, 4rem); align-items: end; padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l); color: var(--c-mist); background: var(--c-night); box-shadow: var(--shadow-l); overflow: hidden; isolation: isolate; }
/* its glow on a layer of its own, drawn once: repainting the figures never re-draws the gradient (it came out a shade
   different on each repaint, which the site check reads as a picture changing by itself) */
.calc__year::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(70% 90% at 100% 100%, rgba(18, 109, 238, 0.32), transparent 60%), radial-gradient(60% 70% at 0% 0%, rgba(0, 197, 251, 0.12), transparent 60%); will-change: transform; pointer-events: none; }
.calc__total { grid-area: total; align-self: start; container-type: inline-size; }
.calc__sum b { display: block; font-family: var(--font-display); font-weight: 750; font-size: clamp(min(2.8rem, 12.5vw), 1.6rem + 3.6vw, 4.6rem); font-size: min(clamp(2.8rem, 1.6rem + 3.6vw, 4.6rem), 16.5cqi); /* the largest year, $28,800,000 (5.9 em), always fits its column */ line-height: 1; letter-spacing: -0.02em; background: var(--g-word); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.calc__by { margin-top: 0.6rem; font-size: 1.125rem; color: var(--c-mist-soft); }
.calc__chart { grid-area: chart; --cell: 26px; --year-max: 312px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, 0.4vw + 2px, 9px); align-items: end; height: calc(var(--year-max) + 28px); }
.calc__col { display: grid; grid-template-rows: 1fr auto; align-items: end; justify-items: stretch; gap: 6px; height: 100%; }
/* the stair answers the year (--kit-size, a log scale): its tallest column gains about one square each time the year
   doubles, from a low line under about $4,500 a year to the full twelve from about $850,000; the start ($151,200) at 8 */
.calc__col i { display: block; width: 100%; --h: calc(var(--year-max) * clamp(0.12, 1.4 * var(--kit-size, 0.545) - 0.109, 1) * var(--kit-share, 1)); height: var(--h); background: var(--g-signal); background-size: 100% var(--year-max); background-position: 0 100%; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='26'%3E%3Crect width='100%25' height='21' y='5' rx='5' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='26'%3E%3Crect width='100%25' height='21' y='5' rx='5' fill='black'/%3E%3C/svg%3E"); -webkit-mask-size: 100% var(--cell); mask-size: 100% var(--cell); -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y; -webkit-mask-position: 0 100%; mask-position: 0 100%; opacity: 0; clip-path: inset(calc((1 - var(--kit-in, 0)) * 100%) 0 0 0); transition: height 0.45s var(--ease-out); }
/* whole squares (half a pixel off first: the kit's --kit-share has 4 decimals, so 2/12 of a full year is 52.01px, not
   two squares and a bit); a browser without round() still draws the stair */
@supports (height: round(up, 10px, 3px)) { .calc__col i { height: round(up, calc(var(--h) - 0.5px), var(--cell)); } }
.calc__col i[data-kit-on] { opacity: 1; }
.calc__col:last-child i[data-kit-on] { filter: drop-shadow(0 0 14px rgba(0, 197, 251, 0.55)); }
.calc__m { text-align: center; font-size: 0.8125rem; color: var(--c-mist-soft); font-variant-numeric: tabular-nums; }
/* the three figures as rows, label left and figure right: every figure has room at every value, and all three line up */
.calc__stats { grid-area: stats; display: grid; gap: 0.5rem; margin: 0; }
.calc__stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 1rem; border-radius: var(--radius-m); background: rgba(224, 244, 255, 0.06); border: 1px solid var(--c-night-line); }
.calc__stats dt { min-width: 0; font-size: 0.9375rem; color: var(--c-mist-soft); line-height: 1.3; }
.calc__stats dd { flex: none; margin: 0; white-space: nowrap; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); line-height: 1.15; color: var(--c-mist); font-variant-numeric: tabular-nums; }
.calc__stats dd[data-kit-out="monthly"] { min-width: 5.5em; } /* the room of $2,400,000: its label never re-wraps as the figure grows */
/* the three fields share their rows (label, track, scale), so their tracks line up; each figure keeps the room of its
   widest value, so a label never re-wraps and a track never jumps while it is dragged */
.calc__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0.35rem clamp(1rem, 0.6rem + 2vw, 2.5rem); padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem); border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-s); color: var(--c-ink); }
.calc__field { display: grid; grid-template-columns: 1fr auto; grid-row: span 3; grid-template-rows: subgrid; align-items: baseline; gap: 0.35rem 1rem; }
.calc__field label { font-weight: 650; font-size: 1.0625rem; line-height: 1.3; text-wrap: balance; }
.calc__field label, .calc__field output { align-self: last baseline; }
.calc__field output { min-width: 1.3em; text-align: right; font-family: var(--font-display); font-weight: 750; font-size: 1.6rem; color: var(--c-brand-text); font-variant-numeric: tabular-nums; }
.calc__field output[data-kit-out="close"] { min-width: 2.2em; }
.calc__field output[data-kit-out="value"] { min-width: 4em; }
.calc__field input[type="range"] { grid-column: 1 / -1; width: 100%; margin: 0 0 0.25rem; height: 32px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.calc__field input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--c-brand) 0 var(--kit-fill, 50%), #d6e6f5 var(--kit-fill, 50%) 100%); }
.calc__field input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: #d6e6f5; }
.calc__field input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--c-brand); }
.calc__field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--c-paper); border: 3px solid var(--c-brand); box-shadow: 0 4px 12px rgba(3, 15, 43, 0.25); }
.calc__field input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--c-paper); border: 3px solid var(--c-brand); }
.calc__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--c-ink-soft); }
.calc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.calc__note { color: var(--c-ink-soft); font-size: var(--fs-small); }
@media (max-width: 980px) {
  .calc__year { grid-template-columns: minmax(0, 1fr); grid-template-areas: "total" "chart" "stats"; } /* a long total never widens the card's column (a $28,800,000 year on a 320 px phone) */
  .calc__chart { --year-max: 234px; }
  .calc__inputs { grid-template-columns: 1fr; grid-template-rows: none; row-gap: clamp(1rem, 0.6rem + 2vw, 2.5rem); }
  .calc__field { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 560px) {
  .calc__chart { --cell: 20px; --year-max: 200px; }
  .calc__col i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='20'%3E%3Crect width='100%25' height='16' y='4' rx='4' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='20'%3E%3Crect width='100%25' height='16' y='4' rx='4' fill='black'/%3E%3C/svg%3E"); }
}

/* ---------- compare: the usual agency against EngageZing ---------- */
.cmp { position: relative; height: clamp(440px, 34vw, 540px); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--c-night-line); box-shadow: var(--shadow-l); user-select: none; -webkit-user-select: none; }
.cmp__side { position: absolute; inset: 0; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__side--before .cmp__img { filter: grayscale(1) contrast(0.9) brightness(0.72); }
.cmp__side--before::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 24, 32, 0.7), rgba(20, 24, 32, 0.25) 60%); }
.cmp__side--after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.5) * 100%)); }
.cmp__side--after .cmp__img { object-position: 50% 30%; }
.cmp__side--after::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(var(--c-shade), 0.55), rgba(var(--c-shade), 0.05) 55%); }
.cmp__tag { position: absolute; z-index: 2; top: 1.25rem; padding: 0.4em 0.9em; border-radius: 999px; font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 0.975rem; }
.cmp__side--before .cmp__tag { left: 1.25rem; background: rgba(40, 44, 52, 0.85); color: #d5d9e0; border: 1px solid rgba(255, 255, 255, 0.16); }
.cmp__tag--ez { right: 1.25rem; background: var(--c-azure); color: var(--c-night); }
.cmp__cards { position: absolute; z-index: 2; bottom: 1.25rem; display: grid; gap: 0.6rem; width: min(17.5rem, 40%); }
.cmp__side--before .cmp__cards { left: 1.25rem; }
.cmp__side--after .cmp__cards { right: 1.25rem; }
.cmp__card { display: grid; gap: 0.1rem; padding: 0.75rem 0.95rem; border-radius: var(--radius-m); }
.cmp__side--before .cmp__card { background: rgba(48, 52, 60, 0.88); color: #e2e5ea; border: 1px solid rgba(255, 255, 255, 0.12); }
.cmp__card b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.cmp__k { font-size: 0.875rem; opacity: 0.85; }
.cmp__s { font-size: 0.875rem; opacity: 0.85; }
.cmp__side--before .cmp__s { color: #ffb4a8; opacity: 1; }
.cmp__card--live { background: var(--c-glass); border: 1px solid var(--c-glass-line); color: var(--c-mist); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cmp__card--live .cmp__s { color: #8fe6ff; opacity: 1; }
.cmp input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(var(--kit-v, 0.5) * 100%); width: 0; pointer-events: none; }
.cmp__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--c-accent); box-shadow: 0 0 18px var(--c-glow); }
.cmp__knob { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c-azure); color: var(--c-night); box-shadow: 0 0 0 6px rgba(51, 176, 255, 0.25), var(--shadow-m); }
.cmp__hint { position: absolute; top: calc(50% + 36px); left: 0; transform: translateX(-50%); padding: 0.2em 0.7em; border-radius: 999px; background: rgba(var(--c-shade), 0.8); color: var(--c-mist); font-size: 0.875rem; font-weight: 600; }
.cmp[data-kit-touched] .cmp__hint { opacity: 0; transition: opacity var(--dur-med); }
@media (max-width: 600px) { .cmp__knob { top: 5.4rem; } .cmp__hint { top: calc(5.4rem + 36px); } } /* on the phone the knob sits above the cards */
.cmp:has(input:focus-visible) .cmp__knob { outline: 3px solid var(--c-mist); outline-offset: 3px; }
.promises { list-style: none; margin: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.promises li { display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1rem; border-radius: var(--radius-m); background: var(--c-night-2); border: 1px solid var(--c-night-line); font-weight: 600; color: var(--c-mist); }
.promises svg { flex: none; color: var(--c-accent); }
@media (max-width: 980px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cmp { height: 600px; }
  .cmp__cards { width: min(13.5rem, 46%); bottom: 0.9rem; gap: 0.45rem; }
  .cmp__side--before .cmp__cards { left: 0.75rem; }
  .cmp__side--after .cmp__cards { right: 0.75rem; }
  .cmp__card { padding: 0.6rem 0.7rem; }
  .cmp__card b { font-size: 1.1rem; }
  .cmp__tag { top: 0.9rem; font-size: 0.875rem; }
  .cmp__side--before .cmp__tag { left: 0.75rem; }
  .cmp__tag--ez { right: 0.75rem; }
  .promises { grid-template-columns: 1fr; }
}

/* ---------- who: the reel of categories ---------- */
.who__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.who__stop { flex: none; margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.5rem); }
.reel { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.reel::-webkit-scrollbar { display: none; }
.reel__track { list-style: none; margin: 0; padding: 0.5rem 0; display: flex; gap: 1rem; width: max-content; animation: ez-reel 70s linear infinite; }
.reel:hover .reel__track, .reel:focus-within .reel__track, #who:has([data-stop][aria-pressed="true"]) .reel__track, #who[data-off] .reel__track { animation-play-state: paused; }
@keyframes ez-reel { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.5rem)); } }
.reel__item { flex: none; width: clamp(240px, 21vw, 300px); }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; height: clamp(360px, 30vw, 430px); border-radius: var(--radius-l); overflow: hidden; text-decoration: none; color: var(--c-mist); border: 1px solid var(--c-night-line); box-shadow: var(--shadow-m); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease-out); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--c-shade), 0.95) 0%, rgba(var(--c-shade), 0.7) 34%, rgba(var(--c-shade), 0) 62%); }
.tile__img--who-health { object-position: 72% 50%; }
.tile__img--who-realestate { object-position: 35% 50%; }
.tile__img--who-home { object-position: 40% 50%; }
.tile__img--who-more { object-position: 58% 50%; }
.tile__body { display: grid; gap: 0.35rem; padding: 1.2rem 1.2rem 1.3rem; }
.tile__name { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.tile__fields { font-size: 0.975rem; color: var(--c-mist-soft); line-height: 1.4; }
.tile__go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-weight: 650; font-size: 0.975rem; color: var(--c-azure); }
.tile:hover .tile__go svg { transform: translateX(3px); }
.tile--more { border-color: rgba(0, 197, 251, 0.55); box-shadow: var(--glow-s), var(--shadow-m); }
.tile--more::before { background: linear-gradient(0deg, rgba(10, 26, 68, 0.97) 0%, rgba(10, 26, 68, 0.78) 42%, rgba(10, 26, 68, 0.1) 72%); }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reel__track { animation: none; padding-inline: var(--gutter); }
  .reel__item[aria-hidden="true"] { display: none; }
}

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__side { display: grid; gap: 1rem; justify-items: start; position: sticky; top: calc(var(--header-h) + 2rem); color: var(--c-ink); }
.faq__side .lead a { color: var(--c-brand-text); font-weight: 650; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* ---------- close: the last push (the customer on the couch, tinted night blue; the words on the right, her face in the open left) ---------- */
.close { padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-brand-dark); mix-blend-mode: color; opacity: 0.88; pointer-events: none; }
.close__video { object-position: 30% 40%; filter: brightness(1.3); }
.close__shade { background: linear-gradient(270deg, rgba(var(--c-shade), 0.94) 0%, rgba(var(--c-shade), 0.86) 40%, rgba(var(--c-shade), 0.35) 68%, rgba(var(--c-shade), 0.12) 100%); }
.close__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); row-gap: 1.75rem; }
.close__words, .picker--close { grid-column: 2; }
.close__words h2 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.2rem); }
.close__words .lead { margin-top: 1rem; }
@media (max-width: 900px) {
  .close__in { grid-template-columns: 1fr; }
  .close__words, .picker--close { grid-column: 1; }
  .close { padding-top: 16.5rem; }
  .close::before { inset: 0 0 auto; height: 20rem; }
  .close__video { inset: 0 0 auto; height: 20rem; object-position: 22% 30%; }
  .close__shade { inset: 0 0 auto; height: 20rem; background: linear-gradient(180deg, rgba(var(--c-shade), 0.1) 0%, rgba(var(--c-shade), 0.3) 50%, rgba(var(--c-shade), 1) 100%); }
}
