/* ==========================================================================
   Emporia Education — Public site
   Landing banner, showcase slider, features, registration, policy pages
   ========================================================================== */

:root {
  --ink: #0a1540;
  --ink-2: #111f57;
  --navy: #183883;
  --navy-600: #1e46a3;
  --blue: #3d6df5;
  --sky: #8fb2ff;
  --green: #68b92e;
  --green-600: #4f9a1b;
  --lime: #b6ec6a;
  --amber: #ffb547;
  --rose: #ff7a8a;
  --surface: #f4f6fc;
  --card: #ffffff;
  --text: #16204a;
  --muted: #5d6890;
  --line: #e3e8f4;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 21, 64, .06), 0 2px 8px rgba(10, 21, 64, .05);
  --shadow: 0 10px 30px -12px rgba(10, 21, 64, .22), 0 2px 6px rgba(10, 21, 64, .06);
  --shadow-lg: 0 40px 80px -30px rgba(10, 21, 64, .45), 0 10px 30px -10px rgba(10, 21, 64, .2);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ep {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(body.ep) img { max-width: 100%; display: block; }
:where(body.ep) a { color: inherit; text-decoration: none; }
:where(body.ep) :is(h1, h2, h3, h4) { font-family: var(--display); color: inherit; margin: 0; letter-spacing: -.02em; line-height: 1.1; }
:where(body.ep) p { margin: 0; }
.ep-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ep-only-mobile { display: none; }
.ep-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.ep-btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .95rem/1 var(--font); letter-spacing: .01em; white-space: nowrap;
  color: var(--fg) !important; background: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  isolation: isolate; overflow: hidden;
}
.ep-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.ep-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(24, 56, 131, .6); }
.ep-btn:hover::after { transform: translateX(120%); }
.ep-btn:active { transform: translateY(0) scale(.98); }
.ep-btn[disabled], .ep-btn.is-busy { opacity: .7; pointer-events: none; }
.ep-btn i { font-size: .95em; transition: transform .35s var(--ease); }
.ep-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.ep-btn--green { --bg: linear-gradient(135deg, var(--green) 0%, #43a01a 100%); }
.ep-btn--green:hover { box-shadow: 0 14px 30px -12px rgba(79, 154, 27, .7); }
.ep-btn--light { --bg: #fff; --fg: var(--navy); }
.ep-btn--glass { --bg: rgba(255,255,255,.1); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.ep-btn--glass:hover { --bg: rgba(255,255,255,.18); }
.ep-btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.ep-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.ep-btn--block { width: 100%; padding: 1rem 1.35rem; }
.ep-btn--sm { padding: .62rem 1.05rem; font-size: .88rem; }

/* ---------- Announcement strip ---------- */
.ep-strip {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, #0a1540, #183883 40%, #2b5a17 100%);
  color: #e8eeff; font-size: .85rem; font-weight: 600;
}
.ep-strip__inner { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .55rem 0; text-align: center; }
.ep-strip__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(182, 236, 106, .7); animation: epPulse 2s infinite; flex: none; }
.ep-strip a { color: var(--lime) !important; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.ep-strip a:hover { text-decoration: underline; }
@keyframes epPulse { 70% { box-shadow: 0 0 0 10px rgba(182, 236, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 236, 106, 0); } }

/* ---------- Navbar ---------- */
.ep-nav { position: sticky; top: 0; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.ep-nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.ep-nav__brand { display: flex; align-items: center; flex: none; }
.ep-nav__brand img { height: 44px; width: auto; }
.ep-nav__brand .logo-dark { display: none; }
.ep-nav__links { display: flex; gap: .3rem; margin: 0 auto; padding: 0; list-style: none; }
.ep-nav__links a { display: block; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.82); transition: background .25s, color .25s; }
.ep-nav__links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.ep-nav__actions { display: flex; align-items: center; gap: .6rem; }
.ep-nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; cursor: pointer; }
.ep-nav.is-solid, .ep-nav--light { background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10,21,64,.35); }
.ep-nav.is-solid .logo-light, .ep-nav--light .logo-light { display: none; }
.ep-nav.is-solid .logo-dark, .ep-nav--light .logo-dark { display: block; }
.ep-nav.is-solid .ep-nav__links a, .ep-nav--light .ep-nav__links a { color: var(--muted); }
.ep-nav.is-solid .ep-nav__links a:hover, .ep-nav--light .ep-nav__links a:hover { color: var(--navy); background: #eef2fb; }
.ep-nav.is-solid .ep-btn--glass, .ep-nav--light .ep-btn--glass { --bg: #eef2fb; --fg: var(--navy); box-shadow: none; }
.ep-nav.is-solid .ep-nav__toggle, .ep-nav--light .ep-nav__toggle { background: #eef2fb; color: var(--navy); }
.ep-hero-wrap .ep-nav { position: absolute; top: auto; left: 0; right: 0; }
.ep-hero-wrap .ep-nav.is-solid { position: fixed; top: 0; animation: epDrop .45s var(--ease); }
@keyframes epDrop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Hero banner ---------- */
.ep-hero-wrap { position: relative; }
.ep-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(61,109,245,.55), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(104,185,46,.45), transparent 60%),
              linear-gradient(160deg, #0a1540 0%, #132a6b 55%, #183883 100%);
  padding: 150px 0 120px;
}
.ep-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.ep-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; pointer-events: none;
  background: var(--surface);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.ep-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: epFloat 16s ease-in-out infinite; }
.ep-blob--1 { width: 420px; height: 420px; background: #3d6df5; top: -120px; right: 8%; }
.ep-blob--2 { width: 360px; height: 360px; background: #68b92e; bottom: -140px; left: -80px; animation-delay: -6s; }
.ep-blob--3 { width: 220px; height: 220px; background: #ffb547; top: 40%; left: 42%; opacity: .25; animation-delay: -10s; }
@keyframes epFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.08); } 66% { transform: translate(-25px, 20px) scale(.95); } }

.ep-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ep-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: #dfe7ff;
}
.ep-eyebrow b { background: var(--green); color: #fff; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.ep-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; margin: 1.3rem 0 1.2rem; letter-spacing: -.035em; line-height: 1.02; }
.ep-hero h1 .hl { position: relative; display: inline-block; color: var(--lime); }
.ep-hero h1 .hl svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em; overflow: visible; }
.ep-hero h1 .hl path { stroke: var(--green); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: epDraw 1.4s .6s var(--ease) forwards; }
@keyframes epDraw { to { stroke-dashoffset: 0; } }
.ep-hero__lead { font-size: 1.12rem; color: #c9d5f7; max-width: 560px; }
.ep-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.ep-hero__stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.ep-stat strong { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.ep-stat span { font-size: .85rem; color: #aebde8; font-weight: 600; }

/* Login card */
.ep-login { position: relative; perspective: 1200px; }
.ep-login__card {
  position: relative; z-index: 2; color: var(--text);
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.6);
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.ep-login__card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(104,185,46,.9), rgba(61,109,245,.9) 50%, rgba(255,181,71,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ep-login__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.ep-login__mark { width: 52px; height: 52px; border-radius: 16px; background: #eef3ff; display: grid; place-items: center; flex: none; }
.ep-login__mark img { width: 38px; }
.ep-login__head h2 { font-size: 1.6rem; font-weight: 800; }
.ep-login__head p { color: var(--muted); font-size: .92rem; }
.ep-login__foot { margin-top: 1.2rem; text-align: center; font-size: .92rem; color: var(--muted); }
.ep-login__foot a { color: var(--navy); font-weight: 700; }
.ep-login__foot a:hover { color: var(--green-600); }
.ep-chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem;
  padding: .6rem .9rem .6rem .6rem; border-radius: 16px; background: #fff; color: var(--text);
  font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap;
  animation: epBob 6s ease-in-out infinite;
}
.ep-chip-float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .85rem; }
.ep-chip-float small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.ep-chip-float--a { top: -26px; left: -42px; }
.ep-chip-float--a .ic { background: linear-gradient(135deg, #3d6df5, #183883); }
.ep-chip-float--b { bottom: -24px; right: -30px; animation-delay: -3s; }
.ep-chip-float--b .ic { background: linear-gradient(135deg, #68b92e, #3f8a12); }
@keyframes epBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Form fields ---------- */
.ep-field { position: relative; margin-bottom: 1rem; }
.ep-field > i.ep-field__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #93a0c4; font-size: .95rem; transition: color .25s; pointer-events: none; }
.ep-field input, .ep-field select, .ep-field textarea {
  width: 100%; height: 56px; padding: 1.35rem 1rem .45rem 2.75rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: #f8faff; color: var(--text);
  font: 600 .98rem var(--font); outline: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
.ep-field label { position: absolute; left: 2.75rem; top: 50%; transform: translateY(-50%); color: #8390b5; font-size: .95rem; font-weight: 600; pointer-events: none; transition: all .2s var(--ease); }
.ep-field input:focus, .ep-field select:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(61,109,245,.14); }
.ep-field input:focus ~ i.ep-field__icon { color: var(--blue); }
.ep-field input:focus + label, .ep-field input:not(:placeholder-shown) + label { top: 15px; transform: none; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.ep-field input:not(:focus):not(:placeholder-shown) + label { color: #8390b5; }
.ep-field__eye { position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #8390b5; cursor: pointer; }
.ep-field__eye:hover { background: #eef2fb; color: var(--navy); }
.ep-field--eye input { padding-right: 3.2rem; }
.ep-req { color: #e2465a; }

.ep-alert { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; animation: epShake .5s var(--ease); }
.ep-alert i { margin-top: .2rem; }
.ep-alert--error { background: #fff1f3; color: #b4233a; box-shadow: inset 0 0 0 1px #ffd2d9; }
.ep-alert--success { background: #effbe6; color: #2f6f0c; box-shadow: inset 0 0 0 1px #cfeeb6; animation: none; }
.ep-alert .ep-alert__x { margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; opacity: .6; font-size: 1rem; }
@keyframes epShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- Section heads ---------- */
.ep-section { padding: 96px 0; position: relative; }
.ep-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.ep-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.ep-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ep-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; margin: .9rem 0 1rem; color: var(--ink); }
.ep-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Showcase coverflow slider ---------- */
.ep-showcase { padding: 40px 0 80px; overflow: hidden; }
.ep-cf { --w: min(62vw, 880px); --ratio: .7297; position: relative; user-select: none; -webkit-user-select: none; }
.ep-cf__stage { position: relative; height: calc(var(--w) * var(--ratio)); perspective: 1600px; touch-action: pan-y; }
.ep-cf__slide {
  position: absolute; top: 0; left: 50%; width: var(--w); height: 100%; margin-left: calc(var(--w) / -2);
  border-radius: 26px; overflow: hidden; background: #dfe5f3;
  box-shadow: 0 50px 90px -40px rgba(10,21,64,.55), 0 0 0 1px rgba(10,21,64,.06);
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  will-change: transform; cursor: pointer;
}
.ep-cf__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); pointer-events: none; -webkit-user-drag: none; }
.ep-cf__slide.is-active img { animation: epKen 9s ease-out forwards; }
@keyframes epKen { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.ep-cf__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,21,64,.55)); opacity: 0; transition: opacity .6s; }
.ep-cf__slide.is-active::after { opacity: 1; }
.ep-cf__slide:not(.is-active) { filter: saturate(.75) brightness(.8); }
.ep-cf__cap {
  position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: #fff; opacity: 0; transform: translateY(14px); transition: all .6s .25s var(--ease);
}
.ep-cf__slide.is-active .ep-cf__cap { opacity: 1; transform: none; }
.ep-cf__cap strong { font-family: var(--display); font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.ep-cf__count { flex: none; padding: .4rem .75rem; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.ep-cf__arrow {
  position: absolute; top: 50%; z-index: 30; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 1.05rem; box-shadow: var(--shadow); transition: transform .3s var(--ease), background .3s, color .3s;
}
.ep-cf__arrow:hover { background: var(--navy); color: #fff; transform: scale(1.08); }
.ep-cf__arrow--prev { left: calc(50% - var(--w) / 2 - 28px); }
.ep-cf__arrow--next { right: calc(50% - var(--w) / 2 - 28px); }
.ep-cf__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 34px; }
.ep-cf__dot { position: relative; width: 34px; height: 6px; border-radius: 6px; border: 0; padding: 0; cursor: pointer; background: #c3cce3; overflow: hidden; transition: width .5s var(--ease), background .3s; }
.ep-cf__dot:hover { background: #bcc7e3; }
.ep-cf__dot.is-active { width: 76px; }
.ep-cf__dot span { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--navy), var(--green)); border-radius: inherit; }
.ep-cf--single .ep-cf__arrow, .ep-cf--single .ep-cf__dots { display: none; }

/* ---------- Features (bento) ---------- */
.ep-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.ep-tile {
  --c1: #3d6df5; --c2: #183883;
  position: relative; grid-column: span 4; padding: 28px; border-radius: 24px; background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ep-tile::before {
  content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.ep-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), inset 0 0 0 1px color-mix(in srgb, var(--c1) 30%, var(--line)); }
.ep-tile:hover::before { opacity: 1; }
.ep-tile__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.35rem; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 14px 26px -12px var(--c1); margin-bottom: 22px; transition: transform .5s var(--ease); }
.ep-tile:hover .ep-tile__ic { transform: rotate(-8deg) scale(1.06); }
.ep-tile h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.ep-tile p { color: var(--muted); font-size: .96rem; }
.ep-tile--wide { grid-column: span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.ep-tile--dark { background: linear-gradient(150deg, #0a1540, #183883); color: #fff; box-shadow: var(--shadow); }
.ep-tile--dark h3 { color: #fff; }
.ep-tile--dark p { color: #bfcbf0; }
.ep-tile--green { --c1: #68b92e; --c2: #3f8a12; }
.ep-tile--amber { --c1: #ffb547; --c2: #f07b16; }
.ep-tile--rose { --c1: #ff7a8a; --c2: #d93a63; }
.ep-tile--sky { --c1: #36b9e8; --c2: #1d7fc4; }
.ep-tile--violet { --c1: #8b6cf6; --c2: #5b3fd1; }
.ep-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ep-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eef2fb; color: var(--navy); transition: transform .3s var(--ease), background .3s; }
.ep-tile--dark .ep-pill { background: rgba(255,255,255,.1); color: #e6ecff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.ep-pill:hover { transform: translateY(-2px); }
.ep-player { position: relative; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #1e46a3, #0a1540); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ep-player__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; }
.ep-player__play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 0 0 12px rgba(255,255,255,.12), 0 0 0 26px rgba(255,255,255,.06); animation: epRing 2.4s infinite; }
@keyframes epRing { 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 0 0 36px rgba(255,255,255,.03); } }
.ep-player__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.ep-player__bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--lime), var(--green)); border-radius: inherit; animation: epProg 6s linear infinite; }
@keyframes epProg { from { width: 4%; } to { width: 96%; } }
.ep-player__cube { position: absolute; top: 18px; right: 18px; padding: .35rem .65rem; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }

/* ---------- Steps ---------- */
.ep-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.ep-steps::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #c5cfe8 0 8px, transparent 8px 16px); }
.ep-step { position: relative; text-align: center; padding: 0 12px; }
.ep-step__num { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: 1.7rem; color: var(--navy); transition: transform .5s var(--ease), background .4s, color .4s; }
.ep-step:hover .ep-step__num { transform: translateY(-6px) rotate(-6deg); background: var(--navy); color: #fff; }
.ep-step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font: 800 .8rem/28px var(--font); box-shadow: 0 0 0 4px var(--surface); }
.ep-step h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.ep-step p { color: var(--muted); font-size: .96rem; max-width: 300px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.ep-cta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px; color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  background: radial-gradient(600px 300px at 90% 0%, rgba(104,185,46,.55), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(61,109,245,.6), transparent 60%), linear-gradient(135deg, #0a1540, #183883); box-shadow: var(--shadow-lg); }
.ep-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.ep-cta > * { position: relative; }
.ep-cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: .7rem; }
.ep-cta p { color: #c9d5f7; font-size: 1.05rem; }
.ep-cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.ep-footer { background: #0a1540; color: #aab8e3; padding: 72px 0 0; margin-top: 96px; position: relative; overflow: hidden; }
.ep-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(104,185,46,.25), transparent 65%); }
.ep-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.ep-footer__brand img { height: 46px; width: auto; margin-bottom: 1.1rem; }
.ep-footer__brand p { max-width: 360px; font-size: .95rem; }
.ep-footer h4 { font-family: var(--font); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 1.1rem; }
.ep-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ep-footer ul a { font-size: .95rem; transition: color .25s, padding .25s; display: inline-flex; align-items: center; gap: .5rem; }
.ep-footer ul a:hover { color: #fff; padding-left: 4px; }
.ep-footer__contact li { display: flex; gap: .7rem; font-size: .95rem; }
.ep-footer__contact i { color: var(--green); margin-top: .3rem; }
.ep-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.ep-footer__bottom b { color: #fff; }
.ep-totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); }
.ep-totop.is-show { opacity: 1; transform: none; }
.ep-totop:hover { background: var(--green); }

/* ---------- Inner page hero (registration / policies) ---------- */
.ep-pagehero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 120px; background: radial-gradient(800px 400px at 90% 0%, rgba(61,109,245,.5), transparent 60%), radial-gradient(700px 400px at 0% 120%, rgba(104,185,46,.4), transparent 60%), linear-gradient(160deg, #0a1540, #183883); }
.ep-pagehero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); }
.ep-pagehero .ep-container { position: relative; }
.ep-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: #aebde8; margin-bottom: 1rem; }
.ep-crumbs a:hover { color: #fff; }
.ep-pagehero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
.ep-pagehero p { color: #c9d5f7; margin-top: .8rem; max-width: 620px; font-size: 1.05rem; }

/* Registration */
.ep-auth { margin-top: -80px; position: relative; z-index: 2; }
.ep-auth__card { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.ep-auth__side { position: relative; padding: 48px 40px; color: #fff; overflow: hidden; background: linear-gradient(160deg, #183883, #0a1540); }
.ep-auth__side::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(104,185,46,.55), transparent 65%); }
.ep-auth__side h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: .7rem; }
.ep-auth__side > p { color: #c3cff3; }
.ep-auth__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; position: relative; z-index: 1; }
.ep-auth__list li { display: flex; gap: .9rem; align-items: flex-start; }
.ep-auth__list .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: var(--lime); }
.ep-auth__list b { display: block; color: #fff; font-size: .98rem; }
.ep-auth__list div span { font-size: .88rem; color: #aebde8; }
.ep-auth__form { padding: 48px; }
.ep-auth__form h2 { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.ep-auth__form > p { color: var(--muted); margin: .4rem 0 1.8rem; }
.ep-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ep-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.ep-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.ep-choice { position: relative; }
.ep-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.ep-choice span { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border-radius: 14px; border: 1.5px solid var(--line); background: #f8faff; font-weight: 700; font-size: .92rem; color: var(--text); transition: all .25s var(--ease); }
.ep-choice span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #b9c3de; background: #fff; transition: all .25s var(--ease); }
.ep-choice:hover span { border-color: #b9c6ea; transform: translateY(-1px); }
.ep-choice input:checked + span { border-color: var(--navy); background: #eef3ff; color: var(--navy); box-shadow: 0 8px 18px -10px rgba(24,56,131,.6); }
.ep-choice input:checked + span::before { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.ep-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(61,109,245,.2); }
.ep-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.ep-note a { color: var(--navy); font-weight: 700; }

/* Policies */
.ep-legal { margin-top: -80px; position: relative; z-index: 2; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.ep-legal__nav { position: sticky; top: 100px; background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.ep-legal__nav h4 { font-family: var(--font); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 8px; }
.ep-legal__nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; font-weight: 600; font-size: .93rem; color: var(--text); transition: background .25s, color .25s, padding .25s; }
.ep-legal__nav a i { width: 18px; text-align: center; color: #93a0c4; }
.ep-legal__nav a:hover { background: #f2f5fc; padding-left: 1rem; }
.ep-legal__nav a.is-active { background: #eef3ff; color: var(--navy); }
.ep-legal__nav a.is-active i { color: var(--green-600); }
.ep-legal__doc { background: #fff; border-radius: 26px; padding: 48px 52px; box-shadow: var(--shadow); color: #2b355e; font-size: 1rem; line-height: 1.8; }
.ep-legal__doc p { margin: 0 0 1rem; }
.ep-legal__doc br + br { display: none; }
.ep-legal__doc h3, .ep-legal__doc h4, .ep-legal__doc h5, .ep-legal__doc strong { color: var(--ink); }
.ep-legal__doc ul, .ep-legal__doc ol { padding-left: 1.3rem; }
.ep-legal__doc a { color: var(--blue); text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.ep-hero [data-reveal] { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ep-hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .ep-login { max-width: 520px; width: 100%; margin: 0 auto; }
  .ep-hero { padding-top: 130px; }
  .ep-tile, .ep-tile--wide { grid-column: span 6; }
  .ep-tile--wide { grid-template-columns: 1fr; }
  .ep-legal { grid-template-columns: 1fr; }
  .ep-legal__nav { position: relative; top: 0; display: flex; gap: .4rem; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .ep-legal__nav::-webkit-scrollbar { display: none; }
  .ep-legal__nav h4 { display: none; }
  .ep-legal__nav a { white-space: nowrap; flex: none; }
}
@media (max-width: 900px) {
  .ep-nav__links { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 10px; margin: 8px 0 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all .3s var(--ease); }
  .ep-nav__links a { color: var(--text) !important; padding: .85rem 1rem; }
  .ep-nav__links a:hover { background: #f2f5fc !important; }
  .ep-nav.is-open .ep-nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .ep-nav__toggle { display: grid; place-items: center; }
  .ep-only-mobile { display: block; }
  .ep-nav__actions .ep-btn--glass { display: none; }
  .ep-cf { --w: 84vw; }
  .ep-cf__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .ep-cf__arrow--prev { left: 4px; }
  .ep-cf__arrow--next { right: 4px; }
  .ep-steps { grid-template-columns: 1fr; gap: 40px; }
  .ep-steps::before { display: none; }
  .ep-cta { grid-template-columns: 1fr; padding: 44px 30px; }
  .ep-footer__grid { grid-template-columns: 1fr 1fr; }
  .ep-footer__brand { grid-column: 1 / -1; }
  .ep-auth__card { grid-template-columns: 1fr; }
  .ep-auth__side { padding: 36px 28px; }
  .ep-auth__list { grid-template-columns: 1fr 1fr; margin-top: 1.4rem; }
}
@media (max-width: 640px) {
  .ep-container { width: calc(100% - 32px); }
  .ep-strip__inner { font-size: .78rem; gap: .5rem; }
  .ep-strip__text { display: none; }
  .ep-nav__inner { height: 68px; gap: .6rem; }
  .ep-nav__brand img { height: 36px; }
  .ep-nav__actions .ep-btn { padding: .62rem .95rem; font-size: .85rem; }
  .ep-hero { padding: 116px 0 96px; }
  .ep-hero__lead { font-size: 1rem; }
  .ep-hero__cta .ep-btn { flex: 1 1 100%; }
  .ep-hero__stats { gap: 1.2rem 1.8rem; }
  .ep-stat strong { font-size: 1.55rem; }
  .ep-login__card { padding: 1.6rem; border-radius: 24px; }
  .ep-chip-float--a { left: -6px; top: -30px; }
  .ep-chip-float--b { right: -4px; bottom: -30px; }
  .ep-section { padding: 72px 0; }
  .ep-head { margin-bottom: 40px; }
  .ep-tile, .ep-tile--wide { grid-column: 1 / -1; padding: 24px; }
  .ep-cf__slide { border-radius: 18px; }
  .ep-cf__cap { left: 14px; right: 14px; bottom: 14px; }
  .ep-cf__dots { margin-top: 24px; }
  .ep-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .ep-footer { margin-top: 72px; }
  .ep-auth__form { padding: 30px 22px; }
  .ep-auth__list { grid-template-columns: 1fr; }
  .ep-grid2 { grid-template-columns: 1fr; }
  .ep-legal__doc { padding: 28px 22px; border-radius: 20px; font-size: .96rem; }
  .ep-pagehero { padding: 44px 0 110px; }
}
