/* === Staffing Referrals · V3 site ===
   Brand tokens now come from the CANONICAL source of truth:
   brand/tokens.css — edit colors/type/scale THERE and it flows to
   this site and the product app. Do not redefine token values here. */
@import url("brand/tokens.css?v=24");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }

/* accent word: confident display weight + brand blue→cyan gradient — NOT italic serif */
.serif { font-family: var(--font-display); font-weight: 700; font-style: normal; letter-spacing: -0.02em; position: relative; }
.grad-accent { background: var(--grad-iris); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .grad-accent { animation: iris-shift 7s ease-in-out infinite; }
}
@keyframes iris-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.mono { font-family: var(--font-mono); }
.tabular { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.eyebrow.accent { color: var(--accent); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.dot::before { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 1; }

.hl-mark { background: linear-gradient(transparent 62%, hsl(var(--accent-h) 84% 67% / 0.22) 62%); padding: 0 2px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; font-family: var(--font-display); font-size: 14px; font-weight: 600; transition: all 0.2s; border-radius: 2px; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); gap: 12px; }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { gap: 12px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 2px; }
.card-soft { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 2px; }
.card-dark { background: var(--ink); color: #fff; border-radius: 2px; }

.h-display { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 68px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.h2 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.18; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* === Site nav === */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(250,251,253,0.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.015em; font-size: 14px; }
.nav-logo { width: 22px; height: 22px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-family: var(--font-mono); border-radius: 3px; }
.brand-lockup { height: 30px; width: auto; display: block; }
.footer .brand-lockup { height: 27px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link { position: relative; font-size: 13px; color: var(--text-muted); font-weight: 500; padding: 8px 12px; border-radius: 3px; transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-link.active { color: var(--text); }
.nav-link.has-menu::after { content: '⌄'; margin-left: 4px; opacity: 0.5; font-size: 10px; }

.dropdown { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.18); padding: 8px; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: all 0.18s; }
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 4px; color: var(--text); font-size: 13px; font-weight: 500; }
.dropdown a:hover { background: var(--bg-warm); }
.dropdown a small { font-weight: 400; color: var(--text-subtle); margin-top: 2px; font-size: 12px; line-height: 1.4; }
.dropdown .dd-divider { height: 1px; background: var(--border); margin: 7px 8px; }
.dropdown .dd-group-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); padding: 9px 12px 5px; }
.dropdown a .dd-motion { display: inline-block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 2px; margin-bottom: 5px; }

/* === Footer === */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; background: var(--bg-warm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px; }
.footer h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-subtle); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { font-size: 13px; color: var(--text-muted); }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 12px; color: var(--text-subtle); gap: 8px; }

@media (max-width: 1040px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .nav-links { display: none; } }

/* Mobile nav */
.nav-burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 8px; background: none; border: 0; cursor: pointer; }
/* While the menu is open the toggle must never leave the viewport (it is the only close control) */
.nav-burger.is-open { position: fixed; top: 12px; right: 16px; z-index: 60; background: var(--bg); border-radius: 4px; }
.nav-burger span { display: block; height: 2px; width: 22px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: 84px 24px 48px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 14px 2px; font-size: 17px; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { border-bottom: 0; }
.mobile-menu .mm-label { margin: 18px 0 4px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-subtle); }
@media (max-width: 720px) { .nav-burger { display: flex; } }
@media (min-width: 721px) { .mobile-menu { display: none; } }

/* === Hero === */
.hero { padding: 96px 0 80px; position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -10% 0 0 0; z-index: -1; background: var(--aurora-light); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
/* === Hero template (canonical copy column) ===
   Structure every hero-grid page as:
     .hero-copy > .hero-kicker (fixed slot) > h1 > .lead > .hero-ctas
   The kicker slot fits an eyebrow, a back-link, or a back-link+badge combo
   at one fixed height, so the H1 lands at an identical Y on every page.
   No inline margins on any of these elements; overrides are bugs. */
.hero-copy .hero-kicker { min-height: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-copy h1 { margin: 20px 0 0; }
.hero-copy .lead { margin: 24px 0 32px; max-width: 540px; }
.hero-copy .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* === Browser frame === */
.browser-frame { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 3px; overflow: hidden; box-shadow: 0 24px 56px -34px rgba(20,18,12,0.22); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-warm); border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-url { flex: 1; padding: 4px 10px; background: var(--surface); border-radius: 4px; border: 1px solid var(--border); font-size: 11px; color: var(--text-muted); text-align: center; font-family: var(--font-mono); }

/* === Grid bg === */
.grid-bg { background-image: linear-gradient(hsl(0 0% 100% / 0.05) 1px, transparent 1px), linear-gradient(90deg, hsl(0 0% 100% / 0.05) 1px, transparent 1px); background-size: 32px 32px; }

/* === PDF / print button === */
.pdf-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 100px; font-size: 12px; font-weight: 500; box-shadow: 0 12px 32px -10px rgba(0,0,0,0.35); transition: transform 0.2s; white-space: nowrap; }
.pdf-btn:hover { transform: translateY(-2px); }

/* === Common helpers === */
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin: 0 0 12px; }
.section-head p { margin: 0; font-size: 17px; color: var(--text-muted); max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.feature-card { padding: 28px; height: 100%; transition: transform 0.25s cubic-bezier(0.2,0.8,0.2,1), border-color 0.25s, box-shadow 0.25s; }
a.feature-card:hover { border-color: var(--ink); }
.feature-card .feature-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--accent); border: 1px solid var(--border-strong); border-radius: 2px; margin-bottom: 18px; transition: border-color 0.25s; }
a.feature-card:hover .feature-icon { border-color: var(--accent); }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.feature-card .feat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--accent); font-weight: 500; transition: gap 0.2s; }
a.feature-card:hover .feat-link { gap: 10px; }

/* === Bullet check === */
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.bullets svg { flex: none; margin-top: 2px; color: var(--accent); }

/* === Pill === */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; background: var(--accent-soft); color: var(--accent-deep); border-radius: 2px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; }
.pill.warn { background: hsl(35 80% 94%); color: hsl(35 80% 30%); }
.pill.muted { background: var(--bg-warm); color: var(--text-muted); }

/* === Step list === */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); }
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-subtle); letter-spacing: 0.04em; padding-top: 4px; }
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* === Referral Flywheel (vanilla port) === */
.flywheel-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 48px; }
@media (max-width: 900px) { .flywheel-grid { grid-template-columns: 1fr; gap: 40px; } }
.flywheel { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1/1; margin: 0 auto; }
.flywheel > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.fw-hub-c { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 42%; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.fw-hub-c .lbl { font-family: var(--font-mono); font-size: 8.5px; color: var(--text-subtle); letter-spacing: 0.14em; text-transform: uppercase; }
.fw-hub-c .ag { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px,1.9vw,21px); letter-spacing: -0.02em; line-height: 1; color: var(--text); margin-top: 2px; }
.fw-label { position: absolute; text-align: center; width: 100px; pointer-events: none; transform: translate(-50%,-50%); }
.fw-label .nm { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); transition: color 0.3s; }
.fw-label .sb { display: none; }
@media (max-width: 480px) { .fw-label { width: 80px; } .fw-label .nm { font-size: 12px; } .fw-label .sb { font-size: 8.5px; } }

/* === Anim ===
   Reveal works via transitions, not keyframes — more robust than animation-fill-mode.
   Default: visible. .pending hides it. .fade-up makes it visible (no-op if already visible). */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.2,0.8,0.2,1), transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
[data-reveal].pending {
  opacity: 0;
  transform: translateY(14px);
}
.fade-up {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.12s; }
.fade-up-3 { animation-delay: 0.20s; }
.fade-up-4 { animation-delay: 0.28s; }

@keyframes pulse-soft { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse-soft { animation: pulse-soft 2s ease-in-out infinite; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track { animation: ticker 50s linear infinite; }

/* === Phone === */
.phone { width: 280px; background: #0b0b0a; border-radius: 32px; padding: 7px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4); }
.phone-screen { background: #fff; border-radius: 26px; overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: #0b0b0a; border-radius: 100px; z-index: 5; }

/* === Motion hub / overview components (V3 platform section) === */
/* System-of-action line: ATS → SR → Source/Scale/Retain */
.sysflow { display: grid; grid-template-columns: auto auto 1fr; gap: 20px; align-items: center; margin-top: 44px; }
@media (max-width: 760px) { .sysflow { grid-template-columns: 1fr; gap: 14px; } }
.sysflow .node { border: 1px solid var(--border-strong); border-radius: 2px; background: var(--surface); padding: 18px 20px; text-align: center; }
.sysflow .node .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); }
.sysflow .node .v { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 4px; letter-spacing: -0.01em; }
.sysflow .node.sr { border-color: var(--accent); background: var(--accent-soft); }
.sysflow .node.sr .v { color: var(--accent-deep); }
.sysflow .arrow { color: var(--text-subtle); font-family: var(--font-mono); font-size: 18px; text-align: center; }
@media (max-width: 760px) { .sysflow .arrow { transform: rotate(90deg); } }
.sysflow .motions3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (max-width: 760px) { .sysflow .motions3 { grid-template-columns: 1fr; } }
.sysflow .motions3 .m { border: 1px solid var(--border); border-radius: 2px; background: var(--surface); padding: 14px 16px; }
.sysflow .motions3 .m .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sysflow .motions3 .m .nm { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-top: 3px; }
.sysflow .motions3 .m .ds { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.45; }

/* Motion cards (overview) — extends feature-card with a motion tag + product chips */
.motion-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.motion-prods { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.motion-prods .mp { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--text); }
.motion-prods .mp .d { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* Flow with signature moment */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow .fstep { border: 1px solid var(--border); border-radius: 2px; background: var(--surface); padding: 22px 20px 24px; position: relative; min-height: 168px; display: flex; flex-direction: column; }
.flow .fstep .fn { font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); letter-spacing: 0.04em; }
.flow .fstep h3 { margin: 12px 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.flow .fstep p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.flow .fstep.signature { border-color: var(--emerald); }

/* Real-time notification card — the one signature moment */
.notif { margin-top: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 2px; box-shadow: 0 12px 28px -16px rgba(20,18,12,0.28); padding: 11px 13px; display: flex; gap: 10px; align-items: flex-start; }
.notif .gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); margin-top: 4px; flex: none; box-shadow: 0 0 0 3px hsl(160 84% 39% / 0.16); }
.notif .ntxt { font-size: 12.5px; line-height: 1.4; color: var(--text); }
.notif .ntxt b { font-weight: 600; }
.notif .nts { font-family: var(--font-mono); font-size: 10px; color: var(--text-subtle); margin-top: 3px; }
.flow .fstep.signature .notif { opacity: 0; transform: translateY(12px); }
.flow .fstep.signature.live .notif { animation: notif-in 0.6s cubic-bezier(0.2,0.8,0.2,1) forwards; }
@keyframes notif-in { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .flow .fstep.signature .notif { opacity: 1; transform: none; animation: none; } }

/* Budget reframe — two-bar cost comparison */
.cost-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: 520px; margin-top: 12px; }
.cost-col { text-align: center; }
.cost-bar { width: 100%; border-radius: 2px 2px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 12px; color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: 15px; }
.cost-bar.board { background: var(--border-strong); color: var(--text); }
.cost-bar.network { background: var(--accent); }
.cost-col .lbl { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.4; }
.cost-col .lbl b { color: var(--text); font-weight: 600; display: block; font-size: 13.5px; }

/* Big stat blocks */
.stat-big .n { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(40px, 5vw, 60px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 16px hsl(262 86% 60% / 0.22)); }
.stat-big .n .ph-flag { -webkit-text-fill-color: var(--warn); }
.stat-big p { margin: 14px 0 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }
.stat-big .src { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-subtle); margin-top: 10px; }

/* Pull quote */
.pullquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 28px; }
.pullquote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.28; letter-spacing: -0.02em; color: var(--ink); }
.pullquote .attr { margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.pullquote .attr b { color: var(--text); font-weight: 600; }

/* Logo proof bar — intentional hairline cells, not dashed placeholders */
.logo-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.logo-bar .lg { flex: 1; min-width: 120px; height: 56px; border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-subtle); letter-spacing: -0.01em; background: var(--surface); box-shadow: var(--elev-1); transition: color .2s, border-color .2s; }
.logo-bar .lg:hover { color: var(--text-muted); border-color: var(--border-strong); }
.logo-bar .lg img { max-height: calc(30px * var(--logo-s, 1)); max-width: 86%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.58; transition: filter 0.25s, opacity 0.25s; }
.logo-bar .lg:hover img { filter: grayscale(0); opacity: 1; }

/* Customer proof — flagship + vertical grid */
.flagship { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); max-width: 880px; margin: var(--space-7) 0 0; }
.flagship-attr { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); font-size: 13.5px; color: var(--text-muted); }
.flagship-attr img { height: 28px; width: auto; object-fit: contain; }

.cust-group { margin-top: var(--space-8); }
.cust-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); border-bottom: 1px solid var(--border); padding-bottom: var(--space-3); }
.cust-group-head h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.cust-group-link { font-family: var(--font-mono); font-size: 12px; color: var(--accent); white-space: nowrap; text-decoration: none; transition: opacity var(--dur-base) var(--ease-ui); }
.cust-group-link:hover { opacity: 0.6; }

/* two-up split for the smaller verticals */
.cust-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 760px) { .cust-split { grid-template-columns: 1fr; } }

.cust-card { padding: var(--space-5); display: flex; flex-direction: column; height: 100%; transition: transform var(--dur-base) var(--ease-ui), border-color var(--dur-base), box-shadow var(--dur-base); }
.cust-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--elev-3); }
.cust-card .cust-tag { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-subtle); }
.cust-stat { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(40px, 4.4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-top: var(--space-2); }
.cust-ctx { margin: var(--space-3) 0 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }

/* identifier footer — every logo optically normalized to equal visual weight.
   Source files bake in very different padding / mark heights, so a single fixed
   height makes compact logos (e.g. careteam) read tiny next to wide wordmarks.
   The per-logo --logo-s scale (below) tunes each so the wordmark lands at the
   same optical size, and the slot keeps a consistent height across cards. */
.cust-id { margin-top: auto; padding-top: var(--space-4); display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--border); min-height: calc(40px + var(--space-4)); }
.cust-id .cust-logo { height: calc(30px * var(--logo-s, 1)); max-width: 168px; width: auto; object-fit: contain; object-position: left center; filter: grayscale(100%); opacity: 0.72; transition: filter var(--dur-base), opacity var(--dur-base); }
.cust-card:hover .cust-id .cust-logo { filter: grayscale(0); opacity: 1; }
.cust-id .cust-logo.is-mark { height: calc(34px * var(--logo-s, 1)); width: auto; max-width: 44px; flex: 0 0 auto; }
.cust-id .cust-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }

/* per-logo optical scale — applies wherever a given logo is used (cards + logo bar + wall).
   Tuned so every mark lands at roughly equal optical cap-height despite very different
   source padding and aspect ratios. Higher = the source art is small/compact in its canvas. */
img[src*="comphealth"]        { --logo-s: 1.12; }
img[src*="care-team"]         { --logo-s: 1.75; }
img[src*="heitmeyer"]         { --logo-s: 0.72; }
img[src*="your-employment"]   { --logo-s: 1.0; }
img[src*="mas-medical"]       { --logo-s: 1.12; }
img[src*="ccs-construction"]  { --logo-s: 0.86; }
img[src*="broadstaff"]        { --logo-s: 0.73; }
img[src*="voca"]              { --logo-s: 1.02; }
img[src*="nextaff"]           { --logo-s: 0.9; }
img[src*="covelo"]            { --logo-s: 1.42; }
img[src*="weatherby"]         { --logo-s: 1.0; }
img[src*="seek-careers"]      { --logo-s: 0.82; }
img[src*="worldwide"]         { --logo-s: 1.0; }
img[src*="hardhat"]           { --logo-s: 0.85; }
img[src*="ghr-healthcare"]    { --logo-s: 1.55; }
img[src*="resource-1"]        { --logo-s: 1.5; }
img[src*="express-employment"]{ --logo-s: 1.75; }
img[src*="murray"]            { --logo-s: 0.95; }
img[src*="integrity"]         { --logo-s: 1.02; }
img[src*="uniti-med"]         { --logo-s: 1.3; }
img[src*="unite-contracting"] { --logo-s: 1.2; }
img[src*="crossmed"]          { --logo-s: 1.34; }
img[src*="catapult"]          { --logo-s: 1.34; }
img[src*="search-services"]   { --logo-s: 1.05; }

/* ===== Logo marquee — seamless scrolling proof strip (homepage) ===== */
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: logo-scroll 64s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
/* Uniform height (~30% bigger), one flat gray, even spacing. mix-blend multiply
   drops the white background on raster logos so mixed sources read as one set. */
.logo-marquee__track img { height: calc(44px * var(--logo-s, 1)); width: auto; max-width: 168px; flex: 0 0 auto; object-fit: contain; filter: grayscale(100%); opacity: 0.62; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.logo-marquee__track img:hover { filter: grayscale(0); opacity: 1; mix-blend-mode: normal; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee { overflow-x: auto; } .logo-marquee__track { animation: none; } }

/* ===== Logo wall — static breadth grid (customers) ===== */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; margin-top: var(--space-6); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall .lw { background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 24px 18px; min-height: 94px; }
.logo-wall .lw img { height: calc(30px * var(--logo-s, 1)); max-width: 80%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: filter .25s, opacity .25s; }
.logo-wall .lw:hover img { filter: grayscale(0); opacity: 1; }

/* horizontal spotlight for single-card verticals */
.cust-card.is-wide { flex-direction: row; align-items: center; gap: var(--space-6); }
.cust-card.is-wide .cust-stat { font-size: clamp(44px, 5vw, 60px); flex: 0 0 auto; }
.cust-card.is-wide .sp-body { display: flex; flex-direction: column; min-width: 0; }
.cust-card.is-wide .cust-id { margin-top: var(--space-3); padding-top: 0; border-top: none; }

/* Placeholder marker for unconfirmed values */
.ph-flag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); border: 1px solid hsl(35 80% 80%); background: hsl(35 80% 96%); padding: 1px 5px; border-radius: 2px; vertical-align: middle; margin-left: 6px; }

/* Value rows (icon + text, 3-up) */
.value-rows { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .value-rows { grid-template-columns: 1fr; } }
.value-row { padding: 24px; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); }
.value-row .vicon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); border: 1px solid var(--border-strong); border-radius: 2px; margin-bottom: 16px; }
.value-row h3 { margin: 0 0 7px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.value-row p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* === Print === */
@media print {
  .nav-wrap, .pdf-btn, .ticker-track { display: none !important; }
  .section { padding: 32px 0; page-break-inside: avoid; }
  .footer { display: none; }
  body { background: #fff; }
}

::selection { background: hsl(var(--accent-h) 84% 67% / 0.35); }

/* === Brand signature: aurora blooms (the blue→cyan "fade" on dark panels) === */
.bloom { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 0; }
.bloom.cyan { width: 380px; height: 380px; top: -130px; right: -80px; background: radial-gradient(circle, hsl(195 100% 56% / 0.42), transparent 70%); }
.bloom.blue { width: 480px; height: 480px; bottom: -190px; left: -110px; background: radial-gradient(circle, hsl(243 92% 62% / 0.46), transparent 70%); }
.bloom.violet { width: 360px; height: 360px; top: 30%; left: 40%; background: radial-gradient(circle, hsl(262 86% 64% / 0.40), transparent 70%); }
@media (max-width: 720px) { .bloom { filter: blur(54px); } .bloom.cyan, .bloom.blue { width: 280px; height: 280px; } }

/* Grid lines on dark panels get a faint cool tint to sit with the blooms */
.grid-bg { background-image:
    linear-gradient(hsl(200 100% 80% / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, hsl(200 100% 80% / 0.06) 1px, transparent 1px); }

/* Stage labels on product cards */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--grad-iris); transform:scaleX(0); transform-origin:left; transition:transform var(--dur-nav) var(--ease-ui); }
a.feature-card:hover::before { transform:scaleX(1); }
.card-num { position:absolute; top:6px; right:18px; font-family:var(--font-display); font-weight:800; font-size:72px; line-height:1; letter-spacing:-0.05em; background:var(--grad-iris); -webkit-background-clip:text; background-clip:text; color:transparent; opacity:0.10; pointer-events:none; transition:opacity var(--dur-nav) var(--ease-ui); }
a.feature-card:hover .card-num { opacity:0.24; }
.feat-top { display:flex; align-items:center; gap:12px; margin-bottom:18px; position:relative; }
.feat-top .feature-icon { margin-bottom:0; background:var(--accent-soft); border-color:transparent; }
a.feature-card:hover .feature-icon { background:var(--accent); color:#fff; border-color:transparent; }
.stage-tag { display:flex; align-items:center; font-family:var(--font-mono); font-size:10px; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--accent); }

/* === Industries: benchmark band + customer proof === */
.logo-row{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch;margin-top:24px;}
.logo-ph{height:48px;flex:1 1 120px;max-width:170px;background:var(--surface);border:1px dashed var(--border-strong);border-radius:4px;display:grid;place-items:center;font-family:var(--font-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-subtle);}
.logo-ph img{max-height:30px;max-width:130px;object-fit:contain;}
/* filled customer-logo cell (industry pages) — same optical treatment as the wall */
.logo-row .logo-cell{height:58px;flex:1 1 130px;max-width:184px;background:var(--surface);border:1px solid var(--border);border-radius:4px;display:grid;place-items:center;padding:0 16px;}
.logo-row .logo-cell img{height:calc(28px * var(--logo-s,1));max-width:90%;width:auto;object-fit:contain;filter:grayscale(100%);opacity:0.62;transition:filter .25s,opacity .25s;}
.logo-row .logo-cell:hover img{filter:grayscale(0);opacity:1;}
.report-tag{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);background:var(--accent-soft);padding:6px 12px;border-radius:999px;}
.cust-quote{font-family:var(--font-display);font-weight:600;font-size:clamp(20px,2.2vw,26px);line-height:1.35;letter-spacing:-0.02em;max-width:720px;}

/* === The Network constellation === */
.net-viz{position:relative;width:100%;aspect-ratio:13/10;}
.net-viz svg{width:100%;height:100%;overflow:visible;}
@media (prefers-reduced-motion: no-preference){
  .net-halo{animation:net-pulse 3.4s ease-in-out infinite;}
  .net-halo:nth-of-type(2){animation-delay:1.1s;}
}
@keyframes net-pulse{0%,100%{transform:scale(1);opacity:0.10;}50%{transform:scale(1.5);opacity:0.22;}}

/* === Brand photo treatment (cohesion across mixed-source photography) === */
.photo{position:relative;border-radius:var(--radius-md);overflow:hidden;background:#e9edf3;box-shadow:var(--elev-3);}
.photo image-slot,.photo img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(0.7) contrast(1.06) brightness(1.02) sepia(0.08);}
.photo.ratio-16x9{aspect-ratio:16/9;} .photo.ratio-4x3{aspect-ratio:4/3;} .photo.ratio-3x4{aspect-ratio:3/4;} .photo.ratio-1x1{aspect-ratio:1/1;}
.photo::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(120deg,hsl(243 90% 32%/.30),transparent 52%,hsl(195 100% 46%/.22));mix-blend-mode:soft-light;}
.photo.with-text::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(to top,rgba(13,19,32,.46),transparent 50%);}

/* === Glowing gradient numbers (the luminous "unicorn" stat) === */
.glow-num { background: var(--grad-iris); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 18px hsl(262 86% 60% / 0.26)); }
.glow-num.on-dark { filter: drop-shadow(0 1px 22px hsl(195 100% 60% / 0.45)); }
@media (prefers-reduced-motion: no-preference) {
  .glow-num { animation: iris-shift 8s ease-in-out infinite; }
  .glow-num.on-dark { animation: glow-pulse 4.5s ease-in-out infinite; }
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 1px 20px hsl(195 100% 60% / 0.35)); }
  50% { filter: drop-shadow(0 1px 28px hsl(195 100% 62% / 0.55)); }
}

/* ============================================================
   PREMIUM POLISH — the elite-designer, anti-slop layer
   ============================================================ */

/* Type: balanced headlines (no orphans), pretty paragraphs, real Inter features */
.h-display, .h1, .h2, h1, h2, h3 { text-wrap: balance; }
.lead, .section-head p, p, .feature-card p, .step p { text-wrap: pretty; }
body { font-feature-settings: 'cv11', 'ss01', 'calt', 'liga'; }

/* Accessible, on-brand focus ring (premium = considered states) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 3px; }
a:focus:not(:focus-visible) { outline: none; }

/* Thin, cool custom scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-subtle); }

/* Animated underline on nav + footer links (precise, not decorative) */
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-ui); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.footer ul a { position: relative; }
.footer ul a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-ui); }
.footer ul a:hover::after { transform: scaleX(1); }

/* Cards: refined lift + layered elevation on hover */
a.feature-card, .card { transition: transform var(--dur-nav) var(--ease-ui), border-color var(--dur-base), box-shadow var(--dur-nav) var(--ease-ui); }
a.feature-card:hover { transform: translateY(-3px); box-shadow: var(--elev-3); border-color: var(--border-strong); }

/* Primary button: subtle depth + crisp brand-tinted hover shadow */
.btn-primary { box-shadow: 0 1px 2px rgba(11,14,23,0.16), 0 8px 22px -12px rgba(11,14,23,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11,14,23,0.18), 0 16px 34px -12px hsl(var(--accent-h) 90% 42% / 0.5); }

/* Browser frame: deeper, softer premium shadow */
.browser-frame { box-shadow: var(--elev-4); }
/* Product preview: static illustration, not live UI. Kills dead-click affordance on fake buttons. */
.browser-frame, .browser-frame * { pointer-events: none; user-select: none; cursor: default; }

/* Tasteful image treatment inside frames */
.browser-frame img { display: block; }

/* Reduced-motion guard for the new transforms */
@media (prefers-reduced-motion: reduce) {
  a.feature-card:hover, .btn-primary:hover { transform: none; }
}

/* ============================================================
   PRODUCT PAGE TEMPLATE v2 — shared skeleton, content varies
   Hero → Problem → Signature moment → Capabilities+Outcomes →
   Proof → System connector → CTA. Used by every product leaf.
   ============================================================ */

/* Motion connector: ties a product up to its parent motion */
.motion-up { display: none; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding: 5px 11px 5px 9px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); transition: border-color .2s, color .2s, gap .2s; }
.motion-up:hover { border-color: var(--accent); gap: 10px; }
.motion-up svg { width: 12px; height: 12px; }
.motion-up .mu-arc { color: var(--text-subtle); }

/* Capabilities + outcomes — one section, two intents (replaces 2 redundant grids) */
.cap-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; align-items: start; }
@media (max-width: 900px) { .cap-split { grid-template-columns: 1fr; gap: 36px; } }
.cap-split .col-head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.outcomes li { display: grid; grid-template-columns: 1fr; gap: 4px; }
.outcomes li .ot { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
.outcomes li .od { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* Product-specific proof row */
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
@media (max-width: 760px) { .proof-row { grid-template-columns: 1fr; gap: 36px; } }
.proof-row.duo { grid-template-columns: 1fr 1fr; max-width: 720px; }
.proof-row.solo { grid-template-columns: 1fr; max-width: 560px; }
.proof-item .pn { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 14px hsl(262 86% 60% / 0.18)); }
.proof-item .pl { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.proof-item .pl b { color: var(--text); font-weight: 600; }
.proof-item .ps { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-subtle); margin-top: 9px; }

/* AI Recruit signature — interactive SMS that asks talent for a referral */
.sig-ai { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 44px; align-items: center; }
@media (max-width: 900px) { .sig-ai { grid-template-columns: 1fr; gap: 32px; } }
.sms { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-warm); padding: 18px; max-width: 420px; box-shadow: var(--elev-3); display: flex; flex-direction: column; }
.sms-hd { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.sms-av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex: none; }
.sms-nm { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.sms-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-subtle); margin-top: 1px; }
.sms-body { display: flex; flex-direction: column; gap: 9px; min-height: 268px; max-height: 268px; overflow-y: auto; padding-right: 4px; }
.sms-body::-webkit-scrollbar { width: 5px; }
.sms-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.bub { max-width: 82%; padding: 10px 13px; font-size: 13.5px; line-height: 1.45; opacity: 0; animation: bub-in 0.42s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.bub.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; color: var(--text); }
.bub.talent { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 14px 14px 4px 14px; }
.bub .bm { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; opacity: 0.55; }
.bub.ai b { font-weight: 600; }
.typing { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; padding: 12px 14px; display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-subtle); animation: td 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes td { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes bub-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .bub { animation-duration: 0.01s; } .typing span { animation: none; } }
.sms-reply { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; min-height: 38px; }
.qr { border: 1px solid var(--accent); color: var(--accent); background: var(--surface); border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, transform .12s; font-family: var(--font-sans); }
.qr:hover { background: var(--accent); color: #fff; }
.qr:active { transform: scale(0.96); }
.qr.replay { border-color: var(--border-strong); color: var(--text-muted); }
.qr.replay:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sig-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.sig-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.sig-steps .sn { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); padding-top: 2px; }
.sig-steps h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sig-steps p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.match-out { margin-top: 4px; border: 1px solid var(--border); border-radius: 3px; background: var(--surface); padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: border-color .25s, background .25s; }
.match-out.done { border-color: var(--emerald); background: hsl(160 84% 39% / 0.06); }
.match-out .mdot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-subtle); flex: none; transition: background .25s, box-shadow .25s; }
.match-out.done .mdot { background: var(--emerald); box-shadow: 0 0 0 3px hsl(160 84% 39% / 0.16); }
.match-out .mt { font-size: 13px; color: var(--text); line-height: 1.45; }
.match-out .mt b { font-weight: 600; }

/* "Part of the system" connector — motion + sibling products */
.sys-connector { margin-top: 44px; border: 1px solid var(--border); border-radius: 3px; background: var(--surface); overflow: hidden; }
.sys-connector .sc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--bg-warm); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.sys-connector .sc-head .scm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.sys-connector .sc-head .scm b { color: var(--accent); font-weight: 600; }
.sys-connector .sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .sys-connector .sc-grid { grid-template-columns: 1fr; } }
.sys-connector .sc-cell { padding: 20px 24px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; transition: background .18s; }
.sys-connector .sc-cell:last-child { border-right: 0; }
.sys-connector a.sc-cell:hover { background: var(--bg-warm); }
.sys-connector .sc-cell.current { background: var(--accent-soft); }
.sys-connector .sc-cell .sck { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.sys-connector .sc-cell.current .sck { color: var(--accent-deep); }
.sys-connector .sc-cell .scn { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--text); display: flex; align-items: center; gap: 7px; }
.sys-connector .sc-cell .scd { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.sys-connector a.sc-cell .scn::after { content: '→'; opacity: 0; margin-left: -4px; transition: opacity .18s, margin .18s; color: var(--accent); }
.sys-connector a.sc-cell:hover .scn::after { opacity: 1; margin-left: 0; }

/* Loyalty tier-progress mock (from product app) */
.tier-prog { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.tier-prog > span { display: block; height: 100%; border-radius: 999px; background: var(--grad-iris); }

/* ============================================================
   PRICING PAGE — value-anchored, model-forward, no public price
   ============================================================ */

/* "The math" signature moment — editorial reframe of job-board waste */
.math-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; margin-top: 0; }
@media (max-width: 900px) { .math-wrap { grid-template-columns: 1fr; gap: 40px; } }
.math-lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 20px; }
.math-body { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0 0 28px; max-width: 460px; }
.math-q { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--text); line-height: 1.4; padding-top: 24px; border-top: 1px solid var(--border); }
.math-q b { background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the waste visual: a stacked bill where half is "already yours" */
.waste { background: var(--ink); color: #fff; border-radius: var(--radius-md); padding: 36px; position: relative; overflow: hidden; box-shadow: var(--elev-4); }
.waste .grid-bg { position: absolute; inset: 0; opacity: 0.5; }
.waste-inner { position: relative; z-index: 1; }
.waste-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.waste-fig { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 24px; }
.waste-bar { height: 56px; border-radius: 3px; display: flex; overflow: hidden; border: 1px solid rgba(255,255,255,0.16); }
.waste-bar .seg { display: flex; align-items: center; padding: 0 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.waste-bar .seg.lost { background: hsl(195 100% 56% / 0.92); color: var(--ink); flex: 1; }
.waste-bar .seg.rest { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); flex: 1; }
.waste-legend { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 22px; }
.waste-legend .wl { display: flex; align-items: flex-start; gap: 10px; max-width: 220px; }
.waste-legend .wl .dot { width: 9px; height: 9px; border-radius: 2px; margin-top: 5px; flex: none; }
.waste-legend .wl .dot.cyan { background: hsl(195 100% 56%); }
.waste-legend .wl .dot.dim { background: rgba(255,255,255,0.3); }
.waste-legend .wl .wt { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.78); }
.waste-legend .wl .wt b { color: #fff; font-weight: 600; display: block; font-family: var(--font-mono); font-size: 14px; }
.waste-note { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.45); margin-top: 22px; line-height: 1.5; }

/* Plan tier cards */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 28px; display: flex; flex-direction: column; height: 100%; position: relative; transition: transform var(--dur-nav) var(--ease-ui), box-shadow var(--dur-nav) var(--ease-ui), border-color var(--dur-base); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--elev-3); border-color: var(--border-strong); }
.plan.featured { border-color: var(--accent); box-shadow: var(--elev-3); }
.plan.featured::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-md); padding: 1px; background: var(--grad-iris); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.55; }
.plan-badge { position: absolute; top: -11px; left: 28px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 11px; border-radius: 999px; }
.plan-name { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.plan-tag { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; margin: 12px 0 10px; color: var(--ink); }
.plan-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0 0 22px; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); min-height: 34px; }
.plan-price .per { font-size: 13px; color: var(--text-subtle); letter-spacing: 0; }
.plan-price-note { font-size: 12.5px; color: var(--text-muted); margin: 8px 0 22px; line-height: 1.45; min-height: 36px; }
.plan-price-note .ph-flag { margin-left: 0; }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.plan-incl-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 14px; padding-top: 22px; border-top: 1px solid var(--border); }
.plan-incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.plan-incl li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.plan-incl li svg { flex: none; margin-top: 3px; color: var(--accent); width: 15px; height: 15px; }
.plan-incl li.plus { color: var(--text-muted); font-style: italic; font-size: 12.5px; padding-bottom: 4px; }

/* Compare table */
.cmp-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13.5px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp thead th { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); background: var(--bg-warm); position: sticky; top: 0; }
.cmp thead th.feat-col { text-align: left; color: var(--text-subtle); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.cmp thead th.is-pro { color: var(--accent); }
.cmp tbody td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.cmp tbody td.is-pro { background: var(--accent-soft); }
.cmp tr.row-group td { background: var(--surface); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); font-weight: 500; padding-top: 18px; }
.cmp .yes { color: var(--accent); }
.cmp .no { color: var(--border-strong); }
.cmp .no::after { content: "\2013"; }
.cmp .txt { font-size: 12.5px; color: var(--text-muted); }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* Risk reversal band */
.risk { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 36px 40px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--elev-1); }
@media (max-width: 720px) { .risk { grid-template-columns: 1fr; gap: 18px; padding: 28px; } }
.risk-mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.risk-mark svg { width: 30px; height: 30px; }
.risk h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.risk p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.55; max-width: 640px; }

/* FAQ accordion */
.faq { max-width: 820px; margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.faq-q:hover { color: var(--accent); }
.faq-ic { flex: none; width: 22px; height: 22px; position: relative; transition: transform var(--dur-base) var(--ease-ui); }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-ic::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-ic::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); transition: opacity var(--dur-base) var(--ease-ui); }
.faq-item.open .faq-ic::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-nav) var(--ease-ui); }
.faq-a-inner { padding: 0 4px 24px; font-size: 15px; color: var(--text-muted); line-height: 1.6; max-width: 680px; }
.faq-a-inner b { color: var(--text); font-weight: 600; }

/* Loyalty reward catalog — real Tremendous-backed rewards, monochrome per Points UI standard */
.reward-cat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 900px) { .reward-cat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reward-cat { grid-template-columns: 1fr 1fr; } }
.rwd { border: 1px solid var(--border); border-radius: 3px; background: var(--surface); padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; min-height: 150px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.rwd:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--elev-3); }
.rwd .rwd-ic { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 2px; color: var(--text); background: var(--bg-warm); }
.rwd .rwd-ic svg { width: 19px; height: 19px; }
.rwd .rwd-nm { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; line-height: 1.25; }
.rwd .rwd-pt { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: 0.04em; color: var(--text-subtle); margin-top: auto; }
.rwd .rwd-pt b { color: var(--text); font-weight: 500; }

/* ============================================================
   INTEGRATIONS — hub + spokes (shared components)
   ============================================================ */

/* Logo lockup: partner wordmark × SR */
.intg-lockup { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.intg-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -0.02em; color: var(--ink); }
.intg-x { color: var(--text-subtle); font-size: 17px; }
.intg-lockup img { height: 23px; width: auto; }

/* Certified / partner badge */
.intg-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.intg-badge svg { width: 13px; height: 13px; }

/* Sync rows (hero panel) */
.intg-sync { display: grid; gap: 10px; }
.intg-sync .row { display: flex; align-items: center; gap: 11px; font-size: 13px; }
.intg-sync .row .gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex: none; box-shadow: 0 0 0 3px hsl(160 84% 39% / 0.14); }
.intg-sync .row .lab { color: var(--text); font-weight: 500; }
.intg-sync .row .st { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }

/* Data-flow diagram (how it works) */
.intg-flow { display: flex; align-items: stretch; margin-top: 44px; border: 1px solid var(--border); border-radius: 3px; background: var(--surface); overflow: hidden; box-shadow: var(--elev-1); }
.intg-flow .stage { flex: 1; padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--border); position: relative; }
.intg-flow .stage:last-child { border-right: 0; }
.intg-flow .stage.sr { background: var(--accent-soft); }
.intg-flow .stage .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.intg-flow .stage.sr .k { color: var(--accent-deep); }
.intg-flow .stage .nm { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.intg-flow .stage .ds { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 760px) { .intg-flow { flex-direction: column; } .intg-flow .stage { border-right: 0; border-bottom: 1px solid var(--border); } .intg-flow .stage:last-child { border-bottom: 0; } }

/* Category chips */
.intg-chip { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.intg-chip.ats { background: hsl(160 52% 93%); color: hsl(160 64% 26%); }
.intg-chip.alt { background: var(--bg-warm); color: var(--text-muted); border: 1px solid var(--border); }

/* Hub: featured cards (4-up) */
.intg-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
@media (max-width: 980px) { .intg-feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .intg-feature-grid { grid-template-columns: 1fr; } }
.intg-feature { padding: 22px 22px 20px; display: flex; flex-direction: column; height: 100%; }
.intg-feature .feat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.intg-feature .feat-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.intg-feature p { margin: 0 0 16px; font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.intg-feature .feat-link { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
a.intg-feature:hover .feat-link { gap: 10px; }

/* Hub: all-integrations grid (3-up) */
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .intg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .intg-grid { grid-template-columns: 1fr; } }
.intg-cell { border: 1px solid var(--border); border-radius: 2px; background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.intg-cell .cell-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.intg-cell .cell-nm { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; color: var(--text); }
.intg-cell .cell-ds { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.intg-cell .cell-link { margin-top: 1px; font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s; }
a.intg-cell { transition: transform var(--dur-nav) var(--ease-ui), border-color var(--dur-base), box-shadow var(--dur-nav) var(--ease-ui); }
a.intg-cell:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--elev-3); }
a.intg-cell:hover .cell-link { gap: 9px; }
.intg-cell.muted { background: var(--bg-warm); }

/* Setup steps compact (reuses .steps but tightened for spokes) */
.intg-note { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-subtle); line-height: 1.6; }

/* ============================================================
   CUSTOMER CASE STUDY — detail pages (AI-citable, stat-forward)
   ============================================================ */
.cs-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cs-meta .cs-logo { height: calc(26px * var(--logo-s, 1)); width: auto; object-fit: contain; }
.cs-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-chip { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .cs-stats { grid-template-columns: 1fr 1fr; } }
.cs-stat { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--elev-1); }
.cs-stat .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.cs-stat.up .v { color: var(--emerald); }
.cs-stat .l { font-size: 13.5px; color: var(--text-muted); line-height: 1.45; margin-top: 13px; }
.cs-stat .l b { color: var(--text); font-weight: 600; }
.cs-prose { max-width: 740px; }
.cs-prose p { font-size: 16px; color: var(--text-muted); line-height: 1.65; margin: 0 0 16px; }
.cs-prose p b, .cs-prose strong { color: var(--text); font-weight: 600; }
.cs-problems { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; max-width: 740px; }
.cs-problems li { display: grid; grid-template-columns: auto 1fr; gap: 13px; font-size: 14.5px; line-height: 1.5; align-items: start; }
.cs-problems li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.cs-problems li b { color: var(--text); font-weight: 600; }
.cs-bars { display: grid; gap: 18px; margin-top: 8px; max-width: 580px; }
.cs-bar-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.cs-bar-top b { color: var(--text); font-weight: 600; }
.cs-bar-track { height: 38px; border-radius: 3px; background: var(--bg-warm); border: 1px solid var(--border); overflow: hidden; display: flex; }
.cs-bar-fill { height: 100%; display: flex; align-items: center; padding: 0 14px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; border-radius: 2px; }
.cs-bar-fill.accent { background: var(--accent); }
.cs-bar-fill.muted { background: var(--border-strong); color: var(--text); }

/* ============================================================
   INTEGRATION SPOKE — "spec sheet / wiring" template
   Centered, technical, schematic-forward. Deliberately unlike
   the marketing/product hero so the section reads as its own family.
   ============================================================ */
.spk-hero { position: relative; padding: 50px 0 60px; text-align: center; isolation: isolate; overflow: hidden; }
.spk-hero .container { position: relative; z-index: 1; }
.spk-gridbg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 26%, #000 32%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 64% at 50% 26%, #000 32%, transparent 74%); opacity: 0.7; }
.spk-backrow { text-align: left; }
.spk-lock { display: inline-flex; align-items: center; justify-content: center; margin: 22px auto 30px; }
.spk-lock .node { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(16px, 1.9vw, 21px); color: var(--ink); padding: 13px 22px; border: 1px solid var(--border-strong); border-radius: 11px; background: var(--surface); box-shadow: var(--elev-2); white-space: nowrap; }
.spk-lock .node.sr { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-soft); }
.spk-lock .wire { width: 54px; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--accent)); position: relative; flex: none; }
.spk-lock .wire::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
@media (max-width: 540px) { .spk-lock { flex-direction: column; } .spk-lock .wire { width: 2px; height: 30px; } }
.spk-hero h1 { max-width: 880px; margin: 0 auto; }
.spk-hero .lead { margin: 20px auto 0; max-width: 600px; }
.spk-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.spk-spec { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); box-shadow: var(--elev-1); overflow: hidden; margin-top: 38px; }
.spk-spec .cell { padding: 13px 22px; border-right: 1px solid var(--border); text-align: left; }
.spk-spec .cell:last-child { border-right: 0; }
.spk-spec .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); }
.spk-spec .v { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; margin-top: 4px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.spk-spec .v.ok { color: var(--accent-deep); }
.spk-spec .v.ok svg { width: 13px; height: 13px; }
@media (max-width: 640px) { .spk-spec { display: grid; grid-template-columns: 1fr 1fr; } .spk-spec .cell { border-bottom: 1px solid var(--border); } .spk-spec .cell:nth-child(even) { border-right: 0; } }

/* schematic signature (the data-flow diagram, enlarged on a tech grid) */
.spk-flow-wrap { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; box-shadow: var(--elev-2); margin-top: 40px; }
.spk-flow-wrap .gridlines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 26px 26px; opacity: 0.45; }
.spk-flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.spk-flow .st { padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; }
.spk-flow .st .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.spk-flow .st .nm { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.spk-flow .st .ds { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.spk-flow .st.sr { background: var(--accent-soft); }
.spk-flow .st.sr .nm { color: var(--accent-deep); }
.spk-flow .conn { display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-mono); font-size: 18px; padding: 0 4px; }
@media (max-width: 760px) { .spk-flow { grid-template-columns: 1fr; } .spk-flow .conn { transform: rotate(90deg); padding: 6px 0; } .spk-flow .st { border-top: 1px solid var(--border); } }

/* capabilities as mono-numbered spec rows (not boxy cards) */
.spk-caps { border-top: 1px solid var(--border); margin-top: 44px; }
.spk-cap { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.spk-cap .no { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.04em; }
.spk-cap .ct h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.spk-cap .ct p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.55; max-width: 660px; }
@media (max-width: 540px) { .spk-cap { grid-template-columns: 1fr; gap: 6px; } }

/* light "connect" close (deliberately NOT the dark bloom band) */
.spk-connect { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--elev-3); padding: 56px 40px; text-align: center; overflow: hidden; }
.spk-connect .gridlines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 26px 26px; opacity: 0.4; -webkit-mask-image: radial-gradient(ellipse 64% 80% at 50% 50%, #000, transparent 76%); mask-image: radial-gradient(ellipse 64% 80% at 50% 50%, #000, transparent 76%); }
.spk-connect .inner { position: relative; z-index: 1; }

/* ============================================================
   PARTNER LOGOS — one uniform treatment, always on a light tile
   (full-color marks with dark text never sit on a dark band)
   ============================================================ */
.plogo { display: block; width: auto; max-width: 100%; object-fit: contain; height: calc(var(--ph, 28px) * var(--logo-s, 1)); }
img[src*="partners/bullhorn-ventures"] { --logo-s: 1.0; }
img[src*="partners/bullhorn."]         { --logo-s: 1.05; }
img[src*="partners/avionte"]           { --logo-s: 1.05; }
img[src*="partners/great-recruiters"]  { --logo-s: 1.18; }
img[src*="partners/clearlyrated"]      { --logo-s: 1.0; }
img[src*="partners/staffing-future"]   { --logo-s: 1.06; }
img[src*="partners/laboredge"]         { --logo-s: 1.16; }
img[src*="partners/tempworks"]         { --logo-s: 0.98; }
img[src*="partners/salesforce"]        { --logo-s: 1.12; }
img[src*="partners/jobdiva"]           { --logo-s: 1.0; }
img[src*="partners/jobadder"]          { --logo-s: 1.0; }
img[src*="partners/bhn-rewards"]       { --logo-s: 0.92; }
img[src*="partners/opus-match"]        { --logo-s: 1.12; }
img[src*="partners/staffing-engine"]   { --logo-s: 1.04; }
img[src*="partners/staffupapp"]        { --logo-s: 1.04; }
img[src*="partners/textus"]            { --logo-s: 1.0; }
img[src*="partners/workn"]             { --logo-s: 1.04; }
img[src*="sr-logo"]                    { --logo-s: 1.0; }

/* Partner logos read as ONE calm family: muted + grayscale by default, true
   brand color on hover/focus. Tames the multi-color logo grid on the hub.
   (Spoke hero lockups keep full color — one intentional color moment per page.) */
.intg-feature .plogo, .intg-cell .plogo { filter: grayscale(1); opacity: 0.62; transition: filter .25s var(--ease-ui), opacity .25s var(--ease-ui); }
.intg-feature:hover .plogo, .intg-feature:focus-within .plogo,
.intg-cell:hover .plogo, .intg-cell:focus-within .plogo { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .intg-feature .plogo, .intg-cell .plogo { transition: none; } }

/* Featured card: logo replaces the text name */
.intg-feature .feat-logo { --ph: 30px; }
/* Grid cell: logo replaces the text name */
.intg-cell .cell-top { min-height: 32px; align-items: center; }
.intg-cell .cell-logo { --ph: 23px; }
.intg-cell .cell-nm { align-self: center; }

/* Lockup nodes hold logos; both sides are identical white tiles */
.spk-lock .node { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; }
.spk-lock .node.sr { color: var(--ink); border-color: var(--border-strong); background: var(--surface); }
.spk-lock .node .plogo { --ph: 24px; }
.spk-lock .node.sr .plogo { --ph: 19px; }

/* Investor / "backed by" band — isolated home for a partner's own-color mark */
.invest-band { display: flex; align-items: center; gap: 30px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); padding: 24px 30px; box-shadow: var(--elev-1); flex-wrap: wrap; }
.invest-band .il { display: flex; flex-direction: column; gap: 8px; flex: none; }
.invest-band .il .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); }
.invest-band .il-tile { background: var(--ink); border-radius: var(--radius-sm); padding: 18px 24px; display: flex; align-items: center; justify-content: center; min-width: 188px; }
.invest-band .il-tile img { height: 52px; width: auto; object-fit: contain; }
.invest-band .ic { font-size: 15px; color: var(--text-muted); line-height: 1.58; max-width: 560px; border-left: 1px solid var(--border); padding-left: 30px; }
.invest-band .ic p { margin: 0; }
.invest-band .ic b { color: var(--text); font-weight: 600; }
.invest-band .invest-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); transition: gap 0.2s; }
.invest-band .invest-link:hover { gap: 10px; }

/* ============================================================
   RESOURCES — hub filter + detail pages (guide / report / webinar)
   ============================================================ */
/* Hub filter bar */
.res-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.res-tab { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-muted); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.res-tab:hover { color: var(--text); border-color: var(--text-subtle); }
.res-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.res-tab .ct { font-variant-numeric: tabular-nums; opacity: 0.55; margin-left: 4px; }
.res-section.is-hidden { display: none; }

/* Card badges (reuse .intg-cell grid) */
.res-badge { font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.res-badge.guide { background: hsl(161 52% 93%); color: hsl(161 64% 24%); }
.res-badge.webinar { background: var(--accent-soft); color: var(--accent-deep); }
.res-badge.report { background: hsl(28 84% 93%); color: hsl(28 84% 32%); }
.res-vid { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); margin-left: auto; }
.res-vid svg { width: 12px; height: 12px; }
.res-card-title { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; line-height: 1.3; margin: 12px 0 0; color: var(--text); }
.intg-cell .res-card-title + .cell-ds { margin-top: 8px; }

/* Detail: two-column content + gate */
.res-detail-grid { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .res-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Detail: responsive 16:9 video */
.res-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--ink); box-shadow: var(--elev-2); }
.res-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Detail: what you'll learn / what's inside */
.res-learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.res-learn li { display: grid; grid-template-columns: auto 1fr; gap: 14px; font-size: 15.5px; line-height: 1.55; color: var(--text); align-items: start; }
.res-learn li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; flex: none; }

/* Detail: gated form card */
.hs-gate { border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--elev-2); padding: 28px; position: sticky; top: 88px; }
@media (max-width: 900px) { .hs-gate { position: static; } }
.hs-gate .gate-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hs-gate h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 8px 0 18px; line-height: 1.2; }
.hsform-fallback { display: grid; gap: 10px; }
.hsff-field { height: 42px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-warm); display: flex; align-items: center; padding: 0 13px; font-size: 13px; color: var(--text-subtle); }
.hs-note { font-family: var(--font-mono); font-size: 10px; color: var(--text-subtle); margin-top: 14px; line-height: 1.5; }
/* Mounted HubSpot form inside the gate card (loader in site.js) */
.hs-gate-mount .hs-form-field > label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.hs-gate-mount .hs-form-field { margin-bottom: 12px; }
.hs-gate-mount input[type=text], .hs-gate-mount input[type=email], .hs-gate-mount input[type=tel],
.hs-gate-mount select, .hs-gate-mount textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; font-family: var(--font-sans, Inter), sans-serif; font-size: 14px; color: var(--ink); box-sizing: border-box; }
@media (max-width: 720px) { .hs-gate-mount input[type=text], .hs-gate-mount input[type=email], .hs-gate-mount input[type=tel], .hs-gate-mount select, .hs-gate-mount textarea { font-size: 16px; } }
.hs-gate-mount input:focus, .hs-gate-mount select:focus, .hs-gate-mount textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hs-gate-mount .hs-button, .hs-gate-mount input[type=submit] { margin-top: 6px; width: 100%; background: var(--ink); color: #fff; border: 0; padding: 12px 18px; border-radius: var(--radius-sm); font-family: var(--font-display), sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; }
.hs-gate-mount .hs-button:hover, .hs-gate-mount input[type=submit]:hover { opacity: .92; }
.hs-gate-mount .hs-error-msg, .hs-gate-mount .hs-error-msgs label { color: #b42318; font-size: 12px; }
.hs-gate-mount .legal-consent-container, .hs-gate-mount .hs-richtext { font-size: 11.5px; color: var(--text-subtle); line-height: 1.5; }
.hs-gate-mount .submitted-message { font-size: 14px; color: var(--text); line-height: 1.6; }
.res-sidecta { border: 1px solid var(--border); background: var(--bg-warm); border-radius: var(--radius-md); padding: 26px; position: sticky; top: 88px; }
@media (max-width: 900px) { .res-sidecta { position: static; } }
.res-sidecta .gate-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.res-sidecta h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin: 8px 0 16px; line-height: 1.25; }
@media (max-width: 640px) { .invest-band .ic { border-left: 0; padding-left: 0; } }

/* ============================================================
   CASE STUDY — "editorial proof" template
   Giant dominant stat, full-bleed dark numbers band, numbered
   chapters, oversized quote. A magazine, not a spec sheet.
   ============================================================ */
.csx-hero { padding: 40px 0 52px; }
.csx-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .csx-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.csx-headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.csx-figure { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; font-size: clamp(86px, 13vw, 184px); line-height: 0.86; letter-spacing: -0.05em; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 34px hsl(262 86% 60% / 0.22)); }
.csx-figure-cap { font-size: 15.5px; color: var(--text-muted); line-height: 1.5; margin-top: 14px; max-width: 400px; }
.csx-figure-cap b { color: var(--text); font-weight: 600; }

/* full-bleed dark numbers band */
.csx-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; border-top: 1px solid var(--ink); }
.csx-band .grid-bg { position: absolute; inset: 0; opacity: 0.5; }
.csx-band .inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .csx-band .inner { grid-template-columns: 1fr 1fr; } }
.csx-band .cell { padding: 44px 30px; border-right: 1px solid rgba(255,255,255,0.12); }
.csx-band .cell:last-child { border-right: 0; }
@media (max-width: 860px) { .csx-band .cell:nth-child(even) { border-right: 0; } .csx-band .cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); } }
.csx-band .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(34px, 4.2vw, 50px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.csx-band .v.cyan { color: hsl(195 100% 66%); }
.csx-band .l { font-size: 13px; color: rgba(255,255,255,0.66); line-height: 1.45; margin-top: 13px; }
.csx-band .l b { color: #fff; font-weight: 600; }

/* numbered editorial chapters */
.csx-chapter { display: grid; grid-template-columns: 132px 1fr; gap: 36px; }
@media (max-width: 760px) { .csx-chapter { grid-template-columns: 1fr; gap: 14px; } }
.csx-chapter .cno { font-family: var(--font-display); font-weight: 800; font-size: 66px; line-height: 0.85; letter-spacing: -0.04em; background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.45; }
.csx-chapter .clabel { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.csx-chapter .ctitle { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.7vw, 31px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 18px; }
.csx-body { max-width: 660px; }
.csx-body p { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }
.csx-body p b, .csx-body strong { color: var(--text); font-weight: 600; }

/* oversized editorial quote */
.csx-quote { max-width: 940px; }
.csx-quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(25px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.csx-quote .mark { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 0.6; color: var(--accent); display: block; height: 38px; }
.csx-quote .attr { margin-top: 26px; font-size: 14px; color: var(--text-muted); }
.csx-quote .attr b { color: var(--text); font-weight: 600; }

/* ===== Infographic viz primitives (shared by case studies) ===== */
/* Share ring (conic donut) */
.viz-rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; align-items: start; }
.viz-ring { display: flex; flex-direction: column; align-items: center; text-align: center; }
.viz-ring .ring { width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--accent) calc(var(--p, 50) * 1%), var(--border) 0); }
.viz-ring .ring::before { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 1px 3px rgba(11,14,23,0.06); }
.viz-ring .ring .pct { position: relative; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.viz-ring .rlabel { font-size: 14px; color: var(--text-muted); line-height: 1.45; margin-top: 16px; max-width: 220px; }
.viz-ring .rlabel b { color: var(--text); font-weight: 600; }

/* Horizontal rollout timeline */
.viz-timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.viz-tl { position: relative; padding: 26px 20px 0 0; border-top: 2px solid var(--border); }
.viz-tl::before { content: ''; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.viz-tl .yr { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.viz-tl .tt { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin-top: 9px; max-width: 220px; }
.viz-tl .tt b { color: var(--text); font-weight: 600; }
@media (max-width: 720px) { .viz-timeline { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; } .viz-tl { border-top: 0; border-left: 2px solid var(--border); padding: 0 0 26px 24px; } .viz-tl::before { top: 0; left: -8px; } .viz-tl .tt { max-width: none; } }

/* Diverging contrast (two stats from a shared baseline) */
.viz-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--elev-1); background: var(--surface); }
@media (max-width: 540px) { .viz-contrast { grid-template-columns: 1fr; } }
.viz-contrast .side { padding: 32px 28px; }
.viz-contrast .side + .side { border-left: 1px solid var(--border); }
@media (max-width: 540px) { .viz-contrast .side + .side { border-left: 0; border-top: 1px solid var(--border); } }
.viz-contrast .side .dir { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.viz-contrast .side .big { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(40px, 5vw, 58px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 0; }
.viz-contrast .side.up .big { color: var(--emerald); }
.viz-contrast .side.down .big { color: var(--text-subtle); }
.viz-contrast .side .cap { font-size: 13.5px; color: var(--text-muted); line-height: 1.45; margin-top: 12px; }
.viz-contrast .side .cap b { color: var(--text); font-weight: 600; }

/* === Form controls (reusable) === */
/* First used by the ROI calculator. Add form/interactive pages here rather than re-rolling inline. */
.form-field { margin-bottom: 18px; }
.form-field:last-child { margin-bottom: 0; }
.form-label { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 8px; }
.form-input, .form-select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 2px; background: var(--surface); font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--text); transition: border-color 0.15s var(--ease-ui); -webkit-appearance: none; appearance: none; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--ink); }
.form-in-wrap { position: relative; }
.form-affix { position: absolute; top: 50%; transform: translateY(-50%); color: var(--text-subtle); font-family: var(--font-mono); font-size: 14px; pointer-events: none; }
.form-affix.pre { left: 14px; }
.form-in-wrap.has-pre .form-input { padding-left: 30px; }
.form-affix.suf { right: 14px; }

/* === Stat card (reusable metric tile) === */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 2px; padding: 16px; }
.stat-card .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 8px; }
.stat-card .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.stat-card .h { font-size: 11.5px; color: var(--text-subtle); margin: 4px 0 0; line-height: 1.4; }
