/* design\components.css: the CSS of the components in design\components.md, the director's: the header, the footer,
   the call bar, the stop icon, and each section pattern, card, chip 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. */

/* ---------- the motif: the logo's four-point sparkle, drawn anew, filled with the blue-to-teal gradient ---------- */
.sparkle { display: inline-block; flex: none; width: 16px; aspect-ratio: 1; background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tick { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-accent-text); }
.tick svg { width: 20px; height: 20px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--arrow { width: 1.05em; height: 1.05em; transition: transform var(--dur-fast) var(--ease-out); }
.logo { display: block; height: auto; mix-blend-mode: multiply; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: var(--fw-semi) 1rem/1.2 var(--font-ui); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(3px); }
.btn--primary { background: var(--c-brand); color: var(--c-on-brand); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 22px -8px color-mix(in srgb, var(--c-brand) 70%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--c-brand) 88%, var(--c-accent)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 28px -8px color-mix(in srgb, var(--c-brand) 80%, transparent); }
.btn--outline { background: var(--c-paper); color: var(--c-ink); border-color: color-mix(in srgb, var(--c-ink) 22%, transparent); }
.btn--outline:hover { border-color: var(--c-brand); color: var(--c-brand-text); }
.btn--quiet { min-height: 48px; padding: 0 14px; background: transparent; color: var(--c-ink); }
.btn--quiet .ico { color: var(--c-accent-text); width: 1.3em; height: 1.3em; }
.btn--quiet:hover { background: var(--c-brand-light); }
.btn--light { background: color-mix(in srgb, var(--c-on-ink) 10%, transparent); color: var(--c-on-ink); border-color: color-mix(in srgb, var(--c-on-ink) 30%, transparent); }
.btn--light .ico { color: var(--c-accent-on-ink); width: 1.3em; height: 1.3em; }
.btn--light:hover { background: color-mix(in srgb, var(--c-on-ink) 18%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: var(--fw-semi) var(--fs-ui)/1.3 var(--font-ui); color: var(--c-brand-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ico--arrow { transform: translateX(3px); }

/* the call-to-action row: the main button, WhatsApp, and the line that takes away the fear */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: var(--space-5); }
.cta-row__line { flex-basis: 100%; font-size: var(--fs-small); color: var(--c-ink-soft); }
.cta-row--center { justify-content: center; text-align: center; }
.cta-row--on-ink .cta-row__line { color: color-mix(in srgb, var(--c-on-ink) 78%, transparent); }

/* ---------- chips and the reply bubble (the discovery card's routes) ---------- */
.chip { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper);
  font: var(--fw-semi) var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink); text-align: left; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.chip::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c-ink) 28%, transparent); background: var(--c-paper); transition: inherit; }
.chip:hover { border-color: color-mix(in srgb, var(--c-brand) 55%, var(--c-line)); }
.chip[aria-pressed="true"] { border-color: var(--c-brand); background: var(--c-brand-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 16%, transparent); }
.chip[aria-pressed="true"]::before { border-color: var(--c-brand-dark); background: radial-gradient(circle, var(--c-brand-dark) 0 4px, var(--c-paper) 4.5px); }
.bubble { position: relative; display: grid; gap: 8px; padding: 14px 16px; border-radius: 4px var(--radius-m) var(--radius-m) var(--radius-m); background: var(--c-brand-light); color: var(--c-ink); font-size: var(--fs-small); line-height: 1.5;
  animation: bubble-in var(--dur-med) var(--ease-out) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }

/* ---------- the site header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: var(--space-4); height: 76px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--c-paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); }
.site-header__logo { display: block; flex: none; margin-right: auto; }
.site-header__logo .logo { width: 196px; }
.site-header__nav .nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header__nav a { display: block; padding: 10px 14px; border-radius: var(--radius-pill); font: var(--fw-semi) var(--fs-ui)/1.2 var(--font-ui); 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__nav a[data-planned] { opacity: 1; }
.site-header__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-on-brand);
  font: var(--fw-semi) var(--fs-ui)/1.2 var(--font-ui); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out); }
.site-header__cta:hover { background: color-mix(in srgb, var(--c-brand) 88%, var(--c-accent)); }
.site-header__menu { display: none; }
.site-header__langs { display: flex; gap: 6px; font: var(--fw-semi) 0.8125rem/1 var(--font-ui); }
.site-header__langs a, .site-header__langs span { padding: 6px 8px; border-radius: 8px; color: var(--c-ink-soft); text-decoration: none; }
.site-header__langs [aria-current] { color: var(--c-ink); background: var(--c-paper-alt); }
@media (max-width: 1080px) {
  .site-header { height: 64px; gap: var(--space-3); }
  .site-header__logo .logo { width: 156px; }
  .site-header__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-paper);
    font: var(--fw-semi) var(--fs-ui)/1 var(--font-ui); color: var(--c-ink); cursor: pointer; }
  .site-header__nav { position: fixed; inset: 64px 0 auto 0; display: none; padding: var(--space-3) var(--gutter) var(--space-4); 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; align-items: stretch; }
  .site-header__nav a { padding: 14px 12px; font-size: 1.0625rem; }
  .site-header__cta { min-height: 40px; padding: 0 16px; }
}
@media (max-width: 520px) {
  .site-header__logo .logo { width: 136px; }
  .site-header__cta { display: none; }
}

/* ---------- sections ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--alt { background: var(--c-paper-alt); }
.section--tint { background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-brand-light) 100%); }
.section__in { max-width: var(--max-w); margin-inline: auto; }
.section__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: var(--space-5); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__line { font-size: 1.125rem; line-height: 1.6; color: var(--c-ink-soft); max-width: 640px; }
/* the motif on the edges: a thin blue-to-teal line with a sparkle where two sections meet */
.section + .section:not(.section--alt):not(.section--tint)::before { content: none; }

/* ---------- glass card over footage (the header's field cards) ---------- */
.glass { background: color-mix(in srgb, var(--c-paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--c-paper) 70%, transparent); box-shadow: var(--shadow-l); }

/* ---------- the stop icon (h.stop) and the tours' stop (data-kit-tabs-stop) ---------- */
.stop { position: absolute; z-index: 6; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid color-mix(in srgb, var(--c-paper) 60%, transparent); border-radius: 50%;
  background: color-mix(in srgb, var(--c-ink) 42%, transparent); color: var(--c-paper); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out); }
.stop:hover { background: color-mix(in srgb, var(--c-ink) 62%, transparent); }
.stop svg { width: 18px; height: 18px; }
.tour-stop .stop__play { display: none; }
.tour-stop[aria-pressed="true"] .stop__play { display: block; }
.tour-stop[aria-pressed="true"] .stop__pause { display: none; }

/* ---------- the FAQ ---------- */
details[data-faq] { border-bottom: 1px solid var(--c-line); }
details[data-faq] > summary { position: relative; display: block; padding: 22px 48px 22px 0; font: var(--fw-semi) 1.125rem/1.4 var(--font-text); color: var(--c-ink); cursor: pointer; list-style: none; }
details[data-faq] > summary::-webkit-details-marker { display: none; }
details[data-faq] > summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--c-brand-light)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%230369A1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform var(--dur-med) var(--ease-out); }
details[data-faq][open] > summary::after { transform: rotate(180deg); }
details[data-faq] > p { padding: 0 48px 24px 0; color: var(--c-ink-soft); }

/* ---------- the footer ---------- */
.site-footer { padding: var(--space-6) var(--gutter) var(--space-4); background: var(--c-paper-alt); border-top: 1px solid var(--c-line); font-size: var(--fs-small); }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--space-5); max-width: var(--max-w); margin-inline: auto; }
.site-footer__logo .logo { width: 200px; }
.site-footer__line { margin-top: var(--space-3); max-width: 420px; color: var(--c-ink-soft); line-height: 1.6; }
.site-footer__title { margin-bottom: 12px; font: var(--fw-semi) var(--fs-ui)/1.2 var(--font-ui); color: var(--c-ink); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer a { display: inline-block; padding: 6px 0; color: var(--c-ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--c-brand-text); text-decoration: underline; }
.site-footer__contact { display: grid; align-content: start; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px var(--space-4); max-width: var(--max-w); margin: var(--space-5) auto 0; padding-top: var(--space-4); border-top: 1px solid var(--c-line); color: var(--c-ink-soft); }
.site-footer__legal ul { display: flex; gap: var(--space-3); margin-left: auto; }
.site-footer__steps { font-weight: var(--fw-semi); color: var(--c-ink); }
@media (max-width: 900px) {
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal ul { margin-left: 0; }
}
@media (max-width: 520px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ---------- the call bar on the phone ---------- */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--c-paper) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-l); border: 1px solid var(--c-line);
  transform: translateY(140%); transition: transform var(--dur-med) var(--ease-out), visibility 0s var(--dur-med); }
.callbar[data-kit-on] { transform: none; transition: transform var(--dur-med) var(--ease-out); }
.callbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius-pill); font: var(--fw-semi) var(--fs-ui)/1 var(--font-ui); text-decoration: none; }
.callbar__call { color: var(--c-ink); background: var(--c-brand-light); }
.callbar__ico { width: 20px; height: 20px; color: var(--c-accent-text); }
.callbar__cta { color: var(--c-on-brand); background: var(--c-brand); }
@media (min-width: 900px) { .callbar { display: none; } }

/* links to pages not built yet (Part 1): they show, quietly */
a[data-planned] { cursor: default; }

/* ---------- the thank-you page ---------- */
.thanks { display: grid; justify-items: center; gap: var(--space-3); max-width: 720px; margin: 0 auto; padding: calc(var(--section-y) * 1.2) var(--gutter); text-align: center; }
.thanks::before { content: ""; width: 44px; aspect-ratio: 1; background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.thanks__headline { font-size: var(--fs-h1); }
.thanks__body { max-width: 34em; font-size: 1.125rem; color: var(--c-ink-soft); }
.thanks__next { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.thanks__next a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill); font: var(--fw-semi) 1rem/1 var(--font-ui); text-decoration: none; border: 1.5px solid color-mix(in srgb, var(--c-ink) 22%, transparent); color: var(--c-ink); }
.thanks__next li:first-child a { background: var(--c-brand); border-color: transparent; color: var(--c-on-brand); }

/* ================= Part 2: the inner pages' patterns (design\components.md, "Inner pages"). New class names only:
   nothing here touches the home page's parts. ================= */

/* the designed ground: the paper, a soft sparkle-shaped Light Blue light, and the thin blue-to-teal line along the
   part's top edge with the sparkle at its head (ui.mjs groundMarks) */
.ground { position: relative; isolation: isolate; overflow: hidden; background: var(--c-paper); }
.ground::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(42% 52% at 88% 12%, color-mix(in srgb, var(--c-brand-light) 92%, transparent), transparent 72%),
    radial-gradient(34% 44% at 6% 92%, color-mix(in srgb, var(--c-accent) 8%, transparent), transparent 74%); }
.ground__light { position: absolute; z-index: -1; right: -6%; top: 8%; width: clamp(320px, 42vw, 640px); aspect-ratio: 1; pointer-events: none; opacity: 0.55;
  background: radial-gradient(closest-side, var(--c-brand-light), color-mix(in srgb, var(--c-brand-light) 40%, transparent) 70%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.6 5.4 11.4 12 12-6.6.6-11.4 5.4-12 12-.6-6.6-5.4-11.4-12-12C6.6 11.4 11.4 6.6 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ground__edge { position: absolute; z-index: -1; top: 0; left: max(var(--gutter), calc((100% - var(--max-w)) / 2)); right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-brand), var(--c-accent) 60%, transparent); opacity: 0.7; }
.ground__edge .sparkle { position: absolute; left: -8px; top: -7px; width: 18px; }

/* items inside a part's picture: each its name and one short line, a sparkle as its bullet */
.items { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.items li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink-soft); }
.items li .sparkle { width: 14px; margin-top: 4px; }
.items b { display: block; font-weight: var(--fw-semi); font-size: 1rem; color: var(--c-ink); }

/* the area card: a white card in a part's picture that names a group and lists its items */
.area-card { display: grid; gap: 16px; padding: 22px 24px; border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-m); }
.area-card__name { display: flex; align-items: center; gap: 12px; font: var(--fw-bold) 1.125rem/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--c-ink); }
.area-card__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand-light); }
.area-card__mark .sparkle { width: 18px; }

/* a chapter: the copy on the paper, its picture a panel bleeding to the page's edge, the scene in glass over its clear side */
.chapter { position: relative; padding: var(--section-y) 0; }
.chapter__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; gap: clamp(32px, 4.5vw, 72px); }
.chapter--media-right .chapter__in { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.chapter__media { position: relative; min-height: 640px; overflow: hidden; border-radius: 0 var(--radius-l) var(--radius-l) 0; background: var(--c-ink); box-shadow: var(--shadow-l); }
.chapter--media-right .chapter__media { order: 2; border-radius: var(--radius-l) 0 0 var(--radius-l); }
.chapter__media > video, .chapter__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.chapter__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chapter__media > .chapter__scene { position: absolute; z-index: 2; } /* two selectors deep: a scene's own root rule ([data-scene="x"]{position:relative}) comes later and would win over one class */
.chapter__copy { display: grid; gap: 18px; align-content: center; max-width: 470px; padding-left: var(--gutter); }
.chapter--media-left .chapter__copy { padding-left: 0; padding-right: var(--gutter); }
.chapter__copy .area-card { margin-top: 10px; }
.chapter .stop { top: 16px; right: 16px; }
.chapter--media-right .stop { right: auto; left: 16px; }
@media (max-width: 1000px) {
  .chapter { padding: calc(var(--section-y) * 0.75) 0; }
  .chapter__in, .chapter--media-right .chapter__in { grid-template-columns: 1fr; gap: var(--space-5); }
  .chapter__media, .chapter--media-right .chapter__media { order: 0; min-height: 560px; margin-inline: var(--gutter); border-radius: var(--radius-l); }
  .chapter__copy, .chapter--media-left .chapter__copy { max-width: 640px; padding-inline: var(--gutter); }
}

/* a framed part: a framed real photo with its scene in glass beside it, overlapping its edge */
.framed { position: relative; }
.framed__media { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-ink); box-shadow: var(--shadow-l); }
.framed__media > img, .framed__media > video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }

/* the close on footage: a full-width band, a light veil behind the centred words */
.close-foot { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 560px; padding: var(--section-y) var(--gutter); text-align: center; background: var(--c-ink); }
.close-foot__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.close-foot__media > video, .close-foot__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.close-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 64% at 50% 52%, color-mix(in srgb, var(--c-paper) 90%, transparent) 0%, color-mix(in srgb, var(--c-paper) 72%, transparent) 55%, color-mix(in srgb, var(--c-paper) 0%, transparent) 100%); }
.close-foot__copy { display: grid; justify-items: center; gap: 16px; max-width: 640px; }
.close-foot__copy h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.125rem); }
.close-foot__copy > p { font-size: 1.1875rem; line-height: 1.6; color: var(--c-ink-soft); }
.close-foot__copy .cta-row { justify-content: center; margin-top: var(--space-3); }
.close-foot .stop { top: 16px; right: 16px; }
@media (max-width: 760px) {
  .close-foot { min-height: 0; padding-block: calc(var(--section-y) * 1.1); }
  .close-foot::before { background: linear-gradient(180deg, color-mix(in srgb, var(--c-paper) 30%, transparent) 0%, color-mix(in srgb, var(--c-paper) 88%, transparent) 38%, color-mix(in srgb, var(--c-paper) 92%, transparent) 100%); }
}

/* the FAQ beside its head (inner pages; the home page keeps its own .faq) */
.qa__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.qa__head { position: sticky; top: 110px; display: grid; gap: 14px; justify-items: start; }
.qa__head .btn--quiet { margin-left: -14px; }
@media (max-width: 900px) { .qa__in { grid-template-columns: 1fr; } .qa__head { position: static; } }

/* the page's own index of its chapters, under the header (a page whose chapters are long) */
.page-index { position: sticky; top: 76px; z-index: 40; padding: 10px var(--gutter); background: color-mix(in srgb, var(--c-paper) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line); }
.page-index ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; max-width: var(--max-w); margin: 0 auto; padding: 0; list-style: none; }
.page-index a { position: relative; display: block; padding: 8px 14px; border-radius: var(--radius-pill); font: var(--fw-semi) 0.875rem/1.2 var(--font-ui); color: var(--c-ink-soft); text-decoration: none; }
.page-index a:hover { color: var(--c-ink); background: var(--c-paper-alt); }
.page-index a[aria-current="true"] { color: var(--c-ink); }
.page-index a[aria-current="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
@media (max-width: 1080px) { .page-index { top: 64px; } }
@media (max-width: 760px) { .page-index { display: none; } }

/* a card a kit sequence lands over a picture (data-kit-scene="sequence", data-kit-loop="hold"): glass, the sparkle
   glinting as it lands; the page places each one. Fade by --kit-in alone (kit.md, The hold). */
.seq-card { position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--c-paper) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--c-paper) 70%, transparent); box-shadow: var(--shadow-m);
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)) scale(calc(0.96 + var(--kit-in, 1) * 0.04)); }
.seq-card__mark { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c-brand-light); }
.seq-card__mark .sparkle { width: 18px; transform: rotate(calc((1 - var(--kit-in, 1)) * -90deg)) scale(calc(0.6 + var(--kit-in, 1) * 0.4)); }
.seq-card small { font: var(--fw-semi) 0.8125rem/1.2 var(--font-ui); color: var(--c-accent-text); }
.seq-card b { font: var(--fw-semi) 0.9375rem/1.3 var(--font-ui); color: var(--c-ink); }

/* the kit chat in a glass card (data-kit-scene="chat"): the owner's bubbles at the right, the agency's at the left,
   the chips, the typing dots; each message enters by --kit-in */
.kchat { display: grid; align-content: start; gap: 10px; width: min(380px, 100%); padding: 18px; border-radius: var(--radius-l);
  background: color-mix(in srgb, var(--c-paper) 88%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--c-paper) 70%, transparent); box-shadow: var(--shadow-l); font-family: var(--font-ui); }
.kchat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); font: var(--fw-semi) 0.9375rem/1.2 var(--font-ui); color: var(--c-ink); }
.kchat__head .seq-card__mark { width: 32px; height: 32px; border-radius: 10px; }
.kchat__head small { display: block; font-weight: var(--fw-regular, 400); font-size: 0.8125rem; color: var(--c-ink-soft); }
.kchat [data-kit-msg] { margin: 0; opacity: var(--kit-in, 0); transform: translateY(calc((1 - var(--kit-in, 0)) * 10px)); }
.kchat__me, .kchat__us { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.9375rem; line-height: 1.45; }
.kchat__me { justify-self: end; border-bottom-right-radius: 6px; background: var(--grad-brand); color: var(--c-on-brand); }
.kchat__us { justify-self: start; border-bottom-left-radius: 6px; background: var(--c-paper); color: var(--c-ink); box-shadow: 0 1px 3px rgba(11, 31, 59, 0.08); }
.kchat__typing { justify-self: start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--c-paper); }
.kchat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-soft); opacity: 0.5; }
.kchat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kchat__chips span { padding: 8px 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-line); background: var(--c-paper); font: var(--fw-semi) 0.875rem/1.2 var(--font-ui); color: var(--c-ink); }
.kchat__chips span[data-kit-on] { border-color: var(--c-brand); background: var(--c-brand-light); color: var(--c-brand-text); }
.kchat__done { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--c-brand-light); font: var(--fw-semi) 0.9375rem/1.3 var(--font-ui); color: var(--c-brand-text); }
.kchat__done .sparkle { width: 16px; }
