/* Calmcomet · shell from the Upstep site (MotionSites Web3 template: black, video under 50% black, General Sans,
 * layered glowing pills, a soft heading fill). Borrowed sections, each copied with its own CSS and mapped through the
 * token aliases: Stayput statement, why-now figure and pass; Brevlan pinned rail (as on Signalramp); Vigil/Brevlan
 * report stage and Collabmagic process cards (as on Vaultcomet); Collabmagic capability table. */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font-family: var(--font); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: var(--weight-medium); overflow-wrap: anywhere; }
a { color: inherit; }
button, output { font: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--space-4); top: var(--space-4); z-index: 30; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: #fff; color: #000; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* ---------- layout ---------- */
.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-10) 0; }
.section--edge { border-top: 1px solid var(--color-line); }
/* no divider right under the hero: the hero's black runs straight into the next section (user, #30) */
.hero + .section--edge { border-top: 0; }
.head { display: grid; gap: var(--space-5); margin-bottom: var(--space-8); }
.h2 { max-width: 20ch; font-size: var(--text-h2); line-height: 1.15; letter-spacing: var(--track-heading); text-wrap: balance; }
.lede { max-width: var(--measure); font-size: var(--text-lg); color: var(--color-ink-2); text-wrap: pretty; }

/* gradient-filled type (template). Section headings use a gentler stop so the last words stay readable. */
.grad { background: linear-gradient(144.5deg, #fff 50%, oklch(100% 0 0 / 0.72) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }

/* ---------- layered pill (template): thin white ring, a small gap, the inner pill, a light streak on the ring's top edge ---------- */
.lp { position: relative; display: inline-flex; padding: 3px; border: 0.6px solid oklch(100% 0 0 / 0.42); border-radius: var(--radius-pill); background: oklch(100% 0 0 / 0.03); color: inherit; cursor: pointer; isolation: isolate; transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.lp__in { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 11px 29px; border-radius: var(--radius-pill); background: #000; color: #fff; font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.4; white-space: nowrap; box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.14); transition: background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out); }
/* streak: a 1px highlight centred on the ring's top edge, with a soft bloom under it */
.lp__glow { position: absolute; z-index: 1; top: -1px; left: 50%; width: 46%; height: 1px; border-radius: var(--radius-pill); background: linear-gradient(90deg, transparent, #fff 50%, transparent); box-shadow: 0 0 10px 1px oklch(100% 0 0 / 0.35); transform: translateX(-50%); opacity: 0.9; pointer-events: none; transition: width var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out); }
.lp:hover { border-color: oklch(100% 0 0 / 0.75); }
.lp:hover .lp__glow { width: 72%; opacity: 1; }
.lp:hover .lp__in { background: oklch(17% 0 0); }
.lp:active { transform: scale(0.98); }
.lp:focus-visible { outline-offset: 4px; }
.lp--light .lp__in { background: #fff; color: #000; box-shadow: inset 0 -1px 0 oklch(0% 0 0 / 0.08); }
.lp--light:hover .lp__in { background: oklch(94% 0 0); }
.lp--sm { padding: 2.5px; }
.lp--sm .lp__in { padding: 9px 22px; }
.lp--block { width: 100%; }
.lp--block .lp__in { padding-top: 13px; padding-bottom: 13px; }
.lp[aria-busy="true"] { cursor: progress; opacity: 0.7; }

/* ---------- nav (template: 120px sides, 20px top/bottom; links hidden below md) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); border-bottom: 1px solid transparent; transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out); }
.nav.is-solid { background: oklch(0% 0 0 / 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--color-line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-5) clamp(20px, 8.3vw, 120px); }
.nav__left { display: flex; align-items: center; gap: var(--space-9); }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: #fff; font-size: 1.375rem; font-weight: var(--weight-semibold); letter-spacing: -0.03em; text-decoration: none; }
.brand__mark { width: 24px; height: 24px; }
.nav__links { display: none; gap: 30px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: var(--weight-medium); color: #fff; text-decoration: none; opacity: 0.9; transition: opacity var(--dur-fast) var(--ease-out); }
.nav__links a:hover { opacity: 1; }

/* ---------- hero (template) ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero__shade { position: absolute; inset: 0; background: var(--color-shade); }
.hero__body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 200px var(--space-5) 102px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px; border: 1px solid oklch(100% 0 0 / 0.2); border-radius: var(--radius-chip); background: var(--color-chip); font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: 1.4; color: #fff; }
.chip__dim { color: oklch(100% 0 0 / 0.6); }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.hero__title { max-width: 613px; font-size: var(--text-hero); font-weight: var(--weight-medium); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.hero__title span { display: block; }
.hero__sub { max-width: 680px; font-size: var(--text-md); font-weight: var(--weight-regular); color: oklch(100% 0 0 / 0.7); text-wrap: pretty; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.rise { animation: rise var(--dur-rise) var(--ease-out) both; }
.rise--1 { animation-delay: 120ms; }
.rise--2 { animation-delay: 240ms; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- shared panel ---------- */
.panel { display: grid; align-content: start; gap: var(--space-5); padding: var(--space-6); border: 1px solid var(--color-line-2); border-radius: var(--radius-card); background: var(--color-panel); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px var(--color-shadow); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.panel__title { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-3); border: 1px solid var(--color-line-2); border-radius: var(--radius-pill); font-size: var(--text-xxs); color: var(--color-ink-2); white-space: nowrap; }
.tag--accent { border-color: transparent; background: var(--color-accent-bg); color: var(--color-accent); font-weight: var(--weight-medium); }






/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.accordion { display: grid; gap: var(--space-3); }
.acc { border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-glass); }
.acc h3 { font-size: inherit; font-weight: inherit; }
.acc button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 60px; padding: var(--space-4) var(--space-5); border: 0; border-radius: var(--radius-md); background: none; font-weight: var(--weight-medium); text-align: left; color: #fff; cursor: pointer; }
.acc__icon { flex: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-med) var(--ease-out); }
.acc.is-open .acc__icon { transform: translateY(2px) rotate(-135deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; opacity: 1; }
.acc__inner { min-height: 0; overflow: hidden; }
.acc__panel p { padding: 0 var(--space-5) var(--space-5); color: var(--color-ink-2); }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding: var(--space-10) 0 0; border-top: 1px solid var(--color-line); color: var(--color-ink-2); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8) var(--space-6); }
.foot__brand { grid-column: 1 / -1; display: grid; gap: var(--space-5); justify-items: start; max-width: 26rem; }
.foot__col { display: grid; align-content: start; gap: var(--space-1); }
.foot__head { margin-bottom: var(--space-2); font-size: var(--text-xxs); font-weight: var(--weight-medium); letter-spacing: var(--track-label); text-transform: uppercase; color: #fff; }
.foot__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--text-sm); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.foot__col a:hover { color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-9); padding-top: var(--space-5); border-top: 1px solid var(--color-line); font-size: var(--text-xxs); color: var(--color-ink-3); }
.foot__word { margin: var(--space-7) 0 var(--space-9); font-size: clamp(2.5rem, calc((100vw - 80px) / 5.3), 13rem); font-weight: var(--weight-semibold); line-height: 0.9; white-space: nowrap; letter-spacing: -0.05em; text-align: center; background: linear-gradient(180deg, oklch(100% 0 0 / 0.14), oklch(100% 0 0 / 0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- dialog ---------- */
.waitlist { width: min(28rem, calc(100vw - var(--space-7))); max-width: none; padding: 0; border: 1px solid var(--color-line-2); border-radius: var(--radius-card); background: oklch(14% 0.01 235); color: #fff; box-shadow: 0 30px 80px -20px var(--color-shadow); }
.waitlist::backdrop { background: var(--color-scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.waitlist[open] { animation: rise var(--dur-med) var(--ease-out); }
.waitlist__form { position: relative; padding: var(--space-8) var(--space-6) var(--space-6); }
.waitlist__close { position: absolute; top: var(--space-3); right: var(--space-3); width: 40px; height: 40px; border: 0; border-radius: var(--radius-pill); background: var(--color-glass-2); font-size: var(--text-h3); line-height: 1; color: #fff; cursor: pointer; }
.waitlist__close:hover { background: var(--color-line-2); }
.waitlist__title { padding-right: var(--space-8); font-size: 1.75rem; letter-spacing: var(--track-heading); line-height: 1.15; }
.waitlist__desc { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-ink-2); }
.field { display: grid; gap: var(--space-2); margin-top: var(--space-6); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.field input { min-height: 50px; width: 100%; padding: var(--space-3) var(--space-5); border: 1px solid var(--color-line-2); border-radius: var(--radius-pill); background: var(--color-glass); font: inherit; font-size: var(--text-md); font-weight: var(--weight-regular); color: #fff; }
.field input::placeholder { color: var(--color-ink-3); }
.field input:focus { border-color: var(--color-ink-2); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__error { min-height: 2.4em; padding: var(--space-2) var(--space-2) 0; font-size: var(--text-sm); color: var(--color-error); }
.waitlist__fine { margin-top: var(--space-3); text-align: center; font-size: var(--text-sm); color: var(--color-ink-3); }
[data-step="done"] .waitlist__title::before { content: ""; display: block; width: 12px; height: 12px; margin-bottom: var(--space-4); border-radius: var(--radius-pill); background: var(--color-accent); box-shadow: 0 0 0 6px var(--color-accent-bg); }
[data-step="done"] .lp { margin-top: var(--space-7); }

/* ---------- ≥ 640 ---------- */
@media (min-width: 640px) {
  .shell { padding: 0 var(--space-8); }
  .section { padding: var(--space-11) 0; }
  .panel { padding: var(--space-7); }
}

/* ---------- ≥ 768 (md): nav links, real report table ---------- */
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .hero__body { padding-top: 280px; }
  .hero__title { max-width: none; }
  .hero__title span { white-space: nowrap; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav__left { gap: var(--space-7); }
  .nav__links { gap: var(--space-5); }
}

/* ---------- ≥ 1024 ---------- */
@media (min-width: 1024px) {
  .head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--space-9); margin-bottom: var(--space-9); }
  .head .lede { padding-bottom: var(--space-1); }
  .head .h2 { max-width: 24ch; }


  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-10); align-items: start; }
  .foot__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .say .w { opacity: 1; }
}

/* footer contact opens the waitlist form (no public email address: no domain is linked to this site yet) */
.foot__link { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--text-sm); color: inherit; cursor: pointer; text-align: left; transition: color var(--dur-fast) var(--ease-out); }
.foot__link:hover { color: #fff; }
.foot__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ---------- lucide icons (inlined by scripts/inline-icons.mjs) ---------- */
.ic { display: inline-block; flex: none; width: 18px; height: 18px; stroke-width: 1.75; vertical-align: -3px; }
.ic--sm { width: 15px; height: 15px; vertical-align: -2px; }

/* ---------- problem · Stayput statement, words light up on scroll ---------- */
.sec--say { padding-top: var(--s9); }
.sec--say .shell { display: flex; flex-direction: column; align-items: center; text-align: center; }
.say p { text-wrap: balance; }
.say { display: grid; gap: var(--s3); max-width: 860px; margin: var(--s6) auto 0; font-size: clamp(1.375rem, 0.95rem + 1.7vw, 2.25rem); font-weight: var(--weight-medium); line-height: 1.32; letter-spacing: -0.03em; }
.say p { text-wrap: pretty; }
.say .w { display: inline; transition: opacity 0.12s linear; }
.say .w.sc { display: inline-flex; }
.js .say .w { opacity: 0.16; }
.sc { display: inline-flex; align-items: center; gap: 0.32em; margin: 0 0.06em; padding: 0.06em 0.45em 0.08em 0.38em; border-radius: 0.32em; font-size: 0.86em; line-height: 1.25; vertical-align: 0.04em; white-space: nowrap; }
.sc .ic { width: 0.78em; height: 0.78em; stroke-width: 2.25; vertical-align: 0; }
.sc--blue { background: var(--color-accent-bg); color: var(--color-accent); }
.sc--grad { background: var(--grad); color: #001820; }
.sc--red { background: var(--color-find-bg); color: oklch(82% 0.1 25); }
.say__more { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s8); font-size: var(--text-md); color: var(--muted); text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 6px; transition: color var(--fast) var(--ease), text-decoration-color var(--fast) var(--ease); }
.say__more:hover { color: var(--text); text-decoration-color: var(--blue); }


/* ---------- why now · Stayput big figure + dated sources (figure shrunk as on #24/#25) ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
.why__fig { display: grid; align-content: start; gap: var(--s4); }
.why__num { font-size: clamp(5rem, 3.4rem + 6vw, 8.5rem); font-weight: var(--weight-medium); line-height: 0.85; letter-spacing: -0.05em; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why__cap { max-width: 20rem; font-size: var(--text-lg); color: var(--text-2); }
.why__main { display: grid; align-content: start; gap: var(--s4); }
.why__main .h2 { max-width: 20ch; margin-bottom: var(--s4); }
.src { border-top: 1px solid var(--stroke-2); }
.src__row { position: relative; display: grid; gap: var(--s2); padding: var(--s6) 0; border-bottom: 1px solid var(--stroke-2); text-decoration: none; }
.src__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); }
.src__title { font-size: 1.25rem; font-weight: var(--weight-medium); letter-spacing: -0.02em; transition: color var(--med) var(--ease); }
.src__note { max-width: 36rem; font-size: var(--text-sm); color: var(--muted); }

.why__num span { margin-left: 0.08em; font-size: 0.32em; letter-spacing: var(--track-heading); }

/* ---------- free scan · Brevlan scroll-pinned rail (as on Signalramp): tabs on the left, example card on the right ---------- */
.wx { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.wx__tabs { position: relative; display: grid; align-content: start; align-self: center; }
.wx__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--color-line); overflow: hidden; }
.wx__rail i { position: absolute; inset: 0; background: var(--color-accent); transform: scaleY(0); transform-origin: top; will-change: transform; }
.wt { position: relative; display: grid; gap: 2px; width: 100%; padding: var(--space-4) 0 var(--space-4) var(--space-6); border: 0; background: none; text-align: left; color: var(--color-ink-2); cursor: pointer; transition: border-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out); }
.wt:hover { color: var(--color-ink); }
.wt[aria-selected="true"] { color: var(--color-ink); }
.wt__name { font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--track-heading); }
.wt__desc { margin-top: 2px; font-size: var(--text-sm); color: var(--color-ink-2); opacity: 0.7; transition: opacity var(--dur-med) var(--ease-out); }
.wt[aria-selected="true"] .wt__desc { opacity: 1; }
.wx__stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 360px; padding: var(--space-7) var(--space-5); border: 1px solid var(--color-line); border-radius: 28px; background: radial-gradient(80% 90% at 50% 0%, var(--color-glow), transparent 70%), var(--color-bg-2); }
.wx__panes { position: relative; display: grid; width: 100%; max-width: 440px; }
.wp { grid-area: 1 / 1; opacity: 0; transition: opacity 600ms var(--ease-out); pointer-events: none; }
.wp.is-active { opacity: 1; pointer-events: auto; }
.alert { padding: var(--space-6); border: 1px solid var(--color-line-2); border-radius: var(--radius-card); background: var(--color-panel); box-shadow: 0 40px 80px -40px var(--color-shadow); }
.alert__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.alert__kind { padding: 1px var(--space-3); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.alert__kind--sig { background: var(--color-accent-bg); color: var(--color-accent); }
.alert__kind--plain { background: var(--color-glass-2); color: var(--color-ink); }
.alert__kind--skip { border: 1px solid var(--color-line-2); color: var(--color-ink-2); }
.alert__meta { font-size: var(--text-xs); color: var(--color-ink-2); }
.alert__title { margin-top: var(--space-4); font-size: var(--text-h3); font-weight: var(--weight-semibold); line-height: 1.25; letter-spacing: var(--track-heading); }
.alert__why { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-ink-2); }

/* finding kinds on the example cards */
.alert__kind--high { background: var(--color-find-bg); color: oklch(82% 0.1 25); }
.alert__kind--med { background: var(--color-warn-bg); color: var(--color-warn); }
.wt { font-family: inherit; }

/* rail on phones and tablets: a tighter list and a shorter card so the pinned block fits under the nav
   (no bottom padding: it held the old Example chip, which is gone) */
@media (max-width: 1023px) {
  .wx .wt { padding-top: var(--space-3); padding-bottom: var(--space-3); }
  .wx__stage { min-height: 280px; padding: var(--space-4); }
}
@media (min-width: 1024px) {
  .wx { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-10); align-items: stretch; }
  .wx__stage { min-height: 520px; }
}

/* ---------- example report · Vigil / Brevlan report stage (as on Vaultcomet) ---------- */
.stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: var(--space-9) var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg-2); }
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.msg { position: relative; width: 100%; max-width: 640px; padding: var(--space-5); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-panel); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px var(--color-shadow); }
.msg__head { display: flex; align-items: center; gap: var(--space-3); }
.msg__avatar { width: 36px; height: 36px; color: var(--color-ink); }
.msg__avatar svg { width: 36px; height: 36px; display: block; }
.msg__sum { margin-bottom: var(--space-1); }
.msg__who { display: grid; line-height: 1.25; }
.msg__who strong { font-weight: var(--weight-semibold); }
.msg__who span { font-size: var(--text-xs); color: var(--color-ink-2); }
.msg__tag { margin-left: auto; padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--color-glass-2); font-size: var(--text-xs); color: var(--color-ink-2); }
.msg__intro { margin: var(--space-4) 0 var(--space-3); color: var(--color-ink); }
.msg__items { display: grid; gap: var(--space-2); }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-3); align-items: start; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius-sm); transition: background-color var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out); }
.row__kind { min-width: 50px; margin-top: 2px; padding: 1px var(--space-2); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-semibold); text-align: center; }
.row__kind--stop { background: var(--color-find-bg); color: var(--color-find); }
.row__kind--scale { background: var(--color-ok-bg); color: var(--color-ok); }
.row__kind--fix { background: var(--color-accent-bg); color: var(--color-accent); }
.row__name { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1.35; }
.row__why { margin-top: 2px; font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink-2); }
/* ---------- report summary + item kinds ---------- */
.msg__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.msg__sum p { display: grid; gap: 2px; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--color-glass-2); }
.msg__sum strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: var(--weight-semibold); line-height: 1.1; letter-spacing: var(--track-heading); font-variant-numeric: tabular-nums; }
.msg__sum span { font-size: var(--text-xs); line-height: 1.3; color: var(--color-ink-2); }
.row__kind--old { background: var(--color-glass-2); color: var(--color-ink-2); }
.row__kind { min-width: 72px; white-space: nowrap; }
@media (max-width: 639px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .row__kind { justify-self: start; }
}
.stage__bg { opacity: 0.95; }
.stage .msg { max-width: 600px; }


/* ---------- deeper tests · Collabmagic process cards (as on Vaultcomet) ---------- */
.process { position: relative; overflow: hidden; }
.process__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--color-ink) 30%, var(--color-ink) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, var(--color-ink) 30%, var(--color-ink) 75%, transparent 100%);
}

.process__inner { position: relative; }
.process__head { margin-bottom: var(--space-11); }
.pcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.pcard {
  position: relative; display: flex; flex-direction: column; min-height: 220px; padding: var(--space-7);
  border-radius: var(--radius-lg); background: var(--color-frost); border: 1px solid var(--color-line-2);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); outline: none;
}
.pcard__badge { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--color-accent-bg); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.pcard__badge svg { width: 16px; height: 16px; fill: var(--color-accent); }
.pcard__title { margin-top: auto; padding-top: var(--space-7); font-family: var(--font); font-weight: var(--weight-medium); font-size: var(--text-h3); line-height: 1.1; transition: transform var(--dur-card) var(--ease-out); }
.pcard__list { display: grid; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-ink-2); transition: transform var(--dur-card) var(--ease-out); }
.pcard__list li { display: flex; align-items: flex-start; gap: var(--space-2); }
/* Lucide "check" as a mask, tinted with the brand green (no dot bullets) */
.pcard__list li::before { content: ""; width: 14px; height: 14px; margin-top: 0.2em; flex: none; background: var(--color-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 6 9 17l-5-5%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 6 9 17l-5-5%27/%3E%3C/svg%3E") center / contain no-repeat; }
.pcard__cta { margin-top: var(--space-5); align-self: stretch; }
@media (hover: hover) and (min-width: 1024px) {
  .pcard:hover .pcard__title, .pcard:focus-within .pcard__title, .pcard:hover .pcard__list, .pcard:focus-within .pcard__list { transform: translateY(-8px); }
}
@media (min-width: 640px) {
  .pcards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pcard { min-height: 260px; }
}
.pcard__badge .ic { width: 16px; height: 16px; color: var(--color-accent); }


/* ---------- compare · Collabmagic capability table (phone version from #29: stays a table, scrolls sideways) ---------- */
.ct { margin-top: 0; overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--r-lg); background: var(--surface); -webkit-overflow-scrolling: touch; }
.ct table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); }
.ct th, .ct td { padding: var(--s4) var(--s5); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-line); }
.ct tbody tr:last-child th, .ct tbody tr:last-child td { border-bottom: 0; }
.ct thead th { padding-top: var(--s6); padding-bottom: var(--s5); vertical-align: bottom; }
.ct__name { display: block; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--text); }
.ct__sub { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--muted); }
.ct tbody th { position: sticky; left: 0; z-index: 1; width: 26%; font-weight: var(--weight-medium); color: var(--text); background: var(--surface); }
.ct td { color: var(--text-2); }
.ct .ct__us { background: var(--color-accent-bg); color: var(--text); font-weight: var(--weight-medium); }
.ct thead .ct__us { position: relative; border-top: 2px solid var(--blue); }
.ct thead .ct__us .ct__sub { color: var(--blue); }
.ct__yes, .ct__no { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.ct__yes { border-radius: var(--r-pill); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%230a0a0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ct__no { position: relative; }
.ct__no::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: var(--stroke-2); }
.ct tbody tr:last-child td, .ct tbody tr:last-child th { font-weight: var(--weight-medium); color: var(--text); }
/* phones and tablets: the table stays a table (user, #29): compact cells, the whole table scrolls sideways */
@media (max-width: 899px) {
  .ct { border-radius: var(--r-md); }
  .ct table { min-width: 640px; font-size: 0.8125rem; line-height: 1.45; }
  .ct th, .ct td { padding: var(--s3) var(--s3); }
  .ct thead th { padding-top: var(--s4); padding-bottom: var(--s3); }
  .ct__name { font-size: var(--text-sm); }
  .ct__sub { font-size: 0.6875rem; }
  .ct tbody th { min-width: 120px; }
  .ct__yes { width: 16px; height: 16px; background-size: 12px; }
}
/* the whole table scrolls together: no pinned first column (user, #29) */
.ct tbody th { position: static; }


/* ---------- early access · Stayput perforated pass, full container width (as on #27/#29) ---------- */
.pass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 880px; margin: 0 auto; border: 1px solid var(--color-line-2); border-radius: var(--r-lg); background: radial-gradient(90% 140% at 0% 0%, var(--color-glow), transparent 60%), var(--surface); }
.pass__stub { position: relative; display: grid; align-content: center; gap: var(--s1); padding: var(--s7) var(--s6); border-bottom: 2px dashed var(--color-line-2); }
.pass__stub::before, .pass__stub::after { content: ""; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--color-line-2); }
.pass__stub::before { left: -13px; clip-path: inset(0 0 0 50%); }
.pass__stub::after { right: -13px; clip-path: inset(0 50% 0 0); }
.pass__kind { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--blue); }
.pass__big { font-size: clamp(1.85rem, 1.15rem + 1.4vw, 2.55rem); font-weight: var(--weight-medium); line-height: 1; letter-spacing: var(--track-display); white-space: nowrap; }
.pass__seats { font-size: var(--text-sm); color: var(--muted); }
.pass__main { display: grid; align-content: center; justify-items: start; gap: var(--s6); padding: var(--s7) var(--s6); }
.pass__title { font-size: var(--text-h2); line-height: 1.12; letter-spacing: var(--track-heading); text-wrap: balance; }
.pass__list { display: grid; gap: var(--s3); }
.pass__list li { display: flex; align-items: flex-start; gap: var(--s3); color: var(--text-2); }
.pass__list .ic { margin-top: 4px; color: var(--blue); }

.pass { max-width: none; width: 100%; }
@media (min-width: 640px) {
  .pass { grid-template-columns: 250px minmax(0, 1fr); }
  .pass__stub { border-bottom: 0; border-right: 2px dashed var(--color-line-2); }
  .pass__stub::before, .pass__stub::after { bottom: auto; left: auto; right: -13px; }
  .pass__stub::before { top: -13px; clip-path: inset(50% 0 0 0); }
  .pass__stub::after { bottom: -13px; clip-path: inset(0 0 50% 0); }
  .pass__main { padding: var(--s8); }
}
@media (min-width: 1024px) {
  .pass { grid-template-columns: minmax(22rem, 28rem) minmax(0, 1fr); }
}


/* ---------- page rules for the mixed sections ---------- */
/* compare: five answer columns, so the label column is narrower than Collabmagic's 26% */
.ct tbody th { width: 20%; }
/* process-card badges hold Lucide line icons: the borrowed rule filled them into solid dots, so keep them as lines */
.pcard__badge svg { fill: none; }
/* the statement spans the container like every other block (user widened it on #27) */
.say { width: 100%; max-width: 1120px; }
.sec--say { padding-top: var(--space-10); }
.say__more .ic { width: 15px; height: 15px; }
.why__main .kicker, .sec--say .kicker { color: var(--color-ink-3); }
.kicker { font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--color-ink-3); }
@media (min-width: 1024px) {
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s10); align-items: start; }
}

/* phones: the two-part headline flows as one sentence so it stays within three lines */
@media (max-width: 639px) {
  .hero__title span { display: inline; }
  .hero__title { font-size: 1.75rem; }
}
@media (max-width: 359px) {
  .hero__title { font-size: 1.5rem; }
}
/* small phones: the contact@<domain> address doesn't fit a half-width footer column, so the two columns stack */
@media (max-width: 399px) {
  .foot__top { grid-template-columns: minmax(0, 1fr); }
}

/* footer "Get in touch" button (a brand with no mailbox): looks like the footer links and opens the waitlist */
.foot__col .foot__link { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--text-sm); color: inherit; cursor: pointer; transition: color var(--dur-fast) var(--ease-out); }
.foot__col .foot__link:hover { color: #fff; }

/* logo marks keep their size: in the phone nav the mark was squeezed to 0px at 320 (19px at 360), and the report avatar to 24px */
.brand__mark, .msg__avatar { flex: none; }
/* phones below 390: the nav lines up with the page's 20px edge and a tighter gap, so the full mark, name and button fit */
@media (max-width: 389px) {
  .nav__inner { gap: var(--space-3); padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 359px) {
  .brand { font-size: 1.125rem; }
}


/* comparison: detailed table (layout after the CodeRabbit pricing table): intro cell with the brand and an accent word over a
   fading dot texture, plain centred column heads, bold feature + description rows, zebra rows, thin dividers, round check icons */
.dc { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.dc:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.dc__table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.5; }
.dc__table thead th { padding: var(--space-5) var(--space-3); font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--color-ink); text-align: center; vertical-align: middle; border-bottom: 1px solid var(--color-line); }
.dc__table thead .dc__us { color: var(--color-accent); }
.dc__intro { position: relative; width: 44%; padding: var(--space-6) var(--space-6) !important; text-align: left !important; isolation: isolate; }
.dc__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, oklch(82% 0.11 215 / 0.22) 1px, transparent 1.4px) 0 0 / 6px 6px; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 0.55) 55%, transparent 100%); }
.dc__brand { font-size: 1.375rem; font-weight: var(--weight-semibold); letter-spacing: -0.01em; color: var(--color-ink); }
.dc__brand span { color: var(--color-accent); }
.dc__lead { max-width: 34rem; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink-2); }
.dc__table tbody tr { border-top: 1px solid var(--color-line); }
.dc__table tbody tr:nth-child(odd) { background: oklch(100% 0 0 / 0.035); }
.dc__table tbody th { padding: var(--space-4) var(--space-6); font-weight: var(--weight-regular, 400); color: var(--color-ink-2); text-align: left; vertical-align: middle; }
.dc__table tbody th strong { font-weight: var(--weight-semibold); color: var(--color-ink); }
.dc__table tbody td { padding: var(--space-4) var(--space-3); text-align: center; vertical-align: middle; border-left: 1px solid var(--color-line); }
.dc__txt { font-size: var(--text-xs); color: var(--color-ink-2); }
.dc__us .dc__txt { color: var(--color-ink); font-weight: var(--weight-medium); }
.dc__yes { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.dc__yes circle { fill: var(--color-accent-bg); }
.dc__yes path { fill: none; stroke: var(--color-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc__no { display: inline-block; width: 10px; height: 1.5px; vertical-align: middle; background: var(--color-ink-3); }
@media (max-width: 899px) {
  .dc__table { min-width: 760px; font-size: var(--text-xs); }
  .dc__intro { padding: var(--space-5) !important; }
  .dc__brand { font-size: 1.125rem; }
  .dc__table tbody th { padding: var(--space-3) var(--space-4); }
}
@media (max-width: 639px) {
  .dc__table { min-width: 720px; }
  .dc__intro, .dc__table tbody th { width: 220px; }
  .dc__lead { font-size: var(--text-xxs); }
  .dc__intro::before { opacity: 0.55; }
  .dc { border-radius: var(--radius-card); }
}

/* ---------- content update from the Google Doc (2026-10-23) ---------- */
/* hero: two short paragraphs under the headline, the button, a trust line */
.hero__subs { display: grid; gap: var(--space-3); justify-items: center; }
.scan__trust { font-size: var(--text-sm); color: oklch(100% 0 0 / 0.7); }
.scan__trust span { margin: 0 0.35em; }
.lp__in .ic { width: 16px; height: 16px; margin-left: var(--space-2); }

/* problem: heading + two intro lines, then the five risks lit up on scroll, then the closing line */
.say__title { max-width: 26ch; margin: 0 auto; }
/* tablets and up: the problem heading runs in two rows (user, #30) */
@media (min-width: 768px) { .say__title { max-width: 38ch; } }
.say__intro { display: grid; gap: var(--space-2); max-width: 44rem; margin: var(--space-6) auto 0; font-size: var(--text-lg); color: var(--color-ink-2); text-wrap: pretty; }
.say--list { gap: var(--space-5); max-width: 1040px; margin-top: var(--space-9); font-size: clamp(1.125rem, 0.9rem + 0.95vw, 1.625rem); text-align: center; }
/* full container width (user, #30): lines fill the width; "pretty" only stops a lone last word */
.say--list p { text-wrap: pretty; }

/* solution: three outcome cards */
.lede--stack { display: grid; gap: var(--space-3); }
.sol { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.sol__card { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-7); border: 1px solid var(--color-line-2); border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 0% 0%, var(--color-glow), transparent 60%), var(--color-bg-2); }
.sol__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-4); border-radius: var(--radius-md); background: var(--color-accent-bg); color: var(--color-accent); }
.sol__icon .ic { width: 20px; height: 20px; }
.sol__title { font-size: var(--text-h3); font-weight: var(--weight-semibold); letter-spacing: var(--track-heading); line-height: 1.25; }
.sol__text { font-size: var(--text-sm); color: var(--color-ink-2); }
.cta-row { display: flex; justify-content: center; margin-top: var(--space-9); }

/* what we check: the note under the rail */
.note { display: flex; align-items: flex-start; gap: var(--space-3); max-width: 52rem; margin-top: var(--space-8); padding: var(--space-4) var(--space-5); border: 1px solid var(--color-line); border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.note .ic { margin-top: 3px; color: var(--color-accent); }

/* how it works: three numbered steps joined by a line */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); counter-reset: none; }
.step { position: relative; display: grid; align-content: start; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--color-line-2); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--color-accent); }
.step__num { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: var(--weight-medium); line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__title { margin-top: var(--space-3); font-size: var(--text-h3); font-weight: var(--weight-semibold); letter-spacing: var(--track-heading); }
.step__text { max-width: 26rem; font-size: var(--text-sm); color: var(--color-ink-2); }

/* report preview: what each finding includes, beside the stage with the example finding */
.rep { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.rep__incl { display: grid; align-content: center; gap: var(--space-5); }
.rep__label { font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--color-ink-3); }
.rep__list { display: grid; gap: var(--space-5); }
.rep__list li { display: flex; align-items: flex-start; gap: var(--space-4); color: var(--color-ink-2); }
.rep__list .ic { flex: none; margin-top: 3px; color: var(--color-accent); }
.rep__list strong { font-weight: var(--weight-semibold); color: var(--color-ink); }
/* two boxes only (user, #30): the image frame and the report card; the finding inside the card has no box of its own */
.find { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--color-line); }
.find__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-3); }
.find__name { flex: 1 1 14rem; }
.find__name { font-size: var(--text-h3); font-weight: var(--weight-semibold); letter-spacing: var(--track-heading); line-height: 1.25; }
.find__top .row__kind { margin-top: 0; }
.find__list { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; }
.find__list div { display: grid; gap: 2px; }
.find__list dt { font-size: var(--text-xs); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: var(--track-label); color: var(--color-ink-3); }
.find__list dd { margin: 0; font-size: var(--text-sm); color: var(--color-ink); }
.find__note { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-ink-3); }

/* who it's for: intro line, label, four audiences with bold names, closing line */
.pass__sub { color: var(--color-ink-2); }
.pass__for { margin-bottom: calc(var(--space-3) * -1); font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--color-ink-3); }
.pass__list strong { font-weight: var(--weight-semibold); color: var(--color-ink); }
.pass__end { font-weight: var(--weight-medium); color: var(--color-ink); }
/* the stub holds the heading, the line and the button (user, #30); the right side lists who it is for */
.pass__stub--intro { align-content: center; justify-items: start; gap: var(--space-5); padding: var(--space-8) var(--space-6); }
.pass__stub--intro .pass__title { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); }
.pass__stub--intro .lp { margin-top: var(--space-2); }
@media (min-width: 640px) { .pass__stub--intro { padding: var(--space-9) var(--space-8); } }
@media (min-width: 640px) and (max-width: 1023px) { .pass:has(.pass__stub--intro) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
/* left side smaller than the right (user, #30): 2 : 3 */
@media (min-width: 1024px) { .pass:has(.pass__stub--intro) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }

/* final call to action: centred heading, two lines, the same form as the hero */
.final { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 50% 100%, var(--color-glow), transparent 70%); }
.final__inner { display: grid; justify-items: center; gap: var(--space-6); text-align: center; }
.final__title { max-width: 22ch; }
.final__sub { display: grid; gap: var(--space-2); max-width: 40rem; font-size: var(--text-lg); color: var(--color-ink-2); }

/* footer: the two tagline lines */
.foot__line { display: grid; gap: var(--space-1); font-size: var(--text-sm); }

@media (min-width: 640px) {
  .sol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .sol { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .rep { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-9); align-items: center; }
}
/* rail on phones and tablets: six checks, so only the open check shows its description */
@media (max-width: 1023px) {
  .wt[aria-selected="false"] .wt__desc { display: none; }
}

/* ---------- scan dialog · 3 steps, values from the user's Figma (817 wide, radius 33, padding 40, 6px progress bars,
   37px inputs with radius 9, 38px chips with radius 10, 50px layered "Done" pill, text #f0efec at 100/60/50%) ---------- */
.hero__cta, .final__cta { display: grid; justify-items: center; gap: var(--space-5); }
/* hero pill: white field with the dark button inside it */
.pill { display: flex; align-items: center; gap: 8px; width: min(470px, 100%); height: 52px; padding: 0 6px 0 20px; border: 1px solid oklch(0% 0 0 / 0.08); border-radius: var(--radius-pill); background: #fff; box-shadow: 0 1px 2px oklch(0% 0 0 / 0.05); transition: box-shadow var(--dur-fast) var(--ease-out); }
.pill:focus-within { box-shadow: 0 0 0 3px oklch(100% 0 0 / 0.28); }
.pill__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #111; font: inherit; font-size: 0.9375rem; outline: none; }
.pill__input::placeholder { color: #8a8a8a; }
.pill__btn { flex-shrink: 0; height: 40px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: #1a1a1a; color: #fff; font: inherit; font-size: 0.9375rem; font-weight: var(--weight-semibold, 600); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.pill__btn:hover { background: #000; }
.pill__btn:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
@media (max-width: 380px) { .pill__btn { padding: 0 14px; font-size: 0.875rem; } }
.final__cta { margin-top: var(--space-3); }
.sd { --sd-ink: rgb(240 239 236); --sd-ink-2: rgb(240 239 236 / 0.6); --sd-ink-3: rgb(240 239 236 / 0.5); --sd-line: rgb(255 255 255 / 0.2);
  width: min(817px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 40px; overflow-y: auto;
  border: 0; border-radius: 33px; background: rgb(26 26 26 / 0.95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--sd-ink); box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.8); overscroll-behavior: contain; }
.sd::backdrop { background: rgb(0 0 0 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sd[open] { animation: rise var(--dur-med) var(--ease-out); }
.sd__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.sd__bars i { height: 6px; border-radius: 3px; background: rgb(217 217 217 / 0.22); transition: background-color var(--dur-med) var(--ease-out); }
.sd__bars i.is-on { background: rgb(217 217 217 / 0.98); }
.sd__step { display: grid; gap: 30px; }
.sd__step[hidden] { display: none; }
.sd__step.is-in { animation: sd-in 360ms var(--ease-out) both; }
@keyframes sd-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.sd__body { position: relative; display: grid; align-content: start; gap: 20px; min-height: 330px; }
/* a legend is not a grid item, so it floats full width to keep the 12px gap above the chips */
.sd__q legend { float: left; width: 100%; margin-bottom: 12px; }
.sd__q .sd__chips { clear: both; }
.sd__head { display: grid; gap: 1px; }
.sd__title { padding-bottom: 6px; font-size: 1.6875rem; font-weight: var(--weight-semibold); line-height: 23px; letter-spacing: -0.01em; color: var(--sd-ink); overflow-wrap: anywhere; }
.sd__title:focus { outline: none; }
.sd__sub { font-size: 1rem; line-height: 21px; color: var(--sd-ink-3); }
.sd__fields { display: grid; gap: 14px; }
.sd__field, .sd__q { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sd__label { padding: 6px 0 0; font-size: 1rem; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--sd-ink); }
.sd__label strong { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.sd__input { width: 100%; height: 37px; padding: 0 16px; border: 1px solid var(--sd-line); border-radius: 9px; background: transparent; color: var(--sd-ink); font: inherit; font-size: 0.9375rem; transition: border-color var(--dur-fast) var(--ease-out); }
.sd__input::placeholder { color: var(--sd-ink-3); }
.sd__input:focus { border-color: rgb(255 255 255 / 0.55); }
.sd__input[aria-invalid="true"] { border-color: var(--color-error); }
.sd__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sd .sd__q { gap: 0; }
.sd__chip { position: relative; display: inline-flex; cursor: pointer; }
.sd__chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sd__chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--sd-line); border-radius: 10px; font-size: 0.9375rem; line-height: 1.3; color: var(--sd-ink); white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.sd__chip:hover span { border-color: rgb(255 255 255 / 0.4); }
.sd__chip input:checked + span { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.45); }
.sd__chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.sd__done { height: 50px; }
.sd__done .lp__in { font-size: 1rem; font-weight: var(--weight-regular); }
.sd__step[aria-busy="true"] .sd__done { opacity: 0.7; cursor: progress; }
/* step 3: check image + heading, then three numbered next steps joined by a dashed line */
.sd__ok { display: flex; align-items: center; gap: 14px; }
.sd__ok-img { flex: none; width: 57px; height: 57px; }
.sd__ok .sd__head { gap: 10px; }
.sd__title--ok { padding: 0; font-weight: var(--weight-medium); }
/* step 3: the domain and the email never break mid-word; one longer than the line ends in "…" */
.sd__step > *, .sd__body > *, .sd__ok .sd__head, .sd__next > li, .sd__next li > div { min-width: 0; }
.sd__title--ok, .sd__next-t { overflow-wrap: normal; }
.sd__next-t:has([data-sd-email]) { display: flex; gap: 0.28em; white-space: nowrap; }
[data-sd-email] { min-width: 0; }
[data-sd-site], [data-sd-email] { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; }
.sd__sub--ok { color: var(--sd-ink-2); }
.sd__next { position: relative; display: grid; gap: 20px; margin-top: 10px; }
/* a dashed segment from each circle to the next one */
.sd__next li:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 50%; height: calc(100% + 20px); border-left: 1px dashed rgb(255 255 255 / 0.3); }
.sd__next li { position: relative; display: flex; align-items: center; gap: 16px; }
.sd__num { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgb(41 41 41); font-size: 0.875rem; color: var(--sd-ink-2); }
.sd__num--on { background: rgb(32 81 20); }
.sd__next-t { font-size: 1.25rem; font-weight: var(--weight-medium); line-height: 1.3; color: var(--sd-ink); overflow-wrap: anywhere; }
.sd__next-d { margin-top: 4px; font-size: 1rem; line-height: 1.4; color: var(--sd-ink-2); }
@media (max-width: 639px) {
  .sd { padding: 24px 20px; border-radius: 24px; }
  .sd__bars { gap: 10px; margin-bottom: 22px; }
  .sd__body { min-height: 0; }
  .sd__title { font-size: 1.4375rem; }
  .sd__sub, .sd__label { font-size: 0.9375rem; }
  .sd__label strong { font-size: 1.125rem; }
  .sd__chip span { padding: 0 13px; }
  .sd__ok { align-items: flex-start; }
  .sd__ok-img { width: 48px; height: 48px; }
  .sd__next-t { font-size: 1.0625rem; }
  .sd__next-d { font-size: 0.875rem; }
  .sd__next li { align-items: flex-start; }
  .sd__next li:not(:last-child)::before { top: 3px; }
  .sd__num { margin-top: 3px; }
}
html.sd-lock, html.sd-lock body { overflow: hidden; }

/* ---------- toasts (react-hot-toast look in black, user #30: black card, light text, thin border, 8px radius, two soft shadows, top centre) ---------- */
.toasts { position: fixed; inset: 16px 16px auto 16px; z-index: 9999; display: grid; justify-items: center; gap: 8px; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; pointer-events: none; }
.toasts:not(:popover-open)[popover] { display: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: min(350px, 100%); padding: 8px 10px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 8px; background: #000; color: #f0efec; font-family: var(--font); font-size: 0.875rem; line-height: 1.3; box-shadow: 0 8px 24px rgb(0 0 0 / 0.6), 0 3px 3px rgb(0 0 0 / 0.3); pointer-events: auto; animation: toast-in 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) both; }
.toast.is-out { animation: toast-out 0.4s cubic-bezier(0.06, 0.71, 0.55, 1) both; }
.toast__msg { margin: 4px 10px; }
@keyframes toast-in { from { transform: translate3d(0, -200%, 0) scale(0.6); opacity: 0.5; } to { transform: none; opacity: 1; } }
@keyframes toast-out { from { transform: none; opacity: 1; } to { transform: translate3d(0, -150%, -1px) scale(0.6); opacity: 0; } }
.toast__icon { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; }
.toast__icon--error { background: #ff4b4b; animation: toast-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both; }
.toast__icon--error::before, .toast__icon--error::after { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 2px; border-radius: 3px; background: #fff; transform: rotate(45deg); }
.toast__icon--error::after { transform: rotate(-45deg); }
.toast__icon--success { background: #61d345; animation: toast-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both; }
.toast__icon--success::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.toast__icon--loading { width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / 0.2); border-right-color: #fff; animation: toast-spin 1s linear infinite; }
@keyframes toast-pop { from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-out { animation-duration: 1ms; } }

/* ---------- footer legal links + Privacy Policy / Terms of Service pages ---------- */
.foot__legal { align-items: center; }
.foot__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.foot__legal-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.foot__legal-links a:hover { color: #fff; }
.legal-page .nav { position: sticky; }
.legal__back { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: var(--weight-medium); color: #fff; text-decoration: none; opacity: 0.85; }
.legal__back:hover { opacity: 1; }
.legal { padding: var(--space-9) 0 var(--space-11); }
.legal__inner { max-width: 800px; }
.legal__head { display: grid; gap: var(--space-3); padding-bottom: var(--space-7); margin-bottom: var(--space-7); border-bottom: 1px solid var(--color-line); }
.legal__title { font-size: var(--text-h2); line-height: 1.15; letter-spacing: var(--track-heading); }
.legal__date { font-size: var(--text-sm); color: var(--color-ink-3); }
.legal__body { display: grid; gap: var(--space-4); color: var(--color-ink-2); line-height: 1.7; }
.legal__body h2 { margin-top: var(--space-7); font-size: var(--text-h3); font-weight: var(--weight-semibold); line-height: 1.3; color: var(--color-ink); scroll-margin-top: 100px; }
.legal__body h3 { margin-top: var(--space-3); font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--color-ink); }
.legal__body ul { display: grid; gap: var(--space-2); padding-left: 1.25rem; list-style: disc; }
.legal__body li::marker { color: var(--color-ink-3); }
.legal__body strong { font-weight: var(--weight-semibold); color: var(--color-ink); }
.legal__body a { color: var(--color-accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot--legal { padding-top: 0; }
.foot--legal .foot__legal { margin: 0 0 var(--space-7); }

/* ---------- why now · stat board (user's design, #30): one box, the headline figure across the top, three below ---------- */
.stats__head { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); }
.stats__title { max-width: none; }
.stats { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--color-line-2); border-radius: var(--radius-card); overflow: hidden; }
.stat { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-6); }
.stat + .stat { border-top: 1px solid var(--color-line-2); }
.stat__num { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); font-weight: var(--weight-medium); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.stat__num--accent { color: var(--color-accent); }
.stat__label { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-ink); }
.stat--lead .stat__label { max-width: 52rem; }
.stat__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--color-accent); }
.stat__note { font-size: var(--text-xs); color: var(--color-ink-3); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat--lead { grid-column: 1 / -1; }
  .stat + .stat { border-top: 0; }
  .stat:not(.stat--lead) { border-top: 1px solid var(--color-line-2); }
  .stat:not(.stat--lead) + .stat { border-left: 1px solid var(--color-line-2); }
}

/* text inputs: no focus ring around the field; its own border changes colour on focus instead */
input:not([type="radio"]):not([type="checkbox"]):focus,
input:not([type="radio"]):not([type="checkbox"]):focus-visible { outline: none; }
