/* ============ FONTS (self-hosted) ============ */
@font-face { font-family: 'Spectral'; src: url('assets/fonts/spectral-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('assets/fonts/spectral-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('assets/fonts/spectral-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('assets/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('assets/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('assets/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('assets/fonts/switzer-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('assets/fonts/martianmono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('assets/fonts/martianmono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('assets/fonts/martianmono-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ============ TOKENS ============ */
:root {
  /* Brand: Synops Labs navy + champagne */
  --paper: #FAFAF8;
  --panel: #FFFFFF;
  --ink: #14163F;
  --ink-2: #565873;
  --mist: #E4E4DD;
  --mist-soft: #F1F1EB;
  --navy: #1D2157;
  --navy-deep: #12143E;
  --navy-tint: #EBECF4;
  --gold: #8A6E33;
  --gold-soft: #C9B586;
  --gold-tint: #F4EFE1;
  --dark: #101233;
  /* Water motif (gauge + hero only) */
  --aqua: #3E9CAF;
  --aqua-deep: #2E7A8A;
  /* Semantic */
  --amber: #C98A2E;
  --amber-deep: #8A5A1F;
  --amber-tint: #F7EDDC;
  --coral: #C05248;
  --coral-deep: #9E3F36;
  --coral-tint: #F6E4E2;
  /* Type */
  --font-d: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-b: 'Switzer', 'Inter', -apple-system, sans-serif;
  --font-m: 'Martian Mono', ui-monospace, monospace;
  /* Shape and depth */
  --shadow: 0 24px 60px -24px rgba(18, 20, 62, 0.20), 0 4px 14px -6px rgba(18, 20, 62, 0.09);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  /* Rhythm */
  --space-section: 88px;
  --gap-tiles: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
::selection { background: var(--navy); color: #F3EFDF; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.16; letter-spacing: -0.014em; }
h4, h5 { font-family: var(--font-b); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; }

/* ============ SHARED ============ */
.eyebrow {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--gold-soft);
  flex-shrink: 0;
}
.section h2 { font-size: clamp(25px, 3.2vw, 35px); font-weight: 600; max-width: 720px; margin-bottom: 20px; }
.sec-lede { color: var(--ink-2); font-size: 16px; max-width: 620px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 33, 87, .5);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1px solid var(--mist); color: var(--ink); background: var(--panel); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.logo { height: 38px; width: auto; display: block; }
.logo-footer { height: 32px; }
.logo-cream { height: 42px; width: auto; display: block; margin-bottom: 18px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ PROGRESS RAIL ============ */
.rail {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px; z-index: 40;
}
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.rail i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mist); border: 1px solid rgba(20, 22, 63, .12);
  transition: background .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.rail span {
  font-family: var(--font-m); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0; transform: translateX(4px);
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
  background: var(--paper); border-radius: 5px; padding: 3px 8px;
  box-shadow: 0 2px 8px -2px rgba(18, 20, 62, .18);
}
.rail a:hover span { opacity: 1; transform: none; }
.rail a.on i { background: var(--gold); transform: scale(1.35); border-color: transparent; }
.rail a.on span { opacity: 1; transform: none; color: var(--gold); }
@media (max-width: 1460px) { .rail { display: none; } }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 20px;
}
.nav .logo { height: 36px; }
.nav-note { font-family: var(--font-m); font-size: 10px; letter-spacing: .05em; color: var(--ink-2); text-transform: uppercase; }
.nav-cta { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--navy); }
.nav-cta:hover { color: var(--gold); }

/* ============ HERO ============ */
.hero { padding: 88px 0 100px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 85% -10%, var(--gold-tint), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  position: relative;
}
.hero h1 { font-size: clamp(32px, 4.3vw, 47px); font-weight: 600; margin-bottom: 22px; }
.hl { font-style: italic; font-weight: 500; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero flow visual */
.hero-visual { display: flex; justify-content: center; }
.flow { position: relative; width: 360px; height: 470px; }
.flow-chips { position: absolute; top: 0; left: 0; right: 0; height: 200px; }
.cv-chip {
  position: absolute; top: 6px; left: 50%; width: 30px; height: 38px;
  margin-left: -15px;
  background: var(--panel); border: 1px solid var(--mist); border-radius: 5px;
  box-shadow: 0 4px 10px -4px rgba(18, 20, 62, .16);
  opacity: 0;
  animation: chipFall 7s cubic-bezier(.5,.05,.65,.9) infinite;
}
.cv-chip::before, .cv-chip::after {
  content: ""; position: absolute; left: 5px; right: 5px; height: 3px;
  background: var(--mist); border-radius: 2px;
}
.cv-chip::before { top: 8px; }
.cv-chip::after { top: 16px; right: 11px; }
.c1 { --x: -85px; animation-delay: 0s; }
.c2 { --x: -58px; animation-delay: .8s; }
.c3 { --x: -30px; animation-delay: 2s; }
.c4 { --x: 6px;   animation-delay: .4s; }
.c5 { --x: 34px;  animation-delay: 1.6s; }
.c6 { --x: 62px;  animation-delay: 2.4s; }
.c7 { --x: 85px;  animation-delay: 1.2s; }
.c8 { --x: -12px; animation-delay: 2.8s; }
@keyframes chipFall {
  0%   { transform: translate(var(--x), 0) scale(1); opacity: 0; }
  4%   { opacity: 1; }
  26%  { transform: translate(0, 168px) scale(.25); opacity: 0; }
  100% { transform: translate(0, 168px) scale(.25); opacity: 0; }
}

.flow-funnel { position: absolute; top: 40px; left: 0; right: 0; height: 220px; }
.funnel-line { position: absolute; top: 0; width: 1.5px; height: 150px; background: linear-gradient(180deg, transparent, var(--aqua)); }
.funnel-line.left  { left: 27%; transform: rotate(22deg); transform-origin: bottom; }
.funnel-line.right { right: 27%; transform: rotate(-22deg); transform-origin: bottom; }
.lens { position: absolute; top: 150px; left: 50%; transform: translateX(-50%); width: 58px; height: 58px; }
.lens-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--navy);
  animation: lensPulse 3.5s ease-in-out infinite;
}
.lens-core {
  position: absolute; inset: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--aqua), var(--navy));
}
@keyframes lensPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 156, 175, .35); }
  50%      { box-shadow: 0 0 0 12px rgba(62, 156, 175, 0); }
}
.funnel-label {
  position: absolute; top: 218px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-m); font-size: 10px; letter-spacing: .14em; color: var(--navy);
}

.flow-ranked { position: absolute; bottom: 24px; left: 28px; right: 28px; display: flex; flex-direction: column; gap: 10px; }
.rank-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--mist); border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: 0 10px 24px -14px rgba(18, 20, 62, .22);
  opacity: 0;
  animation: rankIn 7s ease infinite;
}
.rank-row i { font-style: normal; font-family: var(--font-m); font-size: 11px; color: var(--ink-2); width: 14px; }
.rank-name { font-weight: 600; font-size: 14px; flex: 1; }
.rank-score {
  font-style: normal; font-family: var(--font-m); font-weight: 600; font-size: 13px;
  color: #fff; background: var(--navy); border-radius: var(--r-sm); padding: 2px 9px;
}
.r1 { animation-delay: 0s; }
.r2 { animation-delay: .35s; }
.r3 { animation-delay: .7s; }
@keyframes rankIn {
  0%, 30%  { opacity: 0; transform: translateY(12px); }
  38%, 94% { opacity: 1; transform: none; }
  99%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ============ PROBLEM ============ */
.problem { background: var(--panel); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-tiles); margin-top: 44px; }
.pain {
  background: var(--paper); border: 1px solid var(--mist); border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-mark { font-family: var(--font-m); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.pain h3 { font-family: var(--font-b); font-size: 18px; margin: 14px 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.pain p { font-size: 15px; color: var(--ink-2); }

/* ============ PIPELINE ============ */
.pipeline-sec { padding-bottom: 60px; }
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin-top: 48px; position: relative;
}
.pipeline::before {
  content: ""; position: absolute; top: 17px; left: 10%; right: 10%;
  height: 1.5px; background: linear-gradient(90deg, var(--mist), var(--gold-soft), var(--mist));
}
.pstep { text-align: center; padding: 0 12px; position: relative; }
.pnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel); border: 1.5px solid var(--navy); color: var(--navy);
  font-family: var(--font-m); font-weight: 600; font-size: 14px;
  position: relative; z-index: 1; margin-bottom: 14px;
}
.pstep h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pstep p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ============ MODULES ============ */
.mod { padding: var(--space-section) 0; }
.mod-alt { background: var(--panel); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.mod-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: center; }
.mod-grid > * { min-width: 0; }
.mod-alt .mod-grid { grid-template-columns: 1.28fr .72fr; }
.mod-alt .mod-copy { order: 2; }
.mod-alt .mod-shot { order: 1; }
.mod-copy h3 { font-size: clamp(21px, 2.5vw, 27px); font-weight: 600; margin-bottom: 16px; }
.mod-copy > p { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; }
.mod-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mod-points li { padding-left: 26px; position: relative; font-size: 15px; }
.mod-points li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='%231D2157' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Browser frame */
.browser {
  background: var(--panel); border: 1px solid var(--mist); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--mist-soft); background: #FCFCFA;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mist); }
.url {
  font-family: var(--font-m); font-size: 10px; color: var(--ink-2);
  background: var(--mist-soft); border-radius: var(--r-sm); padding: 4px 12px; margin-left: 10px;
}
.shot { overflow: hidden; min-width: 0; }
.shot-inner { padding: 22px; }

/* Mock shared bits */
.mock-kicker { font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; color: var(--ink-2); }
.mock-title { font-family: var(--font-b); font-size: 16px; font-weight: 700; display: block; margin-top: 4px; }
.mock-label { font-family: var(--font-m); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 10px; }
.ai-tag {
  font-style: normal; font-family: var(--font-m); font-size: 10px; letter-spacing: .05em;
  background: var(--gold-tint); color: var(--gold); border-radius: 4px; padding: 2px 6px; margin-left: 6px;
}
.chip {
  font-family: var(--font-m); font-size: 10px; padding: 4px 11px;
  border-radius: 999px; border: 1px solid var(--mist); color: var(--ink-2); background: var(--panel);
}
.chip-primary { background: var(--navy-tint); border-color: transparent; color: var(--navy-deep); font-weight: 600; }
.score-pill {
  font-family: var(--font-m); font-weight: 600; font-size: 13px;
  border-radius: var(--r-sm); padding: 3px 9px; color: #fff; display: inline-block;
}
.s-high { background: var(--navy); }
.s-mid { background: var(--amber-deep); }
.s-low { background: var(--coral-deep); }
.ravatar {
  font-style: normal; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-tint); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 10px; font-weight: 600;
  border: 1px solid var(--mist);
}

/* Mock: batch */
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mock-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jd-box {
  border: 1px solid var(--mist); border-radius: var(--r-md); padding: 12px 14px;
  font-size: 12px; color: var(--ink-2); line-height: 1.55; background: var(--paper);
}
.mock-file { font-family: var(--font-m); font-size: 10px; color: var(--ink-2); display: block; margin-top: 10px; }
.req-group { margin-bottom: 12px; }
.req-title { font-size: 11px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-m); font-size: 10px; padding: 3px 9px; border-radius: var(--r-sm);
  background: var(--navy-tint); color: var(--navy-deep); font-weight: 500;
}
.tag-soft { background: var(--mist-soft); color: var(--ink-2); }
.req-row {
  display: flex; justify-content: space-between; font-size: 12px;
  padding: 7px 0; border-top: 1px solid var(--mist-soft);
}
.req-row span { color: var(--ink-2); }

/* Mock: upload */
.dropzone {
  border: 1.5px dashed var(--navy); border-radius: var(--r-md); background: var(--navy-tint);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px; margin-bottom: 14px;
}
.drop-ico { width: 20px; height: 20px; color: var(--navy); }
.dropzone b { font-size: 14px; }
.dropzone span { font-family: var(--font-m); font-size: 10px; color: var(--ink-2); }
.upload-summary { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.file-list { display: flex; flex-direction: column; }
.file-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 4px; border-top: 1px solid var(--mist-soft); font-size: 13px;
}
.f-ext {
  font-family: var(--font-m); font-size: 10px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--mist); border-radius: 4px; padding: 3px 5px;
}
.f-name { flex: 1; }
.f-status { font-family: var(--font-m); font-size: 10px; font-weight: 600; border-radius: var(--r-sm); padding: 2px 8px; }
.f-status.ok { color: var(--navy-deep); background: var(--navy-tint); }
.f-status.ocr { color: var(--ink-2); background: var(--mist-soft); }
.f-status.run { color: var(--ink-2); background: var(--mist-soft); display: inline-flex; align-items: center; gap: 6px; }
.f-status.dup { color: var(--amber-deep); background: var(--amber-tint); }
.spin {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--mist); border-top-color: var(--navy);
  animation: rot 1s linear infinite; display: inline-block;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* ============ DEMO (signature) ============ */
.demo-sec { background: linear-gradient(180deg, var(--panel), var(--paper)); border-top: 1px solid var(--mist); }
.demo-head { max-width: 640px; margin-bottom: 40px; }
.demo-head h3 { font-size: clamp(21px, 2.5vw, 27px); font-weight: 600; margin-bottom: 14px; }
.demo-lede { color: var(--ink-2); font-size: 16px; }
.demo {
  background: var(--panel); border: 1px solid var(--mist); border-radius: var(--r-xl);
  box-shadow: var(--shadow); overflow: hidden;
}
.demo-top {
  display: flex; align-items: stretch; border-bottom: 1px solid var(--mist);
  background: #FCFCFA;
}
.demo-tabs { display: flex; align-items: stretch; overflow-x: auto; }
.dtab {
  font-family: var(--font-b); font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: none; border: none; border-right: 1px solid var(--mist-soft);
  padding: 14px 22px; cursor: pointer; text-align: left; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dtab span { display: block; font-family: var(--font-m); font-size: 10px; font-weight: 400; letter-spacing: .06em; margin-top: 2px; }
.dtab:hover { background: var(--mist-soft); }
.dtab.active { color: var(--navy); box-shadow: inset 0 -2.5px 0 var(--navy); background: var(--panel); }
.replay {
  margin-left: auto; border: none; background: none; cursor: pointer;
  font-family: var(--font-m); font-size: 12px; font-weight: 600; color: var(--navy);
  padding: 0 22px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.replay svg { width: 14px; height: 14px; }
.replay:hover { color: var(--gold); }

.demo-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; }
.demo-left { padding: 28px; border-right: 1px solid var(--mist-soft); }
.demo-right { padding: 28px; display: grid; grid-template-columns: 168px 1fr; gap: 26px; align-items: start; }

.cand-card { border: 1px solid var(--mist); border-radius: var(--r-md); padding: 18px; margin-bottom: 20px; background: var(--paper); }
.cand-id { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #3A3F7A, var(--navy-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-weight: 600; font-size: 14px;
}
.cand-id b { display: block; font-size: 16px; }
.cand-id span { font-size: 13px; color: var(--ink-2); }
.cand-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cand-meta span { font-family: var(--font-m); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); display: block; }
.cand-meta b { font-size: 13px; font-weight: 600; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; min-height: 108px; }
.sk {
  font-family: var(--font-m); font-size: 10px; font-weight: 500;
  padding: 5px 11px; border-radius: var(--r-sm);
  background: var(--mist-soft); color: var(--ink-2);
  opacity: .35; transform: scale(.94);
  transition: opacity .3s ease, transform .3s ease, background .3s ease, color .3s ease;
}
.sk.lit { opacity: 1; transform: none; }
.sk.lit.sk-match { background: var(--navy-tint); color: var(--navy-deep); box-shadow: inset 0 0 0 1px rgba(29, 33, 87, .22); }
.sk.lit.sk-partial { background: var(--amber-tint); color: var(--amber-deep); box-shadow: inset 0 0 0 1px rgba(138, 90, 31, .3); }
.sk.lit.sk-miss { background: var(--coral-tint); color: var(--coral-deep); box-shadow: inset 0 0 0 1px rgba(158, 63, 54, .3); text-decoration: line-through; }
.skill-key { display: flex; gap: 16px; margin-top: 16px; }
.skill-key span { font-size: 11px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.k { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.k-match { background: var(--navy); }
.k-partial { background: var(--amber-deep); }
.k-miss { background: var(--coral-deep); }

/* Gauge */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gauge {
  position: relative; width: 150px; height: 196px;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--mist-soft);
  border: 1px solid var(--mist);
}
.water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0%;
  background: linear-gradient(180deg, var(--aqua) 0%, var(--aqua-deep) 90%);
  transition: height 1.7s cubic-bezier(.25, .75, .35, 1);
}
.wave {
  position: absolute; top: -10px; left: 0; width: 200%; height: 12px;
  background-repeat: repeat-x; background-size: 120px 12px;
  animation: waveMove 3.4s linear infinite;
}
.w1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 7 Q15 1 30 7 T60 7 T90 7 T120 7 V12 H0 Z' fill='%233E9CAF'/%3E%3C/svg%3E"); }
.w2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 8 Q20 2 40 8 T80 8 T120 8 V12 H0 Z' fill='%232E7A8A'/%3E%3C/svg%3E");
  animation-duration: 5.2s; animation-direction: reverse; opacity: .55; top: -8px;
}
@keyframes waveMove { to { transform: translateX(-120px); } }
.gauge-score {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  border-radius: var(--r-md); padding: 8px 16px;
  display: flex; align-items: baseline; gap: 2px;
  box-shadow: 0 6px 18px -8px rgba(18, 20, 62, .3);
}
.gauge-score b { font-family: var(--font-d); font-size: 34px; font-weight: 600; line-height: 1; }
.gauge-score span { font-family: var(--font-m); font-size: 12px; color: var(--ink-2); }
.gauge-label { font-family: var(--font-m); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); min-height: 17px; }

/* Breakdown */
.breakdown { width: 100%; }
.bd-row { display: grid; grid-template-columns: 150px 1fr 46px; gap: 12px; align-items: center; margin-bottom: 13px; }
.bd-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.bd-name i { display: block; font-style: normal; font-family: var(--font-m); font-size: 10px; font-weight: 400; color: var(--ink-2); }
.bd-bar { height: 9px; border-radius: var(--r-sm); background: var(--mist-soft); overflow: hidden; }
.bd-fill {
  height: 100%; width: 0%; border-radius: var(--r-sm);
  background: linear-gradient(90deg, #3A3F7A, var(--navy));
  transition: width 1.1s cubic-bezier(.25, .75, .35, 1);
}
.bd-val { font-family: var(--font-m); font-size: 12px; text-align: right; }
.ai-summary {
  margin-top: 18px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--mist); border-left: 3px solid var(--gold-soft);
  border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s ease, transform .6s ease;
  min-height: 86px;
}
.ai-summary.in { opacity: 1; transform: none; }
.ai-summary b { color: var(--ink); }

/* Engine strip (under the demo) */
.engine { margin-top: 40px; }
.engine-label {
  font-family: var(--font-m); font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.engine-label::before { content: ""; width: 20px; height: 2px; background: var(--gold-soft); flex-shrink: 0; }
.engine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-tiles); }
.eng {
  background: var(--panel); border: 1px solid var(--mist); border-radius: var(--r-md);
  padding: 20px 20px 18px;
}
.eng-kicker { font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; color: var(--gold); display: block; margin-bottom: 8px; }
.eng h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.eng p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* ============ MOCK: RANK TABLE ============ */
.rank-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.rank-export {
  margin-left: auto; font-family: var(--font-m); font-size: 11px; font-weight: 600; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.rank-export svg { width: 13px; height: 13px; }
.rtable { border: 1px solid var(--mist); border-radius: var(--r-md); overflow: hidden; }
.rt-head, .rt-row {
  display: grid; grid-template-columns: 26px 1.5fr 60px 1.4fr 80px 30px;
  gap: 10px; align-items: center; padding: 9px 14px; font-size: 13px;
}
.rt-head {
  font-family: var(--font-m); font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); background: var(--paper); border-bottom: 1px solid var(--mist);
}
.rt-row { border-bottom: 1px solid var(--mist-soft); transition: background .15s ease; }
.rt-row:last-child { border-bottom: none; }
.rt-row:hover { background: var(--paper); }
.rt-name { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.rt-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.rt-tags em {
  font-style: normal; font-family: var(--font-m); font-size: 10px;
  background: var(--navy-tint); color: var(--navy-deep); border-radius: 4px; padding: 1.5px 6px;
}
.rt-gap { font-family: var(--font-m); font-size: 10px; color: var(--coral-deep); }
.rt-star { color: var(--mist); display: flex; justify-content: center; }
.rt-star svg { width: 15px; height: 15px; }
.rt-star.on { color: var(--amber-deep); }
.rt-dim { opacity: .55; }

/* ============ MOCK: COMPARE ============ */
.cmp-grid { display: grid; grid-template-columns: .9fr 1fr 1fr 1fr; border: 1px solid var(--mist); border-radius: var(--r-md); overflow: hidden; }
.cmp-col { display: flex; flex-direction: column; }
.cmp-col + .cmp-col { border-left: 1px solid var(--mist-soft); }
.cmp-cell {
  padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--mist-soft);
  min-height: 42px; display: flex; align-items: center; gap: 8px;
}
.cmp-cell:last-child { border-bottom: none; }
.cmp-h { background: var(--paper); font-weight: 700; border-bottom: 1px solid var(--mist); font-size: 13px; }
.cmp-label-col .cmp-cell { font-family: var(--font-m); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.flag-none { font-style: normal; font-family: var(--font-m); font-size: 10px; color: var(--ink-2); background: var(--mist-soft); padding: 2px 8px; border-radius: var(--r-sm); }
.flag-warn { font-style: normal; font-family: var(--font-m); font-size: 10px; color: var(--amber-deep); background: var(--amber-tint); padding: 2px 8px; border-radius: var(--r-sm); }

/* ============ MOCK: INTERVIEWS ============ */
.mock-int { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.int-left { border-right: 1px solid var(--mist-soft); padding-right: 22px; }
.slots { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.slot {
  font-family: var(--font-m); font-size: 12px; padding: 6px 12px;
  border: 1px solid var(--mist); border-radius: var(--r-sm); color: var(--ink-2);
}
.slot-on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.int-people { margin-bottom: 16px; }
.pers { display: flex; align-items: center; gap: 9px; font-size: 13px; padding: 5px 0; }
.int-note {
  font-family: var(--font-m); font-size: 10px; color: var(--navy-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.int-note svg { width: 12px; height: 12px; flex-shrink: 0; }
.sc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--mist-soft); font-size: 13px; }
.sc-dots { display: flex; gap: 4px; }
.sc-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--mist-soft); border: 1px solid var(--mist); }
.sc-dots i.on { background: var(--navy); border-color: var(--navy); }
.sc-verdict { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; }
.sc-verdict span { font-family: var(--font-m); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 4px; }
.v-strong { color: var(--navy-deep); font-size: 13px; }

/* ============ MOCK: ANALYTICS ============ */
.ana-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { border: 1px solid var(--mist); border-radius: var(--r-md); padding: 12px 14px; background: var(--paper); }
.kpi span { font-family: var(--font-m); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 4px; }
.kpi b { font-family: var(--font-d); font-size: 22px; font-weight: 600; }
.ana-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.fn-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 12px; color: var(--ink-2); }
.fn-bar { height: 22px; border-radius: var(--r-sm); background: var(--mist-soft); position: relative; overflow: hidden; }
.fn-bar::before {
  content: ""; position: absolute; inset: 0; width: var(--w);
  background: linear-gradient(90deg, #3A3F7A, var(--navy)); border-radius: var(--r-sm);
}
.fn-bar i {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-family: var(--font-m); font-size: 10px; font-weight: 600; color: #fff;
  z-index: 1;
}
.fn-row:nth-child(5) .fn-bar i, .fn-row:nth-child(6) .fn-bar i { color: var(--ink-2); left: calc(var(--w) + 8px); }
.src-row { display: grid; grid-template-columns: 70px 1fr 28px; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 12px; color: var(--ink-2); }
.src-bar { height: 9px; border-radius: var(--r-sm); background: var(--mist-soft); overflow: hidden; }
.src-bar i { display: block; height: 100%; width: var(--w); background: var(--navy); border-radius: var(--r-sm); }
.src-row b { font-family: var(--font-m); font-size: 11px; text-align: right; }
.src-note { font-family: var(--font-m); font-size: 10px; color: var(--ink-2); display: block; margin-top: 8px; }

/* ============ FOUNDATIONS ============ */
.found { background: var(--dark); color: #EEEEF3; }
.found .eyebrow { color: var(--gold-soft); }
.found h2 { color: #fff; }
.found-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-tiles); margin-top: 44px; }
.f-tile {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.f-tile:hover { background: rgba(255, 255, 255, .08); border-color: rgba(201, 181, 134, .45); transform: translateY(-2px); }
.f-ico { width: 22px; height: 22px; color: var(--gold-soft); display: block; margin-bottom: 14px; }
.f-tile h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.f-tile p { font-size: 14px; color: rgba(238, 238, 243, .65); line-height: 1.55; }

/* Privacy block (inside foundations) */
.privacy { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 40px; }
.privacy h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: #fff; margin-bottom: 24px; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.pv h4 {
  font-size: 15px; font-weight: 700; color: var(--gold-soft); margin-bottom: 4px;
  display: flex; align-items: center; gap: 9px;
}
.pv h4::before {
  content: ""; width: 13px; height: 13px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='%23C9B586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pv p { font-size: 14px; color: rgba(238, 238, 243, .65); line-height: 1.55; }

/* ============ DELIVERY ============ */
.del-lede { color: var(--ink-2); max-width: 560px; font-size: 16px; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-tiles); margin-top: 44px; }
.phase {
  background: var(--panel); border: 1px solid var(--mist); border-radius: var(--r-lg);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.phase::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.ph-tag { font-family: var(--font-m); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.phase h3 { font-family: var(--font-b); font-size: 18px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.01em; }
.phase p { font-size: 14px; color: var(--ink-2); }

/* ============ ABOUT / CONTACT ============ */
.about { background: var(--panel); border-top: 1px solid var(--mist); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.about-grid p { color: var(--ink-2); margin-bottom: 16px; max-width: 520px; }
.about-key {
  border-left: 3px solid var(--gold-soft); padding-left: 18px;
  font-weight: 500; color: var(--ink) !important;
}
.contact-card {
  background: var(--dark); color: #EEEEF3; border-radius: var(--r-xl); padding: 34px 32px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-family: var(--font-b); font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #fff; letter-spacing: -0.01em; }
.contact-card p { font-size: 14px; color: rgba(238, 238, 243, .7); margin-bottom: 22px; }
.contact-line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 14px; font-weight: 500;
  color: #fff; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  transition: color .15s ease;
}
.contact-line svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold-soft); }
.contact-line:hover { color: var(--gold-soft); }
.contact-sig { display: block; margin-top: 18px; font-size: 13px; color: rgba(238, 238, 243, .55); }

/* ============ FOOTER ============ */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--mist); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { font-size: 13px; color: var(--ink-2); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 72px; }
  .mod-grid { grid-template-columns: 1fr; gap: 32px; }
  .mod-alt .mod-copy { order: 1; }
  .mod-alt .mod-shot { order: 2; }
  .cards3, .phases { grid-template-columns: 1fr; max-width: 560px; }
  .found-grid { grid-template-columns: 1fr 1fr; }
  .engine-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-left { border-right: none; border-bottom: 1px solid var(--mist-soft); }
  .pipeline { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 640px) {
  :root { --space-section: 60px; }
  .found-grid, .ana-kpis, .engine-grid, .privacy-grid { grid-template-columns: 1fr; }
  .demo-right { grid-template-columns: 1fr; justify-items: center; }
  .breakdown { width: 100%; }
  .bd-row { grid-template-columns: 120px 1fr 40px; }
  .nav-note { display: none; }
  .pipeline { grid-template-columns: 1fr; gap: 20px; }
  .pipeline::before { display: none; }
  .pstep { text-align: left; display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; }
  .pstep h4 { grid-column: 2; margin: 0; }
  .pstep p { grid-column: 2; }
  .pnum { grid-row: 1 / 3; }
  .flow { width: min(360px, calc(100vw - 48px)); transform: scale(.88); transform-origin: top center; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cv-chip, .rank-row, .lens-ring, .wave, .spin { animation: none !important; }
  .rank-row { opacity: 1; }
  .cv-chip { opacity: .8; transform: translate(var(--x), 20px); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .water, .bd-fill, .ai-summary, .sk { transition: none; }
}
