/* Shared look for the small standalone pages (subscription, teacher login,
   privacy): the house font, palette and header, so they match the rest of
   the site. */
:root {
  --primary: #e8552c;
  --primary-hover: #c8431f;
  --primary-light: #fde8de;
  --text-dark: #172033;
  --text-light: #55617a;
  --text-faint: #5d6880; /* 4.6:1 on the page; #8590a3 was 2.9:1 */
  --bg-app: #e9eff7;
  --bg-card: #ffffff;
  --border: #d3dceb;
  --border-strong: #bcc7d8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Nunito', sans-serif; font-weight: 600; line-height: 1.6; color: var(--text-dark); background: var(--bg-app); }
.sp-header { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.sp-mark { display: flex; align-items: center; gap: 8px; flex: 1; font-weight: 900; color: var(--primary-hover); text-decoration: none; }
.sp-mark img { width: 32px; height: 32px; }
.sp-mark img.wide { width: auto; height: 34px; max-width: 160px; }
.sp-title { flex: 2; text-align: center; font-weight: 800; }
.sp-actions { flex: 1; display: flex; justify-content: flex-end; }
.sp-actions a { padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--bg-app); color: var(--text-dark); font-size: 0.85rem; font-weight: 800; text-decoration: none; }
.small-page { max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }
.small-page h1 { margin: 0 0 12px; font-size: 1.9rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }
.small-page h3 { margin: 22px 0 4px; font-size: 1.1rem; font-weight: 900; }
.small-page p { margin: 0 0 12px; color: var(--text-light); }
.small-page a { color: var(--primary-hover); font-weight: 800; }
.sp-btn { display: inline-block; padding: 12px 22px; border: none; border-radius: 10px; background: var(--primary); color: #fff !important; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.sp-btn:hover { background: var(--primary-hover); }
.sp-options { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-card); margin: 8px 0 16px; }
.sp-option { display: block; width: 100%; padding: 14px 16px; border: none; border-top: 1px solid var(--border); background: none; color: var(--text-dark); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.sp-option:first-child { border-top: none; }
.sp-option small { display: block; color: var(--text-light); font-weight: 600; }
.sp-option:hover:not(:disabled) { background: var(--primary-light); }
.sp-option:disabled { cursor: default; color: var(--text-faint); }
.sp-updated { font-size: 0.85rem; color: var(--text-faint) !important; margin-top: 28px !important; }
footer { padding: 24px 16px; text-align: center; font-size: 0.82rem; color: var(--text-faint); }
@media (max-width: 480px) { .small-page h1 { font-size: 1.6rem; } .sp-title { display: none; } }
