/* =========================================
   ROLESHIFT — DESIGN SYSTEM v4
   Dark Navy Slate · Inter · High Contrast
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- RESET ------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* --- TOKENS ----------------------------- */
:root {
  /* Palette — dark navy slate */
  --bg:           #06141B;
  --bg-2:         #0D1B25;
  --surface:      #11212D;
  --surface-2:    #253745;
  --border:       rgba(37,55,69,.85);
  --border-2:     rgba(74,92,106,.55);
  --text:         #CCD0CF;
  --text-2:       #9BA8AB;
  --text-3:       #4A5C6A;
  --accent:       #CCD0CF;
  --accent-h:     #ffffff;
  --accent-dim:   rgba(204,208,207,.1);
  --accent-dim2:  rgba(204,208,207,.05);
  --green:        #4ade98;
  --green-bg:     rgba(74,222,152,.18);
  --amber:        #f0b840;
  --amber-bg:     rgba(240,184,64,.1);
  --red:          #f87171;
  --red-bg:       rgba(248,113,113,.1);
  --cyan:         #9BA8AB;
  --purple:       #253745;
  --slate:        #4A5C6A;

  /* Geometry */
  --r-sm:   4px;
  --r:      8px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;

  /* Shadow */
  --sh-sm:  0 1px 3px rgba(0,0,0,.6);
  --sh:     0 4px 24px rgba(0,0,0,.7);
  --sh-lg:  0 20px 60px rgba(0,0,0,.9);

  /* Layout */
  --w:  1160px;
  --hh: 64px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* Light theme */
[data-theme="light"] {
  --bg:           #E4E9E8;
  --bg-2:         #D2D8D7;
  --surface:      #EEF1F1;
  --surface-2:    #DAE0DF;
  --border:       rgba(37,55,69,.15);
  --border-2:     rgba(37,55,69,.28);
  --text:         #06141B;
  --text-2:       #253745;
  --text-3:       #4A5C6A;
  --accent:       #11212D;
  --accent-h:     #06141B;
  --accent-dim:   rgba(17,33,45,.1);
  --accent-dim2:  rgba(17,33,45,.05);
  --green:        #16a34a;
  --green-bg:     rgba(22,163,74,.13);
  --sh-sm:  0 1px 3px rgba(6,20,27,.1);
  --sh:     0 4px 24px rgba(6,20,27,.15);
  --sh-lg:  0 20px 60px rgba(6,20,27,.22);
}

/* --- GRAIN OVERLAY ---------------------- */
body { background: var(--bg); color: var(--text); }
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  animation: grainDrift 8s steps(10) infinite;
}
@keyframes grainDrift {
  0%,100% { transform: translate(0,0); }
  10%      { transform: translate(-3%,-2%); }
  20%      { transform: translate(2%,3%); }
  30%      { transform: translate(-1%,2%); }
  40%      { transform: translate(3%,-1%); }
  50%      { transform: translate(-2%,1%); }
  60%      { transform: translate(1%,-3%); }
  70%      { transform: translate(-3%,2%); }
  80%      { transform: translate(2%,-2%); }
  90%      { transform: translate(-1%,3%); }
}

/* --- TYPOGRAPHY ------------------------- */
h1,h2,h3,h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 0.9rem; letter-spacing: 0.02em; }
p  { color: var(--text-2); line-height: 1.85; font-size: 0.95rem; }
em {
  font-style: normal;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
}
[data-theme="light"] em {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  background: none;
}

.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '——  ';
  letter-spacing: 0.04em;
  opacity: .6;
}
.eyebrow-light { color: var(--accent); }

/* --- LAYOUT ----------------------------- */
.container { max-width: var(--w); margin: 0 auto; padding: 0 32px; }
.section-intro { text-align: center; margin-bottom: 80px; }
.section-intro h2 { margin-bottom: 20px; }
.section-sub { max-width: 480px; margin: 0 auto; font-size: 1rem; }

/* --- BUTTONS ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px;
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent); color: var(--bg);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-ghost {
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

.btn-lg  { padding: 14px 32px; font-size: 0.82rem; }
.btn-xl  { padding: 17px 40px; font-size: 0.88rem; }

/* --- HEADER ----------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--hh);
  background: rgba(6,20,27,.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
[data-theme="light"] .header { background: rgba(228,233,232,.94); }
.header.scrolled { border-color: var(--border); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 28px; }

/* Logo */
.logo { display: flex; align-items: center; }
.logo-word {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--text-2);
  line-height: 1;
}
.logo-word-grad {
  color: #ffffff;
}
[data-theme="light"] .logo-word {
  color: var(--text);
}
[data-theme="light"] .logo-word-grad {
  color: var(--text-3);
}

/* Nav */
.nav { display: flex; gap: 0; margin-left: auto; }
.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 16px;
  transition: color .15s;
}
.nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  color: var(--text-3); transition: color .15s;
}
.theme-toggle:hover { color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text-2); border-radius: 1px; transition: all .2s; }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  padding: 8px 20px 20px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* =========================================
   HERO
   ========================================= */
.hero {
  padding-top: calc(var(--hh) + 60px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

/* Grid background — now amber-tinted */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-grid-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.06; color: #4A5C6A;
}
.hero-grid-reveal {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5; color: #9BA8AB;
  -webkit-mask-image: radial-gradient(0px circle at -999px -999px, black, transparent);
  mask-image: radial-gradient(0px circle at -999px -999px, black, transparent);
  transition: -webkit-mask-image .06s, mask-image .06s;
}

/* Blobs — dark navy atmosphere */
.hero-grid-blobs { position: absolute; inset: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(120px); }
.hero-blob-1 {
  right: -5%; top: -20%;
  width: 50%; height: 50%;
  background: rgba(37,55,69,.55);
}
.hero-blob-2 {
  right: 30%; top: 10%;
  width: 20%; height: 20%;
  background: rgba(155,168,171,.14);
}
.hero-blob-3 {
  left: -8%; bottom: -10%;
  width: 38%; height: 38%;
  background: rgba(13,27,37,.85);
}
[data-theme="light"] .hero-blob-1 { background: rgba(37,55,69,.1); }
[data-theme="light"] .hero-blob-2 { background: rgba(74,92,106,.08); }
[data-theme="light"] .hero-blob-3 { background: rgba(17,33,45,.06); }

.hero > .container,
.hero > .hero-scroll-hint { position: relative; z-index: 1; }

/* Hero layout — asymmetric */
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--hh));
  padding-bottom: 80px;
}

/* Hero text animations on load */
.hero-text { max-width: 600px; }
.hero-text .eyebrow {
  opacity: 0;
  animation: heroFadeUp .7s var(--ease) .1s forwards;
}
.hero-text h1 {
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease) .25s forwards;
}
.hero-sub {
  font-size: 1.05rem; max-width: 420px; margin-bottom: 44px;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease) .4s forwards;
}
.hero-ctas {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .7s var(--ease) .55s forwards;
}
.hero-trust {
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-top: 24px;
  opacity: 0;
  animation: heroFadeUp .7s var(--ease) .7s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll hint */
.hero-scroll-hint {
  text-align: center; padding: 28px 0 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-3);
}
.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent 80%);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%,100% { opacity: 1; transform: translateY(0); }
  50%      { opacity: .2; transform: translateY(8px); }
}

/* Hero visual card */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: heroFadeUp .9s var(--ease) .35s forwards;
}
.hv-card {
  background: rgba(6,20,27,.9);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl); padding: 30px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(204,208,207,.06) inset;
}
[data-theme="light"] .hv-card {
  background: rgba(238,241,241,.9);
  border-color: rgba(37,55,69,.2);
}
.hv-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 6px;
}
.hv-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.hv-role-name { font-size: 0.95rem; font-weight: 600; font-family: 'Inter', system-ui, sans-serif; color: var(--text); }
.hv-model-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid var(--border-2); padding: 5px 10px; border-radius: var(--r-sm);
  white-space: nowrap; flex-shrink: 0;
}
.hv-bars { display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; }
.hv-bar-row {
  display: grid; grid-template-columns: 90px 1fr 36px;
  align-items: center; gap: 12px;
}
.hv-bar-row > span:first-child { font-size: 0.72rem; color: var(--text-2); font-family: 'Inter', sans-serif; }
.hv-track { height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; }
.hv-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.3s var(--ease); }
.hv-fill-auto  { background: var(--accent); }
.hv-fill-ai    { background: var(--cyan); }
.hv-fill-human { background: var(--green); }
.hv-pct { font-size: 0.68rem; font-weight: 700; color: var(--text-3); text-align: right; font-family: 'Inter', sans-serif; }
.hv-divider { height: 1px; background: var(--border); margin: 18px 0; }
.hv-model {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; color: var(--text-2); font-weight: 600;
}
.hv-model-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hv-summary { font-size: 0.78rem; color: var(--text-3); line-height: 1.65; font-family: 'Inter', system-ui, sans-serif; }

/* Flow nodes */
.hv-flow {
  display: flex; align-items: center; gap: 0;
  margin-top: 14px; flex-wrap: nowrap; overflow: hidden;
}
.hv-node {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-3); padding: 5px 11px; border-radius: var(--r-sm);
  white-space: nowrap;
}
.hv-node-done   { background: var(--accent-dim2); border-color: var(--border-2); color: var(--text-2); }
.hv-node-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.hv-line { flex: 1; height: 1px; background: var(--border); min-width: 10px; max-width: 24px; }

/* =========================================
   SECTION — WHY IT MATTERS
   ========================================= */
.section-why { padding: 140px 0; background: var(--bg); }
.why-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
}
.why-card {
  padding: 52px 44px;
  background: var(--bg);
  position: relative; overflow: hidden;
  transition: background .3s;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.why-card:hover { background: var(--surface); }
.why-card:hover::before { transform: scaleX(1); }
.why-card > * { position: relative; }
.why-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 4rem; font-weight: 800;
  line-height: 1;
  color: var(--surface-2);
  margin-bottom: 28px;
  transition: color .3s;
}
.why-card:hover .why-num { color: var(--text-2); opacity: .5; }
.why-card h3 {
  font-size: 1.25rem; margin-bottom: 14px; line-height: 1.2;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600;
}
.why-card p { font-size: 0.88rem; }

/* =========================================
   SECTION — HOW IT WORKS
   ========================================= */
.section-how {
  padding: 140px 0;
  background: var(--surface);
  position: relative;
}
.section-how::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(74,92,106,.12) 0%, transparent 60%);
  pointer-events: none;
}
.how-sticky-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start;
}
.how-steps-left { position: sticky; top: calc(var(--hh) + 40px); z-index: 1; }
.how-step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: .3; transition: opacity .4s var(--ease);
}
.how-step:first-child { border-top: 1px solid var(--border); }
.how-step--active { opacity: 1; }
.hs-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.8rem; font-weight: 800; line-height: 1;
  color: var(--text-3);
  padding-top: 2px; min-width: 32px;
  transition: color .3s;
}
.how-step--active .hs-num { color: var(--accent); }
.hs-text h3 { font-size: 1.1rem; margin-bottom: 8px; }
.hs-text p  { font-size: 0.875rem; }
.how-cta { margin-top: 36px; }

/* How visual panels */
.how-visual-right { position: relative; z-index: 1; }
.how-vis-panel {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl); padding: 32px 36px;
  box-shadow: var(--sh);
  position: relative;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.how-vis-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.35;
}
.how-vis-hidden { display: none; }

/* Eyebrow label — matches calc-eyebrow */
.hvp-label {
  display: inline-flex; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--border-2);
  padding: 5px 11px; border-radius: var(--r-sm);
  margin-bottom: 20px;
}

/* Big question heading — matches calc-q */
.hvp-question {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; color: var(--text);
  margin-bottom: 20px;
}

/* Mock inputs */
.hvp-field { margin-bottom: 14px; }
.hvp-field-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); font-family: 'Inter', sans-serif; display: block; margin-bottom: 6px; }
.hvp-input-mock {
  padding: 10px 14px; background: var(--bg);
  border: 1px solid var(--border-2); border-radius: var(--r);
  color: var(--text); font-size: 0.88rem; font-family: 'Inter', sans-serif; font-weight: 500;
}
.hvp-textarea-mock {
  padding: 10px 14px; background: var(--bg);
  border: 1px solid var(--border-2); border-radius: var(--r);
  color: var(--text-2); font-size: 0.78rem; font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Role chips */
.hvp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hvp-chip {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--border-2); color: var(--text-2);
}
.hvp-chip--on { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Scale questions — matches sq-* from calculator */
.hvp-sq-block { display: flex; flex-direction: column; }
.hvp-sq {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.hvp-sq:first-child { border-top: 1px solid var(--border); }
.hvp-sq-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  line-height: 1.4; margin-bottom: 6px;
}
.hvp-sq-endpoints {
  display: flex; justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; color: var(--text-3); margin-bottom: 10px;
}
.hvp-sq-scale {
  display: flex;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border-2);
}
.hvp-sq-opt {
  flex: 1; padding: 10px 4px; text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  border-right: 1px solid var(--border-2);
  color: var(--text-3); background: transparent;
  line-height: 1;
}
.hvp-sq-opt:last-child { border-right: none; }
.hvp-sq-sel {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

/* Goal cards — matches calc-goal-card */
.hvp-goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hvp-goal-card {
  padding: 14px 12px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--border-2);
  position: relative;
}
.hvp-goal-sel {
  border-color: var(--accent);
  background: var(--accent-dim2);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.hvp-goal-sel::after {
  content: '';
  position: absolute; top: 7px; right: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' stroke='%230d0b08' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3'/%3E%3C/svg%3E");
  background-size: 8px 8px; background-repeat: no-repeat; background-position: center;
}
.hvp-gc-icon { width: 18px; height: 18px; color: var(--text-3); margin-bottom: 8px; }
.hvp-gc-icon svg { width: 16px; height: 16px; }
.hvp-goal-sel .hvp-gc-icon { color: var(--accent); }
.hvp-gc-title { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.hvp-gc-desc  { font-size: 0.62rem; color: var(--text-3); line-height: 1.4; font-family: 'Inter', sans-serif; }
.hvp-goal-sel .hvp-gc-desc { color: var(--text-2); }

/* Result panel helpers */
.hvp-result-label { font-family: 'Inter', system-ui, sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 18px; }

/* =========================================
   SECTION — COMPARISON TABLE
   ========================================= */
.section-compare { padding: 140px 0; background: var(--bg); }
.ct-wrap { margin-top: 60px; }

.ct-new {
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh);
}

/* Grid: label col + 3 value cols */
.ct-grid-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.15fr 1fr;
  border-top: 1px solid var(--border);
}
.ct-grid-row:first-child { border-top: none; }

/* ---- HEADER ROW ---- */
.ct-head-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.15fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--border-2);
}
.ct-head-empty {
  padding: 26px 20px 22px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: var(--surface);
}
.ct-head-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.2;
}
.ct-col-head {
  padding: 26px 20px 22px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 3px;
  background: var(--surface);
}
.ct-col-head.is-rs {
  background: rgba(74,222,152,.06);
  border-left: 1px solid rgba(74,222,152,.2);
  border-right: 1px solid rgba(74,222,152,.2);
  border-top: 3px solid var(--green);
  padding-top: 18px;
}
.ct-rs-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  border: 1px solid rgba(74,222,152,.25);
  padding: 3px 9px; border-radius: var(--r-sm); margin-bottom: 5px;
  display: inline-block;
}
.ct-col-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.2;
}
.ct-col-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem; color: var(--text-3); line-height: 1.4;
}

/* ---- DATA ROWS ---- */
.ct-feat-cell {
  padding: 20px 28px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--surface);
}
.ct-feat-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.3;
}
.ct-feat-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; color: var(--text-3); margin-top: 4px; line-height: 1.55;
}
.ct-cell {
  padding: 20px 14px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--surface);
}
.ct-cell.is-rs {
  background: rgba(74,222,152,.04);
  border-left: 1px solid rgba(74,222,152,.18);
  border-right: 1px solid rgba(74,222,152,.18);
}
.ct-grid-row.is-last .ct-cell.is-rs {
  border-bottom: 2px solid rgba(74,222,152,.3);
}

/* ---- VALUES ---- */
.ct-val {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 600; line-height: 1.35;
}
.ct-good { color: var(--green); }
.ct-mid  { color: var(--text-2); }
.ct-bad  { color: var(--text-3); font-weight: 400; }

.ct-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 0.78rem; font-weight: 700; font-family: 'Inter', sans-serif;
}
.ct-yes {
  background: var(--green-bg); color: var(--green);
  box-shadow: 0 0 0 1px rgba(74,222,152,.2);
}
.ct-yes::before { content: '✓'; }
.ct-no  { background: rgba(100,116,139,.08); color: var(--text-3); }
.ct-no::before  { content: '✕'; }

/* ---- LIGHT MODE ---- */
[data-theme="light"] .ct-new {
  box-shadow: 0 2px 20px rgba(6,20,27,.08), 0 0 0 1px rgba(37,55,69,.12);
}
[data-theme="light"] .ct-head-row,
[data-theme="light"] .ct-head-empty,
[data-theme="light"] .ct-col-head:not(.is-rs) { background: #eef1f0; }
[data-theme="light"] .ct-col-head.is-rs {
  background: rgba(22,163,74,.06);
  border-left-color: rgba(22,163,74,.28); border-right-color: rgba(22,163,74,.28);
  border-top-color: #16a34a;
}
[data-theme="light"] .ct-rs-badge { color: #16a34a; background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.25); }
[data-theme="light"] .ct-grid-row { border-top-color: rgba(37,55,69,.09); }
[data-theme="light"] .ct-feat-cell,
[data-theme="light"] .ct-cell:not(.is-rs) { background: #f8faf9; }
[data-theme="light"] .ct-cell.is-rs { background: rgba(22,163,74,.04); border-left-color: rgba(22,163,74,.18); border-right-color: rgba(22,163,74,.18); }
[data-theme="light"] .ct-grid-row.is-last .ct-cell.is-rs { border-bottom-color: rgba(22,163,74,.38); }
[data-theme="light"] .ct-yes { background: rgba(22,163,74,.12); color: #16a34a; box-shadow: 0 0 0 1px rgba(22,163,74,.2); }
[data-theme="light"] .ct-good { color: #16a34a; }

/* ---- RESPONSIVE ---- */
@media (max-width: 680px) {
  .ct-head-empty { display: none; }
  .ct-head-row   { grid-template-columns: 1fr 1.15fr 1fr; }
  .ct-grid-row   { grid-template-columns: 1fr 1.15fr 1fr; }
  .ct-feat-cell  { grid-column: 1 / -1; border-bottom: 1px solid var(--border); padding: 14px 20px; }
  .ct-cell       { padding: 14px 10px; }
}

/* CTA below table */
.preview-cta { text-align: center; margin-top: 52px; }
.preview-cta p { color: var(--text-2); margin-bottom: 22px; font-size: 1rem; }

/* Shared result bar/task components */
.result-model-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid var(--border-2); padding: 7px 14px;
  border-radius: var(--r-sm); margin-bottom: 14px;
}
.result-model-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.result-bars { display: flex; flex-direction: column; gap: 13px; }
.result-bar-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 0.78rem; font-family: 'Inter', sans-serif; }
.result-bar-label { color: var(--text-2); }
.result-bar-pct { font-weight: 700; font-size: 0.78rem; }
.pct-auto   { color: var(--accent); }
.pct-ai     { color: var(--cyan); }
.pct-human  { color: var(--green); }
.pct-review { color: var(--amber); }
.result-track { height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; }
.result-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.3s cubic-bezier(.22,1,.36,1); }
.fill-auto   { background: var(--accent); }
.fill-ai     { background: var(--cyan); }
.fill-human  { background: var(--green); }
.fill-review { background: var(--amber); }
.result-task-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.col-title-ai    { color: var(--cyan); }
.col-title-human { color: var(--green); }
.result-task-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.result-task-list li {
  font-size: 0.84rem; color: var(--text-2); line-height: 1.5;
  padding-left: 14px; position: relative;
}
.result-task-list li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--text-3); font-size: 0.6rem; top: 4px;
}
.readiness-track { height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; }
.readiness-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(.22,1,.36,1); background: var(--accent); }
.readiness-fill.low    { background: var(--red); }
.readiness-fill.medium { background: var(--amber); }
.readiness-fill.high   { background: var(--green); }
.readiness-number { font-family: 'Inter', system-ui, sans-serif; font-size: 3rem; font-weight: 600; line-height: 1; color: var(--text); }
.readiness-desc { font-size: 0.84rem; color: var(--text-2); line-height: 1.7; }

/* =========================================
   SECTION — FINAL CTA
   ========================================= */
.section-cta {
  padding: 160px 0;
  background: var(--surface);
  position: relative; overflow: hidden;
}

.section-cta::before {
  content: ''; position: absolute;
  top: -60%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 100%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,92,106,.1) 0%, transparent 65%);
  pointer-events: none;
}
.section-cta::after { content: none; }
.section-cta .eyebrow-light { color: var(--accent); }
.section-cta .eyebrow::before { content: ''; }
.section-cta h2 { color: var(--text); }
.section-cta p  { color: var(--text-2); }
.cta-block { text-align: center; max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }
.cta-block h2 { margin-bottom: 22px; }
.cta-block p { font-size: 1.05rem; margin-bottom: 44px; }

/* Amber rule above CTA */
.cta-rule {
  width: 48px; height: 2px;
  background: var(--accent);
  margin: 0 auto 32px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: 44px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: var(--text-3); width: 100%; text-align: center; padding-top: 16px; border-top: 1px solid var(--border); letter-spacing: 0.04em; }

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .26s; }
.reveal-delay-3 { transition-delay: .42s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .how-sticky-wrap   { grid-template-columns: 1fr; gap: 48px; }
  .how-steps-left    { position: static; }
  .preview-tasks     { grid-template-columns: 1fr; }
  .preview-readiness-row { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 800px) {
  .hero-layout     { grid-template-columns: 1fr; gap: 44px; min-height: unset; padding-bottom: 60px; }
  .hero-visual     { order: 1; }
  .hero            { padding-top: calc(var(--hh) + 40px); }
  .why-cards       { grid-template-columns: 1fr; gap: 1px; }
  .preview-shell   { grid-template-columns: 1fr; }
  .ps-sidebar      { border-right: none; border-bottom: 1px solid var(--border); }
  .nav             { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle     { display: flex; }
}
@media (max-width: 560px) {
  .container       { padding: 0 20px; }
  h1               { font-size: 3rem; }
  h2               { font-size: 2.2rem; }
  .hero-ctas       { flex-direction: column; width: 100%; }
  .hero-ctas .btn  { width: 100%; justify-content: center; }
  .section-why, .section-how, .section-preview, .section-cta { padding: 100px 0; }
  .preview-hero    { padding: 28px 24px; }
  .preview-split, .preview-readiness { padding: 22px 24px; }
  .preview-task-col { padding: 18px 20px; }
  .footer-inner    { flex-direction: column; align-items: flex-start; }
  .footer-copy     { text-align: left; }
}
