:root {
  --paper: #FAF9F5;
  --ink: #16211C;
  --muted: #5B655F;
  --teach: #1D9E75;
  --teach-tint: #EAF7F1;
  --learn: #7F77DD;
  --learn-tint: #EFEEFC;
  --line: #E4E1D8;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
nav.top { padding: 28px 0; }
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo span { color: var(--teach); }
nav.top a.contact {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Page body ---------- */
.page { padding: 40px 0 88px; }
.page .inner { max-width: 720px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.page h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  margin-bottom: 16px;
}
.page .lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 40px;
}
.page .updated { font-size: 14px; color: var(--muted); margin: 0 0 40px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page h3 { font-size: 18px; margin: 0 0 6px; }
.page p, .page li { font-size: 16px; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.page a { color: var(--teach); }

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 8px 0 40px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.card.teach { background: var(--teach-tint); border-color: transparent; }
.card.learn { background: var(--learn-tint); border-color: transparent; }
.card p { margin: 0; color: var(--muted); }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Footer ---------- */
footer { padding: 48px 0; border-top: 1px solid var(--line); }
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .foot-logo { font-family: 'Fraunces', serif; font-weight: 700; }
footer .foot-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
footer .foot-links a { text-decoration: none; }
footer .foot-links a:hover { color: var(--ink); }
footer .copyright { font-size: 13px; color: var(--muted); width: 100%; margin-top: 20px; }

/* ---------- Brand (matches home page) ---------- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
