/* ───────── Tokens ───────── */
:root {
  --bg-0:         #090b11;   /* deepest canvas */
  --bg:           #0d1017;
  --panel:        #141823;
  --panel-2:      #1b2030;
  --panel-3:      #222843;
  --text:         #eaedf3;
  --text-dim:     #9aa3b5;
  --text-faint:   #626c80;
  --border:       #252b3b;
  --border-soft:  #1a1f2c;
  --accent:       #6aa6ff;
  --accent-2:     #9b6bff;   /* purple end of brand gradient */
  --accent-hover: #82b7ff;
  --accent-soft:  #18233f;
  --success:      #6ddc8a;
  --danger:       #ff7a7a;
  --warning:      #f1c474;
  --radius:       12px;
  --radius-sm:    7px;
  --radius-lg:    18px;
  --font:         'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --grad:         linear-gradient(135deg, #6aa6ff, #9b6bff);
  --grad-soft:    linear-gradient(135deg, rgba(106,166,255,.16), rgba(155,107,255,.16));
  --shadow:       0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg:    0 24px 60px -18px rgba(0,0,0,.7);
  --ring:         0 0 0 1px rgba(106,166,255,.25);
}

* { box-sizing: border-box; }
::selection { background: rgba(106,166,255,.28); color: #fff; }

/* ───────── Motion utilities (GPU-friendly, accessible) ───────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes auroraShift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(3%,-2%) scale(1.08); } 100% { transform: translate(0,0) scale(1); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes dashFlow { to { stroke-dashoffset: -1000; } }
.reveal { animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal-1 { animation-delay: .05s; } .reveal-2 { animation-delay: .12s; }
.reveal-3 { animation-delay: .19s; } .reveal-4 { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Force HTML `hidden` to win against our own display rules (canonical reset). */
[hidden] { display: none !important; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ───────── Topbar ───────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--panel);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: block; }
.brand-name { font-weight: 700; letter-spacing: -0.015em; }
.brand-name-accent { color: var(--accent); }

/* Legacy gradient placeholder — kept for any old screens still referencing it. */
.logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #6aa6ff, #9b6bff);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; letter-spacing: 0.4px;
  color: #0d1017;
}
.topbar-nav { display: flex; align-items: center; gap: 18px; }
.topbar-nav a {
  color: var(--text-dim);
  font-size: 14px;
  position: relative;
  padding: 4px 0;
  transition: color 120ms ease;
}
.topbar-nav a:hover { color: var(--text); }
/* Active link: blue label + underline accent under the current section. */
.topbar-nav a.is-active { color: var(--text); }
.topbar-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -15px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}
.topbar-email {
  color: var(--text-faint);
  font-size: 13px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inline-form { display: inline; }

/* ───────── Container ───────── */
.container { max-width: 880px; margin: 32px auto; padding: 0 24px; }

/* ───────── Auth card ───────── */
.auth-card {
  position: relative;
  max-width: 420px;
  margin: 56px auto 32px;
  padding: 34px 30px;
  background: linear-gradient(180deg, var(--panel), rgba(20,24,35,.7));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) both;
  overflow: hidden;
}
.auth-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
}
.auth-card h1 { margin: 4px 0 6px; font-size: 23px; letter-spacing: -0.015em; }
.muted { color: var(--text-dim); margin: 0 0 18px; font-size: 14px; }
.info {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  padding: 10px 12px; margin: 0 0 14px; font-size: 13px;
}
.error {
  background: #2a141a;
  border: 1px solid #5a2730;
  border-radius: var(--radius-sm);
  color: var(--danger);
  padding: 10px 12px; margin: 0 0 14px; font-size: 13px;
}
.switch { margin: 16px 0 0; color: var(--text-dim); font-size: 13px; }
.hint   { color: var(--text-dim); font-size: 12px; }

/* ───────── Forms ───────── */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { color: var(--text-dim); font-size: 12px; font-weight: 500; }
.field input {
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.field input:focus { border-color: var(--accent); }

/* ───────── Buttons ───────── */
button { font-family: inherit; cursor: pointer; }
.primary {
  background: var(--grad); background-size: 160% 160%;
  color: #06090f;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 18px -8px rgba(106,166,255,.6);
  transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease;
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(106,166,255,.7); background-position: right center; }
.primary:active { transform: translateY(0); }
.primary.big { padding: 14px 26px; font-size: 15px; border-radius: 10px; }
.ghost {
  background: rgba(255,255,255,.02);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ghost:hover { background: var(--panel-2); border-color: var(--panel-3); transform: translateY(-1px); }
.ghost.small { padding: 6px 10px; font-size: 12px; }
.ghost.big { padding: 13px 22px; font-size: 15px; }
.link { font-size: 13px; }

/* ───────── Hero ───────── */
.hero { margin-bottom: 28px; }
.hero h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.01em; }

/* ───────── Stats ───────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.stat-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), rgba(20,24,35,.6));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: .55;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--panel-3); box-shadow: var(--shadow); }
.stat-label { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 26px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.stat-of    { color: var(--text-faint); font-size: 14px; font-weight: 400; margin-left: 4px; }
.stat-value.plan {
  text-transform: capitalize;
  color: var(--accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ───────── Block ───────── */
.block { margin-bottom: 32px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.block-head h1, .block-head h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }

.empty {
  background: var(--panel);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-dim);
  font-size: 14px;
}

/* ───────── Briefing list ───────── */
.briefing-list { list-style: none; padding: 0; margin: 0; }
.briefing-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 13px 15px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 7px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.briefing-row:hover { transform: translateX(3px); border-color: var(--panel-3); background: var(--panel-2); }
.briefing-domain { font-weight: 600; }
.briefing-role {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.briefing-meta { color: var(--text-faint); font-size: 12px; }

/* ───────── Badge ───────── */
.badge {
  display: inline-block;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: capitalize;
}
.badge.fresh { color: var(--success); border-color: rgba(109, 220, 138, 0.3); }

/* ───────── History table ───────── */
.history-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.history-table th, .history-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.history-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--panel-2);
}
.history-table tr:last-child td { border-bottom: 0; }

.pager {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
}
.pager-info { font-size: 13px; }

/* ───────── Single briefing ───────── */
.briefing { display: flex; flex-direction: column; gap: 14px; }
.briefing-head h1 { margin: 8px 0 4px; font-size: 24px; letter-spacing: -0.01em; }
.briefing-head .back { font-size: 13px; color: var(--text-dim); }
.briefing-meta-row { color: var(--text-faint); font-size: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.snapshot {
  background: var(--panel);
  border: 1px solid var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0;
  font-size: 15px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color .22s ease;
}
.card:hover { border-color: var(--border); }
.card h3 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.card dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 6px;
  column-gap: 12px;
  margin: 0;
}
.card dt { color: var(--text-dim); font-size: 13px; }
.card dd { margin: 0; font-size: 14px; }

.rev-amount { font-size: 18px; font-weight: 600; }
.rev-meta   { color: var(--text-dim); font-size: 12px; margin-top: 2px; }
.rev-bar {
  margin-top: 8px;
  background: var(--panel-2);
  border-radius: 4px;
  height: 6px; overflow: hidden;
}
.rev-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #9b6bff);
  border-radius: 4px; width: 0;
}

.signals { list-style: none; padding: 0; margin: 0; }
.signals li { padding: 4px 0; font-size: 14px; display: flex; gap: 6px; }
.signals li::before { content: "•"; color: var(--accent); }
.src-link { color: var(--text-faint); font-size: 11px; margin-left: 4px; }
.src-link:hover { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}

.news { list-style: none; padding: 0; margin: 0; }
.news li { padding: 4px 0; font-size: 14px; }

.role-card { background: linear-gradient(180deg, var(--panel) 0%, var(--accent-soft) 250%); }
.why-now { font-weight: 600; margin: 0 0 6px; }
.angle   { margin: 0 0 6px; }
.talking-points { padding-left: 18px; margin: 4px 0 0; }
.talking-points li { font-size: 14px; margin: 3px 0; }

.sources-hint { font-size: 12px; }

/* ───────── Landing page ───────── */
.landing-page { background: var(--bg-0); position: relative; overflow-x: hidden; }
.landing-page .topbar { background: rgba(13,16,23,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: rgba(37,43,59,.6); }
.landing-page .topbar-nav a { font-weight: 500; }
.landing-page .container { position: relative; z-index: 1; max-width: 1080px; }

/* ───────── Modern animated background: drifting gradient orbs + a slow-panning grid ───────── */
@keyframes auroraDrift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(4%,-3%) scale(1.10); }
  66%  { transform: translate(-3%,2%) scale(.96); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes gridPan { to { background-position: 46px 46px, 46px 46px; } }
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .55;
  animation: auroraDrift 22s ease-in-out infinite; will-change: transform;
}
.bg-fx .glow.g1 { width: 680px; height: 680px; top: -200px; right: -140px; background: radial-gradient(circle, rgba(106,166,255,.55), transparent 62%); }
.bg-fx .glow.g2 { width: 600px; height: 600px; top: 80px;  left: -180px; background: radial-gradient(circle, rgba(155,107,255,.50), transparent 62%); animation-delay: -7s; }
.bg-fx .glow.g3 { width: 520px; height: 520px; top: 720px; right: 4%;    background: radial-gradient(circle, rgba(80,210,200,.32), transparent 62%); animation-delay: -13s; }
.bg-fx .glow.g4 { width: 440px; height: 440px; top: 1180px; left: 12%;   background: radial-gradient(circle, rgba(106,166,255,.30), transparent 62%); animation-delay: -18s; }
.bg-fx .bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(106,166,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,166,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 82% 60% at 50% 32%, #000 32%, transparent 80%);
  mask-image: radial-gradient(ellipse 82% 60% at 50% 32%, #000 32%, transparent 80%);
  animation: gridPan 28s linear infinite; will-change: background-position;
}

/* Hero */
.landing-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 64px 0 40px;
}
.hero-copy { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--grad-soft); border: 1px solid rgba(106,166,255,.28);
  color: var(--accent); font-size: 12.5px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(106,166,255,.18); }
.landing-hero h1 {
  font-size: 52px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800;
  margin: 0 0 18px;
}
.landing-hero h1 .grad-text {
  color: var(--accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { max-width: 540px; margin: 0 0 28px; color: var(--text-dim); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-actions a { text-decoration: none; display: inline-flex; align-items: center; }
.hero-meta { color: var(--text-faint); font-size: 13px; margin: 0; display: flex; align-items: center; gap: 8px; }
.hero-meta::before { content: "✓"; color: var(--success); }

/* Live briefing-preview panel (the product, shown as a glassy card) */
.hero-preview {
  position: relative; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .15s both;
}
.preview-card {
  background: linear-gradient(180deg, rgba(27,32,48,.9), rgba(20,24,35,.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.preview-card:hover { transform: translateY(-3px); transition: transform .3s ease; }
.pv-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); background: rgba(9,11,17,.5); }
.pv-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.pv-bar .r { background: #ff5f57; } .pv-bar .y { background: #febc2e; } .pv-bar .g { background: #28c840; }
.pv-bar .pv-domain { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.pv-bar .pv-time { margin-left: auto; font-size: 11px; color: var(--accent); }
.pv-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pv-snap { font-size: 13.5px; color: var(--text); line-height: 1.5; border-left: 3px solid var(--accent); padding-left: 12px; }
.pv-rows { display: flex; flex-direction: column; gap: 8px; }
.pv-row { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; }
.pv-row .k { color: var(--text-dim); }
.pv-row .v { font-weight: 600; font-family: var(--mono); }
.pv-chip { font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.pv-chip.known { background: rgba(80,210,200,.16); color: #5fd2c8; }
.pv-chip.news  { background: rgba(106,166,255,.16); color: var(--accent); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pv-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 30px 0 8px; padding: 22px;
  background: linear-gradient(180deg, rgba(20,24,35,.7), rgba(13,16,23,.5));
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-cap { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

/* Section heading */
.section-head { text-align: center; margin: 64px 0 28px; }
.section-head h2 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 800; }
.section-head p { color: var(--text-dim); margin: 0; font-size: 16px; }

/* Feature cards with gradient-border + hover lift */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 24px; }
.feature-card {
  position: relative; background: var(--panel);
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-card .fi {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); margin-bottom: 14px; font-size: 19px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* CTA band */
.landing-cta {
  position: relative; text-align: center; border-radius: var(--radius-lg);
  padding: 56px 24px; margin: 48px 0 64px; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, rgba(106,166,255,.18), transparent 60%), var(--panel);
  border: 1px solid var(--border);
}
.landing-cta h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -0.02em; font-weight: 800; }
.landing-cta p { margin: 0 0 22px; color: var(--text-dim); font-size: 16px; }

/* ───────── Static info pages (privacy, terms) ───────── */
.doc-page { max-width: 720px; }
.doc-page h1 { font-size: 28px; letter-spacing: -0.01em; margin-bottom: 6px; }
.doc-page .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 32px; }
.doc-page h2 {
  margin: 32px 0 8px;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.doc-page p, .doc-page li { color: var(--text); font-size: 14px; line-height: 1.7; }
.doc-page ul { padding-left: 22px; }
.doc-page code {
  background: var(--panel-2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  color: var(--accent);
}

/* ───────── 404 ───────── */
.notfound {
  text-align: center;
  padding: 80px 16px;
}
.notfound h1 {
  font-size: 56px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.notfound p { color: var(--text-dim); margin: 0 0 24px; }

/* ───────── Footer ───────── */
.footer {
  text-align: center;
  padding: 36px 16px 24px;
  color: var(--text-faint);
  font-size: 12px;
}
.footer-links {
  margin-bottom: 6px;
}
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

/* ───────── Google button ───────── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14px;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}
.btn-google:hover { background: var(--panel-2); }
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 14px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* ───────── Settings ───────── */
.settings-block { margin-bottom: 24px; }
.settings-block h2 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ───────── Responsive ───────── */
@media (max-width: 920px) {
  .landing-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 24px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .landing-hero h1 { font-size: 42px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .stats { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .features { grid-template-columns: 1fr; }
  .landing-hero h1 { font-size: 34px; }
  .section-head h2, .landing-cta h2 { font-size: 24px; }
  .topbar-nav { gap: 12px; }
  .topbar-email { display: none; }
  .card dl { grid-template-columns: 1fr; }
}

/* ───────── Decision-grade briefing (schema v2) ───────── */
.legend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 14px;
}
.rec-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.rec-known   { background: rgba(109,220,138,.14); color: var(--success); }
.rec-tail    { background: rgba(241,196,116,.14); color: var(--warning); }
.rec-unknown { background: rgba(255,122,122,.14); color: var(--danger); }
.rec-meta { font-size: 12px; color: var(--text-faint); }
.rec-bar { flex: 1 1 80px; height: 5px; background: var(--panel-2); border-radius: 4px; overflow: hidden; min-width: 60px; }
.rec-bar-fill { height: 100%; background: linear-gradient(90deg,var(--accent),#9b6bff); }

.firmo-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.fact { font-size: 14px; }
.fact-k { color: var(--text-dim); margin-right: 6px; }

.est-row {
  display: grid; grid-template-columns: 100px 1fr auto; align-items: center;
  gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-soft);
}
.est-label { font-size: 13px; color: var(--text-dim); }
.est-val { font-size: 14px; font-weight: 600; }
.est-val.muted { font-weight: 400; color: var(--text-faint); font-style: italic; }
.est-tail { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.chip.prov { font-size: 10px; padding: 1px 8px; font-weight: 600; text-transform: lowercase; }
.prov-disclosed { background: rgba(109,220,138,.16); color: var(--success); }
.prov-news      { background: rgba(106,166,255,.16); color: var(--accent); }
.prov-known     { background: rgba(80,210,200,.16);  color: #5fd2c8; }
.prov-inferred  { background: rgba(241,196,116,.16); color: var(--warning); }
.prov-unknown   { background: var(--panel-2);        color: var(--text-faint); }

.pill { font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.conf-hi  { background: rgba(109,220,138,.14); color: var(--success); }
.conf-mid { background: rgba(241,196,116,.14); color: var(--warning); }
.conf-lo  { background: rgba(255,122,122,.14); color: var(--danger); }

.ri-block { padding: 10px 0; border-top: 1px solid var(--border-soft); }
.ri-block:first-of-type { border-top: 0; padding-top: 0; }
.ri-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin-bottom: 5px; font-weight: 600; }
.ri-list { margin: 0; padding-left: 18px; }
.ri-list li { font-size: 14px; margin: 3px 0; }

/* ───────── Landing: role pain rows ───────── */
.eyebrow { display:inline-block; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--accent); background:var(--grad-soft); border:1px solid rgba(106,166,255,.25); padding:4px 11px; border-radius:999px; margin-bottom:14px; }
.pain-row {
  display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center;
  background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius-lg);
  padding:32px; margin-bottom:18px;
}
.pain-row.reverse { grid-template-columns:.9fr 1.1fr; }
.pain-row.reverse .pain-copy { order:2; }
.pain-row.reverse .pain-bullets { order:1; }
.pain-copy h3 { font-size:24px; letter-spacing:-0.02em; margin:0 0 14px; }
.pain-copy .pain { color:var(--text-dim); font-size:14.5px; line-height:1.6; margin:0 0 12px; }
.pain-copy .solution { color:var(--text); font-size:14.5px; line-height:1.6; margin:0; }
.pain-copy .pain strong { color:var(--danger); } .pain-copy .solution strong { color:var(--accent); }
.pain-bullets { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.pain-bullets li { position:relative; padding-left:26px; font-size:13.5px; color:var(--text); line-height:1.45;
  background:var(--panel-2); border:1px solid var(--border-soft); border-radius:var(--radius-sm); padding:12px 14px 12px 34px; }
.pain-bullets li::before { content:"✓"; position:absolute; left:13px; top:12px; color:var(--success); font-weight:700; }

/* ───────── Landing: how-it-works steps ───────── */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:24px; }
.step { background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius); padding:24px; position:relative; }
.step-n { width:38px; height:38px; border-radius:10px; background:var(--grad); color:#06090f; font-weight:800;
  display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:14px; }
.step h3 { margin:0 0 8px; font-size:17px; letter-spacing:-0.01em; }
.step p { margin:0; color:var(--text-dim); font-size:14px; line-height:1.55; }

/* ───────── Landing: comparison table ───────── */
.compare { overflow-x:auto; margin-bottom:24px; }
.compare-table { width:100%; border-collapse:separate; border-spacing:0; background:var(--panel);
  border:1px solid var(--border-soft); border-radius:var(--radius-lg); overflow:hidden; }
.compare-table th, .compare-table td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--border-soft); font-size:14px; vertical-align:top; }
.compare-table thead th { background:var(--panel-2); font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-dim); }
.compare-table thead th:nth-child(2) { color:var(--accent); }
.compare-table td:first-child { color:var(--text-dim); font-weight:500; }
.compare-table td.yes { color:var(--text); font-weight:600; }
.compare-table tr:last-child td { border-bottom:0; }

/* ───────── Blog cards / teasers ───────── */
.blog-teasers, .blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:24px; }
.blog-card { display:flex; flex-direction:column; gap:10px; text-decoration:none; color:var(--text);
  background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius); padding:22px;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform:translateY(-4px); border-color:var(--panel-3); box-shadow:var(--shadow); color:var(--text); }
.blog-card h2, .blog-card h3 { margin:0; font-size:17px; line-height:1.3; letter-spacing:-0.01em; }
.blog-card p { margin:0; color:var(--text-dim); font-size:13.5px; line-height:1.5; }
.blog-card.big { padding:26px; }
.blog-tag { align-self:flex-start; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  padding:3px 10px; border-radius:999px; background:var(--grad-soft); color:var(--accent); }
.blog-tag.tag-recruiter { background:rgba(109,220,138,.14); color:var(--success); }
.blog-tag.tag-investor { background:rgba(155,107,255,.16); color:#b794ff; }
.blog-meta { color:var(--text-faint); font-size:12px; }
.blog-more { color:var(--accent); font-weight:600; font-size:13px; margin-top:auto; }

/* ───────── FAQ accordion (native, no JS) ───────── */
.faq { max-width:820px; margin:0 auto 24px; display:flex; flex-direction:column; gap:10px; }
.faq-item { background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius); overflow:hidden; }
.faq-item summary { cursor:pointer; list-style:none; padding:16px 18px; font-weight:600; font-size:15px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color:var(--accent); font-size:20px; font-weight:400; transition:transform .2s ease; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item summary:hover { color:var(--accent); }
.faq-a { padding:0 18px 16px; }
.faq-a p { margin:0; color:var(--text-dim); font-size:14px; line-height:1.6; }

/* ───────── Blog index / post ───────── */
.blog-header { text-align:center; padding:56px 0 8px; }
.blog-header h1 { font-size:38px; letter-spacing:-0.02em; margin:14px 0 10px; font-weight:800; }
.blog-header p { color:var(--text-dim); font-size:16px; max-width:620px; margin:0 auto; }

.post { max-width:760px; margin:0 auto; }
.post .back { display:inline-block; color:var(--text-dim); font-size:13px; margin:24px 0 8px; }
.post-head { padding:8px 0 24px; border-bottom:1px solid var(--border-soft); margin-bottom:28px; }
.post-head h1 { font-size:36px; line-height:1.15; letter-spacing:-0.02em; margin:14px 0 10px; font-weight:800; }
.post-meta { color:var(--text-faint); font-size:13px; margin:0; }
.post-body { font-size:16px; line-height:1.75; color:var(--text); }
.post-body h2 { font-size:25px; letter-spacing:-0.015em; margin:34px 0 12px; }
.post-body h3 { font-size:19px; margin:26px 0 10px; }
.post-body p { margin:0 0 16px; color:#cdd3df; }
.post-body ul, .post-body ol { margin:0 0 16px; padding-left:22px; }
.post-body li { margin:7px 0; color:#cdd3df; }
.post-body strong { color:var(--text); }
.post-body blockquote { margin:20px 0; padding:14px 20px; border-left:3px solid var(--accent);
  background:var(--panel); border-radius:0 var(--radius-sm) var(--radius-sm) 0; color:var(--text); font-style:italic; }
.post-body a { color:var(--accent); text-decoration:underline; }
.post-cta { margin:40px 0; padding:32px; text-align:center; border-radius:var(--radius-lg);
  background:radial-gradient(120% 140% at 50% 0%, rgba(106,166,255,.16), transparent 60%), var(--panel); border:1px solid var(--border); }
.post-cta h3 { margin:0 0 8px; font-size:22px; letter-spacing:-0.01em; }
.post-cta p { margin:0 0 18px; color:var(--text-dim); }
.post-related { margin:36px 0 56px; }
.post-related h3 { font-size:16px; margin:0 0 14px; }
.post-related .blog-grid { grid-template-columns:repeat(2,1fr); }

/* ───────── Settings: role option cards ───────── */
.opt-cards { display:flex; flex-direction:column; gap:10px; }
.opt-card { display:flex; gap:12px; align-items:flex-start; padding:14px 16px; cursor:pointer;
  background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
  transition:border-color .18s ease, background .18s ease; }
.opt-card:hover { border-color:var(--panel-3); }
.opt-card input { margin-top:3px; accent-color:var(--accent); width:16px; height:16px; flex:0 0 auto; }
.opt-card.checked, .opt-card:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
.opt-card .opt-title { font-weight:600; font-size:14px; }
.opt-card .opt-desc { color:var(--text-dim); font-size:13px; margin-top:2px; }
.textarea { width:100%; background:var(--panel-2); color:var(--text); border:1px solid var(--border);
  border-radius:var(--radius-sm); padding:11px 13px; font:inherit; font-size:14px; resize:vertical; min-height:96px; }
.field-block { margin-bottom:22px; }
.field-block > label.fl { display:block; font-size:12px; color:var(--text-dim); font-weight:600; margin-bottom:7px; text-transform:uppercase; letter-spacing:.04em; }

@media (max-width: 920px) {
  .pain-row, .pain-row.reverse { grid-template-columns:1fr; gap:22px; padding:24px; }
  .pain-row.reverse .pain-copy { order:0; } .pain-row.reverse .pain-bullets { order:0; }
  .steps { grid-template-columns:1fr; }
  .blog-teasers, .blog-grid, .post-related .blog-grid { grid-template-columns:1fr; }
  .blog-header h1 { font-size:30px; } .post-head h1 { font-size:28px; }
}

/* ───────── Landing: RAG engine band ───────── */
.engine-band {
  display:flex; align-items:flex-start; gap:18px; margin:18px 0 8px; padding:24px 26px;
  border-radius:var(--radius-lg); border:1px solid var(--border);
  background:radial-gradient(120% 160% at 0% 0%, rgba(155,107,255,.16), transparent 55%),
             radial-gradient(120% 160% at 100% 0%, rgba(106,166,255,.16), transparent 55%), var(--panel);
}
.engine-icon { font-size:26px; line-height:1; flex:0 0 auto; width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; background:var(--grad-soft); }
.engine-text h2 { margin:0 0 8px; font-size:22px; letter-spacing:-0.02em; }
.engine-text p { margin:0; color:var(--text-dim); font-size:14.5px; line-height:1.6; }
.engine-text strong { color:var(--text); }
@media (max-width:720px){ .engine-band { flex-direction:column; gap:12px; } }

/* ───────────────────────── Live demo tool (/company-research) + home hero form ───────────────────────── */
.hero-cr-form, .cr-form {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin: 18px 0 10px;
}
.cr-input {
  flex: 1 1 320px; min-width: 0; padding: 13px 16px; font-family: var(--font); font-size: 15px;
  color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
}
.cr-input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.cr-role {
  flex: 0 0 auto; padding: 13px 14px; font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
}
.cr-head { text-align: center; max-width: 760px; margin: 28px auto 6px; }
.cr-head h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0 0 12px; }
.cr-sub { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.cr-tool { max-width: 760px; margin: 8px auto 18px; }
.cr-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; color: var(--text-faint); font-size: 13px; }
.cr-pill {
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border);
  padding: 4px 11px; border-radius: 999px; font-weight: 600; font-size: 12px;
}
.cr-examples a.cr-chip {
  color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(106,166,255,.4); margin: 0 2px;
}
.cr-examples a.cr-chip:hover { color: var(--accent-hover); }

.cr-loading { text-align: center; padding: 40px 0; color: var(--text-dim); }
.cr-spinner {
  width: 34px; height: 34px; margin: 0 auto 14px; border-radius: 50%;
  border: 3px solid var(--panel-3); border-top-color: var(--accent); animation: cr-spin .8s linear infinite;
}
@keyframes cr-spin { to { transform: rotate(360deg); } }

.cr-gate, .cr-error {
  max-width: 620px; margin: 18px auto; padding: 22px; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.cr-gate-msg { font-size: 16px; color: var(--text); margin: 0 0 16px; line-height: 1.55; }
.cr-gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cr-error { color: var(--danger); }

.cr-result { max-width: 760px; margin: 18px auto 40px; }
.cr-result-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cr-result-head h2 { margin: 0; font-size: 24px; }
.cr-domain { color: var(--text-faint); font-family: var(--mono); font-size: 13px; }
.cr-snapshot { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin: 8px 0 18px; }
.cr-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin: 12px 0;
}
.cr-card h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
.cr-row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px solid var(--border-soft); }
.cr-row:last-child { border-bottom: none; }
.cr-k { color: var(--text-faint); font-size: 13px; }
.cr-v { color: var(--text); font-weight: 600; text-align: right; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cr-chip-tag { background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; font-size: 12px; color: var(--text-dim); }
.cr-list { margin: 6px 0 0; padding-left: 18px; color: var(--text-dim); }
.cr-list li { margin: 4px 0; line-height: 1.5; }
.cr-list a { color: var(--accent); }
.cr-opener { background: var(--panel-2); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); margin: 6px 0; font-style: italic; }
.cr-foot { color: var(--text-faint); font-size: 12px; text-align: center; margin-top: 18px; }

/* ── /company/{domain}/{role} SEO page: merged-data enrichments ── */
/* Prominent role verdict band (the single most decision-relevant line). */
.cr-verdict {
  margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.45;
}

/* Firmographics: per-fact block with provenance/confidence metadata. */
.cr-fact { padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.cr-fact:last-of-type { border-bottom: none; }
.cr-fact-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.cr-fact-head .cr-k { color: var(--text-faint); font-size: 13px; }
.cr-fact-head .cr-v { color: var(--text); font-weight: 600; text-align: right; }
.cr-fact-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.cr-prov {
  font-size: 11px; text-transform: uppercase; letter-spacing: .03em; font-weight: 600;
  padding: 1px 7px; border-radius: 999px; color: var(--text-dim);
  background: rgba(63, 185, 80, .12); border: 1px solid rgba(63, 185, 80, .3);
}
.cr-prov.est { background: rgba(210, 153, 34, .12); border-color: rgba(210, 153, 34, .35); color: #d29922; }
.cr-conf { font-size: 11px; color: var(--text-faint); }
.cr-note { font-size: 11px; color: var(--text-faint); font-style: italic; }
.cr-fact-foot { color: var(--text-faint); font-size: 11px; margin: 12px 0 0; line-height: 1.5; }

/* Tech stack grouped by category. */
.cr-techgroup { margin-bottom: 12px; }
.cr-techgroup:last-child { margin-bottom: 0; }
.cr-techcat {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-faint); margin-bottom: 6px;
}
.cr-chip-tag.cr-social { color: var(--accent); text-decoration: none; }
.cr-chip-tag.cr-social:hover { color: var(--accent-hover); }
a.cr-chip-tag { text-decoration: none; }
a.cr-chip-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Citations + news/source meta. */
.cr-cite { font-size: 11px; color: var(--text-faint); margin-left: 6px; }
.cr-news-meta { display: block; font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.cr-news-meta span + span::before { content: " · "; }

/* Cross-role sibling cards. */
.cr-sibgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-sibcard {
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--border); text-decoration: none;
}
.cr-sibcard:hover { border-color: var(--accent); }
.cr-sibrole { display: block; color: var(--text); font-weight: 600; font-size: 14px; }
.cr-sibteaser { display: block; color: var(--text-dim); font-size: 12px; margin-top: 4px; line-height: 1.45; }
@media (max-width: 560px) { .cr-sibgrid { grid-template-columns: 1fr; } }

/* Sources list. */
.cr-sources .cr-list { font-size: 13px; }
.cr-sources .cr-list li { color: var(--text-faint); }

/* ═════════ Launch hardening: a11y, mobile nav, responsive, cross-browser ═════════ */

/* ── Skip-to-content link (keyboard users) ── */
.skip-link {
  position: absolute; left: 8px; top: -56px; z-index: 100;
  background: var(--accent); color: #0d1017; font-weight: 700;
  padding: 9px 14px; border-radius: var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: #0d1017; outline: none; }

/* ── Visible keyboard focus ring everywhere (was missing — WCAG 2.4.7) ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Mobile nav: hamburger drawer (pure-CSS checkbox toggle, no JS) ── */
.nav-cb { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 11px; margin-left: auto; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel-2);
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease; }
  .nav-cb:focus-visible + .nav-toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
  .topbar-nav {
    display: none; flex-basis: 100%; order: 3;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border-soft);
  }
  .nav-cb:checked ~ .topbar-nav { display: flex; }
  .nav-cb:checked + .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-cb:checked + .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-cb:checked + .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar-nav a { padding: 11px 6px; min-height: 44px; display: flex; align-items: center; }
  .topbar-nav a.is-active { color: var(--accent); }
  .topbar-nav a.is-active::after { display: none; }
  .topbar-email { max-width: 100%; padding: 4px 6px; }
  .inline-form { display: block; }
  .inline-form .ghost.small { width: 100%; }
}

/* ── Touch targets + form stacking on phones ── */
@media (max-width: 560px) {
  .hero-cr-form, .cr-form { flex-direction: column; align-items: stretch; }
  .hero-cr-form > *, .cr-form > * { width: 100%; }
  .cr-input, .cr-role, .field input, .field select, .field textarea { min-height: 46px; }
  .primary, .ghost, .btn, button[type="submit"] { min-height: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > a { width: 100%; text-align: center; }
  .footer { padding: 28px 16px 22px; }
}

/* ── Tablet breakpoint (fills the 720–920 gap) ── */
@media (max-width: 900px) and (min-width: 721px) {
  .features { gap: 14px; }
}

/* ── Cross-browser: FAQ marker (Firefox/Edge show the triangle without this) ── */
.faq-item summary { list-style: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ═════════ Chrome-extension install CTA ═════════ */
.ext-cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: 880px; margin: 26px auto; padding: 18px 22px;
  background: var(--grad-soft); border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
}
.ext-cta-icon img { display: block; border-radius: 9px; }
.ext-cta-text { flex: 1 1 280px; min-width: 0; }
.ext-cta-h { margin: 0 0 4px; font-weight: 700; font-size: 16px; color: var(--text); }
.ext-cta-sub { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.ext-cta-btn { white-space: nowrap; }
.ext-install-btn span:first-child { margin-right: 4px; }
@media (max-width: 560px) { .ext-cta { padding: 16px; } .ext-cta-btn { width: 100%; justify-content: center; } }

/* ═════════ Breadcrumb (/company/{domain}/{role} pages) ═════════ */
.crumbs { max-width: 820px; margin: 0 auto 4px; font-size: 13px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--text-faint); }
.crumbs li + li::before { content: "\203A"; color: var(--text-faint); }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--text-dim); }

/* ═════════ /company directory (paginated brief index) ═════════ */
.dir-head { text-align: center; max-width: 720px; margin: 8px auto 24px; }
.dir-head h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.03em; margin: 0 0 14px; }
.dir-intro { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin: 0; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.dir-card {
  display: flex; flex-direction: column; gap: 7px; padding: 18px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.dir-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.dir-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dir-name { font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: -0.01em; }
.dir-role { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px; color: var(--text-dim); background: var(--panel-2); border: 1px solid var(--border); white-space: nowrap; }
.dir-role.role-sales { color: #5fd2c8; border-color: rgba(80,210,200,.3); }
.dir-role.role-recruiter { color: #f1c474; border-color: rgba(241,196,116,.3); }
.dir-role.role-investor { color: var(--accent); border-color: rgba(106,166,255,.3); }
.dir-domain { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.dir-descr { margin: 2px 0 0; font-size: 13px; color: var(--text-dim); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.dir-industry { font-size: 11px; color: var(--text-faint); }
.dir-open { font-size: 12px; color: var(--accent); font-weight: 600; }
.dir-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 8px; flex-wrap: wrap; }
.dir-pageinfo { color: var(--text-dim); font-size: 13px; }
.dir-pager .is-disabled { opacity: .4; pointer-events: none; }

/* ═════════ Hero animated demo (DOM-built, looping — no video) ═════════ */
.hero-demo { position: relative; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .15s both; }
.hd-ring {
  position: absolute; inset: -1px; border-radius: calc(var(--radius-lg) + 2px); z-index: 0;
  background: linear-gradient(135deg, rgba(106,166,255,.6), rgba(155,107,255,.3), transparent 70%);
  filter: blur(16px); opacity: .55; animation: floaty 7s ease-in-out infinite;
}
.hd-card {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(180deg, rgba(27,32,48,.92), rgba(18,22,33,.96));
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: floaty 8s ease-in-out infinite;
}
.hd-bar { display: flex; align-items: center; gap: 7px; padding: 11px 13px;
  border-bottom: 1px solid var(--border-soft); background: rgba(9,11,17,.55); }
.hd-dot { width: 11px; height: 11px; border-radius: 50%; }
.hd-dot.r { background: #ff5f57; } .hd-dot.y { background: #febc2e; } .hd-dot.g { background: #28c840; }
.hd-urlbar { display: flex; align-items: center; gap: 6px; flex: 1; margin-left: 8px; min-width: 0;
  background: var(--bg-0); border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px; }
.hd-lock { font-size: 9px; opacity: .55; }
.hd-url { font-family: var(--mono); font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; }
.hd-caret { width: 1.5px; height: 13px; background: var(--accent); display: inline-block; }
.hd-caret.blink { animation: caretBlink 1s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.hd-go { font-size: 11px; font-weight: 700; color: #0d1017; background: var(--accent);
  padding: 4px 11px; border-radius: 6px; transition: transform .12s ease, filter .12s ease; }
.hd-go.press { transform: scale(.92); filter: brightness(.9); }
.hd-body { position: relative; padding: 16px; min-height: 236px; }
.hd-loading { position: absolute; top: 22px; left: 16px; display: none; gap: 5px; }
.hd-loading.show { display: flex; }
.hd-loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .45;
  animation: hdBounce 1s ease-in-out infinite; }
.hd-loading span:nth-child(2) { animation-delay: .15s; }
.hd-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes hdBounce { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-6px); opacity: 1; } }
.hd-brief { display: flex; flex-direction: column; gap: 11px; opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease; }
.hd-brief.show { opacity: 1; transform: none; }
.hd-brief.out { opacity: 0; transform: translateY(-6px); }
.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hd-name { font-weight: 700; font-size: 14px; color: var(--text); }
.hd-time { font-size: 11px; color: var(--accent); font-family: var(--mono); white-space: nowrap; }
.hd-snap { font-size: 13px; color: var(--text-dim); line-height: 1.45; border-left: 3px solid var(--accent);
  padding-left: 11px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.hd-snap.in { opacity: 1; transform: none; }
.hd-rows { display: flex; flex-direction: column; gap: 7px; }
.hd-row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.hd-row.in { opacity: 1; transform: none; }
.hd-row .k { color: var(--text-faint); }
.hd-row .v { font-weight: 600; font-family: var(--mono); color: var(--text); }
.hd-chip { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.hd-chip.known    { background: rgba(80,210,200,.16);  color: #5fd2c8; }
.hd-chip.est      { background: rgba(241,196,116,.14); color: #f1c474; }
.hd-chip.news     { background: rgba(106,166,255,.16); color: var(--accent); }
.hd-chip.sales    { background: rgba(80,210,200,.16);  color: #5fd2c8; }
.hd-chip.recruiter{ background: rgba(241,196,116,.14); color: #f1c474; }
.hd-chip.investor { background: rgba(155,107,255,.18); color: #b89bff; }
.hd-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hd-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2);
  border: 1px solid var(--border); color: var(--text-dim);
  opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease; }
.hd-tag.in { opacity: 1; transform: none; }
@media (max-width: 920px) { .hd-card, .hd-ring { max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ── Hero right column (capture form on top, full-brief demo below) ── */
.landing-hero { align-items: start; }
.hero-right { display: flex; flex-direction: column; gap: 12px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .15s both; }
.hero-right .hero-cr-form { margin: 0; }
.hero-right .hero-meta { margin: 0; }
.hero-right .hero-demo { margin-top: 2px; }
@media (max-width: 920px) { .hero-right { max-width: 460px; margin: 0 auto; width: 100%; } }

/* ── Full-brief streaming panel ── */
.hd-card { position: relative; }
.hd-card::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 1px; height: 30px; z-index: 2;
  background: linear-gradient(transparent, rgba(18,22,33,.96)); pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hd-scroll { position: relative; height: 430px; overflow: hidden; padding: 14px 15px 22px; }
.hd-head { display: flex; align-items: center; gap: 8px; }
.hd-head .hd-name { font-weight: 700; font-size: 15px; color: var(--text); }
.hd-role { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); }
.hd-head .hd-time { margin-left: auto; }
.hd-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.hd-legend.in { opacity: 1; transform: none; }
.hd-leg-badge { font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(80,210,200,.14); color: #5fd2c8; white-space: nowrap; }
.hd-leg-meta { font-size: 11px; color: var(--text-faint); }
.hd-leg-bar { flex: 1; min-width: 50px; height: 5px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.hd-leg-bar > i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.hd-sec { display: flex; flex-direction: column; gap: 7px; padding-top: 8px; }
.hd-sec:empty { display: none; }
.hd-sec-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint);
  opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.hd-sec-label.in { opacity: 1; transform: none; }
.hd-tail { display: inline-flex; align-items: center; gap: 5px; }
.hd-pct { font-size: 9.5px; font-weight: 700; color: var(--warning); background: rgba(241,196,116,.12); border-radius: 999px; padding: 1px 6px; }
.hd-tagrow { display: flex; flex-wrap: wrap; gap: 5px; }
.hd-news-item { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: var(--accent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.hd-news-item.in { opacity: 1; transform: none; }
.hd-news-t { line-height: 1.35; }
.hd-news-src { font-size: 10.5px; color: var(--text-faint); }
.hd-sig { position: relative; font-size: 12px; color: var(--text-dim); line-height: 1.45; padding-left: 13px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.hd-sig::before { content: "\2022"; position: absolute; left: 2px; color: var(--accent); }
.hd-sig.in { opacity: 1; transform: none; }
.hd-blk { display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.hd-blk.in { opacity: 1; transform: none; }
.hd-blk-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.hd-blk ul { margin: 1px 0 0; padding-left: 15px; }
.hd-blk li { font-size: 12px; color: var(--text-dim); line-height: 1.45; margin: 1px 0; }
