/* Next Degree Network — style.css
 *
 * The Edunex theme (ThemeJunction), index-3 and its inner pages, rebuilt
 * from the live demo's main.css and computed styles. Values carry the
 * theme's own numbers: 1320 container, 110px section gaps, Urbanist 600 at
 * -0.02em over Manrope 16/26, 60px pills, 18px cards, 40px section ends.
 * No Bootstrap, jQuery, GSAP or Swiper.
 */

/* ------------------------------------------------------------- tokens ---- */
:root {
  --pri: #723EC3;          /* theme-primary */
  --pri-h: #8A60CE;        /* the theme's hover, primary at 80% on white, made solid */
  --pri-2: #905DE0;        /* purple-2: icon discs on the purple bands */
  --deep: #3C2166;         /* theme-purple: hero and benefits band */
  --foot: #341D59;         /* purple-3: footer */
  --ink: #272F54;          /* heading-primary */
  --body: #434966;         /* text-body */
  --muted: #5F637C;        /* text-body-3 darkened from #696D85 to clear AA on cream */
  --paper: #FFFFFF;
  --cream: #FFF2E5;        /* theme-bg */
  --lilac: #F9EDFF;        /* theme-bg-2 */
  --sky: #E5F5FD;          /* theme-bg-3 */
  --peach: #FFF0ED;        /* theme-bg-5 */
  --mint: #E6F9F1;         /* theme-bg-6 */
  --tint: #FAF8FE;         /* theme-bg-10 */
  --warm: #FFAD5F;
  --line: rgba(39, 47, 84, .1);
  --line-2: rgba(39, 47, 84, .08);
  --shadow-1: 0 15px 30px rgba(43, 22, 96, .05);
  --shadow-2: 0 20px 40px rgba(43, 22, 96, .1);
  --g7: linear-gradient(90deg, #FFAD5F 1.81%, #CEAEFF 97.7%);
  --g8: linear-gradient(90deg, #FFAD5F 50.06%, #723EC3 95.72%);
  --g12: linear-gradient(99.29deg, #FFE5C7 14.06%, #ECE0FF 85.94%);
  --g14: linear-gradient(96.37deg, #FFE5C7 10.05%, #ECE0FF 61.64%);
  --ff-h: "Urbanist", system-ui, sans-serif;
  --ff-b: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);   /* power2.out */
  --gut: 15px;
}

/* --------------------------------------------------------------- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 16px/26px var(--ff-b); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--ff-h); font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin: 0; line-height: 1.15; }
h3 { line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--pri); color: #fff; padding: 10px 18px; border-radius: 30px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1320px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 110px 0; }
.sec--top { padding-top: 80px; }
.sec--cream { background: var(--cream); }
.sec--tint { background: var(--tint); }

/* The theme's grain: an SVG turbulence tile rather than its CSS filter
 * trick, because a filtered layer inside a rounded clipped box breaks on
 * iPhone Safari (folder rule). */
.noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* The theme's blurred glow PNGs, drawn as soft radial fills. */
.glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; }
.glow-a { width: 620px; height: 620px; left: -240px; top: -260px; background: radial-gradient(circle closest-side, rgba(255, 120, 170, .28), transparent); }
.glow-b { width: 1100px; height: 900px; right: -320px; bottom: -420px; background: radial-gradient(closest-side, rgba(255, 150, 110, .42), rgba(255, 120, 150, .14) 55%, transparent); }
.glow-c { width: 900px; height: 600px; left: -200px; bottom: -380px; background: radial-gradient(closest-side, rgba(255, 140, 110, .38), transparent); }

/* ------------------------------------------------------------ buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 20px 26px 18px; border-radius: 60px; border: 1px solid transparent;
  background: var(--pri); color: #fff; font: 700 16px/1 var(--ff-b); letter-spacing: -.01em;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease; white-space: nowrap;
}
.btn::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.btn:hover { background: var(--pri-h); }
.bt { display: block; height: 19px; overflow: hidden; }
.bt-in { display: block; transition: transform .4s ease; }
.bt-in > span { display: block; height: 19px; line-height: 19px; transition: transform .4s ease; }
.bt-in > span:first-child { transform-origin: right center; }
.bt-in > span:last-child { transform-origin: left center; transform: rotate(20deg); }
.btn:hover .bt-in { transform: translateY(-19px); }
.btn:hover .bt-in > span:first-child { transform: rotate(20deg); }   /* the theme's sign: lifts the outgoing label's left end out of the window */
.btn:hover .bt-in > span:last-child { transform: rotate(0); }
.btn--sm { padding: 14px 22px 13px; }
.btn--wide { width: 100%; }
.btn--light { background: rgba(255, 255, 255, .88); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--pri); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--line { background: transparent; border-color: var(--pri); color: var(--ink); }
.btn--line:hover { background: var(--pri); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 17px/1 var(--ff-h); color: var(--ink); }
.more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.more:hover { color: var(--pri); }
.more:hover svg { transform: rotate(45deg); }

/* The theme's .sec-subtitle-3 chip. */
.subtitle {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 11px;
  font: 700 15px/1 var(--ff-h); letter-spacing: .1em; text-transform: uppercase; color: var(--pri);
  background: var(--lilac); border: 1px solid var(--line-2); border-radius: 20px;
}
.subtitle svg { width: 18px; height: 18px; margin-top: -2px; }
.subtitle--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .1); color: #fff; }
.subtitle--white { background: #fff; }
.subtitle--bare { background: none; border: 0; padding-inline: 0; }

.sec-head { margin-bottom: 50px; }
.sec-head > div:first-child { margin-bottom: 18px; }
.sec-title { font-size: 52px; line-height: 1.15; text-wrap: balance; }
.sec-lede { margin: 18px 0 0; max-width: 560px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-title { max-width: 640px; margin-inline: auto; }
.sec-head.center .sec-lede { margin-inline: auto; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.split-head .sec-head { margin-bottom: 0; max-width: 620px; }

/* ------------------------------------------------------------- header ---- */
.site-header { z-index: 90; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; padding: 0 15px 0 30px; }
.site-header.is-float {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: calc(100% - 80px); max-width: 1680px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 60px; box-shadow: var(--shadow-2);
}
.site-header.is-bar { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); transition: border-radius .3s ease, box-shadow .3s ease; }
.site-header.is-bar .head-in { max-width: 1920px; margin: 0 auto; height: 84px; padding: 0 15px; }
.site-header.is-stuck { box-shadow: 0 0 70px rgba(0, 0, 0, .1); border-radius: 0 0 30px 30px; border-bottom-color: transparent; }
.site-header.is-float.is-stuck {
  position: fixed; top: 0; left: 0; transform: none; width: 100%; max-width: none; border-radius: 0 0 30px 30px;
  background: #fff; animation: dropIn .5s var(--ease);
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand .mark { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; font: 700 25px/1 var(--ff-h); letter-spacing: -.03em; }
.brand-word small { font: 600 11px/1 var(--ff-b); letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--pri); }

.menu { display: flex; align-items: center; column-gap: 35px; }
.menu > li { position: relative; }
.menu > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 5px; padding: 26px 0; background: none; border: 0;
  font: 500 17px/1 var(--ff-h); color: var(--ink); letter-spacing: 0;
}
.sub-toggle svg { width: 13px; height: 13px; transition: transform .3s ease; }
.menu > li > a:hover, .sub-toggle:hover, .menu a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--pri); }
.menu .sub {
  position: absolute; top: 100%; left: -20px; min-width: 250px; padding: 14px 0; background: #fff; border-radius: 8px;
  box-shadow: 0 20px 40px rgba(43, 22, 96, .12); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub, .menu .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.menu .has-sub:hover .sub-toggle svg, .menu .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.menu .sub a { display: block; padding: 8px 24px; font: 500 16px/1.4 var(--ff-h); color: var(--ink); transition: color .3s ease, padding .3s ease; }
.menu .sub a:hover, .menu .sub a[aria-current="page"] { color: var(--pri); padding-left: 30px; }
.head-actions { display: flex; align-items: center; gap: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; padding: 0 13px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-btn span:nth-child(2) { width: 70%; margin-left: auto; }

/* The theme's hamburger area: a panel from the right. */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(15, 19, 33, .55); opacity: 0; transition: opacity .45s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 30px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: 26px;
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-menu > li { border-bottom: 1px solid var(--line); }
.drawer-menu > li > a, .drawer-menu .sub-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 0; background: none; border: 0; font: 600 18px/1.2 var(--ff-h); color: var(--ink); text-align: left; }
.drawer-menu .sub-toggle svg { width: 16px; height: 16px; transition: transform .3s ease; }
.drawer-menu .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.drawer-menu .sub { display: none; padding: 0 0 12px 14px; }
.drawer-menu .has-sub.is-open .sub { display: block; }
.drawer-menu .sub a { display: block; padding: 7px 0; font: 500 16px/1.4 var(--ff-h); color: var(--body); }
.drawer-menu a[aria-current="page"] { color: var(--pri); }
.drawer-contact h2 { font-size: 22px; margin-bottom: 14px; }
.drawer-contact li { display: flex; flex-direction: column; margin-bottom: 12px; font-size: 15px; }
.drawer-contact li span { font-size: 14px; color: var(--muted); }
.drawer-contact a { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- hero ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff;
  border-radius: 0 0 40px 40px; padding: 200px 0 90px;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 610px) minmax(0, 490px); justify-content: space-between; align-items: start; gap: 40px; }
.hero-copy { position: relative; padding-top: 59px; }
.hero-title { color: #fff; font-size: 68px; line-height: 1.05; margin-bottom: 22px; }
.hl { position: relative; display: inline-block; background: var(--g7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: 4px; }
.hl::after { content: ""; position: absolute; left: 3px; bottom: 6px; width: 98%; height: 5px; background: var(--g8); }
.hero-lede { max-width: 500px; color: #fff; margin-bottom: 40px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { display: flex; align-items: center; gap: 14px; margin: 50px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.5; }
.hero-note b { color: #fff; font: 600 20px/1.2 var(--ff-h); display: block; letter-spacing: -.01em; }
.hero-note-i { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); border: 2px solid rgba(255, 255, 255, .7); }
.hero-note-i svg { width: 24px; height: 24px; }
.hero-float { position: absolute; right: -10px; bottom: -6px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: #CEAEFF; animation: bob 4s ease-in-out infinite; }
.hero-float svg { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.hero-star { position: absolute; left: 16px; top: 175px; width: 36px; color: rgba(255, 255, 255, .25); z-index: 1; }
.hero-media { position: relative; }
.hero-img { border-radius: 18px 18px 18px 110px; overflow: hidden; }
.hero-img img { width: 100%; height: 546px; object-fit: cover; object-position: center 62%; }
.hero-media > .badge { position: absolute; left: -76px; top: 60px; z-index: 2; }
.hero-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.hero-steps li { border-left: 1px solid rgba(255, 255, 255, .18); padding: 2px 0 2px 16px; }
.hero-steps a { display: block; font: 600 19px/1.25 var(--ff-h); color: #fff; letter-spacing: -.01em; }
.hero-steps a:hover { color: var(--warm); }
.hs-n { display: block; font: 500 14px/1 var(--ff-b); letter-spacing: .02em; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.scroll-down { position: absolute; left: 60px; bottom: 34px; z-index: 1; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.sd-i { width: 36px; height: 36px; border-radius: 50%; background: var(--pri); display: grid; place-items: center; color: #fff; }
.sd-i svg { width: 16px; height: 16px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* Entrance: CSS only, so the hero shows even if the script never runs. */
.hero-title, .hero-lede, .hero-btns, .hero-note, .hero-img, .hero-steps { animation: rise 1.15s var(--ease) both; }
.hero-lede { animation-delay: .15s; } .hero-btns { animation-delay: .3s; } .hero-note { animation-delay: .45s; }
.hero-img { animation-delay: .2s; } .hero-steps { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(50px); } }

/* The rotating badge. */
.badge { position: relative; display: grid; place-items: center; width: 152px; height: 152px; border-radius: 50%; background: rgba(114, 62, 195, .6); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-ring text { font: 700 12.4px var(--ff-h); letter-spacing: .2em; fill: #fff; }
.badge-in { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.badge-in svg { width: 50px; height: 50px; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge--light, .stages-side .badge { background: #fff; border-color: var(--line); width: 170px; height: 170px; box-shadow: var(--shadow-1); }
.stages-side .badge-ring text { fill: var(--pri); font-size: 11.8px; }
.stages-side .badge-in { width: 96px; height: 96px; background: var(--lilac); }
.stages-side .badge-in svg { width: 60px; height: 60px; padding: 18px; border-radius: 50%; background: var(--pri); color: #fff; stroke-width: 2.4; }
.stages-side a.badge:hover .badge-in svg { transform: rotate(45deg); }
.stages-side .badge-in svg { transition: transform .4s ease; }

/* --------------------------------------------------------- categories ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  border-radius: 18px; padding: 30px; border: 1px solid; transition: transform .4s ease, box-shadow .4s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.cat--lilac { background: var(--lilac); border-color: #EDD8FA; }
.cat--sky { background: var(--sky); border-color: #C9E7F7; }
.cat--peach { background: var(--peach); border-color: #FBDAD3; }
.cat--mint { background: var(--mint); border-color: #C6EEDC; }
.cat-plate { width: 168px; height: 168px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 18px 37px rgba(43, 22, 96, .05); display: grid; place-items: center; overflow: hidden; margin-bottom: 30px; }
.cat-plate svg { width: 96px; height: 96px; transition: transform .4s ease; }
.cat-card:hover .cat-plate svg { transform: scale(1.1); }
.cat-card h3 { font-size: 24px; margin-bottom: 6px; }
.cat-count { color: var(--body); margin-bottom: 18px; }
.cat-arrow { color: var(--ink); transform: rotate(-45deg); transition: transform .4s ease; }
.cat-arrow svg { width: 18px; height: 18px; transform: rotate(45deg); }
.cat-card:hover .cat-arrow { transform: rotate(0); }
.dots { display: none; justify-content: center; gap: 10px; margin-top: 40px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(39, 47, 84, .18); }
.dots button.is-on { background: var(--pri); }

/* -------------------------------------------------------------- promo ---- */
.promo { padding-bottom: 110px; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.promo-card { display: flex; align-items: center; gap: 30px; height: 100%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); border-radius: 18px; padding: 20px; }
.promo-copy { flex: 1 1 auto; padding: 10px 0 10px 10px; }
.promo-copy .subtitle { gap: 6px; margin-bottom: 16px; }
.promo-copy h3, .promo-copy h2 { font-size: 34px; margin-bottom: 12px; }
.promo-copy p { margin-bottom: 26px; }
.promo-img { flex: 0 0 auto; width: 250px; aspect-ratio: 287 / 342; border-radius: 18px; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.promo-card:hover .promo-img img { transform: scale(1.05); }
.promo-img--sea { background: #B5E6E0; } .promo-img--rose { background: #FFD0C4; }
.promo-img--lilac { background: var(--lilac); } .promo-img--sky { background: var(--sky); }
.promo-img--peach { background: var(--peach); } .promo-img--mint { background: var(--mint); }
.promo-card--wide .promo-img { width: 46%; aspect-ratio: 16 / 11; }
.promo-card--wide .promo-copy { padding: 30px; }
.promo-card--wide h2 { font-size: 34px; }

/* ------------------------------------------------------------ offices ---- */
.offices { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); padding: 110px 0 120px; }
.offices .wrap { position: relative; z-index: 1; }
.offices-title { max-width: 560px; margin: 0 auto; text-align: center; color: #fff; font-size: 30px; line-height: 1.35; letter-spacing: -.01em; }
.pill { display: inline-block; padding: 0 10px 2px; border-radius: 30px; background: linear-gradient(90deg, #8652FF, #FF8E5F); }
.tiles { position: relative; z-index: 1; overflow: hidden; margin-top: 60px; }
.tiles-track { display: flex; gap: 35px; width: max-content; animation: slide 46s linear infinite; }
.tiles li {
  flex: 0 0 auto; display: grid; place-items: center; width: 200px; height: 128px; padding: 0 20px; text-align: center;
  border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: #fff;
  font: 600 19px/1.3 var(--ff-h); letter-spacing: -.01em;
}
.tiles:hover .tiles-track, .say-band:hover .say-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ courses ---- */
.featured { background: var(--cream); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); }
.course-img { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 378 / 213; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course:hover .course-img img { transform: scale(1.06); }
.course-tag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font: 600 14px/1 var(--ff-b); padding: 5px 8px; border-radius: 6px; }
.course-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 10px 10px; }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.course-cat { font: 600 15px/1 var(--ff-b); text-transform: uppercase; color: var(--pri); letter-spacing: .02em; }
.course-level { font-size: 14px; line-height: 1; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 6px 10px; }
.course h3 { font-size: 24px; margin-bottom: 10px; }
.course h3 a:hover { color: var(--pri); }
.course-body > p { font-size: 15px; line-height: 24px; color: var(--muted); }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; font-size: 15px; color: var(--muted); }
.course-meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 16px; height: 16px; color: var(--ink); }

/* --------------------------------------------------------- about grid ---- */
.about-grid { display: grid; grid-template-columns: minmax(0, 645px) minmax(0, 560px); justify-content: space-between; align-items: center; gap: 60px; }
/* Two staggered columns on one grid: 272 + 260 on the left, 355 + 241 on
 * the right, as the theme sets them, with a 20px gap. */
.about-photos { display: grid; grid-template-columns: 260fr 364fr; grid-template-rows: 272px 63px 177px 44px; gap: 20px; }
.ap { border-radius: 18px; overflow: hidden; }
.ap img { width: 100%; height: 100%; object-fit: cover; }
.ap-1 { grid-column: 1; grid-row: 1; }
.ap-2 { grid-column: 2; grid-row: 1 / 3; }
.ap-3 { grid-column: 1; grid-row: 2 / 4; }
.ap-card {
  grid-column: 2; grid-row: 3 / 5; width: 78%; padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(rgba(255, 255, 255, .22) 1.4px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(165deg, #7A44CF 12%, #B868B4 58%, #F2A178 100%);
}
.ap-icon svg { width: 76px; height: 76px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); }
.ap-card p { margin: 0; font: 600 21px/1.3 var(--ff-h); letter-spacing: -.01em; }
.feat { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; margin-bottom: 20px; background: #fff; }
.feat-i { color: var(--pri); flex: 0 0 auto; padding-top: 2px; }
.feat-i svg { width: 30px; height: 30px; }
.feat h3 { font-size: 24px; margin-bottom: 10px; }
.feat p { margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ----------------------------------------------------------- benefits ---- */
.benefits { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); padding: 110px 0; }
.benefits .wrap { position: relative; z-index: 1; }
.benefits .sec-title { color: #fff; }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.ben-card { border-radius: 18px; padding: 30px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .82); transition: background .4s ease; }
.ben-card:hover { background: rgba(255, 255, 255, .1); }
.ben-i { width: 64px; height: 64px; border-radius: 50%; background: var(--pri-2); color: #fff; display: grid; place-items: center; margin-bottom: 64px; }
.ben-i svg { width: 28px; height: 28px; }
.ben-card h3 { color: #fff; font-size: 22px; margin-bottom: 14px; }
.ben-card p { margin: 0; }
.ben-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 60px 0 0; color: #fff; font-weight: 500; }
.ben-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 700; padding: 5px 12px; border-radius: 30px; }
.ben-pill svg { width: 15px; height: 15px; color: #FF4D00; }
.ben-line a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ben-line a svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------- stages ---- */
.stages-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 645px); justify-content: space-between; gap: 60px; align-items: start; }
.stages-side { position: sticky; top: 140px; }
.stages-side .badge { margin-top: 40px; }
.stage-list { display: grid; gap: 30px; }
.stage { display: flex; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); }
.stage-img { position: relative; flex: 0 0 260px; border-radius: 14px; overflow: hidden; }
.stage-img img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.stage-body { flex: 1 1 auto; padding: 8px 0 4px; }
.stage h3 { font-size: 26px; margin-bottom: 4px; }
.stage-when { font: 600 15px/1.4 var(--ff-b); color: var(--pri); margin-bottom: 14px; }
.stage-body > p:not(.stage-when) { margin-bottom: 0; }
.stage-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.stage-facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 0 12px; border-left: 1px solid var(--line); }
.stage-facts div:first-child { padding-left: 0; border-left: 0; }
.stage-facts dt { font-size: 14px; line-height: 1.2; color: var(--muted); }
.stage-facts dd { margin: 0; font: 600 16px/1.25 var(--ff-h); color: var(--ink); }

/* ------------------------------------------------------------- events ---- */
.events { background: var(--cream); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.event { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); }
.event-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 378 / 300; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.event:hover .event-img img { transform: scale(1.06); }
.event-date {
  position: absolute; top: 15px; right: 15px; min-width: 82px; padding: 10px 14px; text-align: center; color: #fff; border-radius: 8px;
  background: rgba(39, 47, 84, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.event-date b { display: block; font: 600 40px/1 var(--ff-h); letter-spacing: -.02em; }
.event-date span { font-size: 16px; }
.event-date.is-word b { font-size: 24px; line-height: 1.3; }
.event-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px 10px 10px; }
.event h3 { font-size: 24px; margin-bottom: 18px; }
.event h3 a:hover { color: var(--pri); }
.event-info { margin-bottom: 26px; font-size: 15px; }
.event-info li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.event-info svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--ink); }
.event .btn { margin-top: auto; }

/* -------------------------------------------------------------- rules ---- */
.rule-big {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 50px;
  padding: 30px; border-radius: 24px; color: #fff;
  background: linear-gradient(110deg, #5A2F78 0%, var(--deep) 35%, #3B2161 70%, #5E3A6C 100%);
}
.rule-big > *:not(.noise) { position: relative; z-index: 1; }
.rule-photo { border-radius: 14px; overflow: hidden; background: #9EDDE0; }
.rule-photo img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.rule-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 30px 30px 10px 0; }
.rule-quote { font: 500 30px/1.45 var(--ff-h); letter-spacing: -.01em; color: #fff; margin: 0 0 40px; }
.rule-by { position: relative; display: flex; align-items: center; gap: 16px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.rule-by .mark { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); }
.rule-by b { display: block; font: 600 20px/1.3 var(--ff-h); }
.rule-by span { font-size: 15px; color: rgba(255, 255, 255, .78); }
.rule-by a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.rule-q { position: absolute !important; right: 0; bottom: -46px; font: 700 140px/1 var(--ff-h) !important; color: rgba(255, 255, 255, .14) !important; }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.rule { border-radius: 18px; border: 1px solid; padding: 30px 30px 0; display: flex; flex-direction: column; }
.rule--lilac { background: var(--lilac); border-color: #EDD8FA; }
.rule--sky { background: var(--sky); border-color: #C9E7F7; }
.rule--mint { background: var(--mint); border-color: #C6EEDC; }
.rule-i { color: var(--pri); margin-bottom: 20px; }
.rule-i svg { width: 30px; height: 30px; }
.rule h3 { font-size: 24px; margin-bottom: 12px; }
.rule p { font-size: 18px; line-height: 1.6; color: var(--ink); }
.rule .rule-foot { display: flex; align-items: center; gap: 10px; margin: auto -30px 0; padding: 22px 30px; border-top: 1px solid rgba(39, 47, 84, .1); font: 600 18px/1.2 var(--ff-h); }
.rule-foot svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--pri); color: #fff; }

/* ---------------------------------------------------- text marquee ---- */
.say-band { position: relative; overflow: hidden; background: var(--pri); padding: 26px 0; }
.say-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.say-track li { display: flex; align-items: center; gap: 14px; padding-right: 14px; font: 600 52px/.9 var(--ff-h); letter-spacing: -.01em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.mq-spark { color: var(--warm); }
.mq-spark svg { width: 40px; height: 40px; }

/* ---------------------------------------------------------------- faq ---- */
.faq-home { background: var(--g12); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 783px); justify-content: space-between; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 130px; }
.faq-big { font-size: 140px; line-height: 1; letter-spacing: -.03em; margin: 22px 0 10px; }
.faq-side > p { max-width: 330px; }
.help-card { max-width: 323px; margin-top: 30px; padding: 30px; border-radius: 18px; background: rgba(255, 255, 255, .8); }
.help-icons { display: flex; margin-bottom: 20px; }
.help-icons span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; border: 3px solid #fff; margin-right: -10px; }
.help-icons span:nth-child(2) { background: #8F5ADF; } .help-icons span:nth-child(3) { background: #B07CEB; }
.help-icons svg { width: 20px; height: 20px; }
.help-card h3 { font-size: 28px; margin-bottom: 10px; }
.help-card a:not(.btn) { color: var(--pri); font-weight: 600; }
.faq { display: grid; gap: 20px; }
.faq-item { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 16px; padding: 0 30px; transition: box-shadow .4s ease, border-color .4s ease, background .4s ease; }
.faq-item.is-open { background: #fff; border-color: var(--pri); box-shadow: var(--shadow-2); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; text-align: left; font: 600 24px/1.3 var(--ff-h); color: var(--ink); letter-spacing: -.02em; }
.faq-item.is-open .faq-q { color: var(--pri); }
.faq-q i { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--lilac); transition: background .4s ease, transform .4s ease; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--pri); border-radius: 2px; transition: transform .4s ease, background .4s ease; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i { background: var(--pri); transform: rotate(45deg); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { margin: 0; padding: 0 0 28px; }

/* --------------------------------------------------------------- blog ---- */
.blog-grid { display: grid; grid-template-columns: minmax(0, 870px) minmax(0, 420px); gap: 30px; }
.post-big { display: flex; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); }
.post-img { flex: 0 0 48%; border-radius: 14px; overflow: hidden; align-self: stretch; }
.post-img img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .6s ease; }
.post-big:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 10px 10px 10px 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.post-meta span:not(.chip) { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg, .post-when svg { width: 16px; height: 16px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--lilac); border: 1px solid #E5CFF6; color: var(--pri); font-size: 15px; font-weight: 600; }
.post-big h3 { font-size: 32px; margin-bottom: 14px; }
.post-big h3 a:hover, .post-small h3 a:hover { color: var(--pri); }
.blog-side { display: grid; gap: 30px; }
.post-small { display: flex; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-1); }
.post-thumb { flex: 0 0 111px; height: 111px; border-radius: 10px; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-when { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; margin-bottom: 6px; }
.post-small h3 { font-size: 20px; }

/* ------------------------------------------------------------- footer ---- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--foot); color: rgba(255, 255, 255, .78); border-radius: 40px 40px 0 0; padding-top: 80px; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .glow-a { top: auto; bottom: -200px; left: -200px; background: radial-gradient(closest-side, rgba(255, 140, 110, .26), transparent); }
.site-footer .glow-b { right: -260px; top: -280px; bottom: auto; width: 900px; height: 700px; background: radial-gradient(closest-side, rgba(255, 140, 120, .3), transparent); }
.foot-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 80px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 30px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.info-i { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; }
.info-i svg { width: 26px; height: 26px; }
.info-card span:not(.info-i) { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: rgba(255, 255, 255, .78); margin-bottom: 4px; }
.info-card a, .info-card p { margin: 0; font: 600 22px/1.3 var(--ff-h); color: #fff; letter-spacing: -.01em; overflow-wrap: anywhere; }
.info-card p { font-size: 17px; line-height: 1.4; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 90px; }
.site-footer .brand { color: #fff; margin-bottom: 26px; }
.site-footer .brand-word small { color: #CEAEFF; }
.foot-brand p { font-size: 15px; line-height: 1.65; }
.foot-brand p a, .foot-copy a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-col h2 { color: #fff; font-size: 22px; margin-bottom: 26px; }
.foot-col li { position: relative; padding-left: 14px; margin-bottom: 12px; }
.foot-col li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.foot-col a:hover { color: #fff; }
.foot-card { align-self: start; padding: 35px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.foot-card h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.foot-card p { margin-bottom: 24px; }
.foot-copy { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0; font-size: 15px; }
.foot-copy .wrap { padding-right: 90px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; align-items: center; }
.foot-copy p { margin: 0; max-width: 780px; }
.foot-copy strong { color: #fff; font-weight: 600; }
.foot-copy ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.to-top {
  position: fixed; right: 40px; bottom: 40px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  background: var(--pri); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(43, 22, 96, .3);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top > svg:not(.ring) { width: 18px; height: 18px; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 150.8; stroke-dashoffset: var(--off, 150.8); }

/* ---------------------------------------------------------- page head ---- */
.page-head { position: relative; overflow: hidden; padding: 110px 0 120px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #fff 100%), var(--g12); }
.ph-title { font-size: 70px; line-height: 1.1; max-width: 900px; margin-bottom: 26px; }
p.ph-title { font-family: var(--ff-h); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 17px/1.3 var(--ff-h); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs a:hover { color: var(--pri); }
.crumbs a svg { width: 18px; height: 18px; color: var(--pri); }
.crumbs .sep svg { width: 12px; height: 12px; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.ph-spark { position: absolute; right: 70px; top: 50%; width: 60px; height: 60px; transform: translateY(-50%); color: #A687DE; }
.ph-spark svg { position: absolute; }
.ph-spark svg:nth-child(1) { width: 42px; left: 0; top: 12px; }
.ph-spark svg:nth-child(2) { width: 18px; right: 0; top: 0; color: #C3A9EE; }
.ph-spark svg:nth-child(3) { width: 16px; right: 2px; bottom: 0; color: #C3A9EE; }

/* --------------------------------------------------------------- post ---- */
.post-grid { display: grid; grid-template-columns: minmax(0, 870px) minmax(0, 400px); justify-content: space-between; gap: 50px; align-items: start; }
.post-hero { border-radius: 18px; overflow: hidden; }
.post-hero img { width: 100%; aspect-ratio: 870 / 520; object-fit: cover; }
.post-title { font-size: 52px; margin: 34px 0 30px; }
.post-facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-1); margin-bottom: 34px; }
.post-facts > div { display: flex; align-items: center; gap: 14px; padding: 24px 30px; border-left: 1px solid var(--line); }
.post-facts > div:first-child { border-left: 0; }
.pf-i { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--pri); }
.pf-i svg { width: 22px; height: 22px; }
.post-facts small { display: block; font-size: 15px; color: var(--muted); line-height: 1.3; }
.post-facts > div > span:last-child { font: 600 19px/1.3 var(--ff-h); color: var(--ink); }
.post-facts a:hover { color: var(--pri); }
.prose h2 { font-size: 32px; margin: 42px 0 16px; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose a:not(.btn) { color: var(--pri); text-decoration: underline; text-underline-offset: 3px; }
.post-lede { font-size: 19px; line-height: 1.6; color: var(--ink); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font: 600 18px/1.45 var(--ff-h); color: var(--ink); letter-spacing: -.01em; }
.ticks svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--pri); }
.ticks--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.ticks--no svg { color: #C2410C; }
.pull { margin: 40px 0; padding: 50px 60px; border-radius: 18px; background: var(--g14); }
.pull p { margin: 0 0 26px; padding-left: 26px; border-left: 4px solid var(--pri); font: 600 26px/1.35 var(--ff-h); color: var(--ink); letter-spacing: -.02em; }
.pull footer { display: flex; align-items: center; gap: 14px; padding-left: 30px; }
.pull .mark { width: 54px; height: 54px; border-radius: 50%; }
.pull footer span { font-size: 15px; color: var(--muted); }
.pull footer b { display: block; font: 600 18px/1.2 var(--ff-h); color: var(--ink); }
.source { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 24px 26px; border-radius: 18px; background: var(--lilac); border: 1px solid #EDD8FA; }
.source-i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; }
.source-i svg { width: 20px; height: 20px; }
.source p { margin: 0; }
.source b { color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.pn { display: block; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s ease, box-shadow .3s ease; }
.pn:hover { border-color: var(--pri); box-shadow: var(--shadow-1); }
.pn span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.pn b { font: 600 19px/1.3 var(--ff-h); color: var(--ink); }
.pn--next { text-align: right; }
.post-side { display: grid; gap: 30px; position: sticky; top: 120px; }
.side-card { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: #fff; box-shadow: var(--shadow-1); }
.side-card h2 { font-size: 26px; margin-bottom: 24px; }
.side-cats { display: grid; gap: 12px; }
.side-cats a { display: flex; justify-content: space-between; gap: 10px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 30px; font: 500 17px/1.2 var(--ff-b); color: var(--ink); transition: border-color .3s ease, color .3s ease; }
.side-cats a:hover, .side-cats a[aria-current] { border-color: var(--pri); color: var(--pri); }
.side-rel { display: grid; gap: 18px; }
.side-rel a { display: flex; gap: 16px; align-items: center; }
.rel-img { flex: 0 0 96px; height: 96px; border-radius: 10px; overflow: hidden; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.side-rel b { display: block; font: 600 18px/1.3 var(--ff-h); color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; transition: color .3s ease; }
.side-rel a:hover b { color: var(--pri); }
.side-rel small { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.side-rel small svg { width: 15px; height: 15px; }
.side-card--cta { background: var(--deep); color: rgba(255, 255, 255, .85); border: 0; }
.side-card--cta > *:not(.noise) { position: relative; z-index: 1; }
.side-card--cta h2 { color: #fff; }

/* ------------------------------------------------------------ library ---- */
.ftabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.ftab { padding: 12px 22px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font: 600 16px/1 var(--ff-h); color: var(--ink); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ftab:hover { border-color: var(--pri); color: var(--pri); }
.ftab.is-on { background: var(--pri); border-color: var(--pri); color: #fff; }
.lib-item[hidden] { display: none; }

/* -------------------------------------------------- about / contact ---- */
.prose p { margin-bottom: 18px; }
.does-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.does-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-1); }
.does-card h2 { font-size: 32px; margin-bottom: 26px; }
.does-card--photo { padding: 20px; display: grid; gap: 24px; }
.does-card--photo img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.does-card--photo > div { padding: 0 20px 20px; }
.does-card--photo h2 { font-size: 28px; margin-bottom: 14px; }
.cta-band .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 60px; border-radius: 18px; background: var(--g12); }
.cta-in h2 { font-size: 40px; margin-bottom: 10px; }
.cta-in p { margin: 0; max-width: 600px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.c-card { text-align: center; border: 1px solid var(--line); border-radius: 18px; padding: 44px 30px; box-shadow: var(--shadow-1); }
.c-i { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: var(--pri); color: #fff; }
.c-i svg { width: 28px; height: 28px; }
.c-card h3 { font-size: 26px; margin-bottom: 12px; }
.c-card p { margin: 0; font: 600 19px/1.4 var(--ff-h); color: var(--ink); overflow-wrap: anywhere; }
.c-card a:hover { color: var(--pri); }
.c-card .c-sub { margin-top: 8px; font: 400 15px/1.5 var(--ff-b); color: var(--muted); }

/* -------------------------------------------------------------- forms ---- */
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 50px; align-items: start; }
.form-card { background: #fff; border-radius: 18px; padding: 44px; box-shadow: var(--shadow-2); }
.form-head h2 { font-size: 40px; margin: 6px 0 12px; }
.form-head p { margin-bottom: 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 600 16px/1.2 var(--ff-h); color: var(--ink); margin-bottom: 9px; }
.field input, .field select {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint);
  font: 500 16px var(--ff-b); color: var(--ink); transition: border-color .3s ease, box-shadow .3s ease; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272F54' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--pri); box-shadow: 0 0 0 3px rgba(114, 62, 195, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: #C0262D; }
.consents { display: grid; gap: 16px; margin: 10px 0 26px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--body); cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pri); cursor: pointer; }
.check a { color: var(--pri); text-decoration: underline; text-underline-offset: 2px; }
.check.is-invalid span { color: #9F1D23; }
.form-error { display: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #8F1B20; font-weight: 600; font-size: 15px; }
.form-error.is-shown { display: block; }
.form-done { display: none; text-align: center; padding: 20px 0; }
.form-done.is-shown { display: block; }
.done-i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--pri); color: #fff; }
.done-i svg { width: 34px; height: 34px; }
.form-done h2 { font-size: 34px; margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sticky-col { position: sticky; top: 120px; }
.signup-side { display: grid; gap: 30px; }
.side-photo { border-radius: 18px; overflow: hidden; }
.side-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini-steps { counter-reset: s; display: grid; gap: 18px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 50px; }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--pri); font: 700 16px/1 var(--ff-h); }
.mini-steps b { display: block; font: 600 18px/1.3 var(--ff-h); color: var(--ink); margin-bottom: 4px; }
.mini-steps span { font-size: 15px; line-height: 1.55; }
.side-small { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* -------------------------------------------------------------- legal ---- */
.legal-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 860px); justify-content: space-between; gap: 60px; align-items: start; }
.toc { counter-reset: t; display: grid; gap: 10px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; font: 500 16px/1.4 var(--ff-h); color: var(--body); }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--pri); font-weight: 700; }
.toc a:hover { color: var(--pri); }
.legal-meta { font-size: 15px; color: var(--muted); }
.legal-body section { scroll-margin-top: 110px; }
.legal-body h2 { font-size: 30px; }

/* ------------------------------------------------------------- motion ---- */
.js [data-fade] { opacity: 0; transform: translateY(50px); transition: opacity 1.15s var(--ease) var(--d, .15s), transform 1.15s var(--ease) var(--d, .15s); }
.js [data-fade][data-dir="left"] { transform: translateX(-50px); }
.js [data-fade][data-dir="right"] { transform: translateX(50px); }
.js [data-fade].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-fade] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive ---- */
@media (max-width: 1399px) {
  .site-header.is-float { width: calc(100% - 60px); }
  .menu { column-gap: 26px; }
  .head-ask { display: none; }
  .hero-title { font-size: 60px; }
  .hero-img img { height: 500px; }
  .about-grid { gap: 40px; }
  .faq-big { font-size: 120px; }
  .foot-main { gap: 30px; }
}
@media (max-width: 1199px) {
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .head-in { padding-left: 22px; }
  .hero { padding-top: 160px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .hero-title { font-size: 54px; }
  .hero-img img { height: 440px; }
  .hero-media > .badge { left: -50px; width: 128px; height: 128px; }
  .badge-in { width: 62px; height: 62px; } .badge-in svg { width: 40px; height: 40px; }
  .sec-title { font-size: 44px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .promo-copy h3 { font-size: 28px; }
  .promo-img { width: 200px; }
  .about-grid, .stages-grid, .faq-grid, .post-grid, .legal-grid, .signup-grid { grid-template-columns: 1fr; }
  .about-photos { max-width: 680px; }
  .stages-side, .faq-side, .post-side, .sticky-col { position: static; }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-side { grid-template-columns: repeat(3, 1fr); }
  .post-small { flex-direction: column; align-items: flex-start; }
  .post-thumb { flex-basis: auto; width: 100%; height: 170px; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .post-side { grid-template-columns: repeat(2, 1fr); }
  .side-card--cta { grid-column: 1 / -1; }
  .legal-side { display: none; }
  .faq-big { font-size: 100px; }
}
@media (max-width: 991px) {
  .sec { padding: 90px 0; }
  .promo { padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 10px; }
  .hero-media { max-width: 560px; }
  .hero-media > .badge { left: auto; right: -14px; top: -40px; }
  .scroll-down, .hero-float, .hero-star { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .course-grid, .event-grid, .rule-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .rule-big { grid-template-columns: 1fr; }
  .rule-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .rule-copy { padding: 0 10px 10px; }
  .foot-info { grid-template-columns: 1fr; gap: 16px; }
  .does-grid { grid-template-columns: 1fr; }
  .cat-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split-head { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 80px 0 90px; }
  .ph-title { font-size: 52px; }
  .post-title { font-size: 42px; }
  .cta-band .cta-in { flex-direction: column; align-items: flex-start; padding: 40px; }
  .promo-card--wide { flex-direction: column-reverse; align-items: stretch; }
  .promo-card--wide .promo-img { width: 100%; }
  .promo-card--wide .promo-copy { padding: 10px; }
  .say-track li { font-size: 40px; }
  .mq-spark svg { width: 30px; height: 30px; }
}
@media (max-width: 767px) {
  :root { --gut: 16px; }
  .site-header.is-float { width: calc(100% - 30px); top: 15px; border-radius: 40px; }
  .head-in { height: 68px; padding: 0 10px 0 16px; gap: 10px; }
  .site-header.is-bar .head-in { height: 72px; padding: 0 16px; }
  .head-cta { display: none; }
  .brand .mark { width: 38px; height: 38px; }
  .brand-word { font-size: 21px; }
  .brand-word small { font-size: 9.5px; letter-spacing: .3em; }
  .hero { padding: 130px 0 70px; border-radius: 0 0 24px 24px; }
  .hero-title { font-size: 42px; }
  .hero-lede { margin-bottom: 30px; }
  .hero-note { margin-top: 34px; }
  .hero-float, .hero-star, .rule-q { display: none; }
  .hero-img { border-radius: 18px 18px 18px 70px; }
  .hero-img img { height: 400px; }
  .hero-media > .badge { width: 112px; height: 112px; right: -4px; top: -34px; }
  .badge-ring text { font-size: 13px; }
  .badge-in { width: 54px; height: 54px; } .badge-in svg { width: 36px; height: 36px; }
  .hero-steps a { font-size: 16px; }
  .hero-steps li { padding-left: 12px; }
  .sec { padding: 70px 0; }
  .promo { padding-bottom: 70px; }
  .sec-head { margin-bottom: 36px; }
  .sec-title { font-size: 34px; }
  .subtitle { font-size: 13px; }
  /* The theme's category slider at phone width: one card, swipe, dots. */
  .cat-grid[data-dots] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 6px var(--gut) 10px; scrollbar-width: none; }
  .cat-grid[data-dots]::-webkit-scrollbar { display: none; }
  .cat-grid[data-dots] .cat-card { flex: 0 0 82%; scroll-snap-align: center; }
  .dots { display: flex; margin-top: 26px; }
  .cat-grid--3 { grid-template-columns: 1fr; }
  .promo-card { flex-direction: column-reverse; align-items: stretch; }
  .promo-img { width: 100%; aspect-ratio: 4 / 3; }
  .promo-copy { padding: 6px; }
  .offices { padding: 70px 0 80px; }
  .offices-title { font-size: 24px; }
  .tiles { margin-top: 40px; }
  .tiles li { width: 170px; height: 104px; font-size: 17px; }
  .course-grid, .event-grid, .rule-grid, .contact-cards, .ben-grid, .blog-side, .post-side { grid-template-columns: 1fr; }
  .about-photos { grid-template-rows: 190px 50px 130px 40px; gap: 12px; }
  .ap-card { width: 100%; padding: 16px; }
  .ap-icon svg { width: 54px; height: 54px; }
  .ap-card p { font-size: 17px; }
  .feat { padding: 22px; }
  .stage { flex-direction: column; }
  .stage-img { flex-basis: auto; }
  .stage-img img { min-height: 0; aspect-ratio: 16 / 10; }
  .stage-facts div { padding: 0 8px; }
  .ben-i { margin-bottom: 36px; }
  .rule-big { padding: 16px; gap: 24px; }
  .rule-quote { font-size: 22px; margin-bottom: 26px; }
  .rule p { font-size: 16px; }
  .say-band { padding: 18px 0; }
  .say-track li { font-size: 28px; }
  .mq-spark svg { width: 22px; height: 22px; }
  .faq-big { font-size: 80px; }
  .faq-item { padding: 0 20px; }
  .faq-q { font-size: 19px; padding: 20px 0; }
  .post-big { flex-direction: column; align-items: stretch; }
  .post-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .post-body { padding: 4px 6px 6px; }
  .post-big h3 { font-size: 26px; }
  .post-small { flex-direction: row; align-items: center; }
  .post-thumb { flex: 0 0 96px; width: 96px; height: 96px; }
  .post-small h3 { font-size: 18px; }
  .site-footer { border-radius: 24px 24px 0 0; padding-top: 60px; }
  .foot-info { padding-bottom: 50px; }
  .info-card { padding: 20px; }
  .info-i { width: 54px; height: 54px; }
  .info-card a { font-size: 19px; }
  .foot-main { grid-template-columns: 1fr 1fr; padding-bottom: 60px; }
  .foot-brand, .foot-card { grid-column: 1 / -1; }
  .foot-card { padding: 26px; }
  .foot-card h2 { font-size: 26px; }
  .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .foot-copy .wrap { padding-right: var(--gut); padding-bottom: 56px; }
  .page-head { padding: 60px 0 70px; }
  .ph-title { font-size: 38px; }
  .crumbs ol { font-size: 15px; }
  .ph-spark { display: none; }
  .post-title { font-size: 32px; margin: 26px 0 22px; }
  .post-facts { grid-template-columns: 1fr; }
  .post-facts > div { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .post-facts > div:first-child { border-top: 0; }
  .prose h2 { font-size: 26px; }
  .ticks--2 { grid-template-columns: 1fr; }
  .pull { padding: 30px 24px; }
  .pull p { font-size: 21px; padding-left: 18px; }
  .pull footer { padding-left: 22px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn--next { text-align: left; }
  .side-card { padding: 24px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  .form-head h2 { font-size: 30px; }
  .does-card { padding: 28px 22px; }
  .does-card h2 { font-size: 26px; }
  .cta-band .cta-in { padding: 30px 24px; }
  .cta-in h2 { font-size: 30px; }
  .promo-card--wide h2 { font-size: 28px; }
  .btn { padding: 18px 24px 16px; }
  .btn--sm { padding: 14px 20px 13px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 37px; }
  .hero-steps { grid-template-columns: 1fr; gap: 12px; }
  .hero-steps li { border-left: 2px solid rgba(255, 255, 255, .25); }
  .hero-btns .btn { width: 100%; }
  .sec-title { font-size: 30px; }
  .faq-big { font-size: 64px; }
  .stage-facts { grid-template-columns: 1fr; gap: 10px; }
  .stage-facts div { padding: 0; border-left: 0; }
  .foot-main { grid-template-columns: 1fr; }
}
