
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ea;
  --border: #e4e1d8;
  --ink: #1a1f36;
  --ink-muted: #565c72;
  --ink-faint: #8a8f9f;
  --brand: #1b2a4a;
  --brand-2: #24365f;
  --brand-ink: #f5f3ec;
  --brand-muted: #b9c3d8;
  --accent: #e9a23b;
  --accent-ink: #1c1608;
  --link: #164e8c;
  --ok: #2f7d4f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 10px;
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420;
    --surface: #161c2b;
    --surface-2: #1c2334;
    --border: #2a3247;
    --ink: #e9e7e1;
    --ink-muted: #aab0c0;
    --ink-faint: #7b8195;
    --brand: #131b30;
    --brand-2: #1a2440;
    --brand-ink: #f1efe8;
    --brand-muted: #9fabc6;
    --accent: #f0b04e;
    --accent-ink: #1c1608;
    --link: #8fb8ea;
    --ok: #62b88a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.2rem; }
p, ul, ol, dl { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; color: var(--ink-muted); max-width: var(--measure); }
.measure { max-width: var(--measure); }
.muted { color: var(--ink-muted); }
.small { font-size: 0.9rem; }
.eyebrow { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 0.6em; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* --- header ------------------------------------------------------------ */
.top { background: var(--surface); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-muted); text-decoration: none; padding: 0.25rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav a.button { margin-left: 0.4rem; color: var(--accent-ink); box-shadow: none; }

/* --- buttons ----------------------------------------------------------- */
.button {
  display: inline-block; padding: 0.65rem 1.15rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none;
  border: 2px solid transparent; line-height: 1.2;
}
.button:hover { filter: brightness(1.05); text-decoration: none; }
.button.quiet { background: transparent; color: inherit; border-color: currentColor; }
.button.small { padding: 0.4rem 0.85rem; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }

/* --- hero -------------------------------------------------------------- */
.hero {
  background-color: var(--brand); color: var(--brand-ink);
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 20ch; color: inherit; }
.hero .lead { color: var(--brand-muted); font-size: 1.25rem; }
.hero .button.quiet { color: var(--brand-ink); }
.hero a:not(.button) { color: var(--brand-ink); }

/* --- sections ---------------------------------------------------------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: var(--surface-2); }
.section.tight { padding-top: 0; }
.page-head { margin-top: 1.75rem; }
.mt-1 { margin-top: 1rem; }
.mt-125 { margin-top: 1.25rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.subhead { font-size: 1.2rem; margin-top: 1.6rem; }
.section.brand { background: var(--brand-2); color: var(--brand-ink); }
.section.brand .eyebrow { color: var(--accent); }
.section.brand .muted { color: var(--brand-muted); }
.section.brand a { color: var(--brand-ink); }
.section-head { max-width: var(--measure); margin-bottom: 2rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid.loose { align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: var(--accent); }

.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat .figure { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .label { display: block; margin-top: 0.4rem; color: var(--ink-muted); }
.section.brand .stat .label { color: var(--brand-muted); }

/* --- schools ----------------------------------------------------------- */
.schools { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.school { display: grid; gap: 0.15rem; }
.school .name { font-weight: 650; color: var(--ink); }
.school .meta { color: var(--ink-muted); font-size: 0.92rem; }
.pill { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: var(--surface-2); color: var(--ink-muted); border: 1px solid var(--border); }
.pill.soon { background: transparent; }

/* --- tiers ------------------------------------------------------------- */
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.tier .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.tier .price small { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-muted); margin-left: 0.3rem; }
.tier ul { padding-left: 1.2rem; margin: 1rem 0; }
.tier li { margin-bottom: 0.35rem; }
.tier .actions { margin-top: auto; }

/* --- prose and lists --------------------------------------------------- */
.prose { max-width: var(--measure); }
.wrap.prose { max-width: 1080px; }
.wrap.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; align-items: start; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.faq dt { font-weight: 650; font-size: 1.1rem; margin-top: 1.4rem; font-family: var(--serif); }
.faq dd { margin: 0.35rem 0 0; color: var(--ink-muted); }
details { border-top: 1px solid var(--border); padding: 0.75rem 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 650; font-family: var(--serif); font-size: 1.1rem; }
details p { margin: 0.6rem 0 0; color: var(--ink-muted); }
.breadcrumbs { font-size: 0.9rem; color: var(--ink-muted); margin: 1.4rem 0 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--ink-faint); margin-right: 0.35rem; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; }
dl.facts dt { color: var(--ink-muted); }
dl.facts dd { margin: 0; }

/* --- profiles ---------------------------------------------------------- */
.profile-card { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.avatar.large { width: 88px; height: 88px; font-size: 2rem; }
.profile-head { display: grid; grid-template-columns: 88px 1fr; gap: 1.4rem; align-items: center; margin-bottom: 1.5rem; }
.profile-head h1 { margin-bottom: 0.2em; }
.profile-head .lead { margin: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.topics li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.92rem; }
.notice { border-left: 4px solid var(--accent); background: var(--surface-2); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }

/* --- footer ------------------------------------------------------------ */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; color: var(--ink-muted); font-size: 0.92rem; }
.footer .cols { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 2rem; }
.footer h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.35rem; }
.footer a { color: var(--ink-muted); }
.footer a:hover { color: var(--ink); }
.footer .fine { border-top: 1px solid var(--border); padding-top: 1.2rem; font-size: 0.85rem; color: var(--ink-faint); }

@media (max-width: 640px) {
  .profile-head { grid-template-columns: 64px 1fr; }
  .avatar.large { width: 64px; height: 64px; font-size: 1.5rem; }
  dl.facts { grid-template-columns: 1fr; gap: 0.1rem 0; }
  dl.facts dd { margin-bottom: 0.6rem; }
}
@media print {
  .top, .footer, .actions, .skip { display: none; }
  .hero { background: none; color: #000; }
  a { color: inherit; }
}
