:root {
  --primary: #0056D2;
  --primary-dark: #0046B0;
  --violet: #5B3FD6;
  --navy: #0B1B48;
  --ink: #101828;
  --text: #3B4256;
  --muted: #667085;
  --line: #E4E8F0;
  --soft: #F6F8FC;
  --white: #FFFFFF;
  --orange: #E8710A;
  --green: #1E8E3E;

  --grad-btn: linear-gradient(135deg, #2F7BFF 0%, #0056D2 42%, #5B3FD6 100%);
  --grad-text: linear-gradient(90deg, #0056D2 0%, #5B3FD6 55%, #A63BB3 100%);
  --grad-deep: linear-gradient(140deg, #0B1B48 0%, #1D3FA8 50%, #5B3FD6 100%);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .04);
  --shadow-lg: 0 40px 80px -36px rgba(30, 40, 110, .45);

  --header-h: 88px;
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--violet); }
h1, h2, h3 { margin: 0; font-family: var(--head); color: var(--ink); letter-spacing: -0.03em; }
p { margin: 0; }
::selection { background: rgba(0, 86, 210, .16); }
:focus-visible { outline: 3px solid rgba(0, 86, 210, .45); outline-offset: 2px; border-radius: 8px; }
section[id], footer[id] { scroll-margin-top: var(--header-h); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 28px; }

.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 700 13px/1.2 var(--body); letter-spacing: .14em; color: var(--primary); }
.eyebrow-light { color: #C7D7FF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad-btn); box-shadow: 0 12px 26px -12px rgba(0, 86, 210, .75), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(0, 86, 210, .85), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-outline { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--primary); border-color: rgba(0, 86, 210, .4); }
.btn-text { color: var(--primary); background: transparent; padding: 0 14px; }
.btn-text:hover { color: var(--primary-dark); background: #EEF4FF; }
.link-btn { border: 0; background: none; padding: 0; font-family: var(--body); font-size: inherit; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--violet); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .98); border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(16, 24, 40, .3); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; border-radius: 50%; }
.brand img { width: 64px; height: 64px; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.05); }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 10px 16px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 12px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 100px; background: linear-gradient(180deg, #F2F6FF 0%, #F6F3FF 62%, #FFFFFF 100%); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob.b1 { width: 620px; height: 620px; top: -240px; right: -160px; background: radial-gradient(circle, rgba(91, 63, 214, .24), transparent 65%); }
.hero-blob.b2 { width: 540px; height: 540px; bottom: -260px; right: 26%; background: radial-gradient(circle, rgba(0, 86, 210, .18), transparent 65%); }
.hero-blob.b3 { width: 460px; height: 460px; top: 10%; left: -220px; background: radial-gradient(circle, rgba(0, 163, 180, .14), transparent 65%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 600 12.5px/1.2 var(--body); letter-spacing: .14em; color: #344054; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #12B76A; flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #12B76A; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .grad { display: block; padding-bottom: .05em; }
.lead { font-size: 19px; line-height: 1.65; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.hero-meta-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); background: #FFF1E3; }

/* dashboard mockup */
.hero-visual { position: relative; padding: 34px 26px 64px 44px; }
.mock {
  position: relative; overflow: hidden; border-radius: 18px; background: var(--white);
  border: 1px solid rgba(16, 24, 40, .08); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .55);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transform-origin: left center;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F5F7FB; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.mock-bar i:nth-child(2) { background: #FEBC2E; }
.mock-bar i:nth-child(3) { background: #28C840; }
.mock-url { flex: 1; max-width: 62%; height: 24px; margin-left: 14px; padding: 0 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-url svg { width: 11px; height: 11px; flex-shrink: 0; color: #12B76A; }
.mock-body { display: grid; grid-template-columns: 62px minmax(0, 1fr); }
.mock-side { display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 14px 0; background: #FAFBFE; border-right: 1px solid var(--line); }
.mock-logo { width: 36px; height: 36px; margin-bottom: 4px; }
.ms { position: relative; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, white); }
.ms::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--c); }
.ms.on { background: var(--c); box-shadow: 0 8px 16px -8px var(--c); }
.ms.on::after { background: #fff; }
.mock-main { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.mock-video { position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; border-radius: 12px; background: linear-gradient(135deg, #5B3FD6 0%, #0056D2 55%, #00A3B4 100%); }
.mv-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.mv-play { position: absolute; left: 50%; top: 44%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
.mv-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid var(--primary); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.mv-progress { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.mv-progress i { display: block; width: 38%; height: 100%; border-radius: 999px; background: #fff; }
.mock-lesson { display: flex; flex-direction: column; gap: 2px; }
.ml-title { font: 700 16px/1.25 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.ml-sub { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mock-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mc { padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.mc b { position: relative; display: block; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 7px; background: color-mix(in srgb, var(--c) 14%, white); }
.mc b::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--c); }
.mc em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.mc strong { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 16px; background: var(--white); border: 1px solid rgba(16, 24, 40, .06);
  box-shadow: 0 26px 50px -22px rgba(30, 40, 110, .5);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-9px); } }
.ft { display: flex; flex-direction: column; gap: 1px; }
.ft strong { font: 700 14px/1.25 var(--head); color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.ft span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.f-ring { top: 4px; right: 0; }
.ring { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: conic-gradient(var(--green) 0 78%, #E6EBF4 0); }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ring svg { position: relative; width: 20px; height: 20px; }
.f-cert { left: 0; bottom: 0; animation-delay: -2.5s; }
.seal { position: relative; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE59A, #F5A623 60%, #E08A00); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55), 0 8px 16px -8px #E08A00; }
.seal::before, .seal::after { content: ""; position: absolute; bottom: -9px; width: 11px; height: 17px; background: #E8710A; z-index: -1; }
.seal::before { left: 11px; transform: rotate(18deg); }
.seal::after { right: 11px; transform: rotate(-18deg); }

/* ---------- sections ---------- */
.section { position: relative; padding: 104px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head.center { align-items: center; text-align: center; max-width: 800px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; font-weight: 800; }
.section-head p { font-size: 18.5px; line-height: 1.65; color: var(--text); max-width: 660px; }

/* about bento */
.about { background: radial-gradient(700px 420px at 100% 0%, rgba(91, 63, 214, .07), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(0, 86, 210, .06), transparent 70%); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; font-weight: 800; }
.about-copy h2 .grad { display: inline; }
.about-copy p { font-size: 18.5px; line-height: 1.7; color: var(--text); max-width: 480px; }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "hours parts" "hours tracks" "cert cert"; gap: 18px; }
.bc { position: relative; overflow: hidden; border-radius: 22px; padding: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -30px rgba(30, 40, 110, .35); transition: transform .25s ease, box-shadow .25s ease; }
.bc:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 26px 50px -28px rgba(30, 40, 110, .45); }
.bc-num { font: 800 44px/1 var(--head); letter-spacing: -0.04em; color: var(--c, var(--ink)); }
.bc-title { margin-top: 6px; font: 700 17px/1.3 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.bc-text { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.bc-hours { grid-area: hours; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; color: #fff; border: 0; background: var(--grad-deep); box-shadow: 0 34px 60px -30px rgba(30, 40, 110, .65); }
.bc-hours::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -120px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.bc-ring { position: relative; width: 132px; height: 132px; }
.bc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 10; }
.ring-bar { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 13; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
.js .bento.reveal .ring-bar { stroke-dashoffset: 326.7; }
.js .bento.reveal.is-visible .ring-bar { stroke-dashoffset: 13; }
.bc-ring-ico { position: absolute; inset: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.bc-ring-ico svg { width: 34px; height: 34px; transform: none; }
.bc-body { position: relative; }
.bc-hours .bc-num { font-size: 84px; color: #fff; }
.bc-hours .bc-title { font-size: 20px; color: #fff; }
.bc-hours .bc-text { font-size: 15px; color: rgba(255, 255, 255, .78); max-width: 240px; }

.bc-parts { grid-area: parts; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 8%, white), #fff 60%); }
.bc-tracks { grid-area: tracks; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 8%, white), #fff 60%); }
.bc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bc-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, white), var(--c)); box-shadow: 0 10px 20px -10px var(--c); }
.bc-ico svg { width: 22px; height: 22px; }
.bc-blocks { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; }
.bc-blocks i { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--c) 22%, white); }
.bc-blocks i:nth-child(-n+3) { background: color-mix(in srgb, var(--c) 55%, white); }
.bc-dots { display: flex; }
.bc-dots i { width: 26px; height: 26px; margin-left: -8px; border-radius: 50%; border: 2px solid #fff; background: color-mix(in srgb, var(--c) 30%, white); }
.bc-dots i:nth-child(2) { background: color-mix(in srgb, var(--c) 45%, white); }
.bc-dots i:nth-child(3) { background: color-mix(in srgb, var(--c) 60%, white); }
.bc-dots i:nth-child(4) { background: color-mix(in srgb, var(--c) 78%, white); }
.bc-dots i:nth-child(5) { background: var(--c); }

.bc-cert { grid-area: cert; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-color: #FBDDBE; background: linear-gradient(120deg, #FFF6EC 0%, #FFEBD8 100%); }
.bc-seal { position: relative; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 30%, #FFD36B, #F59E0B 55%, #E07A00); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .45), 0 12px 22px -10px #E07A00; }
.bc-seal svg { width: 26px; height: 26px; }
.bc-cert-title { font: 800 24px/1.2 var(--head); letter-spacing: -0.02em; color: #B4530A; }

/* curriculum */
.section-curriculum { background: linear-gradient(180deg, #F6F8FC 0%, #F4F2FE 100%); border-top: 1px solid var(--line); }
.curriculum-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 48px; align-items: start; }
.curriculum-side { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 14px; }
.curriculum-side h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; font-weight: 800; }
.total { position: relative; overflow: hidden; margin-top: 16px; padding: 28px; border-radius: 22px; color: #fff; background: var(--grad-deep); box-shadow: 0 34px 60px -30px rgba(30, 40, 110, .65); }
.total::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08); }
.total-icon { position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.total-icon svg { width: 28px; height: 28px; }
.total-text { position: relative; font: 700 20px/1.35 var(--head); letter-spacing: -0.01em; color: #fff; }
.total-note { position: relative; margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }

.modules { display: flex; flex-direction: column; gap: 12px; }
.module { border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.module:hover { border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.module[open] { border-color: color-mix(in srgb, var(--c) 35%, var(--line)); box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--c) 75%, transparent); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 18px; align-items: center; gap: 16px; padding: 18px 22px; }
.module summary::-webkit-details-marker { display: none; }
.m-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 11%, white); transition: background .25s ease, color .25s ease; }
.m-icon svg { width: 23px; height: 23px; }
.module[open] .m-icon { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, white), var(--c)); box-shadow: 0 10px 20px -10px var(--c); }
.m-main { display: flex; flex-direction: column; min-width: 0; }
.m-part { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.m-title { font: 700 18px/1.3 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.m-hours { display: block; text-align: right; font-size: 14px; color: var(--muted); white-space: nowrap; }
.m-hours b { font: 800 20px/1.1 var(--head); color: var(--ink); }
.m-hours small { display: block; font-size: 12.5px; }
.m-chev { width: 10px; height: 10px; justify-self: center; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
.module[open] .m-chev { transform: translateY(2px) rotate(-135deg); border-color: var(--c); }
.m-topics { list-style: none; margin: 0; padding: 2px 22px 22px 86px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.m-topics li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--text); }
.m-topics li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* register */
.register-shell {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 8px;
  padding: 16px; border-radius: 30px; background: var(--grad-deep); box-shadow: 0 50px 100px -50px rgba(30, 40, 110, .7);
}
.rs-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.rs-blob.r1 { width: 520px; height: 520px; left: -200px; bottom: -280px; background: radial-gradient(circle, rgba(0, 163, 180, .5), transparent 65%); }
.rs-blob.r2 { width: 380px; height: 380px; left: 30%; top: -200px; background: radial-gradient(circle, rgba(217, 48, 112, .4), transparent 65%); }
.register-copy { display: flex; flex-direction: column; gap: 16px; padding: 36px 34px; color: #fff; }
.register-copy h2 { color: #fff; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; font-weight: 800; }
.register-copy p { font-size: 17.5px; color: rgba(255, 255, 255, .84); }
.info-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; align-items: center; gap: 14px; padding: 11px 14px 11px 11px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 15.5px; font-weight: 600; color: #fff; }
.info-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.info-icon svg { width: 20px; height: 20px; }

.form-card { position: relative; padding: 34px; border-radius: 22px; background: var(--white); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .5); }
#registerForm { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 11px;
  background: var(--white); border: 1px solid #CFD6E4; color: var(--ink); font: 15px var(--body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: #98A2B3; }
.field input:hover, .field select:hover { border-color: #B3BDCF; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 86, 210, .14); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field.is-invalid input, .field.is-invalid select { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.check.is-invalid span { color: #D92D20; }
.form-alt { text-align: center; font-size: 15px; color: var(--muted); }
.form-alt a { font-weight: 600; }

.success { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 48px 8px; }
.success[hidden] { display: none; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #32D583, #039855); box-shadow: 0 0 0 10px #E3F8EC; margin-bottom: 8px; }
.success h3 { font-size: 28px; font-weight: 800; }
.success p { font-size: 16.5px; color: var(--muted); max-width: 400px; }

/* ---------- footer ---------- */
.site-footer { padding: 84px 0 28px; background: var(--navy); color: #C3CCE6; }
.site-footer .container { display: flex; flex-direction: column; gap: 22px; }
.partners-eyebrow { display: flex; align-items: center; gap: 14px; }
.partners-eyebrow::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.partner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 4px;
  border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.partner:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .24); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .7); }
.partner-stage {
  position: relative; width: 230px; height: 140px; flex-shrink: 0; margin: 10px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; padding: 10px 16px;
  background: radial-gradient(70% 90% at 50% 110%, var(--glow), transparent 70%), linear-gradient(180deg, #FFFFFF, #F4F6FB);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .06);
}
.partner-stage img { position: relative; transition: transform .4s ease; filter: drop-shadow(0 10px 18px rgba(16, 24, 40, .12)); }
.partner:hover .partner-stage img { transform: scale(1.05); }
.partner-stage .logo-bs { width: 100%; height: auto; }
.partner-stage .logo-nu { width: auto; height: 124px; }
.partner-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 14px 20px 14px 12px; }
.partner-name { font: 700 19px/1.3 var(--head); color: #fff; letter-spacing: -0.015em; }
.partner-addr { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #A9B4D4; }
.partner-addr svg { width: 17px; height: 17px; flex-shrink: 0; color: #8DB4FF; }
.partner-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 9px 14px;
  border-radius: 999px; background: rgba(141, 180, 255, .12); border: 1px solid rgba(141, 180, 255, .25);
  color: #CFE0FF; font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.partner-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.partner-link .p-arrow { width: 15px; height: 15px; transition: transform .2s ease; }
.partner-link:hover { color: #fff; background: rgba(141, 180, 255, .22); border-color: rgba(141, 180, 255, .45); }
.partner-link:hover .p-arrow { transform: translate(2px, -2px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8F9BBF; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }

/* ---------- login modal ---------- */
.modal { padding: 16px; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; }
.modal[open] { display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; height: 100%; margin: 0; }
.modal::backdrop { background: rgba(11, 27, 72, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; padding: 32px 30px 28px; background: var(--white); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(11, 27, 72, .6); animation: pop .22s ease-out; }
.modal-top { display: flex; align-items: center; justify-content: space-between; }
.modal-card h2 { font-size: 28px; font-weight: 800; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--white); }
.icon-btn:hover { background: var(--soft); }
.modal-link { align-self: flex-end; margin-top: -4px; font-size: 14px; font-weight: 600; text-decoration: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .partners { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-copy p { max-width: 640px; }
  .curriculum-grid { grid-template-columns: 1fr; gap: 28px; }
  .curriculum-side { position: static; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand img { width: 52px; height: 52px; }
  .nav-toggle { display: flex; }
  .site-header { background: var(--white); }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 20px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -16px rgba(16, 24, 40, .25);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; margin: 0; gap: 0; }
  .nav-links a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 50px; }
  .btn-text { border: 1px solid var(--line); }

  .hero { padding: 44px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 600px; width: 100%; margin: 0 auto; padding: 26px 10px 64px 18px; }
  .register-shell { grid-template-columns: 1fr; padding: 10px; }
  .register-copy { padding: 28px 20px 18px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .lead { font-size: 17px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .mock { transform: none; }
  .mock-body { grid-template-columns: 48px minmax(0, 1fr); }
  .ms { width: 26px; height: 26px; border-radius: 8px; }
  .ms::after { inset: 9px; }
  .mock-logo { width: 30px; height: 30px; }
  .mock-main { padding: 12px; gap: 10px; }
  .mv-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .mv-play::after { left: 18px; top: 14px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .mc strong { font-size: 11px; }
  .mc em { font-size: 9.5px; }
  .float { padding: 9px 11px; gap: 10px; border-radius: 13px; }
  .ring { width: 38px; height: 38px; }
  .seal { width: 38px; height: 38px; }
  .ft strong { font-size: 13px; }
  .ft span { font-size: 11px; }

  .section { padding: 76px 0; }
  .section-head.center { margin-bottom: 36px; }
  .section-head p { font-size: 16.5px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "hours" "parts" "tracks" "cert"; gap: 14px; }
  .bc-hours { flex-direction: row; align-items: center; gap: 20px; padding: 22px; }
  .bc-ring { width: 96px; height: 96px; flex-shrink: 0; }
  .bc-ring-ico { inset: 22px; }
  .bc-ring-ico svg { width: 26px; height: 26px; }
  .bc-hours .bc-num { font-size: 56px; }
  .bc-cert { padding: 20px; }
  .module summary { grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 4px 14px; padding: 16px; }
  .m-icon { width: 42px; height: 42px; border-radius: 12px; }
  .m-hours { grid-column: 2; grid-row: 2; text-align: left; }
  .m-hours small { display: inline; margin-left: 8px; }
  .m-chev { grid-column: 3; grid-row: 1; }
  .m-title { font-size: 17px; }
  .m-topics { grid-template-columns: 1fr; padding: 0 16px 18px; }
  .total { padding: 24px 22px; }
  .total-text { font-size: 18px; }

  .register-shell { border-radius: 24px; padding: 8px; }
  .form-card { padding: 24px 18px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .partner { flex-direction: column; align-items: stretch; }
  .partner-stage { width: auto; height: 140px; margin: 10px 10px 0; }
  .partner-stage .logo-bs { width: min(260px, 90%); }
  .partner-info { padding: 16px 18px 18px; }
  .modal-card { padding: 28px 20px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .bento.reveal .ring-bar { stroke-dashoffset: 13; }
}
