/* ============================================================
   House layer for HurdleCalls. Brand variables (--h-*) are set in the
   site stylesheets; everything structural (type, header, buttons, footer,
   inner-page heads) lives here. Light surfaces only, no pills, no tags.
   ============================================================ */
:root {
  --font-display: 'Hanken Grotesk', 'Instrument Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --h-grey: #f4f6f9;
  --h-grey-2: #e9eef3;
  --h-line: #dce3ea;
  --h-muted: #5f6a7b;
  --h-body: #4a5566;
}

body { font-family: var(--font-sans); color: var(--h-ink); background: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 100%; color: var(--h-ink); }
h1, h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
h3 { font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.duo { color: var(--h-ink); }
.duo .soft { color: var(--h-soft); }
.mono, .num { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--h-primary); outline-offset: 3px; }

/* ---- Buttons and links ---- */
.btn { font-family: var(--font-sans); border-radius: 6px; min-height: 48px; padding: 12px 22px; font-weight: 600; box-shadow: none; transform: none; }
.btn:hover, .btn:active { transform: none; box-shadow: none; }
.btn-primary, .btn-gold, .btn-green, .btn-navy { background: var(--h-primary); color: #fff; border-color: transparent; box-shadow: none; }
.btn-primary:hover, .btn-gold:hover, .btn-green:hover, .btn-navy:hover { background: var(--h-primary-hover); color: #fff; box-shadow: none; }
.btn-ghost, .btn-outline-light { background: #fff; color: var(--h-ink); border: 1px solid #8391a3; }
.btn-ghost:hover, .btn-outline-light:hover { color: var(--h-primary); border-color: var(--h-primary); background: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--h-ink); padding: 10px 0; border-bottom: 1px solid var(--h-ink); text-decoration: none; }
.link-arrow:hover { color: var(--h-primary); border-color: var(--h-primary); text-decoration: none; }

/* ---- Header ---- */
.site-header, .nav { background: #fff; border-bottom: 1px solid transparent; box-shadow: none; }
.site-header.is-scrolled, .nav.is-scrolled { border-bottom-color: var(--h-line); box-shadow: none; }
.site-header .nav, header.nav { height: 80px; }
.nav-links a { font-family: var(--font-sans); font-size: .95rem; font-weight: 500; color: var(--h-body); background: none !important; border-radius: 0; padding: 8px 0; }
.nav-links a:hover { color: var(--h-ink); }
.nav-links a.active, .nav-links a.is-active, .nav-links a[aria-current="page"] { color: var(--h-ink); background: none; }
.nav-links a.active::after, .nav-links a.is-active::after, .nav-links a[aria-current="page"]::after {
  content: ''; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--h-mark);
}
.nav-cta { gap: 18px; }
.nav-cta .nav-login, .nav-cta .btn-ghost { border: 0; background: none; padding-left: 0; padding-right: 0; min-height: 44px; color: var(--h-ink); }
.nav-cta .nav-login:hover, .nav-cta .btn-ghost:hover { color: var(--h-primary); }

/* ---- Footer (identical structure on both sites) ---- */
.hfoot { background: var(--h-grey); border-top: 1px solid var(--h-line); padding: 72px 0 28px; color: var(--h-body); }
.hfoot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
.hfoot-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.hfoot-brand p { max-width: 36ch; font-size: .95rem; margin: 0 0 18px; }
.hfoot-social { display: flex; gap: 22px; font-size: .92rem; }
.hfoot-col h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--h-ink); margin: 0 0 14px; }
.hfoot-col ul { list-style: none; margin: 0; padding: 0; }
.hfoot-col li a { display: inline-block; padding: 6px 0; }
.hfoot a { color: var(--h-ink); }
.hfoot a:hover { color: var(--h-primary); text-decoration: none; }
.hfoot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--h-line); font-size: .85rem; color: var(--h-muted); }
.hfoot-bottom a { color: var(--h-muted); }
.hfoot-bottom .powered a { color: var(--h-primary); font-weight: 600; }
.hfoot-note { background: var(--h-grey-2); color: var(--h-body); font-size: .8rem; line-height: 1.55; padding: 18px 0; text-align: center; }

/* ---- Inner-page heads: white with a hairline, two-tone headline ---- */
.detail-hero, .dash-head { background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--h-line) !important; border-radius: 0 !important; margin: 0 !important; color: var(--h-ink); }
.detail-hero::before, .detail-hero::after, .dash-head::before { display: none !important; }
.detail-hero h1, .dash-head h1 { color: var(--h-ink); font-weight: 400; letter-spacing: -.035em; }

@media (max-width: 960px) {
  .hfoot-top { grid-template-columns: 1fr 1fr; }
  .hfoot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hfoot-top { grid-template-columns: 1fr; gap: 32px; }
}

/* Phones: login and the CTA live inside the menu. */
.nav-links.open .nav-mobile-only { display: block; }
@media (max-width: 680px) { .nav-cta .nav-login { display: none; } }

/* ---- Dated list (used by the replays page) ---- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--h-ink); }
.news-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--h-line); }
.news-when { font-family: var(--font-mono); font-size: .8rem; color: var(--h-muted); }
.news-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; letter-spacing: -.01em; color: var(--h-ink); text-decoration: none; }
.news-title:hover { color: var(--h-primary); text-decoration: underline; text-underline-offset: 3px; }
.news-source { font-size: .88rem; color: var(--h-body); text-align: right; }
.news-note, .news-empty { margin: 20px 0 0; font-size: .82rem; color: var(--h-muted); max-width: 70ch; }
.news-page h1.duo { max-width: 16ch; margin-bottom: 16px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.news-lead { margin: 0 0 48px; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .news-source { text-align: left; }
  .news-when { order: 2; }
}

/* support contact under the footer blurb */
.hfoot-support { font-size: .92rem; margin: 0 0 14px; }

/* step titles are h2 for heading order; keep the h3 look */
.step .step-title { font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
/* auth aside headline is a p so the page h1 is the first heading; keep the h2 look */
.auth-aside .auth-aside-title { font-family: var(--font-display); font-weight: 400; font-stretch: 100%; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 .5em; text-wrap: balance; }

/* legal pages */
.legal-meta { color: var(--slate); font-size: .92rem; margin: 0; }
.prose.legal { max-width: 72ch; }
.prose.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
/* Unfilled legal details (entity not yet formed). Remove once filled in. */
.legal-placeholder { background: #fff3b0; color: inherit; padding: 0 .25em; border-radius: 2px; font-weight: 600; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table th { font-weight: 600; color: var(--slate); font-size: .82rem; }
.price-table td:not(:first-child), .price-table th:not(:first-child) { text-align: right; }

/* call replays */
.replay-section { padding: 48px 0 24px; }
.replay-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.replay-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.replay-note { font-size: .88rem; margin: 12px 0 0; }
.replay-host { font-size: .88rem; color: var(--h-muted); margin-top: 4px; }
.replay-access { font-family: var(--font-mono); font-size: .8rem; }

/* ==== Design pass 2026-10-04 ==== */
/* Squared controls: no pill shapes anywhere (v3 set 999px). */
.token-pill, .badge-status, .bundle .badge, .pill { border-radius: 6px; }
.field input, .field select, .field textarea, .alert { border-radius: 6px; }
.split.band, .split-visual, .statline .s { border-radius: 12px; }

/* No eyebrow labels: the rundown note sits under the title as plain muted text. */
.run .note { font-family: var(--font-sans); font-size: .92rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--h-muted, var(--muted)); margin: 0 0 6px; }
.step-num { text-transform: none; letter-spacing: 0; color: var(--muted); }
.countdown span { text-transform: none; letter-spacing: 0; font-size: .85rem; }
/* Event page status sits under the title in sentence case, not as a tag above it. */
.detail-status { margin: 16px 0 0; }
.detail-hero .badge-status { font-family: var(--font-sans); font-size: .88rem; font-weight: 600; text-transform: none; letter-spacing: 0; }

/* Headline scale */
h1.duo { font-size: clamp(2.75rem, 8vw, 9rem); max-width: 14ch; }
.detail-hero h1 { font-size: clamp(2.5rem, 6.5vw, 6.5rem); max-width: 18ch; }

/* /events with nothing scheduled: two columns, no grey band. */
.ev-empty { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 32px; border-top: 1px solid var(--h-line, var(--line)); }
.ev-empty-lead { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; color: var(--h-ink, var(--navy-900)); margin: 0; max-width: 28ch; }
.ev-empty-price { margin: 0 0 20px; color: var(--h-body, var(--slate)); }
.ev-empty-price b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--h-ink, var(--navy-900)); margin-right: 6px; }
.ev-empty .c4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (max-width: 760px) { .ev-empty { grid-template-columns: 1fr; gap: 28px; } }

/* Phones and tablets: show the signup/login aside above the form. */
@media (max-width: 940px) {
  .auth-aside { display: block; padding: 32px 16px; border-right: 0; border-bottom: 1px solid var(--tint-line); border-radius: 0; }
  .auth-aside::before { display: none; }
  .auth-aside .auth-aside-title { font-size: 2rem; }
}

@media (max-width: 960px) {
  .section { padding-top: 64px; }
  .prose p { font-size: 1.06rem; }
}

/* ==== Design pass 2 (Sophia, 2026-10-04) ====
   One motion idea: the hurdle gets set (a line draws left to right), then the
   bars rise and the gold one clears it. The hero plays it once on load; the
   numbered section rules repeat the "set" line as you scroll. */
:root {
  --hc-navy: #0A1A45;
  --hc-gold: #D9A93A;
  --hc-green: #1E7F55;
  --hx-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Hurdle graphic ---- */
.hx-art { display: block; width: 100%; height: auto; overflow: visible; }
.hx-grid path { fill: none; stroke: var(--h-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hx-bar, .hx-hurdle, .hx-base { fill: var(--hc-navy); }
.hx-gold { fill: var(--hc-gold); }
.hx-mini { width: 88px; }
.hx-aside { width: 150px; margin: 0 0 44px; }
@media (prefers-reduced-motion: no-preference) {
  .hx-art .hx-grid { animation: hx-fade .9s var(--hx-ease) .15s both; }
  .hx-art .hx-base, .hx-art .hx-hurdle { transform-box: fill-box; transform-origin: 0 50%; animation: hx-set .9s var(--hx-ease) .2s both; }
  .hx-art .hx-hurdle { animation-delay: .4s; }
  .hx-art .hx-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: hx-rise .95s var(--hx-ease) calc(.7s + var(--i, 0) * 90ms) both; }
  .hx-art .hx-gold { transform-box: fill-box; transform-origin: 50% 100%; animation: hx-rise 1.2s cubic-bezier(.34, 1.3, .5, 1) 1.1s both; }
}
@keyframes hx-rise { from { transform: scaleY(0); } to { transform: none; } }
@keyframes hx-set { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hx-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Home hero ---- */
h1.duo { font-size: clamp(3.25rem, 8.2vw, 9.5rem); }
.c4-hero { padding-top: clamp(56px, 7vw, 104px); }
.c4-hero-top { padding-bottom: clamp(56px, 6vw, 88px); }
.c4-aside { display: flex; flex-direction: column; gap: 44px; }
.c4-aside .hx-art { max-width: 400px; }
.c4-aside p { margin-bottom: 28px; }

/* ---- Next call: ruled editorial block, big light countdown ---- */
.next4 { background: #fff; border: 0; border-top: 1px solid var(--hc-navy); border-bottom: 1px solid var(--h-line); border-radius: 0; padding: 40px 0 44px; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, .8fr); gap: 56px; }
.next4 h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.next4-when { font-size: .8rem; margin-bottom: 18px; }
.next4-sub { margin-top: 12px; }
.next4-side { gap: 18px; }

.countdown { display: flex; gap: 0; border: 0; border-radius: 0; overflow: visible; min-width: 0; }
.countdown > div { background: none; border: 0; border-left: 1px solid var(--h-line); border-radius: 0; padding: 4px 28px; text-align: left; }
.countdown > div:first-child { border-left: 0; padding-left: 0; }
.countdown b { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.8rem, 4.6vw, 4.6rem); line-height: .95; letter-spacing: -.045em; color: var(--hc-navy); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: .75rem; color: var(--h-muted); text-transform: none; letter-spacing: 0; }
.detail-cd { margin-top: 44px; }

/* ---- Numbered rules: bar glyph + the "set" line draws on scroll ---- */
.rule4 { position: relative; }
.rule4 span { display: inline-flex; align-items: flex-end; gap: 10px; }
.rule4 span::before {
  content: ''; width: 13px; height: 12px;
  background:
    linear-gradient(var(--hc-navy), var(--hc-navy)) 0 100% / 3px 5px no-repeat,
    linear-gradient(var(--hc-navy), var(--hc-navy)) 5px 100% / 3px 8px no-repeat,
    linear-gradient(var(--hc-gold), var(--hc-gold)) 10px 100% / 3px 12px no-repeat;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rule4 { border-top-color: transparent; }
    .rule4::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform-origin: 0 50%; animation: hx-set linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .band4c .rule4::before { background: var(--tint-line); }
  }
}

/* ---- Section rhythm on the home page ---- */
.c4-hero ~ .section { padding-top: clamp(80px, 10vw, 144px); padding-bottom: clamp(80px, 10vw, 144px); }
.band4c { padding-top: clamp(80px, 10vw, 144px); }
.figures4 { padding: clamp(64px, 8vw, 112px) 0 clamp(24px, 3vw, 40px); }

/* ---- Rundown rows: display-type dates, token cost as plain text ---- */
.run-when .d { font-family: var(--font-display); font-weight: 300; font-size: 2.1rem; letter-spacing: -.035em; line-height: 1; }
.run-when .t { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: .75rem; }
.run h3 { font-weight: 400; font-size: 1.55rem; letter-spacing: -.02em; transition: color .25s var(--hx-ease); }
.run-cta .token-pill { background: none; padding: 0; border-radius: 0; color: var(--gold-800); font-weight: 600; font-size: .9rem; }
.run-past { font-size: .88rem; color: var(--h-muted); }
.run:focus-visible { outline-offset: 6px; }

/* ---- Status as dot + text ---- */
.status-dot { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--hc-navy); }
.status-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--royal-600); }
.status-dot.is-live i { background: var(--hc-green); }
.status-dot.is-past { color: var(--h-muted); }
.status-dot.is-past i { background: #9aa6b8; }

/* ---- Event detail ---- */
.detail-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 5vw, 72px) !important; }
.detail-hero h1 { margin-top: 0; text-wrap: balance; }
.detail-status { margin-top: 28px; }
.detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: none; margin-top: 36px; border-top: 1px solid var(--h-line); }
.detail-meta > span { padding: 18px 24px 0 0; margin: 0; border-right: 0; font-size: .85rem; color: var(--h-muted); }
.detail-meta b { margin-top: 6px; }
.detail-grid { margin-top: clamp(40px, 5vw, 64px) !important; }
.detail-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: .92rem; color: var(--h-body); }
.detail-note svg { flex: 0 0 auto; color: var(--royal-600); }

/* ---- Inner page heads (dashboard, billing) ---- */
.dash-head { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4vw, 56px) !important; }
.dash-head h1 { font-size: clamp(2.9rem, 5.4vw, 5rem); }
.balance-card { border-radius: 12px; padding: 20px 28px; gap: 28px; }
.balance-label { font-size: .85rem; color: var(--h-muted); margin-bottom: 10px; }
.balance-num { font-family: var(--font-display); font-weight: 300; font-size: 3rem; letter-spacing: -.03em; }

/* ---- Token bundles: big quantity, plain-text flag, button pinned to the bottom ---- */
.bundle-grid { gap: 16px; margin-top: 8px; }
.bundle { display: flex; flex-direction: column; text-align: left; padding: 30px 26px 26px; border: 1px solid var(--h-line); border-radius: 12px; transition: border-color .3s var(--hx-ease); }
.bundle:hover { transform: none; box-shadow: none; border-color: var(--royal-600); }
.bundle.featured { border-color: var(--hc-navy); background: #f7f9fd; box-shadow: none; }
.bundle .qty { order: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(3.2rem, 4.4vw, 4.4rem); letter-spacing: -.05em; line-height: .9; color: var(--hc-navy); }
.bundle .qty small { font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; margin-left: 4px; }
.bundle .price { order: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: -.02em; color: var(--hc-navy); margin: 18px 0 2px; }
.bundle .per { order: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-mono); font-size: .76rem; color: var(--h-muted); }
.bundle-flag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: .82rem; font-weight: 600; color: var(--gold-800); }
.bundle-flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hc-gold); }
.bundle .bundle-name { order: 3; margin: 22px 0 4px; padding-top: 18px; border-top: 1px solid var(--h-line); font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--hc-navy); }
.bundle .blurb { order: 4; min-height: 0; margin: 0 0 24px; font-size: .92rem; }
.bundle form { order: 5; margin-top: auto; }

/* ---- Empty states ---- */
.empty-state { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 8px; }
.empty-state .muted { margin: 0 0 20px; max-width: 40ch; }
.empty-title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.015em; color: var(--hc-navy); margin: 0 0 6px; }

/* ---- How it works: ruled columns instead of three boxed cards ---- */
.steps { gap: clamp(28px, 4vw, 56px); }
.step { background: none; border: 0; border-top: 1px solid var(--hc-navy); border-radius: 0; padding: 28px 0 0; box-shadow: none; }
.step-num { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.045em; color: var(--h-soft); margin-bottom: 28px; }
.step-num::after { display: none; }
.split.band { background: var(--h-grey) !important; border-radius: 12px; padding: clamp(28px, 5vw, 64px) !important; align-items: center; }
.split.band h2 { font-size: clamp(2rem, 3.6vw, 3rem) !important; font-weight: 400; letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }

/* ---- About: equal stat tiles ---- */
.statline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.statline .s { margin: 0 !important; border-radius: 8px; }

/* ---- Replays: dates on one line ---- */
.news-item { grid-template-columns: 160px minmax(0, 1fr) 220px; }

/* ---- Header: 44px targets, CTA row centered ---- */
.nav-cta { align-items: center; }
.nav-cta .nav-login { display: inline-flex; align-items: center; }
@media (min-width: 941px) { .nav-links a:not(.nav-mobile-only) { min-height: 44px; display: inline-flex; align-items: center; } }

/* ---- Footer: statement, ruled columns, fitted wordmark ---- */
.hfoot { padding-top: clamp(72px, 8vw, 112px); }
.hfoot-top { padding-bottom: 56px; }
.hfoot-brand .hfoot-statement { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; color: var(--h-ink); max-width: 22ch; margin: 0 0 28px; text-wrap: balance; }
.hfoot-col h2 { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: 0; color: var(--h-muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--h-line); }
.hfoot-col li a { padding: 10px 0; }
.hfoot-social a { display: inline-flex; align-items: center; min-height: 44px; }
.hfoot-giant-wrap { padding-top: 8px; overflow: hidden; }
.hfoot-giant { display: inline-block; margin: 0 0 -.06em; white-space: nowrap; font-family: var(--font-display); font-weight: 300; font-size: 15vw; line-height: 1; letter-spacing: -.055em; color: #dde3ec; user-select: none; }
.hfoot-giant span { color: #ccd7ee; }

@media (max-width: 1080px) {
  .next4 { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 960px) {
  .c4-aside { gap: 32px; }
  .c4-aside .hx-art { max-width: 300px; }
}
@media (max-width: 940px) {
  .hx-aside { width: 110px; margin-bottom: 28px; }
}
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .next4 { grid-template-columns: minmax(0, 1fr); padding: 32px 0 36px; gap: 28px; }
  .countdown > div { flex: 1 1 0; padding: 0 14px; }
  .countdown b { font-size: clamp(2.6rem, 13vw, 3.4rem); }
}
@media (max-width: 640px) {
  .c4-aside .hx-art { max-width: 220px; }
  .run-when .d { display: block; font-size: 1.7rem; margin: 0; }
  .run-when .t { margin-top: 6px; }
  .empty-state { grid-template-columns: 1fr; gap: 20px; }
  .hx-mini { width: 64px; }
  .balance-card { width: 100%; justify-content: space-between; }
}

/* Fitted type is measured synchronously; the reduced-motion "transition-duration: .01ms" on * would
   otherwise turn every property into a transition and the measurement reads the old size. */
[data-fit], [data-fit] * { transition: none !important; }
.hx-mini .hx-grid, .hx-aside .hx-grid { display: none; }
/* About quote: same display voice as the rest of the site */
.split-visual .q { font-weight: 400; font-stretch: 100%; letter-spacing: -.025em; line-height: 1.15; }
.statline .s b { font-family: var(--font-display); font-weight: 400; font-stretch: 100%; letter-spacing: -.02em; }

/* Seat rows with Join state (partials/seat-row.ejs) */
.seat-item { align-items: flex-start; }
.seat-info { min-width: 0; }
.seat-info .who a { color: inherit; text-decoration: none; }
.seat-info .who a:hover { color: var(--h-primary); }
.seat-dot { margin-top: 8px; font-size: .88rem; }
.status-dot.is-pending i { background: var(--gold-600, #c89a2e); }
.seat-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; max-width: 360px; }
.seat-actions .btn[disabled] { opacity: 1; color: var(--h-muted); border-color: var(--line-2); background: #fff; }
.seat-note { font-size: .88rem; color: var(--h-muted); }
.seat-form-inline { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.seat-link { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--h-primary); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.seat-link.seat-cancel { color: var(--h-muted); }
.seat-link.seat-cancel:hover { color: #9b2c2c; }
.my-seats { margin-top: 24px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.my-seats h3 { font-size: 1.1rem; margin: 0 0 4px; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--h-ink); }
@media (max-width: 640px) {
  .seat-item { flex-direction: column; }
  .seat-actions { justify-content: flex-start; max-width: none; }
}

/* ============================================================
   Admin: sub-nav, KPI row, members search, errors, stats for nerds.
   Light surfaces, 6px controls, monospace numbers, no pills.
   ============================================================ */
.admin-head { padding: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 36px) !important; }
.admin-head h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); margin: 0 0 10px; }
.admin-head p { margin: 0; color: var(--h-body); max-width: 70ch; }
.admin-nav { border-bottom: 1px solid var(--h-line); background: #fff; }
.admin-nav-row { display: flex; gap: 28px; overflow-x: auto; }
.admin-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 14px 0 13px; font-weight: 500; font-size: .95rem; color: var(--h-body); text-decoration: none; white-space: nowrap; }
.admin-nav a:hover { color: var(--h-ink); }
.admin-nav a[aria-current="page"] { color: var(--h-ink); }
.admin-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--h-mark); }
.admin-nav-count { font-size: .78rem; color: var(--err, #b3261e); }
.admin-body { padding-top: 36px !important; padding-bottom: 72px !important; }
.admin-h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.num, .num-cell, .kpi-value, .fig-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num-cell { font-size: .88rem; white-space: nowrap; }
.small { font-size: .8rem; }
.r { text-align: right; }
.admin-table th { text-align: left; color: var(--h-muted); font-size: .8rem; font-weight: 600; padding-bottom: 10px; }

.kpi-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--h-ink); border-bottom: 1px solid var(--h-line); }
.kpi { padding: 18px 20px 20px 0; border-right: 1px solid var(--h-line); margin-right: 20px; min-width: 0; }
.kpi:last-child { border-right: 0; margin-right: 0; }
.kpi-label { margin: 0 0 10px; font-size: .85rem; color: var(--h-muted); }
.kpi-value { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1; color: var(--h-ink); letter-spacing: -.02em; }
.kpi-of { font-size: .55em; color: var(--h-muted); letter-spacing: 0; }
.kpi-note { margin: 10px 0 0; font-size: .82rem; color: var(--h-body); overflow-wrap: anywhere; }
.kpi.is-alert .kpi-value { color: var(--err, #b3261e); }
.kpi-links { display: flex; gap: 28px; margin: 18px 0 0; }

.admin-search { margin: 0 0 20px; max-width: 620px; }
.admin-search label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--h-ink); }
.admin-search-row { display: flex; gap: 10px; }
.admin-search input { flex: 1; min-height: 40px; border: 1px solid #8391a3; border-radius: 6px; padding: 8px 12px; font: inherit; }
.src-cell { font-size: .82rem; max-width: 18ch; overflow-wrap: anywhere; }
.form-tz { margin: 4px 0 18px; font-size: .92rem; }

/* Errors */
.err-list { border-top: 2px solid var(--h-ink); }
.err-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--h-line); }
.err-msg { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; margin: 0 0 8px; overflow-wrap: anywhere; }
.err-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .85rem; color: var(--h-body); }
.err-kind { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--h-ink); }
.err-kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--err, #b3261e); }
.err-kind.is-client i { background: var(--h-mark); }
.err-kind.is-process i { background: var(--h-ink); }
.err-stack { margin-top: 12px; }
.err-stack summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--h-primary); }
.err-stack pre { margin: 10px 0 0; padding: 14px 16px; background: var(--h-grey); border: 1px solid var(--h-line); border-radius: 6px; font-family: var(--font-mono); font-size: .78rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; }
.err-ua { margin: 8px 0 0; font-size: .78rem; }
.err-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0 22px; margin: 0; }
.err-facts dt { font-size: .75rem; color: var(--h-muted); margin-bottom: 4px; }
.err-facts dd { margin: 0; font-size: .88rem; white-space: nowrap; }
.err-facts div:first-child dd { font-size: 1.3rem; line-height: 1.1; }

/* Stats for nerds */
.nerd-toc { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 18px; border-bottom: 1px solid var(--h-line); }
.nerd-toc a { color: var(--h-ink); text-decoration: none; font-weight: 500; }
.nerd-toc a:hover { color: var(--h-primary); }
.nerd-toc .num { color: var(--h-mark-text, #8a6410); margin-right: 4px; font-size: .85rem; }
.nerd-sec { padding: 48px 0 8px; }
.nerd-sec + .nerd-sec { border-top: 1px solid var(--h-line); margin-top: 40px; }
.nerd-sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.nerd-sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; }
.nerd-no { font-size: 1rem; color: var(--h-mark-text, #8a6410); }
.nerd-lede { max-width: 62ch; color: var(--h-body); margin: 0 0 22px; }
.nerd-h3 { font-size: 1.15rem; margin: 0 0 12px; }
.nerd-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--h-ink); border-bottom: 1px solid var(--h-line); margin-bottom: 34px; }
.fig { padding: 18px 20px 20px 0; margin-right: 20px; border-right: 1px solid var(--h-line); min-width: 0; }
.fig:last-child { border-right: 0; margin-right: 0; }
.fig-label { margin: 0 0 10px; font-size: .85rem; color: var(--h-muted); }
.fig-value { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; color: var(--h-ink); letter-spacing: -.02em; white-space: nowrap; }
.fig-note { margin: 10px 0 0; font-size: .82rem; color: var(--h-body); }
.fig.is-alert .fig-value { color: var(--err, #b3261e); }
.fig-spark { margin-top: 12px; height: 40px; }
.nerd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-bottom: 34px; }
.nerd-chart { margin: 0 0 34px; }
.nerd-grid .nerd-chart { margin: 0; }
.nerd-chart-narrow { max-width: 720px; }
.nerd-chart figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; font-size: .95rem; }
.nerd-chart figcaption b { font-weight: 600; color: var(--h-ink); }
.nerd-chart figcaption .muted { font-size: .82rem; }
.chart { display: block; width: 100%; height: 120px; }
.nerd-chart-narrow .chart { height: 90px; }
.chart-bar { fill: var(--h-primary); }
.chart-bar.is-hi { fill: var(--h-mark); }
.chart-hit { fill: transparent; }
.chart g:hover > .chart-bar { fill: var(--h-primary-hover); }
.chart-base { stroke: var(--h-line); stroke-width: 1; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: .72rem; color: var(--h-muted); }
.chart-axis-months span { flex: 1; text-align: center; }
.spark { display: block; width: 100%; height: 100%; overflow: visible; }
.nerd-chart .spark { height: 60px; }
.spark-line { fill: none; stroke: var(--h-primary); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark-area { fill: var(--h-primary); opacity: .08; }
.spark-dot { fill: var(--h-primary); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
svg.meter { display: block; width: 100%; height: 6px; } /* stats page SVG meters only; div.meter is the seat bar */
.meter-track { fill: var(--h-grey-2); }
.meter-fill { fill: var(--h-primary); }
.nerd-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nerd-table th, .nerd-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--h-line); vertical-align: top; }
.nerd-table td:last-child, .nerd-table th:last-child { padding-right: 0; }
.nerd-table thead th { font-size: .78rem; font-weight: 600; color: var(--h-muted); text-align: left; }
.nerd-table thead th.r { text-align: right; }
.nerd-table tbody th { text-align: left; font-weight: 500; color: var(--h-body); }
.nerd-table tr.is-total th, .nerd-table tr.is-total td { color: var(--h-ink); font-weight: 600; border-bottom: 2px solid var(--h-ink); }
.nerd-calls td a { color: var(--h-ink); font-weight: 600; }
.fill-cell { min-width: 120px; }
.fill-cell svg.meter { margin: 7px 0 6px; }
.table-scroll { overflow-x: auto; margin-bottom: 14px; }
.funnel, .src-list { list-style: none; margin: 0 0 30px; padding: 0; max-width: 860px; }
.funnel li, .src-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 70px 150px; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--h-line); }
.src-list li { grid-template-columns: minmax(140px, 260px) minmax(0, 1fr) 60px 90px; }
.funnel-step, .src-name { font-weight: 500; color: var(--h-ink); overflow-wrap: anywhere; }
.funnel-n, .src-n { text-align: right; font-size: 1.05rem; color: var(--h-ink); }
.funnel-pct, .src-buy { font-size: .8rem; }
.integ-list { list-style: none; margin: 0 0 12px; padding: 0; }
.integ-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--h-line); font-size: .92rem; }
.integ-list .status-dot { font-size: .92rem; }
@media (max-width: 1080px) {
  .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi:nth-child(3) { border-right: 0; margin-right: 0; }
  .err-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
  .kpi-row, .nerd-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi, .fig { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--h-line); }
  .nerd-grid { grid-template-columns: minmax(0, 1fr); }
  .funnel li, .src-list li { grid-template-columns: minmax(0, 1fr) 60px; }
  .funnel-bar, .src-bar { grid-column: 1 / -1; order: 3; }
  .funnel-pct, .src-buy { grid-column: 1 / -1; order: 4; }
}

/* Seat join-link rows */
.seat-code-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.seat-code-label { font-size: .82rem; color: var(--h-muted); }
.seat-code { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .98rem; font-weight: 500; letter-spacing: .06em; color: var(--h-ink, #0a1a45); background: var(--h-grey, #f4f6f9); border: 1px solid var(--h-line, #dce3ea); border-radius: 6px; padding: 3px 8px; user-select: all; }
.seat-copy { font: inherit; font-size: .85rem; color: var(--h-primary); background: #fff; border: 1px solid var(--h-line, #dce3ea); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.seat-copy:hover { border-color: var(--h-primary); }
.seat-copy.is-done { color: #1d6b3a; border-color: #1d6b3a; }
.replay-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.ops-row.ops-setup-row { display: block; }
/* Long Zoom scope names must wrap on a phone instead of widening the card. */
.ops-cols > div { min-width: 0; }
.ops-steps, .ops-kv dd { overflow-wrap: anywhere; }
.ops-setup > summary { cursor: pointer; color: var(--h-primary, #1F45C8); font-weight: 600; padding: 6px 0; }
.ops-setup > summary:focus-visible { outline: 3px solid #D9A93A; outline-offset: 2px; border-radius: 6px; }
.ops-setup[open] > summary { margin-bottom: 8px; }
.ops-setup .ops-card { margin: 0 0 8px; }
#control-room [hidden] { display: none !important; }
.cr-people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--h-line, #dce3ea); }
.cr-person { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--h-line, #dce3ea); }
.cr-person .cr-name { display: flex; flex-direction: column; min-width: 0; }
.cr-person .cr-email { font-size: .78rem; color: var(--h-muted); overflow-wrap: anywhere; }
.cr-person .cr-state { font-size: .85rem; color: var(--h-muted); text-align: right; }
.cr-timeline { grid-column: 2 / -1; margin: 2px 0 0; padding-left: 16px; font-size: .78rem; color: var(--h-muted); }
.cr-status.is-bad { color: #A3261F; }
@media (max-width: 600px) { .cr-person { grid-template-columns: auto 1fr; } .cr-person .cr-state { grid-column: 2; text-align: left; } }
.seat-join-url { font-size: .8rem; letter-spacing: 0; word-break: break-all; max-width: 100%; }
.seat-steps { margin: 8px 0 0; font-size: .86rem; color: var(--h-muted); max-width: 520px; }
.rc-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.rc-count { background: #fff; border: 1px solid var(--h-line, #dce3ea); border-radius: 6px; padding: 14px 16px; }
.rc-count b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--h-ink, #0a1a45); }
.rc-count span { font-size: .85rem; color: var(--h-muted); }
.rc-count.is-alert { border-color: #c0392b; }
.rc-count.is-alert b { color: #9b2c2c; }
.rc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rc-table th { text-align: left; font-size: .78rem; color: var(--h-muted); font-weight: 600; padding: 0 10px 8px 0; border-bottom: 1px solid var(--h-line, #dce3ea); }
.rc-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--h-line, #dce3ea); vertical-align: top; overflow-wrap: anywhere; }
.rc-table .muted { font-size: .8rem; }
.rc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.rc-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rc-upload input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
@media (max-width: 640px) {
  .rc-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-table thead { display: none; }
  .rc-table tr { display: block; border-bottom: 1px solid var(--h-line, #dce3ea); padding: 8px 0; }
  .rc-table td { display: block; border: 0; padding: 2px 0; }
}
@media print {
  .nav, .site-footer, .feed-strip, .admin-nav, .rc-noprint, .rc-upload, header, footer { display: none !important; }
  .rc-section { break-inside: avoid; }
}


/* ============================================================
   Admin: page text editor (/admin/content) and the FAQ page.
   Light surfaces, 6px controls, no pills.
   ============================================================ */
.ct-pages { border-top: 2px solid var(--h-ink); max-width: 860px; }
.ct-page { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--h-line); color: var(--h-body); text-decoration: none; }
.ct-page:hover, .ct-page:hover * { text-decoration: none; }
.ct-page:hover .ct-page-name, .ct-page:focus-visible .ct-page-name { color: var(--h-primary); }
.ct-page-name { font-weight: 600; font-size: 1.1rem; color: var(--h-ink); }
.ct-page-meta { font-size: .9rem; }
.ct-page-go { font-weight: 500; color: var(--h-primary); white-space: nowrap; }
.ct-wrap > * { max-width: 900px; }
.ct-back { margin: 0 0 18px; font-size: .92rem; }
.ct-back a { text-decoration: none; }
.ct-note { margin: 0 0 14px; color: var(--h-body); }
.ct-notice { margin: 0 0 20px; padding: 14px 16px; border: 1px solid #9cc7a8; border-left: 4px solid #2e7d4f; border-radius: 6px; background: #f1f8f3; }
.ct-notice p { margin: 0; color: var(--h-ink); }
.ct-notice p + p { margin-top: 6px; }
.ct-notice .ct-warn { color: #7a4b00; }
.ct-notice.is-error { border-color: #e2a9a4; border-left-color: var(--err, #b3261e); background: #fdf3f2; }
.ct-help { margin: 0 0 8px; padding: 12px 16px; border: 1px solid var(--h-line); border-radius: 6px; background: #fff; }
.ct-help summary { cursor: pointer; font-weight: 600; color: var(--h-ink); }
.ct-help ul { margin: 12px 0 2px; padding-left: 20px; font-size: .92rem; line-height: 1.6; }
.ct-help code { font-family: var(--font-mono); font-size: .85em; background: var(--h-grey); padding: 1px 5px; border-radius: 4px; }
.ct-fields { border-top: 2px solid var(--h-ink); }
.ct-field { padding: 18px 0 16px; border-bottom: 1px solid var(--h-line); scroll-margin-top: 90px; }
.ct-field-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; margin-bottom: 8px; }
.ct-field-head label { font-weight: 600; color: var(--h-ink); }
.ct-state { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--h-muted); }
.ct-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--h-line); }
.ct-state.is-edited { color: var(--h-body); }
.ct-state.is-edited i { background: var(--h-mark); }
.ct-field input[type="text"], .ct-field textarea { display: block; width: 100%; box-sizing: border-box; border: 1px solid #8391a3; border-radius: 6px; padding: 9px 12px; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--h-ink); background: #fff; }
.ct-field textarea { resize: vertical; min-height: 96px; }
.ct-field input[type="text"]:focus, .ct-field textarea:focus { outline: 2px solid var(--h-primary); outline-offset: 1px; border-color: var(--h-primary); }
.ct-field.has-error input, .ct-field.has-error textarea { border-color: var(--err, #b3261e); }
.ct-error { margin: 8px 0 0; color: var(--err, #b3261e); font-size: .9rem; }
.ct-field-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 8px; font-size: .85rem; color: var(--h-muted); }
.ct-count { font-family: var(--font-mono); font-size: .8rem; }
.ct-count.is-over { color: #8a4b00; font-weight: 600; }
.ct-actions { display: inline-flex; gap: 18px; margin-left: auto; }
.ct-actions a { font-weight: 500; }
.ct-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--h-primary); text-decoration: underline; cursor: pointer; }
.ct-linkbtn:hover { color: var(--h-ink); }
.ct-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--h-line); background: #fff; }
.ct-savebar-note { font-size: .88rem; color: var(--h-muted); }
.ct-versions { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--h-ink); }
.ct-version { padding: 16px 0; border-bottom: 1px solid var(--h-line); }
.ct-version.is-current { padding: 14px 16px; border: 1px solid var(--h-line); border-radius: 6px; background: var(--h-grey); }
.ct-version-meta { margin: 0 0 8px; font-size: .88rem; color: var(--h-body); }
.ct-version-text { margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.55; color: var(--h-ink); max-height: 340px; overflow: auto; }
.ct-version.is-current .ct-version-text { margin: 0; }
.ct-version-text.is-reset { color: var(--h-muted); font-style: italic; }
body:has(.content-preview-bar) { padding-top: 42px; }
.content-preview-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 10px 16px; background: #fff4d6; border-bottom: 1px solid #e0c27a; color: #3d2f00; font-size: .92rem; text-align: center; }
.faq-body h2 { margin-top: 1.6em; }
.faq-body h2:first-child { margin-top: 0; }
.faq-more { margin-top: 2em; color: var(--h-body); }
@media (max-width: 760px) {
  .ct-page { grid-template-columns: minmax(0, 1fr) auto; }
  .ct-page-meta { grid-column: 1 / -1; order: 3; }
  .ct-actions { margin-left: 0; }
}
/* Questions from the call under the replay (lib/live-chat.js replayQa). */
.rqa-list { list-style: none; margin: 0; padding: 0; }
.rqa-item { padding: 12px 0; border-top: 1px solid var(--line); }
.rqa-item:first-child { border-top: 0; padding-top: 0; }
.rqa-q { margin: 0; font-size: .9rem; color: var(--h-muted); }
.rqa-q b { color: inherit; font-weight: 700; }
.rqa-votes { display: inline-block; min-width: 5.5em; font-variant-numeric: tabular-nums; }
.rqa-body { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rqa-status { margin: 6px 0 0; font-size: .88rem; font-weight: 700; color: #1E7A46; }
.rqa-answer { margin: 8px 0 0; padding: 10px 12px; border-radius: 6px; background: #F4F6F9; }

/* Insider calls (routes/insider.js, dashboard): a small dot-and-word mark, never a pill. */
.insider-mark { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .85rem; font-weight: 700; color: var(--hc-navy); }
.insider-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--hc-gold); box-shadow: 0 0 0 2px rgba(217, 169, 58, .25); }
.ins-page { padding-top: 56px; }
.ins-wrap { max-width: 680px; }
.ins-card { display: grid; gap: 14px; }
.ins-card p { margin: 0; }
.ins-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.12; margin: 2px 0 0; }
.ins-when { font-weight: 600; color: var(--hc-navy); font-variant-numeric: tabular-nums; }
.ins-summary, .ins-lead { color: #3A4456; line-height: 1.6; }
.ins-state { display: grid; gap: 6px; padding: 14px 16px; border-radius: 6px; background: #F4F6F9; }
.ins-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ins-actions form { margin: 0; }
.ins-change { margin: 0; }
.ins-note { font-size: .88rem; color: var(--h-muted, #5B6580); }
.ins-invites { margin-bottom: 18px; }
.ins-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #E6EAF0; }
.ins-invite:first-of-type { border-top: 0; }
.ins-invite .who { font-weight: 700; }
.ins-invite .meta { font-size: .9rem; color: var(--h-muted, #5B6580); }
.ins-invite form { margin: 0; display: inline; }
.ins-invite-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
