:root {
  --blue: #3b92dc;
  --blue-dark: #0f62b4;
  --navy: #12304b;
  --ink: #253746;
  --muted: #60717f;
  --mist: #f3f8fc;
  --line: #dce7ef;
  --white: #fff;
  --shadow: 0 12px 32px rgba(18, 48, 75, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 1rem/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--navy); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.12; }
h1 { font-size: clamp(2.65rem, 5.6vw, 4.85rem); letter-spacing: -.052em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; letter-spacing: -.018em; }
p { margin: 0 0 1.15rem; }
ul { padding-left: 1.2rem; }

.skip-link { position: fixed; z-index: 99; top: 8px; left: 8px; transform: translateY(-150%); background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin-bottom: .9rem; color: var(--blue); font: 700 .76rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.lede { max-width: 720px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid var(--blue); border-radius: 10px; background: var(--blue); color: #fff; font: 650 .94rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; text-decoration: none; transition: .18s ease; cursor: pointer; }
.button:hover, .button:focus-visible { transform: translateY(-1px); background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 7px 18px rgba(15,98,180,.18); }
.button.secondary { background: transparent; color: var(--blue); }
.button.secondary:hover { color: #fff; }
.text-link { color: var(--blue); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(220,231,239,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--blue); font: 700 1.02rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { position: relative; padding: 27px 0 25px; color: #42515d; font-size: .86rem; font-weight: 560; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); content: ""; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.language-picker { display: inline-flex; }
.language-select { min-height: 34px; padding: .4rem 1.75rem .4rem .65rem; border: 1px solid #b9d3e8; border-radius: 8px; background: #f6faff; color: var(--blue); font: 650 .8rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; cursor: pointer; }
.language-select:hover, .language-select:focus-visible { border-color: var(--blue); background: var(--mist); outline: none; }
.nav-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: none; color: var(--navy); font-size: 1.7rem; }

.hero { min-height: 610px; display: grid; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.54) 68%, rgba(255,255,255,.12) 100%), url('assets/hero.avif') 64% center/cover no-repeat; }
.hero-copy { max-width: 730px; padding: 88px 0 94px; }
.hero h1 { color: var(--blue); }
.hero .lede { max-width: 650px; color: #354653; font-weight: 500; font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.section { padding: clamp(68px, 8vw, 96px) 0; }
.section.soft { background: var(--mist); }
.section.dark { background: var(--blue-dark); color: #e6f2fc; }
.section.dark h2, .section.dark h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 78px); align-items: center; }
.split img { width: 100%; max-height: 560px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-grid, .card-grid, .stats-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature, .card, .stat, .post { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feature { border-top: 3px solid var(--blue); }
.feature strong { display: block; margin-bottom: .55rem; color: var(--blue); font: 700 1rem -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.card { display: flex; flex-direction: column; overflow: hidden; padding: 0; box-shadow: 0 8px 24px rgba(18,48,75,.06); }
.card img { width: 100%; aspect-ratio: 5/4; object-fit: cover; background: #f4f8fb; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.card-meta { margin-bottom: 8px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card .price { margin-top: auto; padding-top: 14px; color: var(--navy); font: 700 1.12rem -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.card .button { align-self: flex-start; margin-top: 8px; }
.stat { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
.stat b { display: block; color: #fff; font: 700 clamp(2rem,4vw,3.2rem) -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; color: #fff; font: 500 clamp(1.2rem,2.4vw,1.75rem)/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.quote cite { display: block; margin-top: 1.3rem; color: #cfe8fb; font-style: normal; font-weight: 700; }

.page-hero { padding: clamp(70px,8vw,98px) 0 62px; border-bottom: 1px solid var(--line); background: var(--mist); }
.page-hero h1 { max-width: 840px; color: var(--blue); font-size: clamp(2.6rem,5vw,4.35rem); }
.content { max-width: 820px; }
.content h2 { margin-top: 2rem; }
.content li { margin-bottom: .5rem; }
.band { padding: 32px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; background: var(--mist); }
.columns { columns: 2; gap: 44px; }
.columns li { break-inside: avoid; margin-bottom: .5rem; }
.notice { margin: 0 0 32px; padding: 18px 22px; border: 1px solid #cfe3f3; border-radius: 12px; background: #f2f8fd; color: #29465e; }
.registration-hero { padding-bottom: 72px; }
.registration-section { padding-top: 42px; }
.payment-options { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; margin: -70px 0 64px; padding: 24px 28px; border: 1px solid #bcdcf5; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.payment-options-label { color: var(--blue); font-size: .78rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.payment-options p { margin: 0; color: #354653; }
.payment-options a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.registration-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.registration-heading h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.registration-heading > p { max-width: 390px; margin: 0 0 4px; color: var(--muted); text-align: right; }
.registration-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.registration-grid.single-product { grid-template-columns: minmax(0, 460px); }
.registration-grid.two-products { grid-template-columns: repeat(2, minmax(0, 460px)); }
.registration-grid.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.registration-grid .card { border-color: #d6e6f1; }
.registration-grid .card img { aspect-ratio: 1; object-fit: contain; }
.product-image-button { display: block; width: 100%; padding: 0; border: 0; background: #f4f8fb; cursor: zoom-in; }
.product-image-button img { transition: transform .2s ease; }
.product-image-button:hover img, .product-image-button:focus-visible img { transform: scale(1.015); }
.product-image-button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.image-dialog { max-width: none; padding: 0; border: 0; border-radius: 16px; background: transparent; box-shadow: 0 24px 70px rgba(0,0,0,.35); overflow: visible; }
.image-dialog::backdrop { background: rgba(7,25,40,.78); backdrop-filter: blur(5px); }
.image-dialog img { display: block; width: auto; max-width: min(88vw, 760px); max-height: 88vh; border-radius: 16px; }
.image-dialog form { position: absolute; z-index: 1; top: -16px; right: -16px; }
.image-dialog-close { display: grid; width: 42px; height: 42px; place-items: center; padding: 0 0 3px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.image-dialog-close:hover, .image-dialog-close:focus-visible { background: var(--blue-dark); }
.product-detail-section { padding: clamp(42px, 6vw, 76px) 0 clamp(68px, 8vw, 96px); background: var(--mist); }
.product-back { display: inline-block; margin-bottom: 28px; color: var(--blue); font-size: .92rem; font-weight: 700; text-decoration: none; }
.product-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(380px, 1.1fr); gap: clamp(42px, 7vw, 84px); align-items: start; }
.product-detail-image { position: sticky; top: 112px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.product-detail-image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-detail-image span { display: block; padding: 11px 16px; border-top: 1px solid var(--line); color: var(--blue); font-size: .82rem; font-weight: 700; text-align: center; }
.product-summary { padding-top: 8px; }
.product-summary h1 { color: var(--blue); font-size: clamp(2.35rem, 4.8vw, 4rem); }
.product-subjects { margin: 0 0 26px; color: var(--navy); font-size: 1.12rem; font-weight: 700; letter-spacing: .04em; }
.product-facts { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid #cfe0ec; list-style: none; }
.product-facts li { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid #cfe0ec; }
.product-facts span { color: var(--muted); text-align: right; }
.schedule-note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.product-purchase { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.product-purchase .price { color: var(--blue); font-size: 1.65rem; font-weight: 750; }
.product-purchase .button { min-width: 170px; }
.product-payment-note { margin-top: 20px; color: var(--muted); font-size: .92rem; }
.product-payment-note a { color: var(--blue); font-weight: 700; }
.product-description-section { background: #fff; }
.product-copy { max-width: 860px; }
.product-copy h2 { margin-top: 2.25rem; }
.product-copy article > h2:first-child { margin-top: 0; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { position: absolute; top: .1em; left: 0; color: var(--blue); font-weight: 800; content: "✓"; }
.audience-panel { margin-top: 48px; padding: 30px 32px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: var(--mist); }
.audience-panel h2 { margin-top: 0; }
.audience-panel p:last-child { margin-bottom: 0; }
.registration-grid .card-body { padding: 22px; }
.registration-grid .card h3 { font-size: 1.18rem; }
.card-title-link { text-decoration: none; }
.card-title-link:hover, .card-title-link:focus-visible { color: var(--blue); }
.course-details-link { align-self: flex-start; margin: 2px 0 10px; font-size: .92rem; }
.registration-grid .card-body > p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.registration-grid .price { color: var(--blue); font-size: 1.2rem; }
.registration-grid .button { width: 100%; margin-top: 12px; }
.compact-grid .card-body { padding: 18px; }
.compact-grid .card h3 { font-size: 1.04rem; line-height: 1.2; }
.compact-grid .card-body > p { font-size: .88rem; line-height: 1.45; }
.compact-grid .card-meta { font-size: .69rem; }
.compact-grid .course-details-link { font-size: .86rem; }
.compact-grid .button { min-height: 42px; padding: .62rem .9rem; }
.demand-heading { margin-top: 78px; padding-top: 56px; border-top: 1px solid var(--line); }
.full-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demand-badge { display: inline-flex; align-self: flex-start; margin-bottom: 12px; padding: 6px 10px; border: 1px solid #b9d9f1; border-radius: 999px; background: #eef7fe; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.button.full-button { border-color: #cbd8e1; background: #e7eef3; color: #526673; cursor: not-allowed; box-shadow: none; }
.button.full-button:hover, .button.full-button:focus-visible { transform: none; border-color: #cbd8e1; background: #e7eef3; color: #526673; box-shadow: none; }
.full-purchase .full-button { min-width: 170px; }
.waitlist-heading { margin-top: 72px; padding-top: 54px; border-top: 1px solid var(--line); }
.waitlist-grid .card { box-shadow: none; }
.waitlist-grid .card img { filter: saturate(.72); }
.waitlist-grid .price { color: var(--muted); }
.checkout-note { display: none; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.checkout-note.show { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 18px; }
.contact-list small { display: block; color: var(--muted); }
.post time { color: var(--muted); font-size: .85rem; }
.school-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 34px 0 46px; }
.school-logo-card { display: flex; min-height: 122px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 8px 24px rgba(16,45,70,.06); }
.school-logo-card img { width: 58px; height: 58px; object-fit: contain; }
.school-logo-card img.school-wordmark { width: 132px; }
.school-logo-card span { color: var(--ink); font-size: .88rem; font-weight: 750; line-height: 1.25; }
.blog-hero { padding-bottom: 72px; }
.blog-index { padding-top: 32px; }
.blog-grid { gap: 30px; align-items: stretch; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(16,45,70,.08); }
.blog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eaf6ff; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card-image:hover img { transform: scale(1.025); }
.blog-card-image.no-image { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #a9dcff); color: #fff; font-size: 1.25rem; font-weight: 800; }
.blog-card-body { display: flex; min-height: 290px; flex-direction: column; padding: 24px; }
.blog-card h2 { margin: 10px 0 12px; font-size: 1.28rem; line-height: 1.28; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h2 a:focus-visible { color: var(--blue); }
.blog-card p { margin: 0 0 22px; color: var(--muted); }
.blog-card .text-link { margin-top: auto; font-weight: 750; }
.blog-article { max-width: 860px; padding-top: 54px; padding-bottom: 92px; }
.blog-back { display: inline-block; margin-bottom: 38px; font-weight: 750; text-decoration: none; }
.article-header h1 { max-width: 820px; margin: 10px 0 20px; font-size: clamp(2.3rem, 6vw, 4.65rem); line-height: 1.04; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.article-image { margin: 44px 0; }
.article-image img { width: 100%; max-height: 680px; object-fit: contain; border-radius: 18px; background: #f1f7fb; }
.article-body { max-width: 740px; margin: 0 auto; font-size: 1.08rem; line-height: 1.82; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 { margin: 2.1em 0 .7em; font-size: clamp(1.45rem, 3vw, 2rem); }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 28px; border-radius: 18px; background: #edf8ff; }
.article-footer p { margin: 0; color: var(--ink); font-weight: 700; }

.site-footer { padding: 58px 0 28px; background: #102d46; color: #cbdbe8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #d9edfc; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #91a9bb; font-size: .86rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 76px 0 auto; display: none; padding: 18px 24px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 34px rgba(18,48,75,.08); }
  .nav.open { display: grid; }
  .nav a { padding: 10px 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .language-picker { width: fit-content; margin-top: 8px; }
  .feature-grid, .card-grid, .stats-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .registration-grid { grid-template-columns: repeat(2, 1fr); }
  .registration-grid.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-image { position: static; max-width: 560px; }
  .split img { max-height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1120px); }
  .brand span { max-width: 175px; }
  .hero { min-height: 560px; background: linear-gradient(rgba(255,255,255,.91),rgba(255,255,255,.91)), url('assets/hero.avif') center/cover; }
  .hero-copy { padding: 68px 0 74px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); }
  .feature-grid, .card-grid, .stats-grid, .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; gap: 8px; margin-bottom: 52px; padding: 22px; }
  .registration-heading { display: block; }
  .registration-heading > p { margin-top: 12px; text-align: left; }
  .registration-grid { grid-template-columns: 1fr; }
  .registration-grid.compact-grid { grid-template-columns: 1fr; }
  .registration-grid.two-products { grid-template-columns: 1fr; }
  .full-course-grid { grid-template-columns: 1fr; }
  .product-detail-section { padding-top: 32px; }
  .product-facts li { display: grid; gap: 2px; }
  .product-facts span { text-align: left; }
  .product-purchase { align-items: stretch; flex-direction: column; gap: 12px; }
  .product-purchase .button { width: 100%; }
  .check-list { grid-template-columns: 1fr; }
  .audience-panel { padding: 24px; }
  .columns { columns: 1; }
  .section { padding: 64px 0; }
  .school-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .blog-card-body { min-height: 0; }
  .blog-article { padding-top: 34px; }
  .article-header h1 { font-size: clamp(2.1rem, 11vw, 3.25rem); }
  .article-image { margin: 32px 0; }
  .article-body { font-size: 1rem; }
  .article-footer { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
