:root {
  color-scheme: light;
  --ink: #17312e;
  --forest: #173f3a;
  --forest-2: #24594f;
  --mint: #b8dbc8;
  --mint-soft: #e1efe7;
  --paper: #f4f0e5;
  --paper-raised: #fffdf6;
  --gold: #d59a3b;
  --blue: #537a9e;
  --line: #c9c4b5;
  --shadow: 0 24px 70px rgba(23, 49, 46, 0.13);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", Futura, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 63, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 58, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 50; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(1180px, calc(100% - 2rem));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.wordmark-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .65rem; background: var(--forest); color: var(--paper-raised); font-family: var(--serif); font-size: .8rem; }
nav, .footer-links { display: flex; align-items: center; gap: 1.6rem; }
nav a, .footer-links a { font-size: .8rem; font-weight: 700; text-decoration: none; }
nav a:hover, .footer-links a:hover, nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
.nav-contact { border: 1px solid var(--forest); border-radius: 999px; padding: .55rem 1rem; }
main { overflow: hidden; }
.hero {
  width: min(1180px, calc(100% - 2rem));
  min-height: 720px;
  margin: 0 auto;
  padding: 6.5rem 0 5rem;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.eyebrow { margin: 0 0 1rem; color: var(--forest-2); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 790px; margin-bottom: 1.6rem; font-size: clamp(4rem, 8vw, 7.8rem); line-height: .88; }
.hero-lede { max-width: 660px; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border-radius: 999px; font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; box-shadow: 0 10px 28px rgba(23, 63, 58, .2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 253, 246, .55); }
.quest-card { position: relative; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1.6rem; background: var(--paper-raised); box-shadow: var(--shadow); transform: rotate(1.3deg); }
.quest-card::before { content: ""; position: absolute; inset: -18px 24px auto; height: 20px; border: 1px solid var(--line); border-bottom: 0; border-radius: 1rem 1rem 0 0; background: var(--mint-soft); z-index: -1; }
.quest-card-topline { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.status { display: inline-flex; align-items: center; gap: .35rem; color: var(--forest-2); }
.status i { width: .45rem; height: .45rem; border-radius: 50%; background: #4c9a6a; }
.assignment-list { display: grid; gap: .75rem; padding: 1rem 0; }
.assignment-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #ded9ca; border-radius: .9rem; background: #faf7ee; }
.assignment-list strong, .assignment-list small { display: block; }
.assignment-list strong { font-size: .9rem; }
.assignment-list small { margin-top: .15rem; color: #576662; }
.course-tag { padding: .35rem .5rem; border-radius: .45rem; font-size: .65rem; font-weight: 800; }
.course-tag.teal { background: var(--mint); }
.course-tag.gold { background: #f2daa9; }
.course-tag.blue { background: #d6e1eb; }
.check, .bookmark { font-weight: 900; color: var(--forest-2); }
.card-note { margin: 0; padding-top: 1rem; border-top: 1px dashed var(--line); font-family: var(--serif); font-size: .9rem; font-style: italic; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; padding: 2.5rem max(1rem, calc((100% - 1180px) / 2)); background: var(--forest); color: white; }
.principles p, .principles strong { padding: 0 2rem; }
.principles p { margin-bottom: .2rem; color: var(--mint); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.principles strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.feature-section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 8rem 0; }
.section-heading { max-width: 700px; }
.section-heading h2, .privacy-callout h2 { margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: .95; }
.section-heading > p:last-child { max-width: 620px; font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.feature-grid article { min-height: 300px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.2rem; background: rgba(255,253,246,.65); }
.feature-number, .section-index { color: var(--forest-2); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.feature-grid h3 { margin-top: 5rem; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.feature-grid p { margin-bottom: 0; }
.privacy-callout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding: 7rem max(1rem, calc((100% - 1180px) / 2)); background: var(--mint-soft); }
.privacy-callout > div:last-child { align-self: end; max-width: 540px; }
.text-link { font-weight: 800; text-underline-offset: .3rem; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(1rem, calc((100% - 1180px) / 2)); background: #102c29; color: white; }
.footer-mark { color: white; }
footer p { max-width: 540px; margin: 1rem 0 0; color: #bed4ca; font-size: .82rem; }

.policy { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding-bottom: 7rem; overflow: visible; }
.policy-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; padding: 6rem 0 4rem; border-bottom: 1px solid var(--line); }
.policy-hero h1 { max-width: 780px; margin-bottom: 0; font-size: clamp(3.5rem, 7vw, 6.7rem); }
.policy-summary { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper-raised); }
.policy-summary strong { font-family: var(--serif); font-size: 1.35rem; }
.policy-summary p { margin: .6rem 0 0; font-size: .82rem; }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(3rem, 8vw, 8rem); padding-top: 4rem; }
.policy-nav { position: sticky; top: 2rem; align-self: start; display: grid; gap: .65rem; }
.policy-nav p { margin-bottom: .5rem; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.policy-nav a { font-size: .8rem; font-weight: 700; text-decoration: none; }
.policy-nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.policy-copy > section { scroll-margin-top: 2rem; padding: 0 0 3.5rem; }
.policy-copy > section + section { padding-top: 3.5rem; border-top: 1px solid var(--line); }
.policy-copy h2 { margin: .5rem 0 1.3rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.policy-copy p, .policy-copy li { font-size: 1rem; line-height: 1.8; }
.policy-copy li + li { margin-top: .65rem; }
.policy-copy code { padding: .1rem .35rem; border-radius: .3rem; background: #dfdacd; font-size: .85em; }
.policy-lede { font-family: var(--serif); font-size: 1.35rem; }
.policy-lede p { font-size: 1.35rem; line-height: 1.6; }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 2rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--line); }
.boundary-grid > div { padding: 1.4rem; background: var(--paper-raised); }
.boundary-grid strong { color: var(--forest-2); font-family: var(--serif); font-size: 1.15rem; }
.boundary-grid p { margin: .7rem 0 0; font-size: .88rem; }
.contact-panel { padding: 2rem !important; border: 0 !important; border-radius: 1.2rem; background: var(--mint-soft); }
.contact-panel h2 { max-width: 520px; }
.contact-panel .button { margin-top: .5rem; }
.independence-note { margin-top: 3rem; }

@media (max-width: 800px) {
  .site-header { min-height: auto; padding: 1rem 0; align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1rem; }
  .hero, .policy-hero, .privacy-callout { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 4rem 0; }
  .quest-card { transform: none; }
  .principles, .feature-grid { grid-template-columns: 1fr; }
  .principles { gap: 1.5rem; }
  .principles p, .principles strong { padding: 0; }
  .feature-grid article { min-height: 240px; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-template-columns: 1fr 1fr; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .policy-nav p { grid-column: 1 / -1; }
  .boundary-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .site-header { display: grid; }
  nav { justify-content: flex-start; }
  h1 { font-size: 3.6rem; }
  .hero-actions, .button { width: 100%; }
  .assignment-list article { grid-template-columns: 1fr auto; }
  .course-tag { grid-column: 1 / -1; justify-self: start; }
  .feature-section, .policy { width: min(100% - 1.25rem, 1180px); }
  .policy-hero { padding-top: 4rem; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
