@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.756049f32875.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("fonts/newsreader.f94a697b1650.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("fonts/newsreader-italic.e97067eb043b.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #14233b;
  --muted: #4d6279;
  --blue: #e8f3fa;
  --blue-light: #f3f8fc;
  --paper: #f8fbfd;
  --line: #d7e4ee;
  --white: #fff;
  --accent: #235d83;
  --green: #17624d;
  --red: #963c4b;
  --radius: 20px;
  --shadow: 0 1px 2px #16294308, 0 12px 36px #16294307;
  --display: Newsreader, Georgia, serif;
  --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  font: 16px/1.62 var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); }
main { flex: 1; }
a { color: var(--accent); text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
svg, img { vertical-align: middle; }
:focus-visible { outline: 3px solid #4382a8; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 5; padding: .75rem 1rem; background: white; }
.skip:focus { top: .55rem; }
.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }

.top { position: sticky; z-index: 4; top: 0; background: #fbfdfff5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 75px; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .72rem; color: var(--ink); font-size: 1.09rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.brand-symbol { flex: 0 0 auto; border-radius: 10px; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .28rem; }
.main-nav a, .nav-button { min-height: 42px; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .78rem; color: var(--muted); font-size: .86rem; font-weight: 750; white-space: nowrap; border-radius: 9px; text-decoration: none; }
.main-nav a:hover, .nav-button:hover { color: var(--ink); background: var(--blue-light); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--blue); }
.main-nav .nav-login { color: var(--ink); border: 1px solid var(--line); padding-inline: .9rem; margin-left: .5rem; }
.signout { margin: 0; }
.nav-button { border: 0; background: transparent; cursor: pointer; }
.nav-button svg { flex-shrink: 0; }

.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .7rem; letter-spacing: .135em; line-height: 1.45; text-transform: uppercase; font-weight: 800; }
h1, h2, h3 { margin: 0 0 .65rem; line-height: 1.1; }
h1 { font-family: var(--display); font-size: clamp(2.8rem, 5.4vw, 4.2rem); font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.045em; }
h3 { font-size: 1.16rem; font-weight: 800; letter-spacing: -.036em; }
p { margin: 0 0 1rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 70px);
  margin-top: clamp(24px, 5vw, 56px);
  padding: clamp(26px, 5.2vw, 76px);
  border: 1px solid #dbe8f1;
  border-radius: 32px;
  background: radial-gradient(ellipse at 100% 1%, #dcecf8 0, transparent 69%), linear-gradient(132deg, #fff, #edf6fc);
}
.hero-kicker { display: flex; align-items: center; gap: .65rem; margin-bottom: clamp(1rem, 3vw, 1.75rem); }
.hero-kicker > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #4793b7; box-shadow: 0 0 0 4px #d8eaf6; }
.hero h1 { margin: 0 0 .05em; font-size: clamp(3.4rem, 7vw, 7rem); letter-spacing: -.058em; line-height: .98; }
.hero-slogan { max-width: 17ch; margin: .2rem 0 .9rem; color: var(--accent); font: italic 450 clamp(1.7rem, 3.15vw, 3.1rem)/1.06 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.hero-copy { max-width: 38ch; margin: 0 0 1.6rem; color: var(--muted); font-size: clamp(.96rem, 1.4vw, 1.06rem); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: .8rem; row-gap: .25rem; margin: 1.28rem 0 0; color: var(--muted); font-size: .74rem; font-weight: 750; }
.hero-meta span[aria-hidden="true"] { width: 4px; height: 4px; border-radius: 50%; background: #7298b3; }
.hero-cta svg { flex: 0 0 auto; }

.lesson-plate { min-width: 0; margin: 0; padding: clamp(13px, 2.3vw, 26px); border: 1px solid #29445e; border-radius: 24px; background: radial-gradient(ellipse at 18% 0, #213d57, transparent 64%), #13263d; color: white; box-shadow: 0 27px 52px #0e2c4b29, 0 4px 9px #0e2c4b17; }
.plate-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .15rem .15rem .9rem; }
.plate-top .eyebrow { display: inline-flex; align-items: center; gap: .56rem; margin: 0; color: #c6dfed; font-size: .63rem; letter-spacing: .13em; }
.plate-dot { width: 6px; height: 6px; border-radius: 50%; background: #9edcf4; }
.plate-index, .plate-note { color: #aac4d8; font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.plate-index { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.plate-graph { border-radius: 13px; border: 1px solid #35516a; background: #101f32; }
.plate-graph svg { display: block; width: 100%; height: auto; }
.plate-caption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem .15rem .08rem; }
.plate-note { display: block; margin-bottom: .15rem; }
.plate-caption strong { display: block; font: 450 clamp(1.3rem, 2.25vw, 1.85rem)/1.08 var(--display); color: #f4faff; }
.plate-symbol { display: grid; width: 38px; height: 38px; flex-shrink: 0; place-items: center; border-radius: 10px; border: 1px solid #4c677e; font: italic 450 1.5rem/1 var(--display); color: #ceecfb; }

.method { margin: clamp(42px, 8vw, 94px) 0 0; }
.method-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); align-items: end; gap: 1.2rem 3rem; margin-bottom: 1.65rem; }
.method-head h2 { margin: 0; font: 500 clamp(2.15rem, 4vw, 3.7rem)/1.02 var(--display); letter-spacing: -.045em; }
.method-head > p { justify-self: end; margin: 0; max-width: 34ch; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.step { min-width: 0; padding: clamp(1.15rem, 2.8vw, 1.65rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: .55rem; margin: 0 0 1.18rem; color: var(--accent); }
.step-number { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--blue-light); font-size: .73rem; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: .91rem; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .6rem; min-height: 46px; padding: .67rem 1.05rem; border: 1px solid var(--ink); border-radius: 10px; color: white; background: var(--ink); font-weight: 800; font-size: .87rem; line-height: 1.35; text-decoration: none; text-align: center; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.button:hover { background: #254362; border-color: #254362; box-shadow: 0 4px 13px #16294318; }
.button.secondary { background: var(--blue-light); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--blue); border-color: #aecbdf; }
.button.danger { background: #fff6f7; border-color: #ecc4ca; color: #8b2939; }
.button.danger:hover { background: #fce9ed; }
.button.enrollment-open { background: var(--green); border-color: var(--green); }
.button.enrollment-closed { background: var(--red); border-color: var(--red); }
.button.enrollment-open:hover, .button.enrollment-closed:hover { filter: brightness(1.08); }

.actions, .inline-form { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.actions.centered { justify-content: center; }
.inline-form input:not([type=hidden]), .inline-form select { width: auto; max-width: 100%; }
.cards { display: grid; gap: clamp(.85rem, 2.2vw, 1.4rem); align-items: start; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.card p:last-child { margin-bottom: 0; }
.card.accent { background: var(--blue); }
.section { margin-top: clamp(1rem, 2.5vw, 1.65rem); }
.page-head { padding: clamp(2rem, 6vw, 4.4rem) 0 clamp(1.1rem, 3vw, 1.75rem); }
.page-head p:not(.eyebrow), .muted { color: var(--muted); }
.page-head > p:last-child { margin-bottom: 0; }
.narrow { width: min(100%, 640px); margin-inline: auto; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.list-row:last-child { border-bottom: 0; padding-bottom: 0; }
a.list-row:hover { color: var(--accent); }
a.list-row:hover strong { text-decoration: underline; }
small, .helptext { display: block; color: var(--muted); font-size: .82rem; }
.pill { display: inline-flex; padding: .24rem .62rem; border: 1px solid var(--line); border-radius: 99px; background: var(--blue-light); color: var(--ink); font-size: .73rem; font-weight: 800; line-height: 1.45; }
.student-workspace-status { margin: 1rem 0 0; }
.student-status-badge {
  display: inline-flex;
  max-width: 100%;
  padding: .28rem .72rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--blue-light);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.student-status-badge--registered {
  border-color: #eac5ce;
  background: #fff0f3;
  color: var(--red);
}
.student-status-badge--occasional {
  border-color: #b6d7c9;
  background: #edf8f3;
  color: var(--green);
}
.student-status-badge--regular {
  border-color: #e3c479;
  background: #fff6db;
  color: #755313;
}
.metric, .metric-card strong { font-size: 2.25rem; font-weight: 800; letter-spacing: -.055em; }
.metric-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.metric-card:hover { background: var(--blue-light); }
.metric-card .metric-text { font-size: 1.55rem; letter-spacing: -.035em; }
.form-stack p, .form-stack .question { margin: 0 0 1rem; }
label, legend { color: var(--ink); font-size: .88rem; font-weight: 800; }
label:has(+ input:not([type=checkbox])), label:has(+ select), label:has(+ textarea) { display: block; margin-bottom: .33rem; }
input:not([type=hidden], [type=checkbox], [type=radio]), select, textarea { width: 100%; min-height: 46px; padding: .57rem .75rem; border: 1px solid #b7cddd; border-radius: 9px; color: var(--ink); background: white; }
input::placeholder, textarea::placeholder { color: #5c7188; }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); margin-right: .4rem; }
textarea { resize: vertical; }
fieldset { min-width: 0; }
.question-fieldset { margin: 0; padding: 0; border: 0; }
.question .question-label { display: block; margin: 0 0 .35rem; padding: 0; }
.question .question-help { margin: .15rem 0 .65rem; }
.question-options > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .5rem;
}
.question-options label {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-weight: 650;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.question-options label:has(input:checked) {
  border-color: #6c98b5;
  background: var(--blue-light);
}
.question-options input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
}
.question-other {
  padding: .45rem .7rem .55rem;
  border-left: 2px solid var(--line);
}
.errorlist { padding-left: 1.2rem; color: #922d38; }
.notice { margin: 1rem 0; padding: .82rem 1.05rem; border: 1px solid var(--line); border-radius: 11px; background: var(--blue); }
.notice.error, .notice.warning { color: #792837; background: #fff2f3; border-color: #e9c2ca; }
.notice.success { color: #205243; background: #e8f7ef; border-color: #b4dcca; }
.choices, .slot-grid { display: flex; flex-wrap: wrap; gap: .56rem; margin: .85rem 0 1.1rem; }
.choice { display: flex; flex-direction: column; padding: .67rem .8rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--blue-light); text-decoration: none; }
.choice.selected { border-color: #6c98b5; background: var(--blue); }
.contact-number { font-size: 1.75rem; font-weight: 800; }
details { padding: .65rem 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; }
.chart { display: block; max-width: 680px; width: 100%; height: auto; margin: .8rem auto; }
.chart-grid { stroke: var(--line); }
.chart-line { fill: none; stroke: #517e9d; stroke-width: 2; }
.chart-point { fill: var(--ink); }
dialog { width: min(90vw, 480px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); box-shadow: 0 25px 85px #14233b33; }
dialog::backdrop { background: #172d497a; backdrop-filter: blur(3px); }
.dialog-inner { padding: 1.7rem; }

.footer { margin-top: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); background: #fff; }
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; min-height: 89px; padding-block: 1.15rem; color: var(--muted); font-size: .78rem; }
.footer-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: .38rem 1rem; }
.footer-brand { font-size: .97rem; }
.footer-link { font-weight: 750; }
.footer-credit-link { color: var(--ink); }

@media (max-width: 930px) {
  .bar-workspace { flex-wrap: wrap; gap: .4rem .8rem; }
  .bar-workspace .main-nav { order: 3; width: 100%; }
  .hero { padding: clamp(24px, 4vw, 44px); gap: clamp(21px, 3vw, 44px); }
}
@media (max-width: 710px) {
  html { scroll-padding-top: 18px; }
  .top { position: static; backdrop-filter: none; }
  .shell { width: calc(100% - 32px); }
  .bar { min-height: 64px; gap: .45rem; }
  .brand { gap: .55rem; }
  .brand-symbol { width: 34px; height: 34px; }
  .main-nav { gap: .18rem; }
  .main-nav a, .nav-button { padding-inline: .48rem; min-height: 40px; font-size: .78rem; }
  .main-nav .nav-login { margin-left: 0; padding-inline: .62rem; }
  .public-nav-anchor { display: none !important; }
  .cards.two, .cards.three, .steps, .method-head, .hero { grid-template-columns: minmax(0, 1fr); }
  .hero { margin-top: 1.05rem; padding: clamp(18px, 5vw, 28px); gap: 1.5rem; border-radius: 22px; }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 5rem); }
  .hero-slogan { font-size: clamp(1.65rem, 7.5vw, 2.4rem); }
  .hero-copy { margin-bottom: 1.1rem; }
  .hero-meta { margin-top: .85rem; }
  .lesson-plate { border-radius: 16px; box-shadow: 0 12px 29px #0e2c4b26; }
  .method-head > p { justify-self: start; }
  .step-top { margin-bottom: .85rem; }
  .list-row { flex-wrap: wrap; }
}
@media (max-width: 355px) {
  .hero-cta { width: 100%; }
  .nav-login svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
