/* HushHiring.NET — ported theme from the Next.js app's globals.css.
   Hand-written CSS (no Tailwind build) using the identical palette + fonts. */

:root {
  --ink: #0A0E27;
  --ink-soft: #0F1738;
  --ink-muted: #1A2240;
  --bone: #FAFAF9;
  --bone-soft: #F5F5F4;
  --pulse: #22D3EE;
  --pulse-deep: #06B6D4;
  --signal: #10B981;
  --flare: #F43F5E;
  --amber: #F59E0B;
  --hairline: rgba(250, 250, 249, 0.08);
  --font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 1rem;
  --radius-button: 0.625rem;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv01";
  line-height: 1.5;
}
::selection { background: var(--pulse); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 600; margin: 0; }
a { color: inherit; text-decoration: none; }
.link { color: var(--pulse); text-decoration: underline; text-underline-offset: 3px; }
.mono { font-family: var(--font-mono); }
.muted { color: rgba(245, 245, 244, 0.62); }
.text-pulse { color: var(--pulse); }
.text-pulse-deep { color: var(--pulse-deep); }
.text-signal { color: var(--signal); }
.text-amber { color: var(--amber); }
.text-flare { color: var(--flare); }
.text-bone-soft { color: var(--bone-soft); }
.text-gradient {
  background-image: linear-gradient(135deg, #22D3EE 0%, #10B981 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bg-signal { background: var(--signal); }
.bg-amber { background: var(--amber); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 6rem 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--pulse); margin: 0 0 1rem; }
.eyebrow-xs { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; text-wrap: balance; }
.lede { font-size: 1.075rem; color: rgba(245, 245, 244, 0.68); margin: 1.25rem 0 0; max-width: 42rem; text-wrap: pretty; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: var(--radius-button); padding: 0.85rem 1.6rem; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: filter .15s, border-color .15s, transform .15s; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary { background-image: linear-gradient(135deg, #22D3EE, #10B981); color: var(--ink); box-shadow: 0 8px 30px -10px rgba(34,211,238,0.6); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(15,23,56,0.55); backdrop-filter: blur(14px); color: var(--bone); border-color: var(--hairline); }
.btn-ghost:hover { border-color: rgba(34,211,238,0.4); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--hairline); background: rgba(15,23,56,0.55); backdrop-filter: blur(14px) saturate(140%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-dot { width: 0.7rem; height: 0.7rem; border-radius: 999px; background-image: linear-gradient(135deg, #22D3EE, #10B981); box-shadow: 0 0 14px rgba(34,211,238,0.7); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; }
.logo-accent { color: var(--pulse); }
/* padding = half the inter-item gap, so the first/last link keeps the same rhythm
   against the logo and the CTA as the links keep between themselves. */
.nav { display: none; gap: 2rem; padding: 0 1rem; font-size: 0.9rem; color: rgba(245,245,244,0.7); }
.nav-link:hover { color: var(--bone); }
.logout-form { display: inline; margin: 0; }
.logout-btn { background: none; border: none; cursor: pointer; font: inherit; padding: 0; color: rgba(245,245,244,0.7); }
.logout-btn:hover { color: var(--bone); }
/* 1080px, not 880: logo (107) + nav (747) + actions (118) = 972, plus the container's
   48px padding and the nav's own 32px = 1052 before anything can breathe. Switching at
   880 left the bar over-full between 880 and 1020 — links wrapped onto two lines and the
   logo/nav/CTA sat flush against each other. Below this the hamburger handles it. */
@media (min-width: 1080px) { .nav { display: flex; } }

/* Header actions + CSS-only mobile menu */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.user-email { font-size: 0.72rem; color: rgba(245,245,244,0.55); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions .user-email { display: none; }
@media (min-width: 1100px) { .header-actions .user-email { display: inline-block; } }
.mobile-nav-panel .user-email { display: block; padding: 0.35rem 0.75rem; border-bottom: 1px solid var(--hairline); margin-bottom: 0.25rem; }
.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: var(--radius-button); border: 1px solid var(--hairline); color: rgba(245,245,244,0.75); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary:hover { color: var(--bone); border-color: rgba(34,211,238,0.4); }
.mobile-nav-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 200px; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.5rem; background: rgba(15,23,56,0.97); backdrop-filter: blur(14px); border: 1px solid var(--hairline); border-radius: 0.75rem; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); z-index: 50; }
.mobile-nav-panel a { padding: 0.6rem 0.75rem; border-radius: 0.5rem; font-size: 0.9rem; color: rgba(245,245,244,0.8); }
.mobile-nav-panel a:hover { background: rgba(34,211,238,0.1); color: var(--bone); }
@media (min-width: 1080px) { .mobile-nav { display: none; } }

.nav-link, .logout-btn, .header-actions .btn { white-space: nowrap; }
.header-actions .logout-btn { font-size: 0.9rem; }
.mobile-nav-panel .logout-btn { padding: 0.6rem 0.75rem; text-align: left; }
/* Signed in, the bar is the app's own (#321): Desk, Pipeline, Settings, Billing (Admin), the email and Sign out. */
.nav-link[aria-current="page"], .mobile-nav-panel a[aria-current="page"] { color: var(--bone); text-decoration: underline; text-decoration-color: var(--pulse); text-underline-offset: 0.4em; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(circle at 15% 25%, rgba(34,211,238,0.22), transparent 55%),
  radial-gradient(circle at 85% 75%, rgba(16,185,129,0.14), transparent 55%); }
.hero-glow { position: absolute; top: -10rem; left: 50%; transform: translateX(-50%); z-index: -1; height: 640px; width: 1100px; border-radius: 999px; background: rgba(34,211,238,0.10); filter: blur(140px); }
.hero-grid { display: grid; gap: 3.5rem; padding: 5rem 1.5rem 7rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.pill { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--hairline); background: rgba(15,23,56,0.5); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.75rem; color: rgba(245,245,244,0.7); }

/* Pill toggle. background/border reset: a pill that is a <button> would otherwise keep
   the UA's light-grey button face — the inactive option rendered as white text on white. */
.aud-pill { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.4rem 0.95rem; border: 0; border-radius: 999px; background: transparent; color: rgba(245,245,244,0.62); text-decoration: none; cursor: pointer; transition: color 0.18s ease, background 0.18s ease; }
.aud-pill:hover { color: rgba(245,245,244,0.92); }
.aud-pill-active { background: var(--pulse); color: var(--ink); font-weight: 600; }
.aud-pill-active:hover { color: var(--ink); }

/* Footer "Cookie settings" — a button (it acts, it doesn't navigate) styled like its sibling links. */
.footer-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-linkbtn:hover { color: var(--bone); }
/* The consent banner (analytics-consent.js styles it inline, hence !important): a sheet across a phone's foot, a corner
   card on a desktop, so the demo desk's first card shows above it before any choice (#409). */
@media (min-width: 880px) { #hh-consent { left: auto !important; max-width: 440px !important; } }

/* Sign-in form honeypot: off-screen for people, still filled in by naive bots. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Blazor moves focus to the page h1 after navigation; don't paint a ring on a non-interactive heading. */
h1:focus, [tabindex="-1"]:focus { outline: none; }

.pulse-ring { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; }
.pulse-ring span:first-child { position: absolute; inset: 0; border-radius: 999px; background: var(--pulse); opacity: 0.75; animation: pulse-ring 2.4s cubic-bezier(0.215,0.61,0.355,1) infinite; }
.pulse-ring span:last-child { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--pulse); }
@keyframes pulse-ring { 0% { transform: scale(0.95); opacity: 0.7; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-title { font-size: clamp(3rem, 7vw, 5rem); line-height: 1.02; font-weight: 600; text-wrap: balance; }
.hero-lede { font-size: 1.2rem; color: rgba(245,245,244,0.7); max-width: 36rem; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.78rem; color: rgba(245,245,244,0.55); }
.hero-checks span { display: inline-flex; align-items: center; gap: 0.4rem; }
/* The demo and subscription terms under the hero buttons: what each one costs, in one line. */
.hero-micro { font-size: 0.72rem; line-height: 1.6; margin: -1rem 0 0; max-width: 36rem; }

/* Hero signal card (HeroSignalCard): an example, or a live signal. What it is sits in its header line,
   inside the card, next to its one number (the score). */
.hero-card-wrap { position: relative; }
.signal-hero { position: relative; overflow: hidden; border-radius: var(--radius-card); border: 1px solid rgba(34,211,238,0.3); background: rgba(15,23,56,0.85); backdrop-filter: blur(6px); padding: 1.75rem; box-shadow: 0 30px 80px -30px rgba(34,211,238,0.45); }
.signal-hero-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.signal-hero .signal-meta { margin: 0.75rem 0 0; }
.signal-hero-score { display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.signal-kind { border: 1px solid rgba(34,211,238,0.45); border-radius: 0.3rem; padding: 0.1rem 0.45rem; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pulse); }
.signal-kind.is-live { border-color: rgba(16,185,129,0.45); color: var(--signal); }
.score-badge { border-radius: 0.375rem; background: rgba(34,211,238,0.15); padding: 0.25rem 0.55rem; font-family: var(--font-mono); font-weight: 600; color: var(--pulse); }
.score-badge.sm { font-size: 0.8rem; padding: 0.15rem 0.45rem; }
.signal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.75rem; }
.signal-meta .dot { color: rgba(245,245,244,0.6); }
.signal-title { font-size: 1.5rem; margin: 1rem 0 0; }
.signal-body { font-size: 0.9rem; color: rgba(245,245,244,0.65); margin-top: 0.5rem; line-height: 1.6; }
.signal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tag { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 0.375rem; padding: 0.3rem 0.55rem; font-size: 0.72rem; }
.tag-signal { background: rgba(16,185,129,0.1); color: var(--signal); }
.tag-pulse { background: rgba(34,211,238,0.1); color: var(--pulse); }
.tag-flare { background: rgba(244,63,94,0.14); color: #fb7185; font-weight: 600; }
.tag-new { background: var(--pulse); color: var(--ink); font-weight: 700; letter-spacing: 0.06em; }
.dash-top-right { display: inline-flex; align-items: center; gap: 0.5rem; }
.signal-intent { color: rgba(245,245,244,0.82); font-size: 0.9rem; line-height: 1.5; margin: 0.5rem 0 0.25rem; }
.signal-roles { margin-top: 1.25rem; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.signal-roles ul, .mini-roles { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.signal-roles li { display: flex; align-items: center; gap: 0.5rem; padding: 0.18rem 0; font-size: 0.8rem; }
.bullet { width: 0.45rem; height: 0.45rem; border-radius: 999px; flex-shrink: 0; }
.role { font-weight: 500; color: var(--bone); }
.role-conf { margin-left: auto; font-size: 0.62rem; }
.signal-foot { display: flex; justify-content: space-between; margin-top: 1.25rem; border-top: 1px solid var(--hairline); padding-top: 1rem; font-size: 0.62rem; }

/* Strip */
.strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgba(10,14,39,0.4); }
.strip-inner { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem 1.5rem; }
@media (min-width: 880px) { .strip-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.strip-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(245,245,244,0.62); }
.strip-sources { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 0; margin: 0; }
.strip-sources li { font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; color: rgba(245,245,244,0.55); }

/* Value strip */
.value { border-bottom: 1px solid var(--hairline); background: rgba(15,23,56,0.4); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; padding: 3.5rem 1.5rem; }
@media (min-width: 880px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-figure { display: flex; align-items: baseline; gap: 0.4rem; }
.figure { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 600; }
.value-unit { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.value-label { font-size: 0.85rem; color: rgba(245,245,244,0.6); margin: 0.5rem 0 0; max-width: 14rem; }

/* Problem */
.problem-grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 880px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.lifecycle-card { border-radius: var(--radius-card); border: 1px solid var(--hairline); background: rgba(15,23,56,0.6); padding: 2rem; box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6); }
.lifecycle-head { display: flex; align-items: center; justify-content: space-between; }
.lifecycle { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.lifecycle li { display: flex; align-items: center; gap: 1rem; }
.wk { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 3rem; border-radius: 0.375rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.wk-pulse { background: rgba(34,211,238,0.15); color: var(--pulse); }
.wk-amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.wk-flare { background: rgba(244,63,94,0.18); color: #FB7185; }
.wk-label { font-size: 0.9rem; font-weight: 600; margin: 0; }
.wk-who { font-size: 0.75rem; color: rgba(245,245,244,0.62); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--hairline); background: var(--hairline); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { background: rgba(15,23,56,0.4); padding: 1.75rem; transition: background .15s; }
.step:hover { background: rgba(15,23,56,0.7); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-tag { border-radius: 999px; background: rgba(250,250,249,0.05); padding: 0.15rem 0.5rem; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,245,244,0.62); }
.step-title { font-size: 1.2rem; margin-top: 1.5rem; }
.step-body { font-size: 0.85rem; color: rgba(245,245,244,0.65); margin-top: 0.75rem; line-height: 1.6; }

/* Signal grid (landing + dashboard) */
/* minmax(0, …): a plain 1fr track grows to its widest card's min-content (the lead panel's form fields), which pushed the desk 6px past a 375px phone screen. */
.signal-grid, .dash-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .signal-grid, .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .dash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.signal-card, .dash-card { border-radius: var(--radius-card); border: 1px solid var(--hairline); background: rgba(15,23,56,0.55); padding: 1.5rem; transition: border-color .15s; }
.signal-card:hover, .dash-card:hover { border-color: rgba(34,211,238,0.35); }
.signal-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; }
.signal-card-title { font-size: 1.15rem; margin-top: 0.85rem; }
.signal-card-meta { font-size: 0.7rem; margin-top: 0.4rem; }
.roles-head { margin: 1rem 0 0; }
.mini-roles li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; padding: 0.18rem 0; }
.signal-card-src { display: inline-block; margin-top: 1rem; font-size: 0.7rem; color: var(--pulse); }
.dash-vol { margin-top: 0.75rem; margin-right: 0.4rem; }
/* The source's own words about a headcount, so it wraps as a sentence rather than sitting on one line. */
.dash-quote { display: inline-block; white-space: normal; font-style: italic; max-width: 32rem; line-height: 1.45; }

/* Pricing */
.price-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.price-card { width: 100%; max-width: 440px; border-radius: var(--radius-card); border: 1px solid rgba(34,211,238,0.3); background: rgba(15,23,56,0.7); padding: 2.25rem; box-shadow: 0 30px 80px -40px rgba(34,211,238,0.4); }
.price-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; margin-top: 0.75rem; }
.price-alt { flex-basis: 100%; font-size: 0.85rem; margin-top: 2px; }
.price-annual-offer { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.waitlist-seats { max-width: 8rem; }
@media (max-width: 480px) { .price-card { padding: 1.5rem; } }
.price-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; }
.price-sub { font-size: 0.85rem; color: rgba(245,245,244,0.6); margin: 0.5rem 0 0; }
.price-features { list-style: none; padding: 0; margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.price-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(245,245,244,0.8); }
.price-foot { font-size: 0.68rem; margin-top: 1rem; text-align: center; }

/* ROI calculator */
.roi-card { margin-top: 2.5rem; border: 1px solid rgba(34,211,238,0.22); border-radius: var(--radius-card); background: linear-gradient(180deg, rgba(15,23,56,0.7), rgba(15,23,56,0.45)); padding: 2rem; box-shadow: 0 30px 80px -50px rgba(34,211,238,0.5); }
.roi-head { text-align: center; margin-bottom: 2rem; }
.roi-title { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.1; }
.roi-sub { font-size: 0.95rem; margin: 0.75rem auto 0; max-width: 34rem; }
.roi-grid { display: grid; gap: 2rem; align-items: stretch; }
@media (min-width: 760px) { .roi-grid { grid-template-columns: 1fr 1fr; } }
.roi-inputs { display: flex; flex-direction: column; gap: 1.75rem; }
.roi-field { display: flex; flex-direction: column; gap: 0.6rem; }
.roi-label { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; color: rgba(245,245,244,0.85); }
.roi-out { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--pulse); white-space: nowrap; }
.roi-hint { font-size: 0.68rem; }
.roi-range { -webkit-appearance: none; appearance: none; width: 100%; height: 0.4rem; border-radius: 999px; background: rgba(34,211,238,0.18); outline: none; cursor: pointer; }
.roi-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1.25rem; height: 1.25rem; border-radius: 999px; background-image: linear-gradient(135deg, #22D3EE, #10B981); border: 2px solid var(--ink); box-shadow: 0 0 14px rgba(34,211,238,0.6); cursor: pointer; }
.roi-range::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border-radius: 999px; background-image: linear-gradient(135deg, #22D3EE, #10B981); border: 2px solid var(--ink); box-shadow: 0 0 14px rgba(34,211,238,0.6); cursor: pointer; }
.roi-range:focus-visible { box-shadow: 0 0 0 3px rgba(34,211,238,0.25); }
.roi-result { display: flex; flex-direction: column; gap: 0.6rem; border-radius: var(--radius-card); border: 1px solid var(--hairline); background: rgba(10,14,39,0.45); padding: 1.5rem; }
.roi-result-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; }
.roi-figure { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.25rem); font-weight: 700; line-height: 1; }
.roi-breakdown { margin: 0.5rem 0 0; display: flex; flex-direction: column; gap: 0; }
.roi-breakdown div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hairline); }
.roi-breakdown dt { font-size: 0.82rem; color: rgba(245,245,244,0.66); margin: 0; }
.roi-breakdown dd { margin: 0; font-size: 0.95rem; font-weight: 600; }
.roi-payback { font-size: 0.78rem; color: var(--signal); margin: 0.4rem 0 0.6rem; }
.roi-fine { font-size: 0.66rem; text-align: center; margin: 1.5rem 0 0; }

/* Mobile sticky CTA (marketing pages only; rendered inline so it never shows on app/legal pages) */
.sticky-cta, .sticky-cta-spacer { display: none; }
@media (max-width: 879px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 1px solid var(--hairline); background: rgba(10,14,39,0.92); backdrop-filter: blur(14px) saturate(140%); padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); }
  .sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 480px; margin: 0 auto; }
  .sticky-cta-text { font-size: 0.82rem; color: var(--bone-soft); }
  .sticky-cta .btn { white-space: nowrap; }
  .sticky-cta-spacer { display: block; height: 4.75rem; }
  /* Off screen until roi.js says the hero's button has scrolled away and no sign-up form is in view (P2-4).
     visibility keeps the hidden bar out of the tab order and away from screen readers. */
  .sticky-cta { transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .2s ease; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta, .sticky-cta.is-shown { transition: none; } }

/* Digest preview (sample 7am email) */
.digest { margin-top: 3rem; border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; background: rgba(15,23,56,0.6); box-shadow: 0 30px 80px -40px rgba(0,0,0,0.7); }
.digest-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid var(--hairline); background: rgba(10,14,39,0.6); }
.digest-dots { display: inline-flex; gap: 0.4rem; }
.digest-dots span { width: 0.7rem; height: 0.7rem; border-radius: 999px; background: rgba(245,245,244,0.18); }
.digest-dots span:first-child { background: rgba(244,63,94,0.55); }
.digest-dots span:nth-child(2) { background: rgba(245,158,11,0.55); }
.digest-dots span:last-child { background: rgba(16,185,129,0.55); }
.digest-bar .mono { font-size: 0.7rem; }
.digest-mail { padding: 1.5rem; }
.digest-meta { display: flex; align-items: flex-start; gap: 0.85rem; }
.digest-avatar { flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--ink); background-image: linear-gradient(135deg, #22D3EE, #10B981); }
.digest-from { flex: 1; min-width: 0; }
.digest-sender { font-size: 0.85rem; font-weight: 600; margin: 0; }
.digest-subject { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0.15rem 0 0; color: var(--bone); }
.digest-time { font-size: 0.7rem; flex-shrink: 0; }
.digest-intro { font-size: 0.85rem; color: rgba(245,245,244,0.62); margin: 1.1rem 0 0; line-height: 1.6; }
.digest-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; }
.digest-row { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.95rem 0; border-top: 1px solid var(--hairline); }
.digest-row-main { min-width: 0; }
.digest-row-title { font-size: 0.95rem; font-weight: 600; margin: 0; color: var(--bone); }
.digest-row-sub { font-size: 0.72rem; margin: 0.25rem 0 0; line-height: 1.5; }
.digest-cta { display: inline-block; margin-top: 1.25rem; font-size: 0.8rem; color: var(--pulse); }
.digest-cta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Live freshness badge */
.live-stat { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; padding: 0.5rem 0.95rem; border: 1px solid rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); border-radius: 999px; font-size: 0.78rem; color: var(--bone-soft); }
.live-stat .pulse-ring span:first-child { background: var(--signal); }
.live-stat .pulse-ring span:last-child { background: var(--signal); }

/* Comparison table */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Skip link — WCAG 2.4.1 Bypass Blocks; hidden until keyboard-focused */
.skip-link { position: absolute; left: 0.75rem; top: -3rem; z-index: 100; background: var(--pulse); color: var(--ink); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; padding: 0.6rem 1rem; border-radius: var(--radius-button); transition: top .15s ease; }
.skip-link:focus { top: 0.75rem; outline: 2px solid var(--bone); outline-offset: 2px; }
.compare-wrap { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 760px; }
.compare th, .compare td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.compare thead th { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: rgba(245,245,244,0.62); }
.compare tbody th { font-family: var(--font-body); font-weight: 500; color: rgba(245,245,244,0.85); white-space: nowrap; }
.compare td { color: rgba(245,245,244,0.7); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare-us { background: rgba(34,211,238,0.06); }
.compare thead .compare-us { background: rgba(34,211,238,0.13); border-bottom-color: rgba(34,211,238,0.4); }
.compare td.compare-us { color: var(--bone); }
.compare td.compare-us strong { font-weight: 600; }
.compare-logo { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--bone); }
.compare-no { color: rgba(245,245,244,0.32); font-size: 1.05rem; }
.compare td.compare-us svg { color: var(--signal); vertical-align: -0.15rem; }
.compare-wrap:focus-visible { outline: 2px solid var(--pulse); outline-offset: 2px; }
/* Narrower than the table (760 px + the gutters): say it scrolls, and keep the row names pinned while it does (P2-5) */
.compare-hint { display: none; }
@media (max-width: 809.98px) {
  .compare-hint { display: block; margin: 2rem 0 0.6rem; text-align: right; font-size: 0.75rem; color: var(--pulse); }
  .compare-wrap { margin-top: 0; }
  .compare { border-collapse: separate; border-spacing: 0; } /* collapsed borders show through a pinned cell */
  .compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--ink); box-shadow: inset -1px 0 0 var(--hairline); }
  .compare tbody th { white-space: normal; min-width: 7.5rem; max-width: 8.5rem; }
}

/* Pricing card stack — wraps the one card + the specialisms as one flex child of .price-wrap */
.price-stack { width: 100%; display: flex; flex-direction: column; }


/* 3-tier pricing grid */
.price-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; width: 100%; max-width: 560px; margin: 0 auto; align-items: start; }
.price-tiers .price-card { max-width: none; position: relative; min-width: 0; }
.price-card-featured { border-color: rgba(34,211,238,0.7); box-shadow: 0 40px 100px -40px rgba(34,211,238,0.6); }
.founding-note { border: 1px dashed rgba(34,211,238,0.45); border-radius: var(--radius-card); background: rgba(15,23,56,0.4); padding: 1.5rem 1.75rem; margin: 2.5rem 0 1.25rem; }
@media (max-width: 880px) { .price-tiers { max-width: 440px; margin: 3rem auto 0; } }

/* FAQ */
.faq { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--hairline); border-radius: 0.75rem; background: rgba(15,23,56,0.4); padding: 1rem 1.25rem; }
.faq-item summary { font-family: var(--font-display); font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--pulse); }
.faq-item p { font-size: 0.9rem; color: rgba(245,245,244,0.68); margin: 0.85rem 0 0; line-height: 1.6; }

/* CTA / waitlist */
.cta { padding: 6rem 0; background:
  radial-gradient(circle at 50% 0%, rgba(34,211,238,0.12), transparent 60%); }
.waitlist { margin-top: 2rem; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.input { background: rgba(15,23,56,0.8); border: 1px solid var(--hairline); border-radius: var(--radius-button); padding: 0.85rem 1rem; color: var(--bone); font-family: var(--font-body); font-size: 0.95rem; min-width: 220px; }
.input:focus { outline: none; border-color: var(--pulse); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.form-error { color: var(--flare); font-size: 0.85rem; margin-top: 0.75rem; }
/* "How did you hear about us?" under the sign-up field (HeardFromField) */
.heard-from { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 1rem; font-size: 0.75rem; }
.heard-from .input { min-width: 0; max-width: 100%; }
.heard-from-optional { opacity: 0.7; }
.waitlist-done { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.cta-fine { font-size: 0.68rem; margin-top: 1.5rem; }
/* MainLayout's wrapper that makes a public page's links full page loads: no box of its own */
.nav-scope { display: contents; }
/* The sign-up form right under the hero, and what every sign-up form carries (WaitlistForm, 22 Oct 2026) */
.cta-start { padding: 3.5rem 0 4rem; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); scroll-margin-top: 4rem; }
.cta-start .h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.waitlist-lane { flex: 0 1 16rem; min-width: 0; }
.waitlist-label { display: block; font-size: 0.75rem; margin: 0 0 0.5rem; color: rgba(245,245,244,0.68); text-align: left; }
.price-card .waitlist { margin-top: 0.5rem; }
.waitlist-plan .waitlist-row { flex-direction: column; align-items: stretch; }
.waitlist-plan .input, .waitlist-plan .btn, .waitlist-plan .waitlist-lane { width: 100%; min-width: 0; flex: none; }
.waitlist-plan .cta-fine { margin-top: 0.9rem; }
.waitlist-plan .waitlist-label { margin: 0.25rem 0 -0.4rem; }
/* "Check your inbox" (Login, sent) */
.login-next { font-size: 0.95rem; color: rgba(245,245,244,0.78); max-width: 36rem; margin: 1.25rem auto 0; line-height: 1.55; }
.login-wait { font-size: 0.8rem; margin-top: 1.25rem; }
/* The demo desk's sign-up (DemoSignup): a banner on a wide screen, a bar at the foot of a phone's */
.demo-signup { scroll-margin-top: 6rem; margin: -0.75rem 0 2rem; padding: 1rem 1.4rem; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.6); }
.demo-signup-head { margin: 0; font-size: 0.95rem; font-weight: 600; }
.demo-signup .waitlist { margin-top: 0.75rem; }
.demo-signup .waitlist-row { justify-content: flex-start; }
.demo-signup .waitlist-row input[type=email] { flex: 1 1 14rem; }
.demo-signup .cta-fine { margin-top: 0.6rem; text-align: left; }
.demo-signup .heard-from { justify-content: flex-start; margin-top: 0.6rem; }
.demo-signup-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.demo-signup-open, .demo-signup-close { display: none; }
/* A wide screen keeps the form out until the banner's button opens it, so the first card leads (#388) */
@media (min-width: 880px) { html:not([data-demo-signup=open]) .demo-signup { display: none; } }
@media (max-width: 879px) {
  .demo-signup { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; border-radius: 0; border-width: 1px 0 0; padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom)); background: rgba(10,14,39,0.96); backdrop-filter: blur(14px) saturate(140%); }
  .demo-signup-head { font-size: 0.82rem; line-height: 1.3; }
  .demo-signup-lead { display: none; } /* one line on a phone: the bar stays short */
  /* Folded to the line and a button until the visitor opens it (desk-actions.js sets <html data-demo-signup>) */
  .demo-signup-open { display: inline-flex; flex: none; white-space: nowrap; }
  html:not([data-demo-signup=open]) .demo-signup-form { display: none; }
  html[data-demo-signup=open] .demo-signup-open { display: none; }
  html[data-demo-signup=open] .demo-signup-close { display: inline-flex; flex: none; }
  .demo-signup-close { align-items: center; background: none; border: 1px solid var(--hairline); border-radius: var(--radius-button); color: var(--bone-soft); padding: 0.4rem 0.75rem; font-size: 0.72rem; cursor: pointer; }
  .demo-signup-close:hover { border-color: rgba(34,211,238,0.4); }
  /* The folded bar's height stays free at the foot of the page, so the last card and the footer clear it;
     scroll-padding does the same for whatever the keyboard focuses. The spacer that did this sat under the
     banner, 176 px of nothing above the cards. */
  body:has(.demo-signup) { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  html:has(.demo-signup) { scroll-padding-bottom: 5rem; }
  .demo-signup .waitlist { margin-top: 0.45rem; font-size: 0.6rem; line-height: 1.4; } /* the fine print's lines, not the fields' */
  .demo-signup .waitlist-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.45rem; }
  .demo-signup .waitlist-row .btn { grid-column: 1 / -1; padding: 0.65rem 1rem; }
  /* 16px, or iOS zooms the page in when a field is tapped */
  .demo-signup .input { min-width: 0; padding: 0.55rem 0.65rem; font-size: 1rem; }
  .demo-signup select.input { padding-right: 0.25rem; }
  .demo-signup .cta-fine { display: inline; margin: 0; font-size: 0.6rem; line-height: 1.45; }
  .demo-signup .waitlist-note::after { content: " "; }
  /* The optional question only once the visitor is filling the form in */
  .demo-signup .heard-from { display: none; }
  .demo-signup:focus-within .heard-from { display: flex; margin: 0.4rem 0; }
  .demo-banner-cta { display: none; } /* the bar is the sign-up on a phone */
}

/* Dashboard */
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; padding: 1.1rem 1.4rem; border: 1px solid rgba(34,211,238,0.3); border-radius: var(--radius-card); background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(16,185,129,0.06)); }
.demo-banner-copy { flex: 1; min-width: 240px; }
.demo-banner-text { font-size: 0.85rem; color: rgba(245,245,244,0.78); margin: 0.4rem 0 0; line-height: 1.55; max-width: 52rem; }
.demo-banner .btn { white-space: nowrap; }
.dash-head { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.dash-status { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; font-size: 0.75rem; }
.dash-filters { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.4); margin-bottom: 2rem; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.filter-label { width: 4rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.dash-search { flex: 1; min-width: 200px; max-width: 360px; padding: 0.5rem 0.85rem; font-size: 0.88rem; }
.chip-btn { border: 1px solid var(--hairline); background: transparent; color: rgba(245,245,244,0.7); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.8rem; font-family: var(--font-mono); cursor: pointer; transition: all .15s; }
.chip-btn:hover { border-color: rgba(34,211,238,0.4); color: var(--bone); }
.chip-btn.active { background: rgba(34,211,238,0.15); border-color: rgba(34,211,238,0.5); color: var(--pulse); }
.chip-btn.clear { color: var(--flare); }
.dash-empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--hairline); border-radius: var(--radius-card); }
/* What an advert promised, said back at the top of the desk, with the whole desk one click away (#115). */
.dash-landing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; margin: 0 0 1rem;
  padding: 0.7rem 0.9rem; border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.dash-landing .landing-what { margin: 0; font-size: 0.8rem; }
.dash-landing .landing-clear { padding: 0.25rem 0.6rem; font-size: 0.75rem; }
.dash-empty .landing-clear { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
/* Until the circuit connects, the prerendered controls ignore clicks — say so instead of looking broken. */
.dash-connecting { margin: 0 0 0.75rem; font-size: 0.75rem; }
.dash.is-live .dash-connecting { display: none; }
.dash:not(.is-live) .dash-filters :is(button, input), .dash:not(.is-live) :is(.dash-card, .dash-today, .dash-focus) button { cursor: progress; opacity: 0.55; }
/* A tap before the circuit is live is kept and done once it is (desk-actions.js, #264): the tapped button says so. */
.dash:not(.is-live) .dash-more button { cursor: progress; opacity: 0.55; }
.dash:not(.is-live) [data-hh-act].is-queued { opacity: 1; border-color: rgba(34,211,238,0.6); color: var(--pulse); }
/* The desk's filter bar: a phone's "Filter · N" button and, until the circuit is live, a loading pill that can't be
   missed (P1-8, P1-9). It was a small grey line, off a phone's first screen, for the ~2.8 s the desk ignored taps. */
.dash-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 0 0 1rem; }
.dash-filter-toggle { display: none; }
.dash-filter-toggle:disabled { cursor: progress; opacity: 0.55; }
.dash-filter-toggle[aria-expanded=true] { border-color: rgba(34,211,238,0.5); color: var(--pulse); }
.dash-filter-on { color: var(--pulse); }
.dash-filter-on::before { content: "· "; color: rgba(245,245,244,0.5); }
.dash-filter-bar .dash-connecting { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.4rem 0.8rem; border: 1px solid rgba(34,211,238,0.35); border-radius: 999px; background: rgba(34,211,238,0.08); color: var(--pulse); font-size: 0.78rem; }
.dash.is-live .dash-filter-bar .dash-connecting { display: none; }
.dash-connecting-dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--pulse); animation: dash-loading 1.1s ease-in-out infinite; }
@keyframes dash-loading { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .dash-connecting-dot { animation: none; } }
/* The circuit never came: desk-actions.js sets is-stuck, and the pill gives way to saying so. */
.dash-stuck { display: none; }
.dash.is-stuck .dash-filter-bar .dash-connecting { display: none; }
.dash.is-stuck .dash-stuck { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0; padding: 0.5rem 0.8rem; border: 1px solid rgba(245,166,35,0.45); border-radius: 0.75rem; background: rgba(245,166,35,0.08); color: #f5a623; font-size: 0.78rem; }
.dash-filters:focus { outline: none; }
.dash-filters:focus-visible { outline: 2px solid var(--pulse); outline-offset: 2px; }
.dash-filters-done { display: none; }
@media (min-width: 768px) {
  .dash.is-live .dash-filter-bar { display: none; } /* nothing in it on a wide screen once the desk is live */
}
/* A phone: the cards come first. The filters fold behind the button, and the banner and heading get shorter. */
@media (max-width: 767.98px) {
  .section.dash { padding-top: 1.25rem; }
  .dash .demo-banner { gap: 0.75rem; margin-bottom: 1rem; padding: 0.85rem 1rem; }
  .demo-banner-more { display: none; }
  .dash-head { gap: 0.5rem; margin-bottom: 1rem; }
  .dash-head .eyebrow { margin-bottom: 0.4rem; }
  .dash-head .h2 { font-size: 1.6rem; }
  .dash-head .lede { margin-top: 0.5rem; font-size: 0.92rem; }
  .dash-demo .dash-status { display: none; } /* the demo's "ACTIVE" tag says nothing to a visitor */
  .dash-filter-toggle { display: inline-flex; }
  .dash-filters:not(.is-open) { display: none; }
  .dash-filters { margin-bottom: 1.25rem; padding: 1rem; }
  .filter-label { width: 100%; }
  .dash-search { max-width: none; min-width: 0; }
  /* Pinned to the foot of the screen while the open panel is on it (above the demo's sign-up bar) */
  .dash-filters-done { display: flex; justify-content: center; position: sticky; bottom: 0.75rem; z-index: 2; margin: 0.25rem -1rem -1rem; padding: 1.25rem 1rem 1rem; border-radius: 0 0 var(--radius-card) var(--radius-card); background: linear-gradient(to bottom, rgba(10,14,39,0), rgba(10,14,39,0.95) 45%); }
  .dash-filters-done .btn { width: 100%; max-width: 22rem; }
  .dash-demo .dash-filters-done { bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
}
.dash-more { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.dash-more .mono { font-size: 0.75rem; }

/* Lead notes & history — desk card and pipeline */
.lead-notes { margin-top: 1rem; border-top: 1px solid var(--hairline); padding-top: 0.85rem; }
.lead-notes summary { font-size: 0.72rem; cursor: pointer; }
.lead-notes-add { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; margin-top: 0.6rem; }
.lead-notes-input { width: 100%; min-height: 3.2rem; resize: vertical; font-size: 0.82rem; }
.lead-timeline { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.lead-ev { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; font-size: 0.8rem; color: rgba(245,245,244,0.75); }
.lead-ev-when { font-size: 0.7rem; padding-top: 0.1rem; }
.lead-ev-note { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: rgba(245,245,244,0.9); }
.lead-hint { font-size: 0.7rem; margin: 0.6rem 0 0; }
.lead-section { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.85rem; }
.lead-section-head { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,245,244,0.5); margin: 0; }
.lead-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.lead-row-end { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }
.lead-date { flex: 0 0 9.5rem; color-scheme: dark; }
.lead-grow { flex: 1 1 10rem; }
.lead-contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.4rem; }
.lead-error { margin: 0; font-size: 0.75rem; color: var(--flare); }
.chip-btn.chip-xs { padding: 0.2rem 0.6rem; font-size: 0.7rem; }

/* Next step and contact, visible on the card without opening the panel */
.lead-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin-top: 0.9rem; padding: 0.5rem 0.65rem; border: 1px solid var(--hairline); border-left-width: 3px; border-radius: 0.5rem; font-size: 0.8rem; }
.lead-next-when { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.lead-next-text { flex: 1 1 8rem; color: rgba(245,245,244,0.88); overflow-wrap: anywhere; }
.lead-next .btn { margin-left: auto; }
.lead-next-upcoming { border-left-color: rgba(34,211,238,0.5); }
.lead-next-upcoming .lead-next-when { color: var(--pulse); }
.lead-next-today { border-left-color: var(--amber); background: rgba(245,158,11,0.06); }
.lead-next-today .lead-next-when { color: var(--amber); }
.lead-next-overdue { border-left-color: var(--flare); background: rgba(244,63,94,0.06); }
.lead-next-overdue .lead-next-when { color: #fb7185; }
.lead-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; margin: 0.6rem 0 0; font-size: 0.8rem; }
.lead-contact-name { color: rgba(245,245,244,0.92); font-weight: 600; }
.lead-contact .link { font-size: 0.72rem; }

/* Desk — today: next steps due and new signals on companies being worked */
.dash-today { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid rgba(245,158,11,0.3); border-radius: var(--radius-card); background: rgba(15,23,56,0.55); }
.dash-today-group { display: flex; flex-direction: column; gap: 0.5rem; }
.dash-today-head { margin: 0; font-size: 0.75rem; letter-spacing: 0.04em; }
.dash-today-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dash-today-item { display: grid; grid-template-columns: 9.5rem minmax(8rem, 14rem) 1fr auto auto; align-items: baseline; gap: 0.75rem; padding: 0.45rem 0; border-top: 1px solid var(--hairline); font-size: 0.85rem; }
.dash-today-when { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-today-company { color: var(--bone); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: left; }
.dash-today-company:hover { color: var(--pulse); }
.dash-today-what { color: rgba(245,245,244,0.78); overflow-wrap: anywhere; }
.dash-today-stage { font-size: 0.7rem; white-space: nowrap; }
.dash-today-more { font-size: 0.75rem; }
@media (max-width: 720px) {
  .dash-today-item { grid-template-columns: 1fr auto; gap: 0.2rem 0.75rem; }
  .dash-today-when, .dash-today-company, .dash-today-what { grid-column: 1; }
  .dash-today-stage { grid-column: 2; grid-row: 1; }
  .dash-today-item .btn { grid-column: 2; grid-row: 2; }
}
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Desk — signals grouped by company */
.tag-company { background: rgba(245,158,11,0.1); color: var(--amber); border: 1px solid rgba(245,158,11,0.35); font-weight: 600; }
.dash-company-link { display: inline-block; margin-top: 0.5rem; background: none; border: 0; padding: 0; font-size: 0.72rem; color: var(--pulse); cursor: pointer; text-align: left; }
.dash-company-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dash-focus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 1.25rem; padding: 0.75rem 1rem; border: 1px solid rgba(34,211,238,0.35); border-radius: var(--radius-card); background: rgba(34,211,238,0.06); scroll-margin-top: 6rem; }
.dash-focus p { margin: 0; font-size: 0.8rem; }
.dash-filters.is-paused { opacity: 0.55; }

/* Pipeline board: one column per stage, stacked on narrow screens */
.pipe .container { max-width: 1400px; }
.pipe-board { display: grid; grid-template-columns: repeat(5, minmax(12.5rem, 1fr)); gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.pipe-col { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.pipe-col-head { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0.25rem; margin: 0; }
.pipe-col-empty { font-size: 0.72rem; padding: 1rem 0.25rem; border: 1px dashed var(--hairline); border-radius: var(--radius-card); text-align: center; margin: 0; }
.pipe-card { border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.4); padding: 1rem; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.pipe-card-top { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.68rem; flex-wrap: wrap; }
.pipe-card-company { font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.pipe-card-title { font-size: 0.82rem; margin: 0; color: rgba(245,245,244,0.8); }
.pipe-card-meta { font-size: 0.68rem; margin: 0; }
.pipe-card-note { font-size: 0.8rem; margin: 0; color: rgba(245,245,244,0.85); font-style: italic; overflow-wrap: anywhere; }
.pipe-card-move { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pipe-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; margin-top: 0.25rem; }
.pipe-card.is-due { border-color: rgba(245,158,11,0.45); }
.pipe-card { scroll-margin-top: 6rem; }
.pipe-card:target { border-color: var(--pulse); box-shadow: 0 0 0 1px var(--pulse); }
.pipe-card-related { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 0; font-size: 0.78rem; color: rgba(245,245,244,0.85); overflow-wrap: anywhere; }
.pipe-card-related .link { font-size: 0.7rem; }
.pipe-card .lead-next { margin-top: 0.25rem; }
.pipe-filter { margin-bottom: 1.25rem; }
.pipe-card-owner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; }
.pipe-card-owner select { flex: 1; min-width: 0; padding: 0.3rem 0.5rem; font-size: 0.75rem; }
.tag-owner { background: rgba(245,245,244,0.06); color: rgba(245,245,244,0.75); border: 1px solid var(--hairline); }
.lead-ev-who { color: rgba(245,245,244,0.5); overflow-wrap: anywhere; }
.pipe.is-live .dash-connecting { display: none; }
.pipe:not(.is-live) .pipe-card button { cursor: progress; opacity: 0.55; }
@media (max-width: 900px) { .pipe-board { grid-template-columns: 1fr; overflow-x: visible; } }
.dash-why { margin-top: 1rem; }
.dash-why summary { font-size: 0.72rem; cursor: pointer; }
.dash-why ul { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-direction: column; gap: 0.3rem; }
.dash-why li { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.8rem; color: rgba(245,245,244,0.75); }
.dash-why li .mono { flex: none; color: var(--pulse); font-variant-numeric: tabular-nums; }
.dash-why-note { margin: 0.5rem 0 0; font-size: 0.72rem; color: rgba(245,245,244,0.5); }
.dash-typical { margin-top: 1rem; }
.dash-typical summary { font-size: 0.72rem; cursor: pointer; }
.dash-typical ul { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-direction: column; gap: 0.35rem; }
.dash-typical li { font-size: 0.8rem; color: rgba(245,245,244,0.7); padding-left: 0.85rem; position: relative; }
.dash-typical li::before { content: "→"; position: absolute; left: 0; color: var(--pulse); }

/* Desk — card footer + action pills */
.dash-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.dash-card-foot .signal-card-src { margin-top: 0; }
.dash-action-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.action-pill { background: none; border: 1px solid var(--hairline); color: rgba(245,245,244,0.5); border-radius: 999px; padding: 0.25rem 0.6rem; font-size: 0.65rem; font-family: var(--mono); cursor: pointer; transition: border-color .15s, color .15s, background .15s; letter-spacing: 0.02em; }
.action-pill:hover { border-color: rgba(245,245,244,0.3); color: rgba(245,245,244,0.8); }
.action-pill-active.action-pill-reviewing { border-color: rgba(245,166,35,0.5); color: #f5a623; background: rgba(245,166,35,0.08); }
.action-pill-active.action-pill-contacted { border-color: rgba(59,130,246,0.5); color: #3b82f6; background: rgba(59,130,246,0.08); }
.action-pill-active.action-pill-shortlisted { border-color: rgba(6,182,212,0.5); color: var(--pulse-deep); background: rgba(6,182,212,0.08); }
.action-pill-active.action-pill-placed { border-color: rgba(16,185,129,0.5); color: var(--signal); background: rgba(16,185,129,0.08); }
.action-pill-active.action-pill-passed { border-color: rgba(245,245,244,0.2); color: rgba(245,245,244,0.4); background: rgba(245,245,244,0.03); }
.dash-card-dismissed { opacity: 0.5; }
.dash-card-dismissed:hover { opacity: 0.85; }

/* Desk — Exclusive territory */
.tag-lane { background: rgba(34,211,238,0.12); color: var(--pulse); border: 1px solid rgba(34,211,238,0.4); font-weight: 700; }
.dash-lanes { margin: 0.3rem 0 0; font-size: 0.78rem; letter-spacing: 0.01em; }

/* Desk — placement attribution (ROI) */
.dash-roi { margin: 0.4rem 0 0; font-size: 0.8rem; letter-spacing: 0.01em; }
.dash-placement { margin: 0.75rem 0 0; font-size: 0.78rem; display: flex; align-items: center; gap: 0.5rem; }
.btn-xs { padding: 0.2rem 0.5rem; font-size: 0.68rem; }
.input-sm { padding: 0.5rem 0.7rem; font-size: 0.82rem; min-width: 0; }
.dash-placement-form { margin-top: 0.85rem; padding: 0.85rem; border: 1px solid rgba(16,185,129,0.35); border-radius: var(--radius-button); background: rgba(16,185,129,0.05); }
.dash-placement-form .eyebrow-xs { margin: 0 0 0.6rem; }
.dash-placement-fields { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.dash-placement-fields .input-sm { flex: 1 1 160px; }

/* Desk — outreach opener generator */
.dash-opener { margin-top: 1rem; border-top: 1px solid var(--hairline); padding-top: 0.85rem; }
.dash-opener summary { font-size: 0.72rem; cursor: pointer; list-style: none; }
.dash-opener summary::-webkit-details-marker { display: none; }
.dash-opener[open] summary { color: var(--signal); }
.dash-opener-text { font-size: 0.85rem; line-height: 1.6; color: rgba(245,245,244,0.82); margin: 0.75rem 0 0; padding: 0.85rem 1rem; border-left: 2px solid rgba(16,185,129,0.5); background: rgba(16,185,129,0.05); border-radius: 0 0.5rem 0.5rem 0; }
.dash-opener-actions { display: flex; align-items: center; gap: 0.85rem; margin-top: 0.75rem; flex-wrap: wrap; }
.dash-opener-note { font-size: 0.66rem; }
.dash-opener-play { font-size: 0.72rem; }

/* Dashboard status links */
.dash-links { display: flex; gap: 1rem; margin-top: 0.25rem; }
.dash-links .link { font-size: 0.78rem; }

/* Settings */
.settings { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.settings-block { border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.4); padding: 1.5rem; }
.settings-label { font-size: 0.95rem; margin-bottom: 1rem; }
.toggle { display: flex; align-items: center; gap: 0.65rem; cursor: pointer; font-size: 0.9rem; color: rgba(245,245,244,0.8); }
.toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--pulse); }
.settings-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.settings-help { margin: 0; font-size: 0.82rem; line-height: 1.55; color: rgba(245,245,244,0.66); }
.settings-help code, .hook-secret code { font-size: 0.75rem; background: rgba(245,245,244,0.06); padding: 0.1rem 0.35rem; border-radius: 0.3rem; overflow-wrap: anywhere; }
/* Team and integrations sit under the preferences as one settings page. */
.settings-more { padding: 0 0 2.5rem; }
.section:has(+ .settings-more) { padding-bottom: 2.5rem; }
.settings-more .settings-block { display: flex; flex-direction: column; gap: 0.85rem; }
.settings-more .settings-label { margin: 0; }
.settings-more:not(.is-live) button { cursor: progress; opacity: 0.55; }
.team-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.team-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.75rem; padding: 0.55rem 0; border-top: 1px solid var(--hairline); font-size: 0.88rem; }
.team-email { overflow-wrap: anywhere; }
.team-when { font-size: 0.72rem; margin-right: auto; }
.team-row .tag { margin-right: auto; }
.team-invite { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.team-invite .input { flex: 1 1 16rem; }
.team-notice { margin: 0; font-size: 0.8rem; }
.hook-secret { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font-size: 0.8rem; }
.hook-test { margin: 0; font-size: 0.8rem; overflow-wrap: anywhere; }
.hook-log-head { margin-top: 0.25rem; }
.hook-log-wrap { overflow-x: auto; }
.hook-log { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.hook-log td { padding: 0.4rem 0.75rem 0.4rem 0; border-top: 1px solid var(--hairline); white-space: nowrap; }
.hook-log td:last-child { white-space: normal; overflow-wrap: anywhere; }
/* Billing: one block per state, laid out like the team and integrations blocks. */
.billing-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.billing-block :is(.settings-label, .cta-fine, .form-error) { margin: 0; }
.settings-page.is-live .dash-connecting { display: none; }
.settings-page:not(.is-live) .settings :is(button, input, .toggle) { cursor: progress; opacity: 0.55; }

/* Two-factor: /dashboard/security + /login/2fa */
.twofa-remember { justify-content: center; margin-top: 1rem; }
/* /subscribe for someone's own job search (#297): who is buying, and the start-now box before Checkout */
.buyer-choice { justify-content: center; margin-top: 1.25rem; }
.start-now { align-items: flex-start; margin: 0.25rem 0 1rem; font-size: 0.85rem; line-height: 1.5; text-align: left; }
.start-now input { flex: none; margin-top: 0.15rem; }
.twofa-recovery { margin-top: 2.5rem; }
.twofa-recovery summary { display: inline-block; cursor: pointer; font-size: 0.9rem; }
.twofa-banner { margin: 2rem 0 0; }
.twofa-copy { font-size: 0.9rem; line-height: 1.55; margin: 0 0 1rem; }
.twofa-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.twofa-setup { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.twofa-qr { max-width: 100%; height: auto; border-radius: 0.5rem; background: var(--bone); }
.twofa-key { display: inline-block; padding: 0.55rem 0.8rem; border: 1px solid var(--hairline); border-radius: var(--radius-button); background: rgba(10,14,39,0.6); color: var(--pulse); font-size: 0.95rem; letter-spacing: 0.06em; word-break: break-all; }
.twofa-step { margin-top: 0.5rem; }
.twofa-restart { margin-top: 1rem; }
.twofa-restart .link-btn { font-size: 0.75rem; }
.twofa-codes { border-color: rgba(245,158,11,0.45); }
.recovery-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.5rem 1.5rem; margin: 0; padding-left: 1.5rem; color: var(--bone); font-size: 0.95rem; }

/* Admin table */
.admin-table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { text-align: left; padding: 0.85rem 1rem; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(245,245,244,0.62); border-bottom: 1px solid var(--hairline); }
.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--hairline); color: rgba(245,245,244,0.85); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(34,211,238,0.04); }

/* Admin cockpit (Phase 4) */
.admin-flash { margin: 1.2rem 0 0; padding: 0.6rem 0.9rem; border: 1px solid rgba(16,185,129,0.35); border-radius: var(--radius-button); background: rgba(16,185,129,0.06); font-size: 0.82rem; }
.admin-lane { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.15rem 0.2rem 0.15rem 0; }
.admin-lane-x { background: none; border: none; color: var(--flare); cursor: pointer; font-size: 0.9rem; line-height: 1; padding: 0; }
.admin-assign, .admin-inventory, .admin-sources, .admin-readiness { margin-top: 2.4rem; }
.admin-assign .h4, .admin-inventory .h4, .admin-sources .h4, .admin-readiness .h4 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.admin-readiness .admin-table-wrap { margin-top: 0.9rem; }
.admin-readiness .tag { white-space: nowrap; }
.admin-assign-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.admin-assign-note { margin-top: 0.6rem; font-size: 0.76rem; }
.admin-inventory-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.82rem; }
.admin-inventory-list li { padding-bottom: 0.45rem; border-bottom: 1px solid var(--hairline); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); background: rgba(15,23,56,0.4); }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 1.5rem 2rem; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-blurb { font-size: 0.88rem; color: rgba(245,245,244,0.6); margin: 1rem 0 0; max-width: 24rem; }
.footer-fine { font-size: 0.72rem; color: rgba(245,245,244,0.62); margin: 1.5rem 0 0; }
.footer-selectwise { margin-top: 2rem; }
.footer-selectwise .footer-blurb { margin-top: 0.75rem; }
.footer-head { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(245,245,244,0.5); }
.footer-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.88rem; color: rgba(245,245,244,0.7); }
.footer-list a:hover { color: var(--bone); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--hairline); padding: 2rem 1.5rem; font-size: 0.72rem; color: rgba(245,245,244,0.62); }
@media (min-width: 880px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Playbook */
.play-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.play { border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.45); padding: 1.5rem; scroll-margin-top: 5rem; }
.play:target { border-color: rgba(34,211,238,0.5); box-shadow: 0 0 0 1px rgba(34,211,238,0.25); }
.play .step-title { margin-top: 0.6rem; }
/* Where a reader goes after the last play: the free demo, or subscribing. */
.play-cta { margin-top: 2.5rem; border: 1px solid rgba(34,211,238,0.3); border-radius: var(--radius-card); background: rgba(15,23,56,0.6); padding: 1.75rem 1.5rem; }
.play-cta .hero-cta { margin-top: 1.25rem; }

/* Legal pages (terms / privacy) */
.legal { margin-top: 2.5rem; }
.legal h2 { font-size: 1.15rem; margin: 2.25rem 0 0.65rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: rgba(245,245,244,0.75); line-height: 1.7; margin: 0 0 0.95rem; }
.legal ul { color: rgba(245,245,244,0.75); line-height: 1.7; padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin: 0.35rem 0; }

/* Case studies — scannable signal-desk-style cards */
.cs-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.cs-card { border: 1px solid var(--hairline); border-radius: var(--radius-card); background: rgba(15,23,56,0.45); padding: 1.75rem; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cs-card:hover { border-color: rgba(34,211,238,0.3); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.cs-card-head { display: flex; align-items: flex-start; gap: 1rem; }
.cs-num { font-size: 1.5rem; font-weight: 600; color: rgba(34,211,238,0.55); line-height: 1; padding-top: 0.2rem; }
.cs-card-meta { flex: 1; min-width: 0; }
.cs-title { font-size: 1.3rem; margin-top: 0.45rem; line-height: 1.25; }
.cs-score { align-self: flex-start; font-size: 0.9rem; white-space: nowrap; }
.cs-grid { margin: 1.3rem 0 0; border-top: 1px solid var(--hairline); }
.cs-row { display: grid; grid-template-columns: 116px 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--hairline); }
.cs-row dt { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(245,245,244,0.62); padding-top: 0.2rem; }
.cs-row dd { margin: 0; font-size: 0.9rem; color: rgba(245,245,244,0.7); line-height: 1.65; }
.cs-outcome { margin: 1.15rem 0 0; font-size: 0.92rem; color: var(--bone-soft); line-height: 1.65; }
.cs-outcome-tag { display: inline-block; color: var(--signal); font-weight: 600; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 0.55rem; }
.cs-summary-wrap { margin-top: 3rem; overflow-x: auto; }
.cs-summary { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.cs-summary th { text-align: left; padding: 0.7rem 0.9rem; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,245,244,0.62); border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.cs-summary td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hairline); color: rgba(245,245,244,0.72); vertical-align: top; }
.cs-summary tbody tr:hover { background: rgba(34,211,238,0.04); }
@media (max-width: 640px) {
  .cs-card { padding: 1.25rem; }
  .cs-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .cs-title { font-size: 1.15rem; }
}

.signal-unlock { margin-top: 2rem; text-align: center; }

/* Pricing toggle & save badge */

/* Phones (JAN-85): the uppercase mono labels, chips and fine print sit at 0.6–0.68rem, which rendered
   9.6–10.9px at 375px (29 labels on the home page alone). Nothing readable goes below 11.5px there. */
@media (max-width: 720px) {
  .eyebrow-xs, .signal-kind, .role-conf, .signal-foot, .step-tag, .price-foot, .roi-hint,
  .roi-result-label, .roi-fine, .cta-fine,
  .lead-section-head, .lead-next-when, .dash-today-when, .pipe-card-top, .pipe-card-meta, .action-pill,
  .btn-xs, .dash-opener-note, .cs-row dt, .cs-outcome-tag, .cs-summary th { font-size: 0.72rem; }
}

/* The six specialisms a desk can be bought on, under the two price cards. */
.price-specialisms { border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 1.25rem 1.5rem; margin-top: 1.5rem; background: rgba(15,23,56,0.35); }
.price-specialism-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.8rem; }
.price-specialism-list li { line-height: 1.5; }
@media (min-width: 880px) { .price-specialism-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 2rem; } }

/* A Blazor circuit that died. blazor.web.js shows #blazor-error-ui by itself; until 30 Oct 2026 the
   element did not exist, so when the connection to the server was lost the page kept its layout, kept
   its text, and simply stopped answering clicks — the one failure a visitor cannot tell from being slow.
   Pinned to the bottom so it cannot be missed, and high enough in the stack to sit over the desk's
   sticky columns. */
#blazor-error-ui {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 0.85rem 1.25rem;
  background: var(--amber, #F59E0B);
  color: #1A1206;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}
#blazor-error-ui .reload { color: inherit; font-weight: 600; text-decoration: underline; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; padding: 0 0.4rem; font-weight: 700; }

/* A stack trace in the admin cockpit: long lines wrap rather than stretch the table off the page. */
.error-detail { white-space: pre-wrap; word-break: break-word; max-height: 18rem; overflow: auto; font-size: 0.7rem; line-height: 1.4; margin: 0.5rem 0 0; }

/* ── The reconnect dialog (ReconnectModal.razor) ─────────────────────────────────────────────────────
   Blazor toggles these classes on #components-reconnect-modal itself; the names are its own, not ours.
   From the .NET 10 template, in this site's colours. In app.css rather than a scoped .razor.css file so
   that it rides the same stylesheet as everything else and cannot be missed by a bundling change. */
.components-reconnect-first-attempt-visible,
.components-reconnect-repeated-attempt-visible,
.components-reconnect-failed-visible,
.components-pause-visible,
.components-resume-failed-visible,
.components-rejoining-animation { display: none; }

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-paused .components-pause-visible,
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible { display: block; }

#components-reconnect-modal {
  background: var(--ink-soft, #0F1738);
  color: var(--bone, #FAFAF9);
  width: min(22rem, calc(100vw - 2rem));
  margin: 20vh auto;
  padding: 2rem;
  border: 1px solid var(--hairline, rgba(250,250,249,0.08));
  border-radius: var(--radius-card, 0.75rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.9rem;
}
#components-reconnect-modal::backdrop { background: rgba(10, 14, 39, 0.72); }
.components-reconnect-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
#components-reconnect-modal p { margin: 0; text-align: center; line-height: 1.5; }
#components-reconnect-modal button {
  border: 0;
  background: var(--pulse, #22D3EE);
  color: #04121a;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
#components-reconnect-modal button:hover { background: var(--pulse-deep, #06B6D4); }

.components-rejoining-animation { position: relative; width: 72px; height: 72px; }
.components-rejoining-animation div {
  position: absolute;
  border: 3px solid var(--pulse, #22D3EE);
  opacity: 1;
  border-radius: 50%;
  animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.components-rejoining-animation div:nth-child(2) { animation-delay: -0.5s; }

@keyframes components-rejoining-animation {
  0%   { top: 36px; left: 36px; width: 0;    height: 0;    opacity: 0; }
  4.9% { top: 36px; left: 36px; width: 0;    height: 0;    opacity: 0; }
  5%   { top: 36px; left: 36px; width: 0;    height: 0;    opacity: 1; }
  100% { top: 0;    left: 0;    width: 72px; height: 72px; opacity: 0; }
}

/* Someone who asked for less movement gets the words without the pulse. */
@media (prefers-reduced-motion: reduce) {
  .components-rejoining-animation div { animation: none; opacity: 0.5; top: 0; left: 0; width: 72px; height: 72px; }
}
