:root {
  color-scheme: light;
  --ink: #182e27;
  --muted: #51645b;
  --forest: #103a33;
  --cream: #f8f8f2;
  --line: #dce3d7;
  --green: #ddebce;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: #1c604d; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #bc791e; outline-offset: 4px; }
[hidden] { display: none !important; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
section[id], aside[id], article[id] { scroll-margin-top: 1.25rem; }
.shell { width: min(1140px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: white; padding: .75rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.header { background: #fcfcf7; }
.header-inner, .footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.28rem; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #e5f2d3; background: var(--forest); font: 1.1rem system-ui; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { font-size: .95rem; color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .77rem 1.17rem; border: 1px solid transparent; border-radius: 8px; font-size: .92rem; font-weight: 700; text-decoration: none; line-height: 1.4; }
.header-button { border-color: #b5c8b7; color: var(--forest); }
.header-button:hover { background: #e8efe3; }
.hero { color: #fcfbf0; background: var(--forest); }
.hero-inner { display: grid; grid-template-columns: 1fr .91fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: 46px; }
.eyebrow { font-size: .875rem; font-weight: 750; letter-spacing: .13em; line-height: 1.4; }
.hero .eyebrow { color: #d8e9c5; display: flex; gap: .66rem; align-items: center; margin-bottom: 1.2rem; }
.hero .eyebrow span { display: inline-block; width: 23px; height: 1px; background: #d8e9c5; }
h1, h2, .panel-header h3, .planner h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
h1 { font-size: clamp(4.2rem, 7.4vw, 7rem); line-height: .95; }
h1 em { color: #dcebc9; font-weight: 400; }
.intro { margin: 1.55rem 0 1.7rem; max-width: 28rem; color: #e1ebe1; font-size: 1.09rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.primary { color: #17382e; background: #e1edcd; }
.primary:hover { background: #f1f7e5; }
.secondary { color: #fafbf4; border-color: #719183; }
.secondary:hover { background: #265047; }
.hero-image { margin: 0; min-width: 0; border: 1px solid #799484; padding: 7px; border-radius: 160px 16px 16px 16px; }
.hero-image img { height: clamp(305px, 32vw, 425px); object-fit: cover; object-position: center 55%; border-radius: 152px 10px 10px 10px; }
.roadmap, .resources { padding-block: 68px; }
.section-label { color: #356452; margin-bottom: .65rem; }
h2 { font-size: clamp(2.7rem, 5vw, 4.35rem); }
.lede { margin: .8rem 0 1.65rem; color: var(--muted); max-width: 43rem; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: #fffefa; border-radius: 12px; padding: 5px; gap: 4px; margin-bottom: 1.35rem; }
.stage { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 51px; padding: .6rem .38rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; text-align: center; }
.stage:hover { background: #eef1e8; }
.stage[aria-current="true"] { background: var(--forest); color: white; }
.roadmap-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(270px, 1fr); gap: 1.35rem; align-items: start; }
.panel, .planner { padding: clamp(1.3rem, 3.1vw, 2.65rem); border: 1px solid var(--line); border-radius: 14px; }
.panel { background: #fffefa; }
.panel + .panel { margin-top: 1rem; }
.panel[hidden] + .panel { margin-top: 0; }
.panel-header { padding-bottom: 1.1rem; }
.panel-header h3 { font-size: clamp(2.2rem, 4vw, 3.35rem); }
.panel-header > p:last-child { color: var(--muted); margin: .8rem 0 0; }
details { border-top: 1px solid var(--line); }
summary { position: relative; cursor: pointer; font-weight: 700; padding: .88rem 2rem .88rem 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: .1rem; content: '+'; color: #2a5647; font-size: 1.35rem; line-height: 1; top: 1rem; font-weight: 400; }
details[open] > summary::after { content: '−'; }
.detail { padding-bottom: 1.05rem; color: #354840; }
.detail p:last-child { margin-bottom: 0; }
.detail ul, .detail ol { padding-left: 1.35rem; margin: .25rem 0 .9rem; }
.detail li + li { margin-top: .45rem; }
.detail a { font-weight: 650; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.split h4 { margin-bottom: .35rem; }
.study-form { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.study-form label { font-weight: 650; }
select { appearance: none; color: var(--ink); background: #f5f8f0; border: 1px solid #aebfb2; border-radius: 8px; padding: .45rem 2rem .45rem .7rem; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: .85rem; top: calc(50% - 5px); border: solid #356452; border-width: 0 2px 2px 0; width: 7px; height: 7px; transform: rotate(45deg); pointer-events: none; }
.study-list strong { display: block; }
.planner { background: #eaf1e4; }
.planner-icon { background: #d4e5ce; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #2d634c; font-size: 1.35rem; margin-bottom: .95rem; }
.planner h3 { font-size: 2.45rem; margin-bottom: .65rem; }
.planner > p { color: #3d594c; }
progress { width: 100%; height: 8px; border: none; border-radius: 5px; background: #d3e1ce; overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: #d3e1ce; }
progress::-webkit-progress-value { background: #2e7054; }
progress::-moz-progress-bar { background: #2e7054; }
.planner .progress-text { margin: .4rem 0 .85rem; font-size: .875rem; }
.task { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem 0; border-top: 1px solid #d2dfcd; cursor: pointer; }
.task input { width: 18px; height: 18px; flex: 0 0 18px; margin: .23rem 0 0; accent-color: #266147; }
.task input:checked + span { text-decoration: line-through; color: #4d6255; }
.planner .storage-note { margin: .9rem 0 0; font-size: .875rem; }
.resources { border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filters button { border: 1px solid #aebfb2; border-radius: 7px; padding: .48rem .85rem; font-size: .9rem; font-weight: 650; color: var(--ink); background: transparent; }
.filters button:hover { background: #eaf1e4; }
.filters button[aria-pressed="true"] { color: white; background: var(--forest); border-color: var(--forest); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resource-grid article { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fffefa; border-radius: 12px; padding: 1.35rem; }
.tag { color: #3b6552; font-weight: 750; letter-spacing: .055em; font-size: .8rem; margin-bottom: .65rem; }
.resource-grid h3 { font-family: var(--serif); line-height: 1.13; font-weight: 400; font-size: 1.68rem; letter-spacing: -.035em; margin-bottom: .65rem; }
.resource-grid article > p:not(.tag) { color: var(--muted); }
.resource-grid a { font-weight: 650; margin-top: auto; }
footer { background: #eaf1e4; border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; }
footer p { color: var(--muted); margin: 0; font-size: .9rem; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .hero-inner { gap: 2rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 665px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 64px; gap: .5rem; }
  .header-inner nav { display: none; }
  .brand { gap: .45rem; font-size: 1.05rem; }
  .mark { height: 30px; width: 30px; }
  .header-button { padding: .55rem .63rem; font-size: .85rem; }
  .hero-inner, .roadmap-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 40px 27px; gap: 1.65rem; }
  h1 { font-size: clamp(3.65rem, 12vw, 5.25rem); }
  .intro { margin-block: 1.1rem 1.35rem; }
  .hero-image { border-top-left-radius: 108px; }
  .hero-image img { height: clamp(220px, 58vw, 320px); border-top-left-radius: 101px; }
  .roadmap, .resources { padding-block: 48px; }
  .stages { display: flex; flex-wrap: wrap; }
  .stage { flex: 1 0 29%; font-size: .875rem; min-height: 45px; }
  .resource-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; align-content: center; gap: .6rem 1rem; padding-block: 1.2rem; }
}
@media (max-width: 385px) { .split { grid-template-columns: 1fr; } }

nav a[aria-current="page"] { font-weight: 750; text-decoration: underline; }
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.5rem; }
.guide-links a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 10px; background: #eef3e8; text-decoration: none; }
.guide-links a:hover strong { text-decoration: underline; }
.guide-links span { display: block; color: var(--muted); margin-top: .15rem; }
.subhero { background: var(--forest); color: #fcfbf0; padding: clamp(2.8rem, 6vw, 5.5rem) 0; }
.subhero .eyebrow { color: #d8e9c5; }
.subhero h1 { font-size: clamp(3rem, 7vw, 6.25rem); }
.subhero p:not(.eyebrow) { color: #e1ebe1; max-width: 41rem; margin: 1.2rem 0 1.5rem; font-size: 1.09rem; }
.content-section { padding-block: clamp(2.8rem, 6vw, 4.3rem); }
.content-section.ruled { border-top: 1px solid var(--line); }
.content-section h2 { max-width: 59rem; }
.directory-controls { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem 1rem; margin-bottom: 1.35rem; }
.directory-controls .filters { flex-basis: 100%; margin-bottom: .35rem; }
.directory-controls label { font-weight: 650; }
.directory-controls input { padding: .55rem .7rem; border: 1px solid #aebfb2; border-radius: 7px; width: min(100%, 20rem); background: #fffefa; color: var(--ink); font: inherit; }
.directory-controls p { color: var(--muted); margin: 0; }
.school-grid a + a, .compact-grid a + a { margin-top: .5rem; }
.compact-grid { margin-top: 1.3rem; }
.guide-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.35rem; }
.guide-columns .panel { margin: 0; }
.guide-columns h3, .journey h3, .callout h3 { font: 400 1.65rem/1.15 var(--serif); margin-bottom: .65rem; }
.guide-columns ol, .callout ul { padding-left: 1.35rem; margin: 0 0 .8rem; }
.guide-columns li + li, .callout li + li { margin-top: .45rem; }
.guide-columns a, .journey a, .callout a { display: block; width: fit-content; margin-top: .35rem; font-weight: 650; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style-position: inside; padding-left: 0; }
.journey li { border-top: 2px solid #799d88; padding-top: .8rem; }
.journey li::marker { color: #356452; font-weight: 750; }
.journey h3 { display: inline; }
.journey p { margin-top: .6rem; }
.callout { margin-top: 1.25rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 12px; background: #eaf1e4; }
.callout p:last-child { margin-bottom: 0; }
.source-line { margin: 1rem 0 0; color: var(--muted); }
@media (max-width: 900px) {
  .header-inner nav { gap: 1rem; }
  .header-inner { gap: .8rem; }
}
@media (max-width: 780px) {
  .header-inner { flex-wrap: wrap; gap: .6rem; padding-block: .65rem; }
  .header-inner nav { order: 1; flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
  .header-inner nav a { font-size: .875rem; }
}
@media (max-width: 665px) {
  .guide-links, .guide-columns, .journey { grid-template-columns: 1fr; }
  .directory-controls input { width: 100%; }
}
