/* 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). Every page uses these
   classes as they are; a page's own CSS only places and sizes its parts, with the tokens of system.css. */

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
main section { position: relative; }
.band { padding: var(--section-y) 0; }
.band--blue { background: var(--c-band); color: var(--c-on-brand); }
.band--navy { background: var(--c-navy); color: var(--c-on-brand); }

/* ---------- section heads: one message in the h2, the second in the line under it ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { font-size: var(--fs-h2); color: var(--c-ink); }
.section-head p { margin-top: var(--space-3); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--c-ink-soft); max-width: 640px; }
.section-head--wide { max-width: 920px; }
.section-head--on-blue h2, .section-head--on-dark h2 { color: var(--c-on-brand); }
.section-head--on-blue p { color: var(--c-on-brand); }
.section-head--on-dark p { color: var(--c-on-dark-soft); }
.section-head--on-dark a, .section-head--on-blue a { color: var(--c-on-brand); }

/* ---------- buttons: pills, the logo's stadium shape ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; box-sizing: border-box;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.button--primary { background: var(--c-brand-dark); color: var(--c-on-brand); box-shadow: 0 1px 0 rgb(var(--c-paper-rgb) / .18) inset, 0 10px 24px -10px rgb(var(--c-brand-dark-rgb) / .7); }
.button--primary:hover { background: color-mix(in srgb, var(--c-brand-dark) 86%, var(--c-ink)); }
.button--light { background: var(--c-paper); color: var(--c-brand-text); box-shadow: 0 12px 28px -12px rgb(var(--c-night-rgb) / .45); }
.button--light:hover { background: var(--c-brand-light); }
.button:active { transform: translateY(1px); }
.button__arrow { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.button:hover .button__arrow { transform: translateX(3px); }

/* The main button with its line under it. */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(32px, 4vw, 48px); }
.cta-row__line { font-size: var(--fs-small); color: var(--c-ink-soft); }
.cta-row--on-blue .button--primary { background: var(--c-paper); color: var(--c-brand-text); box-shadow: 0 14px 30px -14px rgb(var(--c-night-rgb) / .55); }
.cta-row--on-blue .button--primary:hover { background: var(--c-brand-light); }
.cta-row--on-blue .cta-row__line { color: var(--c-on-brand); }

.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link-arrow::after { content: ' \2192'; }
[data-planned] { opacity: .92; }

/* A small pill tag beside a title. */
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--c-brand-light); color: var(--c-brand-text); font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }

/* ---------- the site's header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: var(--space-4);
  height: 76px; padding: 0 max(var(--gutter), calc((100% - var(--max-w)) / 2)); box-sizing: border-box;
  background: var(--c-paper); border-bottom: 1px solid transparent; transition: border-color var(--dur-med) var(--ease-out);
}
.site-header__logo { display: flex; align-items: center; margin-right: auto; padding: 8px 0; }
.site-header__logo img { display: block; height: 30px; width: auto; }
.site-header__nav .nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header__nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px; font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--c-ink); text-decoration: none; }
.site-header__nav a:hover { background: var(--c-paper-alt); }
.site-header__nav a[aria-current="page"] { color: var(--c-brand-text); }
.site-header__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--c-brand-dark); color: var(--c-on-brand); font-family: var(--font-ui); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header__cta:hover { background: color-mix(in srgb, var(--c-brand-dark) 86%, var(--c-ink)); }
.site-header__menu { display: none; }
@media (max-width: 1023px) {
  .site-header { height: 64px; gap: 10px; }
  .site-header__logo img { height: 24px; }
  .site-header__menu {
    display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px;
    background: var(--c-paper); color: var(--c-ink); font-family: var(--font-ui); font-size: 15px; font-weight: 600; cursor: pointer;
  }
  .site-header__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 20px; background: var(--c-paper); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-m); }
  .site-header[data-open] .site-header__nav { display: block; }
  .site-header__nav .nav__list { flex-direction: column; gap: 0; }
  .site-header__nav a { width: 100%; height: 52px; font-size: 17px; border-radius: var(--radius-s); }
  .site-header__cta { height: 44px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 380px) { .site-header__cta { padding: 0 13px; } .site-header__logo img { height: 21px; } }

/* ---------- the stop icon: one small round icon per part that moves ---------- */
.stop {
  position: absolute; z-index: 6; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-paper); color: var(--c-ink); cursor: pointer; box-shadow: var(--shadow-s);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.stop:hover { background: var(--c-paper-alt); }
.stop--glass { border-color: rgb(var(--c-paper-rgb) / .5); background: rgb(var(--c-paper-rgb) / .9); }
.stop--light { background: var(--c-paper); }
/* the tours keep their own stop icon (kit.md), shown like the runtime [data-stop] icons */
[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; }

/* ---------- the notification card, over footage where it has no face ---------- */
.note {
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(340px, calc(100% - 32px)); padding: 12px 18px 12px 12px; box-sizing: border-box;
  border-radius: var(--radius-m); background: var(--c-paper); border: 1px solid rgb(var(--c-ink-rgb) / .06); box-shadow: var(--shadow-l); color: var(--c-ink);
}
.note__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-dark); }
.note__text { display: grid; gap: 2px; min-width: 0; }
.note__text b { font-family: var(--font-ui); font-size: 15px; font-weight: 600; line-height: 1.25; }
.note__text span { font-size: 13px; line-height: 1.3; color: var(--c-ink-soft); }

/* ---------- the clients picker (home header, closing band, exit popup) ---------- */
.picker { display: grid; gap: 14px; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--radius-l); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-l); box-sizing: border-box; }
.picker__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.picker__legend { padding: 0; margin-bottom: 12px; font-family: var(--font-ui); font-size: 16px; font-weight: 600; color: var(--c-ink); }
.picker__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.picker__choice { position: relative; display: block; }
.picker__choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.picker__choice span {
  display: grid; place-items: center; height: 48px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-paper);
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--c-ink); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.picker__choice:hover span { border-color: var(--c-brand); }
.picker__choice input:checked + span { border-color: var(--c-brand-dark); background: var(--c-brand-dark); color: var(--c-on-brand); }
.picker__choice input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.picker__go { width: 100%; min-height: 56px; font-size: 17px; }
.picker__line { font-size: 14px; color: var(--c-ink-soft); text-align: center; }

/* ---------- the free plan tour (kit tour): numbered tabs, the stage over footage ---------- */
.tour { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: calc(var(--radius-l) + 8px); background: var(--c-paper); box-shadow: 0 40px 80px -40px rgb(var(--c-night-rgb) / .55); }
.tour__tabs { display: grid; align-content: start; gap: 6px; padding: 12px; }
.tour__tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 18px 22px; overflow: hidden;
  border: 0; border-radius: var(--radius-m); background: transparent; color: var(--c-ink); text-align: left; cursor: pointer; font: inherit;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.tour__tab:hover { background: var(--c-paper-alt); }
.tour__tab[aria-selected="true"] { background: var(--c-paper-alt); }
.tour__num { grid-row: 1 / span 2; font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--c-ink-soft); padding-top: 2px; }
.tour__tab[aria-selected="true"] .tour__num { color: var(--c-brand-text); }
.tour__name { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tour__text { font-size: 15px; line-height: 1.45; color: var(--c-ink-soft); }
.tour__fill { position: absolute; left: 18px; right: 18px; bottom: 10px; height: 3px; border-radius: 3px; background: var(--c-line); opacity: 0; }
.tour__fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--c-brand); transform-origin: left; transform: scaleX(var(--kit-fill, 0)); }
.tour__tab[aria-selected="true"] .tour__fill { opacity: 1; }
[data-kit-tabs]:not([data-kit-on]) .tour__tab[aria-selected="true"] .tour__fill::after { transform: scaleX(1); }
.tour__stage { position: relative; min-height: clamp(470px, 40vw, 540px); border-radius: calc(var(--radius-l) - 2px); overflow: hidden; background: var(--c-ink); isolation: isolate; }
.tour__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tour__stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--c-shade) / .18), rgb(var(--c-shade) / .34)); pointer-events: none; }
.tour__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; box-sizing: border-box; }
.tour__panel:focus-visible { outline-offset: -6px; }
.tour__scene { width: 100%; max-width: 560px; }
.tour__stop { top: 16px; right: 16px; }
@media (max-width: 899px) {
  .tour { grid-template-columns: 1fr; padding: 6px; border-radius: calc(var(--radius-l) + 6px); }
  .tour__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px 6px 0; gap: 4px; }
  .tour__tab { grid-template-columns: 1fr; padding: 12px 10px 16px; }
  .tour__num { grid-row: auto; font-size: 13px; }
  .tour__name { font-size: 15px; }
  .tour__text { display: none; }
  .tour__fill { left: 10px; right: 10px; bottom: 7px; }
  .tour__stage { min-height: 520px; }
  .tour__panel { padding: 64px 12px 16px; align-items: start; }
}

/* ---------- the three steps, lit by a chat (kit chat) ---------- */
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.steps__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0 26px; border-bottom: 1px solid var(--c-line); transition: opacity var(--dur-med) var(--ease-out); }
.steps__num { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--c-line); line-height: 1.3; transition: color var(--dur-med) var(--ease-out); }
.steps__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-h3); letter-spacing: -0.02em; }
.steps__body p { margin-top: 8px; color: var(--c-ink-soft); max-width: 520px; }
.steps[data-kit-phases] .steps__item:not([aria-current="step"]) { opacity: .85; } /* still AA: its line about 4.9:1 on white */
.steps[data-kit-phases] .steps__item:not([aria-current="step"]) .steps__title { color: var(--c-ink-soft); }
.steps__item[aria-current="step"] .steps__num { color: var(--c-brand-text); }
@media (prefers-reduced-motion: reduce) { .steps[data-kit-phases] .steps__item:not([aria-current="step"]) { opacity: 1; } }

/* The phone that holds the chat: drawn in the site's look. */
.phone { position: relative; width: 300px; height: 600px; padding: 10px; box-sizing: border-box; border-radius: 46px; background: var(--c-ink); box-shadow: 0 0 0 1px rgb(var(--c-paper-rgb) / .08) inset, var(--shadow-l); }
.phone__screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: var(--c-paper); }
.chat { display: flex; flex-direction: column; height: 100%; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; border-bottom: 1px solid var(--c-line); background: var(--c-paper); }
.chat__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-brand-dark); color: var(--c-on-brand); font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.chat__who { display: grid; gap: 1px; font-size: 13px; line-height: 1.25; }
.chat__who b { font-family: var(--font-ui); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.chat__who span { color: var(--c-ink-soft); }
.chat__log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px 18px; overflow: hidden; background: var(--c-paper-alt); }
.msg {
  max-width: 86%; margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.38; box-sizing: border-box;
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px));
}
.msg:not([data-kit-on]) { display: none; }
.chat:not([data-kit-on]) .msg, .chat:not([data-kit-on]) .msg:not([data-kit-on]) { display: block; }
.chat:not([data-kit-on]) .msg--typing { display: none; }
.msg--bot { align-self: flex-start; background: var(--c-paper); color: var(--c-ink); border-bottom-left-radius: 6px; box-shadow: var(--shadow-s); }
.msg--me { align-self: flex-end; background: var(--c-brand-dark); color: var(--c-on-brand); border-bottom-right-radius: 6px; }
.msg--chips { align-self: flex-start; display: flex; gap: 6px; padding: 0; background: none; }
.msg--chips span { display: grid; place-items: center; min-width: 44px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-paper); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.msg--chips span[data-kit-on] { border-color: var(--c-brand-dark); background: var(--c-brand-dark); color: var(--c-on-brand); }
.msg--typing { display: flex; gap: 4px; align-self: flex-start; padding: 13px 14px; background: var(--c-paper); border-bottom-left-radius: 6px; box-shadow: var(--shadow-s); }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); opacity: .5; animation: typing 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: .9; } }
.msg--check { display: grid; gap: 8px; min-width: 70%; font-weight: 600; }
.msg__bar { display: block; height: 6px; border-radius: 6px; background: var(--c-brand-light); overflow: hidden; position: relative; }
.msg__bar::after { content: ''; position: absolute; inset: 0; background: var(--c-brand); transform-origin: left; transform: scaleX(var(--kit-fill, 1)); border-radius: inherit; }
.msg--result { align-self: stretch; max-width: none; display: grid; gap: 2px; padding: 14px 14px 12px; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--shadow-m); }
.msg__small { font-size: 13px; color: var(--c-ink-soft); }
.msg__big { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--c-ink); }
.msg__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 44px; margin: 10px 0 8px; }
.msg__bars i { display: block; height: calc(var(--v) * 100%); border-radius: 3px 3px 1px 1px; background: var(--c-violet); }
.msg__bars i.is-setup { background: var(--c-line); }
.msg__from { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-ink-soft); }
.msg__from b { color: var(--c-ink); font-weight: 600; }
.chat[data-kit-on] { opacity: calc(1 - var(--kit-out, 0)); }

/* ---------- one wide stage, four chapters (kit tour): the outcomes ---------- */
.stage { display: grid; gap: 14px; }
.stage__screen { position: relative; order: -1; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); isolation: isolate; }
.stage__panel { position: absolute; inset: 0; }
.stage__panel:focus-visible { outline-offset: -6px; }
.stage__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stage__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--c-shade) / .78) 0%, rgb(var(--c-shade) / .25) 32%, rgb(var(--c-shade) / 0) 52%); pointer-events: none; }
.stage__scene { position: absolute; top: clamp(18px, 3.4vw, 44px); width: min(360px, 44%); }
.stage__panel--left .stage__scene { left: clamp(18px, 3.4vw, 44px); }
.stage__panel--right .stage__scene { right: clamp(18px, 3.4vw, 44px); }
.stage__line { position: absolute; left: clamp(20px, 3.4vw, 44px); bottom: clamp(20px, 3vw, 40px); max-width: min(560px, 60%); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.5; color: var(--c-on-brand); text-shadow: 0 1px 12px rgb(var(--c-shade) / .6); }
.stage__stop { right: 16px; bottom: 16px; }
.stage__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chapter {
  position: relative; display: flex; align-items: baseline; gap: 12px; min-height: 64px; padding: 16px 18px 20px; overflow: hidden; box-sizing: border-box;
  border: 1px solid rgb(var(--c-paper-rgb) / .12); border-radius: var(--radius-m); background: rgb(var(--c-paper-rgb) / .04); color: var(--c-on-dark-soft);
  font: inherit; text-align: left; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.chapter:hover { background: rgb(var(--c-paper-rgb) / .08); color: var(--c-on-brand); }
.chapter[aria-selected="true"] { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.chapter__num { font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.chapter[aria-selected="true"] .chapter__num { color: var(--c-brand-text); }
.chapter__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.chapter__fill { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--c-line); opacity: 0; }
.chapter__fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--c-brand); transform-origin: left; transform: scaleX(var(--kit-fill, 0)); }
.chapter[aria-selected="true"] .chapter__fill { opacity: 1; }
[data-kit-tabs]:not([data-kit-on]) .chapter[aria-selected="true"] .chapter__fill::after { transform: scaleX(1); }
@media (max-width: 899px) {
  .stage__screen { aspect-ratio: 3 / 4; }
  .stage__scene, .stage__panel--left .stage__scene, .stage__panel--right .stage__scene { top: auto; left: 50%; right: auto; bottom: 108px; width: min(340px, calc(100% - 28px)); transform: translateX(-50%); }
  .stage__shade { background: linear-gradient(0deg, rgb(var(--c-shade) / .88) 0%, rgb(var(--c-shade) / .55) 26%, rgb(var(--c-shade) / 0) 48%); }
  .stage__line { left: 16px; right: 16px; bottom: 16px; max-width: none; font-size: 15px; }
  .stage__stop { top: 12px; right: 12px; bottom: auto; }
  .stage__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .chapter { min-height: 56px; padding: 12px 12px 16px; gap: 8px; }
  .chapter__title { font-size: 15px; }
}

/* ---------- compare (kit compare): drag the line ---------- */
.compare { position: relative; aspect-ratio: 16 / 8.6; border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; isolation: isolate; }
.compare__side { position: absolute; inset: 0; }
/* each side is its own layer, this agency's over the usual one: the line uncovers one and covers the other, cards and
   tags included, so with the line at either end only that one side shows */
.compare__side.before { z-index: 1; }
.compare__side.after { z-index: 2; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before .compare__img { filter: grayscale(1) contrast(.92) brightness(.9); }
.before::after { content: ''; position: absolute; inset: 0; background: rgb(var(--c-shade) / .32); }
.after { clip-path: inset(0 0 0 calc(var(--kit-v, .5) * 100%)); }
.compare__img--after { transform: scaleX(-1); object-position: 30% 50%; }
.after::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--c-shade) / .3), rgb(var(--c-shade) / 0) 50%); }
.compare__tag { position: absolute; z-index: 2; top: 22px; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-family: var(--font-ui); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.before .compare__tag { left: 22px; background: rgb(var(--c-paper-rgb) / .92); color: var(--c-ink-soft); }
.after .compare__tag { right: 22px; background: var(--c-brand-dark); color: var(--c-on-brand); }
.compare__cards { position: absolute; z-index: 2; bottom: 24px; display: grid; gap: 10px; width: min(280px, calc(50% - 48px)); }
.before .compare__cards { left: 24px; }
.after .compare__cards { right: 24px; }
.compare__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible ~ .handle .handle__knob { outline: 3px solid var(--c-paper); outline-offset: 3px; }
.handle { --_knob: 27px; --_hint: 44px; --_y: clamp(72px, 20%, 140px); position: absolute; z-index: 4; inset: 0; pointer-events: none; } /* the line goes to the very edge; its knob and hint stay whole inside the box */
.handle__line { position: absolute; top: 0; bottom: 0; left: calc(var(--kit-v, .5) * 100% - 1px); width: 2px; background: var(--c-paper); box-shadow: 0 0 18px rgb(var(--c-shade) / .5); }
.handle__knob { position: absolute; top: var(--_y); left: clamp(var(--_knob), var(--kit-v, .5) * 100%, 100% - var(--_knob)); display: grid; place-items: center; width: 54px; height: 38px; transform: translate(-50%, -50%); border-radius: 999px; background: var(--c-paper); color: var(--c-brand-dark); box-shadow: var(--shadow-l); }
.handle__hint { position: absolute; top: calc(var(--_y) + 30px); left: clamp(var(--_hint), var(--kit-v, .5) * 100%, 100% - var(--_hint)); transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgb(var(--c-shade) / .72); color: var(--c-on-brand); font-family: var(--font-ui); font-size: 13px; font-weight: 600; white-space: nowrap; transition: opacity var(--dur-med) var(--ease-out); }
[data-dragged] .handle__hint { opacity: 0; } /* the hint stays until the line is really moved (home.js) */
@media (max-width: 759px) {
  .compare { aspect-ratio: 4 / 5.2; }
  .compare__img--after { object-position: 12% 50%; }
  .compare__tag { top: 12px; height: 30px; padding: 0 10px; font-size: 12px; }
  .before .compare__tag { left: 10px; }
  .after .compare__tag { right: 10px; }
  .compare__cards { bottom: 12px; width: calc(50% - 22px); gap: 8px; }
  .before .compare__cards { left: 10px; }
  .after .compare__cards { right: 10px; }
  .handle { --_knob: 23px; --_hint: 38px; --_y: clamp(60px, 18%, 120px); }
  .handle__knob { width: 46px; height: 34px; }
  .handle__hint { top: calc(var(--_y) + 26px); }
}
/* the knob and its hint sit in a band near the top, above every card, at every width (kit.md): the box grows where
   the cards would reach that band, and the narrowest phones keep two cards a side (the promise under it says the third) */
@media (max-width: 1023px) and (min-width: 760px) { .compare { aspect-ratio: 16 / 11; } }
@media (max-width: 419px) {
  .compare { aspect-ratio: 10 / 14; }
  .compare__cards .mini--lock, .compare__cards .mini--free { display: none; }
}

/* the small cards on either side of the line */
.mini { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); font-size: 13px; line-height: 1.3; box-sizing: border-box; }
.mini b { font-family: var(--font-ui); font-size: 15px; font-weight: 700; line-height: 1.25; }
.mini__label, .mini__sub { color: var(--c-ink-soft); font-size: 13px; }
.mini__big { font-family: var(--font-display) !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.02em; }
.mini__flat { display: block; height: 22px; margin: 2px 0; background: linear-gradient(transparent 14px, var(--c-line) 14px, var(--c-line) 16px, transparent 16px); }
.mini--miss, .mini--booked { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.mini--miss > span:last-child, .mini--booked > span:last-child { display: grid; gap: 2px; }
.mini__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-alert); box-shadow: 0 0 0 4px rgb(var(--c-alert-rgb) / .15); }
.mini--lock b { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--c-ink-soft); }
.mini__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 30px; margin-top: 4px; }
.mini__bars i { display: block; height: calc(var(--v) * 100%); border-radius: 2px 2px 1px 1px; background: var(--c-violet); }
.mini__check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-dark); }
.mini--free b { color: var(--c-brand-text); }
@media (max-width: 759px) {
  .mini { padding: 9px 10px; }
  .mini b { font-size: 13px; }
  .mini__big { font-size: 18px !important; }
  .mini__label, .mini__sub { font-size: 12px; }
  .mini--miss, .mini--booked { grid-template-columns: 1fr; gap: 6px; }
  .mini__check { width: 26px; height: 26px; }
}

/* the four short promises under it */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--radius-m); background: var(--c-paper-alt); font-weight: 600; font-size: 15px; line-height: 1.3; }
.promises svg { flex: none; color: var(--c-brand-dark); }
@media (max-width: 899px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .promises { grid-template-columns: 1fr; } }

/* ---------- the gallery: photo tiles that open the chat ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin: 0; padding: 0; list-style: none; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; background: var(--c-paper-alt); color: var(--c-on-brand); text-decoration: none; isolation: isolate; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--c-shade) / .82) 0%, rgb(var(--c-shade) / .35) 30%, rgb(var(--c-shade) / 0) 55%); }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.04); }
.tile__text { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(16px, 2vw, 26px); }
.tile__name { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.tile__fields { font-size: clamp(.875rem, .84rem + .2vw, 1rem); line-height: 1.4; color: rgb(var(--c-paper-rgb) / .9); }
.tile:focus-visible { outline-offset: 4px; }
@media (max-width: 759px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile__text { padding: 12px; } }
.many { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(10px, 1.4vw, 18px); padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); border-radius: var(--radius-m); background: var(--c-brand-light); }
.many__title { font-size: var(--fs-h3); }
.many__text p { margin-top: 6px; color: var(--c-ink-soft); }

/* ---------- questions (details[data-faq]) ---------- */
.faq-list { border-top: 1px solid var(--c-line); }
.faq { border-bottom: 1px solid var(--c-line); }
.faq__q { position: relative; display: block; padding: 22px 52px 22px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--c-paper-alt); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--c-ink); transition: transform var(--dur-fast) var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0); }
.faq__q:hover .faq__icon { background: var(--c-brand-light); }
.faq__a { padding: 0 52px 24px 0; color: var(--c-ink-soft); max-width: 680px; }

/* ---------- the closing band: footage, a shade behind the words, the picker ---------- */
.close-band { padding: 12px; }
.close-band__frame { position: relative; min-height: clamp(560px, 62vw, 720px); border-radius: var(--radius-l); overflow: hidden; background: var(--c-navy); isolation: isolate; display: flex; align-items: center; }
.close-band__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.close-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--c-shade) / .86) 0%, rgb(var(--c-shade) / .7) 38%, rgb(var(--c-shade) / .12) 70%, rgb(var(--c-shade) / 0) 100%); }
.close-band__copy { width: min(540px, 100%); margin-left: max(var(--gutter), calc((100% - var(--max-w)) / 2)); padding: 48px 0; color: var(--c-on-brand); }
.close-band__copy h2 { font-size: var(--fs-h2); color: var(--c-on-brand); }
.close-band__copy > p { margin: 16px 0 28px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--c-on-brand); max-width: 460px; }
.close-band__stop { right: 20px; bottom: 20px; }
@media (max-width: 759px) {
  .close-band { padding: 8px; }
  .close-band__frame { min-height: 0; align-items: flex-end; border-radius: var(--radius-m); }
  .close-band__shade { background: linear-gradient(0deg, rgb(var(--c-shade) / .92) 0%, rgb(var(--c-shade) / .78) 55%, rgb(var(--c-shade) / .2) 85%); }
  .close-band__copy { margin: 0; padding: 200px 16px 16px; }
  .close-band__stop { top: 12px; right: 12px; bottom: auto; }
}

/* ---------- the footer: near-black, lit by a blue glow at its top edge ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--c-night); color: var(--c-on-dark-soft); }
.site-footer::before { content: ''; position: absolute; left: 50%; top: -220px; width: 1100px; height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(var(--c-brand-rgb) / .5), rgb(var(--c-brand-rgb) / 0)); pointer-events: none; }
.site-footer__in { position: relative; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--gutter) 32px; box-sizing: border-box; }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgb(var(--c-paper-rgb) / .1); }
body:has(.close-band) .site-footer__cta { display: none; } /* a page that ends on its closing band does not ask again right under it */
.site-footer__ask { max-width: 640px; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--c-on-brand); text-wrap: balance; }
.site-footer__go { display: grid; justify-items: start; gap: 10px; }
.site-footer__note { font-size: 14px; color: var(--c-on-dark-soft); }
.site-footer__main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 40px 0; }
.site-footer__logo { display: inline-flex; } /* so its focus ring wraps the logo */
.site-footer__logo img { display: block; height: 30px; width: auto; }
.site-footer__line { margin-top: 16px; max-width: 360px; font-size: 15px; }
.site-footer__col ul { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.site-footer__col a, .site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; color: var(--c-on-brand); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-footer__col a:hover, .site-footer__legal a:hover { background: rgb(var(--c-paper-rgb) / .08); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgb(var(--c-paper-rgb) / .1); font-size: 14px; }
.site-footer__legal ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { font-size: 14px; color: var(--c-on-dark-soft); }
@media (max-width: 759px) { .site-footer__col a { padding: 0 12px 0 0; } }

/* ---------- the exit popup ---------- */
.exit { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--radius-l); background: transparent; overflow: visible; }
.exit::backdrop { background: rgb(var(--c-night-rgb) / .62); }
.exit__in { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-l); opacity: 0; transform: translateY(12px) scale(.98); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.exit[data-kit-on] .exit__in { opacity: 1; transform: none; }
.exit__top { padding: 34px 34px 26px; background: var(--c-band); color: var(--c-on-brand); }
.exit__headline { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); color: var(--c-on-brand); padding-right: 40px; }
.exit__line { margin-top: 10px; font-size: 16px; color: var(--c-on-brand); }
.exit__chart { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 5px; height: 64px; margin: 22px 0 0; }
.exit__bar { position: relative; display: block; height: calc(var(--v, .12) * 100%); border-radius: 4px 4px 2px 2px; background: var(--c-paper); }
.exit__bar--setup { height: 12%; background: rgb(var(--c-paper-rgb) / .35); }
.exit__setup { position: absolute; left: 0; bottom: calc(100% + 6px); font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--c-on-brand); }
.picker--exit { border-radius: 0; box-shadow: none; padding: 26px 34px 30px; }
.exit__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(var(--c-paper-rgb) / .16); color: var(--c-on-brand); cursor: pointer; }
.exit__close:hover { background: rgb(var(--c-paper-rgb) / .26); }
html[data-kit-modal] { overflow: hidden; }

/* ---------- the call bar on the phone ---------- */
.callbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: var(--c-paper); box-shadow: 0 12px 36px -8px rgb(var(--c-night-rgb) / .35), 0 0 0 1px rgb(var(--c-ink-rgb) / .06); transform: translateY(140%); transition: transform var(--dur-med) var(--ease-out); }
.callbar[data-kit-on] { transform: none; }
.callbar__cta { flex: 1; min-height: 48px; padding: 0 18px; font-size: 16px; }
.callbar__message { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--c-brand-text); text-decoration: none; white-space: nowrap; }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- the thank-you and 404 pages ---------- */
.not-found { max-width: 720px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--gutter); }
/* the thank-you page: its words beside a photo of owners at their work */
.thanks { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter); box-sizing: border-box; }
.thanks__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; background: var(--c-paper-alt); box-shadow: var(--shadow-m); }
.thanks__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 899px) { .thanks { grid-template-columns: minmax(0, 1fr); gap: 36px; } .thanks__photo { aspect-ratio: 4 / 3; } }
.thanks__headline, .not-found__headline { font-size: var(--fs-h1); }
.thanks__body, .not-found__body { margin-top: 20px; font-size: 1.2rem; color: var(--c-ink-soft); }
.thanks__next { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.thanks__next li:not(:first-child) a { display: inline-flex; align-items: center; min-height: 52px; font-weight: 600; }

/* ---------- Part 2: what the other pages share (built first on Services) ---------- */

/* The closing band's clip reaches 1 px past its frame (kit.md, Video); the approved home page keeps its own rule. */
body:not(.page-home) .close-band__clip { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; }

/* What a part includes: each item its name and one line, a small stadium for its bullet. */
.items { display: grid; gap: 18px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.items--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items__item { position: relative; display: grid; gap: 4px; padding-left: 30px; }
.items__item::before { content: ''; position: absolute; left: 0; top: .52em; width: 18px; height: 9px; border-radius: 999px; background: var(--c-brand); }
.items__name { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--c-ink); }
.items__line { font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink-soft); }
.items--on-dark .items__item::before { background: var(--c-sky); }
.items--on-dark .items__name { color: var(--c-on-brand); }
.items--on-dark .items__line { color: var(--c-on-dark-soft); }
@media (max-width: 640px) { .items--two { grid-template-columns: minmax(0, 1fr); } }

/* A rounded frame of footage or a photo, a scene or cards laid over its face-free side; its picture reaches 1 px past it. */
.media-frame { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); background: var(--c-paper-alt); }
.media-frame > video, .media-frame > img, .media-frame > .media-frame__media { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; z-index: -1; }
.media-frame > .stop { right: 16px; bottom: 16px; }

/* The designed ground (designer\rules.md): the cool grey, or the navy band, with one large stadium of light behind the
   part's picture; never a flat fill alone. */
.ground { position: relative; isolation: isolate; overflow: clip; padding: var(--section-y) 0; background: var(--c-paper-alt); }
.ground::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 54%; width: min(1480px, 118vw); aspect-ratio: 2.4; transform: translate(-50%, -50%); border-radius: 999px; background: radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--c-brand) 15%, var(--c-paper-alt)), color-mix(in srgb, var(--c-brand) 6%, var(--c-paper-alt)) 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-brand) 16%, transparent); }
.ground--navy { background: var(--c-navy); color: var(--c-on-brand); }
.ground--navy::before { background: radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--c-sky) 17%, var(--c-navy)), color-mix(in srgb, var(--c-sky) 6%, var(--c-navy)) 72%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-sky) 22%, transparent); }
@media (max-width: 760px) { .ground::before { width: 96vw; aspect-ratio: .62; top: 56%; } }
