:root {
  --forest: #12372a;
  --forest-2: #1d5240;
  --leaf: #2f7a5c;
  --cream: #fbf7ef;
  --sand: #f2ebdc;
  --line: #e2d9c6;
  --ink: #1b2420;
  --muted: #5b6862;
  --gold: #c08a2e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 55, 42, .06), 0 8px 28px -12px rgba(18, 55, 42, .22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; color: var(--forest); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 239, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand img { width: 38px; height: 38px; }
.brand span { font: 600 1.15rem/1.1 var(--serif); }
.brand small { display: block; font: 500 .72rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--leaf); }
.nav .btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 .9rem var(--sans); color: var(--forest); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-2); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--sand); color: var(--forest); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }

/* hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("/img/classroom.webp") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 44, 33, .94) 0%, rgba(14, 44, 33, .82) 42%, rgba(14, 44, 33, .25) 75%, rgba(14, 44, 33, .1) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 620px; padding: 96px 0; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, .86); }
.hero .eyebrow { color: #e9c37a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .9rem; color: rgba(255, 255, 255, .92); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #e9c37a; box-shadow: 0 0 0 4px rgba(233, 195, 122, .25); flex: none; }

/* page hero (inner pages) */
.page-hero { background: var(--forest); color: var(--white); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lead { color: rgba(255, 255, 255, .85); }
.page-hero .eyebrow { color: #e9c37a; }
.page-hero figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); aspect-ratio: 4 / 3; }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }

/* sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.alt { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--white); font: 600 1.05rem var(--serif); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 55, 42, .06), 0 18px 40px -16px rgba(18, 55, 42, .3); color: var(--ink); }
.card-top { padding: 30px 28px 0; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 18px; color: var(--forest); }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding: 0 28px 28px; font-weight: 600; color: var(--forest-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rule { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.rule h3 { font-size: 1.12rem; margin-bottom: 8px; }
.rule p { color: var(--muted); margin: 0; font-size: .98rem; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 36px 20px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 3px solid var(--line); }
.timeline li.done::before { background: var(--forest); border-color: var(--forest); }
.timeline li.now::before { background: var(--gold); border-color: #ecd2a2; }
.timeline .when { font: 600 .8rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { font-size: 1.08rem; margin: 6px 0; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

/* prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .55em; }
.note { background: var(--white); border-left: 4px solid var(--gold); border-radius: 8px; padding: 18px 22px; margin: 28px 0; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.aside { position: sticky; top: 104px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.aside h3 { font-size: 1.15rem; }
.aside p { color: var(--muted); font-size: .97rem; }
.facts { list-style: none; padding: 0; margin: 0 0 18px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* cta band */
.cta-band { background: var(--forest); color: var(--white); border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* footer */
.site-foot { background: #0e2b21; color: rgba(255, 255, 255, .78); padding: 64px 0 40px; font-size: .95rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-foot h4 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #e9c37a; margin: 0 0 14px; }
.site-foot a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot .brand { color: var(--white); margin-bottom: 14px; }
.site-foot .brand small { color: rgba(255, 255, 255, .6); }
.site-foot .legal { padding-top: 24px; font-size: .85rem; color: rgba(255, 255, 255, .6); max-width: 820px; }

@media (max-width: 960px) {
  .steps, .cards, .rules { grid-template-columns: 1fr; }
  .split, .page-hero .wrap, .two-col, .cta-band { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .cta-band { padding: 40px 28px; }
  .cta-band .actions { justify-content: flex-start; }
  .aside { position: static; }
  .site-foot .cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.05rem; }
  .hero { min-height: 560px; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 44, 33, .78) 0%, rgba(14, 44, 33, .9) 100%); }
  .hero-copy { padding: 72px 0; }
  .timeline { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
}
