/* aicoach.plus — site styles */
:root {
  --ink: #0d1230;
  --ink-2: #2a3058;
  --muted: #5b6288;
  --line: #e4e6f2;
  --line-2: #d6d9ea;
  --bg: #f7f8fc;
  --surface: #fff;
  --tint: #f1f2fb;
  --navy: #070b24;
  --navy-2: #0d1336;
  --blue: #4f7dff;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --brand: linear-gradient(120deg, #4f7dff 0%, #6366f1 45%, #a855f7 100%);
  --brand-soft: linear-gradient(120deg, rgba(79,125,255,.12), rgba(168,85,247,.12));
  --ring: 0 0 0 4px rgba(99,102,241,.22);
  --shadow-sm: 0 1px 2px rgba(13,18,48,.06), 0 2px 8px rgba(13,18,48,.04);
  --shadow: 0 1px 2px rgba(13,18,48,.05), 0 10px 30px -12px rgba(31,38,107,.18);
  --shadow-lg: 0 2px 4px rgba(13,18,48,.05), 0 24px 60px -20px rgba(49,46,129,.35);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); interpolate-size: allow-keywords; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -0.035em; font-weight: 620; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; padding-right: .04em; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: rgba(99,102,241,.22); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 40px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: var(--h); padding: 0 22px; border-radius: 999px; font: 550 15.5px/1 var(--font); letter-spacing: -0.005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; isolation: isolate; overflow: hidden; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn .ico { transition: transform .35s var(--spring); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.975); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--brand); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(99,102,241,.65); transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-position .6s var(--ease); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 32px -10px rgba(124,77,255,.75); transform: translateY(-1px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline { color: var(--ink); background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: rgba(99,102,241,.45); color: var(--indigo); transform: translateY(-1px); }
.btn-light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-light:hover { transform: translateY(-1px); color: var(--indigo); }
.btn-ghost-light { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 28px; transition: height .35s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(99,102,241,.7); transition: transform .5s var(--spring); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-word span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a:hover { color: var(--ink); }
.site-header.on-dark:not(.scrolled):not(.open) .brand, .site-header.on-dark:not(.scrolled):not(.open) .nav a { color: #e9ebff; }
.site-header.on-dark:not(.scrolled):not(.open) .brand-word span { color: #9aa1d4; }
.site-header.on-dark:not(.scrolled):not(.open) .menu-btn i { background: #fff; }
.site-header.scrolled, .site-header.open { background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(13,18,48,.06), 0 8px 24px -16px rgba(13,18,48,.25); }
.site-header.scrolled .header-in { height: 62px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
.mobile-nav nav { display: grid; gap: 2px; padding: 8px 0 22px; }
.mobile-nav a:not(.btn) { padding: 13px 4px; font-size: 18px; font-weight: 550; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
.mobile-nav:not([hidden]) { animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Eyebrows / heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.eyebrow-dark { color: #b9bfff; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); letter-spacing: .04em; text-transform: none; font-size: 13.5px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7dd3fc; box-shadow: 0 0 0 0 rgba(125,211,252,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(125,211,252,0); } 100% { box-shadow: 0 0 0 0 rgba(125,211,252,0); } }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding-top: clamp(48px, 6vw, 72px); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.lead-dark { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #e9ebff; background: var(--navy); padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 100px); }
.hero h1 { color: #fff; }
.hero h1 em { background: linear-gradient(100deg, #93b4ff, #c4a7ff 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #b8bde3; max-width: 620px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% -10%, #1a2366 0%, var(--navy) 55%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-a { width: 520px; height: 520px; left: -140px; top: -120px; background: #3b5bff; animation: float-a 22s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; right: -120px; top: 10%; background: #8b3dff; opacity: .45; animation: float-b 26s ease-in-out infinite alternate; }
.orb-c { width: 380px; height: 380px; left: 40%; bottom: -220px; background: #4338ca; opacity: .5; animation: float-a 30s ease-in-out infinite alternate-reverse; }
@keyframes float-a { to { transform: translate(80px, 60px) scale(1.08); } }
@keyframes float-b { to { transform: translate(-70px, 80px) scale(.94); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(90% 70% at 50% 0%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 32px 0 0; color: #aab0dc; font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ico { color: #8fb0ff; }
.hero-slim { padding-bottom: clamp(48px, 6vw, 72px); }
.hero-page h1 { max-width: 880px; }

/* hero visual */
.hero-visual { position: relative; min-height: 470px; perspective: 1200px; }
.panel { position: absolute; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); color: #e6e8ff; }
.panel-main { inset: 10px 30px auto 0; padding: 20px 22px 22px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; color: #a9afdb; }
.panel-dots { display: flex; gap: 5px; }
.panel-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.path-row { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); margin-bottom: 14px; }
.ring { position: relative; width: 56px; height: 56px; flex: none; }
.ring svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 4.5; }
.ring .ring-val { stroke: url(#g-brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); }
.js .ring .ring-val { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.js .hero-visual.in .ring .ring-val { stroke-dashoffset: calc(100 - var(--p)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 650; color: #fff; }
.path-k { margin: 0; font-weight: 600; color: #fff; font-size: 15px; }
.path-s { margin: 2px 0 0; font-size: 13px; color: #a9afdb; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14px; color: #c3c7ea; }
.steps li > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.25); flex: none; }
.steps li.done > span { background: var(--brand); border-color: transparent; color: #fff; }
.steps li.done > span .ico { width: 13px; height: 13px; }
.steps li.done { color: #8f95c4; }
.steps li.now { background: rgba(255,255,255,.07); color: #fff; flex-wrap: wrap; }
.steps li.now > span { border-color: #8fb0ff; box-shadow: 0 0 0 4px rgba(143,176,255,.18); }
.steps .bar { flex-basis: 100%; height: 4px; margin: 4px 0 2px 34px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; max-width: calc(100% - 34px); }
.steps .bar i { display: block; height: 100%; width: 45%; border-radius: inherit; background: var(--brand); }
.js .steps .bar i { width: 0; transition: width 1.4s var(--ease) .9s; }
.js .hero-visual.in .steps .bar i { width: 45%; }
.panel-chat { right: -24px; bottom: -36px; width: min(340px, 82%); padding: 14px; display: grid; gap: 10px; background: linear-gradient(160deg, rgba(30,36,92,.92), rgba(20,24,66,.92)); animation: bob 7s ease-in-out infinite; }
.chat-row { display: flex; gap: 10px; align-items: flex-start; }
.chat-row p { margin: 0; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.08); font-size: 13.2px; line-height: 1.45; color: #d9dcff; }
.chat-row.coach p { background: linear-gradient(120deg, rgba(79,125,255,.28), rgba(168,85,247,.28)); color: #fff; }
.chat-av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: none; }
.chat-av .ico { width: 16px; height: 16px; }
.av-coach { background: var(--brand); }
.av-coach svg { width: 18px; height: 18px; }
.typing { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 40% { opacity: 1; transform: translateY(-2px); } }
.panel-badge { right: -12px; top: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 13px; animation: bob 8s ease-in-out -3s infinite; }
.panel-badge .ico { width: 26px; height: 26px; color: #a5b8ff; }
.panel-badge b { display: block; color: #fff; font-weight: 600; }
.panel-badge span { color: #a9afdb; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* tools marquee */
.tools-strip { margin-top: clamp(56px, 7vw, 88px); }
.tools-label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8087bb; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; }
.marquee li { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #c7cbf0; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
[data-spot] { --mx: 50%; --my: 0%; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(99,102,241,.09), transparent 45%); }
[data-spot]:hover::before { opacity: 1; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; padding: 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.course-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card:hover::after { opacity: 1; }
.cc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cc-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--brand); box-shadow: 0 10px 22px -10px rgba(99,102,241,.8); transition: transform .5s var(--spring); }
[data-accent="blue"] .cc-icon { background: linear-gradient(135deg, #4f7dff, #6366f1); }
[data-accent="violet"] .cc-icon { background: linear-gradient(135deg, #7c5cff, #a855f7); }
.course-card:hover .cc-icon { transform: rotate(-6deg) scale(1.06); }
.cc-icon .ico { width: 22px; height: 22px; }
.cc-icon-sm { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.cc-icon-sm .ico { width: 15px; height: 15px; }
.pill { font-size: 12.5px; font-weight: 550; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }
.cc-title { font-size: 1.3rem; margin-bottom: 10px; }
.cc-title a { color: inherit; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.cc-text { color: var(--muted); font-size: 15.5px; flex: 1; }
.cc-meta { display: flex; gap: 16px; list-style: none; padding: 0; margin: 4px 0 20px; color: var(--ink-2); font-size: 14px; }
.cc-meta li { display: inline-flex; align-items: center; gap: 6px; }
.cc-meta .ico { color: var(--indigo); }
.cc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.cc-price { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; }
.cc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; font-size: 14.5px; color: var(--indigo); }
.cc-link .ico { transition: transform .35s var(--spring); }
.course-card:hover .cc-link .ico, .path-card:hover .cc-link .ico { transform: translateX(4px); }

/* steps */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--purple)); opacity: .25; transform-origin: left; }
.js .steps-row::before { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js .steps-row.in::before { transform: scaleX(1); }
.step { position: relative; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 650; font-size: 15px; color: var(--indigo); font-variant-numeric: tabular-nums; position: relative; }
.step p { color: var(--muted); font-size: 15.5px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-card { padding: 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento-card p { color: var(--muted); margin: 0; }
.bento-wide { grid-column: span 2; background: linear-gradient(140deg, #fff 30%, #f2f0ff); }
.bento-wide h3 { font-size: 1.45rem; }
.bento-wide p { font-size: 1.05rem; max-width: 560px; }
.feat-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 18px; color: var(--indigo); background: var(--brand-soft); border: 1px solid rgba(99,102,241,.16); transition: transform .5s var(--spring); }
.feat-icon .ico { width: 22px; height: 22px; }
.bento-card:hover .feat-icon, .path-card:hover .feat-icon { transform: translateY(-2px) rotate(-5deg); }

/* dark section / paths */
.section-dark { background: var(--navy); color: #d3d6f5; overflow: hidden; isolation: isolate; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p:not(.eyebrow) { color: #a9afdb; }
.dark-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 80% 0%, #1b2370, transparent 60%); }
.dark-bg .orb { right: -200px; top: auto; bottom: -200px; opacity: .3; }
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); text-decoration: none; color: #c3c7ea; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.path-card::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(139,92,246,.18), transparent 50%) !important; }
.path-card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.45); }
.path-card .feat-icon { color: #c4b5fd; background: rgba(139,92,246,.14); border-color: rgba(167,139,250,.25); }
.path-card p { font-size: 15px; flex: 1; }
.path-courses { font-size: 13px; color: #8f95c4; margin-bottom: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.path-card .cc-link { color: #b8c6ff; }

/* split / teams */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-form { align-items: start; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .ico { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 7px; color: var(--indigo); background: var(--brand-soft); }
.ticks-card { padding: 28px; margin: 0; }
.team-visual { position: relative; padding: 24px; perspective: 1000px; }
.team-visual::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: var(--brand); opacity: .14; filter: blur(30px); }
.tv-card { position: relative; padding: 28px; border-radius: 22px; background: var(--navy-2); color: #c3c7ea; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); }
.tv-k { margin: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #8f95c4; }
.tv-t { margin: 4px 0 24px; font-size: 1.2rem; font-weight: 600; color: #fff; }
.tv-bars { display: grid; gap: 16px; }
.tv-bar { display: grid; gap: 7px; font-size: 14px; }
.tv-bar em { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.tv-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--brand); }
.js .tv-bar i { width: 0; transition: width 1.4s var(--ease); }
.js .team-visual.in .tv-bar i { width: var(--w); }
.tv-bar:nth-child(2) i { transition-delay: .12s; }
.tv-bar:nth-child(3) i { transition-delay: .24s; }
.tv-bar:nth-child(4) i { transition-delay: .36s; }
.tv-note { margin: 20px 0 0; font-size: 12px; color: #6f76a8; }

/* FAQ / accordions */
.faq-list { display: grid; gap: 12px; }
.faq, .module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .3s, box-shadow .3s; }
.faq[open], .module[open] { border-color: rgba(99,102,241,.35); box-shadow: var(--shadow); }
.faq summary, .module summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 550; font-size: 16.5px; border-radius: inherit; }
.faq summary::-webkit-details-marker, .module summary::-webkit-details-marker { display: none; }
.faq summary > span:first-child { flex: 1; }
.faq-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--indigo); transition: transform .4s var(--spring), background-color .3s, color .3s; }
.faq-ic .ico { width: 16px; height: 16px; }
.faq[open] .faq-ic { transform: rotate(45deg); background: var(--indigo); color: #fff; }
.faq:hover .faq-ic { background: #e6e7fb; }
.faq[open]:hover .faq-ic { background: var(--indigo); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* ---------- Catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font: 500 15px var(--font); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: rgba(99,102,241,.5); color: var(--indigo); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(13,18,48,.6); }
.course-card.is-hidden { display: none; }
.course-card.pop { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: #fafbff; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: #f7f7ff; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare th[scope=row] a { color: var(--ink); font-weight: 600; text-decoration: none; }
.compare th[scope=row] a:hover { color: var(--indigo); }
.compare .num { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- Course page ---------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #8f95c4; margin-bottom: 26px; }
.crumbs a { color: #b8bde3; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero-course h1 { max-width: 760px; }
.hero-course .eyebrow-dark { gap: 9px; }
.hero-course .cc-icon-sm { color: #fff; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 34px 0 0; max-width: 760px; }
.meta-chips li { display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 13px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.meta-chips .ico { width: 20px; height: 20px; color: #a5b8ff; }
.meta-chips span { display: grid; line-height: 1.3; color: #fff; font-weight: 550; font-size: 14.5px; }
.meta-chips small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: #8f95c4; font-weight: 500; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.course-body { padding-top: 0; }
.course-main { padding-top: clamp(56px, 7vw, 88px); }
.block { margin-bottom: clamp(48px, 6vw, 72px); }
.block > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.outcomes li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; line-height: 1.5; transition: transform .35s var(--ease), border-color .3s; }
.outcomes li:hover { transform: translateY(-2px); border-color: rgba(99,102,241,.35); }
.outcomes li span { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 650; color: #fff; background: var(--brand); }
.modules { display: grid; gap: 10px; margin-top: 18px; }
.module summary { padding: 16px 20px; }
.mod-n { font-variant-numeric: tabular-nums; font-size: 13.5px; font-weight: 650; color: var(--indigo); width: 26px; }
.mod-t { flex: 1; }
.mod-c { font-size: 13.5px; color: var(--muted); font-weight: 450; }
.mod-chev { color: var(--muted); transition: transform .4s var(--spring); }
.module[open] .mod-chev { transform: rotate(180deg); color: var(--indigo); }
.module ul { list-style: none; margin: 0; padding: 0 20px 16px 62px; display: grid; gap: 4px; }
.module li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.module li:first-child { border-top: 0; }
.module li .ico { width: 16px; height: 16px; color: var(--violet); }
.course-aside { position: sticky; top: calc(var(--header-h) + 8px); margin-top: -140px; z-index: 5; }
.price-card { padding: 28px; box-shadow: var(--shadow-lg); }
.pc-k { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.pc-price { margin: 4px 0 2px; font-size: 2.8rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; background: linear-gradient(110deg, var(--ink) 40%, var(--indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.pc-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.pc-h { font-size: 14px; margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; }
.pc-list .ico { color: #22a06b; margin-top: 3px; width: 17px; height: 17px; }
.pc-ask { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14.5px; font-weight: 550; text-decoration: none; }
.pc-ask .ico { transition: transform .35s var(--spring); }
.pc-ask:hover .ico { transform: translateX(3px); }
.sticky-enrol { display: none; }

/* ---------- Forms ---------- */
.form { padding: clamp(24px, 3vw, 34px); }
.form-h { font-size: 1.5rem; }
.form-intro { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field-full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fbfbfe; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .25s, background-color .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b6288' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c3c7e0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background-color: #fff; box-shadow: var(--ring); }
.field.invalid input { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.14); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form-status { margin: 14px 0 0; font-size: 14.5px; color: #c22f35; min-height: 0; }
.form-status:empty { display: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.form.sending .spinner { display: block; }
.form.sending .btn .ico { display: none; }
.form.sending .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: center; padding: 28px 8px 12px; }
.form-done h3 { font-size: 1.5rem; margin-top: 18px; }
.form-done p { color: var(--muted); }
.form.done > :not(.form-done) { display: none; }
.form.done .form-done { display: block; animation: pop .5s var(--ease); }
.done-check { display: inline-block; width: 64px; height: 64px; }
.done-check svg { width: 64px; height: 64px; }
.done-check circle { fill: none; stroke: url(#g-brand); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s var(--ease) forwards; }
.done-check path { fill: none; stroke: var(--indigo); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact-side { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 18px; }
.contact-item .feat-icon { margin: 0; flex: none; }
.contact-item h2 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-item p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; }
.principle { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.principle .step-n { flex: none; margin: 0; }
.principle h2 { font-size: 1.35rem; }
.principle p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.section-tint + .cta-section { padding-top: clamp(72px, 9vw, 120px); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); border-radius: 28px; background: var(--navy); color: #c3c7ea; box-shadow: var(--shadow-lg); }
.cta-band::before { z-index: 1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(139,92,246,.22), transparent 50%) !important; }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 15% 0%, rgba(79,125,255,.5), transparent 60%), radial-gradient(60% 90% at 90% 100%, rgba(168,85,247,.45), transparent 60%); }
.cta-band h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin-inline: auto; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 2; }

/* ---------- Prose (legal) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose p, .prose li { color: var(--ink-2); }
.thanks { padding: clamp(28px, 4vw, 48px); text-align: center; }
.thanks .done-check { margin-bottom: 8px; }
.thanks h2 { margin-top: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9aa0cc; padding: 72px 0 32px; font-size: 15px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-word span { color: #8087bb; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 320px; }
.foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:not(.brand) { color: #b3b8e0; text-decoration: none; transition: color .2s; }
.site-footer a:not(.brand):hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #7d83b3; }
.foot-base p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-row::before { display: none; }
  .course-layout { grid-template-columns: 1fr; }
  .course-aside { position: static; margin-top: 32px; order: -1; max-width: 560px; }
  .course-main { padding-top: 48px; }
  .sticky-enrol { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: rgba(13,18,48,.92); backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px -12px rgba(13,18,48,.55); transform: translateY(140%); transition: transform .45s var(--ease); }
  .sticky-enrol.show { transform: none; }
  .sticky-enrol div { display: grid; line-height: 1.25; min-width: 0; }
  .sticky-enrol b { font-size: 18px; }
  .sticky-enrol span { font-size: 13px; color: #a9afdb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .course-grid, .bento, .paths, .split, .principles, .outcomes { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .steps-row { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .step .step-n { grid-row: span 2; margin: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .panel-main { inset: 0 0 auto 0; }
  .panel-chat { right: 0; bottom: 0; }
  .panel-badge { right: 0; top: -26px; }
  .btn-row .btn-lg { flex: 1 1 auto; }
  .hero-points { gap: 8px 16px; }
  .meta-chips li { flex: 1 1 calc(50% - 6px); }
  .principle { padding: 22px 0; }
  .module ul { padding-left: 20px; }
  .mod-c { display: none; }
  .team-visual { padding: 8px; }
  .foot-grid { gap: 32px; }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
