/* Trialsight (wedge #34) · Brevlan's shell and theme (Vigil layout, Palomar landscape footage) with the Whosigned statement
   (via #26), Upstep report board and Brevlan rail, Collabmagic Veloce cards (via #24), the detailed comparison table from #30
   and Landed's dark panel. Every value references tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); 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-semibold); overflow-wrap: anywhere; }
a { color: inherit; }
button { 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: var(--color-ink); color: var(--color-on-ink); transform: translateY(-300%); }
.skip:focus { transform: none; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--space-6); }
.muted { color: var(--color-ink-2); }
.h2 { font-size: var(--text-h2); line-height: 1.08; letter-spacing: var(--track-heading); max-width: 20ch; }
.lede { font-size: var(--text-lg); color: var(--color-ink-2); max-width: var(--measure); }
.section { padding: var(--space-11) 0; }
@media (max-width: 639px) { .section { padding: var(--space-10) 0; } }
.section--tint { background: var(--color-paper-2); }
.head { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.ticks { display: grid; gap: var(--space-3); }
.ticks li { position: relative; padding-left: var(--space-7); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: var(--radius-pill); background: var(--color-scale-bg) 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='%232e7a52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- buttons (template: dark #222 with arrow in a circle; white pill with play) ---------- */
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 44px; padding: var(--space-1) var(--space-1) var(--space-1) var(--space-5);
  border: 0; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-ink);
  font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.btn-dark:hover { transform: scale(1.03); }
.btn-dark:active { transform: scale(0.99); }
.btn-dark__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--color-on-ink); color: var(--color-ink); transition: transform var(--dur-med) var(--ease-out); }
.btn-dark__icon svg { width: 16px; height: 16px; }
.btn-dark:hover .btn-dark__icon { transform: rotate(45deg); }
.btn-dark--lg { min-height: 52px; font-size: var(--text-md); padding-left: var(--space-6); }
.btn-dark--lg .btn-dark__icon { width: 44px; height: 44px; }
.btn-dark--block { position: relative; width: 100%; padding: var(--space-1) 60px; }
/* full-width button: label stays centred, the arrow sits in the right corner */
.btn-dark--block .btn-dark__icon { position: absolute; top: 0; bottom: 0; right: var(--space-1); margin: auto 0; }
.btn-dark[aria-busy="true"] { cursor: progress; transform: none; background: var(--color-ink-2); }

.btn-light {
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 56px; padding: var(--space-2) var(--space-7) var(--space-2) var(--space-2);
  border-radius: var(--radius-pill); background: var(--color-nav); color: var(--color-ink);
  font-size: var(--text-md); font-weight: var(--weight-medium); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px -12px var(--color-shadow);
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-light:hover { transform: scale(1.03); }
.btn-light__play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-ink); }
.btn-light__play svg { width: 14px; height: 14px; }

/* ---------- floating nav ---------- */
.nav {
  position: fixed; top: var(--space-4); left: 50%; z-index: var(--z-nav); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  width: calc(100% - var(--space-7)); max-width: var(--max);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
  border-radius: var(--radius-nav); background: var(--color-nav); box-shadow: 0 8px 30px -10px var(--color-shadow);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--color-ink); font-size: 1.25rem; font-weight: var(--weight-semibold); letter-spacing: var(--track-heading); text-decoration: none; }
.brand__mark { width: 28px; height: 28px; }
.nav__links { display: none; gap: var(--space-7); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); }

/* ---------- hero ---------- */
/* the hero is at least as tall as the 16:9 footage, so the whole frame shows and the text sits in its open sky, clear of the trees; the 56rem floor keeps short laptop screens clear too */
.hero { position: relative; display: grid; place-items: start center; min-height: max(100svh, 56.25vw, 56rem); overflow: hidden; background: var(--color-paper); }
.hero__media { position: absolute; inset: 0 0 4px; overflow: hidden; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* the footage's baked fade stops a shade darker than the page, and the video layer's edge can snap a darker row,
   which read as a line under the hero. The video stops 4px short and this fade, painted above it, ends on the exact page colour. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none; background: linear-gradient(to bottom, var(--color-paper-clear), var(--color-paper) 70%); }
.hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(8rem, 5rem + 5vw, 11rem) var(--space-6) var(--space-12); }
.hero__title { display: grid; gap: 0; color: var(--color-ink); text-wrap: balance; }
.hero__l1, .hero__l2 { text-wrap: balance; font-size: var(--text-hero); font-weight: var(--weight-semibold); line-height: 1.04; letter-spacing: var(--track-display); }
.hero__sub { margin-top: var(--space-5); max-width: 34rem; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--color-ink); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-7); }

@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; }

/* heading reveal (GSAP adds .is-in; visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 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-rule); border-radius: var(--radius-item); background: var(--color-nav); }
.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: 56px; padding: var(--space-4) var(--space-5); border: 0; border-radius: var(--radius-item); background: none; font-weight: var(--weight-medium); text-align: left; color: var(--color-ink); 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); }

/* what it watches: check list + live preview */
.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-rule); overflow: hidden; }
.wx__rail i { position: absolute; inset: 0; background: var(--color-ink); 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-radius: 28px; }
.wx__bg { position: absolute; top: 2px; bottom: 2px; left: 0; width: 100%; height: calc(100% - 4px); object-fit: cover; object-position: 50% 60%; }
.wx__stage { background: var(--color-paper-2); }
.wx__panes { position: relative; width: 100%; max-width: 440px; }
.wx__panes { display: grid; }
.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-radius: var(--radius-card); background: var(--color-nav); box-shadow: 0 40px 80px -40px var(--color-shadow-strong); }
.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--stop { background: var(--color-stop-bg); color: var(--color-stop); }
.alert__kind--fix { background: var(--color-fix-bg); color: var(--color-fix); }
.alert__kind--scale { background: var(--color-scale-bg); color: var(--color-scale); }
.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); }
.alert__acts { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.alert__btn, .alert__ghost { display: inline-flex; align-items: center; min-height: 34px; padding: 0 var(--space-4); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.alert__btn { background: var(--color-ink); color: var(--color-on-ink); }
.alert__ghost { border: 1px solid var(--color-rule-strong); color: var(--color-ink-2); }
@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; }
}

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding: var(--space-10) 0 0; background: var(--color-footer); color: var(--color-footer-ink); }
.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; }
.brand--light { color: var(--color-on-ink); }
.foot__line { font-size: var(--text-md); }
.foot__col { display: grid; align-content: start; gap: var(--space-1); }
.foot__head { margin-bottom: var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--color-on-ink); }
.foot__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--text-sm); color: var(--color-footer-ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.foot__col a:hover { color: var(--color-on-ink); }
.btn-dark--inverse { background: var(--color-on-ink); color: var(--color-ink); }
.btn-dark--inverse .btn-dark__icon { background: var(--color-ink); color: var(--color-on-ink); }
/* sized so the whole word fits the content width, centred, from 320 to 1920px */
.foot__word { margin: var(--space-8) 0 var(--space-9); font-size: clamp(1.7rem, calc((100vw - 48px) / 7.2), 11.5rem); font-weight: var(--weight-semibold); line-height: 0.9; letter-spacing: -0.055em; text-align: center; white-space: nowrap; color: var(--color-footer-word); user-select: none; }
.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-ink-2); font-size: var(--text-xs); }

@media (min-width: 1024px) {
  .foot__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: auto; }
}

/* ---------- dialog ---------- */
.waitlist { width: min(28rem, calc(100vw - var(--space-7))); max-width: none; padding: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-nav); color: var(--color-ink); box-shadow: 0 30px 80px -20px var(--color-shadow); }
.waitlist::backdrop { background: var(--color-scrim); }
.waitlist[open] { animation: rise var(--dur-med) var(--ease-out); }
.waitlist__form { position: relative; padding: var(--space-8) var(--space-7) var(--space-7); }
.waitlist__close { position: absolute; top: var(--space-3); right: var(--space-3); width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: none; font-size: var(--text-h3); line-height: 1; color: var(--color-ink); cursor: pointer; }
.waitlist__close:hover { background: var(--color-paper-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: 48px; width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-item); background: var(--color-nav); font: inherit; font-size: var(--text-md); font-weight: var(--weight-regular); color: var(--color-ink); }
.field input::placeholder { color: var(--color-ink-2); }
.field input:focus { border-color: var(--color-ink); }
.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-top: var(--space-2); 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-2); }
[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-scale); }
[data-step="done"] .btn-dark { margin-top: var(--space-7); }

/* ---------- ≥ 640 ---------- */
@media (min-width: 640px) {
  .shell { padding: 0 var(--space-8); }
}
@media (max-width: 639px) {
  .nav .btn-dark span:first-child { display: none; }
  .nav .btn-dark { padding: var(--space-1); }
}
/* ---------- ≥ 1024 ---------- */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--space-9); }
  .head .lede { padding-bottom: var(--space-2); }
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-10); align-items: start; }
}

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

/* rail on phones and tablets: a tighter list and a shorter card so the pinned block fits under the nav */
@media (max-width: 1023px) {
  .wx .wt { padding-top: var(--space-3); padding-bottom: var(--space-3); }
  .wx__stage { min-height: 300px; padding: var(--space-4); }
}

/* ---------- problem · Whosigned statement, words light up as you scroll (via #26), on Brevlan's paper ---------- */
.kicker { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-ink-2); }
.sec--say .shell { display: flex; flex-direction: column; align-items: center; text-align: center; }
.say { display: grid; gap: var(--space-3); max-width: 860px; margin: var(--space-6) 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.chip { display: inline-flex; }
.js .say .w { opacity: 0.16; }
.chip { 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; }
.chip .ic { width: 0.78em; height: 0.78em; stroke-width: 2.25; vertical-align: 0; }
.chip--blue { background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); }
.chip--red { background: var(--color-stop-bg); color: var(--color-stop); }
.chip--grad { background: var(--color-footer); color: var(--color-on-ink); }
.say__more { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-8); font-size: var(--text-md); color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-strong); text-underline-offset: 6px; transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out); }
.say__more:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) { .js .say .w { opacity: 1; } }

/* ---------- monday screen: the board's table stays a table and scrolls sideways on phones (as on #31; user, #29: no cards) ---------- */
.board { grid-template-columns: minmax(0, 1fr); }
.rtbl-wrap { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board__sum strong { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .rtbl-wrap .rtbl { min-width: 620px; font-size: 0.8125rem; }
  .rtbl-wrap .rtbl thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .rtbl-wrap .rtbl thead th { padding: 0 var(--space-3) var(--space-3); border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-ink-2); text-align: left; }
  .rtbl-wrap .rtbl tbody tr { display: table-row; padding: 0; }
  .rtbl-wrap .rtbl tbody th, .rtbl-wrap .rtbl td { display: table-cell; padding: var(--space-3); border-top: 1px solid var(--color-rule); vertical-align: top; }
  .rtbl-wrap .rtbl tbody tr:first-child th, .rtbl-wrap .rtbl tbody tr:first-child td { border-top: 0; }
  .rtbl-wrap .rtbl td::before { content: none; }
}

/* rail: 5 steps; on phones closed tabs hide their line so the block fits under the nav and pins */
@media (max-width: 639px) { .wt[aria-selected="false"] .wt__desc { display: none; } }

/* rail card kind used for "Linked" */
.alert__kind--old { background: var(--color-old-bg); color: var(--color-old); }

/* ---------- what it covers · Collabmagic Veloce cards (via #24), five across on desktop ---------- */
.jobs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.jobs li { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-7); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.jobs li:hover { border-color: var(--color-rule-strong); background: var(--color-paper); }
.jobs__n { font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: 0.16em; color: var(--color-scale); }
.jobs__word { font-size: var(--text-h3); font-weight: var(--weight-medium); line-height: 1.1; letter-spacing: var(--track-heading); }
.jobs p { color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.6; }
@media (min-width: 640px) { .jobs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .jobs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .jobs li { padding: var(--space-6); } }

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

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

/* ---------- hero size: the two rows stay two rows from 768px up ---------- */
.hero__l1, .hero__l2 { font-size: clamp(2.25rem, 1rem + 3vw, 3.75rem); }

/* ---------- footer "Get in touch" (opens the waitlist; no contact email until a domain is linked) ---------- */
.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: var(--color-footer-ink); text-align: left; cursor: pointer; transition: color var(--dur-fast) var(--ease-out); }
.foot__link:hover { color: var(--color-on-ink); }

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


/* ---------- example draft · report board (Upstep) ---------- */
.board { display: grid; gap: var(--space-5); padding: var(--space-5) var(--space-4); border: 1px solid var(--color-rule); border-radius: 28px; background: var(--color-nav); box-shadow: 0 40px 80px -50px var(--color-shadow-strong); }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 0 var(--space-1); }
.panel__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-3); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-xs); color: var(--color-ink-2); white-space: nowrap; }
.board__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.board__sum p { display: grid; gap: 2px; padding: var(--space-3); border-radius: var(--radius-item); background: var(--color-paper-2); }
.board__sum span { font-size: var(--text-xs); color: var(--color-ink-2); }
.board__sum strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: var(--weight-semibold); line-height: 1.15; letter-spacing: var(--track-heading); font-variant-numeric: tabular-nums; }
.rtbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.rtbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rtbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2) var(--space-3); padding: var(--space-4) var(--space-1); border-top: 1px solid var(--color-rule); }
.rtbl tbody tr:first-child { border-top: 0; }
.rtbl tbody th { grid-column: 1 / -1; font-weight: var(--weight-semibold); text-align: left; }
.rtbl td { display: grid; gap: 2px; align-content: start; color: var(--color-ink-2); }
.rtbl td::before { content: attr(data-label); font-size: var(--text-xs); color: var(--color-ink-2); }
.rtbl td:nth-child(2) { grid-column: 1 / -1; }
.srcdoc { color: var(--color-ink); }
.srcdoc--none { color: var(--color-ink-2); }
.flag { display: inline-flex; align-items: center; justify-self: start; min-height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-pill); background: var(--color-fix-bg); color: var(--color-fix); font-size: var(--text-xs); font-weight: var(--weight-semibold); white-space: nowrap; }
.flag--ok { background: var(--color-scale-bg); color: var(--color-scale); }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.facts li { display: grid; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
.facts h3 { font-size: var(--text-lg); }
.facts p { font-size: var(--text-sm); color: var(--color-ink-2); }

@keyframes flow-v { from { transform: translateY(-100%); } to { transform: translateY(260%); } }


/* ---------- early access · dark rounded panel (Landed) ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: center; padding: var(--space-7) var(--space-4) var(--space-4); border-radius: 28px; background: var(--color-footer); color: var(--color-on-ink); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklch, var(--color-footer) 55%, transparent), color-mix(in oklch, var(--color-footer) 15%, transparent)); }
.cta__copy { position: relative; display: grid; gap: var(--space-4); justify-items: start; padding: 0 var(--space-2); }
.cta__copy .h2 { color: var(--color-on-ink); max-width: 20ch; }
.cta__lede { max-width: 32rem; font-size: var(--text-lg); color: var(--color-footer-ink); }
.cta__card { position: relative; display: grid; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-card); background: var(--color-nav); color: var(--color-ink); box-shadow: 0 40px 80px -40px var(--color-shadow-strong); }
.cta__label { font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--color-ink-2); }

@media (min-width: 640px) {
  .board { padding: var(--space-6); }
  .board__sum p { padding: var(--space-4); }
  .cta { padding: var(--space-8) var(--space-6) var(--space-6); }
  .cta__card { padding: var(--space-7); }
}
@media (min-width: 768px) {
  .rtbl thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .rtbl thead th { padding: 0 var(--space-3) var(--space-3); border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-ink-2); text-align: left; }
  .rtbl tbody tr { display: table-row; padding: 0; }
  .rtbl tbody th, .rtbl td { display: table-cell; padding: var(--space-4) var(--space-3); border-top: 1px solid var(--color-rule); vertical-align: top; }
  .rtbl tbody th { width: 30%; }
  .rtbl tbody tr:first-child th, .rtbl tbody tr:first-child td { border-top: 0; }
  .rtbl td::before { content: none; }
  .rtbl td:nth-child(2) { width: 36%; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-9); padding: var(--space-9); }
  .cta__copy { padding: 0; }
  .cta__shade { background: linear-gradient(90deg, color-mix(in oklch, var(--color-footer) 70%, transparent), color-mix(in oklch, var(--color-footer) 10%, transparent)); }
  .cta__card { padding: var(--space-8); }
}

/* ---------- hero on phones: three rows at most (the 36px floor ran to 4-5 rows under 430px); desktop and tablet unchanged ---------- */
@media (max-width: 479px) {
  .hero__l1, .hero__l2 { font-size: min(2.25rem, calc((100vw - 3rem) / 10.5)); }
}
/* this page's headline is a little longer than the base's: one step smaller on phones keeps it to three rows */
@media (max-width: 479px) {
  .hero__l1, .hero__l2 { font-size: min(2rem, calc((100vw - 3rem) / 12)); }
}

/* ---------- contrast: inactive rail descriptions were 3.21:1 at opacity .7; full opacity keeps the muted colour (AA) ---------- */
.wt__desc { opacity: 1; }

/* ---------- 320px: the block button (60px side padding, 256px min) pushed the "Who it’s for" list past the card; same fix as #31 ---------- */
@media (max-width: 359px) {
  .cta__card .btn-dark--block { padding-left: var(--space-4); padding-right: 56px; }
  .cta__card { grid-template-columns: minmax(0, 1fr); }
}
