/* design\components.css: the CSS of the components in design\components.md, the director's: the header, the footer,
   the exit popup, the call bar, the stop icon, and each section pattern, card, form box and call-to-action block as the
   home page built them. Every page loads it (the build copies it to site\assets\css\components.css). Builders use these
   classes as they are; a page's own CSS only places and sizes its parts, with the tokens of system.css.

   "Bold backyard": flat solid surfaces, the sticker (white, 2 px --c-navy-deep edge, the ink lip), the logo's D and o,
   Outfit set heavy, Figtree for text and every interface. No gradient on a surface, no glass, no blur. */

/* ---------- Page frame ---------- */
html { scroll-padding-top: 96px; }
:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.nobr { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section-y); }
.band--white { background: var(--c-paper); color: var(--c-ink); }
.band--pale { background: var(--c-paper-alt); color: var(--c-ink); }
.band--sky { background: var(--c-sky); color: var(--c-on-sky); }
.band--navy { background: var(--c-navy); color: var(--c-paper); }
.band--navy :focus-visible { outline-color: var(--c-sky-soft); }
.sec-head { max-width: 50rem; margin: 0 0 var(--space-5); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-lede { margin: var(--space-3) 0 0; font-size: var(--fs-body); color: var(--c-ink-soft); }
.band--navy .sec-lede { color: color-mix(in srgb, var(--c-paper) 85%, transparent); }
.band--sky .sec-lede { color: var(--c-on-sky); }

.skip:focus { padding: 0.65rem 1.1rem; border-radius: var(--radius-s); background: var(--c-navy); color: var(--c-paper); font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-m); }

/* ---------- Buttons and the note ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; box-sizing: border-box; min-height: 48px; padding: 0.95rem 1.75rem; border: 2px solid transparent; border-radius: var(--radius-d); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.btn:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.btn__arrow { flex: none; width: 1.15em; height: 1.15em; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--main { background: var(--c-sky); color: var(--c-on-sky); border-color: var(--c-navy-deep); box-shadow: var(--lip); }
.btn--main:hover { background: color-mix(in srgb, var(--c-sky) 94%, var(--c-paper)); transform: translateY(-1px); }
.btn--main:active { transform: translateY(3px); box-shadow: var(--lip-pressed); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-paper-alt); }
.btn--s { padding: 0.7rem 1.3rem; font-size: 1rem; }
.btn--wide { display: flex; width: 100%; }
.band--sky .btn--main { background: var(--c-navy); color: var(--c-paper); }
.band--navy .btn--ghost { color: var(--c-paper); border-color: var(--c-paper); }
.band--navy .btn--ghost:hover { background: color-mix(in srgb, var(--c-paper) 10%, transparent); }
.band--navy .btn:focus-visible { outline-color: var(--c-sky-soft); }

.cta-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.1rem; margin: 0.8rem 0 0; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--c-ink-soft); }
.cta-note__item { display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap; }
.cta-note__tick { flex: none; width: 1.05em; height: 1.05em; color: var(--c-sky); }
.band--sky .cta-note, .band--sky .cta-note__tick { color: var(--c-on-sky); }
.band--navy .cta-note { color: color-mix(in srgb, var(--c-paper) 85%, transparent); }

/* ---------- The site header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--c-paper); box-shadow: 0 1px 0 var(--c-line); }
.site-head__bar { display: flex; align-items: center; gap: var(--space-4); height: 96px; }
.site-head__logo { flex: none; display: block; border-radius: var(--radius-s); }
.site-head__logo .logo { display: block; width: auto; height: 76px; }
.site-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.site-nav ul { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.site-nav a, .nav-group__open { display: block; padding: 0.55rem 0; border: 0; background: none; font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; line-height: 1.25; color: var(--c-ink); text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav a:hover { color: var(--c-brand-text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px var(--c-sky); }
.nav-group { position: relative; }
.nav-group__list { display: none; }
.nav-group__open[aria-expanded="true"] + .nav-group__list { display: block; position: absolute; top: 100%; left: -1rem; min-width: 14rem; margin: 0; padding: 0.5rem 1rem; list-style: none; background: var(--c-paper); border-radius: var(--radius-m); box-shadow: var(--shadow-m); }
.site-head__actions { flex: none; display: flex; align-items: center; gap: 0.75rem; }
.site-head__langs { display: flex; gap: 0.5rem; font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-small); }
.site-head__langs a { color: var(--c-ink); }
.site-head__menu { display: none; align-items: center; gap: 0.55rem; box-sizing: border-box; min-height: 48px; padding: 0 1.15rem 0 1rem; border: 2px solid var(--c-ink); border-radius: var(--radius-d); background: var(--c-paper); color: var(--c-ink); font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-head__menu:hover { background: var(--c-paper-alt); }
.site-head__burger { position: relative; display: block; width: 18px; height: 13px; }
.site-head__burger i { position: absolute; left: 0; width: 100%; height: 2.6px; border-radius: 2px; background: currentColor; transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.site-head__burger i:nth-child(1) { top: 0; }
.site-head__burger i:nth-child(2) { top: 5.2px; }
.site-head__burger i:nth-child(3) { top: 10.4px; }
.site-head__menu[aria-expanded="true"] .site-head__burger i:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.site-head__menu[aria-expanded="true"] .site-head__burger i:nth-child(2) { opacity: 0; }
.site-head__menu[aria-expanded="true"] .site-head__burger i:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/* the phone menu: white, full width under the bar */
.site-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - 80px); overflow-y: auto; overscroll-behavior: contain; background: var(--c-paper); box-shadow: inset 0 1px 0 var(--c-line), var(--shadow-l); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med); }
.site-head[data-open] .site-menu { visibility: visible; opacity: 1; transform: none; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s; }
.site-menu__in { padding-block: var(--space-2) var(--space-5); }
.site-menu__nav ul { margin: 0; padding: 0; list-style: none; }
.site-menu__nav a, .site-menu__nav .nav-group__open { display: block; width: 100%; padding: 0.8rem 0; border: 0; border-bottom: 1px solid var(--c-line); background: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; text-align: left; color: var(--c-ink); text-decoration: none; }
.site-menu__nav a[aria-current="page"] { text-decoration: underline 3px var(--c-sky); text-underline-offset: 0.28em; }
.site-menu__nav .nav-group__open[aria-expanded="true"] + .nav-group__list { position: static; box-shadow: none; padding: 0 0 0 1rem; }
.site-menu__actions { display: grid; gap: 0.75rem; margin-top: var(--space-4); }
.site-menu__actions .btn { width: 100%; }
.site-menu__actions .cta-note { margin-top: 0.1rem; }

@media (min-width: 1280px) {
  .site-head__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-head__logo { justify-self: start; }
  .site-head__actions { justify-self: end; }
}
@media (min-width: 1100px) {
  .site-menu { display: none; }
}
@media (max-width: 1099px) {
  html { scroll-padding-top: 80px; }
  .site-head__bar { height: 80px; gap: var(--space-3); }
  .site-head__logo .logo { height: 64px; }
  .site-nav, .site-head__talk { display: none; }
  .site-head__actions { margin-left: auto; }
  .site-head__menu { display: inline-flex; }
}
@media (max-width: 599px) {
  html { scroll-padding-top: 72px; }
  .site-head__bar { height: 72px; }
  .site-head__logo .logo { height: 56px; }
  .site-head__cta { display: none; }
  .site-menu { max-height: calc(100svh - 72px); }
}

/* ---------- The stop icon ---------- */
.stop { position: absolute; top: 16px; right: 16px; z-index: 6; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-s); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-fast) var(--ease-out); }
.stop:hover { transform: scale(1.06); }
.stop:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.stop--dark { background: color-mix(in srgb, var(--c-navy-deep) 70%, transparent); color: var(--c-paper); }
.stop--dark:focus-visible, .band--navy .stop:focus-visible { outline-color: var(--c-paper); }

/* ---------- Cards ---------- */
.card { box-sizing: border-box; padding: var(--space-4); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); }
.sticker { box-sizing: border-box; padding: 0.875rem 1.125rem; border: 2px solid var(--c-navy-deep); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--lip); }
.sticker__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-sky); color: var(--c-navy); }
.sticker__icon svg { width: 20px; height: 20px; }
.sticker__title { display: block; font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; line-height: 1.3; color: var(--c-ink); text-wrap: balance; }
.sticker__sub { display: block; margin-top: 0.1rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.35; color: var(--c-ink-soft); text-wrap: balance; }

/* ---------- The clients picker ---------- */
.picker { margin: 0; padding: var(--space-4); border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.picker__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker__legend { float: left; width: 100%; margin: 0 0 0.8rem; padding: 0; font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; line-height: 1.3; color: var(--c-ink); }
.picker__chips { clear: both; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.picker__chip { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.picker__chip input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picker__chip span { display: grid; place-items: center; box-sizing: border-box; height: 52px; border: 2px solid var(--c-line); border-radius: var(--radius-s); background: var(--c-paper); font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; line-height: 1; color: var(--c-ink); transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.picker__chip:hover span { border-color: var(--c-sky); }
.picker__chip input:checked + span { border-color: var(--c-navy-deep); background: var(--c-navy); color: var(--c-paper); box-shadow: var(--lip); transform: translateY(-2px); }
.picker__chip input:focus-visible + span { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.picker__go { margin-top: var(--space-3); }
.picker .cta-note { margin-top: 0.85rem; }

/* ---------- The home header (kit rotate): the kit's CSS as kit\kit.md gives it, and the field word's marker ---------- */
[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; } /* the first picture is simply there */
[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; }
.marker { padding: 0 0.16em; border-radius: var(--radius-s); background: var(--c-sky); color: var(--c-on-sky); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Links with an arrow (outcome rows, the "many more" tile) ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 800; line-height: 1.25; color: var(--c-brand-text); text-decoration: none; text-underline-offset: 0.22em; }
.link-arrow__icon { flex: none; width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease-out); }
a.link-arrow:hover, a:hover .link-arrow { text-decoration: underline 2px; }
a.link-arrow:hover .link-arrow__icon, a:hover .link-arrow .link-arrow__icon { transform: translateX(3px); }
.band--navy .link-arrow { color: var(--c-sky-soft); }

/* ---------- The D frame and the o ring ---------- */
/* The logo's D: one side straight (--radius-l corners), the other a full half circle. The round side's horizontal radius
   is half the frame's height (--d-x: a share of the width for a frame of known ratio, 28.125% for 16:9, or a length for
   a stage of known height), so the straight side keeps its own corners. Its clip takes the same shape (inherit), so a
   frame that lets a card or a phone overhang it (overflow: visible) still shows its footage in the D. */
.dframe { --d-x: 28.125%; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-l) var(--d-x) var(--d-x) var(--radius-l) / var(--radius-l) 50% 50% var(--radius-l); background: var(--c-navy-deep); }
.dframe--left { border-radius: var(--d-x) var(--radius-l) var(--radius-l) var(--d-x) / 50% var(--radius-l) var(--radius-l) 50%; }
.dframe > video, .dframe > img { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ring { flex: none; display: grid; place-items: center; box-sizing: border-box; width: 48px; height: 48px; border: 6px solid var(--c-sky); border-radius: 50%; font-family: var(--font-display); font-size: var(--fs-body); font-weight: 800; line-height: 1; color: var(--c-navy); font-variant-numeric: tabular-nums; }
.band--navy .ring { color: var(--c-paper); }
.band--sky .ring { border-color: var(--c-on-sky); }

/* ---------- The free plan tour (kit tour) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 760px); justify-content: space-between; column-gap: var(--space-5); align-items: stretch; }
.tour__side { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.tour__tabs { display: grid; gap: 0.75rem; }
.tour__tab { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; row-gap: 0.15rem; align-items: center; box-sizing: border-box; width: 100%; margin: 0; padding: 1rem 1.25rem 1.2rem; border: 2px solid transparent; border-radius: var(--radius-m); background: var(--c-paper-alt); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.tour__tab:hover { border-color: var(--c-sky); }
.tour__tab .ring { grid-row: 1 / span 2; }
.tour__tab b { font-family: var(--font-display); font-size: var(--fs-body); font-weight: 800; line-height: 1.2; color: var(--c-ink); }
.tour__tab > span:not(.ring) { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.35; color: var(--c-ink-soft); }
.tour__tab[aria-selected="true"] { background: var(--c-paper); border-color: var(--c-navy-deep); box-shadow: var(--lip); }
/* the selected tab's time, while the tour turns by itself */
.tour__fill { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0.5rem; height: 4px; overflow: hidden; border-radius: 2px; background: var(--c-brand-light); opacity: 0; }
.tour__fill::after { content: ""; position: absolute; inset: 0; background: var(--c-sky); transform-origin: 0 50%; transform: scaleX(var(--kit-fill, 0)); }
.tour__tabs[data-kit-on] .tour__tab[aria-selected="true"] .tour__fill { opacity: 1; }
.tour__cta { margin-top: auto; }
.tour__cta > p:first-child { max-width: 25rem; margin: 0 0 var(--space-4); font-size: var(--fs-body); line-height: 1.5; color: var(--c-ink-soft); }
.tour__cta > p:first-child b { font-weight: 700; color: var(--c-ink); }
.tour__cta .cta-note { justify-content: flex-start; }
/* the stage: the aerial clip in the D under a white wash, the scenes over it (they may overhang the round side) */
.tour__stage { --stage-h: 560px; --d-x: calc(var(--stage-h) / 2); height: var(--stage-h); overflow: visible; background: var(--c-paper-alt); }
.tour__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: color-mix(in srgb, var(--c-paper) 35%, transparent); pointer-events: none; }
.tour__panel { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; outline: none; }
/* 30 px in each side: at the 760 px stage the box is 700 px, the width from which radar keeps its card at the bottom right */
.tour__scene { width: calc(100% - 60px); height: clamp(460px, 40vw, 530px); border-radius: var(--radius-l); }
.tour__panel:focus-visible .tour__scene { outline: 3px solid var(--c-navy); outline-offset: 4px; }
.tour__stop { z-index: 3; }
.tour__stop .stop__play { display: none; }
.tour__stop[aria-pressed="true"] .stop__play { display: inline; }
.tour__stop[aria-pressed="true"] .stop__pause { display: none; }

/* ---------- Three steps lit by the chat (kit chat) ---------- */
.how { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 640px); justify-content: space-between; column-gap: var(--space-5); align-items: center; }
.how__words { min-width: 0; }
.how__words > .sec-head { margin-bottom: var(--space-4); }
.how__words > .cta-note { justify-content: flex-start; }
.steps { display: grid; gap: 0.5rem; margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.steps__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1.1rem; align-items: start; padding: 1rem 1.25rem 1.1rem; border: 2px solid transparent; border-radius: var(--radius-m); color: var(--c-on-sky); 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), color var(--dur-med) var(--ease-out); }
.steps__item > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.65rem; min-width: 0; padding-top: 0.55rem; }
.steps__item h3 { font-size: var(--fs-h3); color: inherit; }
.steps__tag { padding: 0.2rem 0.7rem; border-radius: var(--radius-d); background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.steps__item p { flex-basis: 100%; margin: 0.1rem 0 0; font-size: var(--fs-body); line-height: 1.5; color: inherit; }
/* the step of the chat's current phase: a white sticker */
.steps__item[aria-current="step"] { background: var(--c-paper); border-color: var(--c-navy-deep); box-shadow: var(--lip); color: var(--c-ink); }
.steps__item[aria-current="step"] .ring { border-color: var(--c-sky); }
.steps__item[aria-current="step"] .steps__tag { background: var(--c-brand-light); color: var(--c-brand-text); }
.steps__item[aria-current="step"] p { color: var(--c-ink-soft); }
/* the stage: the hands clip in the D, the phone over its right half, bleeding out at the bottom */
.how__stage { --stage-h: 560px; --d-x: calc(var(--stage-h) / 2); --phone-s: 0.8667; height: var(--stage-h); overflow: visible; }
.how__stop { left: 16px; right: auto; z-index: 4; }
.phone { position: absolute; z-index: 3; left: 75%; bottom: -24px; box-sizing: border-box; width: 300px; height: 600px; padding: 10px; border-radius: 40px; background: var(--c-navy); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-paper) 12%, transparent), var(--shadow-l); transform: translateX(-50%) scale(var(--phone-s)); transform-origin: 50% 100%; }
/* the chat: it fills from the top under its head; once full, the page's script keeps the newest message in view, so the
   older ones glide up under the head as new ones come in */
.chat { position: relative; display: flex; flex-direction: column; box-sizing: border-box; height: 100%; padding: 0 14px 16px; overflow: hidden; border-radius: 30px; background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); }
.chat__head { position: sticky; z-index: 2; top: 0; flex: none; display: flex; align-items: center; gap: 10px; box-sizing: border-box; height: 62px; margin: 0 -14px 6px; padding: 6px 16px 0; background: var(--c-paper); box-shadow: 0 1px 0 var(--c-line); }
.chat__mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-sky); }
.chat__mark::after { content: ""; box-sizing: border-box; width: 14px; height: 14px; border: 3.5px solid var(--c-paper); border-radius: 50%; }
.chat__who b { display: block; font-size: var(--fs-small); font-weight: 700; line-height: 1.2; color: var(--c-ink); }
.chat__who span { display: block; font-size: var(--fs-small); font-weight: 500; line-height: 1.25; color: var(--c-ink-soft); }
/* each message grows into its place and rises 10 px (--kit-in), so the older ones glide up; all fade with --kit-out */
.chat > [data-kit-msg] { flex: none; box-sizing: border-box; margin: calc(var(--kit-in, 1) * 8px) 0 0; overflow: hidden; max-height: calc(var(--kit-in, 1) * var(--msg-h, 150px)); opacity: calc(min(1, var(--kit-in, 1) * 2) * (1 - var(--kit-out, 0))); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.chat__msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: var(--fs-ui); line-height: 1.38; }
.chat__msg--in { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--c-paper-alt); color: var(--c-ink); }
.chat__msg--out { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--c-sky); color: var(--c-on-sky); font-weight: 600; }
.chat > .chat__msg--chips { --msg-h: 60px; align-self: flex-end; display: flex; gap: 6px; max-width: none; padding: 2px 0 5px; border-radius: 0; background: none; }
.chat__msg--chips span { display: grid; place-items: center; box-sizing: border-box; min-width: 46px; height: 38px; padding: 0 10px; border: 2px solid var(--c-line); border-radius: var(--radius-s); background: var(--c-paper); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 800; line-height: 1; color: var(--c-ink); }
.chat__msg--chips span[data-kit-on] { border-color: var(--c-navy-deep); background: var(--c-navy); color: var(--c-paper); box-shadow: var(--lip); transform: translateY(-2px); }
.chat > .chat__typing { --msg-h: 44px; align-self: flex-start; display: flex; gap: 5px; padding: 13px 14px; border-radius: 18px 18px 18px 6px; background: var(--c-paper-alt); }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); animation: chat-dot 1.1s var(--ease-in-out) infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: 0.4; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.how:has(.how__stop[aria-pressed="true"]) .chat__typing i { animation-play-state: paused; }
.chat > .chat__check { --msg-h: 80px; align-self: stretch; padding: 12px 14px 13px; border-radius: var(--radius-m); background: var(--c-paper-alt); }
.chat__check b { display: block; font-size: var(--fs-small); font-weight: 700; line-height: 1.3; color: var(--c-ink); }
.chat__check i { position: relative; display: block; height: 8px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: var(--c-line); }
.chat__check i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-sky); transform-origin: 0 50%; transform: scaleX(var(--kit-fill, 1)); }
.chat > .chat__result { --msg-h: 240px; align-self: stretch; display: grid; gap: 5px; padding: 13px 14px 12px; border: 2px solid var(--c-navy-deep); border-radius: var(--radius-m); background: var(--c-paper); }
.chat__kicker { font-size: var(--fs-small); font-weight: 700; line-height: 1.2; color: var(--c-brand-text); }
.chat__big { line-height: 1.2; }
.chat__big b { font-family: var(--font-display); font-size: var(--fs-body); font-weight: 800; color: var(--c-ink); }
.chat__big span { font-size: var(--fs-small); color: var(--c-ink-soft); }
.chat__bars { display: flex; align-items: flex-end; gap: 4px; height: 58px; margin: 4px 0 2px; border-bottom: 1px solid var(--c-line); }
.chat__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: var(--c-sky); transform-origin: 50% 100%; transform: scaleY(clamp(0, (var(--kit-in, 1) - var(--i) * 0.04) / 0.56, 1)); }
.chat__bars .chat__setup { background: var(--c-line); }
.chat__from { font-size: var(--fs-small); line-height: 1.3; color: var(--c-ink-soft); }

/* ---------- The calculator (kit worth and year): a year of new jobs, built in the logo's D ---------- */
/* Three sliders in a white card; beside them the picture: the year's new jobs fill the logo's D like bricks laid in a
   wall, one block a job, as big as one job is worth, so the wall covers as much of the D as the year is worth (home.js
   lays the blocks from the kit's numbers). The kit's year scene lays them once, month by month, the first time it is
   seen; after that only a slider changes it, and the whole year shows at once. */
.worth { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: var(--space-5); row-gap: var(--space-4); align-items: stretch; }
.worth__inputs { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); padding: var(--space-5); border: 2px solid var(--c-line); box-shadow: var(--shadow-m); }
.slider { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 1rem; row-gap: 0.7rem; }
.slider label { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; line-height: 1.3; color: var(--c-ink); }
.slider output { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 800; line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slider input[type="range"] { grid-column: 1 / -1; box-sizing: border-box; width: 100%; height: 40px; margin: -3px 0; touch-action: pan-y; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: var(--radius-d); background: linear-gradient(90deg, var(--c-sky) var(--kit-fill, 50%), var(--c-brand-light) var(--kit-fill, 50%)); }
.slider input[type="range"]::-webkit-slider-thumb { box-sizing: border-box; width: 30px; height: 30px; margin-top: -10px; border: 2px solid var(--c-navy-deep); border-radius: 50%; background: var(--c-paper); box-shadow: var(--lip); -webkit-appearance: none; appearance: none; transition: transform var(--dur-fast) var(--ease-out); }
.slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.08); }
.slider input[type="range"]::-moz-range-track { height: 10px; border-radius: var(--radius-d); background: var(--c-brand-light); }
.slider input[type="range"]::-moz-range-progress { height: 10px; border-radius: var(--radius-d); background: var(--c-sky); }
.slider input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 30px; height: 30px; border: 2px solid var(--c-navy-deep); border-radius: 50%; background: var(--c-paper); box-shadow: var(--lip); }
.slider input[type="range"]:focus-visible { outline: none; }
.slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.slider input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.slider__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -0.3rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; color: var(--c-ink-soft); }
.worth__hint { margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--c-line); font-size: var(--fs-small); line-height: 1.45; color: var(--c-ink-soft); }
/* the picture: the D drawn as a sticker (pale ground, the 2 px ink edge, the ink lip), its wall of sky blocks inside a
   9 px margin, the result on a sticker that breaks the D's top edge, and the stop icon in the corner the round side
   leaves free */
.worth__pic { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
.worth__stage { position: relative; flex: 1 1 auto; min-height: 440px; }
.wall { position: absolute; top: 28px; left: 0; display: block; width: 100%; height: calc(100% - 28px); overflow: visible; }
.wall__lip { fill: var(--c-navy-deep); }
.wall__ground { fill: var(--c-paper-alt); }
.wall__edge { fill: none; stroke: var(--c-navy-deep); stroke-width: 2; }
/* each block stands on a solid lip in the deep ocean blue, the site's ink lip in the wall's own colors */
.wall__face { fill: var(--c-sky); }
.wall__under { fill: var(--c-brand-dark); }
/* a month's blocks land from a little above and settle (the kit's --kit-in), once; until the kit lays them, they wait
   unseen */
.wall__month { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * -18px)); }
.worth__pic[style*="--kit-year"] .wall__month:not([data-kit-on]) { opacity: 0; }
.worth__total { position: absolute; z-index: 2; top: 0; right: 64px; display: flex; align-items: flex-start; gap: 0.9rem; max-width: calc(100% - 128px); padding: 1rem 1.5rem 1.1rem 1.1rem; }
.worth__words { display: grid; gap: 0.25rem; min-width: 0; }
.worth__by { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; line-height: 1.3; color: var(--c-ink-soft); }
.worth__sum { font-family: var(--font-display); font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem); font-weight: var(--fw-display); line-height: 1; letter-spacing: var(--ls-display); color: var(--c-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.worth__jobs { margin-top: 0.3rem; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--c-ink-soft); }
.worth__jobs b { font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.worth__stop { top: 28px; right: 0; }
.worth__key { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; padding-left: 4px; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--c-ink-soft); }
.worth__key i { flex: none; width: 34px; height: 13px; margin-top: 0.2em; border-radius: 4px; background: var(--c-sky); box-shadow: 0 3px 0 var(--c-brand-dark); }
.worth__cta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.worth__note { flex: 1 1 16rem; margin: 0; font-family: var(--font-ui); font-size: var(--fs-small); line-height: 1.4; color: var(--c-ink-soft); }

/* ---------- Outcome rows ---------- */
.outcomes { position: relative; }
.outcomes__stop { top: 0.35rem; right: var(--gutter); }
.outcome { display: grid; grid-template-columns: 58% minmax(0, 1fr); column-gap: var(--space-6); align-items: center; }
.outcome + .outcome { margin-top: 72px; }
.outcome--flip { grid-template-columns: minmax(0, 1fr) 58%; }
.outcome--flip .outcome__media { grid-column: 2; grid-row: 1; }
.outcome--flip .outcome__words { grid-column: 1; grid-row: 1; }
.outcome__media { aspect-ratio: 16 / 9; }
.outcome__media::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: color-mix(in srgb, var(--c-navy) 25%, transparent); pointer-events: none; }
/* the scene over the D's straight side, centered in height, 32 px in from the straight edge */
.outcome__scene { position: absolute; z-index: 2; top: 50%; left: 32px; width: 360px; transform: translateY(-50%) scale(var(--scene-s, 1)); transform-origin: 0 50%; }
.dframe--left .outcome__scene { left: auto; right: 32px; transform-origin: 100% 50%; }
.outcome__scene > [data-scene] { display: block; width: 100%; }
.outcome__words { display: grid; justify-items: start; gap: var(--space-3); min-width: 0; }
.outcome__words .ring { margin-bottom: 0.25rem; }
.outcome__words h3 { font-size: var(--fs-h3); color: var(--c-paper); }
.outcome__words p { max-width: 30rem; margin: 0; font-size: var(--fs-body); line-height: 1.55; color: color-mix(in srgb, var(--c-paper) 85%, transparent); }

/* ---------- Compare (kit compare) ---------- */
.compare { position: relative; isolation: isolate; height: 600px; overflow: hidden; border-radius: var(--radius-l); background: var(--c-navy-deep); box-shadow: var(--shadow-l); }
.compare__side { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; box-sizing: border-box; padding: 48px; }
.compare__side > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.compare__side.before { align-items: flex-start; }
.compare__side.before > img { filter: grayscale(1) contrast(0.9) brightness(1.05); }
.compare__side.after { align-items: flex-end; clip-path: inset(0 0 0 calc(var(--kit-v, 0.55) * 100%)); }
.compare__tag { padding: 0.45rem 0.95rem; border-radius: var(--radius-d); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 800; line-height: 1.2; color: var(--c-paper); }
.before .compare__tag { background: var(--c-ink-soft); }
.after .compare__tag { background: var(--c-navy); }
.compare__cards { display: grid; gap: 0.75rem; width: min(300px, 100%); }
.compare__cards .sticker { display: flex; align-items: center; gap: 0.75rem; }
.compare__words { min-width: 0; }
/* the usual agency's cards: grey, the crossed words in ink at 60% (no red) */
.before .sticker { border-color: var(--c-ink-soft); background: color-mix(in srgb, var(--c-paper) 90%, var(--c-ink-soft)); box-shadow: 0 4px 0 var(--c-ink-soft); }
.before .sticker__title { color: var(--c-ink-soft); }
.before .sticker__title s { color: color-mix(in srgb, var(--c-ink) 60%, transparent); text-decoration-thickness: 2px; }
.compare__cards .compare__jobs { flex-direction: column; align-items: stretch; gap: 0.4rem; }
.compare__bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 0.15rem; }
.compare__bars i { flex: 1; height: var(--h); border-radius: 2px 2px 1px 1px; background: var(--c-sky); }
.compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; background: transparent; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare__range::-webkit-slider-runnable-track { height: 100%; }
.compare__range::-webkit-slider-thumb { width: 2px; height: 100%; -webkit-appearance: none; appearance: none; }
.compare__range::-moz-range-thumb { width: 2px; height: 100%; border: 0; }
.compare__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(var(--kit-v, 0.55) * 100%); width: 0; pointer-events: none; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--c-paper); }
.compare__knob { position: absolute; top: 50%; left: 0; display: grid; place-items: center; box-sizing: border-box; width: 56px; height: 56px; border: 3px solid var(--c-paper); border-radius: 50%; background: var(--c-navy); color: var(--c-paper); box-shadow: var(--shadow-m); transform: translate(-50%, -50%); }
.compare__hint { position: absolute; top: calc(50% + 40px); left: 0; padding: 0.3rem 0.8rem; border-radius: var(--radius-d); background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 700; line-height: 1.2; box-shadow: var(--shadow-s); transform: translateX(-50%); transition: opacity var(--dur-med) var(--ease-out); }
.compare[data-kit-touched] .compare__hint { opacity: 0; }
.compare__range:focus-visible + .compare__handle .compare__knob { outline: 3px solid var(--c-paper); outline-offset: 3px; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 700; line-height: 1.3; }

/* ---------- Who we help tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.tile { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-m); background: var(--c-navy); color: var(--c-paper); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.tile--more { grid-column: span 2; aspect-ratio: auto; }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
/* the navy shade under the words, over the photo's bottom part */
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--c-navy-deep) 86%, transparent) 0%, color-mix(in srgb, var(--c-navy-deep) 62%, transparent) 30%, transparent 56%); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 0.45rem; padding: var(--space-4); }
.tile h3 { font-size: var(--fs-h3); color: var(--c-paper); text-decoration: underline 3px transparent; text-underline-offset: 0.16em; transition: text-decoration-color var(--dur-med) var(--ease-out); }
.tile p { margin: 0; font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: color-mix(in srgb, var(--c-paper) 92%, transparent); }
.tile--more p { max-width: 30rem; }
.tile .link-arrow { margin-top: 0.2rem; color: var(--c-sky-soft); }
.tile:hover > img { transform: scale(1.03); }
.tile:hover h3 { text-decoration-color: var(--c-sky); }
.tile:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }

/* ---------- The FAQ ---------- */
.faq { max-width: calc(820px + 2 * var(--gutter)); }
.faq > .sec-head { margin-bottom: var(--space-4); }
.faq details { margin-top: 0.75rem; border-radius: var(--radius-m); background: var(--c-paper); box-shadow: var(--shadow-s); }
.faq summary { position: relative; display: block; padding: 1.3rem 4.25rem 1.3rem 1.5rem; border-radius: var(--radius-m); font-family: var(--font-display); font-size: 1.25rem; font-weight: 750; line-height: 1.3; color: var(--c-ink); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
/* the round mark: a plus, or a minus once open */
.faq summary::after { content: ""; position: absolute; top: 50%; right: 1.25rem; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: linear-gradient(var(--c-on-sky), var(--c-on-sky)) center / 14px 2.6px no-repeat, linear-gradient(var(--c-on-sky), var(--c-on-sky)) center / 2.6px 14px no-repeat, var(--c-sky); transition: transform var(--dur-med) var(--ease-out); }
.faq details[open] > summary::after { background: linear-gradient(var(--c-on-sky), var(--c-on-sky)) center / 14px 2.6px no-repeat, var(--c-sky); transform: rotate(180deg); }
.faq summary:hover { color: var(--c-brand-text); }
.faq__answer { padding: 0 1.5rem 1.4rem; }
.faq__answer p { max-width: 42rem; margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink-soft); }

/* ---------- The closing band ---------- */
.close { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 600px; overflow: hidden; background: var(--c-navy-deep); color: var(--c-paper); }
.close__clip { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.close__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--c-shade) 0%, var(--c-shade) 36%, color-mix(in srgb, var(--c-navy-deep) 40%, transparent) 54%, transparent 66%); }
.close__stop { top: 24px; right: 24px; }
.close__content { padding-block: var(--space-6); }
.close__content > h2 { max-width: 620px; font-size: var(--fs-h1); color: var(--c-paper); }
.close__picker { width: 560px; max-width: 100%; margin-top: var(--space-5); }

/* ---------- The footer ---------- */
.site-foot { padding-block: var(--space-6) var(--space-4); }
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-5); }
.site-foot__logo { display: inline-block; padding: 12px 18px; border-radius: var(--radius-m); background: var(--c-paper); }
.site-foot__logo .logo { display: block; width: auto; height: 92px; }
.site-foot__brand p { max-width: 24rem; margin: var(--space-4) 0 0; font-size: var(--fs-small); line-height: 1.55; color: color-mix(in srgb, var(--c-paper) 85%, transparent); }
.site-foot__contact { display: grid; gap: 0.35rem; margin-top: var(--space-3); font-size: var(--fs-small); }
.site-foot__contact a, .site-foot__contact address { color: var(--c-paper); font-style: normal; }
.site-foot h2 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: var(--fs-ui); font-weight: 800; letter-spacing: 0; line-height: 1.3; color: var(--c-sky-soft); }
.site-foot__col ul, .site-foot__legal ul { margin: 0; padding: 0; list-style: none; }
.site-foot__col ul { display: grid; gap: 0.7rem; }
.site-foot__col a, .site-foot__legal a { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 500; color: color-mix(in srgb, var(--c-paper) 88%, transparent); text-decoration: none; }
.site-foot__col a:hover, .site-foot__legal a:hover { color: var(--c-paper); text-decoration: underline; }
.site-foot__cta .cta-note { justify-content: flex-start; }
.site-foot__cta h2 { font-size: var(--fs-h3); font-weight: var(--fw-display); letter-spacing: var(--ls-display); color: var(--c-paper); }
.site-foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid color-mix(in srgb, var(--c-paper) 14%, transparent); }
.site-foot__legal ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-foot__legal a { font-size: var(--fs-small); }
.site-foot__legal p { margin: 0; font-family: var(--font-ui); font-size: var(--fs-small); color: color-mix(in srgb, var(--c-paper) 80%, transparent); }
.site-foot :focus-visible { outline-color: var(--c-sky-soft); }

/* ---------- The exit popup ---------- */
.exit { box-sizing: border-box; width: min(100% - 2rem, 560px); max-width: none; max-height: calc(100svh - 2rem); margin: auto; padding: 0; border: 0; background: transparent; color: var(--c-ink); overflow: visible; }
.exit::backdrop { background: color-mix(in srgb, var(--c-navy-deep) 70%, transparent); }
html[data-kit-modal] { overflow: hidden; }
.exit__box { position: relative; padding: var(--space-5) var(--space-5) var(--space-4); border: 2px solid var(--c-navy-deep); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--lip), var(--shadow-l); }
.exit[data-kit-on] .exit__box { animation: exit-in var(--dur-med) var(--ease-out) both; }
@keyframes exit-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.exit__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--c-paper-alt); color: var(--c-ink); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.exit__close:hover { background: var(--c-brand-light); }
.exit__title { padding-right: 3rem; font-size: var(--fs-h3); }
.exit__line { margin: 0.75rem 0 var(--space-4); font-size: var(--fs-body); line-height: 1.5; color: var(--c-ink-soft); }
.exit .picker { padding: 0; border-radius: 0; box-shadow: none; }

/* ---------- Under 1100 px ---------- */
@media (max-width: 1099px) {
  .tour { grid-template-columns: 340px minmax(0, 1fr); }
  .tour__stage { --stage-h: 520px; }
  .how { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  .phone { left: 68%; }
  .worth { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); column-gap: var(--space-4); }
  .worth__inputs { padding: var(--space-4); }
  .worth__total { right: 56px; max-width: calc(100% - 100px); }
  .outcome { grid-template-columns: 56% minmax(0, 1fr); column-gap: var(--space-5); }
  .outcome--flip { grid-template-columns: minmax(0, 1fr) 56%; }
  /* the scenes keep their size (their smallest text is 13 px), so a short frame lets them overhang a little */
  .outcome__media { overflow: visible; }
  .compare { height: 520px; }
  .compare__side { padding: 40px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--more { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1; grid-row: 1; }
  .site-foot__cta { grid-column: 2; grid-row: 1; }
}

/* ---------- Under 900 px: one column ---------- */
@media (max-width: 899px) {
  /* the tour: the tabs, the stage, then the call to action (the side keeps its box, so the kit still sees it) */
  .tour { grid-template-columns: 100%; grid-template-rows: auto auto auto; }
  .tour__side { grid-column: 1; grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; gap: 0; }
  .tour__tabs { grid-row: 1; }
  .tour__stage { grid-column: 1; grid-row: 2; --stage-h: 500px; margin-top: var(--space-4); border-radius: var(--radius-l) 40% 40% var(--radius-l) / var(--radius-l) 50% 50% var(--radius-l); }
  .tour__cta { grid-row: 3; margin-top: var(--space-5); }
  .tour__scene { width: max(340px, 100% - 64px); max-width: 100%; height: 460px; }
  /* the steps: the head, the stage with its phone, the steps, the button and its note */
  .how { grid-template-columns: 100%; grid-template-rows: repeat(5, auto); }
  .how__words { grid-column: 1; grid-row: 1 / span 5; display: grid; grid-template-rows: subgrid; }
  .how__words > .sec-head { grid-row: 1; }
  .how__words > .steps { grid-row: 3; margin: calc(24px + var(--space-5)) 0 var(--space-4); }
  .how__words > .btn { grid-row: 4; justify-self: start; }
  .how__words > .cta-note { grid-row: 5; }
  .how__stage { grid-column: 1; grid-row: 2; --stage-h: 520px; --phone-s: 0.8; border-radius: var(--radius-l) 40% 40% var(--radius-l) / var(--radius-l) 50% 50% var(--radius-l); }
  .phone { left: 50%; }
  /* the calculator: the picture first, so it stays in sight above the sliders, then the sliders, then the button */
  .worth { grid-template-columns: 100%; grid-template-rows: auto auto auto; }
  .worth__pic { grid-column: 1; grid-row: 1; }
  .worth__inputs { grid-column: 1; grid-row: 2; }
  .worth__cta { grid-column: 1; grid-row: 3; }
  .worth__stage { flex: none; min-height: 0; height: clamp(330px, 62vw, 460px); }
  .outcome, .outcome--flip { grid-template-columns: 100%; row-gap: var(--space-5); }
  .outcome__media, .outcome--flip .outcome__media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; overflow: visible; --d-x: 24%; }
  .outcome__words, .outcome--flip .outcome__words { grid-column: 1; grid-row: 2; }
  .outcome__scene, .dframe--left .outcome__scene { left: 50%; right: auto; width: min(340px, 100% - 16px); transform: translate(-50%, -50%); transform-origin: 50% 50%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .tile--more { aspect-ratio: 16 / 9; }
}

/* ---------- The phone ---------- */
@media (max-width: 599px) {
  .tour__tab { padding: 0.85rem 1rem 1.05rem; column-gap: 0.85rem; }
  .tour__cta .btn { width: 100%; }
  .tour__cta .cta-note { justify-content: center; }
  .steps__item { padding: 0.9rem 1rem 1rem; column-gap: 0.85rem; }
  .how__words > .btn { width: 100%; justify-self: stretch; }
  .how__words > .cta-note { justify-content: center; }
  .worth__inputs { gap: var(--space-4); }
  .worth__total { right: 52px; max-width: calc(100% - 66px); gap: 0.7rem; padding: 0.75rem 1.1rem 0.85rem 0.8rem; border-radius: var(--radius-s); }
  .worth__total .sticker__icon { width: 30px; height: 30px; }
  .worth__total .sticker__icon svg { width: 17px; height: 17px; }
  .worth__sum { font-size: 2.25rem; }
  .worth__cta .btn { width: 100%; }
  .worth__note { text-align: center; }
  .compare { height: 560px; }
  .compare__side { justify-content: flex-start; gap: 0.6rem; padding: 14px; }
  /* each side's cards fit their own side of the line where it starts (55%), so neither is cut before a drag */
  .compare__side.before .compare__cards { width: min(220px, 55% - 7px); }
  .compare__side.after .compare__cards { width: min(220px, 45% - 10px); }
  .compare__cards { gap: 0.5rem; }
  .compare__cards .sticker { padding: 0.6rem 0.7rem; border-radius: var(--radius-s); }
  .compare__cards .sticker__icon { display: none; }
  .compare__cards .sticker__title, .compare__cards .sticker__sub { font-size: var(--fs-small); }
  .compare__tag { padding: 0.35rem 0.75rem; }
  /* the knob below the cards, where the line has nothing to cross */
  .compare__knob { top: 76%; width: 48px; height: 48px; }
  .compare__hint { top: calc(76% + 34px); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .promises li { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.8rem 0.85rem; font-size: var(--fs-small); }
  /* a square frame on the phone, so the clip shows around its scene (which keeps its own size) */
  .outcome__media, .outcome--flip .outcome__media { aspect-ratio: 1; --d-x: 30%; }
  .outcome__scene, .dframe--left .outcome__scene { width: min(320px, 100% - 24px); }
  .tiles { grid-template-columns: 100%; }
  .tile, .tile--more { aspect-ratio: 16 / 11; }
  .faq summary { padding: 1.1rem 3.75rem 1.1rem 1.1rem; font-size: var(--fs-body); }
  .faq summary::after { right: 1rem; }
  .faq__answer { padding: 0 1.1rem 1.2rem; }
  .close { min-height: 640px; align-items: end; }
  .close__shade { background: color-mix(in srgb, var(--c-navy-deep) 60%, transparent); }
  .close__stop { top: 16px; right: 16px; }
  .close__content { padding-block: var(--space-6) var(--space-5); }
  .close__picker { margin-top: var(--space-4); padding: var(--space-3); }
  .site-foot__grid { grid-template-columns: 100%; gap: var(--space-5); }
  .site-foot__brand, .site-foot__cta { grid-column: 1; grid-row: auto; }
  .site-foot__cta .btn { width: 100%; }
  .site-foot__cta .cta-note { justify-content: center; }
  .exit__box { padding: var(--space-5) var(--space-4) var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arrow, .stop, .picker__chip span, .site-menu, .site-head__burger i, .link-arrow__icon, .tour__tab, .steps__item, .tile > img, .tile h3, .faq summary::after, .compare__hint, .exit__close { transition: none; }
  .chat__typing i { animation: none; opacity: 0.7; }
  .exit[data-kit-on] .exit__box { animation: none; }
}
