/* ================================================================
   RightCV — modern soft SaaS + neomorphism
   Palette: #7EABF5 sky · #F7F6F3 paper · #22C55E green · #1A56DB blue
   Ink: #0F2A5C (dark navy derived from blue)
   Type: Plus Jakarta Sans (display) + DM Sans (body)
   NOTE: Parent should update HTML <link> fonts to:
     Plus Jakarta Sans (700/800) + DM Sans (400/500/600/700)
   ================================================================ */

:root {
  --sky: #7EABF5;
  --paper: #F7F6F3;
  --green: #22C55E;
  --green-dark: #16A34A;
  --blue: #1A56DB;
  --ink: #0F2A5C;
  --neg: #3B5B9A;          /* muted dark-sky for reject / error (no red) */
  --warn: #5B8FD9;         /* desaturated sky for flags (no amber) */

  --ink-70: rgba(15, 42, 92, 0.72);
  --ink-45: rgba(15, 42, 92, 0.45);
  --ink-15: rgba(15, 42, 92, 0.12);
  --ink-08: rgba(15, 42, 92, 0.08);
  --white-85: rgba(255, 255, 255, 0.85);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-15: rgba(255, 255, 255, 0.16);

  --font-head: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "DM Sans", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --bd: 1px solid rgba(15, 42, 92, 0.08);
  --bd-soft: 1px solid rgba(15, 42, 92, 0.1);
  --shadow: 0 12px 32px rgba(15, 42, 92, 0.1), 0 4px 10px rgba(15, 42, 92, 0.05);
  --shadow-sm: 0 6px 18px rgba(15, 42, 92, 0.08), 0 2px 6px rgba(15, 42, 92, 0.04);
  --shadow-lg: 0 20px 48px rgba(15, 42, 92, 0.14), 0 8px 16px rgba(15, 42, 92, 0.06);
  --shadow-neo:
    8px 8px 20px rgba(15, 42, 92, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.85);
  --shadow-float: 0 18px 40px rgba(26, 86, 219, 0.22), 0 6px 14px rgba(15, 42, 92, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 171, 245, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(26, 86, 219, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(126, 171, 245, 0.15), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(800px, 100% - 40px); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

h1 em, h2 em, .verdict em, .finale em {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h1 em { color: var(--blue); }
h2 em { color: var(--blue); }

.accent-dot { color: var(--green); }
.green { color: var(--green-dark); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--fill {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 22px rgba(26, 86, 219, 0.28);
}
.btn--fill:hover { box-shadow: 0 12px 28px rgba(26, 86, 219, 0.35); }
.btn--green {
  background: var(--green); color: #fff; font-weight: 800;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.3);
}
.btn--green:hover { box-shadow: 0 12px 28px rgba(34, 197, 94, 0.38); }
.btn--line {
  background: #fff;
  border-color: rgba(15, 42, 92, 0.1);
  box-shadow: var(--shadow-sm);
}
.btn--linelight {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff; background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.btn--linelight:hover { background: rgba(255, 255, 255, 0.16); box-shadow: 0 8px 20px rgba(15, 42, 92, 0.2); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 42, 92, 0.06);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
  flex-shrink: 0;
}
.nav__brand img {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  background: transparent;
}
.nav__brand span { line-height: 1; }
.nav__brand em { font-style: normal; color: var(--blue); }
.footer__brand .nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav__links { display: flex; gap: 22px; margin-inline: auto; }
.nav__links a {
  color: var(--ink); text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.nav__links a .mono { color: var(--blue); font-size: 0.62rem; }
.nav__links a:hover { color: var(--blue); }

.nav__cta { display: flex; gap: 10px; }
.nav__cta .btn { padding: 9px 16px; font-size: 0.82rem; }

.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav__burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 999px; }

.nav__mobile {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 20px 22px; background: rgba(247, 246, 243, 0.98);
  border-bottom: 1px solid rgba(15, 42, 92, 0.06);
}
.nav__mobile a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 700; }
.nav__mobile .btn { margin-top: 10px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 171, 245, 0.45), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.filetag {
  display: inline-flex; gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  overflow: visible;
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.filetag span {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.filetag span:first-child { background: rgba(26, 86, 219, 0.1); color: var(--blue); }
.filetag span:last-child { background: rgba(34, 197, 94, 0.14); color: var(--green-dark); }

.hero__sub {
  font-size: 1.12rem; color: var(--ink-70);
  max-width: 50ch; margin: 22px 0 30px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__proof {
  display: grid; grid-template-columns: repeat(3, auto); gap: 32px;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(15, 42, 92, 0.08);
  width: fit-content;
}
.hero__proof b {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900; letter-spacing: -0.03em; display: block;
  color: var(--blue);
}
.hero__proof span {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.06em; color: var(--ink-45);
  text-transform: uppercase; max-width: 20ch; display: block; margin-top: 2px;
}

/* ---------------- MOCKUP: CV Scanner ---------------- */
.hero__mock { position: relative; }

.hero__stage {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
  border-radius: 32px;
  padding: 28px 18px 36px;
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(15, 42, 92, 0.18), transparent 50%),
    linear-gradient(145deg, #3B7EF0 0%, var(--blue) 48%, #143F9E 100%);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.5px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.float-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 18px;
  position: absolute;
  border: var(--bd);
  backdrop-filter: blur(8px);
}

.float-card__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; font-weight: 700; color: var(--ink-70);
  margin-bottom: 14px;
}

.badge {
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.badge--green { background: rgba(34, 197, 94, 0.15); color: var(--green-dark); }

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  color: #fff; flex-shrink: 0;
}
.avatar--a { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.avatar--b { background: linear-gradient(135deg, var(--sky), var(--blue)); }
.avatar--c { background: linear-gradient(135deg, var(--green), #14b8a6); }

.status {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.status--ok { background: rgba(34, 197, 94, 0.15); color: var(--green); }

.person-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.person-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-neo);
}
.person-list strong { display: block; font-size: 0.9rem; font-weight: 700; }
.person-list small { color: var(--ink-45); font-size: 0.75rem; }

.float-card--list {
  width: min(248px, 68%);
  top: 6%; left: 3%;
  z-index: 2;
  animation: floatA 6.2s ease-in-out infinite;
}

.float-card--main,
.scanner.float-card--main {
  position: absolute;
  width: min(320px, 84%);
  top: 12%; right: 4%;
  z-index: 4;
  padding: 0;
  animation: floatB 7s ease-in-out infinite;
}

.float-card--shortlist {
  width: min(210px, 56%);
  bottom: 6%; left: 6%;
  z-index: 3;
  overflow: hidden;
  animation: floatC 5.8s ease-in-out infinite 0.4s;
}

.float-card--step {
  width: min(178px, 48%);
  bottom: 18%; right: 5%;
  z-index: 5;
  animation: floatD 6.6s ease-in-out infinite 0.8s;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
  50% { transform: translate(6px, -14px) rotate(0.5deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(1deg); }
  50% { transform: translate(-8px, -16px) rotate(-0.5deg); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) rotate(2deg); }
  50% { transform: translate(10px, -12px) rotate(0deg); }
}
@keyframes floatD {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(-6px, -14px) rotate(1deg); }
}

.ribbon {
  position: absolute; top: 14px; right: -28px;
  background: var(--green); color: #fff;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 36px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.float-card--shortlist h4 {
  font-size: 0.95rem; margin-bottom: 6px; padding-right: 40px;
}
.shortlist-stat {
  font-size: 0.85rem; color: var(--ink-70); margin-bottom: 14px;
}
.shortlist-stat span {
  font-family: var(--font-head); font-size: 1.5rem;
  font-weight: 800; color: var(--blue); display: block;
}

.bars { display: flex; flex-direction: column; gap: 8px; }
.bar {
  font-size: 0.72rem; color: var(--ink-70);
  display: flex; flex-direction: column; gap: 4px;
}
.bar i {
  display: block; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  width: var(--w);
}

.step-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.float-card--step p {
  font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; line-height: 1.35;
}

.btn--sm { padding: 8px 16px; font-size: 0.8rem; }

@media (max-width: 1040px) {
  .hero__stage { min-height: 480px; max-width: 540px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .hero__stage { min-height: 420px; padding: 20px 12px 28px; border-radius: 24px; }
  .float-card--step { display: none; }
  .float-card--list { width: 70%; top: 4%; left: 2%; }
  .float-card--shortlist { width: 56%; }
  .float-card--main, .scanner.float-card--main { width: 86%; right: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  .float-card, .scanner.float-card--main { animation: none !important; }
}

.scanner {
  border: none;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.scanner__toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  border-bottom: none;
  background: var(--blue);
  color: #fff;
}
.scanner__status { color: var(--sky); }
.scanner__status.done { color: var(--green); }

.scanner__doc { position: relative; padding: 22px; overflow: hidden; }

.doc__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--ink-15);
}
.doc__avatar {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 1rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(26, 86, 219, 0.3);
}
.doc__id b { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.doc__id small { color: var(--ink-45); font-size: 0.78rem; }
.doc__score { margin-left: auto; text-align: right; }
.doc__score i {
  font-style: normal; font-weight: 900;
  font-size: 2rem; letter-spacing: -0.04em;
  color: var(--green-dark); display: block; line-height: 1;
}
.doc__score em {
  font-family: var(--font-mono); font-style: normal;
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-45);
}

.doc__rows { display: flex; flex-direction: column; gap: 10px; }
.doc__row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: inset 0 1px 2px rgba(15, 42, 92, 0.04);
}
.doc__label { width: 86px; flex-shrink: 0; color: var(--blue); font-weight: 600; }
.doc__val { font-size: 0.86rem; color: var(--ink-70); }
.tick {
  margin-left: auto;
  width: 24px; height: 24px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-size: 0.78rem; font-weight: 800;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
  opacity: 0; transform: scale(0.3);
}
.scanner.play .tick { animation: tickPop 0.35s var(--ease) forwards; }
.scanner.play .tick-1 { animation-delay: 0.9s; }
.scanner.play .tick-2 { animation-delay: 1.7s; }
.scanner.play .tick-3 { animation-delay: 2.5s; }
.scanner.play .tick-4 { animation-delay: 3.3s; }
@keyframes tickPop {
  0% { opacity: 0; transform: scale(0.3); }
  70% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

.scan-beam {
  position: absolute; left: 0; right: 0; top: -8%;
  height: 46px;
  background: linear-gradient(180deg, transparent, rgba(126, 171, 245, 0.4) 50%, transparent);
  border-top: 2px solid var(--sky);
  opacity: 0;
  pointer-events: none;
}
.scanner.play .scan-beam { animation: beamSweep 3.6s linear forwards; }
@keyframes beamSweep {
  0% { top: -10%; opacity: 1; }
  95% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

.stamp {
  position: absolute; right: 18px; bottom: 14px;
  border: 2px solid var(--green);
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  text-align: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg) scale(0);
  opacity: 0;
}
.stamp span {
  font-weight: 900; font-size: 1.1rem; letter-spacing: 0.14em; display: block;
}
.stamp small {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.16em;
}
.scanner.play .stamp { animation: stampHit 0.5s var(--ease) 4s forwards; }
@keyframes stampHit {
  0% { transform: rotate(-8deg) scale(2.4); opacity: 0; }
  60% { transform: rotate(-8deg) scale(0.92); opacity: 1; }
  100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}

.scanner__log {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px;
  border-top: none;
  background: linear-gradient(180deg, #143F9E, var(--blue));
  min-height: 118px;
}
.scanner__log .log {
  color: var(--white-55); font-size: 0.7rem;
  opacity: 0; transform: translateX(-8px);
}
.scanner__log .log--green { color: var(--green); }
.scanner.play .log { animation: logIn 0.4s var(--ease) forwards; }
.scanner.play .log-1 { animation-delay: 1.1s; }
.scanner.play .log-2 { animation-delay: 1.9s; }
.scanner.play .log-3 { animation-delay: 2.7s; }
.scanner.play .log-4 { animation-delay: 4.2s; }
@keyframes logIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ---------------- Ticker ---------------- */
.ticker {
  border: none;
  background: var(--blue); color: #fff;
  overflow: hidden; padding: 14px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.ticker__track {
  display: flex; gap: 28px; align-items: center;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; font-weight: 600;
}
.ticker__track i { color: var(--green); font-style: normal; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Sections ---------------- */
.sec { padding: 108px 0; }
.sec--ink {
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(126, 171, 245, 0.18), transparent 55%),
    var(--ink);
  color: var(--paper);
  border: none;
}
.sec--ink h2 { color: #fff; }
.sec--ink h2 em { color: var(--sky); }
.sec--paper {
  background: #fff;
  border: none;
  box-shadow: 0 1px 0 rgba(15, 42, 92, 0.04);
}
.sec--blue {
  background:
    radial-gradient(ellipse 80% 70% at 80% 20%, rgba(126, 171, 245, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(15, 42, 92, 0.2), transparent 50%),
    var(--blue);
  color: #fff;
  border: none;
}
.sec--blue h2 { color: #fff; }
.sec--blue h2 em { color: var(--green); }

.sec__head { max-width: 780px; margin-bottom: 56px; }
.sec__index {
  display: inline-block;
  color: var(--blue);
  background: rgba(26, 86, 219, 0.08);
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
  font-weight: 600;
}
.sec--ink .sec__index { color: var(--sky); background: rgba(126, 171, 245, 0.14); }
.sec--blue .sec__index { color: #fff; background: var(--white-15); }

.sec__lead { font-size: 1.1rem; color: var(--ink-70); margin-top: 16px; max-width: 62ch; }
.sec--ink .sec__lead, .sec--blue .sec__lead { color: var(--white-85); }

/* ---------------- Problem: case cards ---------------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.case {
  border: none; background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.case__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid var(--ink-15);
  background: rgba(126, 171, 245, 0.08);
}
.case__head .mono { color: var(--blue); font-weight: 600; }
.case__x { color: var(--neg); font-weight: 800; font-size: 1.05rem; }

.case h3 { padding: 22px 24px 8px; }
.case > p { padding: 0 24px 20px; color: var(--ink-70); font-size: 0.98rem; }

.case__strip {
  border-top: 1px solid var(--ink-15);
  padding: 14px 24px;
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--ink-70);
  background: var(--paper);
}
.case__strip .strike { text-decoration: line-through; color: var(--neg); }
.case__strip b { color: var(--green-dark); }

.verdict {
  margin-top: 56px; text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.02em;
}

/* ---------------- Students: pipeline mockup ---------------- */
.pipeline { position: relative; margin-bottom: 72px; }

.pipeline__rail {
  position: absolute; top: 26px; left: 6%; right: 6%;
  height: 4px; background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.pipeline__fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--green));
  border-radius: 999px;
  transition: width 2.8s var(--ease);
}
.pipeline.play .pipeline__fill { width: 100%; }

.pipeline__steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.pstep { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.pstep__dot {
  width: 54px; height: 54px; z-index: 1;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15, 42, 92, 0.2);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.pstep__dot i {
  font-style: normal; font-family: var(--font-mono);
  font-weight: 600; font-size: 0.8rem; color: var(--white-55);
  transition: color 0.4s;
}
.pipeline.play .pstep__dot { background: var(--green); border-color: var(--green); transform: scale(1.08); box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4); }
.pipeline.play .pstep__dot i { color: #fff; }
.pipeline.play .pstep-1 .pstep__dot { transition-delay: 0.2s; }
.pipeline.play .pstep-2 .pstep__dot { transition-delay: 0.9s; }
.pipeline.play .pstep-3 .pstep__dot { transition-delay: 1.6s; }
.pipeline.play .pstep-4 .pstep__dot { transition-delay: 2.3s; }
.pipeline.play .pstep-1 .pstep__dot i { transition-delay: 0.2s; }
.pipeline.play .pstep-2 .pstep__dot i { transition-delay: 0.9s; }
.pipeline.play .pstep-3 .pstep__dot i { transition-delay: 1.6s; }
.pipeline.play .pstep-4 .pstep__dot i { transition-delay: 2.3s; }

.pstep__card {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 22px;
  width: 100%;
  opacity: 0.35;
  transform: translateY(10px);
  box-shadow: 0 8px 24px rgba(15, 42, 92, 0.12);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s, box-shadow 0.5s;
}
.pipeline.play .pstep__card { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.14); box-shadow: 0 12px 32px rgba(15, 42, 92, 0.18); }
.pipeline.play .pstep-1 .pstep__card { transition-delay: 0.3s; }
.pipeline.play .pstep-2 .pstep__card { transition-delay: 1s; }
.pipeline.play .pstep-3 .pstep__card { transition-delay: 1.7s; }
.pipeline.play .pstep-4 .pstep__card { transition-delay: 2.4s; }

.pstep__tag { color: var(--sky); display: block; margin-bottom: 8px; }
.pstep__card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.pstep__card p { font-size: 0.85rem; color: var(--white-55); margin-bottom: 12px; }
.pstep__check {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--green); letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.4s;
}
.pipeline.play .pstep__check { opacity: 1; }
.pipeline.play .pstep-1 .pstep__check { transition-delay: 0.7s; }
.pipeline.play .pstep-2 .pstep__check { transition-delay: 1.4s; }
.pipeline.play .pstep-3 .pstep__check { transition-delay: 2.1s; }
.pipeline.play .pstep-4 .pstep__check { transition-delay: 2.8s; }

/* ---------------- Students: score comparison ---------------- */
.scorecomp {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 40px rgba(15, 42, 92, 0.18);
}
.scorecomp__col { text-align: center; }
.scorecomp__col .mono { color: var(--white-55); display: block; margin-bottom: 14px; }
.scorecomp__col--rcv .mono { color: var(--green); }
.scorecomp__col p { font-size: 0.88rem; color: var(--white-55); max-width: 30ch; margin-inline: auto; }
.scorecomp__col--rcv p { color: var(--white-85); }

.gauge {
  width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.gauge b { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.04em; }
.gauge--ats {
  background: rgba(255, 255, 255, 0.06);
  border: 3px dashed rgba(255, 255, 255, 0.25);
  color: var(--white-55);
}
.gauge--rcv {
  background: conic-gradient(var(--green) calc(var(--p, 0) * 1%), rgba(255,255,255,0.1) 0);
  position: relative;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}
.gauge--rcv::before {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%; background: #143F9E;
}
.gauge--rcv b { position: relative; color: var(--green); }

.scorecomp__neq {
  font-size: 3rem; font-weight: 800; color: var(--sky);
  font-family: var(--font-head); font-style: normal;
}
.scorecomp__cta { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }

/* ---------------- Recruiters: funnel mockup ---------------- */
.funnel {
  border: none; background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
}
.funnel__head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-15);
}
.funnel__head .mono:first-child { color: var(--blue); font-weight: 600; }
.badge-dot {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; color: var(--green-dark);
  background: rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px; font-weight: 700; text-transform: uppercase;
}
.badge-dot i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.fstage { margin-bottom: 18px; }
.fstage__meta {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px;
}
.fstage__meta .mono { color: var(--ink-45); font-weight: 600; }
.fnum { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; margin-left: auto; }
.fnum--green { color: var(--green-dark); }

.fstage__bar {
  height: 22px;
  background: var(--paper);
  border: none;
  border-radius: var(--radius-pill);
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 42, 92, 0.06);
}
.fstage__bar i {
  position: absolute; inset: 0;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transition: width 1.1s var(--ease);
}
.fstage__bar--green i {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}
.funnel.play .fstage__bar i { width: var(--w, 100%); }
.funnel.play .fstage:nth-child(2) .fstage__bar i { transition-delay: 0.1s; }
.funnel.play .fstage:nth-child(3) .fstage__bar i { transition-delay: 0.5s; }
.funnel.play .fstage:nth-child(4) .fstage__bar i { transition-delay: 0.9s; }
.funnel.play .fstage:nth-child(5) .fstage__bar i { transition-delay: 1.3s; }
.funnel.play .fstage:nth-child(6) .fstage__bar i { transition-delay: 1.7s; }

.fstage p { font-size: 0.8rem; color: var(--ink-45); margin-top: 5px; }
.fstage--final p b { color: var(--ink); }
.fstage:last-child { margin-bottom: 0; }

.recruiter-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.rnote {
  border-left: 3px solid var(--sky);
  padding: 8px 0 8px 20px;
  background: rgba(126, 171, 245, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rnote .mono { color: var(--blue); font-weight: 600; display: block; margin-bottom: 8px; }
.rnote p { font-size: 0.9rem; color: var(--ink-70); }
.rnote sup { color: var(--ink-45); }

/* ---------------- Compare: ledger ---------------- */
.ledger {
  border: none; background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ledger__row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  border-bottom: 1px solid var(--ink-15);
}
.ledger__row:last-child { border-bottom: none; }
.ledger__row > span { padding: 16px 20px; font-size: 0.95rem; }
.ledger__row > span:first-child { font-weight: 700; border-right: 1px solid var(--ink-15); }
.ledger__row > span:nth-child(2) { color: var(--ink-45); border-right: 1px solid var(--ink-15); }

.ledger__row--head { border-bottom: 1px solid var(--ink-15); background: rgba(126, 171, 245, 0.08); }
.ledger__row--head .mono { font-weight: 600; color: var(--ink-45); padding: 12px 20px; }

.ledger__us { background: rgba(34, 197, 94, 0.1); font-weight: 700; position: relative; }
.ledger__row--head .ledger__us { color: var(--green-dark) !important; background: rgba(34, 197, 94, 0.16); }

/* ---------------- Beta ---------------- */
.beta__shell {
  border: none;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}

.beta__tabs {
  display: inline-flex;
  border: none;
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 30px;
  box-shadow: inset 0 1px 3px rgba(15, 42, 92, 0.06);
}
.beta__tab {
  font-weight: 700; font-size: 0.92rem;
  padding: 11px 26px;
  border: none; cursor: pointer;
  background: transparent; color: var(--ink-45);
  border-radius: var(--radius-pill);
  transition: 0.2s;
}
.beta__tab + .beta__tab { border-left: none; }
.beta__tab.is-active {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 86, 219, 0.28);
}

.beta__panel { display: none; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.beta__panel.is-active { display: grid; }

.beta__info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.beta__info > p { color: var(--ink-70); margin-bottom: 20px; }

.list-check { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-check li {
  position: relative; padding-left: 32px;
  color: var(--ink-70); font-size: 0.95rem;
}
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.beta__form { display: flex; flex-direction: column; gap: 14px; }
.beta__form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-45);
}
.beta__form input, .beta__form textarea {
  font-family: var(--font-body);
  padding: 13px 16px;
  border: 1px solid rgba(15, 42, 92, 0.1);
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.beta__form textarea {
  resize: vertical;
  min-height: 80px;
}
.beta__form input:focus, .beta__form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(126, 171, 245, 0.25);
}
.beta__form input.is-error {
  border-color: var(--neg);
  box-shadow: 0 0 0 4px rgba(59, 91, 154, 0.2);
}
.beta__form textarea.is-error {
  border-color: var(--neg);
  box-shadow: 0 0 0 4px rgba(59, 91, 154, 0.2);
}
.beta__fine { text-align: center; color: var(--ink-45); font-size: 0.62rem !important; }

/* Humanised signup forms: warmer, clearer and less "template form" */
.beta__form--human {
  position: relative;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(15, 42, 92, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 0%, rgba(126, 171, 245, 0.22), transparent 34%),
    radial-gradient(circle at 95% 12%, rgba(34, 197, 94, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 246, 243, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(15, 42, 92, 0.1);
}

.form-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(126, 171, 245, 0.24);
  box-shadow: 0 10px 22px rgba(15, 42, 92, 0.06);
}
.form-note--recruiter {
  border-color: rgba(34, 197, 94, 0.24);
}
.form-note__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(26, 86, 219, 0.22);
}
.form-note--recruiter .form-note__icon {
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 22px rgba(34, 197, 94, 0.22);
}
.form-note b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.form-note span:not(.form-note__icon) {
  display: block;
  color: var(--ink-70);
  font-size: 0.9rem;
  line-height: 1.45;
}

.beta__form--human label {
  gap: 8px;
  padding: 13px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 42, 92, 0.06);
  box-shadow: 0 8px 18px rgba(15, 42, 92, 0.045);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.beta__form--human label:focus-within {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(126, 171, 245, 0.5);
  box-shadow: 0 14px 28px rgba(15, 42, 92, 0.09);
}
.form__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}
.form__label-row > span {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}
.form__label-row small {
  color: var(--ink-45);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.form__field {
  position: relative;
  display: block;
}
.form__field::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 5px rgba(126, 171, 245, 0.14);
  transform: translateY(-50%);
  pointer-events: none;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
label:focus-within .form__field::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.16);
}
.form__field:has(textarea)::before {
  top: 22px;
  transform: none;
}
.beta__form--human input,
.beta__form--human textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(247, 246, 243, 0.86);
  padding: 15px 16px 15px 36px;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.beta__form--human textarea {
  min-height: 132px;
  line-height: 1.5;
}
.beta__form--human input::placeholder,
.beta__form--human textarea::placeholder {
  color: rgba(15, 42, 92, 0.34);
}
.beta__form--human input:focus,
.beta__form--human textarea:focus {
  border-color: rgba(126, 171, 245, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(126, 171, 245, 0.2);
}
.beta__form--human .btn {
  margin-top: 2px;
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.beta__form--human .btn:disabled {
  cursor: wait;
  opacity: 0.88;
}
.btn__dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.btn__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  animation: dotPulse 0.9s infinite ease-in-out;
}
.btn__dots i:nth-child(2) { animation-delay: 0.12s; }
.btn__dots i:nth-child(3) { animation-delay: 0.24s; }
.beta__error {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(59, 91, 154, 0.1);
  color: var(--neg);
  text-align: center;
}

@keyframes dotPulse {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.beta__success {
  text-align: center; padding: 32px 12px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.beta__success .tick-big {
  width: 64px; height: 64px;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 900;
  background: var(--green); color: #fff;
  border: none; border-radius: 50%;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}
.beta__success h4 { font-size: 1.3rem; font-weight: 800; }
.beta__success p { color: var(--ink-70); max-width: 40ch; }

/* ---------------- FAQ ---------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: none; background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  padding: 18px 52px 18px 22px;
  position: relative;
}
.faq summary .mono { color: var(--blue); font-weight: 600; flex-shrink: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-70); padding: 0 22px 20px 62px; font-size: 0.95rem; }

/* ---------------- Finale ---------------- */
.finale {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(126, 171, 245, 0.22), transparent 55%),
    var(--ink);
  color: #fff;
  text-align: center;
}
.finale h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.finale h2 em { color: var(--green); }
.finale .sec__index { color: var(--sky); border-color: var(--sky); background: rgba(126, 171, 245, 0.1); }
.finale p { color: var(--white-55); max-width: 52ch; margin: 18px auto 36px; font-size: 1.05rem; }
.finale__cta { justify-content: center; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: var(--white-85); border-top: 1px solid var(--white-15); padding: 56px 0 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 44px; }
.footer__brand p { margin-top: 12px; max-width: 28ch; font-size: 0.9rem; color: var(--white-55); }
.footer__brand .nav__brand { color: #fff; }
.footer__links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__links h4 { color: var(--sky); margin-bottom: 14px; font-weight: 600; }
.footer__links div { display: flex; flex-direction: column; }
.footer__links a {
  color: var(--white-55); text-decoration: none;
  font-size: 0.9rem; padding: 4px 0;
}
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bar { border-top: 1px solid var(--white-15); padding: 18px 0; text-align: center; }
.footer__bar p { color: var(--white-55); font-size: 0.62rem !important; }

/* ---------------- Sticky CTA ---------------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(15, 42, 92, 0.06);
  box-shadow: 0 -8px 24px rgba(15, 42, 92, 0.08);
  display: none;
}
.sticky-cta .btn { display: flex; width: 100%; }
.sticky-cta.is-visible { display: block; animation: slideUp 0.35s var(--ease); }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ---------------- Reveal ---------------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .scanner.play .tick, .scanner.play .log { animation-duration: 0.01s; animation-delay: 0s; }
  .scanner.play .scan-beam { animation: none; opacity: 0; }
  .scanner.play .stamp { animation-duration: 0.01s; animation-delay: 0s; }
  .pipeline__fill, .fstage__bar i, .pstep__card, .pstep__dot, .pstep__check { transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .badge-dot i { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hero__mock { max-width: 560px; }
  .pipeline__steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pipeline__rail { display: none; }
  .pstep { flex-direction: row; align-items: flex-start; }
  .pstep__dot { flex-shrink: 0; }
  .recruiter-notes { grid-template-columns: 1fr; }
  .beta__panel.is-active { grid-template-columns: 1fr; }
  .scorecomp { grid-template-columns: 1fr; }
  .scorecomp__neq { text-align: center; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; }
}

@media (max-width: 640px) {
  .sec { padding: 68px 0; }
  .hero { padding: 52px 0 68px; }
  .hero__proof { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .pipeline__steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .ledger__row { grid-template-columns: 1fr; }
  .ledger__row > span { border-right: none !important; padding: 10px 16px; }
  .ledger__row > span:first-child { padding-top: 16px; }
  .ledger__row > span:last-child { padding-bottom: 16px; }
  .ledger__row--head { display: none; }
  .ledger__row > span:nth-child(2)::before { content: "OLD WAY — "; font-family: var(--font-mono); font-size: 0.6rem; color: var(--ink-45); }
  .ledger__us::before { content: "RIGHTCV — "; font-family: var(--font-mono); font-size: 0.6rem; color: var(--green-dark); }
  .beta__shell { padding: 22px; }
  .funnel { padding: 18px; }
  .doc__score i { font-size: 1.5rem; }
  .footer__links { gap: 28px; }
}

/* ---------------- EXHIBIT A: "Same Skills, Different Logo" mockup ---------------- */
.trap {
  position: relative;
  padding: 2px 22px 18px;
  transition: opacity 0.5s linear;
}
#trapMock.trap-fade .trap { opacity: 0; }

.trap__bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.trap__timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(126, 171, 245, 0.15);
  padding: 4px 10px;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--ink-70);
}
.trap__timer b {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.trap__cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trap__cv {
  position: relative;
  border: none;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  opacity: 0;
  transform: translateY(16px);
}
#trapMock.play .trap__cv { animation: trapCardIn 0.5s var(--ease) forwards; }
#trapMock.play .trap__cv--2 { animation-delay: 0.1s; }
@keyframes trapCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.trap__cvhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--ink-15);
}
.trap__avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.trap__college {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 4px 2px 0;
}
.trap__college::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(126, 171, 245, 0.6) 35%, rgba(126, 171, 245, 0.6) 65%, transparent);
  transform: translateX(-101%);
  pointer-events: none;
}
#trapMock.play .trap__cv--1 .trap__college::before { animation: trapSweep 0.5s linear 0.6s forwards; }
#trapMock.play .trap__cv--2 .trap__college::before { animation: trapSweep 0.5s linear 1.8s forwards; }
@keyframes trapSweep {
  from { transform: translateX(-101%); }
  to { transform: translateX(101%); }
}
.trap__clabel {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.trap__cname {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.trap__cname::after {
  content: "";
  position: absolute;
  inset: 0 -3px;
  background: var(--neg);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
}
#trapMock.play .trap__cv--1 .trap__cname::after { animation: trapRedact 0.35s var(--ease) 4.4s forwards; }
#trapMock.play .trap__cv--2 .trap__cname::after { animation: trapRedact 0.35s var(--ease) 4.55s forwards; }
@keyframes trapRedact {
  to { transform: scaleX(1); }
}

.trap__srows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#trapMock.play .trap__srows { animation: trapRowsPhase 2.8s linear 2.5s forwards; }
@keyframes trapRowsPhase {
  0% { opacity: 1; }
  11% { opacity: 0.3; }
  89% { opacity: 0.3; }
  100% { opacity: 1; }
}
.trap__srow {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  background: var(--paper);
  padding: 5px 8px;
  min-height: 26px;
}
.trap__slabel {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  width: 58px;
  flex-shrink: 0;
}
.trap__sval {
  font-size: 0.62rem;
  color: var(--ink-70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trap__tick {
  margin-left: auto;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.3);
}
#trapMock.play .trap__tick { animation: tickPop 0.35s var(--ease) forwards; }
#trapMock.play .trap__cv--1 .trap__srow:nth-child(1) .trap__tick { animation-delay: 5s; }
#trapMock.play .trap__cv--2 .trap__srow:nth-child(1) .trap__tick { animation-delay: 5.15s; }
#trapMock.play .trap__cv--1 .trap__srow:nth-child(2) .trap__tick { animation-delay: 5.3s; }
#trapMock.play .trap__cv--2 .trap__srow:nth-child(2) .trap__tick { animation-delay: 5.45s; }
#trapMock.play .trap__cv--1 .trap__srow:nth-child(3) .trap__tick { animation-delay: 5.6s; }
#trapMock.play .trap__cv--2 .trap__srow:nth-child(3) .trap__tick { animation-delay: 5.75s; }

.trap__stampwrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.trap__stamp {
  grid-area: 1 / 1;
  border: 2px solid var(--green);
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: rotate(-6deg) scale(0);
}
.trap__stamp--rej {
  border-color: var(--neg);
  color: var(--neg);
}
#trapMock.play .trap__stamp--short { animation: trapStamp 0.5s var(--ease) 1.3s forwards; }
#trapMock.play .trap__stamp--rej { animation: trapStamp 0.5s var(--ease) 2.5s forwards, trapFadeOut 0.4s linear 6s forwards; }
#trapMock.play .trap__stamp--ver { animation: trapStamp 0.5s var(--ease) 6s forwards; }
@keyframes trapStamp {
  0% { opacity: 0; transform: rotate(-6deg) scale(2.2); }
  60% { opacity: 1; transform: rotate(-6deg) scale(0.9); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
@keyframes trapFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.trap__overlay {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
#trapMock.play .trap__overlay { animation: trapOverlay 2.9s linear 2.5s forwards; }
@keyframes trapOverlay {
  0% { opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { opacity: 0; }
}

.trap__caption {
  position: relative;
  height: 30px;
  margin-top: 12px;
}
.trap__cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-70);
  opacity: 0;
}
.trap__cap--1 { opacity: 1; }
.trap__cap--3 { color: var(--green-dark); }
.trap__cap--rm { display: none; }
#trapMock.play .trap__cap--1 { animation: trapFadeOut 0.4s linear 3.6s forwards; }
#trapMock.play .trap__cap--2 { animation: trapCapIn 0.4s linear 3.6s forwards, trapFadeOut 0.4s linear 6s forwards; }
#trapMock.play .trap__cap--3 { animation: trapCapIn 0.4s linear 6s forwards; }
@keyframes trapCapIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .trap__slabel { width: 50px; font-size: 0.5rem; }
  .trap__sval { font-size: 0.56rem; }
}

@media (max-width: 880px) {
  .trap__cards { grid-template-columns: 1fr; }
  .trap__slabel { width: 58px; font-size: 0.52rem; }
  .trap__sval { font-size: 0.62rem; }
  .trap__overlay { top: 50%; }
}

@media (max-width: 640px) {
  .trap { padding: 0 18px 16px; }
  .trap__cards { min-height: 288px; }
}

@media (prefers-reduced-motion: reduce) {
  #trapMock .trap { transition: none; }
  #trapMock .trap__cv { animation: none !important; opacity: 1; transform: none; }
  #trapMock .trap__college::before { animation: none !important; }
  #trapMock .trap__cname::after { animation: none !important; transform: scaleX(1); }
  #trapMock .trap__srows { animation: none !important; opacity: 1; }
  #trapMock .trap__tick { animation: none !important; opacity: 1; transform: scale(1); }
  #trapMock .trap__overlay { animation: none !important; opacity: 0; }
  #trapMock .trap__stamp { animation: none !important; }
  #trapMock .trap__stamp--short,
  #trapMock .trap__stamp--ver { opacity: 1; transform: rotate(-6deg) scale(1); }
  #trapMock .trap__stamp--rej { opacity: 0; }
  #trapMock .trap__cap { animation: none !important; opacity: 0; }
  #trapMock .trap__cap--rm { display: flex; opacity: 1; }
}

/* ---------------- Exhibit B: six week-stamps (.btl) ---------------- */
.case--btl .btl__mock {
  margin: 0 22px 20px;
  border: none;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(15, 42, 92, 0.05);
  transition: opacity 0.35s linear;
  overflow: hidden;
}
.case--btl.btl--out .btl__mock { opacity: 0; }

.case--btl .btl__log {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 4px 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-15);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-70);
}
.case--btl .btl__log b { color: var(--neg); font-weight: 700; }

.case--btl .btl__gridwrap { position: relative; padding: 12px; }

.case--btl .btl__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.case--btl .btl__cell {
  display: flex; flex-direction: column; gap: 5px;
  min-height: 96px;
  padding: 10px 10px;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scaleY(0.9);
  transform-origin: top center;
}
.case--btl .btl__cell:nth-child(odd) { --btl-r: -3deg; }
.case--btl .btl__cell:nth-child(even) { --btl-r: 2deg; }

.case--btl .btl__wk {
  font-family: var(--font-mono);
  font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-45);
}

.case--btl .btl__round {
  align-self: flex-start;
  border: none;
  border-radius: 6px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--blue);
  padding: 3px 8px;
  font-weight: 800; font-size: 0.6rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.3;
  opacity: 0;
}

.case--btl .btl__note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.5rem; letter-spacing: 0.06em;
  color: var(--ink-45);
}

/* border draw-in (80ms stagger) + progressive dim of earlier cells */
.case--btl.play .btl__cell:nth-child(1) { animation: btlCellIn 0.35s var(--ease) 0.8s both, btlDim 0.5s linear 2.06s forwards; }
.case--btl.play .btl__cell:nth-child(2) { animation: btlCellIn 0.35s var(--ease) 0.88s both, btlDim 0.5s linear 2.44s forwards; }
.case--btl.play .btl__cell:nth-child(3) { animation: btlCellIn 0.35s var(--ease) 0.96s both, btlDim 0.5s linear 2.82s forwards; }
.case--btl.play .btl__cell:nth-child(4) { animation: btlCellIn 0.35s var(--ease) 1.04s both, btlDim 0.5s linear 3.2s forwards; }
.case--btl.play .btl__cell:nth-child(5) { animation: btlCellIn 0.35s var(--ease) 1.12s both; }
.case--btl.play .btl__cell:nth-child(6) { animation: btlCellIn 0.35s var(--ease) 1.2s both; }

/* round-label stamps, ~380ms apart */
.case--btl.play .btl__cell:nth-child(1) .btl__round { animation: btlStamp 0.15s var(--ease) 1.3s both; }
.case--btl.play .btl__cell:nth-child(2) .btl__round { animation: btlStamp 0.15s var(--ease) 1.68s both; }
.case--btl.play .btl__cell:nth-child(3) .btl__round { animation: btlStamp 0.15s var(--ease) 2.06s both; }
.case--btl.play .btl__cell:nth-child(4) .btl__round { animation: btlStamp 0.15s var(--ease) 2.44s both; }
.case--btl.play .btl__cell:nth-child(5) .btl__round { animation: btlStamp 0.15s var(--ease) 2.82s both; }
.case--btl.play .btl__cell:nth-child(6) .btl__round { animation: btlStamp 0.15s var(--ease) 3.2s both; }

/* red diagonal verdict stamp */
.case--btl .btl__verdict {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.case--btl .btl__verdict span {
  --btl-vr: -5deg;
  max-width: calc(100% - 28px);
  border: 2px solid var(--neg);
  color: var(--neg);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.35; text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
}
.case--btl.play .btl__verdict span { animation: btlVerdict 0.45s var(--ease) 3.7s both; }

/* green resolution strip */
.case--btl .btl__strip {
  margin: 0 12px 12px;
  border: none;
  border-radius: 12px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}
.case--btl.play .btl__strip { animation: btlWipe 0.45s var(--ease) 4.6s both; }

.case--btl .btl__stripin {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  opacity: 0;
}
.case--btl.play .btl__stripin { animation: btlFade 0.3s linear 4.95s both; }

.case--btl .btl__striptext {
  font-family: var(--font-mono);
  font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
}

.case--btl .btl__seal {
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
  background: #fff;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: rotate(-8deg) scale(0);
}
.case--btl.play .btl__seal { animation: stampHit 0.4s var(--ease) 5.15s both; }

@keyframes btlCellIn {
  from { opacity: 0; transform: scaleY(0.9); }
  to { opacity: 1; transform: scaleY(1); }
}
@keyframes btlDim {
  to { opacity: 0.7; }
}
@keyframes btlStamp {
  0% { opacity: 0; transform: rotate(var(--btl-r, -3deg)) scale(1.5); }
  100% { opacity: 1; transform: rotate(var(--btl-r, -3deg)) scale(1); }
}
@keyframes btlVerdict {
  0% { opacity: 0; transform: rotate(var(--btl-vr, -5deg)) scale(1.7); }
  60% { opacity: 1; transform: rotate(var(--btl-vr, -5deg)) scale(0.94); }
  100% { opacity: 1; transform: rotate(var(--btl-vr, -5deg)) scale(1); }
}
@keyframes btlWipe {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes btlFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 560px) {
  .case--btl .btl__mock { margin: 0 16px 18px; }
  .case--btl .btl__grid { grid-template-columns: repeat(2, 1fr); }
  .case--btl .btl__cell { min-height: 88px; }
  .case--btl .btl__verdict { position: static; display: block; padding: 10px 0 0; }
  .case--btl .btl__verdict span {
    --btl-vr: 0deg;
    display: block; max-width: none;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case--btl .btl__mock { transition: none; }
  .case--btl .btl__cell { animation: none !important; opacity: 1 !important; transform: none !important; }
  .case--btl .btl__round { animation: none !important; opacity: 1 !important; transform: rotate(var(--btl-r, -3deg)) !important; }
  .case--btl .btl__verdict span { animation: none !important; opacity: 1 !important; transform: rotate(var(--btl-vr, -5deg)) !important; }
  .case--btl .btl__strip { animation: none !important; transform: scaleX(1) !important; }
  .case--btl .btl__stripin { animation: none !important; opacity: 1 !important; }
  .case--btl .btl__seal { animation: none !important; opacity: 1 !important; transform: rotate(-8deg) !important; }
}

/* ---------------- Recruiter note mockup: stopwatch form (.rp) ---------------- */
.rp {
  width: 100%;
  max-width: 340px;
  min-height: 236px;
  margin-top: 16px;
  border: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rp__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: none;
  background: var(--blue);
}
.rp__brand {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white-85);
}
.rp__watch {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  background: var(--sky);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--ink);
}
.rp--filed .rp__watch { background: var(--green); color: #fff; }

.rp__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 12px 26px;
}
.rp__field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 21px;
}
.rp__label {
  flex: 0 0 64px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-45);
}

.rp__slot {
  flex: 1;
  min-height: 17px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--ink-15);
}
.rp__type {
  display: inline-block;
  min-height: 14px;
  vertical-align: top;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink);
}
.rp__type.is-typing {
  border-right: 2px solid var(--blue);
  animation: rpCaret 0.8s steps(1) infinite;
}
@keyframes rpCaret {
  50% { border-right-color: transparent; }
}

.rp__lvl {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  border: none;
  background: rgba(26, 86, 219, 0.1);
  border-radius: 6px;
  padding: 2px 8px;
  transform: rotate(-8deg) scale(0);
  opacity: 0;
}
.rp.play .rp__lvl { animation: stampHit 0.4s var(--ease) 1.5s forwards; }

.rp__jd {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.rp__clip {
  flex: 0 0 auto;
  color: var(--ink-70);
  opacity: 0;
  transform: rotate(-30deg);
}
.rp.play .rp__clip { animation: rpClipIn 0.45s var(--ease) 2s forwards; }
.rp__jdname {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-70);
  border-bottom: 1.5px dashed var(--ink-45);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
}
.rp.play .rp__jdname { animation: rpFadeIn 0.4s var(--ease) 2s forwards; }
@keyframes rpClipIn {
  to { opacity: 1; transform: rotate(0deg); }
}
@keyframes rpFadeIn {
  to { opacity: 1; }
}

.rp__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.rp__chip {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(126, 171, 245, 0.15);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: none;
  padding: 2px 8px;
  opacity: 0;
  transform: scale(0.6);
}
.rp.play .rp__chip--1 { animation: rpChipPop 0.35s var(--ease) 2.6s forwards; }
.rp.play .rp__chip--2 { animation: rpChipPop 0.35s var(--ease) 2.75s forwards; }
.rp.play .rp__chip--3 { animation: rpChipPop 0.35s var(--ease) 2.9s forwards; }
@keyframes rpChipPop {
  0% { opacity: 0; transform: scale(0.6); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.rp__stamp {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border: 2px solid var(--green);
  border-radius: 10px;
  color: var(--green-dark);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
  transform: rotate(-6deg) scale(0);
  opacity: 0;
}
.rp.play .rp__stamp { animation: rpStampHit 0.45s var(--ease) 3.4s forwards; }
@keyframes rpStampHit {
  0% { transform: rotate(-6deg) scale(2.2); opacity: 0; }
  60% { transform: rotate(-6deg) scale(0.92); opacity: 1; }
  100% { transform: rotate(-6deg) scale(1); opacity: 1; }
}

.rp p.rp__status {
  min-height: 23px;
  margin: 0;
  padding: 6px 12px 0;
  border-top: 1.5px dashed var(--ink-15);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  white-space: nowrap;
  overflow: hidden;
}
.rp p.rp__foot {
  min-height: 22px;
  margin: 0;
  padding: 2px 12px 10px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  color: var(--ink-45);
  opacity: 0;
}
.rp.play .rp__foot { animation: rpFadeIn 0.5s var(--ease) 3.9s forwards; }

@media (max-width: 640px) {
  .rp { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rp .rp__lvl,
  .rp .rp__jdname,
  .rp .rp__chip,
  .rp .rp__foot {
    animation: none;
    opacity: 1;
  }
  .rp .rp__lvl { transform: rotate(-8deg) scale(1); }
  .rp .rp__chip { transform: none; }
  .rp .rp__clip {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .rp .rp__stamp {
    animation: none;
    opacity: 1;
    transform: rotate(-6deg) scale(1);
  }
  .rp .rp__watch { background: var(--green); }
  .rp .rp__type.is-typing {
    animation: none;
    border-right: none;
  }
}

/* ---------------- Recruiter note mockup: OMR sheet ---------------- */
.omr {
  margin-top: 16px;
  width: 100%;
  max-width: 340px;
}
.omr__sheet {
  border: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px) rotate(0.6deg);
  overflow: hidden;
}
.omr.play .omr__sheet {
  animation: omrDrop 0.35s var(--ease) forwards, omrSettle 0.25s var(--ease) 3.75s;
}
@keyframes omrDrop {
  from { opacity: 0; transform: translateY(-8px) rotate(0.6deg); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes omrSettle {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(2px); }
}

.omr__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-15);
  background: rgba(126, 171, 245, 0.08);
}
.omr__barcode {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg,
    var(--blue) 0 2px, transparent 2px 4px,
    var(--blue) 4px 7px, transparent 7px 9px,
    var(--blue) 9px 10px, transparent 10px 14px,
    var(--blue) 14px 16px, transparent 16px 19px);
  opacity: 0.55;
}
.omr .omr__form {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-45);
  white-space: nowrap;
}

.omr__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  min-height: 32px;
}
.omr__row + .omr__row { border-top: 1px dashed var(--ink-15); }
.omr__row-1 { --omrD: 0.3s; }
.omr__row-2 { --omrD: 1.2s; }
.omr__row-3 { --omrD: 2.3s; }
.omr__row-4 { --omrD: 3s; }

.omr .omr__label {
  flex: none;
  width: 96px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-70);
}

.omr__bubbles { display: flex; gap: 5px; flex: none; }
.omr__b {
  display: block;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--sky);
  border-radius: 50%;
  position: relative;
}
.omr__b::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
}
.omr.play .omr__b::after { animation: omrDot 0.12s var(--ease) forwards; }
.omr.play .omr__b:nth-child(1)::after { animation-delay: var(--omrD); }
.omr.play .omr__b:nth-child(2)::after { animation-delay: calc(var(--omrD) + 0.08s); }
.omr.play .omr__b:nth-child(3)::after { animation-delay: calc(var(--omrD) + 0.16s); }
.omr.play .omr__b:nth-child(4)::after { animation-delay: calc(var(--omrD) + 0.24s); }
.omr.play .omr__b:nth-child(5)::after { animation-delay: calc(var(--omrD) + 0.32s); }
@keyframes omrDot {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.omr .omr__chip {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-45);
  text-align: right;
  opacity: 0;
}
.omr.play .omr__chip {
  animation: omrChip 0.3s var(--ease) forwards;
  animation-delay: calc(var(--omrD) + 0.45s);
}
@keyframes omrChip {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}
.omr .omr__chip--flag {
  border: none;
  background: rgba(91, 143, 217, 0.15);
  color: var(--warn);
  border-radius: 6px;
  font-weight: 600;
  padding: 2px 6px;
  transform: scale(0.6);
}
.omr.play .omr__chip--flag {
  animation-name: omrFlag;
  animation-delay: calc(var(--omrD) + 0.5s);
}
@keyframes omrFlag {
  0% { opacity: 0; transform: scale(0.6); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.omr__perf {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-45) 0 6px, transparent 6px 12px);
  background-position: 0 0;
}
.omr.play .omr__perf { animation: omrPerf 0.2s linear 3.7s forwards; }
@keyframes omrPerf {
  from { background-position: 0 0; }
  to { background-position: 6px 0; }
}

.omr__stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  min-height: 42px;
  background: var(--paper);
}
.omr .omr__copy {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-45);
}
.omr__stamp {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--green-dark);
  border: 2px solid var(--green);
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: rotate(-8deg) scale(0);
}
.omr.play .omr__stamp { animation: stampHit 0.5s var(--ease) 3.7s forwards; }

@media (max-width: 880px) {
  .omr { max-width: none; }
}
@media (max-width: 640px) {
  .omr__b { width: 9px; height: 9px; }
  .omr__row { flex-wrap: wrap; row-gap: 3px; }
  .omr .omr__chip { flex-basis: 100%; margin-left: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .omr__sheet { animation: none !important; opacity: 1; transform: none; }
  .omr__b::after { animation: none !important; transform: scale(1); }
  .omr .omr__chip { animation: none !important; opacity: 1; transform: none; }
  .omr .omr__chip--flag { transform: scale(1); }
  .omr__perf { animation: none !important; }
  .omr__stamp { animation: none !important; opacity: 1; transform: rotate(-8deg) scale(1); }
}

/* ---------------- MOCKUP: campus coverage map (rnote 3) ---------------- */
.rmap {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  margin-top: 16px;
  border: none;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(126, 171, 245, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 45% at 70% 60%, rgba(26, 86, 219, 0.1), transparent 55%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rmap__field { position: absolute; inset: 0 0 38px 0; }

.rmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rmap__trail { stroke: var(--sky); opacity: 0.7; }
.rmap__trailmask { stroke-dashoffset: 1; }
.rmap.play .rmap__trailmask { animation: rmapDraw 2.7s linear 0.3s forwards; }
.rmap.play .rmap__trail { animation: rmapDim 0.4s linear 4.2s forwards, rmapOut 0.5s linear 8.8s forwards; }

.rmap__marker { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.rmap__marker::before {
  content: "";
  position: absolute; left: -6px; top: -6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.2);
}
.rmap.play .rmap__marker { animation: rmapTour 9.5s var(--ease) both; }

.rmap__pin {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-45);
  transform: translate(-50%, -50%);
}
.rmap__pin i {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  font-style: normal; font-weight: 800;
  font-size: 8px; line-height: 14px; text-align: center;
  box-shadow: 0 3px 8px rgba(34, 197, 94, 0.4);
  opacity: 0; transform: scale(0.3);
}
.rmap.play .rmap__pin i {
  animation:
    tickPop 0.35s var(--ease) calc(5s + var(--d, 0.5) * 1.4s) forwards,
    rmapOut 0.5s linear 8.8s forwards;
}

.rmap__tag {
  position: absolute; left: 10px; top: -8px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 2px 6px;
  background: #fff;
  border: none;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-45);
  opacity: 0;
}
.rmap__tag--l { left: auto; right: 10px; }
.rmap__tag--no { color: var(--neg); background: rgba(59, 91, 154, 0.12); }
.rmap__tag--yes { color: var(--green-dark); background: rgba(34, 197, 94, 0.12); }
.rmap.play .rmap__tag--toured {
  animation:
    tickPop 0.3s var(--ease) var(--td, 0.4s) forwards,
    rmapDim 0.4s linear 4.2s forwards,
    rmapOut 0.5s linear 8.8s forwards;
}
.rmap.play .rmap__tag--no { animation: rmapFlag 1s linear 2.6s both, rmapOut 0.3s linear 6s forwards; }
.rmap.play .rmap__tag--yes {
  animation:
    tickPop 0.35s var(--ease) calc(5s + var(--d, 0.5) * 1.4s) forwards,
    rmapOut 0.5s linear 8.8s forwards;
}

.rmap__node {
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--blue);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(26, 86, 219, 0.2), 0 4px 12px rgba(26, 86, 219, 0.35);
  opacity: 0;
}
.rmap.play .rmap__node { animation: stampHit 0.5s var(--ease) 4.2s forwards, rmapOut 0.5s linear 8.8s forwards; }

.rmap__ring {
  position: absolute; left: 50%; top: 50%;
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.rmap.play .rmap__ring--r1 { animation: rmapRing 1.2s ease-out 4.6s forwards; }
.rmap.play .rmap__ring--r2 { animation: rmapRing 1.2s ease-out 5.1s forwards; }
.rmap.play .rmap__ring--r3 { animation: rmapRing 1.2s ease-out 5.6s forwards; }

.rmap__x {
  position: absolute; left: 65%; top: 6%;
  color: var(--neg);
  font-weight: 900; font-size: 0.85rem; line-height: 1;
  opacity: 0;
}
.rmap.play .rmap__x {
  animation: rmapXIn 0.4s var(--ease) 4.2s forwards, rmapOut 0.5s linear 8.8s forwards;
}
@keyframes rmapXIn {
  0% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 1; transform: scale(1); }
}

.rmap__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 38px;
  border-top: 1px solid var(--ink-15);
  background: rgba(247, 246, 243, 0.95);
}
.rmap__cap span {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 10px;
  font-size: 0.66rem; line-height: 1.25; letter-spacing: 0.06em;
  color: var(--ink-70);
}
.rmap__capB { opacity: 0; color: var(--neg); }
.rmap__capC { opacity: 0; color: var(--green-dark); font-weight: 600; }
.rmap.play .rmap__capA { animation: rmapCapA 9.5s linear both; }
.rmap.play .rmap__capB { animation: rmapCapB 9.5s linear both; }
.rmap.play .rmap__capC { animation: rmapCapC 9.5s linear both; }

@keyframes rmapDraw { to { stroke-dashoffset: 0; } }
@keyframes rmapDim { to { opacity: 0.15; } }
@keyframes rmapOut { to { opacity: 0; } }
@keyframes rmapTour {
  0% { transform: translate(12%, 30%); opacity: 0; }
  3.2% { transform: translate(12%, 30%); opacity: 1; }
  12.6% { transform: translate(26%, 14%); opacity: 1; }
  22.1% { transform: translate(44%, 24%); opacity: 1; }
  31.6% { transform: translate(60%, 12%); opacity: 1; }
  44.2% { transform: translate(60%, 12%); opacity: 1; }
  49.5% { transform: translate(60%, 12%); opacity: 0.15; }
  92.6% { transform: translate(60%, 12%); opacity: 0.15; }
  97.9%, 100% { transform: translate(60%, 12%); opacity: 0; }
}
@keyframes rmapRing {
  0% { transform: scale(0.2); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes rmapFlag {
  0% { opacity: 0; }
  15% { opacity: 1; }
  35% { opacity: 0.1; }
  55% { opacity: 1; }
  75% { opacity: 0.1; }
  100% { opacity: 1; }
}
@keyframes rmapCapA {
  0%, 35.5% { opacity: 1; }
  36.2%, 100% { opacity: 0; }
}
@keyframes rmapCapB {
  0%, 35.5% { opacity: 0; }
  36.2%, 70.2% { opacity: 1; }
  70.9%, 100% { opacity: 0; }
}
@keyframes rmapCapC {
  0%, 70.2% { opacity: 0; }
  70.9%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rmap, .rmap * { animation: none !important; }
  .rmap .rmap__trailmask { stroke-dashoffset: 0; }
  .rmap .rmap__trail { opacity: 0.15; }
  .rmap .rmap__marker { display: none; }
  .rmap .rmap__pin i { opacity: 1; transform: scale(1); }
  .rmap .rmap__tag { opacity: 0; }
  .rmap .rmap__tag--yes { opacity: 1; }
  .rmap .rmap__node { opacity: 1; transform: rotate(-8deg); }
  .rmap .rmap__ring { display: none; }
  .rmap .rmap__ring--r1 { display: block; opacity: 0.3; transform: scale(1.6); }
  .rmap .rmap__x { opacity: 1; }
  .rmap .rmap__capA, .rmap .rmap__capB { opacity: 0; }
  .rmap .rmap__capC { opacity: 1; }
}

@media (max-width: 480px) {
  .rmap__tag { display: none; }
  .rmap__cap span { font-size: 0.62rem; }
}

/* ================================================================
   COMPARE LEDGER — "The Audit" (#ledgerAudit, augments .ledger)
   Reuses global keyframes: tickPop, stampHit
   ================================================================ */

/* header underline sweep (paints over the head row's ink border) */
#ledgerAudit .ledger__row--head { position: relative; }
#ledgerAudit .ledger__row--head::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
#ledgerAudit.play .ledger__row--head::after { transform: scaleX(1); }

/* VERIFIED mini-stamp on the RIGHTCV header cell */
#ledgerAudit .ledger__hstamp {
  display: inline-block;
  margin-left: 10px;
  border: none;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-dark);
  font-family: var(--font-mono);
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  line-height: 1; padding: 4px 8px;
  vertical-align: middle;
  opacity: 0;
  transform: rotate(-8deg) scale(0.3);
}
#ledgerAudit.play .ledger__hstamp { animation: stampHit 0.45s var(--ease) 3.6s forwards; }

/* old-way text: semantic <s>, custom red redaction bar via ::after */
#ledgerAudit .ledger__old {
  text-decoration: none;
  position: relative;
  display: inline-block;
}
#ledgerAudit .ledger__old::after {
  content: "";
  position: absolute; left: -2px; right: -2px; top: 50%; height: 2px;
  margin-top: -1px;
  background: var(--neg);
  transform: scaleX(0) rotate(-0.8deg);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}
#ledgerAudit.play .ledger__old::after,
#ledgerAudit .ledger__row.row-play .ledger__old::after { transform: scaleX(1) rotate(-0.8deg); }

/* master timeline strike delays (rows are nth-child 2..6; head = 1) */
#ledgerAudit.play .ledger__row:nth-child(2) .ledger__old::after { transition-delay: 0.35s; }
#ledgerAudit.play .ledger__row:nth-child(3) .ledger__old::after { transition-delay: 0.95s; }
#ledgerAudit.play .ledger__row:nth-child(4) .ledger__old::after { transition-delay: 1.55s; }
#ledgerAudit.play .ledger__row:nth-child(5) .ledger__old::after { transition-delay: 2.15s; }
#ledgerAudit.play .ledger__row:nth-child(6) .ledger__old::after { transition-delay: 2.75s; }
/* per-row mobile trigger */
#ledgerAudit .ledger__row.row-play .ledger__old::after { transition-delay: 0.1s; }

/* green tally ticks in the RIGHTCV cells */
#ledgerAudit .ledger__row:not(.ledger__row--head) .ledger__us { padding-right: 52px; }
#ledgerAudit .ledger__tally {
  position: absolute; right: 14px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
  font-size: 0.72rem; font-weight: 800; line-height: 1;
  opacity: 0;
  transform: scale(0.3);
}
#ledgerAudit.play .ledger__tally,
#ledgerAudit .ledger__row.row-play .ledger__tally { animation: tickPop 0.35s var(--ease) forwards; }
#ledgerAudit.play .ledger__row:nth-child(2) .ledger__tally { animation-delay: 0.9s; }
#ledgerAudit.play .ledger__row:nth-child(3) .ledger__tally { animation-delay: 1.5s; }
#ledgerAudit.play .ledger__row:nth-child(4) .ledger__tally { animation-delay: 2.1s; }
#ledgerAudit.play .ledger__row:nth-child(5) .ledger__tally { animation-delay: 2.7s; }
#ledgerAudit.play .ledger__row:nth-child(6) .ledger__tally { animation-delay: 3.3s; }
#ledgerAudit .ledger__row.row-play .ledger__tally { animation-delay: 0.55s; }

/* WK1 → … WK6 → flicker gag (fixed width = zero layout shift) */
#ledgerAudit .ledger__wkflick {
  display: inline-block;
  width: 4em;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--neg);
}

/* INSTANT mini-stamp in the time-to-shortlist RIGHTCV cell */
#ledgerAudit .ledger__instant {
  display: inline-block;
  font-style: normal; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.78rem; line-height: 1.2;
  border: none;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-dark);
  padding: 3px 10px;
  opacity: 0;
  transform: rotate(-8deg) scale(0.3);
}
#ledgerAudit.play .ledger__instant { animation: stampHit 0.45s var(--ease) 1.31s forwards; }
#ledgerAudit .ledger__row.row-play .ledger__instant { animation: stampHit 0.45s var(--ease) 0.46s forwards; }

/* final tally row */
#ledgerAudit .ledger__row--tally {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 18px;
  padding: 16px 20px;
  border-top: 1px solid var(--ink-15);
  background: rgba(126, 171, 245, 0.08);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
#ledgerAudit.play .ledger__row--tally { transition-delay: 3.3s; }
#ledgerAudit.play .ledger__row--tally,
#ledgerAudit .ledger__row--tally.row-play { opacity: 1; transform: translateY(0); }

#ledgerAudit .ledger__verdict {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: none;
}
#ledgerAudit.play .ledger__verdict { box-shadow: var(--shadow-sm); transition: box-shadow 0.01s linear 3.5s; }
#ledgerAudit .ledger__row--tally.row-play .ledger__verdict { box-shadow: var(--shadow-sm); transition: box-shadow 0.01s linear 0.3s; }

#ledgerAudit .ledger__seal {
  display: inline-block;
  font-style: normal; font-weight: 800;
  font-size: 0.74rem; letter-spacing: 0.12em; line-height: 1.3;
  border: 2px solid var(--green);
  border-radius: 10px;
  color: var(--green-dark);
  background: rgba(255,255,255,0.9);
  padding: 5px 12px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: rotate(-8deg) scale(0.3);
}
#ledgerAudit.play .ledger__seal { animation: stampHit 0.5s var(--ease) 3.6s forwards; }
#ledgerAudit .ledger__row--tally.row-play .ledger__seal { animation: stampHit 0.5s var(--ease) 0.5s forwards; }

/* persistent hover: lift the RIGHTCV cell */
#ledgerAudit .ledger__row:not(.ledger__row--head):not(.ledger__row--tally) .ledger__us {
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
#ledgerAudit .ledger__row:not(.ledger__row--head):not(.ledger__row--tally):hover .ledger__us {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

@media (max-width: 640px) {
  #ledgerAudit .ledger__row--tally { padding: 12px 16px; }
  #ledgerAudit .ledger__verdict { font-size: 0.58rem; padding: 6px 10px; }
  #ledgerAudit .ledger__seal { font-size: 0.66rem; padding: 3px 9px; }
  #ledgerAudit .ledger__tally { right: 12px; }
  #ledgerAudit .ledger__row:not(.ledger__row--head) .ledger__us { padding-right: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  #ledgerAudit .ledger__row--head::after { transform: scaleX(1); transition: none; }
  #ledgerAudit .ledger__old::after { transform: scaleX(1) rotate(-0.8deg); transition: none; }
  #ledgerAudit .ledger__tally { opacity: 1; transform: scale(1); animation: none !important; }
  #ledgerAudit .ledger__hstamp,
  #ledgerAudit .ledger__instant,
  #ledgerAudit .ledger__seal { opacity: 1; transform: rotate(-8deg) scale(1); animation: none !important; }
  #ledgerAudit .ledger__row--tally { opacity: 1; transform: none; transition: none; }
  #ledgerAudit .ledger__verdict { box-shadow: var(--shadow-sm); transition: none; }
  #ledgerAudit .ledger__us { transition: none; }
}

/* ---------------- Beta: admit-one ticket ---------------- */
.ticket {
  --tkr: 0.5deg;
  position: relative;
  margin: 4px 0 24px;
  padding: 16px 18px 16px 32px;
  border: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px) rotate(var(--tkr));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.6s var(--ease);
}
.ticket--recruiter { --tkr: -0.4deg; }
.ticket.play { opacity: 1; transform: rotate(var(--tkr)); }

.ticket::before {
  content: "";
  position: absolute; left: -6px; top: 10px; bottom: 10px; width: 14px;
  background-image: radial-gradient(circle at 2px 9px, var(--paper) 5px, rgba(255, 255, 255, 0) 5.5px);
  background-size: 14px 18px;
  background-repeat: repeat-y;
  pointer-events: none;
}
.ticket::after {
  content: "";
  position: absolute; left: 16px; top: 8px; bottom: 8px; width: 0;
  border-left: 2px dashed var(--ink-15);
  pointer-events: none;
}

.ticket__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 6px 14px; flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-15);
}
.ticket__meta { color: var(--blue); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.1em; }
.ticket__title {
  font-family: var(--font-head); font-style: normal; font-weight: 800;
  font-size: 1.25rem; line-height: 1.1; color: var(--ink);
  letter-spacing: -0.02em;
}

.ticket__line {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 34px;
  padding: 6px 4px;
  border-bottom: 1px dashed var(--ink-15);
}
.ticket__line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--sky);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.ticket__line.is-focus::after { opacity: 0.22; animation: ticketPulse 1.6s ease-in-out infinite; }
@keyframes ticketPulse {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.1; }
}

.ticket__label {
  width: 125px; flex-shrink: 0;
  font-size: 0.6rem; font-weight: 600;
  color: var(--ink-45); letter-spacing: 0.1em;
}
.ticket__value {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  color: var(--ink); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticket__value:empty::before {
  content: ". . . . . . . . . . . . . . . . . . . . . . . .";
  color: var(--ink-45);
  letter-spacing: 0.08em;
}

.ticket__box {
  margin-left: auto; flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--ink-15);
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.ticket__line.is-valid .ticket__box { border-color: var(--green); }
.ticket__tick {
  font-style: normal;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-size: 0.62rem; font-weight: 800; line-height: 1;
  opacity: 0; transform: scale(0.3);
}
.ticket__line.is-valid .ticket__tick { animation: tickPop 0.35s var(--ease) forwards; }

.ticket__seat {
  padding: 10px 4px 0;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--ink-70);
}

.ticket__stampzone {
  position: relative;
  min-height: 64px;
  margin-top: 10px;
  padding: 8px;
  display: grid; place-items: center;
}
.ticket__dash {
  position: absolute; inset: 0;
  border: 2px dashed var(--ink-15);
  border-radius: 12px;
  pointer-events: none;
}
.ticket.is-armed .ticket__dash {
  border-color: var(--green-dark);
  animation: ticketBreathe 2s ease-in-out infinite;
}
.ticket.is-stamped .ticket__dash { animation: none; opacity: 0.3; }
@keyframes ticketBreathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.ticket__pending {
  color: var(--ink-45); font-weight: 600;
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-align: center;
  transition: opacity 0.2s;
}
.ticket.is-stamped .ticket__pending { opacity: 0; }
.ticket__stampwrap {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.ticket__stamp {
  border: 2px solid var(--green);
  border-radius: 12px;
  color: var(--green-dark);
  background: rgba(255,255,255,0.95);
  padding: 6px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: rotate(-8deg) scale(0);
}
.ticket__stamp b { display: block; font-weight: 900; font-size: 0.8rem; letter-spacing: 0.12em; line-height: 1.2; }
.ticket__stamp small { display: block; font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.16em; margin-top: 2px; }
.ticket.is-stamped .ticket__stamp { animation: stampHit 0.5s var(--ease) forwards; }

.ticket.is-wobble { animation: ticketWobble 0.5s var(--ease); }
@keyframes ticketWobble {
  0%, 100% { transform: rotate(var(--tkr, 0.5deg)); }
  35% { transform: rotate(calc(var(--tkr, 0.5deg) - 1deg)); }
  70% { transform: rotate(calc(var(--tkr, 0.5deg) + 0.8deg)); }
}

.ticket.is-tilt {
  transform: rotate(-2deg) translate(4px, 6px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1040px) {
  .ticket { max-width: 560px; padding: 12px 12px 12px 26px; }
}
@media (max-width: 640px) {
  .ticket { margin: 2px 0 20px; }
  .ticket__title { font-size: 1.15rem; }
  .ticket__label { width: 95px; font-size: 0.56rem; }
  .ticket__value { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticket, .ticket.play, .ticket.is-tilt {
    opacity: 1;
    transform: rotate(var(--tkr, 0.5deg));
    transition: none;
    box-shadow: var(--shadow-sm);
  }
  .ticket.is-wobble { animation: none; }
  .ticket__line.is-focus::after { animation: none; }
  .ticket__line.is-valid .ticket__tick { animation: none; opacity: 1; transform: scale(1); }
  .ticket.is-armed .ticket__dash { animation: none; opacity: 1; }
  .ticket.is-stamped .ticket__stamp { animation: none; opacity: 1; transform: rotate(-8deg) scale(1); }
}

/* ================================================================
   CASE SPINE + POLISH PACK  (#caseSpine · .spine · .inkpress)
   Append at the very END of styles.css so overrides win the cascade.
   ================================================================ */

/* ---------------- 1. Case spine (desktop >= 1100px) ---------------- */
.spine {
  position: fixed;
  left: 18px;
  top: 96px;
  bottom: 24px;
  width: 44px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
}

.spine__file {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0.7;
}

.spine__track {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.spine__rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: var(--ink-15);
}

.spine__clip {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  z-index: 1;
  transform: translateY(0);
  will-change: transform;
}

.spine__tab {
  position: relative;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: var(--paper);
  text-decoration: none;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-45);
  transition: color 0.2s;
}
.spine__tab:hover { color: var(--blue); }
.spine__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.spine__tab.is-hit { color: var(--ink); }

.spine__tab b {
  writing-mode: horizontal-tb;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: scale(0);
}
.spine__tab.is-hit b { animation: spinePunch 0.45s var(--ease) forwards; }
@keyframes spinePunch {
  0%   { opacity: 0; transform: rotate(-14deg) scale(2.2); }
  60%  { opacity: 1; transform: rotate(-10deg) scale(0.85); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}

.spine__eof {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.spine__eof b {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-45);
  transition: color 0.3s;
}
.spine.is-done .spine__eof b { color: var(--green-dark); }
.spine__eof span {
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  max-width: 58px;
  color: var(--green-dark);
  border: none;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  padding: 3px 6px;
  opacity: 0;
  transform: rotate(-8deg) scale(0);
}
/* reuses the GLOBAL stampHit keyframes */
.spine.is-done .spine__eof span { animation: stampHit 0.5s var(--ease) forwards; }

/* mobile fallback: green hairline under the sticky nav (<1100px) */
.spine-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  z-index: 5;
  pointer-events: none;
}
.spine-progress i {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
@media (min-width: 1100px) { .spine-progress { display: none; } }
@media (max-width: 1099px), (max-height: 620px) { .spine { display: none; } }

/* ---------------- 2. Stamped section indices (spec override of .reveal) ---------------- */
.sec__index.reveal {
  transition: none;
  opacity: 0;
  transform: scale(1.5) rotate(-4deg);
  transform-origin: center;
}
.sec__index.reveal.is-in { animation: spineStampIn 0.5s var(--ease) forwards; }
@keyframes spineStampIn {
  0%   { opacity: 0; transform: scale(1.5) rotate(-4deg); }
  55%  { opacity: 1; transform: scale(0.92) rotate(-1deg); }
  78%  { opacity: 1; transform: scale(1.06) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(-1deg); }
}

/* ---------------- 3. Button ink-press ring ---------------- */
.inkpress {
  position: relative;
  overflow: hidden;
}
.inkpress::after {
  content: "";
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
}
.inkpress.is-pressing::after { animation: inkpressRing 0.35s ease-out forwards; }
@keyframes inkpressRing {
  0%   { opacity: 0.85; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* ---------------- 4. Polish pack (spec-mandated shared-selector items) ---------------- */
::selection { background: var(--sky); color: var(--ink); }
.sec--ink ::selection, .sec--ink::selection,
.sec--blue ::selection, .sec--blue::selection,
.finale ::selection, .finale::selection { background: var(--green); color: var(--ink); }

.ticker:hover .ticker__track { animation-play-state: paused; }

.fnum, .hero__proof b, .doc__score i, .gauge b { font-variant-numeric: tabular-nums; }

/* FAQ answer wrapper (added by JS): grid-rows 0fr -> 1fr open animation */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease);
}
.faq__answer > div { min-height: 0; overflow: hidden; }
.faq__answer.is-open { grid-template-rows: 1fr; }

/* nav links: drawn underline replaces text-decoration hover */
.nav__links a { position: relative; }
.nav__links a:hover { text-decoration: none; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after { transform: scaleX(1); }

/* easter egg watermark ("merit") */
.spine-watermark {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}
.spine-watermark span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 6.5rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--blue);
  border: 4px solid rgba(26, 86, 219, 0.25);
  border-radius: var(--radius-lg);
  padding: 12px 36px;
  opacity: 0;
  transform: rotate(-12deg);
  animation: spineWatermark 1.6s var(--ease) forwards;
}
@keyframes spineWatermark {
  0%   { opacity: 0; transform: rotate(-12deg) scale(1.5); }
  18%  { opacity: 0.1; transform: rotate(-12deg) scale(1); }
  70%  { opacity: 0.1; transform: rotate(-12deg) scale(1); }
  100% { opacity: 0; transform: rotate(-12deg) scale(1); }
}

/* ---------------- 5. Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  .spine__tab.is-hit b { animation-duration: 0.01s; animation-delay: 0s; }
  .spine.is-done .spine__eof span { animation-duration: 0.01s; animation-delay: 0s; }
  .sec__index.reveal { opacity: 1; transform: none; transition: none; }
  .sec__index.reveal.is-in { animation: none; }
  .inkpress::after { content: none; }
  .faq__answer { transition: none; }
  .nav__links a::after { transition: none; }
  .spine-watermark span { animation: spineWatermarkStatic 1.2s linear forwards; }
}
@keyframes spineWatermarkStatic {
  0%   { opacity: 0.05; }
  92%  { opacity: 0.05; }
  100% { opacity: 0; }
}

/* ================================================================
   Subpages — students.html / recruiters.html
   ================================================================ */

.subpage .spine { display: none; }

.page-hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid rgba(15, 42, 92, 0.06);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 171, 245, 0.35), transparent 68%);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.page-hero__sub {
  font-size: 1.12rem;
  color: var(--ink-70);
  max-width: 54ch;
  margin: 20px 0 28px;
}
.page-hero__aside { position: sticky; top: 96px; }
.aside-card {
  border: none;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 28px;
}
.aside-card .mono {
  color: var(--blue);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.aside-card b {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.aside-card > p {
  color: var(--ink-70);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.detail-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.detail-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 24px;
  padding: 28px 32px;
  border-bottom: 1.5px solid var(--ink-15);
}
.detail-step:last-child { border-bottom: none; }
.detail-step__num {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  padding-top: 4px;
}
.detail-step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.detail-step p {
  color: var(--ink-70);
  font-size: 0.98rem;
  max-width: 62ch;
}
.detail-steps--light {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  box-shadow: 0 12px 32px rgba(15, 42, 92, 0.15);
  backdrop-filter: blur(8px);
}
.detail-steps--light .detail-step { border-bottom-color: var(--white-15); }
.detail-steps--light .detail-step__num { color: var(--sky); }
.detail-steps--light h3 { color: #fff; }
.detail-steps--light p { color: var(--white-55); }
.detail-steps--light p b { color: var(--green); font-weight: 700; }

.score-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(15, 42, 92, 0.18);
}
.score-split__col .mono {
  display: block;
  margin-bottom: 12px;
  color: var(--white-55);
}
.score-split__col--rcv .mono { color: var(--green); }
.score-split__col h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.score-split__col p { color: var(--white-55); font-size: 0.95rem; }
.score-split__neq {
  font-family: var(--font-head);
  font-style: normal;
  font-size: 3rem;
  color: var(--sky);
  font-weight: 800;
}

.page-punch {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.page-note {
  margin-top: 24px;
  color: var(--white-55);
  font-size: 0.7rem !important;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-grid--4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  border: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.info-card .mono {
  color: var(--blue);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.info-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.info-card p { color: var(--ink-70); font-size: 0.92rem; }

.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--blue); }

.section-more {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.scorecomp .section-more {
  grid-column: 1 / -1;
  margin-top: 8px;
}

@media (max-width: 1040px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__aside { position: static; }
  .score-split { grid-template-columns: 1fr; }
  .score-split__neq { text-align: center; }
  .info-grid, .info-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 48px 0 56px; }
  .detail-step { grid-template-columns: 56px 1fr; padding: 22px 18px; }
  .info-grid, .info-grid--4 { grid-template-columns: 1fr; }
  .aside-card { padding: 22px; }
}

/* ================================================================
   ILLUSTRATIVE SYSTEM  — hand-drawn energy, abstract web, palette-only
   Reusable primitives: grain, blobs, sparkles, dots, squiggles + motion
   ================================================================ */

/* --- Grain / paper texture overlay (very subtle) --- */
.ill-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* --- Abstract floating decor layer --- */
.ill-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ill-blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  filter: blur(2px);
  opacity: 0.9;
  will-change: transform;
}
.ill-blob--sky   { background: var(--sky); }
.ill-blob--green { background: var(--green); }
.ill-blob--blue  { background: var(--blue); }
.ill-blob--paper { background: #fff; }

.ill-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(26, 86, 219, 0.35);
}
.ill-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
}
.ill-dot--sky { background: var(--sky); }
.ill-dot--blue { background: var(--blue); }

/* Hand-drawn 4-point sparkle */
.ill-spark {
  position: absolute;
  width: 26px; height: 26px;
  color: var(--green);
  transform-origin: center;
  animation: twinkle 3.2s var(--ease) infinite;
}
.ill-spark svg { width: 100%; height: 100%; display: block; }
.ill-spark--sky { color: var(--sky); }
.ill-spark--blue { color: var(--blue); }
.ill-spark--d1 { animation-delay: 0.4s; }
.ill-spark--d2 { animation-delay: 1.1s; }
.ill-spark--d3 { animation-delay: 1.8s; }

/* Motion primitives */
@keyframes bobFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}
@keyframes bobFloatSm {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate(var(--dx, 6px), -12px) rotate(var(--r, 0deg)); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}
@keyframes blobMorph {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%; }
  33% { transform: translate(14px,-18px) rotate(8deg) scale(1.06); border-radius: 58% 42% 44% 56% / 46% 58% 42% 54%; }
  66% { transform: translate(-12px,10px) rotate(-6deg) scale(0.96); border-radius: 40% 60% 56% 44% / 60% 40% 60% 40%; }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
@keyframes floatOrbit {
  0%   { transform: rotate(0deg) translateX(var(--orbit, 60px)) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(var(--orbit, 60px)) rotate(-360deg); }
}

/* ================================================================
   GATE — illustrated two-world scene (index.html)
   ================================================================ */
.gate-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 70% 50% at 12% 0%, rgba(126, 171, 245, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 92% 8%, rgba(26, 86, 219, 0.16), transparent 52%),
    radial-gradient(ellipse 60% 40% at 50% 108%, rgba(34, 197, 94, 0.14), transparent 55%),
    var(--paper);
}

.gate-nav {
  display: flex;
  justify-content: center;
  padding: 30px 20px 0;
  position: relative;
  z-index: 3;
}

.gate {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  padding: 32px 0 72px;
  z-index: 2;
}
.gate__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1120px;
}

.gate__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.gate__eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.gate h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 18px;
  position: relative;
}
.gate h1 em {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
/* hand-drawn underline under the two emphasis words */
.gate h1 em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -0.12em;
  height: 0.42em;
  background: no-repeat center/100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M2 11 C 30 4, 70 4, 118 9' stroke='%2322C55E' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.gate h1.is-in em::after { opacity: 1; transform: scaleX(1); }
.gate h1 em:nth-of-type(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M2 9 C 34 15, 74 15, 118 8' stroke='%237EABF5' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  transition-delay: 0.15s;
}

.gate__sub {
  font-size: 1.14rem;
  color: var(--ink-70);
  max-width: 46ch;
  margin: 0 auto 44px;
}

/* --- Two worlds layout --- */
.worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  align-items: stretch;
}

.world {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 22px 50px rgba(15, 42, 92, 0.12), 0 6px 14px rgba(15, 42, 92, 0.05);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.world::before { /* soft color wash top */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 62%;
  z-index: -1;
  transition: opacity 0.4s;
}
.world--student::before {
  background: radial-gradient(ellipse 90% 80% at 30% 10%, rgba(34,197,94,0.18), transparent 60%),
              radial-gradient(ellipse 80% 70% at 80% 0%, rgba(126,171,245,0.28), transparent 60%);
}
.world--hire::before {
  background: radial-gradient(ellipse 90% 80% at 70% 10%, rgba(26,86,219,0.2), transparent 60%),
              radial-gradient(ellipse 80% 70% at 20% 0%, rgba(126,171,245,0.28), transparent 60%);
}
.world:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 70px rgba(26, 86, 219, 0.22), 0 10px 20px rgba(15, 42, 92, 0.08);
}

/* the illustrated scene */
.world__scene {
  position: relative;
  height: 260px;
  margin-bottom: 20px;
}
.world__scene svg { display: block; overflow: visible; }
.scene-char {
  position: absolute;
  left: 50%; top: 50%;
  width: 210px;
  transform: translate(-50%, -50%);
  transform-origin: center bottom;
  animation: bobFloat 5.5s var(--ease) infinite;
}
.world--hire .scene-char { animation-duration: 6.2s; animation-delay: 0.3s; }

/* floating tokens around the character */
.scene-token {
  position: absolute;
  animation: bobFloatSm 4.5s var(--ease) infinite;
  filter: drop-shadow(0 8px 14px rgba(15,42,92,0.14));
}
.scene-token--1 { top: 6%;  left: 4%;  --dx: 5px;  animation-duration: 5s; }
.scene-token--2 { top: 12%; right: 2%; --dx: -6px; animation-duration: 4.4s; animation-delay: .6s; }
.scene-token--3 { bottom: 8%; left: 0%; --dx: 7px;  animation-duration: 5.6s; animation-delay: 1s; }
.scene-token--4 { bottom: 14%; right: 4%; --dx: -5px; animation-duration: 4.8s; animation-delay: .3s; }
.world:hover .scene-token--1 { transform: translate(-8px,-8px); }
.world:hover .scene-token--2 { transform: translate(8px,-8px); }

.world__label { text-align: left; }
.world__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.world--student .world__kicker { background: var(--green); }
.world--hire .world__kicker { background: var(--blue); }
.world__title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.world__desc {
  font-size: 0.96rem;
  color: var(--ink-70);
  line-height: 1.5;
  margin-bottom: 16px;
}
.world__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  color: #fff;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.world--student .world__cta { background: var(--green); box-shadow: 0 8px 20px rgba(34,197,94,0.32); }
.world--hire .world__cta { background: var(--blue); box-shadow: 0 8px 20px rgba(26,86,219,0.32); }
.world__cta i { font-style: normal; transition: transform 0.25s var(--ease); }
.world:hover .world__cta { transform: translateY(-2px); }
.world:hover .world__cta i { transform: translateX(5px); }
.world:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }

/* --- Bridge between worlds --- */
.bridge {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: 132px; height: 132px;
  z-index: 5;
  pointer-events: none;
}
.bridge__emblem {
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(26,86,219,0.28);
  animation: bobFloat 4s var(--ease) infinite;
}
.bridge__emblem svg { width: 34px; height: 34px; }
.bridge__ring {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(26,86,219,0.4);
  animation: spinSlow 18s linear infinite;
}
.bridge__arc { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); overflow: visible; }
.bridge__path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
}

.gate__continue {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  margin: 34px auto 0;
  font-size: 0.92rem;
}
.gate__continue[hidden] { display: none !important; }
.gate__continue a { color: var(--blue); font-weight: 800; text-decoration: none; }
.gate__continue a:hover { text-decoration: underline; }
.gate__reset {
  background: none; border: none; color: var(--ink-45);
  font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.gate__reset:hover { color: var(--ink); }

.gate-footer {
  text-align: center; padding: 22px;
  color: var(--ink-45); font-size: 0.75rem;
  position: relative; z-index: 2;
}
.gate-footer a { color: var(--blue); text-decoration: none; }

/* switch-path pill used on subpage navs */
.nav__switch {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--ink-45) !important;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: rgba(15, 42, 92, 0.05);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__switch::before { content: "⇄"; font-weight: 800; }
.nav__switch:hover { color: var(--blue) !important; background: rgba(26, 86, 219, 0.1); }

/* ================================================================
   Shared: How we connect (illustrated)
   ================================================================ */
.connect { position: relative; }
.connect__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}
.connect__node {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
}
.connect__node::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 90px; height: 90px;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: rgba(126,171,245,0.16);
}
.connect__ico {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 18px;
  color: #fff;
  position: relative; z-index: 1;
}
.connect__node:nth-child(1) .connect__ico { background: linear-gradient(135deg, var(--green), #14b8a6); }
.connect__node:nth-child(3) .connect__ico { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.connect__node:nth-child(5) .connect__ico { background: linear-gradient(135deg, var(--sky), var(--blue)); }
.connect__ico svg { width: 28px; height: 28px; }
.connect__node .mono { display: block; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.connect__node h3 { font-size: 1.1rem; margin-bottom: 8px; }
.connect__node p { font-size: 0.9rem; color: var(--ink-70); line-height: 1.45; }
.connect__arrow {
  display: grid; place-items: center;
  align-self: center;
  color: var(--sky);
}
.connect__arrow svg { width: 40px; height: 24px; }
.connect__arrow path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.connect__flow.is-in .connect__arrow path { animation: drawIn 0.8s var(--ease) forwards; }
.connect__flow.is-in .connect__arrow--2 path { animation-delay: 0.3s; }

.sec--ink .connect__node { background: rgba(255,255,255,0.08); box-shadow: none; border: 1px solid rgba(255,255,255,0.12); }
.sec--ink .connect__node .mono { color: var(--sky); }
.sec--ink .connect__node h3 { color: #fff; }
.sec--ink .connect__node p { color: var(--white-85); }
.sec--ink .connect__arrow { color: var(--green); }
.sec--paper .connect__node { box-shadow: var(--shadow-neo); }

/* ================================================================
   Illustrated hero scene on subpages (reuses .scene-char / tokens)
   ================================================================ */
.page-hero__aside .hero-illus {
  position: relative;
  margin-bottom: 10px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illus .scene-char {
  position: relative;
  left: auto; top: auto;
  transform: none;
  width: 246px;
  margin: 0 auto;
  animation: bobFloat 5.5s var(--ease) infinite;
}

@media (max-width: 980px) {
  .worlds { grid-template-columns: 1fr; gap: 34px; max-width: 460px; margin-inline: auto; }
  .bridge { display: none; }
  .connect__flow { grid-template-columns: 1fr; gap: 10px; }
  .connect__arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .world__scene { height: 220px; }
  .scene-char { width: 180px; }
  .hero-illus { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-char, .scene-token, .ill-blob, .ill-spark,
  .bridge__emblem, .bridge__ring { animation: none !important; }
  .world:hover { transform: none; }
  .connect__flow.is-in .connect__arrow path { animation: none; stroke-dashoffset: 0; }
}

/* ================================================================
   Creative illustrative refresh — inspired by Siteinspire's
   illustrative gallery: editorial characters, abstract web lines,
   floating product mockups, hand-drawn decorative motion.
   ================================================================ */

/* --- animated abstract web layer --- */
.abstract-web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0.72;
}
.abstract-web--gate { z-index: 0; opacity: 0.58; }
.abstract-web--hero { z-index: 0; opacity: 0.52; }
.web-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  stroke-dasharray: 9 13;
  animation: webDrift 18s linear infinite, webPulse 4.8s var(--ease) infinite;
}
.web-path--1 { stroke: rgba(26, 86, 219, 0.42); }
.web-path--2 { stroke: rgba(34, 197, 94, 0.36); animation-duration: 22s, 5.6s; animation-direction: reverse, normal; }
.web-path--3 { stroke: rgba(126, 171, 245, 0.52); animation-duration: 26s, 6s; }
.web-nodes circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 3;
  filter: drop-shadow(0 8px 14px rgba(26, 86, 219, 0.16));
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeBlink 3.2s var(--ease) infinite;
}
.web-nodes circle:nth-child(2n) { stroke: var(--green); animation-delay: 0.8s; }
.web-nodes circle:nth-child(3n) { stroke: var(--sky); animation-delay: 1.5s; }
@keyframes webDrift { to { stroke-dashoffset: -220; } }
@keyframes webPulse { 0%,100% { opacity: 0.48; } 50% { opacity: 1; } }
@keyframes nodeBlink { 0%,100% { transform: scale(0.82); } 50% { transform: scale(1.18); } }

/* --- index: stronger editorial entry and narrative chips --- */
.gate__story {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -18px auto 34px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.gate__story span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
}
.gate__story i {
  width: 26px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--sky), var(--green));
  position: relative;
  overflow: hidden;
}
.gate__story i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: storyPulse 2.2s var(--ease) infinite;
}
@keyframes storyPulse { to { transform: translateX(120%); } }

/* --- product mockups inside the two index worlds --- */
.world__scene { isolation: isolate; }
.world__scene::before {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  width: 250px; height: 250px;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: rgba(126, 171, 245, 0.15);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: blobMorph 14s var(--ease) infinite;
}
.world--student .world__scene::before { background: rgba(34, 197, 94, 0.13); }
.world--hire .world__scene::before { background: rgba(26, 86, 219, 0.13); }

.mini-product {
  position: absolute;
  z-index: 3;
  width: 166px;
  padding: 10px;
  border: 2px solid rgba(15, 42, 92, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(15, 42, 92, 0.16);
  backdrop-filter: blur(10px);
  color: var(--ink);
  overflow: hidden;
  animation: miniFloat 5.8s var(--ease) infinite;
}
.mini-product--student { right: 4%; bottom: 4%; transform: rotate(4deg); }
.mini-product--recruiter { left: 2%; bottom: 8%; transform: rotate(-4deg); animation-delay: 0.45s; }
.mini-product__bar {
  display: flex;
  gap: 4px;
  margin-bottom: 9px;
}
.mini-product__bar span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
}
.mini-product__bar span:nth-child(2) { background: var(--green); }
.mini-product__bar span:nth-child(3) { background: var(--blue); }
.mini-product__profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.mini-product__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: inset 0 -5px 0 rgba(15, 42, 92, 0.12);
}
.mini-product__profile b,
.mini-product--recruiter strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mini-product__profile small,
.mini-product--recruiter small {
  display: block;
  color: var(--ink-45);
  font-size: 0.56rem;
  line-height: 1.2;
}
.mini-product__meter {
  height: 9px;
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 8px;
}
.mini-product__meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  animation: miniMeter 3.2s var(--ease) infinite;
}
.mini-product__chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mini-product__chips span {
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-dark);
  font-size: 0.52rem;
  font-weight: 800;
}
.mini-product__score {
  position: absolute;
  right: 10px; top: 30px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.32);
}
.mini-product__scan {
  position: absolute;
  left: 0; right: 0; top: -20%;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(126, 171, 245, 0.42), transparent);
  animation: miniScan 3.8s linear infinite;
}
.mini-candidate {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 7px;
  align-items: center;
  margin-top: 7px;
}
.mini-candidate i {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sky);
}
.mini-candidate span {
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 42, 92, 0.1);
  overflow: hidden;
  position: relative;
}
.mini-candidate span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--cw, 82%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  animation: miniRank 3.4s var(--ease) infinite;
}
.mini-candidate--b span::after { --cw: 72%; animation-delay: 0.18s; }
.mini-candidate--c span::after { --cw: 64%; animation-delay: 0.32s; }
.mini-candidate b {
  color: var(--green-dark);
  font-size: 0.68rem;
}
@keyframes miniFloat {
  0%,100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 4px -12px; rotate: 1.5deg; }
}
@keyframes miniMeter { 0%, 10% { width: 0; } 55%, 100% { width: 88%; } }
@keyframes miniScan { 0% { top: -22%; opacity: 0; } 16%, 75% { opacity: 1; } 100% { top: 106%; opacity: 0; } }
@keyframes miniRank { 0%, 15% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }

/* --- subpage hero: richer illustrated mockup animation --- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0)),
    radial-gradient(ellipse 55% 50% at 85% 8%, rgba(126, 171, 245, 0.22), transparent 62%),
    radial-gradient(ellipse 48% 40% at 8% 92%, rgba(34, 197, 94, 0.1), transparent 62%);
}
.page-hero__aside .hero-illus {
  isolation: isolate;
  overflow: visible;
}
.page-hero__aside .hero-illus::before {
  content: "";
  position: absolute;
  inset: 16px 28px 8px;
  z-index: -1;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: linear-gradient(135deg, rgba(126, 171, 245, 0.2), rgba(34, 197, 94, 0.1));
  animation: blobMorph 16s var(--ease) infinite;
}
.subpage--recruiters .page-hero__aside .hero-illus::before {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.16), rgba(126, 171, 245, 0.18));
}
.hero-mock {
  position: absolute;
  z-index: 4;
  right: -10px;
  bottom: 8px;
  width: min(252px, 62%);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 52px rgba(15, 42, 92, 0.18);
  border: 2px solid rgba(15, 42, 92, 0.08);
  overflow: hidden;
  transform: rotate(3deg);
  animation: mockBob 6s var(--ease) infinite;
}
.hero-mock--recruiter {
  left: -8px;
  right: auto;
  transform: rotate(-3deg);
  animation-delay: 0.35s;
}
.hero-mock__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: var(--blue);
  color: #fff;
}
.hero-mock__chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
}
.hero-mock__chrome i:nth-child(2) { background: var(--green); }
.hero-mock__chrome i:nth-child(3) { background: #fff; opacity: 0.75; }
.hero-mock__chrome span {
  margin-left: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  opacity: 0.86;
}
.hero-mock__body { position: relative; padding: 12px; }
.hero-mock__beam {
  position: absolute;
  inset-inline: 0;
  top: -25%;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(126, 171, 245, 0.4), transparent);
  border-top: 2px solid rgba(126, 171, 245, 0.7);
  animation: mockBeam 4.2s linear infinite;
}
.passport-card {
  position: relative;
  padding: 13px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(15, 42, 92, 0.06);
}
.passport-card__seal {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.14);
  color: var(--green-dark);
  font-size: 0.52rem;
  font-weight: 900;
}
.passport-card__identity {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 11px;
  padding-right: 46px;
}
.passport-card__identity i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}
.passport-card__identity b,
.role-card b {
  display: block;
  font-size: 0.74rem;
  line-height: 1.1;
}
.passport-card__identity small,
.role-card small {
  display: block;
  color: var(--ink-45);
  font-size: 0.58rem;
}
.passport-card__score {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-bottom: 10px;
}
.passport-card__score strong {
  font-size: 2rem;
  letter-spacing: -0.06em;
  color: var(--green-dark);
  line-height: 0.9;
}
.passport-card__score span {
  color: var(--ink-45);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.passport-card__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.passport-card__rows span {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 42, 92, 0.08);
  overflow: hidden;
  position: relative;
}
.passport-card__rows span::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  animation: profileBars 3.8s var(--ease) infinite;
}
.passport-card__rows span:nth-child(2)::after { animation-delay: 0.12s; }
.passport-card__rows span:nth-child(3)::after { animation-delay: 0.24s; }
.verification-orbit {
  position: absolute;
  inset: -8px;
  pointer-events: none;
}
.verification-orbit span {
  position: absolute;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  font-size: 0.54rem;
  font-weight: 900;
  animation: orbitChip 5.5s var(--ease) infinite;
}
.verification-orbit span:nth-child(1) { left: -8px; top: 22px; }
.verification-orbit span:nth-child(2) { right: -10px; top: 58px; animation-delay: 0.25s; }
.verification-orbit span:nth-child(3) { left: 16px; bottom: -6px; animation-delay: 0.5s; }
.verification-orbit span:nth-child(4) { right: 12px; bottom: 10px; animation-delay: 0.75s; }
.role-card {
  position: relative;
  border-radius: 15px;
  padding: 12px;
  background: var(--paper);
  margin-bottom: 10px;
  overflow: hidden;
}
.role-card i {
  display: block;
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  animation: profileBars 3.6s var(--ease) infinite;
}
.shortlist-lane {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.short-card {
  position: relative;
  min-height: 70px;
  padding: 8px 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transform: translateY(14px);
  opacity: 0;
  animation: shortCardIn 3.8s var(--ease) infinite;
}
.short-card--2 { animation-delay: 0.18s; }
.short-card--3 { animation-delay: 0.36s; }
.short-card i {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}
.short-card b {
  display: block;
  color: var(--green-dark);
  font-size: 0.82rem;
}
.short-card em {
  position: absolute;
  right: 5px;
  top: 5px;
  font-style: normal;
  color: var(--blue);
  font-size: 0.52rem;
  font-weight: 900;
}
.rank-wave {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 26px;
  margin-top: 8px;
}
.rank-wave span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: rgba(126, 171, 245, 0.35);
  height: 20%;
  animation: waveBar 1.4s var(--ease) infinite;
}
.rank-wave span:nth-child(2) { animation-delay: 0.12s; }
.rank-wave span:nth-child(3) { animation-delay: 0.24s; }
.rank-wave span:nth-child(4) { animation-delay: 0.36s; }
@keyframes mockBob {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes mockBeam {
  0% { top: -28%; opacity: 0; }
  16%, 78% { opacity: 1; }
  100% { top: 108%; opacity: 0; }
}
@keyframes profileBars { 0%,12% { transform: scaleX(0); } 55%,100% { transform: scaleX(1); } }
@keyframes orbitChip {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes shortCardIn {
  0%, 12% { opacity: 0; transform: translateY(14px); }
  35%, 82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes waveBar {
  0%,100% { height: 28%; background: rgba(126, 171, 245, 0.35); }
  50% { height: 88%; background: var(--green); }
}

/* lift existing structural blocks toward a more illustration-gallery feel */
.detail-steps,
.info-card,
.ledger,
.beta__shell,
.connect__node,
.aside-card {
  border: 2px solid rgba(15, 42, 92, 0.06);
}
.detail-step {
  position: relative;
  overflow: hidden;
}
.detail-step::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translateY(-50%);
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: rgba(126, 171, 245, 0.08);
}
.detail-step:nth-child(even)::after { background: rgba(34, 197, 94, 0.08); }
.info-card {
  position: relative;
  overflow: hidden;
}
.info-card::after {
  content: "✦";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(26, 86, 219, 0.14);
  font-size: 2.2rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .gate__story { margin-top: -12px; max-width: 100%; overflow-x: auto; }
  .mini-product { width: 148px; }
  .hero-mock { width: min(240px, 66%); }
}
@media (max-width: 640px) {
  .gate__story { display: none; }
  .abstract-web--gate { opacity: 0.32; }
  .mini-product { width: 132px; padding: 8px; }
  .mini-product--student { right: -2%; bottom: 2%; }
  .mini-product--recruiter { left: -2%; bottom: 4%; }
  .mini-product__profile small,
  .mini-product--recruiter small { display: none; }
  .page-hero__aside .hero-illus { min-height: 350px; }
  .hero-mock { width: min(228px, 78%); right: 0; }
  .hero-mock--recruiter { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .web-path,
  .web-nodes circle,
  .gate__story i::after,
  .mini-product,
  .mini-product__meter i,
  .mini-product__scan,
  .mini-candidate span::after,
  .hero-mock,
  .hero-mock__beam,
  .passport-card__rows span::after,
  .verification-orbit span,
  .role-card i,
  .short-card,
  .rank-wave span,
  .world__scene::before,
  .page-hero__aside .hero-illus::before {
    animation: none !important;
  }
  .mini-product__meter i { width: 88%; }
  .mini-product__scan,
  .hero-mock__beam { display: none; }
  .mini-candidate span::after,
  .passport-card__rows span::after,
  .role-card i { transform: scaleX(1); }
  .short-card { opacity: 1; transform: none; }
}

/* ================================================================
   Story Lab — extra illustrative narrative section requested by user
   ================================================================ */
.story-lab {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    radial-gradient(ellipse 58% 68% at 82% 28%, rgba(126, 171, 245, 0.18), transparent 62%),
    radial-gradient(ellipse 42% 54% at 8% 80%, rgba(34, 197, 94, 0.1), transparent 62%),
    #fff;
}
.story-lab::before,
.story-lab::after {
  content: "";
  position: absolute;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  pointer-events: none;
}
.story-lab::before {
  width: 170px;
  height: 170px;
  left: -58px;
  top: 28px;
  background: rgba(126, 171, 245, 0.28);
  animation: blobMorph 18s var(--ease) infinite;
}
.story-lab::after {
  width: 126px;
  height: 126px;
  right: -36px;
  bottom: 34px;
  background: rgba(34, 197, 94, 0.2);
  animation: blobMorph 16s var(--ease) infinite reverse;
}
.story-lab--recruiter::after { background: rgba(26, 86, 219, 0.16); }
.story-lab__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 44px;
  align-items: center;
}
.story-lab__copy h2 {
  max-width: 11ch;
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}
.story-lab__copy p {
  max-width: 38ch;
  color: var(--ink-70);
  font-size: 1.04rem;
}
.story-board {
  min-height: 340px;
  position: relative;
  border-radius: 36px;
  border: 2px solid rgba(15, 42, 92, 0.06);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.96), rgba(255,255,255,0.78)),
    radial-gradient(circle at 18% 24%, rgba(34,197,94,0.18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(126,171,245,0.25), transparent 34%);
  box-shadow: 0 24px 60px rgba(15, 42, 92, 0.12);
  overflow: hidden;
  isolation: isolate;
}
.story-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 14% 28%, rgba(26,86,219,0.18) 0 2px, transparent 2.5px),
    radial-gradient(circle at 74% 68%, rgba(34,197,94,0.16) 0 2px, transparent 2.5px);
  background-size: 34px 34px;
}
.story-board__web {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.story-board__rail {
  fill: none;
  stroke: rgba(26, 86, 219, 0.28);
  stroke-width: 4;
  stroke-dasharray: 14 16;
  stroke-linecap: round;
  animation: webDrift 18s linear infinite;
}
.story-board--recruiter .story-board__rail { stroke: rgba(34, 197, 94, 0.3); }
.story-board__pulse {
  fill: var(--green);
  filter: drop-shadow(0 8px 14px rgba(34,197,94,0.32));
}
.story-board__pulse--1 { offset-path: path("M72 162 C190 58 300 250 418 142 S598 58 694 166"); animation: storyTravel 4.8s var(--ease) infinite; }
.story-board__pulse--2 { offset-path: path("M72 162 C190 58 300 250 418 142 S598 58 694 166"); animation: storyTravel 4.8s var(--ease) infinite 1.2s; fill: var(--blue); }
.story-board__pulse--3 { offset-path: path("M72 162 C190 58 300 250 418 142 S598 58 694 166"); animation: storyTravel 4.8s var(--ease) infinite 2.4s; fill: var(--sky); }
.story-board--recruiter .story-board__pulse--1,
.story-board--recruiter .story-board__pulse--2,
.story-board--recruiter .story-board__pulse--3 { offset-path: path("M68 166 C180 62 304 242 420 136 S584 78 698 160"); }
@keyframes storyTravel {
  0% { offset-distance: 0%; opacity: 0; transform: scale(0.6); }
  14%, 82% { opacity: 1; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.6); }
}
.story-card {
  position: absolute;
  width: 210px;
  min-height: 184px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  border: 2px solid rgba(15, 42, 92, 0.06);
  box-shadow: 0 18px 42px rgba(15, 42, 92, 0.12);
  backdrop-filter: blur(12px);
  animation: cardHover 5.5s var(--ease) infinite;
}
.story-card:nth-of-type(2) { animation-delay: 0.28s; }
.story-card:nth-of-type(3) { animation-delay: 0.56s; }
.story-card--proof,
.story-card--brief { left: 6%; top: 86px; transform: rotate(-3deg); }
.story-card--verify,
.story-card--rank { left: 50%; top: 42px; transform: translateX(-50%) rotate(2deg); }
.story-card--visible,
.story-card--finalists { right: 6%; top: 108px; transform: rotate(3deg); }
.story-card__num {
  color: var(--blue);
  font-weight: 900;
}
.story-card h3 {
  margin: 12px 0 6px;
  font-size: 1.12rem;
}
.story-card p {
  color: var(--ink-70);
  font-size: 0.86rem;
  line-height: 1.45;
}
.story-ico {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-top: 12px;
  border-radius: 22px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 26px rgba(26, 86, 219, 0.22);
}
.story-ico--code { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.story-ico--code b { font-size: 1.35rem; }
.story-ico--scan { background: linear-gradient(135deg, var(--sky), var(--blue)); overflow: hidden; }
.story-ico--scan i {
  position: absolute;
  inset-inline: -10%;
  top: -16px;
  height: 22px;
  background: rgba(255,255,255,0.45);
  animation: mockBeam 2.2s linear infinite;
}
.story-ico--scan b,
.story-ico--score b { font-size: 1.45rem; font-weight: 900; }
.story-ico--score { background: linear-gradient(135deg, var(--green), #14b8a6); }
.story-ico--score span {
  position: absolute;
  inset: 10px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinSlow 4s linear infinite;
}
.story-ico--brief { background: linear-gradient(135deg, var(--blue), var(--ink)); gap: 5px; align-content: center; padding: 14px; }
.story-ico--brief i {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  transform-origin: left;
  animation: profileBars 2.4s var(--ease) infinite;
}
.story-ico--brief i:nth-child(2) { width: 76%; animation-delay: 0.14s; }
.story-ico--brief i:nth-child(3) { width: 58%; animation-delay: 0.28s; }
.story-ico--rank { background: linear-gradient(135deg, var(--sky), var(--blue)); align-items: end; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 13px; }
.story-ico--rank span {
  display: block;
  width: 100%;
  border-radius: 999px 999px 6px 6px;
  background: #fff;
  height: 35%;
  animation: rankBar 1.3s var(--ease) infinite;
}
@keyframes rankBar {
  0%,100% { height: 34%; background: rgba(255, 255, 255, 0.55); }
  50% { height: 88%; background: #fff; }
}
.story-ico--rank span:nth-child(2) { animation-delay: 0.12s; }
.story-ico--rank span:nth-child(3) { animation-delay: 0.24s; }
.story-ico--final { background: linear-gradient(135deg, var(--green), var(--blue)); grid-template-columns: 1fr; gap: 4px; padding: 10px; }
.story-ico--final b {
  display: block;
  width: 100%;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  color: var(--blue);
  font-size: 0.66rem;
}
@keyframes cardHover {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@media (max-width: 1040px) {
  .story-lab__grid { grid-template-columns: 1fr; }
  .story-lab__copy h2 { max-width: 16ch; }
}
@media (max-width: 760px) {
  .story-lab { padding: 64px 0; }
  .story-board { min-height: auto; padding: 22px; display: grid; gap: 16px; }
  .story-board__web { opacity: 0.35; }
  .story-card { position: relative; inset: auto !important; width: auto; min-height: auto; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .story-lab::before,
  .story-lab::after,
  .story-board__rail,
  .story-board__pulse,
  .story-card,
  .story-ico--scan i,
  .story-ico--score span,
  .story-ico--brief i,
  .story-ico--rank span {
    animation: none !important;
  }
  .story-board__pulse { display: none; }
  .story-ico--brief i { transform: scaleX(1); }
}

/* ================================================================
   ILLUSTRATION-FIRST REDESIGN SYSTEM
   Transforms the site into an illustration-driven storytelling
   experience with animated characters, environmental scenes,
   parallax layers, and interactive visual narratives.
   ================================================================ */

/* === Character Animation Keyframes === */
@keyframes charBreathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.02); }
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(-4px) rotate(-0.3deg); }
}
@keyframes charBlink {
  0%, 42%, 46%, 100% { transform: scaleY(1); }
  44% { transform: scaleY(0.08); }
}
@keyframes charWave {
  0%, 30%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-14deg); }
  20% { transform: rotate(10deg); }
}
@keyframes charLookLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2px); }
}
@keyframes charLookRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}
@keyframes envCloud {
  0% { transform: translateX(-10%); }
  100% { transform: translateX(110%); }
}
@keyframes envFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes envPulseGlow {
  0%, 100% { opacity: 0.4; filter: blur(20px); }
  50% { opacity: 0.7; filter: blur(25px); }
}
@keyframes envSparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  20% { opacity: 1; transform: scale(1) rotate(72deg); }
  80% { opacity: 1; transform: scale(1) rotate(288deg); }
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.08); }
}
@keyframes dataPacket {
  0% { offset-distance: 0%; opacity: 0; transform: scale(0.5); }
  10%, 90% { opacity: 1; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.5); }
}
@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-60px) rotate(360deg); opacity: 0; }
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes sceneFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sceneSlideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes sceneSlideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes rippleOut {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* === Illustration Scene Container === */
.ill-scene {
  position: relative;
  width: 100%;
  overflow: visible;
  isolation: isolate;
}
.ill-scene--full {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ill-scene--hero {
  min-height: 520px;
  padding: 40px 0;
}
.ill-scene svg {
  overflow: visible;
}

/* === Parallax depth layers === */
.ill-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.ill-layer--bg { z-index: 0; }
.ill-layer--mid { z-index: 1; }
.ill-layer--fg { z-index: 2; }

/* === Glassmorphism Content Panels === */
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 48px rgba(15, 42, 92, 0.1),
    0 4px 12px rgba(15, 42, 92, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 32px;
  position: relative;
  z-index: 3;
}
.glass-panel--dark {
  background: rgba(15, 42, 92, 0.65);
  border-color: rgba(126, 171, 245, 0.2);
  color: #fff;
}
.glass-panel--sm { padding: 20px; border-radius: var(--radius); }

/* === Section Divider — Organic Waves === */
.sec-divider {
  position: relative;
  height: 80px;
  margin: -1px 0;
  overflow: hidden;
  z-index: 5;
}
.sec-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.sec-divider--flip svg {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}
.sec-divider--tall { height: 120px; }

/* === Enhanced Gate Page Worlds === */
.gate-page .ill-decor {
  z-index: 0;
}

/* Larger world scene areas for the illustration-first approach */
.world__scene {
  height: 320px;
  margin-bottom: 24px;
  perspective: 800px;
}

/* Character scene — larger and more prominent */
.world .scene-char {
  width: 260px;
  filter: drop-shadow(0 18px 30px rgba(15, 42, 92, 0.12));
}
.world:hover .scene-char {
  animation-play-state: paused;
  transform: translate(-50%, -52%) scale(1.04);
  transition: transform 0.5s var(--ease);
}

/* === Scene Environment Elements === */
.env-element {
  position: absolute;
  pointer-events: none;
  animation: envFloat 6s var(--ease) infinite;
}
.env-element--cloud {
  animation: envCloud 35s linear infinite;
  opacity: 0.15;
}
.env-element--desk {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.env-element--plant {
  animation-duration: 7s;
  animation-delay: 1s;
}

/* Floating badges that orbit characters */
.orbit-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(15, 42, 92, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink);
  z-index: 4;
  animation: badgeBounce 4s var(--ease) infinite;
  backdrop-filter: blur(8px);
}
.orbit-badge svg {
  width: 16px;
  height: 16px;
}
.orbit-badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-dark);
  border: 1.5px solid rgba(34, 197, 94, 0.25);
}
.orbit-badge--blue {
  background: rgba(26, 86, 219, 0.12);
  color: var(--blue);
  border: 1.5px solid rgba(26, 86, 219, 0.2);
}
.orbit-badge--sky {
  background: rgba(126, 171, 245, 0.15);
  color: var(--blue);
  border: 1.5px solid rgba(126, 171, 245, 0.3);
}

/* === Interactive Illustration Hover States === */
.ill-interactive {
  cursor: default;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.ill-interactive:hover {
  transform: scale(1.06) translateY(-4px);
  filter: drop-shadow(0 12px 24px rgba(26, 86, 219, 0.2));
}
.ill-interactive:hover .orbit-badge {
  animation-play-state: paused;
}

/* Glow ring effect on hover */
.ill-glow {
  position: relative;
}
.ill-glow::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.ill-glow:hover::after {
  opacity: 1;
  animation: rippleOut 1.5s var(--ease) infinite;
}

/* === Illustrated Section Headers === */
.sec-illus-header {
  position: relative;
  text-align: center;
  padding: 28px 0;
}
.sec-illus-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 171, 245, 0.2), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

/* === Illustrated Step Cards === */
.ill-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(15, 42, 92, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ill-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.ill-step__illus {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: visible;
}
.ill-step__illus svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ill-step__content {
  flex: 1;
  min-width: 0;
}

/* === Illustrated Comparison (Score Section) === */
.ill-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.ill-compare__side {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 28px 80px;
  overflow: hidden;
  min-height: 320px;
}
.ill-compare__side--old {
  background: rgba(15, 42, 92, 0.04);
  border: 2px solid rgba(15, 42, 92, 0.08);
}
.ill-compare__side--new {
  background: rgba(34, 197, 94, 0.06);
  border: 2px solid rgba(34, 197, 94, 0.15);
}
.ill-compare__illus {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  pointer-events: none;
}
.ill-compare__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  text-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

/* === Enhanced Bridge (Gate Page) === */
.bridge {
  width: 160px;
  height: 160px;
}
.bridge__emblem {
  inset: 28px;
  box-shadow:
    0 16px 40px rgba(26, 86, 219, 0.32),
    0 0 0 6px rgba(34, 197, 94, 0.15);
}
.bridge__emblem svg { width: 40px; height: 40px; }
.bridge__path {
  stroke-width: 3.5;
  stroke-dasharray: 8 12;
}

/* Data packets on bridge */
.bridge__packet {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.bridge__packet--1 {
  background: var(--green);
  animation: dataPacket 3s var(--ease) infinite;
}
.bridge__packet--2 {
  background: var(--blue);
  animation: dataPacket 3s var(--ease) infinite 1s;
}
.bridge__packet--3 {
  background: var(--sky);
  animation: dataPacket 3s var(--ease) infinite 2s;
}

/* === Illustrated Vignettes (Story Sections) === */
.ill-vignette {
  position: relative;
  border-radius: 28px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(15, 42, 92, 0.06);
  box-shadow: 0 20px 50px rgba(15, 42, 92, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ill-vignette:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(15, 42, 92, 0.16);
}
.ill-vignette__scene {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: visible;
}
.ill-vignette__scene svg {
  max-height: 100%;
  overflow: visible;
}

/* === Animated Score Ring === */
.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
}
.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-ring__track {
  fill: none;
  stroke: rgba(15, 42, 92, 0.08);
  stroke-width: 8;
}
.score-ring__fill {
  fill: none;
  stroke: var(--green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.5s var(--ease);
}
.score-ring.is-in .score-ring__fill {
  stroke-dashoffset: calc(314 - (314 * var(--progress, 0.92)));
}
.score-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
}

/* === Hero Illustration Scene — Full Width === */
.page-hero.ill-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}
.page-hero.ill-hero .page-hero__grid {
  position: relative;
  z-index: 3;
}
.page-hero.ill-hero .page-hero__aside {
  position: relative;
}
.page-hero.ill-hero .hero-illus {
  min-height: 420px;
}

/* Large illustration character for hero scenes */
.hero-char-scene {
  position: relative;
  width: 360px;
  margin: 0 auto;
}
.hero-char-scene svg {
  width: 100%;
  overflow: visible;
}
.hero-char-scene .char-body {
  transform-origin: center bottom;
  animation: charBreathe 4s var(--ease) infinite;
}
.hero-char-scene .char-eyes {
  animation: charBlink 5s step-end infinite;
}
.hero-char-scene .char-arm {
  transform-origin: top left;
  animation: charWave 6s var(--ease) infinite;
}

/* === Illustrated Queue (Beta Section) === */
.ill-queue {
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 20px;
  justify-content: center;
}
.ill-queue__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sceneFadeUp 0.6s var(--ease) both;
}
.ill-queue__person:nth-child(2) { animation-delay: 0.1s; }
.ill-queue__person:nth-child(3) { animation-delay: 0.2s; }
.ill-queue__person:nth-child(4) { animation-delay: 0.3s; }
.ill-queue__person:nth-child(5) { animation-delay: 0.4s; }

/* === Scene Enter Animations (used with .is-in) === */
.ill-scene-enter {
  opacity: 0;
  transform: translateY(40px);
}
.ill-scene-enter.is-in {
  animation: sceneFadeUp 0.8s var(--ease) forwards;
}
.ill-scene-enter.is-in .env-element {
  animation: sceneFadeUp 0.6s var(--ease) both;
}
.ill-scene-enter.is-in .env-element:nth-child(2) { animation-delay: 0.15s; }
.ill-scene-enter.is-in .env-element:nth-child(3) { animation-delay: 0.3s; }
.ill-scene-enter.is-in .env-element:nth-child(4) { animation-delay: 0.45s; }
.ill-scene-enter.is-in .orbit-badge {
  animation: sceneFadeUp 0.5s var(--ease) both;
}
.ill-scene-enter.is-in .orbit-badge:nth-child(2) { animation-delay: 0.2s; }
.ill-scene-enter.is-in .orbit-badge:nth-child(3) { animation-delay: 0.4s; }
.ill-scene-enter.is-in .orbit-badge:nth-child(4) { animation-delay: 0.6s; }

/* === Illustrated Connect Flow === */
.connect__node-illus {
  margin-bottom: 14px;
}
.connect__node-illus svg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: block;
}

/* Animated dashed path between nodes */
.connect__path-animated {
  stroke-dasharray: 8 6;
  animation: webDrift 12s linear infinite;
}

/* === Section Background Illustrations === */
.sec-bg-illus {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
.sec-bg-illus--left {
  left: -40px;
  bottom: 20px;
}
.sec-bg-illus--right {
  right: -40px;
  top: 20px;
}
.sec-bg-illus svg {
  width: 300px;
  height: auto;
  overflow: visible;
}

/* === Responsive: Illustration System === */
@media (max-width: 1040px) {
  .world__scene { height: 280px; }
  .world .scene-char { width: 220px; }
  .hero-char-scene { width: 300px; }
  .ill-compare { grid-template-columns: 1fr; gap: 20px; }
  .ill-compare__divider { transform: rotate(90deg); }
  .page-hero.ill-hero { min-height: auto; }
  .page-hero.ill-hero .hero-illus { min-height: 360px; }
}
@media (max-width: 760px) {
  .ill-vignette__scene { height: 160px; }
  .orbit-badge { font-size: 0.58rem; padding: 4px 8px; }
  .sec-bg-illus { display: none; }
  .bridge { width: 120px; height: 120px; }
}
@media (max-width: 640px) {
  .world__scene { height: 240px; }
  .world .scene-char { width: 190px; }
  .hero-char-scene { width: 240px; }
  .glass-panel { padding: 20px; }
  .ill-step { flex-direction: column; gap: 16px; }
  .ill-step__illus { width: 64px; height: 64px; }
  .sec-divider { height: 50px; }
  .ill-queue { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ill-scene-enter { opacity: 1; transform: none; }
  .ill-scene-enter.is-in { animation: none; }
  .ill-scene-enter.is-in .env-element,
  .ill-scene-enter.is-in .orbit-badge { animation: none; }
  .env-element, .orbit-badge, .bridge__packet,
  .score-ring__fill, .hero-char-scene .char-body,
  .hero-char-scene .char-eyes, .hero-char-scene .char-arm,
  .ill-queue__person, .env-element--cloud { animation: none !important; }
  .score-ring__fill { stroke-dashoffset: calc(314 - (314 * var(--progress, 0.92))); }
  .ill-queue__person { opacity: 1; transform: none; }
}
