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

/* ---------- hero: the inset video card, one field at a time (the kit's rotate) ---------- */
.hero { position: relative; padding-bottom: var(--space-2); }
.hero__frame { height: clamp(460px, 60svh, 620px); background: var(--c-ink); color: #fff; }
.hero__slides { position: absolute; inset: 0; }
/* the kit's gentle change (kit.md, the header), as it is */
[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%))); } /* the kit gives the glide in whole device pixels */
[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); } /* each clip reaches 1 px past its frame, so no still picture shows beside it; until it has shown its first frames, its first paint is cut 1 px inside the frame, so the first picture stays the largest paint */
[data-kit-scene="rotate"] [data-kit-slide] video[data-kit-shown] { clip-path: none; } /* the kit marks a clip once it has shown its first frames */
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); } /* the picture that left goes once the new one covers it whole */
[data-kit-scene="rotate"] [data-kit-slide] img.kit-first { inset: -1px !important; width: calc(100% + 2px) !important; height: calc(100% + 2px) !important; max-width: none; } /* the first picture laid like its clip */
/* this site's grade and crop */
.hero__slide video { object-position: var(--pos, 50% 50%); filter: saturate(1.12) contrast(1.03); }
@media (max-width: 699px) { .hero__slide video { object-position: var(--mpos, var(--pos, 50% 50%)); } }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(18, 18, 20, 0.82) 0%, rgba(18, 18, 20, 0.5) 34%, rgba(18, 18, 20, 0) 64%); }
/* the side shade behind the words fades out toward the top, so it stays clear of each slide's card (inside its slide,
   under this one still grade: kit.md, the header) */
.hero__shade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18, 18, 20, 0.38) 0%, rgba(18, 18, 20, 0) 60%); -webkit-mask-image: linear-gradient(to top, #000 50%, transparent 70%); mask-image: linear-gradient(to top, #000 50%, transparent 70%); }
.hero__content { position: absolute; z-index: 4; left: clamp(20px, 4vw, 64px); right: clamp(20px, 4vw, 64px); bottom: 76px; display: grid; gap: clamp(14px, 1.6vw, 22px); }
.hero__title { font-size: clamp(1.75rem, calc((100vw - 60px) / 9.2), 5rem); line-height: 1; letter-spacing: var(--track-display); font-weight: var(--w-display); color: #fff; text-wrap: initial; }
.hero__l1, .hero__l2 { display: block; white-space: nowrap; }
.hero__word { display: inline-block; position: relative; opacity: calc(1 - var(--kit-swap, 0)); transform: translateY(calc(var(--kit-swap, 0) * 0.14em)); }
.hero__word::after { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.04em; height: 0.075em; border-radius: var(--radius-pill); background: var(--c-brand); transform-origin: left center; transform: scaleX(calc(1 - var(--kit-swap, 0))); }
.hero__lead { max-width: 34rem; font-size: var(--fs-lead); line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
/* each slide's card: a small AI exchange on solid white (who answered and when, the customer's question, then the
   booking, which lands just after the card itself); on the phone narrower and on the side away from the face */
.hero__card { position: absolute; z-index: 4; top: 14px; display: grid; gap: 7px; width: min(62%, 244px); padding: 10px; border-radius: var(--radius-m); background: var(--c-white); color: var(--c-ink); box-shadow: var(--shadow-l); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)); --done: clamp(0, calc((var(--kit-in, 1) - 0.55) * 2.5), 1); }
[data-kit-slide][data-prev] .hero__card { visibility: hidden; }
.hero__card--right { right: 58px; }
.hero__card--left { left: 14px; }
.hero__card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.8125rem; line-height: 1.2; }
.hero__card-head b { font-weight: 600; }
.hero__card-head .mono { margin-left: auto; font-size: 0.75rem; color: var(--c-ink-soft); }
.hero__card-mark { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--c-brand); color: var(--c-on-brand); }
.hero__card-ask { justify-self: start; padding: 7px 10px; border-radius: 14px 14px 14px 5px; background: var(--c-paper-alt); font-size: 0.8125rem; line-height: 1.35; }
.hero__card-done { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: var(--radius-pill); background: var(--c-brand-light); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; opacity: var(--done); transform: translateY(calc((1 - var(--done)) * 6px)); }
.hero__card-done svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
.hero__stop { top: 14px; right: 14px; }
.hero__picker { position: relative; z-index: 5; width: calc(100% - 2 * var(--frame) - 16px); max-width: 560px; margin: -56px auto 0; }
.hero__picker .picker { padding: 18px; gap: 12px; }
@media (min-width: 700px) {
  .hero__frame { height: clamp(560px, 66svh, 700px); }
  .hero__card { top: 28px; width: 340px; gap: 10px; padding: 14px; }
  .hero__card--right { right: 72px; }
  .hero__card--left { left: 28px; }
  .hero__card-ask { padding: 9px 12px; font-size: 0.9375rem; }
  .hero__card-done { padding: 6px 12px 6px 6px; font-size: 0.875rem; }
  .hero__content { bottom: 96px; }
}
@media (min-width: 1100px) {
  .hero__frame { height: clamp(640px, calc(100svh - 72px - var(--frame)), 920px); }
  .hero__content { right: auto; bottom: clamp(40px, 5vw, 72px); max-width: calc(100% - 520px); }
  .hero__title { font-size: min(5rem, calc((100vw - 560px) / 9.4)); }
  .hero__picker { position: absolute; margin: 0; right: calc(var(--frame) + clamp(24px, 3vw, 48px)); bottom: calc(var(--space-2) + clamp(24px, 3vw, 48px)); width: 408px; }
}

/* ---------- outcomes: the AI team, four showcase tiles ---------- */
.outcomes__grid { position: relative; display: grid; gap: clamp(48px, 5vw, 72px) clamp(20px, 2.6vw, 40px); }
@media (min-width: 768px) { .outcomes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.outcomes__stop { position: absolute; top: -52px; right: 0; }
.showcase__tile { width: 100%; height: 520px; }
@media (min-width: 768px) { .showcase__tile { height: auto; aspect-ratio: 5 / 4; min-height: 460px; } }
.showcase__tile > video { filter: saturate(1.08); }
.showcase--found .showcase__tile > video { object-position: 100% 50%; }
.showcase--answer .showcase__tile > video { object-position: 50% 50%; }
.showcase--reviews .showcase__tile > video { object-position: 50% 26%; }
.showcase--work .showcase__tile > video { object-position: 88% 50%; }
.showcase__tile > .scene[data-scene="ask-ai"] { position: absolute; inset: 0; z-index: 2; }
.showcase__tile > .scene:not([data-scene="ask-ai"]) { position: absolute; z-index: 2; left: 22px; top: 22px; width: min(380px, calc(100% - 44px)); }
.showcase--reviews .showcase__tile > .scene, .showcase--work .showcase__tile > .scene { top: auto; bottom: 22px; }
@media (max-width: 480px) { .showcase__tile > .scene:not([data-scene="ask-ai"]) { left: 12px; width: calc(100% - 24px); top: 12px; } .showcase--reviews .showcase__tile > .scene, .showcase--work .showcase__tile > .scene { bottom: 12px; } }

/* ---------- plan: the results-first tour over area footage ---------- */
.plan__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-bottom: var(--space-4); }
.plan__tab { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px 0 6px; border: 0; border-top: 1px solid color-mix(in srgb, var(--c-ink) 16%, transparent); background: none; text-align: left; color: var(--c-ink-soft); font: inherit; cursor: pointer; }
.plan__tab-n { font-size: var(--fs-mono); color: var(--c-ink-soft); }
.plan__tab-t { font: var(--w-head) clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--c-ink-soft); }
.plan__tab-s { font-size: var(--fs-small); line-height: 1.4; }
.plan__tab-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; border-radius: 2px; background: var(--c-brand); transform-origin: left center; transform: scaleX(0); }
.plan__tab[aria-selected="true"] .plan__tab-t { color: var(--c-ink); }
.plan__tab[aria-selected="true"] .plan__tab-n { color: var(--c-brand-text); }
.plan__tab[aria-selected="true"] .plan__tab-bar { transform: scaleX(var(--kit-fill, 1)); }
[data-kit-tabs]:not([data-kit-on]) .plan__tab[aria-selected="true"] .plan__tab-bar { transform: scaleX(1); }
.plan__tab:hover .plan__tab-t { color: var(--c-ink); }
@media (max-width: 699px) { .plan__tab-s { display: none; } .plan__tab { padding-top: 14px; } }
.plan__stage { width: 100%; min-height: 560px; background: var(--c-ink) url("https://definitiondigitalmarketing-media.pages.dev/assets/img/plan-area-poster-960.webp") center / cover no-repeat; } /* the footage's still under it: never an empty box before the clip loads */
/* the base phone takes its text from --c-on-brand, which is light in V2; this site's rose carries ink, so the phone takes the paper (its picked chip keeps ink on rose) */
#plan [data-scene="yourpart"] .yp-phone { --c-on-brand: var(--c-paper); }
#plan [data-scene="yourpart"] .yp-chips span.is-on { color: var(--c-ink); }
@media (min-width: 700px) { .plan__stage { aspect-ratio: 16 / 8.2; min-height: 540px; } }
.plan__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(18, 18, 20, 0.1), rgba(18, 18, 20, 0.28)); pointer-events: none; }
.plan__panel { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 56px 16px 24px; }
.plan__panel:focus-visible { outline-offset: -4px; }
.plan__panel > .scene { width: 100%; }
.plan__stop { top: 14px; right: 14px; }
[data-kit-tabs-stop] .stop__play { display: none; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__play { display: inline; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__pause { display: none; }
.plan__cta { display: grid; justify-items: center; margin-top: var(--space-5); }
.plan__cta .cta-note { max-width: 640px; }

/* ---------- how: three steps lit by the chat ---------- */
.how__grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) { .how__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.how__steps { list-style: none; margin: 0 0 var(--space-5); padding: 0; border-top: 1px solid var(--c-line); }
.how__step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--c-line); position: relative; }
.how__step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--c-brand); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease-out); }
.how__step[aria-current="step"]::before { transform: scaleX(1); }
.how__n { font-size: var(--fs-mono); padding-top: 7px; color: var(--c-ink-soft); }
.how__t { font-size: var(--fs-h3); letter-spacing: -0.02em; color: var(--c-ink-soft); transition: color var(--dur-med) var(--ease-out); }
.how__s { margin-top: 6px; color: var(--c-ink-soft); }
.how__step[aria-current="step"] .how__t { color: var(--c-ink); }
.how__step[aria-current="step"] .how__n { color: var(--c-brand-text); }
.how__cta { display: grid; justify-items: start; }
.how__media { min-height: 740px; }
@media (min-width: 960px) { .how__media { min-height: 760px; } }
@media (max-width: 379px) { .how__media { min-height: 900px; } .how__media .how__phone { height: min(840px, calc(100% - 48px)); } .how__phone .msg { font-size: 13px; } .how__phone .msg__v { font-size: 1rem; } }
.how__media > video { filter: saturate(1.1) brightness(1.04); }
.how__veil { position: absolute; inset: 0; background: rgba(18, 18, 20, 0.22); pointer-events: none; }
.how__phone { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, calc(100% - 32px)); height: min(680px, calc(100% - 48px)); display: flex; flex-direction: column; padding: 12px; border-radius: 44px; background: var(--c-white); border: 7px solid #0E0E10; box-shadow: 0 40px 90px rgba(10, 10, 12, 0.45), 0 10px 24px rgba(10, 10, 12, 0.25); color: var(--c-ink); }
.how__phone-head { display: grid; justify-items: center; gap: 4px; padding: 4px 8px 10px; border-bottom: 1px solid var(--c-line); }
.how__phone-head .logo__mark { width: 28px; height: 28px; }
.how__phone-head .logo__name { font-size: 13px; }
.how__phone-head .logo__sub { font-size: 11px; letter-spacing: 0.06em; }
.how__phone-sub { font-size: 13px; color: var(--c-ink-soft); }
.how__chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; padding: 10px 2px 4px; opacity: calc(1 - var(--kit-out, 0)); }
.msg { margin: 0; max-width: 86%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.4; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.msg--bot { align-self: flex-start; background: var(--c-paper-alt); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--c-ink); color: var(--c-paper); border-bottom-right-radius: 6px; }
/* the website read as a checklist, each row ticking in turn once the message shows */
.msg--read { display: grid; gap: 4px; min-width: 82%; }
.msg__site { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.msg__globe { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--c-ink-soft); background: linear-gradient(90deg, transparent 45%, var(--c-ink-soft) 45%, var(--c-ink-soft) 55%, transparent 55%); }
.msg__row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-soft); animation: msg-row 420ms var(--ease-out) both; animation-delay: calc(300ms + var(--d) * 520ms); }
.msg__row svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
@keyframes msg-row { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* the plan: where the clients come from, three share bars that grow in turn */
.msg__src { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; }
.msg__src i { display: block; width: var(--v); height: 8px; border-radius: 4px; background: var(--grad-sunrise); transform-origin: left center; animation: msg-bar 700ms var(--ease-out) both; animation-delay: calc(250ms + var(--d) * 160ms); }
@keyframes msg-bar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .msg__row, .msg__src i { animation: none; } }
.msg--typing { align-self: flex-start; display: flex; gap: 4px; background: var(--c-paper-alt); border-bottom-left-radius: 6px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); animation: msg-dot 1s infinite var(--ease-in-out); }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes msg-dot { 0%, 100% { transform: translateY(0); opacity: 0.45; } 40% { transform: translateY(-4px); opacity: 1; } }
.msg--result { align-self: stretch; max-width: none; display: grid; gap: 4px; padding: 11px 12px; border-radius: 18px; background: var(--c-cream); border: 1px solid color-mix(in srgb, var(--c-brand) 22%, transparent); }
.msg__k { font-size: 13px; font-weight: 600; color: var(--c-brand-text); }
.msg__v { font: var(--w-head) 1.0625rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.msg__from { font-size: 13px; color: var(--c-ink-soft); }
.msg--done { background: var(--c-brand-light); }
@media (prefers-reduced-motion: reduce) { .msg--typing i { animation: none; } .how__step::before, .how__t { transition: none; } }

/* ---------- worth: the calculator, a year of new clients square by square ---------- */
.worth__box { --calc-fill: var(--c-brand); --calc-thumb: var(--c-white); --calc-thumb-edge: var(--c-brand); --calc-track: color-mix(in srgb, var(--c-ink) 12%, transparent); --calc-font: var(--font-text); --calc-font-figure: var(--font-display); --calc-value-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); --calc-total-size: min(clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem), 100cqi / 6.3); --calc-figure-size: min(clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem), 100cqi / 5.8); /* below the widest figure's own fit (about 5.45 em), so calc.js never refits it in a loop on narrow screens */ --calc-gap: 28px;
  display: grid; gap: clamp(32px, 4vw, 56px); padding: clamp(22px, 4vw, 56px); border-radius: var(--radius-xl); background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-m); }
@media (min-width: 1180px) { .worth__box { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; } }
.worth__box .calc-slider__label { font-weight: 500; }
.worth__box .calc-slider__value { font-weight: var(--w-head); letter-spacing: -0.02em; }
.worth__result { position: relative; display: grid; gap: 22px; min-width: 0; }
.worth__stop { position: absolute; top: 0; right: 0; z-index: 2; }
.worth__box .calc-total { letter-spacing: var(--track-display); padding-right: 48px; }
.worth__picture { position: relative; }
.worth__pic { display: grid; gap: 12px; padding: 18px 16px 14px; border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid var(--c-line); }
.worth__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: clamp(3px, 0.7vw, 8px); height: clamp(170px, 18vw, 240px); }
.worth__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.worth__stack { flex: 1; min-height: 0; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; justify-content: center; border-bottom: 1.5px solid color-mix(in srgb, var(--c-ink) 14%, transparent); overflow: hidden; opacity: 0; }
.worth__stack i { display: grid; place-items: center; width: var(--cell, 12px); height: var(--cell, 12px); }
.worth__stack i::before { content: ""; width: var(--sq, 10px); height: var(--sq, 10px); border-radius: calc(var(--sq, 10px) * 0.26); background: color-mix(in srgb, var(--c-brand) calc((1 - var(--m, 0)) * 100%), var(--c-accent)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.worth__col[data-kit-on] .worth__stack { opacity: 1; }
.worth__m { text-align: center; font-size: 13px; color: var(--c-ink-soft); }
.worth__key { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--c-ink-soft); }
.worth__sq { width: 14px; height: 14px; border-radius: 4px; background: var(--c-brand); flex: none; }
.worth__box .calc-figures { gap: 24px; }
.worth__box .calc-note { font-size: var(--fs-small); color: var(--c-ink-soft); }

/* ---------- compare: drag the line ---------- */
.compare__box { position: relative; height: clamp(560px, 46vw, 640px); border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); user-select: none; -webkit-user-select: none; }
.compare__box .before, .compare__box .after { position: absolute; inset: 0; }
.compare__box .after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.5) * 100%)); }
.compare__img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; } /* 1 px past the box (kit.md, compare) */
.before .compare__img { transform: scaleX(-1); filter: grayscale(0.9) brightness(0.86) contrast(0.95); }
.after .compare__img { transform: scaleX(-1); object-position: 50% 40%; filter: saturate(1.12); }
.before::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 20, 0.55), rgba(18, 18, 20, 0.1) 60%); }
.after::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 20, 0.35), rgba(18, 18, 20, 0) 55%); }
.compare__tag { position: absolute; z-index: 2; top: 18px; padding: 8px 14px; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 600; }
.before .compare__tag { left: 18px; background: rgba(255, 255, 255, 0.86); color: var(--c-ink-soft); }
.compare__tag--us { right: 18px; background: var(--c-brand); color: var(--c-on-brand); }
.compare__cards { position: absolute; z-index: 2; bottom: 18px; display: grid; gap: 10px; width: min(300px, calc(50% - 30px)); }
.before .compare__cards { left: 18px; }
.after .compare__cards { right: 18px; }
.compare__card { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-m); background: rgba(255, 255, 255, 0.9); color: var(--c-ink); box-shadow: var(--shadow-m); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.compare__card b { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.compare__card span { font-size: 0.8125rem; color: var(--c-ink-soft); line-height: 1.3; }
.before .compare__card { background: rgba(240, 238, 234, 0.92); }
.compare__card--bad b { text-decoration: line-through; text-decoration-color: var(--c-brand); text-decoration-thickness: 2px; }
.compare__card--good { background: var(--c-white); }
.compare__bars { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 4px; height: 36px; margin-top: 6px; }
.compare__bars i { height: max(3px, var(--v)); border-radius: 3px; background: var(--grad-sunrise); }
.compare__bars i:first-child { background: var(--c-line); }
[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__box input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--kit-v, 0.5) * 100%); width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, 0.5), 1 - var(--kit-v, 0.5)) - 0.03) * 14), 1); }
.compare__box input:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 18, 20, 0.12); }
.handle__knob { position: absolute; top: 76px; left: -26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--c-ink); box-shadow: var(--shadow-l); }
.compare__box input:focus-visible + .handle .handle__knob { outline: 2px solid var(--c-brand-dark); outline-offset: 3px; }
.handle__hint { position: absolute; top: 136px; left: 0; transform: translateX(-50%); padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(18, 18, 20, 0.66); color: #fff; font-size: 13px; transition: opacity var(--dur-med); }
[data-kit-touched] .handle__hint { opacity: 0; }
.compare__promises { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.compare__promises li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.compare__dot { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-text); }
@media (max-width: 640px) {
  .compare__box { height: 620px; }
  .compare__cards { width: calc(50% - 26px); bottom: 14px; gap: 8px; }
  .before .compare__cards { left: 10px; }
  .after .compare__cards { right: 10px; }
  .compare__card { padding: 10px 11px; }
  .compare__card b { font-size: 0.875rem; }
  .compare__tag { top: 14px; font-size: 13px; padding: 7px 11px; }
  .before .compare__tag { left: 10px; }
  .compare__tag--us { right: 10px; }
  .handle__knob { top: 70px; }
  .handle__hint { top: 128px; }
}

/* ---------- who: a reel of tall cards ---------- */
.who { overflow: hidden; }
.who__reel { position: relative; }
.who__view { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; } /* a scroller: the gliding row can also be scrolled by hand, and a focused card is brought on screen */
.who__view::-webkit-scrollbar { display: none; }
.who__stop { position: absolute; top: -56px; right: var(--gutter); z-index: 2; }
.who__track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 4px 0 8px; list-style: none; animation: who-glide 64s linear infinite; }
.who__reel:hover .who__track, .who__reel:focus-within .who__track, .who__reel[data-held] .who__track { animation-play-state: paused; }
@keyframes who-glide { to { transform: translateX(calc(-50% - 9px)); } }
.who__card { position: relative; display: block; width: clamp(240px, 22vw, 320px); aspect-ratio: 3 / 4; border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); color: #fff; text-decoration: none; isolation: isolate; }
.who__img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; transition: transform 1.2s var(--ease-out); } /* it moves on its own layer: 1 px past its card (kit.md, video) */
.who__card:hover .who__img { transform: scale(1.04); }
.who__card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18, 18, 20, 0.86) 0%, rgba(18, 18, 20, 0.45) 30%, rgba(18, 18, 20, 0) 56%); }
.who__text { position: absolute; z-index: 2; left: 20px; right: 56px; bottom: 20px; display: grid; gap: 6px; }
.who__name { font: var(--w-head) 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.who__fields { font-size: 0.9375rem; line-height: 1.4; color: rgba(255, 255, 255, 0.88); }
.who__go { position: absolute; z-index: 2; right: 16px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: var(--c-ink); }
.who__card--more::after { background: linear-gradient(to top, rgba(120, 12, 40, 0.88) 0%, rgba(120, 12, 40, 0.4) 34%, rgba(18, 18, 20, 0) 60%); }
@media (max-width: 899px) {
  .who__stop { display: none; }
  .who__view { scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .who__track { animation: none; }
  .who__item--dup { display: none; }
  .who__item { scroll-snap-align: start; }
  .who__card { width: 72vw; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .who__img { transition: none; } }

/* ---------- faq ---------- */
@media (min-width: 960px) { .faq-part__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-6); align-items: start; } .faq-part__grid .section-head { position: sticky; top: 112px; } }

/* ---------- close ---------- */
.close { padding-bottom: 0; }
.close-block__media > video { filter: saturate(1.05); object-position: 64% 35%; }
.part-stop--left { right: auto; left: 14px; }
