:root {
  color-scheme: light;
  --ink: #112443;
  --body: #465974;
  --muted: #546781;
  --blue: #1855bc;
  --blue-dark: #114495;
  --blue-soft: #e7f0ff;
  --canvas: #f5f8fc;
  --line: #dbe4ef;
  --white: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
a { color: var(--blue); text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
p { color: var(--body); }
:focus-visible { outline: 3px solid #2773e3; outline-offset: 4px; }
.wrap { width: min(100% - 7rem, 80rem); margin-inline: auto; }
.icon { display: block; width: 1.3rem; height: 1.3rem; flex: none; }
.skip { position: absolute; top: .75rem; left: 1rem; transform: translateY(-160%); z-index: 10; padding: .75rem 1rem; background: #fff; color: var(--ink); }
.skip:focus { transform: none; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { min-height: 4.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; flex: none; color: var(--ink); font-size: 1.19rem; font-weight: 740; letter-spacing: -.045em; line-height: 1.1; text-decoration: none; }
.brand-mark { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border-radius: .64rem; background: var(--blue); color: #fff; }
.brand-mark svg { width: 1.65rem; height: 1.65rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.desktop-nav > a:not(.button), .mobile-nav nav > a:not(.button) { color: var(--body); font-size: .94rem; font-weight: 560; text-decoration: none; }
.desktop-nav > a:hover, .desktop-nav > a[aria-current="page"]:not(.button), .mobile-nav a[aria-current="page"]:not(.button) { color: var(--blue); }
.desktop-nav > a[aria-current="page"]:not(.button) { text-decoration: underline; text-decoration-thickness: .12rem; text-underline-offset: .6rem; }
.mobile-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .65rem 1.12rem; gap: .55rem; border: 1px solid transparent; border-radius: .56rem; text-decoration: none; font-size: .94rem; font-weight: 680; text-align: center; line-height: 1.3; transition: background-color 150ms, border-color 150ms, color 150ms; }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { color: #fff; background: var(--blue-dark); }
.button.outline { background: #fff; color: var(--blue); border-color: #b8cbe8; }
.button.outline:hover { background: var(--blue-soft); border-color: #8ba9d8; }
.button.compact { min-height: 2.6rem; padding-inline: .8rem; font-size: .875rem; }
.button:disabled { opacity: .7; cursor: wait; }

.hero { background: #edf4fb; background-image: radial-gradient(ellipse at 92% 0, #dceafa, transparent 61%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.75rem); padding-block: clamp(2.8rem, 4vw, 4rem); }
.hero-copy { padding-block: .25rem; }
.location { display: inline-flex; align-items: center; gap: .42rem; padding: .34rem .71rem; color: var(--blue-dark); background: #dfebff; border-radius: 2rem; font-size: .875rem; font-weight: 650; }
.location .icon { width: 1rem; height: 1rem; }
.hero h1 { margin-top: 1.25rem; max-width: 43rem; font-size: clamp(2.8rem, 4.4vw, 4.45rem); font-weight: 750; line-height: 1.055; letter-spacing: -.047em; }
.hero h1 span, .hero h1 em { display: block; text-wrap: balance; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { margin-top: 1.3rem; max-width: 34rem; font-size: clamp(1rem, 1.33vw, 1.18rem); line-height: 1.6; }
.hero-cta { margin-top: 1.75rem; min-height: 3.2rem; padding-inline: 1.25rem; }
.hero-photo { position: relative; background: #c8dfec; border-radius: 1.2rem; overflow: hidden; box-shadow: 0 16px 38px #29496523; }
.hero-photo img { aspect-ratio: 1.26; height: auto; object-fit: cover; object-position: center; }
.hero-photo figcaption { position: absolute; left: 1.1rem; bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; padding: .55rem .9rem .55rem .55rem; background: #fff; border-radius: .66rem; box-shadow: 0 5px 22px #0a285d27; font-size: .91rem; font-weight: 700; }
.photo-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .46rem; background: var(--blue-soft); color: var(--blue); }
.hero-photo small { display: block; color: var(--muted); font-size: .81rem; font-weight: 500; }

.feature-band { background: #fff; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 1.65rem; }
.feature { display: flex; align-items: start; gap: .95rem; padding: .22rem 1.35rem; }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.icon-tile { width: 2.85rem; height: 2.85rem; display: grid; place-items: center; flex: none; border-radius: .7rem; background: var(--blue-soft); color: var(--blue); }
.icon-tile .icon { width: 1.45rem; height: 1.45rem; }
.feature h2 { padding-top: .15rem; font-size: 1.095rem; }
.feature p { margin-top: .43rem; font-size: .925rem; line-height: 1.52; }

.section-space { padding-block: clamp(2.75rem, 4.2vw, 4.25rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.3rem; margin-bottom: 1.6rem; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.section-heading p { margin-top: .56rem; font-size: 1rem; }
.section-heading > a { flex: none; }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.course-card { display: flex; flex-direction: column; padding: 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 3px 10px #10285807; }
.course-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.02rem; }
.course-card .icon-tile { width: 2.48rem; height: 2.48rem; border-radius: .55rem; }
.course-card .icon-tile .icon { width: 1.28rem; height: 1.28rem; }
.category { color: var(--blue-dark); font-size: .86rem; font-weight: 650; }
.course-card h3 { font-size: clamp(1.12rem, 1.45vw, 1.33rem); line-height: 1.21; min-height: 2.45em; }
.course-format { display: flex; align-items: start; gap: .45rem; color: var(--ink); font-size: .875rem; line-height: 1.45; margin-top: .7rem; }
.course-format .icon { width: 1rem; height: 1rem; margin-top: .1rem; color: var(--blue); }
.course-includes { flex: auto; margin-block: .75rem 1.03rem; font-size: .91rem; }
.course-card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .29rem; }
.price strong { font-size: 1.48rem; line-height: 1; color: var(--ink); letter-spacing: -.035em; }
.price span { color: var(--muted); font-size: .78rem; font-weight: 650; }

.page-heading { padding-block: 2.3rem 2.8rem; background: linear-gradient(110deg, #edf4fb, #e5effb); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: .8rem; font-size: .9rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #607893; }
.page-heading h1, .not-found h1 { font-size: clamp(2.15rem, 4.6vw, 4rem); }
.page-description { margin-top: .68rem; max-width: 41rem; font-size: 1.07rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(17.5rem, 1fr); gap: clamp(1.3rem, 3.5vw, 3rem); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: clamp(1.15rem, 2.8vw, 2.2rem); box-shadow: 0 3px 12px #10285807; }
.panel h2, .about-block h2 { font-size: clamp(1.4rem, 2.35vw, 1.96rem); }
.panel-intro { margin-block: .5rem 1.34rem; }
.field { display: grid; align-content: start; gap: .36rem; min-width: 0; margin-bottom: 1.05rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.college-fields { grid-template-columns: 1.2fr 1fr; }
.field label { font-size: .93rem; font-weight: 660; }
.field input, .field select, .field textarea { display: block; min-width: 0; width: 100%; padding: .65rem .72rem; border: 1px solid #bbcadd; border-radius: .48rem; color: var(--ink); background: #fff; }
.field input::placeholder { color: #596e88; opacity: 1; }
.field textarea { resize: vertical; }
.field small { color: var(--muted); font-size: .85rem; }
.select-wrap { position: relative; min-width: 0; }
.field select { appearance: none; text-overflow: ellipsis; padding-right: 2rem; }
.select-wrap .icon { position: absolute; top: 50%; right: .63rem; transform: translateY(-50%); pointer-events: none; color: var(--blue); }
.consent { display: flex; align-items: start; gap: .58rem; font-size: .94rem; color: var(--body); margin-block: 1.2rem; }
.consent input { margin: .21rem 0 0; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--blue); }
.form-note { margin-top: .7rem; font-size: .9rem; }
.status-button { margin-top: .75rem; }
.form-feedback:empty { display: none; }
.form-feedback { font-size: .94rem; margin-top: 1rem; padding: .65rem .8rem; background: var(--blue-soft); border-radius: .45rem; color: var(--blue-dark); overflow-wrap: anywhere; }
.form-feedback[data-state="error"] { background: #fcecec; color: #852537; }
.form-feedback[data-state="success"] { background: #e5f5eb; color: #145736; }
.order-panel { position: sticky; top: 1rem; }
.summary-course { font-weight: 650; font-size: 1.06rem; color: var(--ink); margin: 1.1rem 0 .9rem; }
.summary-lines { border-top: 1px solid var(--line); padding-top: .8rem; }
.summary-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .37rem; }
.summary-lines dt { color: var(--body); }
.summary-lines dd { flex: none; font-weight: 650; }
.summary-lines .summary-total { border-top: 1px solid var(--line); margin-top: .65rem; padding-top: .82rem; }
.summary-total dt { color: var(--ink); font-weight: 700; }
.summary-total dd { font-size: 1.65rem; color: var(--blue); letter-spacing: -.04em; }
.summary-total small { font-weight: 550; color: var(--muted); }
.payment-note { display: flex; align-items: center; gap: .46rem; padding-top: .78rem; color: var(--muted); font-size: .88rem; }
.payment-note .icon { color: var(--blue); width: 1.08rem; height: 1.08rem; }
.contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-block > p { max-width: 42rem; margin-top: .6rem; line-height: 1.65; }
.contact-details { display: grid; gap: 1rem; margin-top: 1.65rem; }
.contact-detail { display: flex; gap: .76rem; align-items: start; }
.contact-detail .icon-tile { width: 2.4rem; height: 2.4rem; border-radius: .5rem; }
.contact-detail .icon { width: 1.18rem; height: 1.18rem; }
.contact-detail dt { color: var(--ink); font-size: .94rem; font-weight: 670; }
.contact-detail dd { color: var(--body); overflow-wrap: anywhere; }
.legal-copy { max-width: 55rem; color: var(--body); }
.legal-copy h2 { font-size: 1.2rem; }
.legal-copy h2 + p { margin-top: .55rem; }
.legal-copy p + p { margin-top: .7rem; }
.legal-copy p + h2 { margin-top: 1.65rem; }
.legal-copy ul, .legal-copy ol { padding-left: 1.32rem; margin: 0; }
.legal-copy li { padding-left: .24rem; line-height: 1.72; }
.legal-copy li + li { margin-top: .8rem; }
.legal-copy li::marker, .legal-copy strong { color: var(--ink); }
.not-found p { margin-block: .75rem 1.25rem; }

.site-footer { background: #102442; color: #fff; }
.footer-grid { padding-block: 2.5rem; display: grid; grid-template-columns: 1.35fr .87fr 1fr 1.08fr; gap: 1.45rem; }
.site-footer .wordmark { color: #fff; }
.site-footer h2 { font-size: .96rem; letter-spacing: -.01em; margin-bottom: .7rem; }
.site-footer a:not(.wordmark), .site-footer p { color: #ccd9ec; font-size: .91rem; overflow-wrap: anywhere; }
.site-footer a:not(.wordmark) { display: block; margin-top: .46rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .wordmark { margin-bottom: .3rem; }
.site-footer p { margin-top: .4rem; max-width: 17.5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; border-top: 1px solid #ffffff29; padding-block: .9rem; color: #bdcce1; font-size: .86rem; }

@media (max-width: 68rem) {
  .wrap { width: min(100% - 4rem, 80rem); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-card h3 { min-height: 0; }
}
@media (max-width: 53rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; cursor: pointer; width: 2.65rem; height: 2.65rem; border: 1px solid var(--line); border-radius: .52rem; color: var(--ink); background: #fff; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; display: grid; gap: .65rem; padding: .8rem 1.25rem 1rem; background: #fff; border-block: 1px solid var(--line); box-shadow: 0 8px 14px #10285812; }
  .mobile-nav nav > a:not(.button) { padding-block: .42rem; }
  .mobile-nav .button { justify-self: start; }
  .hero-grid { gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.45rem, 5.85vw, 3.45rem); }
  .feature-grid { padding-block: 1.4rem; }
  .feature { flex-direction: column; gap: .55rem; padding-inline: .85rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.45rem; gap: 1.75rem; }
  .hero h1 { font-size: clamp(2.44rem, 8.7vw, 3.75rem); margin-top: .9rem; }
  .hero-description { margin-top: .93rem; }
  .hero-cta { margin-top: 1.15rem; }
  .hero-photo { border-radius: .86rem; }
  .hero-photo img { aspect-ratio: 1.4; }
  .hero-photo figcaption { left: .75rem; bottom: .75rem; }
  .feature-grid { grid-template-columns: 1fr; padding-block: .36rem; }
  .feature { flex-direction: row; gap: .8rem; padding: 1rem 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .page-heading { padding-block: 1.8rem 2.15rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .order-panel { position: static; }
}
@media (max-width: 31rem) {
  .course-grid, .field-pair, .college-fields { grid-template-columns: 1fr; }
  .field-pair { gap: 0; }
  .course-card { padding: 1.15rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .85rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
