:root {
  color-scheme: light;
  --ink: #142144;
  --muted: #4f5c77;
  --blue: #274acf;
  --blue-dark: #1d389f;
  --gold: #ffd45e;
  --paper: #f6f8ff;
  --line: #dfe5f1;
  --display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --body: 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.045em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 800; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #4366f0; outline-offset: 4px; }
.wrap { width: min(calc(100% - 96px), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 114px); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 10px 16px; background: white; }

.site-header { position: sticky; top: 0; z-index: 4; background: #fffffff5; border-bottom: 1px solid #e9edf6; backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; text-decoration: none; font: 800 1.35rem/1.08 var(--display); letter-spacing: -.055em; }
.brand-accent { color: var(--blue); }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 600 .75rem/1.1 var(--body); letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--blue); color: var(--gold); }
.brand-mark i { position: relative; width: 23px; height: 19px; }
.brand-mark i::before, .brand-mark i::after { content: ''; position: absolute; top: 2px; width: 10px; height: 15px; border: 2px solid currentColor; border-radius: 2px; }
.brand-mark i::before { left: 0; transform: skewY(15deg); }
.brand-mark i::after { right: 0; transform: skewY(-15deg); }
.site-nav { display: flex; align-items: center; gap: clamp(21px, 3vw, 45px); }
.site-nav a { text-decoration: none; color: #3d4b67; font-size: .92rem; font-weight: 650; transition: color .2s; }
.site-nav a:hover { color: var(--blue); }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; text-align: center; line-height: 1.23; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: .94rem; font-weight: 750; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-gold { background: var(--gold); color: #201e30; box-shadow: 0 7px 16px #e5ad2533; }
.button-gold:hover { background: #ffe084; }
.button-navy { background: var(--ink); color: #fff; }
.button-navy:hover { background: var(--blue-dark); }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: var(--blue-dark); }
.button-outline { border-color: #d4dced; background: #ffffff70; }
.button-outline:hover { background: #fff; box-shadow: 0 6px 20px #2031580d; }
.button-dark-outline { background: #ffffff68; border-color: #c7a664; }
.button-dark-outline:hover { background: #fff8dc; }
.text-link { color: var(--blue-dark); font-weight: 750; text-decoration-color: #274acf65; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

.icon { position: relative; display: inline-block; flex: none; width: 1em; height: 1em; color: inherit; }
.icon::before, .icon::after { content: ''; position: absolute; }
.chat::before { inset: .06em 0 .17em; border: .105em solid currentColor; border-radius: .31em; }
.chat::after { bottom: .07em; left: .16em; width: .25em; height: .23em; border: solid currentColor; border-width: 0 0 .105em .105em; transform: skewY(-30deg); background: inherit; }
.pin::before { width: .72em; height: .72em; top: .04em; left: .14em; border: .1em solid currentColor; border-radius: 50% 50% 50% .13em; transform: rotate(-45deg); }
.pin::after { width: .19em; height: .19em; top: .30em; left: .405em; border-radius: 50%; background: currentColor; }
.book::before, .book::after { top: .17em; width: .43em; height: .65em; border: .08em solid currentColor; border-radius: .07em; }
.book::before { left: .07em; transform: skewY(13deg); }
.book::after { right: .07em; transform: skewY(-13deg); }
.clock::before { inset: .08em; border: .08em solid currentColor; border-radius: 50%; }
.clock::after { top: .26em; left: .48em; width: .2em; height: .26em; border: solid currentColor; border-width: 0 0 .08em .08em; }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #e8edf8; background: radial-gradient(ellipse at 70% 22%, #e6edff 0%, transparent 54%), var(--paper); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#9cabe42b 1px, transparent 1px), linear-gradient(90deg, #9cabe42b 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(115deg, transparent 28%, #000 68%, #000 97%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.07fr; align-items: center; gap: clamp(28px, 5vw, 76px); min-height: clamp(590px, 50vw, 660px); padding-block: 55px 65px; }
.hero-copy { min-width: 0; animation: hero-enter .55s both; }
.address-pill { display: inline-flex; gap: 8px; align-items: center; font-size: .875rem; font-weight: 700; color: var(--blue-dark); background: #e9eeff; border: 1px solid #d9e1ff; border-radius: 999px; padding: 6px 13px; text-decoration: none; }
.address-pill:hover { background: #dde6ff; }
.hero h1 { font-size: clamp(3.3rem, 6.1vw, 6.05rem); line-height: .99; letter-spacing: -.082em; margin-block: 20px 22px; }
.hero h1 span { color: var(--blue); }
.intro { max-width: 480px; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; font-size: .875rem; color: var(--muted); text-decoration: none; }
.hero-rating strong { color: var(--ink); }
.hero-rating:hover strong { text-decoration: underline; }
.rating-star { color: #8b5600; font-size: 1.05rem; }
.rating-dot { width: 4px; height: 4px; border-radius: 50%; background: #7f8aad; }
.hero-figure { min-width: 0; position: relative; transform: rotate(1.4deg); animation: photo-enter .7s both; }
.hero-photo { position: relative; aspect-ratio: 1.1; overflow: hidden; background: linear-gradient(140deg, #ccdbff, #f7e2ab); border-radius: 104px 28px 104px 28px; border: 7px solid #fff; box-shadow: 0 22px 58px #20398029; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 47%; }
.hero-figure figcaption { position: absolute; left: 22px; bottom: 22px; padding: 5px 10px; border-radius: 7px; background: #172242da; color: #fff; font-size: .75rem; }
.photo-spark { position: absolute; top: -29px; right: -16px; z-index: 1; color: var(--gold); line-height: 1; font-size: clamp(4rem, 8vw, 7.6rem); text-shadow: 0 5px 16px #422c241e; animation: float 5s 1s ease-in-out infinite; pointer-events: none; }
.small-spark { right: auto; top: auto; left: -26px; bottom: -31px; color: #5273e8; font-size: clamp(2rem, 4.9vw, 5rem); animation-delay: 1.7s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-enter { from { opacity: .8; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-enter { from { opacity: .65; transform: rotate(-1.4deg) translateY(14px); } to { opacity: 1; transform: rotate(1.4deg) translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px) rotate(8deg); } }

.section-heading { margin-bottom: 32px; }
.section-heading p { margin-top: 12px; max-width: 630px; font-size: 1.06rem; }
.feature-grid, .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.subject-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.program-card { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.program-card:hover { box-shadow: 0 12px 34px #1c367716; border-color: #8ca3e3; }
.feature { min-height: 305px; }
.prep { background: #eaf0ff; border-color: #d9e3ff; }
.care { background: #fff2ce; border-color: #f4e2ac; }
.program-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 14px; font: 800 1.48rem/1 var(--display); }
.prep .program-icon { background: #2e51cf; color: #fff; }
.care .program-icon { background: #ffd667; color: #472c00; }
.card-art { position: absolute; right: 8px; top: -32px; z-index: -1; transform: rotate(-13deg); font: 800 clamp(10rem, 17vw, 16rem)/1 var(--display); user-select: none; color: #cad8ff; }
.care .card-art { color: #f6dd91; right: 10px; top: -49px; transform: rotate(11deg); }
.program-audience { margin-top: 19px; font-weight: 700; font-size: .9rem; }
.feature h3 { margin-block: 6px 9px; font-size: clamp(1.85rem, 3vw, 2.6rem); }
.feature p:not(.program-audience) { max-width: 340px; margin-bottom: 21px; }
.feature .button { margin-top: auto; }
.subject h3 { margin-block: 17px 8px; }
.subject p { margin-bottom: 16px; }
.subject .text-link { margin-top: auto; }
.subject-violet { background: #eee9ff; color: #5633b3; }
.subject-mint { background: #def4ed; color: #175649; }
.subject-peach { background: #ffebde; color: #874421; }

.day { position: relative; isolation: isolate; overflow: hidden; background: #172a66; color: #fff; }
.day::before { content: ''; position: absolute; width: 590px; height: 590px; border: 1px solid #9eb6ff2c; border-radius: 50%; left: -150px; bottom: -365px; box-shadow: 0 0 0 48px #9eb6ff15, 0 0 0 96px #9eb6ff0e; z-index: -1; }
.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 8vw, 104px); align-items: center; }
.day h2 { max-width: 490px; }
.day p { color: #e3eaff; }
.day-grid > div > p { margin-block: 16px 24px; max-width: 360px; }
.day-steps { margin: 0; padding: 0; list-style: none; }
.day-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 18px 0; }
.day-steps li + li { border-top: 1px solid #bdcaff36; }
.day-steps h3 { font-size: 1.3rem; margin-bottom: 5px; letter-spacing: -.02em; }
.step-icon { place-self: start center; margin-top: 5px; width: 1em; font-size: 1.5rem; color: var(--gold); filter: drop-shadow(0 0 11px #fad26265); }

.schedule { background: #f7f9ff; padding-bottom: clamp(44px, 6vw, 76px); }
.schedule-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 17px 20px; vertical-align: middle; }
thead { background: #eaf0ff; }
thead th { font-size: .87rem; color: #384767; }
tbody th { font-weight: 750; }
tbody td { color: var(--muted); }
tbody td a { font-size: .9rem; }
tbody tr + tr { border-top: 1px solid #e8edf7; }
tbody tr:hover { background: #f7f9ff; }
.center-info { background: #f7f9ff; padding-bottom: clamp(62px, 8vw, 108px); }
.info-card { border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: clamp(24px, 3vw, 36px); }
.info-card h2 { font-size: clamp(1.55rem, 2.6vw, 2.35rem); margin-block: 17px 9px; }
.info-card p { margin-bottom: 15px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.reviews { background: #fff7df; border-color: #efdfab; }
.review-stars { display: flex; align-items: center; min-height: 51px; color: #8b5600; font-size: 1.55rem; letter-spacing: .15em; }

.trial { background: #2846be; color: #fff; }
.trial-grid, .location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 6vw, 80px); align-items: center; }
.trial h2 { max-width: 510px; }
.trial p { color: #f0f3ff; margin-top: 14px; }
.trial :focus-visible, .day :focus-visible { outline-color: #fff; }
.trial-programs { display: none; min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.js .trial-programs { display: block; }
.trial-programs legend { padding: 0; margin-bottom: 9px; font-weight: 700; }
.program-options { display: flex; flex-wrap: wrap; gap: 8px; }
.program-option { position: relative; display: inline-flex; max-width: 100%; }
.program-option > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #9fb2ff94; border-radius: 999px; background: #182e9166; color: #fff; font-size: .94rem; font-weight: 650; line-height: 1.3; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.program-option > span::before { content: ''; flex: none; width: 14px; height: 14px; border: 1px solid #c4d0ff; border-radius: 50%; transition: background .2s, border-color .2s, box-shadow .2s; }
.program-option:hover > span { background: #1b348f; border-color: #dce4ff; }
.program-option input:checked + span { background: #fff; border-color: #fff; color: #1d389f; }
.program-option input:checked + span::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.program-option input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.trial-cta { min-height: 54px; margin-top: 18px; padding: 8px 20px 8px 10px; border-radius: 999px; }
.trial-cta-icon { display: grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 50%; background: #fff8d2; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid #9cb0fc77; border-radius: 13px; background: #152c9438; }
.faq summary { cursor: pointer; position: relative; padding: 15px 48px 15px 17px; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 17px; top: 12px; font-size: 1.23rem; color: var(--gold); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0; padding: 0 17px 15px; }
.faq details[open] p { animation: enter .23s ease-out both; }

.location address { font-style: normal; line-height: 1.55; margin-block: 17px 13px; }
.location address strong { font-size: 1.2rem; }
.location-actions { margin-top: 23px; }
.contact-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #edf2ff; border: 1px solid #dbe5ff; }
.contact-card h3 { margin-bottom: 10px; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 6px 18px; min-height: 49px; text-decoration: none; }
.contact-line + .contact-line { border-top: 1px solid #d4deef; }
.contact-line span { color: var(--muted); }
.contact-line strong { color: var(--blue-dark); overflow-wrap: anywhere; }
.contact-line:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { background: #f7f9ff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 22px; }
.footer-inner p { font-size: .88rem; }
.footer-inner .text-link { font-size: .88rem; }
.reveal.is-visible { animation: enter .65s ease-out both; }

@media (max-width: 1050px) {
  .wrap { width: min(calc(100% - 64px), var(--wrap)); }
  .hero-grid { gap: 38px; }
  .hero-figure { margin-right: 8px; }
}

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 48px), var(--wrap)); }
  .header-inner { gap: 14px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .85rem; }
  .header-cta { padding-inline: 11px; font-size: .83rem; }
  .hero-grid { min-height: 0; gap: 25px; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .hero-photo { border-radius: 70px 20px 70px 20px; aspect-ratio: .89; }
  .hero-figure figcaption { left: 13px; bottom: 15px; }
  th, td { padding-inline: 13px; }
}

@media (max-width: 670px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: min(calc(100% - 36px), 490px); }
  .header-inner { min-height: 69px; flex-wrap: wrap; padding-block: 9px; }
  .brand { font-size: 1.24rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .header-cta { display: none; }
  .menu-toggle { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 700; }
  .js .menu-toggle { display: inline-flex; }
  .menu-toggle span { width: 14px; height: 10px; border-block: 2px solid currentColor; }
  .site-nav { width: 100%; gap: 10px 18px; flex-wrap: wrap; }
  .js .site-nav { display: none; position: absolute; top: calc(100% + 6px); right: 0; width: min(100%, 260px); padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 30px #14214420; }
  .js .site-nav.is-open { display: grid; gap: 0; }
  .js .site-nav a { min-height: 44px; padding: 10px; border-radius: 8px; }
  .js .site-nav a:hover { background: #edf2ff; }
  .hero-grid, .day-grid, .trial-grid, .location-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 35px 38px; gap: 24px; }
  .hero h1 { margin-block: 16px; font-size: clamp(2.75rem, 9.7vw, 4.75rem); }
  .hero-break:first-of-type { display: none; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 46px; }
  .hero-rating { margin-top: 6px; }
  .hero-figure { margin-inline: 7px; }
  .hero-photo { aspect-ratio: 1.35; border-width: 5px; border-radius: 65px 18px 65px 18px; }
  .photo-spark { right: -9px; top: -17px; }
  .small-spark { right: auto; top: auto; bottom: -16px; left: -14px; }
  .feature-grid, .subject-grid, .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .subject-grid { margin-top: 12px; }
  .feature { min-height: 0; }
  .section-heading { margin-bottom: 23px; }
  .day h2 br { display: none; }
  .day-steps li { gap: 10px; grid-template-columns: 38px 1fr; }
  .schedule-table { border-radius: 13px; }
  .schedule-table table { table-layout: fixed; overflow-wrap: anywhere; }
  thead th { font-size: .76rem; line-height: 1.2; }
  td, th { padding: 12px 7px; }
  td, tbody th { font-size: .84rem; line-height: 1.32; }
  tbody td a { font-size: .82rem; }
  .footer-inner p { order: 3; width: 100%; }
}

@media (max-width: 370px) {
  .hero-actions .button { width: 100%; }
  .contact-line { align-items: flex-start; flex-direction: column; padding-block: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}
