/* ==========================================================================
   andarDigital — landing
   ========================================================================== */

:root {
  --ink: #25293c;
  --ink-2: #202534;
  --ink-3: #2f3349;
  --ink-4: #3a3f57;
  --line: rgba(225, 222, 245, 0.08);
  --line-2: rgba(225, 222, 245, 0.14);
  --cream: #e6e3f7;
  --cream-2: #aeadc4;
  --muted: #7d7e93;
  --amber: #ffab1d;
  --amber-soft: #ffc25a;
  --amber-pale: #ffe2a8;
  --amber-deep: #ba7d15;
  --teal: #00bad1;
  --info: #00bad1;
  --success: #28c76f;
  --warning: #ff9f43;
  --paper: #2f3349;
  --on-amber: #25293c;

  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Public Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 24px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--ink); }

a { color: inherit; }
em { font-style: italic; color: var(--amber); font-weight: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-variation-settings: 'opsz' 144, 'SOFT' 30; font-weight: 360; }
h2 em { font-variation-settings: 'opsz' 144, 'SOFT' 100; }
h3 { font-size: 1.42rem; letter-spacing: -0.012em; line-height: 1.15; font-variation-settings: 'opsz' 48; font-weight: 450; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* Ambient layers */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.06;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber), var(--amber-pale));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
}

main, .footer { position: relative; z-index: 1; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), max-width 0.6s var(--ease-out);
}
.nav.scrolled .nav-inner {
  max-width: 1120px;
  background: rgba(37, 41, 60, 0.66);
  border-color: var(--line-2);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-variation-settings: 'opsz' 48;
  letter-spacing: -0.02em;
}
.brand b { font-weight: 600; color: var(--amber); }
.brand-mark { width: 28px; height: 28px; display: block; overflow: visible; }
.brand-mark { color: var(--amber); transition: transform 0.5s var(--ease-out); }
.brand-mark path { fill: currentColor; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--f-body); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--cream); }

.nav-links { position: relative; display: flex; gap: 4px; font-size: 0.93rem; }
.nav-links a {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cream-2);
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--w, 0);
  transform: translateX(var(--x, 0));
  border-radius: 999px;
  background: rgba(225, 222, 245, 0.07);
  border: 1px solid var(--line);
  opacity: var(--o, 0);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.3s;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions a { white-space: nowrap; }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-login svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-login:hover { color: var(--amber); background: rgba(255, 171, 29, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 171, 29, 0.45); }

/* ---------- BUTTONS ---------- */
.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transform: translate(var(--tx), var(--ty));
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), color 0.3s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 30px -12px rgba(255, 171, 29, 0.55);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 40px -12px rgba(255, 171, 29, 0.75); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-small { padding: 11px 20px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255, 171, 29, 0.45); }
.btn-ghost::before { background: var(--amber); transform: translateY(101%); transition: transform 0.5s var(--ease-out); }
.btn-ghost:hover::before { transform: none; }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--amber), 0 18px 40px -16px rgba(255, 171, 29, 0.6); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 14px 30px -12px rgba(0, 0, 0, 0.55); }
.btn-dark::before { background: linear-gradient(120deg, transparent 30%, rgba(255, 171, 29, 0.25) 50%, transparent 70%); }
.btn-dark:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 22px 40px -14px rgba(0, 0, 0, 0.6); }

.link-arrow {
  position: relative;
  font-weight: 500;
  color: var(--cream-2);
  text-decoration: none;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color 0.25s, background-size 0.5s var(--ease-out);
}
.link-arrow:hover { color: var(--amber); background-size: 0% 1px; background-position: 100% 100%; }
.link-arrow.dark { color: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  --mx: 70%;
  --my: 40%;
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(16px, 3.5vh, 80px)) var(--gutter) clamp(48px, 8vh, 100px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 100svh;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 171, 29, 0.11), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(255, 171, 29, 0.1), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(0, 186, 209, 0.06), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 55% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 45%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.eyebrow, .kicker {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(225, 222, 245, 0.03);
  color: var(--cream-2);
}
.pulse-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 70%, 100% { transform: scale(2.8); opacity: 0; } }

.hero h1 {
  font-size: clamp(2.8rem, min(6.6vw, 9.2vh), 6.3rem);
  font-weight: 330;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: clamp(18px, 3.5vh, 30px) 0;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
.hero h1 em { font-weight: 300; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.14em;
  margin: 0 -0.12em -0.14em;
}
.line > span {
  display: inline-block;
  transform: translateY(110%) rotate(3deg);
  transform-origin: 0 100%;
  animation: lineUp 1.2s calc(var(--d) * 0.09s + 0.1s) var(--ease-out) forwards;
}
@keyframes lineUp { to { transform: none; } }

.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--cream-2); max-width: 33em; }
.hero .lede { max-width: 37em; }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: clamp(20px, 3.5vh, 40px); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: clamp(20px, 3.5vh, 44px) 0 0;
  padding: clamp(14px, 2.5vh, 24px) 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 2.1rem;
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}
.hero-stats dt { margin-top: 6px; font-size: 0.82rem; color: var(--cream-2); }

.fade {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1s calc(var(--d) * 0.09s + 0.1s) var(--ease-out) forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Road */
.hero-road {
  position: relative;
  width: 100%;
  max-width: min(470px, calc((100svh - var(--nav-h) - 80px) * 520 / 620));
  aspect-ratio: 520 / 620;
  justify-self: center;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 0.8s var(--ease-out);
}
.road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road-bed { fill: none; stroke: var(--ink-3); stroke-width: 36; stroke-linecap: round; }
.road-dash { fill: none; stroke: rgba(225, 222, 245, 0.12); stroke-width: 1.5; stroke-dasharray: 2 12; stroke-linecap: round; }
.road-line {
  fill: none;
  stroke: url(#roadGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 1600);
  stroke-dashoffset: var(--len, 1600);
  animation: draw 2.6s 0.5s var(--ease) forwards;
  filter: drop-shadow(0 0 6px rgba(255, 171, 29, 0.45));
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li {
  position: absolute;
  left: var(--x, -999px);
  top: var(--y, 0);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: pop 0.7s calc(1s + var(--i) * 0.38s) var(--ease-out) forwards;
}
@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 171, 29, 0.1);
  transition: transform 0.3s var(--ease-out);
}
.milestones li:hover .dot { transform: scale(1.25); }
.goal .dot {
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 35% 35%, var(--amber-pale), var(--amber) 60%);
  box-shadow: 0 0 0 8px rgba(255, 171, 29, 0.16), 0 0 40px 8px rgba(255, 171, 29, 0.45);
  animation: glow 2.6s 3s ease-in-out infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 0 14px rgba(255, 171, 29, 0.05), 0 0 64px 16px rgba(255, 171, 29, 0.35); } }

.tag {
  position: absolute;
  z-index: 1;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(53, 58, 82, 0.92), rgba(47, 51, 73, 0.92));
  border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  line-height: 1.3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tag small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.tag-left { left: auto; right: calc(100% + 14px); text-align: right; }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  width: 24px;
  height: 38px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  background: var(--ink-2);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: slide 42s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--cream-2);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { color: var(--amber); font-style: normal; font-size: 0.6em; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, min(12vw, 17vh), 160px) var(--gutter) 0;
}
.section-head { max-width: 800px; margin-bottom: clamp(32px, min(6vw, 8vh), 76px); }
.section-head h2 { margin-top: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; }
.kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 171, 29, 0.4);
  font-size: 0.68rem;
}
.kicker.dark { color: var(--ink); }
.kicker.dark span { border-color: rgba(37, 41, 60, 0.35); }

/* ---------- ROUTE ---------- */
.route {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.route-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.route-head h2 { margin: 20px 0 22px; }
.route-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 12px 40px;
  margin: 36px 0 40px;
  padding: 26px 0;
  border-block: 1px solid var(--line);
}
.route-stats div { display: flex; flex-direction: column-reverse; }
.route-stats dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-variation-settings: 'opsz' 144;
}
.route-stats dt { margin-top: 8px; font-size: 0.86rem; color: var(--cream-2); }

.levels { position: relative; list-style: none; margin: 0; padding: 0 0 0 76px; }
.levels-rail {
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.levels-rail span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--amber-pale), var(--amber) 40%, var(--amber-deep));
  box-shadow: 0 0 12px rgba(255, 171, 29, 0.55);
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
}
.level { position: relative; padding: 0 0 18px; }
.level-num {
  position: absolute;
  left: -76px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--cream-2);
  transition: background 0.5s var(--ease), border-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.level.active .level-num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--on-amber);
  font-weight: 500;
  box-shadow: 0 0 0 6px rgba(255, 171, 29, 0.14), 0 10px 30px -8px rgba(255, 171, 29, 0.6);
}
.level-body {
  padding: 24px 26px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(53, 58, 82, 0.55), rgba(47, 51, 73, 0.45));
  transition: border-color 0.5s, background 0.5s;
}
.level.active .level-body { border-color: var(--line-2); }
.level-featured .level-body {
  border-color: rgba(255, 171, 29, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 171, 29, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(53, 58, 82, 0.7), rgba(47, 51, 73, 0.6));
}
.level-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 171, 29, 0.14);
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.level h3 { font-size: 1.32rem; }
.level-body > p:not(.level-badge) { margin-top: 8px; color: var(--cream-2); font-size: 0.96rem; }
.level-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.level-meta span + span::before { content: '·'; margin-right: 16px; }
.level-bar { display: block; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--line); overflow: hidden; }
.level-bar i {
  display: block;
  height: 100%;
  width: calc(var(--m) / 195 * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.2s 0.2s var(--ease-out);
}
.is-visible .level-bar i { transform: none; }

.lessons { margin-top: 14px; border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.lessons summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 2px;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
}
.lessons summary::-webkit-details-marker { display: none; }
.lessons summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out), margin 0.4s;
}
.lessons[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lessons::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
.lessons[open]::details-content { block-size: auto; }
.lessons ol { list-style: none; counter-reset: lesson; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.lessons li {
  counter-increment: lesson;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--cream);
}
.lessons li:last-child { border-bottom: 0; }
.lessons li::before { content: counter(lesson, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.7rem; color: var(--muted); }
.lessons li em { font-style: normal; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(180deg, rgba(53, 58, 82, 0.7), rgba(47, 51, 73, 0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.card[data-spot]::before,
.card[data-spot]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.card[data-spot]::before {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(380px circle at var(--x) var(--y), rgba(255, 171, 29, 0.7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card[data-spot]::after {
  z-index: -1;
  background: radial-gradient(500px circle at var(--x) var(--y), rgba(255, 171, 29, 0.07), transparent 45%);
}
.card[data-spot]:hover::before,
.card[data-spot]:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--cream-2); font-size: 0.98rem; }

.card-video { grid-column: span 4; grid-row: span 2; }
.card-progress { grid-column: span 2; }
.card-mentor { grid-column: span 2; }
.card-diploma { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.card-mobile {
  grid-column: span 3;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(140deg, #ffc25a 0%, var(--amber) 45%, #ff9f43 100%);
  color: var(--ink);
  border: 0;
  min-height: 230px;
}
.card-mobile p { color: rgba(37, 41, 60, 0.72); max-width: 58%; }

/* Player mock */
.player {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.player-screen {
  position: relative;
  aspect-ratio: 16 / 8.6;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 171, 29, 0.38), transparent 52%),
    radial-gradient(circle at 18% 82%, rgba(0, 186, 209, 0.32), transparent 55%),
    linear-gradient(160deg, #3a3f57, #202534);
}
.player-chapter {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-variation-settings: 'opsz' 48;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.player-chapter small { display: block; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-soft); }
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(225, 222, 245, 0.96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(225, 222, 245, 0.12);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.card-video:hover .play { transform: scale(1.08); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 18px rgba(225, 222, 245, 0.08); }
.play::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 24px;
  border-left: 20px solid var(--ink);
  border-block: 14px solid transparent;
}
.note-bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(37, 41, 60, 0.8);
  border: 1px solid var(--line-2);
  font-size: 0.8rem;
  line-height: 1.3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.note-bubble b { font-family: var(--f-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.n1 { left: 5%; top: 10%; transition-delay: 0.5s; }
.n2 { right: 5%; top: 44%; transition-delay: 0.9s; }
.is-visible .note-bubble { opacity: 1; transform: none; animation: float 7s 1.6s ease-in-out infinite; }
.is-visible .n2 { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-7px); } }

.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.player-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.player-bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: var(--amber);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.6s 0.3s var(--ease-out);
}
.player-bar .fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(255, 171, 29, 0.3);
}
.is-visible .player-bar .fill { transform: none; }
.player-bar i {
  position: absolute;
  left: var(--at);
  top: 50%;
  width: 2px;
  height: 10px;
  margin-top: -5px;
  background: var(--amber-soft);
  border-radius: 2px;
  opacity: 0.7;
}

/* Ring */
.ring { position: relative; width: 124px; height: 124px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--ink-4); }
.ring-fg {
  stroke: var(--amber);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.8s 0.2s var(--ease-out);
  filter: drop-shadow(0 0 6px rgba(255, 171, 29, 0.5));
}
.is-visible .ring-fg { stroke-dashoffset: 179; }
.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.1;
}
.ring-label b { font-family: var(--f-display); font-size: 2.3rem; font-weight: 400; color: var(--cream); letter-spacing: 0; }

/* Chat mock */
.chat { display: grid; gap: 10px; }
.msg { display: flex; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity 0.6s 0.2s var(--ease-out), transform 0.6s 0.2s var(--ease-out); }
.card .msg p { padding: 9px 13px; border-radius: 16px; font-size: 0.8rem; line-height: 1.35; max-width: 80%; }
.card .msg-in p { background: var(--ink-4); color: var(--cream); border-bottom-left-radius: 4px; }
.msg-out { justify-content: flex-end; transition-delay: 0.7s; }
.card .msg-out p { background: var(--amber); color: var(--ink); border-bottom-right-radius: 4px; }
.is-visible .msg { opacity: 1; transform: none; }
.av, .biz i {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 600;
  font-size: 0.66rem;
  color: var(--ink);
  background: hsl(var(--h) 80% 70%);
}

/* Diploma */
.diploma {
  position: relative;
  padding: 24px 18px;
  border-radius: 10px;
  background: linear-gradient(160deg, #ffffff, #eeedf3);
  color: var(--ink);
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.7);
  outline: 1px solid rgba(186, 125, 21, 0.6);
  outline-offset: -8px;
  transition: transform 0.7s var(--ease-out);
}
.card-diploma:hover .diploma { transform: rotate(0deg) scale(1.04); }
.diploma small { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-deep); }
.diploma strong { display: block; font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; font-style: italic; margin: 6px 0; font-variation-settings: 'opsz' 72; }
.diploma span { font-size: 0.7rem; line-height: 1.3; display: block; color: #5d596c; }
.seal {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--amber-pale), var(--amber) 60%, var(--amber-deep));
  display: grid;
  place-items: center;
  border: 3px solid var(--ink-2);
}
.seal svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Phone */
.phone {
  position: absolute;
  right: 34px;
  bottom: -46px;
  width: 118px;
  height: 196px;
  border-radius: 26px;
  background: var(--ink);
  padding: 26px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: rotate(9deg);
  transition: transform 0.7s var(--ease-out);
  box-shadow: 0 30px 50px -20px rgba(20, 22, 34, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.card-mobile:hover .phone { transform: rotate(0deg) translateY(-14px); }
.phone span { height: 26px; border-radius: 8px; background: var(--ink-3); flex: none; }
.phone .phone-notch { position: absolute; top: 9px; left: 50%; width: 34px; height: 8px; margin-left: -17px; border-radius: 6px; }
.phone .phone-hero { height: 58px; background: linear-gradient(135deg, var(--amber), var(--teal)); }
.phone .short { width: 60%; }

/* ---------- REVIEWS ---------- */
.reviews-top {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  gap: 16px;
  align-items: stretch;
}
.score-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 171, 29, 0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 171, 29, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(53, 58, 82, 0.8), rgba(47, 51, 73, 0.7));
  box-shadow: 0 40px 80px -50px rgba(255, 171, 29, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.score { display: flex; align-items: baseline; gap: 10px; }
.score b {
  font-family: var(--f-display);
  font-size: clamp(4.4rem, 7vw, 6rem);
  font-weight: 330;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-variation-settings: 'opsz' 144;
}
.score span { font-size: 1.3rem; color: var(--cream-2); }
.score-stars { position: relative; display: inline-block; margin-top: 14px; font-size: 1.7rem; letter-spacing: 4px; line-height: 1; }
.score-stars > span:first-child { color: rgba(225, 222, 245, 0.16); }
.score-stars .on {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  overflow: hidden;
  white-space: nowrap;
  color: var(--amber);
}
.score-sub { margin-top: 10px; color: var(--cream-2); font-size: 0.95rem; }
.score-sub strong { color: var(--cream); }
.dist { list-style: none; margin: 24px 0 26px; padding: 0; display: grid; gap: 8px; }
.dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 0.74rem; color: var(--cream-2); }
.dist em { font-style: normal; text-align: right; color: var(--muted); }
.dist-bar { height: 6px; border-radius: 6px; background: #3a3f57; overflow: hidden; }
.dist-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.2s 0.3s var(--ease-out);
}
.is-visible .dist-bar i { transform: none; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column; gap: 4px; }
.proof b { font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-variation-settings: 'opsz' 144; }
.proof > div > span { font-size: 0.8rem; line-height: 1.35; color: var(--cream-2); }

.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reviews-top > *, .featured > * { min-width: 0; }
.reviews .section-head .lede { margin-top: 22px; max-width: 42em; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(53, 58, 82, 0.6), rgba(47, 51, 73, 0.5));
}
.review blockquote { margin: 0; flex: 1; font-size: 0.98rem; line-height: 1.5; color: var(--cream); }
.review-hero { grid-column: 1 / -1; padding: 32px; }
.review-hero::before {
  content: '“';
  position: absolute;
  right: 26px;
  top: -6px;
  font-family: var(--f-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(255, 171, 29, 0.14);
  pointer-events: none;
}
.review-hero blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 72;
}
.stars { color: var(--amber); font-size: 1.35rem; letter-spacing: 3px; line-height: 1; }
.review-hero .stars { font-size: 1.7rem; }
.stars i { font-style: normal; color: rgba(225, 222, 245, 0.18); }
.review figcaption { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: hsl(var(--h) 45% 62%);
  color: #25293c;
  font-size: 0.8rem;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(255, 171, 29, 0.35);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.who strong { font-size: 0.9rem; font-weight: 600; color: var(--cream); }
.who span { font-size: 0.8rem; color: var(--cream-2); }
.who small { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who strong, .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured .who span, .featured .who small { white-space: normal; }

.wall-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.wall-head p { color: var(--cream-2); }
.wall-head strong { color: var(--cream); }
.wall-hint { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wall {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.wall-track { display: flex; width: max-content; animation: slide 110s linear infinite; }
.wall-row.reverse .wall-track { animation-direction: reverse; animation-duration: 120s; }
.wall:hover .wall-track { animation-play-state: paused; }
.wall-set { display: flex; gap: 16px; padding-right: 16px; }
.wall .review { width: 340px; flex: none; }
.wall .review:hover { border-color: rgba(255, 171, 29, 0.35); }

.mini-stars { font-size: 0.9rem; letter-spacing: 1px; color: var(--amber); vertical-align: 0.35em; }

/* ---------- PARTNERS ---------- */
.partners {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.partners h2 { margin: 20px 0 22px; }
.checks { list-style: none; padding: 0; margin: 34px 0 42px; }
.checks li {
  position: relative;
  padding: 14px 0 14px 36px;
  color: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23110d09' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--amber);
}

.dashboard-wrap { position: relative; perspective: 1600px; }
.dashboard {
  position: relative;
  background: var(--paper);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line-2), 0 0 90px -30px rgba(255, 171, 29, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.9s var(--ease-out);
}
.dashboard-wrap:hover .dashboard { transform: none; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 0 4px rgba(40, 199, 111, 0.18); }
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--ink); font-size: 0.74rem; }
.seg span { padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.seg .on { background: var(--amber); color: var(--on-amber); font-weight: 600; box-shadow: 0 2px 8px -2px rgba(255, 171, 29, 0.5); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.dash-kpis div { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; background: #353a52; border-radius: 14px; padding: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.dash-kpis small { display: block; font-size: 0.7rem; color: var(--cream-2); line-height: 1.25; }
.dash-kpis b { display: block; font-family: var(--f-display); font-size: 1.85rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash-kpis .up { position: absolute; top: 12px; right: 10px; font-style: normal; font-family: var(--f-mono); font-size: 0.62rem; color: #28c76f; background: rgba(40, 199, 111, 0.12); padding: 2px 6px; border-radius: 6px; }
.chart { padding: 6px 4px 0; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; border-bottom: 1px solid var(--line-2); background: repeating-linear-gradient(to top, rgba(225, 222, 245, 0.06) 0 1px, transparent 1px 30px); }
.bars span {
  position: relative;
  flex: 1;
  height: calc(var(--v) * 100%);
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(to top, var(--amber-deep), var(--amber));
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s var(--ease-out), filter 0.2s;
}
.bars span:last-child { background: linear-gradient(to top, #00a7bc, var(--teal)); }
.bars span::after {
  content: attr(data-v);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.bars span:hover { filter: brightness(1.1); }
.bars span:hover::after { opacity: 1; transform: translate(-50%, 0); }
.is-visible .bars span { transform: scaleY(1); }
.bars span:nth-child(2) { transition-delay: 0.05s; }
.bars span:nth-child(3) { transition-delay: 0.1s; }
.bars span:nth-child(4) { transition-delay: 0.15s; }
.bars span:nth-child(5) { transition-delay: 0.2s; }
.bars span:nth-child(6) { transition-delay: 0.25s; }
.bars span:nth-child(7) { transition-delay: 0.3s; }
.bars span:nth-child(8) { transition-delay: 0.35s; }
.months { display: flex; gap: 8px; margin-top: 8px; }
.months span { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 0.62rem; color: var(--muted); }
.dash-rows { display: grid; gap: 12px; margin-top: 20px; font-size: 0.84rem; }
.dash-rows > div { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: center; }
.biz { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz i { width: 24px; height: 24px; font-size: 0.56rem; }
.track { position: relative; height: 6px; border-radius: 6px; background: #3a3f57; overflow: hidden; }
.track span { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #e68f3c, var(--warning)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s 0.4s var(--ease-out); }
.track.done span { background: linear-gradient(90deg, #24b364, var(--success)); }
.is-visible .track span { transform: none; }
.dash-rows em { font-style: normal; font-family: var(--f-mono); font-size: 0.74rem; color: var(--cream-2); }
.dash-note { margin-top: 16px; font-size: 0.66rem; color: var(--muted); text-align: right; font-family: var(--f-mono); }

.float-card {
  position: absolute;
  left: -34px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(47, 51, 73, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.84rem;
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 0.74rem; }
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 171, 29, 0.14); }
.fc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- MANIFESTO ---------- */
.manifesto {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(88px, min(16vw, 22vh), 220px) var(--gutter) clamp(20px, 4vw, 40px);
  text-align: center;
}
.manifesto-text {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  text-wrap: balance;
}
.manifesto-text .w { opacity: 0.14; transition: opacity 0.35s linear; }
.manifesto-text .w.on { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-variation-settings: 'opsz' 48;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber-soft); }
.faq summary i {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--cream);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.5s var(--ease-out);
}
.faq summary i::before,
.faq summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-out);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.answer p { padding: 0 60px 28px 0; color: var(--cream-2); max-width: 60ch; }

/* ---------- CTA ---------- */
.cta { padding: clamp(80px, min(12vw, 17vh), 160px) var(--gutter) clamp(60px, 8vw, 100px); }
.cta-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(52px, 8vw, 116px) clamp(24px, 6vw, 96px);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.4), transparent 38%),
    radial-gradient(circle at 10% 110%, rgba(255, 159, 67, 0.5), transparent 50%),
    linear-gradient(135deg, #ffc25a 0%, var(--amber) 45%, #ff9f43 100%);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 60px 120px -60px rgba(255, 171, 29, 0.55);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cta-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-points li { position: relative; padding-left: 30px; font-weight: 500; color: rgba(37, 41, 60, 0.85); }
.cta-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23ffab1d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    #25293c;
}

.booking {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: var(--paper);
  color: var(--cream);
  box-shadow: 0 40px 80px -30px rgba(20, 22, 34, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.booking-body { display: grid; gap: 14px; }
.cta .booking p { margin: 0; color: var(--cream); font-size: inherit; max-width: none; }
.cta .booking .booking-done p:not(.booking-title) { color: var(--cream-2); }
.booking-title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 450; letter-spacing: -0.015em; margin-bottom: 2px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend { font-size: 0.8rem; font-weight: 600; color: var(--cream-2); padding: 0; margin-bottom: 6px; }
.field input[type='text'], .field input[type='tel'] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #25293c;
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #6f7087; }
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 171, 29, 0.2); }
.field .error, .consent-error { display: none; font-size: 0.76rem; color: #ff7074; }
.field.invalid input { border-color: #ff4c51; }
.field.invalid .error, .consent-error.show { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--cream-2);
  transition: all 0.2s;
}
.chips label:hover span { border-color: rgba(255, 171, 29, 0.45); color: var(--cream); }
.chips input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--on-amber); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; line-height: 1.4; color: var(--cream-2); cursor: pointer; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--amber); flex: none; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.booking .btn-dark { background: var(--amber); color: var(--on-amber); }
.booking .btn-dark::before { background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); }
.booking .btn-dark[disabled] { opacity: 0.6; pointer-events: none; }
.booking-done { display: grid; justify-items: start; gap: 10px; padding: 12px 0; }
.booking-done[hidden] { display: none; }
.booking-done p:not(.booking-title) { color: var(--cream-2); }
.booking-done .link-arrow { background-color: transparent; border: 0; padding: 0 0 3px; font: inherit; font-weight: 500; cursor: pointer; }
.done-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(40, 199, 111, 0.16); }
.done-icon svg { width: 24px; height: 24px; fill: none; stroke: #28c76f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.cta-roads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-roads path { fill: none; stroke: rgba(37, 41, 60, 0.16); stroke-width: 1.5; stroke-dasharray: 3 10; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: march 30s linear infinite; }
.cta-roads path:nth-child(2) { stroke: rgba(255, 255, 255, 0.4); animation-duration: 40s; }
.cta-roads path:nth-child(3) { animation-duration: 55s; animation-direction: reverse; }
@keyframes march { to { stroke-dashoffset: -520; } }
.cta h2 { font-size: clamp(2.4rem, min(4.6vw, 8vh), 4.4rem); font-weight: 330; margin-top: 22px; letter-spacing: -0.035em; }
.cta h2 em { color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.cta p { margin-top: 22px; font-size: 1.15rem; max-width: 32em; color: rgba(37, 41, 60, 0.75); }

/* ---------- FOOTER ---------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 28px;
  color: var(--cream-2);
  font-size: 0.93rem;
  overflow: hidden;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 28ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { text-decoration: none; width: fit-content; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.wordmark {
  font-family: var(--f-body);
  font-size: clamp(3.4rem, 15.5vw, 16.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(225, 222, 245, 0.16), rgba(225, 222, 245, 0.02) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  padding-bottom: 0.04em;
}
.legal { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }

/* ---------- REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.bento [data-reveal]:nth-child(2), .bento [data-reveal]:nth-child(4) { transition-delay: 0.1s; }
.bento [data-reveal]:nth-child(3), .bento [data-reveal]:nth-child(5) { transition-delay: 0.2s; }
.dashboard-wrap[data-reveal] { transition-delay: 0.15s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 12px; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .login-label { display: none; }
  .btn-login { padding: 10px; }
  .brand-name { font-size: 1.15rem; }
}

@media (max-width: 370px) {
  .brand-name { display: none; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-road { max-width: 420px; }
  .scroll-cue { display: none; }
  .partners, .faq, .route, .reviews-top, .cta-inner { grid-template-columns: 1fr; }
  .faq .section-head, .route-head { position: static; }
  .float-card { left: 12px; }
  .card-video { grid-column: span 6; grid-row: auto; }
  .card-progress, .card-mentor { grid-column: span 3; }
  .card-diploma, .card-mobile { grid-column: span 6; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .btn-login { padding: 10px 12px; }
  .nav-inner { padding-left: 16px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .nav { top: 10px; }
  .hero-road { width: 94%; margin: 28px auto 0; }
  .tag { font-size: 0.72rem; padding: 6px 10px; white-space: normal; width: max-content; max-width: 150px; }
  .hero-stats { gap: 10px 28px; }
  .hero-stats dd { font-size: 1.8rem; }
  .route-stats { gap: 12px 24px; }
  .eyebrow { font-size: 0.6rem; letter-spacing: 0.03em; white-space: nowrap; padding: 7px 12px 7px 10px; gap: 9px; }
  .hero h1 { font-size: 3.35rem; }
  .wordmark { font-size: 17vw; }
  .bento { grid-template-columns: 1fr; }
  .card-video, .card-progress, .card-mentor, .card-diploma, .card-mobile { grid-column: auto; }
  .card { padding: 22px; }
  .card-diploma { grid-template-columns: 1fr; }
  .diploma { margin: 8px 12px 0; }
  .card-mobile { padding-bottom: 190px; }
  .card-mobile p { max-width: none; }
  .levels { padding-left: 52px; }
  .levels-rail { left: 19px; }
  .level-num { left: -52px; width: 40px; height: 40px; font-size: 0.74rem; top: 20px; }
  .level-body { padding: 20px 18px 16px; }
  .level h3 { font-size: 1.18rem; }
  .player-chapter { font-size: 0.9rem; left: 14px; bottom: 12px; }
  .note-bubble { font-size: 0.68rem; padding: 7px 10px; }
  .n2 { top: 36%; }
  .dashboard, .dashboard-wrap:hover .dashboard { transform: none; padding: 18px; }
  .dash-kpis { gap: 6px; }
  .dash-kpis div { padding: 10px; }
  .dash-kpis small { padding-right: 0; }
  .dash-kpis b { font-size: 1.3rem; }
  .dash-kpis .up { display: none; }
  .seg span:not(.on) { display: none; }
  .float-card { position: relative; left: 0; bottom: 0; margin-top: 16px; width: fit-content; }
  .answer p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .nav-actions .btn-small { padding: 10px 14px; font-size: 0.84rem; }
  .stars { font-size: 1.2rem; }
  .featured { grid-template-columns: 1fr; }
  .review-hero { padding: 24px; }
  .wall .review { width: 290px; }
  .wall-hint { display: none; }
  .score-card { padding: 26px 22px; }
  .proof b { font-size: 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .eyebrow { white-space: normal; }
}

@media (hover: none) {
  .card[data-spot]::before, .card[data-spot]::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .road-line { stroke-dashoffset: 0; }
  .walker { display: none; }
  .manifesto-text .w { opacity: 1; }
  .wall-row { overflow-x: auto; }
  .wall-set[aria-hidden] { display: none; }
}
