:root {
  --blue-950: #001849;
  --blue-900: #00205f;
  --blue-800: #002c80;
  --blue-700: #0038a0;
  --blue-600: #0043bd;
  --blue-500: #0b55d6;
  --blue-300: #7fa4ef;
  --blue-200: #b7cbf6;
  --yellow: #faca2a;
  --yellow-2: #ffd84f;
  --white: #ffffff;
  --ink: #e8efff;
  --muted: #a9bfef;
  --line: rgba(170, 198, 255, 0.28);
  --glass: rgba(255, 255, 255, 0.045);
  --danger: #ff8a7a;
  --wa: #25d366;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; max-width: 100%; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--blue-800);
  overflow-x: clip;
  max-width: 100%;
  touch-action: pan-y pinch-zoom;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--blue-900); }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #0a4fd0 0%, var(--blue-700) 38%, var(--blue-800) 70%, var(--blue-900) 100%);
}
.bg__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.bg__glow--a { width: 55vw; height: 55vw; left: -15vw; top: 25vh; background: #1462ff; animation: drift 18s ease-in-out infinite alternate; }
.bg__glow--b { width: 40vw; height: 40vw; right: -10vw; top: -10vw; background: #2a6bff; opacity: 0.4; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(8vw, -6vh, 0) scale(1.15); } }

.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}

.bg__streaks { position: absolute; inset: 0; }
.streak {
  position: absolute; left: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c, rgba(255,255,255,.55)));
  transform: translateX(-30vw);
  animation: streak var(--t, 6s) linear var(--delay, 0s) infinite;
  opacity: 0;
}
@keyframes streak {
  0% { transform: translateX(-30vw); opacity: 0; }
  10% { opacity: var(--o, .6); }
  80% { opacity: var(--o, .6); }
  100% { transform: translateX(130vw); opacity: 0; }
}

.bg__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  opacity: 0.05;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(0, 32, 95, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__logo img { height: 34px; width: auto; opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav.is-scrolled .nav__logo img { opacity: 1; transform: none; }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } }
.nav__social { display: flex; align-items: center; gap: 10px; animation: navIn .9s var(--ease) .1s both; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  transition: transform .3s var(--ease-back), background .3s, border-color .3s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
svg path, svg rect, svg circle { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--xl { --h: 62px; padding: 0 34px; font-size: 17px; }

.btn--primary { background: var(--yellow); color: var(--blue-900); box-shadow: 0 10px 30px -10px rgba(250, 202, 42, .7), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(250, 202, 42, .85); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost { background: rgba(255,255,255,.06); color: var(--white); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #05301a; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, .8); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .95); }
.nav__wa { --h: 42px; padding: 0 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 100px 16px 90px; position: relative;
}
.hero__logo {
  width: clamp(210px, 25vw, 340px); height: auto; margin: 0 auto 30px;
  filter: drop-shadow(0 18px 40px rgba(0, 10, 60, .45));
  animation: logoIn 1.2s var(--ease) .05s both;
}
@keyframes logoIn {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-30px); opacity: .2; }
  to { clip-path: inset(0 -10% 0 0); transform: none; opacity: 1; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--blue-200);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(250,202,42,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(250,202,42,0); } 100% { box-shadow: 0 0 0 0 rgba(250,202,42,0); } }

.hero__title {
  margin: 0; font-weight: 900; font-stretch: 125%; line-height: .88; letter-spacing: -0.02em;
  font-size: clamp(46px, 11.2vw, 168px); color: var(--white);
  display: flex; flex-direction: column; align-items: center;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .word {
  display: inline-block; clip-path: inset(-10% -5% 0 -5%);
  animation: wordUp 1.1s var(--ease) var(--d, 0s) both;
}
@keyframes wordUp { from { transform: translateY(105%) rotate(4deg); clip-path: inset(0 -5% 100% -5%); } to { clip-path: inset(-10% -5% -10% -5%); } }
.line--accent { position: relative; padding-bottom: .2em; }
.word--accent {
  color: var(--yellow);
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow) 40%, #fff3b8 50%, var(--yellow) 60%, var(--yellow) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: wordUp 1.1s var(--ease) var(--d, 0s) both, shimmer 5s ease-in-out 2.2s infinite;
}
@keyframes shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }

.hero__arrow { position: absolute; left: .03em; right: 0; bottom: .01em; height: .16em; }
.hero__arrow-shaft {
  position: absolute; left: 0; right: .08em; top: 50%; height: .085em; margin-top: -.0425em; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center; animation: grow 1s var(--ease) 1s forwards;
  box-shadow: 0 0 30px rgba(250, 202, 42, .35);
}
.hero__arrow-head {
  position: absolute; right: 0; top: 0; width: .13em; height: 100%; background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0; animation: head .5s var(--ease-back) 1.75s forwards;
}
@keyframes grow { to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes head { from { opacity: 0; transform: translateX(-40px) scale(.6); } to { opacity: 1; transform: none; } }

.hero__lead { max-width: 600px; margin: 34px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--blue-200); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero__facts { list-style: none; display: flex; gap: clamp(18px, 4vw, 48px); padding: 0; margin: 46px 0 0; }
.hero__facts li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero__facts strong { font-size: 28px; font-weight: 900; font-stretch: 115%; color: var(--white); }
.hero__facts span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.reveal { animation: fadeUp 1s var(--ease) var(--d, 0s) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; background: var(--yellow); color: var(--blue-900);
  transform: rotate(-2deg) scale(1.04); margin: 72px 0 80px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
}
.marquee__track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 18px 0; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 900; font-stretch: 125%; font-size: clamp(20px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: -.01em; }
.marquee i { font-style: normal; font-weight: 900; font-size: clamp(20px, 2.6vw, 34px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Join ---------- */
.join { padding: 40px 16px 110px; max-width: 920px; margin: 0 auto; }
.join__intro { text-align: center; margin-bottom: 44px; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }
.join__intro h2 { margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: .95; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; color: var(--white); text-transform: uppercase; }
.join__intro h2 span { color: var(--yellow); }
.join__intro p:last-child { max-width: 520px; margin: 20px auto 0; color: var(--blue-200); line-height: 1.6; }

.in-view { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.in-view.is-visible { opacity: 1; transform: none; }

.card {
  position: relative; padding: clamp(22px, 5vw, 56px);
  border-radius: clamp(26px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025) 40%, rgba(0, 20, 80, .25));
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(0, 10, 50, .7), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.card__shine {
  pointer-events: none; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.09), transparent 45%);
}
.card:hover .card__shine { opacity: 1; }

/* progress */
.progress { position: relative; margin-bottom: 40px; padding: 4px 18px 0 0; }
.progress__track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); }
.progress__fill {
  position: relative; height: 100%; width: 0; border-radius: 8px 0 0 8px;
  background: var(--yellow); box-shadow: 0 0 20px rgba(250,202,42,.45);
  transition: width .7s var(--ease);
}
.progress__fill::after {
  content: ""; position: absolute; left: calc(100% - 1px); top: 50%; width: 18px; height: 22px; margin-top: -11px;
  background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%);
  filter: drop-shadow(0 0 8px rgba(250,202,42,.6));
}
.progress__label { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.progress__label span, .progress__label b { color: var(--yellow); font-weight: 800; }
.progress__label i { font-style: normal; margin: 0 4px; opacity: .6; }
.progress.is-complete .progress__fill::after { animation: nudge 1s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* fields */
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.group { border: 0; padding: 0; margin: 0 0 38px; min-width: 0; }
.group legend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 0; margin-bottom: 16px;
  font-size: clamp(17px, 2vw, 20px); font-weight: 800; color: var(--white); letter-spacing: -.005em;
}
.group legend .q { flex: 1 1 auto; min-width: 0; }
.group legend .opt { margin-left: 8px; vertical-align: 2px; }
.group legend em, .field label em { color: var(--yellow); font-style: normal; }
.num { font-size: 12px; font-weight: 800; font-stretch: 125%; color: var(--blue-900); background: var(--yellow); padding: 4px 8px; border-radius: 8px; letter-spacing: .04em; }
.opt { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.sub { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 62px; padding: 24px 18px 8px;
  font: inherit; font-size: 16px; font-weight: 500; color: var(--white);
  background: rgba(0, 24, 80, .35); border: 1.5px solid var(--line); border-radius: 16px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { height: auto; min-height: 130px; padding-top: 30px; resize: vertical; line-height: 1.5; }
.field label {
  position: absolute; left: 19px; top: 21px; pointer-events: none;
  font-size: 16px; font-weight: 500; color: var(--muted);
  transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:hover, .field textarea:hover { border-color: rgba(190, 210, 255, .5); }
.field input:focus, .field textarea:focus { border-color: var(--yellow); background: rgba(0, 24, 80, .55); box-shadow: 0 0 0 4px rgba(250, 202, 42, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-12px) scale(.74); color: var(--blue-200); }
.field input:focus + label, .field textarea:focus + label { color: var(--yellow); }
.field .hint, .field .count { display: block; margin: 7px 4px 0; font-size: 12px; color: var(--muted); }
.field .count { text-align: right; }
.field--other { margin-top: 14px; animation: slideIn .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

.err { display: block; min-height: 0; margin: 0 4px; font-size: 13px; font-weight: 600; color: var(--danger); overflow: hidden; max-height: 0; transition: max-height .3s, margin .3s; }
.has-error > .err, .has-error .field > .err { max-height: 30px; margin-top: 8px; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 138, 122, .12); }
.field.has-error .hint { display: none; }
.has-error { animation: shake .45s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input, .year input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: rgba(0, 24, 80, .3);
  font-size: 15px; font-weight: 600; color: var(--ink); user-select: none;
  transition: background .3s var(--ease), border-color .3s, color .3s, transform .35s var(--ease-back), box-shadow .3s;
}
.pill:hover span { border-color: rgba(200, 218, 255, .6); transform: translateY(-2px); }
.pill input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.pill input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--blue-900); box-shadow: 0 10px 24px -10px rgba(250,202,42,.8); transform: translateY(-2px) scale(1.03); }
.pill--sq span { min-width: 72px; justify-content: center; font-weight: 800; font-stretch: 115%; letter-spacing: .04em; }
.pill--check span::before {
  content: ""; width: 16px; height: 16px; margin-left: -4px; border-radius: 6px; border: 1.5px solid currentColor; opacity: .55;
  transition: all .3s var(--ease);
  background: no-repeat center / 12px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2300205f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 0;
}
.pill--check input:checked + span::before { opacity: 1; background-color: var(--white); border-color: var(--white); background-size: 12px; }

/* years */
.years { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; gap: 0; border-radius: 20px; border: 1.5px solid var(--line); background: rgba(0, 24, 80, .3); }
.year { position: relative; z-index: 1; cursor: pointer; }
.year span { display: flex; align-items: baseline; justify-content: center; height: 54px; align-items: center; border-radius: 14px; color: var(--ink); transition: color .35s; user-select: none; }
.year b { font-size: 24px; font-weight: 900; font-stretch: 120%; }
.year i { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 2px; align-self: flex-start; margin-top: 14px; }
.year:hover span { color: var(--white); }
.year input:checked + span { color: var(--blue-900); }
.year input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: -2px; }
.years__bar {
  --i: 0; position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 5);
  border-radius: 14px; background: var(--yellow); box-shadow: 0 10px 24px -10px rgba(250,202,42,.9);
  transform: translateX(calc(var(--i) * 100%)) scale(.6); opacity: 0;
  transition: transform .55s var(--ease-back), opacity .3s;
}
.years:has(input:checked) .years__bar { opacity: 1; transform: translateX(calc(var(--i) * 100%)); }
.years:has(input[value="2"]:checked) .years__bar { --i: 1; }
.years:has(input[value="3"]:checked) .years__bar { --i: 2; }
.years:has(input[value="4"]:checked) .years__bar { --i: 3; }
.years:has(input[value="5"]:checked) .years__bar { --i: 4; }

/* submit */
.submit-row { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 10px; }
.form-error { margin: 0; min-height: 1em; font-size: 14px; font-weight: 600; color: var(--danger); text-align: center; }

.btn--submit .label { transition: opacity .2s; }
.btn--submit .spinner { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(0,32,95,.25); border-top-color: var(--blue-900); opacity: 0; animation: spin .8s linear infinite; }
.btn--submit.is-loading { pointer-events: none; }
.btn--submit.is-loading .label, .btn--submit.is-loading .arrow { opacity: 0; }
.btn--submit.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success */
.success { text-align: center; padding: 20px 0 10px; }
.success:not([hidden]) > * { animation: fadeUp .9s var(--ease) both; }
.success > :nth-child(2) { animation-delay: .35s !important; }
.success > :nth-child(3) { animation-delay: .45s !important; }
.success > :nth-child(4) { animation-delay: .55s !important; }
.success > :nth-child(5) { animation-delay: .7s !important; }
.success > :nth-child(6) { animation-delay: .8s !important; }
.success__badge { width: 120px; height: 120px; margin: 0 auto 26px; color: var(--yellow); }
.success__badge svg { width: 100%; height: 100%; }
.success__badge circle { stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s var(--ease) .1s forwards; }
.success__badge path { stroke-width: 7; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .6s var(--ease) .8s forwards; }
.success h3 { margin: 0; font-size: clamp(30px, 5vw, 52px); line-height: 1; font-weight: 900; font-stretch: 118%; color: var(--white); text-transform: uppercase; letter-spacing: -.02em; }
.success h3 span { color: var(--yellow); }
.success__text { max-width: 460px; margin: 20px auto 30px; color: var(--blue-200); line-height: 1.6; }
.success__text strong { color: var(--white); }
.success__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.success__wa { width: 100%; max-width: 420px; white-space: normal; text-align: center; line-height: 1.2; }
.success__wa span { min-width: 0; }
.success__wa svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .success { padding: 8px 0 0; }
  .success__badge { width: 92px; height: 92px; margin-bottom: 20px; }
  .success h3 { font-size: clamp(26px, 8.5vw, 36px); overflow-wrap: anywhere; }
  .success__text { margin: 16px auto 24px; font-size: 15px; overflow-wrap: anywhere; }
  .success__wa { --h: 60px; padding: 0 20px; font-size: 16px; }
  .success__social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .success__social .btn { --h: 52px; padding: 0 10px; font-size: 14px; white-space: normal; line-height: 1.15; }
}
@media (max-width: 380px) {
  .success__social { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 60px 16px 46px; background: linear-gradient(to bottom, transparent, rgba(0, 16, 60, .45)); }
.footer__logo { width: 210px; height: auto; margin: 0 auto; }
.footer__tag { margin: 18px 0 20px; font-weight: 800; font-stretch: 120%; text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.footer__links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-weight: 600; color: var(--blue-200); position: relative; }
.footer__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__copy { margin: 26px 0 0; font-size: 13px; color: var(--muted); }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav__wa span { display: none; }
  .nav__wa { width: 42px; padding: 0; }
  .nav__logo img { height: 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; max-width: 340px; }
  .pill span { height: 42px; padding: 0 14px; font-size: 14px; }
  .pill--sq span { min-width: 0; padding: 0 16px; }
  .year b { font-size: 20px; }
  .year span { height: 48px; }
  .hero__facts strong { font-size: 22px; }
  .hero__eyebrow { font-size: 11px; padding: 7px 12px; letter-spacing: .02em; }
  .hero__facts span { font-size: 10px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .streak, .bg__grain { display: none; }
}

/* ---------- Wizard ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.step { min-width: 0; }
.step[hidden] { display: none; }
.step.from-right { animation: stepInR .6s var(--ease) both; }
.step.from-left { animation: stepInL .6s var(--ease) both; }
@keyframes stepInR { from { opacity: 0; transform: translateX(48px); filter: blur(6px); } }
@keyframes stepInL { from { opacity: 0; transform: translateX(-48px); filter: blur(6px); } }
.step__head { margin-bottom: 30px; }
.step__kicker { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }
.step__head h3 { margin: 0; font-size: clamp(28px, 4.4vw, 46px); line-height: 1; font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; color: var(--white); text-transform: uppercase; }
.step__sub { margin: 12px 0 0; color: var(--blue-200); line-height: 1.5; }
.step .group:last-child { margin-bottom: 0; }
.step-nav { display: flex; align-items: center; gap: 12px; padding-top: 36px; }
.step-nav__next { margin-left: auto; min-width: 190px; }
.step-nav .form-error { flex: 1; }
.form-error { margin: 26px 0 -14px; text-align: left; }
.form-error:empty { margin: 0; min-height: 0; }
@media (max-width: 720px) {
  .step-nav { gap: 10px; }
  .step-nav__back { padding: 0 18px; }
  .step-nav__next { flex: 1; min-width: 0; }
}

[hidden] { display: none !important; }

/* ---------- What to expect ---------- */
.expect { max-width: 1080px; margin: 0 auto; padding: 20px 16px 90px; }
.expect__intro { text-align: center; margin-bottom: 46px; }
.expect__intro h2 { margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: .95; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; color: var(--white); text-transform: uppercase; }
.expect__intro h2 span { color: var(--yellow); }
.expect__intro p:last-child { margin: 18px auto 0; color: var(--blue-200); line-height: 1.6; }

.expect__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.xcard { grid-column: span 2; }
.xcard:nth-child(-n+2) { grid-column: span 3; }
.xcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 210px; padding: 26px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025) 45%, rgba(0, 20, 80, .3));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(0, 10, 50, .8), inset 0 1px 0 rgba(255,255,255,.15);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity 1s var(--ease) calc(var(--i) * 90ms), transform 1s var(--ease) calc(var(--i) * 90ms), border-color .4s, box-shadow .4s;
}
.xcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at 85% 0%, rgba(250, 202, 42, .22), transparent 60%);
}
.xcard.is-visible:hover { transform: translateY(-6px); border-color: rgba(250, 202, 42, .6); box-shadow: 0 40px 80px -30px rgba(0, 10, 50, .9), 0 0 0 1px rgba(250,202,42,.15); transition-delay: 0s; }
.xcard:hover::before { opacity: 1; }
.xcard__num { position: absolute; top: 20px; right: 24px; font-size: 56px; font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.07); transition: color .4s, transform .5s var(--ease); }
.xcard:hover .xcard__num { color: rgba(250, 202, 42, .35); transform: translateY(-4px); }
.xcard__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--yellow); color: var(--blue-900); box-shadow: 0 12px 26px -12px rgba(250,202,42,.8); transition: transform .5s var(--ease-back); }
.xcard__icon svg { width: 26px; height: 26px; }
.xcard__icon path, .xcard__icon rect, .xcard__icon circle { stroke-width: 2; }
.xcard:hover .xcard__icon { transform: rotate(-8deg) scale(1.08); }
.xcard h3 { margin: 0; max-width: 20ch; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.12; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; color: var(--white); }

@media (max-width: 860px) {
  .expect__grid { grid-template-columns: 1fr 1fr; }
  .xcard, .xcard:nth-child(-n+2) { grid-column: span 1; }
  .xcard:last-child { grid-column: span 2; }
  .xcard { min-height: 190px; padding: 22px; }
}
@media (max-width: 560px) {
  .expect__grid { grid-template-columns: 1fr; gap: 12px; }
  .xcard, .xcard:last-child { grid-column: span 1; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 18px; border-radius: 22px; }
  .xcard h3 { font-size: 18px; max-width: none; }
  .xcard__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; }
  .xcard__num { top: 10px; right: 16px; font-size: 38px; }
}

/* ---------- Certificates programme ---------- */
.certs { max-width: 1140px; margin: 0 auto; padding: 10px 16px 100px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.certs__copy h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: .98; font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; color: var(--white); text-transform: uppercase; }
.certs__copy h2 span { color: var(--yellow); }
.certs__lead { margin: 22px 0 0; color: var(--blue-200); font-size: 17px; line-height: 1.6; }
.certs__points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.certs__points li { display: flex; gap: 16px; align-items: flex-start; }
.certs__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(250, 202, 42, .14); border: 1px solid rgba(250, 202, 42, .45); color: var(--yellow); transition: background .4s, color .4s, transform .5s var(--ease-back); }
.certs__icon svg { width: 22px; height: 22px; }
.certs__points li:hover .certs__icon { background: var(--yellow); color: var(--blue-900); transform: rotate(-8deg) scale(1.06); }
.certs__points h3 { margin: 2px 0 4px; font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -.005em; }
.certs__points p { margin: 0; color: var(--blue-200); line-height: 1.55; font-size: 15px; }

.certs__stage { position: relative; padding: 18px 0 0 0; transition-delay: .15s; }

/* the certificate (everything scales with its own width) */
.cert {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px;
  background: #fff; color: #00379b; text-align: center;
  box-shadow: 0 50px 90px -30px rgba(0, 8, 40, .85), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(-2.2deg); animation: floatA 7s ease-in-out infinite;
}
.cert > * { position: absolute; margin: 0; }
.cert__logo { left: 5cqw; top: 5cqw; width: 17cqw; height: auto; }
.cert__title { left: 0; right: 0; top: 4.6cqw; display: flex; flex-direction: column; align-items: center; line-height: .9; }
.cert__title b { font-size: 9.6cqw; font-weight: 900; font-stretch: 75%; letter-spacing: -.005em; text-transform: uppercase; }
.cert__title span { margin-top: .8cqw; font-size: 4.4cqw; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.cert__pre { left: 0; right: 0; top: 25.5cqw; font-size: 2.3cqw; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.cert__name { left: 4cqw; right: 4cqw; top: 30cqw; font-size: 9cqw; line-height: 1; font-weight: 900; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; }
.cert__name::after { content: ""; display: block; width: 46cqw; height: .45cqw; margin: 1.6cqw auto 0; background: rgba(0, 55, 155, .18); }
.cert__for { left: 0; right: 0; top: 43.3cqw; font-size: 2.5cqw; font-weight: 700; }
.cert__for i { font-style: normal; opacity: .5; margin: 0 .6cqw; }
.cert__arrow { left: 5cqw; right: 5cqw; bottom: 4.2cqw; height: 3.4cqw; }
.cert__arrow i { position: absolute; left: 0; right: 2.4cqw; top: 50%; height: 1.5cqw; margin-top: -.75cqw; background: var(--yellow); transform-origin: left; animation: grow 1.2s var(--ease) .4s both; }
.cert__arrow em { position: absolute; right: 0; top: 0; width: 3cqw; height: 100%; background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* recommendation card */
.rec {
  position: relative; z-index: 2; width: 72%; margin: -3.5% 0 0 auto; padding: 18px 20px 16px;
  background: #fff; color: #1d2a44; border-radius: 16px;
  box-shadow: 0 40px 70px -26px rgba(0, 8, 40, .8), 0 0 0 1px rgba(0, 20, 80, .06);
  animation: floatB 8s ease-in-out -2s infinite;
}
.rec__top { display: flex; gap: 12px; align-items: center; }
.rec__avatar { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #0b55d6, #00379b); display: grid; place-items: center; overflow: hidden; }
.rec__avatar b { color: #fff; font-size: 23px; line-height: 1; font-weight: 900; font-stretch: 85%; transform: translateY(-3px); }
.rec__avatar i { position: absolute; left: 11px; right: 11px; bottom: 11px; height: 3px; background: var(--yellow); border-radius: 2px; }
.rec__name { font-size: 15px; font-weight: 800; color: #111b30; line-height: 1.2; }
.rec__meta { margin: 3px 0 0; font-size: 12px; color: #667089; line-height: 1.35; }
.rec__text { margin: 13px 0 0; font-size: 13.5px; line-height: 1.55; color: #2a3550; }
.rec__tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #eef3fc; color: #00379b; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rec__tag svg { width: 14px; height: 14px; }
.rec__tag path, .rec__tag rect { stroke-width: 2.2; }

/* seal */
.seal { position: absolute; z-index: 3; top: -2%; right: -3%; width: clamp(72px, 15%, 118px); aspect-ratio: 1; filter: drop-shadow(0 14px 22px rgba(0, 8, 40, .55)); animation: sealIn 1s var(--ease-back) .5s both, floatA 6s ease-in-out 1.5s infinite; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal__scallop { fill: var(--yellow); stroke: none; }
.seal__ring { fill: none; stroke: #00379b; stroke-width: 2.4; stroke-dasharray: 3 4; }
.seal__arrow { fill: none; stroke: #00379b; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; } }
@keyframes sealIn { from { opacity: 0; transform: scale(.3) rotate(-60deg); } }

@media (max-width: 900px) {
  .certs { grid-template-columns: 1fr; gap: 44px; padding-bottom: 80px; }
  .seal { right: -1%; }
}
@media (max-width: 520px) {
  .rec { width: 92%; padding: 14px 15px 13px; margin-top: -2%; }
  .rec__text { font-size: 12.5px; }
  .rec__name { font-size: 14px; }
  .rec__meta { font-size: 11px; }
}

/* ---------- Glyph portal (scroll dive through the FORWARD word) ---------- */
.portal { position: relative; }
.portal__pin { position: relative; }
.portal__sheet, .portal__art, .portal__spacer { display: none; }
.portal-pending .word--accent, .portal--on .word--accent { visibility: hidden; }

.portal--on .portal__pin { position: sticky; top: 0; overflow: clip; isolation: isolate; contain: paint; }
.portal--on .portal__art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.portal--on .portal__art path { fill: var(--yellow); stroke: none; }
.portal--zoomed .portal__art path:not([data-target]) { display: none; }
.portal--on .portal__sheet { position: absolute; inset: 0; background: var(--yellow); overflow: hidden; pointer-events: none; }
.portal--flood .portal__sheet { display: block; }
.portal--flood .portal__art { visibility: hidden; }

.portal--on .portal__front { position: relative; pointer-events: none; will-change: opacity; }
.portal--on .portal__front a, .portal--on .portal__front button { pointer-events: auto; }
.portal--past .portal__front a, .portal--past .portal__front button { pointer-events: none; }
.portal--on .portal__front:focus-within { opacity: 1 !important; }
.portal--on .portal__spacer { display: block; height: calc(var(--gp-length, 2.4) * var(--gp-height, 100svh)); }
.portal--on.portal--compact .hero { padding-top: 56px; padding-bottom: 40px; }
.portal__probe { display: inline-block; width: 0; height: 0; }

/* ---------- Pillars (What to expect) ---------- */
.expect__grid--pillars { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expect__grid--pillars .xcard.pillar { grid-column: auto; justify-content: flex-start; gap: 18px; min-height: 340px; padding: 28px 26px; }
.pillar .xcard__icon { margin-bottom: 8px; }
.pillar h3 { max-width: none; font-size: clamp(22px, 2.5vw, 30px); line-height: 1; font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase; }
.pillar h3::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 18px; border-radius: 2px; background: var(--yellow); transition: width .5s var(--ease); }
.pillar:hover h3::after { width: 84px; }
.pillar__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.pillar__list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--blue-200); }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 10px; background: var(--yellow); clip-path: polygon(0 35%, 62% 35%, 62% 0, 100% 50%, 62% 100%, 62% 65%, 0 65%); }
.pillar:hover .pillar__list li { color: var(--white); }
.pillar__list li { transition: color .3s; }

@media (max-width: 1000px) {
  .pillar h3 { font-size: 36px; }
  .expect__grid--pillars { grid-template-columns: 1fr 1fr; }
  .expect__grid--pillars .xcard.pillar { grid-column: auto; min-height: 300px; }
}
@media (max-width: 560px) {
  .expect__grid--pillars { grid-template-columns: 1fr; }
  .expect__grid--pillars .xcard.pillar, .expect__grid--pillars .xcard.pillar:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; min-height: 0; padding: 24px 22px; border-radius: 24px; }
  .pillar h3 { font-size: 34px; }
  .pillar .xcard__icon { width: 50px; height: 50px; border-radius: 15px; }
  .pillar .xcard__num { top: 14px; right: 18px; font-size: 44px; }
}

/* ---------- No sideways scrolling ---------- */
main { overflow-x: clip; max-width: 100%; }
.footer, .nav { max-width: 100%; }

/* ---------- Phones & tablets: calmer, cheaper effects so scrolling stays smooth ---------- */
@keyframes fadeUpLite { from { opacity: 0; transform: translateY(18px); } }
@keyframes stepFadeR { from { opacity: 0; transform: translateX(28px); } }
@keyframes stepFadeL { from { opacity: 0; transform: translateX(-28px); } }
@media (hover: none), (pointer: coarse) {
  html { scroll-behavior: auto; }
  .bg__grain { display: none; }
  .bg__grid { animation: none; }
  .bg__glow { animation: none; filter: blur(50px); opacity: .45; }
  .streak:nth-child(n+7) { display: none; }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 32, 95, .94); }
  .card, .xcard, .btn--ghost, .rec { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card { background: linear-gradient(160deg, rgba(40, 80, 190, .55), rgba(0, 30, 100, .72)); }
  .xcard { background: linear-gradient(160deg, rgba(40, 80, 190, .45), rgba(0, 30, 100, .6)); }
  .word--accent { animation-name: wordUp; }
  .reveal { animation-name: fadeUpLite; }
  .step.from-right { animation-name: stepFadeR; }
  .step.from-left { animation-name: stepFadeL; }
  .success:not([hidden]) > * { animation-name: fadeUpLite; }
  .cert, .rec, .seal { animation: none; }
}

/* Comfortable tap targets (44px) on touch screens */
@media (hover: none), (pointer: coarse) {
  .footer__links { gap: 8px 14px; }
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
  .nav__logo { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin: 0 -14px; }
  .rec__meta { font-size: 12px; }
}
