/* Big College Data: shared style for /bcd/thanks and the policy pages.
   Same tokens, fonts, header and footer as the landing page (bcd.html, which keeps its own inline copy). */
:root {
  --bg: #0C1424;
  --surface: #141E33;
  --surface-2: #1B2741;
  --line: #263452;
  --text: #F1F3F8;
  --muted: #A3ABBF;
  --accent: #FFE24D;
  --on-accent: #0C1424;
  --r: 14px;
  --display: 'Bricolage Grotesque', 'Geist', -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-wrap: balance; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; margin: 0 auto; }

/* Header (same as the landing page) */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-header a { display: block; }
.logo { width: 50px; filter: brightness(0) invert(0.95); }
.back { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.btn:hover { filter: brightness(1.06); color: var(--on-accent); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Policy pages */
.doc { padding: 28px 0 88px; }
.doc .doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.doc-nav a {
  display: block;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}
.doc-nav a:hover { color: var(--text); border-color: var(--muted); }
.doc-nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.doc h1 { font-size: clamp(44px, 12vw, 72px); line-height: 0.98; letter-spacing: -0.045em; }
.updated { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.lede { margin: 24px 0 0; font-size: 18.5px; line-height: 1.55; }
.doc h2 {
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(25px, 6.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 1.2em; }
.doc li { margin: 0 0 10px; }
.doc li::marker { color: var(--accent); }
.doc strong { font-weight: 650; }
.doc a { overflow-wrap: anywhere; }
.card {
  margin: 28px 0 0;
  padding: 22px 20px;
  background: var(--surface);
  border-radius: var(--r);
}
.card p:last-child { margin: 0; }
.card .big {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Footer (same as the landing page, plus the policy links) */
footer { padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 6px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
footer .policy-links { margin-bottom: 14px; font-weight: 600; }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .site-header .wrap { height: 76px; }
  .logo { width: 60px; }
  .doc { padding: 48px 0 112px; }
  .card { padding: 26px 28px; }
}

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