:root {
  color-scheme: light;
  --bg: #eef3f9;
  --surface: #f8fbfe;
  --text: #12263f;
  --muted: #5c7089;
  --line: #d9e3f0;
  --brand: #2f6fd0;
  --brand-ink: #ffffff;
  --brand-soft: #dbe9fb;
  --ok: #1c7a46;
  --ok-soft: #e5f4ea;
  --info: #2a64c4;
  --info-soft: #dbe9fb;
  --warn: #c47a0a;
  --warn-soft: #fcefdc;
  --danger: #b03030;
  --danger-soft: #fbe8e8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(18, 38, 63, 0.05), 0 2px 8px rgba(18, 38, 63, 0.04);
  --disp: 'Source Serif 4', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grad-a: #5b8def;
  --grad-b: #8f6bf0;
  --grad-text: #8fb3ff;
  --nav-glass: rgba(255, 255, 255, 0.65);
  --hero-glow-a: rgba(143, 179, 255, 0.35);
  --hero-glow-b: rgba(255, 180, 214, 0.28);
}

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }

/* Light is the default look; dark is an explicit visitor choice (not a system-preference
   follow), toggled via [data-theme="dark"] on <html> and remembered in localStorage. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: #12161f;
  --text: #eef1f7;
  --muted: #8a97b8;
  --line: #232a38;
  --brand-soft: #1b2c4a;
  --ok-soft: #14301f;
  --info-soft: #16223a;
  --warn: #f0b93e;
  --warn-soft: #3a2a12;
  --danger-soft: #3a1414;
  --nav-glass: rgba(8, 12, 22, 0.55);
  --hero-glow-a: rgba(30, 50, 90, 0.55);
  --hero-glow-b: rgba(60, 32, 90, 0.45);
}
html[data-theme="dark"] .match-card { background: var(--surface); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
html[data-theme="dark"] .btn:not(.primary) { background: var(--surface); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: 1rem; line-height: 1; order: 5; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--brand); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--body);
}
h1, h2, h3 { font-family: var(--disp); line-height: 1.15; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 0.75rem; }
a { color: var(--brand); }
small, .hint { color: var(--muted); font-size: 0.85rem; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: 0.5rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

.topbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.75rem 1rem; background: var(--nav-glass); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.brand { font-family: var(--disp); font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 0.25rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.nav a { padding: 0.5rem 1rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--bg); }
.nav a.active { background: var(--bg); color: var(--text); font-weight: 700; }
html[data-theme="dark"] .nav a.active { background: rgba(255,255,255,0.08); }
.who { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }

main { max-width: 1040px; margin: 0 auto; padding: 1.25rem 1rem 3rem; outline: none; }
.footer { padding: 2rem 1rem 2.5rem; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; }
.footer-tagline { text-align: left; }
.footer-tagline p { margin: 0 0 0.3rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.25rem; max-width: 420px; }
.footer-links a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-disclaimer { max-width: 1040px; margin: 1.25rem auto 0; text-align: left; }
@media (max-width: 640px) {
  .footer-row { flex-direction: column; }
  .footer-tagline, .footer-links { text-align: left; justify-content: flex-start; max-width: none; }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.row.spread { justify-content: space-between; }
.grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
/* job-seeker dashboard home (#/dashboard) */
.dash-stat { display: flex; flex-direction: column; gap: 0.25rem; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.dash-stat:hover { transform: translateY(-2px); border-color: var(--grad-a); }
.dash-stat-value { font-family: var(--disp); font-size: 1.9rem; font-weight: 700; line-height: 1; background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 60%, #d56fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack > * + * { margin-top: 0.75rem; }

.btn {
  font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 0.5rem 0.95rem; border-radius: 8px; min-height: 40px;
}
.btn:hover { border-color: var(--brand); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
.btn.primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff; border-color: transparent; font-weight: 600;
  box-shadow: 0 14px 34px rgba(91, 141, 239, 0.35);
}
.btn.primary:hover { box-shadow: 0 16px 40px rgba(143, 107, 240, 0.5); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.small { padding: 0.25rem 0.6rem; min-height: 32px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

input[type="text"], input[type="email"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  font: inherit; width: 100%; padding: 0.5rem 0.65rem; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
}
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 0.85rem; }
.field > label, .labeled { display: block; font-weight: 600; font-size: 0.9rem; }
.field > label > *:not(span), .labeled > *:not(span) { margin-top: 0.3rem; font-weight: 400; }
.labeled span { display: block; }

.checks { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.checks.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 0.2rem 0.4rem; }
.check { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 400; font-size: 0.92rem; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; }

.badge {
  display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.muted { background: var(--bg); color: var(--muted); border-color: var(--line); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }

.notice { padding: 0.7rem 0.9rem; border-radius: 8px; background: var(--info-soft); color: var(--text); margin-bottom: 0.9rem; }
.notice.warn { background: var(--warn-soft); }
.notice.error { background: var(--danger-soft); }

.hero {
  padding: 2.5rem 1.5rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  background:
    radial-gradient(1100px 600px at 20% -10%, var(--hero-glow-a) 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, var(--hero-glow-b) 0%, transparent 60%);
  border-radius: 28px;
}
.hero-badge { display: inline-flex; padding: 0.4rem 1rem; border-radius: 999px; background: var(--brand-soft); color: var(--info); font-size: 0.85rem; font-weight: 600; }
.hero h1 { font-family: var(--disp); font-size: clamp(38px, 7vw, 68px); font-weight: 400; max-width: 18ch; line-height: 1.04; letter-spacing: -0.025em; margin: 0; color: #12263f; }
html[data-theme="dark"] .hero h1 { color: #f4f6fb; }
.hero h1 em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 40ch; margin: 0; }
.hero .row { justify-content: center; }
.hero-tag { font-family: var(--disp); font-style: italic; font-size: 1.1rem; color: var(--warn); margin: 0; }
.match-stack { width: 100%; max-width: 960px; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 1rem auto 0; }
.match-stack .match-card { width: 288px; max-width: 100%; flex: 0 1 288px; }
.match-card { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 1rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; box-shadow: 0 16px 32px rgba(18,38,63,0.08); }
.match-card .role { font-family: var(--disp); font-size: 1.2rem; }
.match-card .meta { color: var(--muted); font-size: 0.85rem; }
.match-ring { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.match-ring.ring-98 { background: conic-gradient(#5ee6a8 0 98%, var(--line) 98% 100%); }
.match-ring.ring-88 { background: conic-gradient(#5ee6a8 0 88%, var(--line) 88% 100%); }
.match-ring.ring-78 { background: conic-gradient(#f0b93e 0 78%, var(--line) 78% 100%); }
.match-ring span { width: 31px; height: 31px; border-radius: 50%; background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.7rem; }
.stat-row { display: flex; justify-content: center; align-items: stretch; gap: 0; flex-wrap: wrap; max-width: 820px; margin: 0 auto; padding: 2rem 0; text-align: center; }
.stat-row .stat { flex: 1; min-width: 160px; padding: 0 1.75rem; background: none; border: none; border-radius: 0; }
.stat-row .stat + .stat { border-left: 1px solid var(--line); }
.stat-row .stat h4 { font-family: var(--disp); font-size: 2.4rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.stat-row .stat.stat-a h4 { background: linear-gradient(120deg, #8fb3ff, #c9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row .stat.stat-b h4 { background: linear-gradient(120deg, #ffb4d6, #f0b93e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row .stat.stat-c h4 { background: linear-gradient(120deg, #5ee6a8, #8fb3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row .stat p { color: var(--muted); font-size: 0.85rem; margin: 0.4rem 0 0; }
@media (max-width: 640px) {
  .stat-row { gap: 0; }
  .stat-row .stat { min-width: 30%; padding: 0 0.6rem; }
  .stat-row .stat h4 { font-size: 1.7rem; }
}
.points { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.25rem 0; }
.points .card { margin: 0; }
.points { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.25rem 0; }
.points .card { margin: 0; }

.result h3 { margin-bottom: 0.15rem; }
.tags { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.4rem 0; }
.tag { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0.05rem 0.45rem; font-size: 0.82rem; }

.messages { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.75rem 0 1rem; }
.msg { max-width: 82%; padding: 0.55rem 0.8rem; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--brand-soft); }
.msg.system { align-self: center; max-width: 92%; background: transparent; border-style: dashed; color: var(--muted); font-size: 0.9rem; }
.msg small { display: block; margin-bottom: 0.15rem; }

.board { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: start; }
.col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem; min-height: 120px; }
.col h3 { font-size: 0.95rem; display: flex; justify-content: space-between; }
.pcard { display: block; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.6rem; margin-top: 0.5rem; cursor: pointer; color: inherit; font: inherit; }
.pcard:hover { border-color: var(--brand); }
.pcard.alert { border-color: var(--warn); }

.stats { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.9rem; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--disp); font-size: 1.5rem; font-weight: 700; line-height: 1.15; background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 60%, #d56fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.report-quote { display: block; margin-top: 0.4rem; padding: 0.5rem 0.65rem; border-radius: 10px; background: var(--danger-soft); border-left: 3px solid var(--danger); font-size: 0.9rem; color: var(--text); }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap { overflow-x: auto; }

.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--bg); }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.counter { text-align: right; }
.counter.over { color: var(--danger); font-weight: 600; }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); padding: 0.05rem 0.3rem; border-radius: 4px; }
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs .btn.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }

.toasts { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 60; max-width: min(92vw, 380px); }
.toast { background: var(--text); color: var(--bg); padding: 0.6rem 0.9rem; border-radius: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.toast.error { background: var(--danger); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }

@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .msg { max-width: 94%; }
  .topbar { gap: 0.5rem; }
}

a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--brand); }
a.btn { display: inline-block; text-decoration: none; }
.tabs a.btn { text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
details > summary { cursor: pointer; font-weight: 600; margin: 0.5rem 0; }
[hidden] { display: none !important; }

main.legal { max-width: 760px; margin: 0 auto; padding: clamp(1.75rem, 4vw, 3rem) 1rem 3.5rem; }
main.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
main.legal h2 { font-family: var(--disp); margin-top: 1.75rem; font-size: 1.3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
main.legal h2:first-of-type { border-top: none; padding-top: 0; }
main.legal ul, main.legal ol { padding-left: 1.4rem; margin: 0 0 0.75rem; }
main.legal li { margin-bottom: 0.3rem; }
main.legal > p { line-height: 1.65; color: var(--muted); }
main.legal .legal-draft-notice { padding: 0.75rem 1rem; border-radius: 12px; background: var(--warn-soft, rgba(240, 185, 62, 0.14)); border: 1px solid rgba(240, 185, 62, 0.45); color: var(--text); }
main.legal .legal-draft-notice strong { color: var(--text); }

progress.bar { width: 100%; height: 10px; border: 0; border-radius: 6px; overflow: hidden; background: var(--bg); accent-color: var(--brand); }
progress.bar::-webkit-progress-bar { background: var(--bg); border-radius: 6px; }
progress.bar::-webkit-progress-value { background: var(--brand); border-radius: 6px; }
progress.bar::-moz-progress-bar { background: var(--brand); border-radius: 6px; }

/* credentials, availability, review */
.chip { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.85rem; cursor: pointer; color: inherit; }
.chip.on { background: var(--brand-soft); border-color: var(--brand); }
.chip:hover { border-color: var(--brand); }
.chip-wrap { display: inline-block; margin: 0 0.3rem 0.3rem 0; }
.state-list { display: flex; flex-wrap: wrap; gap: 0.3rem; max-height: 11rem; overflow: auto; }
.linklike { background: none; border: 0; padding: 0; color: var(--info); text-decoration: underline; cursor: pointer; font-size: 0.8rem; }
.cred-group { margin-bottom: 0.4rem; }
.tag.cred { display: inline-block; margin: 0.15rem 0.3rem 0.15rem 0; }
.avail-grid { display: grid; grid-template-columns: 4.5rem repeat(4, 1fr); gap: 0.25rem; align-items: center; max-width: 30rem; }
.avail-grid .cell { text-align: center; }
.avail-grid .head { font-size: 0.78rem; color: var(--muted, #667); text-align: center; }
/* Animated dot-progress step indicator (job-seeker onboarding wizard) */
.steps { display: flex; gap: 0; margin: 0 0 1.8rem; font-size: 0.85rem; color: var(--muted); list-style: none; padding: 0; position: relative; }
.steps-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 5px; height: 2px; background: var(--line); border-radius: 2px; z-index: 0; }
.steps-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--grad-a), #c9a4ff, #ffb4d6); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.steps span { flex: 1; text-align: center; position: relative; padding-top: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; z-index: 1; }
.steps span .dot {
  position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 0 0 0 rgba(143, 107, 240, 0);
}
.steps span.done .dot { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); border-color: transparent; }
.steps span.on .dot {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); border-color: transparent;
  width: 13px; height: 13px; top: -1.5px; box-shadow: 0 0 0 5px rgba(143, 107, 240, 0.18); animation: dotPulse 1.6s ease-in-out infinite;
}
.steps .on { color: var(--text); font-weight: 700; }
.steps .done { color: var(--text); }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(143, 107, 240, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(143, 107, 240, 0.06); }
}
@media (prefers-reduced-motion: reduce) { .steps span.on .dot { animation: none; } }
.tip { border-left: 3px solid var(--grad-a); background: var(--brand-soft); color: var(--text); padding: 0.5rem 0.75rem; border-radius: 6px; margin: 0.4rem 0; }
.tip button { margin-left: 0.4rem; }
.preview { border: 1px dashed var(--grad-a); border-radius: 10px; padding: 0.9rem; background: var(--surface); }
.preview h3 { margin: 0.6rem 0 0.2rem; font-size: 0.95rem; }
details.section > summary { cursor: pointer; font-weight: 600; padding: 0.3rem 0; }
details.section.problem > summary::after { content: ' · needs attention'; color: #b45309; font-weight: 500; font-size: 0.82rem; }
.review { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.review-panel { position: sticky; top: 4.5rem; max-height: calc(100vh - 6rem); overflow: auto; }
@media (max-width: 900px) { .review { grid-template-columns: 1fr; } .review-panel { position: static; max-height: none; } }
.preview .hot { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 1px dashed transparent; border-radius: 10px; padding: 0.5rem 0.6rem; margin: 0.15rem 0; cursor: pointer; }
.preview .hot:hover { border-color: var(--grad-a); background: var(--brand-soft); }
.preview .hot.suggest { border-color: var(--grad-b); }
.preview .hot.current { border-color: var(--info); background: var(--brand-soft); }

/* ===== Mobile nav (checkbox-hack, JS-free) ===== */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  order: 2;
}
.nav-toggle:hover { background: var(--bg); }

@media (max-width: 760px) {
  .topbar { position: sticky; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .topbar .brand { order: 1; }
  .topbar .who { order: 3; }
  .topbar .nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    gap: 0.15rem;
    transition: max-height 0.28s ease, opacity 0.2s ease;
  }
  #nav-toggle:checked ~ .nav {
    max-height: 60vh;
    opacity: 1;
    overflow-y: auto;
    transition: max-height 0.32s ease, opacity 0.28s ease;
  }
  .topbar .nav a.btn { width: 100%; text-align: left; border-radius: 10px; }
}

/* ===== Fluid typography ===== */
.hero p.lede { font-size: clamp(1rem, 2.4vw + 0.5rem, 1.15rem); }
.hero-tag { font-size: clamp(0.95rem, 1.6vw + 0.5rem, 1.1rem); }
.stat-row .stat h4 { font-size: clamp(1.7rem, 4vw + 0.5rem, 2.4rem); }

/* ===== Hover / tap micro-interactions ===== */
.btn, .card, a.card, .match-card, .stat-row .stat, .pcard {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,38,63,0.14); }
  .card:hover, a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(18,38,63,0.10); }
  .match-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 20px 40px rgba(18,38,63,0.18); }
  .stat-row .stat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18,38,63,0.10); }
}
.btn:active, .pcard:active { transform: scale(0.97); }
.match-card:active { transform: scale(0.99); }

/* ===== Entrance animation for hero content ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-badge, .hero h1, .hero p.lede, .hero .row, .hero-tag, .match-stack { animation: dc-rise 0.55s ease both; }
  .hero-badge { animation-delay: 0.02s; }
  .hero h1 { animation-delay: 0.08s; }
  .hero p.lede { animation-delay: 0.15s; }
  .hero .row { animation-delay: 0.2s; }
  .hero-tag { animation-delay: 0.25s; }
  .match-stack { animation-delay: 0.3s; }
  .match-stack .match-card { animation: dc-rise 0.5s ease both; }
  .match-stack .match-card:nth-child(1) { animation-delay: 0.34s; }
  .match-stack .match-card:nth-child(2) { animation-delay: 0.42s; }
  .match-stack .match-card:nth-child(3) { animation-delay: 0.5s; }
  .stat-row .stat { animation: dc-rise 0.5s ease both; }
  .stat-row .stat:nth-child(1) { animation-delay: 0.1s; }
  .stat-row .stat:nth-child(2) { animation-delay: 0.18s; }
  .stat-row .stat:nth-child(3) { animation-delay: 0.26s; }
}
@keyframes dc-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Extra breathing room + touch-friendly tap targets on small screens */
@media (max-width: 480px) {
  .hero { padding: 1.8rem 0 0.5rem; gap: 1.1rem; }
  .match-card { padding: 0.85rem 1.1rem; }
  .btn { padding: 0.65rem 1.1rem; }
  .stat-row { gap: 0.85rem; }
  .stat-row .stat { min-width: 45%; padding: 1.3rem 1rem; }
}

/* ===== Interview invites ===== */
.interview-invite {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--brand-soft, #eaf2fd);
  border: 1px solid var(--line);
}
.interview-invite .when { font-weight: 600; margin: 0.3rem 0; }
.interview-invite .btn { margin-top: 0.4rem; }
.card-inset { border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.9rem; background: var(--bg); }
.card-inset summary { cursor: pointer; font-weight: 600; }
.card-inset .stack { margin-top: 0.6rem; }
.card-inset label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.card-inset input[type="datetime-local"], .card-inset input[type="text"] {
  display: block; width: 100%; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid var(--line);
  font: inherit; box-sizing: border-box; margin-bottom: 0.7rem;
}

/* ===== Home page: reskin additions (rotating word, audience toggle, feature tabs, marquee, gradient CTA) ===== */
/* "Find Your " — shimmering 4-stop gradient, starts/ends on the same color for a seamless loop */
.hero h1 .hero-grad {
  font-style: normal; font-weight: 700;
  background: linear-gradient(90deg, #5b8def, #8f6bf0, #d56fb0, #5b8def);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
html[data-theme="dark"] .hero h1 .hero-grad {
  background: linear-gradient(90deg, #8fb3ff, #c9a4ff, #ffb4d6, #8fb3ff);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .hero-grad { animation: gradShift 8s linear infinite; }
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Rotating word — static (non-shimmering) 2-stop gradient, own gradient so it stays correct while it moves */
.hero h1 .hero-word {
  font-style: normal; font-weight: 700;
  background: linear-gradient(120deg, #8f6bf0, #d56fb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  padding-right: 0.04em;
}
html[data-theme="dark"] .hero h1 .hero-word {
  background: linear-gradient(120deg, #c9a4ff, #ffb4d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-word.word-cycle { animation: word-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word { animation: none !important; }
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.audience-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.5); border: 1px solid var(--line); gap: 0.2rem;
  width: min(100%, 340px);
}
html[data-theme="dark"] .audience-toggle { background: rgba(255,255,255,0.06); }
.audience-btn {
  border: 0; background: transparent; min-height: 34px; padding: 0.35rem 0.9rem; border-radius: 999px; flex: 1;
  font-weight: 600; font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: color 0.3s;
}
.audience-btn.active {
  background: linear-gradient(135deg, #5b8def, #8f6bf0); color: #fff;
  box-shadow: 0 8px 20px rgba(90,120,240,0.4);
}

.feature-tabs { margin: 1.5rem 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.25rem; align-items: start; }
.feature-tab-col { display: flex; flex-direction: column; gap: 0.6rem; }
.feature-tab-btn {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  border: 1px solid var(--line); background: transparent; border-radius: 1.125rem; padding: 1.125rem 1.25rem;
  font-weight: 600; color: var(--muted); min-height: 36px; position: relative; overflow: hidden;
}
.feat-tab-num {
  font-family: var(--disp); font-size: 15px; font-weight: 700; flex: none;
  background: linear-gradient(120deg, var(--grad-text), #c9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat-tab-label { font-family: var(--disp); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: var(--text); opacity: 0.55; transition: opacity 0.3s; }
.feature-tab-btn.active { background: var(--brand-soft); border-color: rgba(143,107,240,0.45); }
.feature-tab-btn.active .feat-tab-label { opacity: 1; }
.feature-tab-btn.active::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; border-radius: 0;
  background: linear-gradient(90deg, #5b8def, #c9a4ff, #ffb4d6);
}
.feature-panel {
  display: flex; flex-direction: column; gap: 1rem; min-height: 260px; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.25rem);
}
@media (max-width: 780px) { .feature-tabs { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .feature-panel { grid-template-columns: 1fr; } }
.feature-copy h3 { margin-top: 0; }
.feature-copy p { margin-bottom: 0; color: var(--muted); }
.feat-preview { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.fp-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.9rem; }
.fp-check { color: var(--ok); font-weight: 700; }
.fp-notify { display: flex; align-items: center; gap: 0.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; }
.fp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.fp-notify-title { font-weight: 600; }
.fp-notify-sub { color: var(--muted); font-size: 0.85rem; }
.fp-clock-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }

.marquee { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0; overflow: hidden; }
.marquee-row { overflow: hidden; }
.marquee-track { display: inline-flex; gap: 0.5rem; white-space: nowrap; width: max-content; }
.marquee-chip { background: rgba(18,38,63,0.05); border-color: rgba(18,38,63,0.1); padding: 0.625rem 1.125rem; font-size: 0.875rem; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track.marquee-left { animation: marquee-left 32s linear infinite; }
  .marquee-track.marquee-right { animation: marquee-right 32s linear infinite; }
  .marquee-row:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.cta-glow {
  margin: 2rem 0 1rem; padding: 2px; border-radius: 22px;
  background: linear-gradient(120deg, var(--grad-text), #c9a4ff, #ffb4d6, var(--grad-text));
  background-size: 300% 300%;
}
@media (prefers-reduced-motion: no-preference) {
  .cta-glow { animation: cta-border-move 8s ease infinite; }
}
@keyframes cta-border-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-glow-inner {
  background: var(--surface); border-radius: 20px; padding: 2rem 1.5rem; text-align: center;
}
.cta-glow-inner h2 { font-family: var(--disp); }
.cta-glow-inner h2 em { font-style: normal; font-weight: 700; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-glow-inner .row { justify-content: center; margin-top: 0.75rem; }

/* ===== Why / How It Works: comparison grid ===== */
.compare-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1.25rem 0; }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.compare-col h3 { margin-top: 0; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.35rem 0; }
.compare-old { opacity: 0.85; border-style: dashed; }
.compare-old li { color: var(--muted); }
.x-mark { color: var(--danger); font-weight: 700; text-decoration: none; flex-shrink: 0; }
.compare-new { border-color: var(--brand-soft); }
.check-mark { color: var(--ok); font-weight: 700; flex-shrink: 0; }

.vs-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 1.25rem 0; }
.vs-col { border-radius: 1.5rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.vs-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vs-label-grad { background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-col ul { list-style: none; padding: 0; margin: 0; }
.vs-col li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.5rem 0; font-family: var(--disp); font-size: 1.1rem; }
.vs-old { background: transparent; border: 1px dashed var(--line); }
.vs-old li { color: var(--muted); }
.vs-new {
  background: var(--surface); border: 1px solid rgba(143,107,240,0.35);
  box-shadow: 0 20px 45px rgba(90,120,240,0.15);
}

/* ===== Sign in / Sign up shell ===== */
.auth-shell { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; max-width: 480px; margin: 1.5rem auto 0; }
.auth-heading {
  font-family: var(--disp); font-weight: 400; text-align: center; margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}
.auth-grad {
  font-weight: 700;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 60%, #d56fb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.auth-shell .card { width: 100%; }

.auth-toggle { display: flex; margin: 0 auto 1.1rem; }

.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.1rem; }
.role-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; text-align: left;
  border: 1px solid var(--line); background: transparent; border-radius: 1rem; padding: 1rem 1.1rem;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.role-card-title { font-weight: 700; font-size: 0.95rem; }
.role-card-sub { color: var(--muted); font-size: 0.82rem; }
.role-card.active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(91,141,239,0.12), rgba(143,107,240,0.12));
  box-shadow: 0 0 0 2px #5b8def inset;
}
.role-card.active .role-card-sub { color: inherit; }
@media (max-width: 520px) { .role-cards { grid-template-columns: 1fr; } }

.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.oauth-row a.btn { width: 100%; text-align: center; }
@media (max-width: 520px) { .oauth-row { grid-template-columns: 1fr; } }

.auth-divider {
  display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0;
  color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.auth-caption { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 0.75rem 0 0; }

.section-head { text-align: center; max-width: 640px; margin: 2rem auto 0; }
.section-head h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.6rem); }
.section-head h2 em { font-style: normal; font-weight: 700; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head .lede { margin-top: 0.5rem; }

/* ===== Why page: eyebrow, belief grid, quote card ===== */
.eyebrow { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; background: linear-gradient(120deg, var(--grad-text), #c9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill-tag { display: inline-flex; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--line); color: var(--muted); margin-bottom: 0.75rem; }
.pill-tag.pill-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.big-line { font-family: var(--disp); font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; line-height: 1.3; margin: 0; }
.compare-old .big-line { color: var(--muted); }
.cta-glow:has(.cta-flip) { background: linear-gradient(120deg, var(--grad-a), #8f6bf0); animation: none; padding: 0; }
.cta-glow:has(.cta-flip) .cta-glow-inner { background: transparent; padding: 2.25rem 2rem; }
.cta-flip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; text-align: left; }
.cta-flip span { color: #fff; }
.cta-flip span:first-child { font-family: var(--disp); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; }
.cta-flip span:last-child { font-family: var(--disp); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.belief-grid { display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0.5rem 0 1.5rem; }
.belief { padding: 1.5rem 0; border-top: 2px solid transparent; border-image: linear-gradient(90deg, var(--grad-a), var(--grad-b)) 1; }
.belief-num { display: block; font-family: var(--disp); font-weight: 700; font-size: 2.2rem; color: var(--grad-a); }
.belief h3 { margin: 0.3rem 0 0; }
.belief p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.92rem; }
.quote-card { position: relative; margin: 1.5rem 0; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-mark { display: block; font-family: var(--disp); font-size: 1.5rem; line-height: 1; height: auto; color: #5b8def; font-weight: 700; margin-bottom: 0.5rem; }
.quote-card blockquote { margin: 0.5rem 0 0; font-family: var(--disp); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; }
.quote-card blockquote em { font-style: normal; font-weight: 700; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-card figcaption { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }

.step-flow { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 1.5rem 0; }
.step-col { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-col-title { font-family: var(--disp); font-size: 1.1rem; margin: 0 0 1rem; }
.step-item { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.step-item:first-of-type { border-top: none; padding-top: 0; }
.step-item h4 { margin: 0 0 0.2rem; font-size: 0.98rem; }
.step-item p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.num-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-family: var(--disp); font-weight: 700; font-size: 0.85rem; color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 60%, #d58ad8); box-shadow: 0 0 0 6px var(--bg), 0 8px 18px rgba(90,120,240,0.4); }
.callout-item .num-badge { width: 1.6rem; height: 1.6rem; font-family: var(--body); font-weight: 800; font-size: 0.72rem; box-shadow: none; background: linear-gradient(135deg, var(--grad-a), #c9a4ff); }
.timeline-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto 1.5rem; text-align: center; }
.timeline-col-head { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.timeline-col-link { color: var(--grad-a); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.timeline-col-link:hover { text-decoration: underline; }
.dual-timeline { position: relative; display: grid; grid-template-columns: 1fr 2.5rem 1fr; align-items: center; column-gap: 1.5rem; row-gap: 1.25rem; max-width: 900px; margin: 0 auto 2rem; }
.dual-timeline::before { content: ""; position: absolute; left: 50%; top: 3.5rem; bottom: 5rem; width: 2px; background: linear-gradient(180deg, var(--grad-a), #c9a4ff, #ffb4d6); opacity: 0.55; transform: translateX(-50%); z-index: 0; }
.dt-card { position: relative; z-index: 1; }
.dt-card .card { margin: 0; }
.dt-card:nth-child(3n+1) { text-align: right; }
.dt-card:nth-child(3n) { text-align: left; }
@media (max-width: 640px) { .dt-card:nth-child(3n+1), .dt-card:nth-child(3n) { text-align: left; } }
.dt-card .card h4 { margin: 0 0 0.3rem; font-family: var(--disp); font-size: 1rem; }
.dt-card .card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.dt-badge { position: relative; z-index: 1; display: flex; justify-content: center; }
.dt-badge .num-badge { width: 2.4rem; height: 2.4rem; font-size: 1rem; box-shadow: 0 0 0 6px var(--bg), 0 4px 14px rgba(91, 141, 239, 0.35); }
@media (max-width: 640px) {
  .timeline-header { grid-template-columns: 1fr; gap: 0.75rem; }
  .dual-timeline { grid-template-columns: 1fr; }
  .dual-timeline::before { display: none; }
  .dt-badge { display: none; }
}
.meet-middle { display: flex; align-items: center; gap: 1.125rem; padding: 1.375rem 1.75rem; border-radius: 24px; background: var(--surface); border: 1px solid rgba(143,107,240,0.5); box-shadow: 0 20px 46px rgba(90,120,240,0.22); margin: 0 0 2rem; }
.match-score-link { display: inline-flex; margin: -1rem 0 2rem; font-size: 0.875rem; font-weight: 600; color: var(--grad-text); text-decoration: none; }
.match-score-link:hover { color: #c9a4ff; }
.meet-middle strong { display: block; font-family: var(--disp); font-size: 1.1rem; }
.meet-middle p { margin: 0.25rem 0 0; color: var(--muted); }
.mini-ring { --p: 50; --ring-c: var(--grad-a); position: relative; display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; flex: none; background: conic-gradient(var(--ring-c) calc(var(--p) * 1%), var(--line) 0); }
.mini-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.mini-ring span { position: relative; font-weight: 700; font-size: 0.85rem; }
.match-steps { display: flex; align-items: stretch; gap: 1rem; flex-wrap: wrap; margin: 0 0 2rem; }
.match-steps .card { flex: 1 1 220px; }
.step-arrow { display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--grad-a); flex: none; }
.timeline { display: flex; justify-content: space-between; gap: 1rem; position: relative; padding-top: 0.5rem; }
.timeline-track { position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--grad-a), #c9a4ff, #ffb4d6); z-index: 0; }
.timeline-pt { position: relative; z-index: 1; flex: 1; text-align: center; }
.timeline-pt::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-a), #c9a4ff); box-shadow: 0 0 0 4px var(--bg), 0 0 10px rgba(143,107,240,0.45); margin: 0 auto 0.6rem; }
.timeline-pt b { display: block; font-family: var(--disp); font-size: 0.95rem; }
.timeline-pt p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.85rem; }
.diff-table { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.diff-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0.75rem; padding: 1rem 1.375rem; border-top: 1px solid var(--line); align-items: center; }
.diff-row:first-child { border-top: none; }
.diff-head { background: var(--bg); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.diff-head-us { background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.diff-pill { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 0.88rem; }

.tier-list, .cred-list, .callout-list { display: flex; flex-direction: column; gap: 0.9rem; }
.tier-item, .callout-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.tier-item b, .callout-item b, .cred-item-head b { display: block; margin-bottom: 0.15rem; }
.tier-item p, .callout-item p, .cred-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tier-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 0.3rem; }
.cred-item { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.cred-item:first-child { border-top: none; padding-top: 0; }
.cred-item-head { display: flex; align-items: baseline; gap: 0.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.faq-item { padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--disp); font-size: 1.02rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--muted); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.92rem; }

.plain-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.plain-list li { padding: 0.6rem 0 0.6rem 1.6rem; border-top: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.plain-list li:first-child { border-top: none; padding-top: 0; }
.plain-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--ok, #1c7a46); font-weight: 700; }

.page-aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta:not(.hidden) {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(18,38,63,0.1);
  }
  .mobile-cta .btn {
    width: 100%; display: flex; justify-content: center; min-height: 46px;
    background: linear-gradient(135deg, #5b8def, #8f6bf0); color: #fff; border: 0; font-weight: 600;
  }
  body.has-mobile-cta { padding-bottom: 4.2rem; }
  .mobile-tabbar:not(.hidden) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(18,38,63,0.1);
  }
  .mobile-tab {
    flex: 1; text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--muted);
    padding: 0.45rem 0.2rem; border-radius: 10px; text-decoration: none;
  }
  .mobile-tab.active { color: var(--brand); background: var(--brand-soft); }
  body.has-mobile-tabbar { padding-bottom: 4rem; }
}
.mobile-tabbar { display: none; }
.aurora-blob { position: absolute; border-radius: 50%; }
.aurora-blob-1 { top: -160px; left: -120px; width: 560px; height: 560px; background: radial-gradient(circle, #3b6fe0 0%, transparent 65%); filter: blur(60px); opacity: var(--blob-o, 0.4); animation: auroraDrift1 22s ease-in-out infinite alternate; }
.aurora-blob-2 { top: -80px; right: -160px; width: 620px; height: 620px; background: radial-gradient(circle, #7a4fe0 0%, transparent 65%); filter: blur(70px); opacity: var(--blob-o, 0.4); animation: auroraDrift2 26s ease-in-out infinite alternate; }
.aurora-blob-3 { top: 420px; left: 30%; width: 480px; height: 480px; background: radial-gradient(circle, #e0508f 0%, transparent 65%); filter: blur(80px); opacity: var(--blob-o2, 0.22); animation: auroraDrift3 30s ease-in-out infinite alternate; }
@keyframes auroraDrift1 { to { transform: translate(180px, 120px) scale(1.25); } }
@keyframes auroraDrift2 { to { transform: translate(-160px, 90px) scale(0.85); } }
@keyframes auroraDrift3 { to { transform: translate(90px, -140px) scale(1.15); } }
.spotlight-layer { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px circle at var(--mx, 50vw) var(--my, 20vh), var(--spot, rgba(91, 141, 239, 0.14)), transparent 60%); }
html[data-theme="dark"] .aurora-blob { --blob-o: 0.55; --blob-o2: 0.3; }
html[data-theme="dark"] .spotlight-layer { --spot: rgba(143, 107, 240, 0.18); }
@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none !important; }
}

.fp-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.fp-met { color: var(--ok); text-transform: none; letter-spacing: 0; font-weight: 600; }
.fp-label { width: 70px; flex: none; color: var(--muted); font-size: 0.82rem; }
.fp-val { flex: 1; font-weight: 600; }
.fp-job-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding-bottom: 0.75rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.fp-job-title { font-family: var(--disp); font-size: 1.05rem; }
.fp-job-meta { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.fp-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.fp-clock-marks { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin: 0.4rem 0 0.6rem; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.feature-panel h3 { margin: 0; font-family: var(--disp); font-weight: 600; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; }
.feature-panel > p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 44ch; }

/* ===== split panel (message/score/credential two-column sections) ===== */
.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; margin: 1.25rem 0; }
@media (max-width: 760px) { .split-panel { grid-template-columns: 1fr; } }
.split-col { min-width: 0; }

.msg-mock { background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(244,247,251,0.8)); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 22px 44px rgba(18,38,63,0.10); }
.msg-mock-head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.9rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.msg-mock-logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #5ee6a8, #5b8def); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.reply-clock { margin-top: 1rem; }
.reply-clock-track { position: relative; height: 6px; border-radius: 999px; background: var(--line); margin-top: 0.4rem; overflow: hidden; }
.reply-clock-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5b8def, #8f6bf0); }

.match-score-panel { background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(244,247,251,0.8)); border: 1px solid var(--line); border-radius: 1.5rem; padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 22px 44px rgba(18,38,63,0.10); }
.score-slider { width: 100%; margin-top: 0.5rem; }
.score-slider-track { position: relative; height: 6px; border-radius: 999px; background: var(--line); }
.score-slider-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5b8def, #8f6bf0); }
.score-slider-thumb { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(18,38,63,0.3); transform: translate(-50%, -50%); }

.cred-example { background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(244,247,251,0.8)); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 22px 44px rgba(18,38,63,0.10); }
.cred-example .row { justify-content: flex-start; gap: 0.75rem; }
.cred-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #5b8def, #8f6bf0); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.badge-confirmed { margin-left: auto; background: var(--brand-soft); color: var(--ok); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }

/* ===== orbit diagram ===== */
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 2.5rem auto; }
.orbit-ring { position: absolute; inset: 9%; border: 2px dashed rgba(143,107,240,0.45); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .orbit-ring { animation: spin 60s linear infinite; } }
.orbit-ring::before { content: ''; position: absolute; inset: 15.5%; border: 1px solid var(--line); border-radius: 50%; }
.orbit-ring::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(143,107,240,0.35) 85%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
@media (prefers-reduced-motion: no-preference) { .orbit-ring::after { animation: spin 8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #5b8def, #8f6bf0 60%, #d58ad8); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 10px rgba(143,107,240,0.12), 0 20px 45px rgba(90,120,240,0.35); }
.orbit-center b { font-family: var(--disp); font-size: 1.15rem; }
.orbit-center span { font-size: 0.75rem; opacity: 0.85; }
.orbit-node { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1rem; font-weight: 600; font-size: 0.85rem; white-space: nowrap; box-shadow: 0 10px 24px rgba(18,38,63,0.1); transform: translate(-50%, -50%); }
.orbit-node-0 { top: 2%; left: 50%; }
.orbit-node-1 { top: 18%; left: 88%; }
.orbit-node-2 { top: 50%; left: 100%; }
.orbit-node-3 { top: 82%; left: 88%; }
.orbit-node-4 { top: 98%; left: 50%; }
.orbit-node-5 { top: 82%; left: 12%; }
.orbit-node-6 { top: 50%; left: 0%; }
.orbit-node-7 { top: 18%; left: 12%; }
@media (max-width: 640px) {
  .orbit { width: 100%; max-width: 340px; }
  .orbit-node { font-size: 0.72rem; padding: 0.4rem 0.7rem; }
}

/* ===== employers page: step-line, candidate match card, pricing tiers, tools grid ===== */
.step-line { display: flex; align-items: flex-start; gap: 0; margin: 1.5rem 0; flex-wrap: wrap; }
.step-line-connector { flex: 1; height: 2px; min-width: 40px; background: linear-gradient(90deg, #5b8def, #c9a4ff, #ffb4d6); opacity: 0.6; margin-top: 26px; align-self: flex-start; }
.step-line-item { flex: 1; min-width: 180px; text-align: left; }
.step-line-num { display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; font-family: var(--disp); font-weight: 700; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 60%, #d58ad8); box-shadow: 0 0 0 6px var(--bg), 0 12px 26px rgba(90, 120, 240, 0.4); margin-bottom: 0.75rem; }
.step-line-item h3 { margin: 0 0 0.3rem; font-family: var(--disp); }
.step-line-item p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .step-line { flex-direction: column; } .step-line-connector { display: none; } }

.cand-match-card { position: relative; max-width: 420px; margin: 2rem auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 0 20px 45px rgba(18,38,63,0.12); }
.cand-match-flag { position: absolute; top: -14px; left: 1.5rem; background: linear-gradient(135deg, #5b8def, #8f6bf0); color: #fff; border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.78rem; font-weight: 700; box-shadow: 0 10px 24px rgba(90, 120, 240, 0.45); }

.check-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.25rem 0; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-item p { margin: 0; font-family: var(--disp); font-size: 1.05rem; }

.pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; margin: 1.25rem 0; }
.pricing-tier { padding: 2rem 1.75rem; border-left: 1px solid var(--line); }
.pricing-tier:first-child { border-left: none; background: var(--brand-soft); }
.tier-tag { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.pricing-tier:first-child .tier-tag { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; border-color: transparent; }
.tier-num { font-family: var(--disp); font-size: 2rem; font-weight: 700; margin-bottom: 0.4rem; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-num span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.pricing-tier h4 { margin: 0 0 0.3rem; }
.pricing-tier p { margin: 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) { .pricing-tiers { grid-template-columns: 1fr; } .pricing-tier { border-left: none; border-top: 1px solid var(--line); } .pricing-tier:first-child { border-top: none; } }

.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2rem; margin: 1.5rem 0; }
.tools-item { display: flex; align-items: flex-start; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tools-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 15px; background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 60%, #d58ad8); box-shadow: 0 12px 26px rgba(90, 120, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.tools-item h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.tools-item p { margin: 0; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 760px) { .tools-grid { grid-template-columns: 1fr; } }

.estimator { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.75rem; margin: 1.25rem 0; }
.estimator input[type="text"] { width: 100%; padding: 0.6rem 0.8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); margin-top: 0.3rem; }
.chip-btn { background: var(--bg); border: 1px solid var(--line); cursor: pointer; font: inherit; }
.chip-btn.active { background: linear-gradient(135deg, #5b8def, #8f6bf0); color: #fff; border-color: transparent; }
.estimator-result { background: var(--brand-soft); border-radius: 1.25rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.estimator-count { font-family: var(--disp); font-size: 3rem; font-weight: 700; margin: 0.4rem 0; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }

.live-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; }
.live-count-item { text-align: center; }
.live-count-item b { display: block; font-family: var(--disp); font-size: 1.6rem; background: linear-gradient(120deg, var(--grad-text), #c9a4ff 60%, #ffb4d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live-count-item span { color: var(--muted); font-size: 0.82rem; }

/* ===== labor-market benchmark (BLS) ===== */
.benchmark-panel { border: 1px dashed var(--line); border-radius: 1.25rem; padding: 1.5rem; margin: 1.25rem 0; background: var(--bg); }
.benchmark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.benchmark-item { background: var(--surface); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.9rem 1rem; }
.benchmark-stats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.benchmark-note { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: 0.75rem; }

/* ===== nav scroll progress ===== */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0%; background: linear-gradient(90deg, #5b8def, #8f6bf0, #d56fb0); transition: width 0.1s linear; }

/* ===== employer dashboard home (ro-emp-*) ===== */
.ro-emp-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.ro-emp-hero h1 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.ro-emp-hero .accent { background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 60%, #d56fb0); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.ro-emp-hero p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.ro-emp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.ro-emp-tile { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: 1.1rem; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.2rem; box-shadow: var(--card-shadow, none); }
.ro-emp-tile b { font-family: var(--disp); font-size: 1.7rem; line-height: 1; background: linear-gradient(120deg, var(--grad-a), var(--grad-b) 60%, #d56fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ro-emp-tile span { font-size: 0.8rem; color: var(--muted); }
.ro-emp-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.ro-emp-panel { background: var(--surface); border: 1px solid var(--card-line, var(--line)); border-radius: 1.25rem; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.ro-emp-panel h3 { margin: 0; font-family: var(--disp); font-size: 1.05rem; }
.ro-emp-pool-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ro-emp-pool-bar > div { height: 100%; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); border-radius: 999px; }
.ro-emp-ring-row { display: flex; align-items: center; gap: 0.9rem; }
.ro-emp-ring-row .mini-ring { width: 3.5rem; height: 3.5rem; }
.ro-emp-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; text-align: center; }
.ro-emp-metric-grid div { padding: 0.5rem 0.2rem; border-radius: 0.6rem; background: var(--bg); }
.ro-emp-metric-grid b { display: block; font-size: 0.95rem; }
.ro-emp-metric-grid span { font-size: 0.7rem; color: var(--muted); }
.ro-emp-role-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; }
.ro-emp-role-row:first-of-type { border-top: none; }
.ro-emp-team-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; }
.ro-emp-team-init { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; font-weight: 700; font-size: 0.7rem; }
.ro-emp-gap { font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* ===== employer role-form animated dot stepper (ro-emp-*) ===== */
.ro-emp-stepper { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; }
.ro-emp-stepper .ro-emp-step-btn { flex: 1; display: flex; align-items: center; gap: 0.6rem; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; min-width: 0; }
.ro-emp-stepper .ro-emp-dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); transition: all 0.3s cubic-bezier(.2,.8,.2,1); }
.ro-emp-stepper .ro-emp-dot.done { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; border-color: transparent; }
.ro-emp-stepper .ro-emp-dot.current { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; border-color: transparent; box-shadow: 0 0 0 4px rgba(143, 107, 240, 0.22); animation: ro-emp-pulse 1.6s ease-in-out infinite; }
.ro-emp-stepper .ro-emp-step-label { font-size: 0.8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.ro-emp-stepper .ro-emp-step-label.current { color: var(--text); }
.ro-emp-stepper .ro-emp-step-line { flex: 1 1 0; height: 2px; border-radius: 2px; background: var(--line); min-width: 12px; }
.ro-emp-stepper .ro-emp-step-line.done { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
@keyframes ro-emp-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(143, 107, 240, 0.22); } 50% { box-shadow: 0 0 0 7px rgba(143, 107, 240, 0.1); } }
@media (max-width: 560px) { .ro-emp-stepper .ro-emp-step-label { display: none; } }

/* Admin: sidebar nav layout (desktop-first; collapses to icon rail below 900px) */
.admin-shell { display: flex; align-items: flex-start; gap: 24px; margin: -0.25rem 0 0; }
.admin-side {
  position: sticky; top: 12px; flex-shrink: 0; width: 220px; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.admin-nav-btn {
  font: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px;
  border: 0; background: transparent; color: var(--text); font-size: 0.9rem; font-weight: 600; text-align: left; width: 100%;
}
.admin-nav-btn .admin-nav-icon { width: 20px; text-align: center; flex-shrink: 0; }
.admin-nav-btn .admin-nav-label { flex: 1; min-width: 0; }
.admin-nav-btn:hover { background: var(--bg); }
.admin-nav-btn.active { background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; }
.admin-nav-badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.admin-topline { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-search { max-width: 320px; width: 100%; }
.admin-list { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.admin-row:first-child { border-top: 0; }
.admin-row-main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.admin-row-sub { font-size: 0.8rem; color: var(--muted); }
.admin-row-when { font-size: 0.75rem; color: var(--muted); min-width: 64px; text-align: right; }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.grid2 { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.admin-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.admin-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.admin-bar-track { width: 100%; display: flex; flex-direction: column; justify-content: flex-end; height: 110px; gap: 2px; }
.admin-bar-seg { width: 100%; border-radius: 4px 4px 0 0; }
.admin-bar-seg.seekers { border-radius: 0 0 4px 4px; }
.admin-bar-label { font-size: 11px; color: var(--muted); }
.admin-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.admin-halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-queue-btn {
  font: inherit; color: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); width: 100%;
}
@media (max-width: 900px) {
  .admin-side { width: 56px; align-items: center; }
  .admin-nav-btn .admin-nav-label { display: none; }
  .admin-nav-btn { justify-content: center; }
  .admin-halves { grid-template-columns: minmax(0, 1fr); }
}
