@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&family=Inter:wght@400;600;700;800&display=swap");

/* Cream theme shared with the home page and /teachers. Variable names are
   kept so each guide page's inline table and callout styles follow along. */
:root {
  color-scheme: light;
  --bg: #fdf6e3;
  --panel: #fffdf6;
  --panel-soft: #fbf3dc;
  --text: #1f1d1a;
  --heading: #1f1d1a;
  --muted: #5c584e;
  --line: #e4dcc6;
  --line-strong: #d5ccb6;
  --green: #2f8a5b;
  --blue: #3b63b0;
  --gold: #b9830f;
  --purple: #7251d3;
  --shadow: none;
  --eyebrow-bg: #ffd43b;
  --eyebrow-text: #1f1d1a;
  --table-head-bg: #fbf3dc;
  --table-head-text: var(--heading);
  --table-row-alt: #fdf9ec;
  --callout-blue-bg: #e2effc;
  --callout-green-bg: #ddf3e6;
  --callout-gold-bg: #fff1c4;
  --profile-card-bg: #fdf9ec;
  --band-excellent-bg: #d6efdf;
  --band-excellent-text: #1f5f3f;
  --band-strong-bg: #dbe8f6;
  --band-strong-text: #214d70;
  --band-secure-bg: #fbecc0;
  --band-secure-text: #6e5212;
  --band-developing-bg: #f8dfcc;
  --band-developing-text: #7a4523;
  --band-emerging-bg: #f4d9de;
  --band-emerging-text: #7b3341;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.65 "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--text);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: "Fredoka", "Inter", sans-serif;
  font-weight: 500;
  color: var(--heading);
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.hero,
.content,
.related {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.hero {
  padding: 28px;
  margin-bottom: 20px;
  border: 2px solid var(--text);
}

.top-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.top-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--eyebrow-bg);
  color: var(--eyebrow-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h2 {
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 0 var(--text);
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.secondary {
  background: var(--panel);
  color: var(--text);
}

.content {
  padding: 28px;
}

.content p {
  margin: 0 0 16px;
}

.content ul {
  padding-left: 20px;
}

.related {
  margin-top: 20px;
  padding: 24px 28px;
  background: var(--callout-gold-bg);
  border-color: var(--line-strong);
}

.related ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.footer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero,
  .content,
  .related {
    padding: 22px;
    border-radius: 18px;
  }
}
