:root {
  --ink: #162b2b;
  --muted: #526665;
  --paper: #fffdf8;
  --panel: #f1f7f3;
  --teal: #176b67;
  --teal-dark: #0e4f4c;
  --lime: #ddeb8b;
  --line: #cbd9d3;
  --shadow: 0 24px 70px rgba(20, 58, 55, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: var(--teal-dark); }
.site-header, main, footer { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: white; background: var(--teal); border-radius: 50%; font-size: 13px; letter-spacing: .04em;
}
.license-link { font-size: 14px; font-weight: 700; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding: 72px 0 88px; }
.eyebrow, .section-label, .tag { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; color: var(--teal); }
h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 7vw, 88px); line-height: .96; letter-spacing: -.045em; }
.lede { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-block; padding: 14px 19px; border: 2px solid var(--teal-dark); border-radius: 7px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--teal-dark); }
.button.secondary { color: var(--teal-dark); background: transparent; }
.button:hover, .download-grid a:hover { transform: translateY(-1px); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 42px 0 0; padding: 0; list-style: none; }
.quick-facts li { padding: 0 24px; border-left: 1px solid var(--line); }
.quick-facts li:first-child { padding-left: 0; border-left: 0; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts span { color: var(--muted); font-size: 13px; }
.preview-card { margin: 0; padding: 18px; transform: rotate(1.5deg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.preview-card img { display: block; width: 100%; height: auto; }
.section { padding: 94px 0; border-top: 1px solid var(--line); }
.grid-section, .teacher-note, .citation { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 51px); line-height: 1.08; letter-spacing: -.025em; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li > span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--lime); border-radius: 50%; font-weight: 900; }
.steps p { margin: 4px 0 0; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; margin-bottom: 42px; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.download-grid article { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.download-grid h3 { margin: 0; font-size: 22px; }
.download-grid article > p:not(.tag) { min-height: 50px; color: var(--muted); }
.download-grid a { display: inline-block; font-weight: 850; transition: transform .15s ease; }
.inline-links { display: flex; gap: 18px; }
.teacher-note { padding-inline: 42px; background: var(--ink); border: 0; color: white; }
.teacher-note .section-label { color: var(--lime); }
.teacher-note > p { margin: 0; color: #d9e4e0; font-size: 18px; }
.citation > div:last-child p { margin-top: 0; }
.citation-text { color: var(--muted); }
footer { display: flex; justify-content: space-between; padding: 32px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .hero, .grid-section, .teacher-note, .citation, .section-heading { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 50px; }
  .quick-facts li { width: 50%; margin-bottom: 18px; }
  .quick-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .download-grid { grid-template-columns: 1fr; }
  .teacher-note { padding-inline: 25px; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 26px, 1160px); }
  .license-link { display: none; }
  h1 { font-size: 48px; }
  .quick-facts { display: block; }
  .quick-facts li { width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--line); }
  .button { width: 100%; text-align: center; }
  footer { display: block; }
}

@media print {
  .site-header, .actions { display: none; }
  body { background: white; }
  .hero { min-height: 0; }
  .preview-card { box-shadow: none; transform: none; }
}
