/* 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); }
.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: contact@calmcomet.co 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); }
}

/* 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; }
