/* Rono's Tutoring design tokens. Fonts: load Lexend (500, 600) and Atkinson Hyperlegible Next (400, 700) from Google Fonts. */
:root, [data-theme="light"] {
  --surface: #faf7f2;
  --surface-raised: #ffffff;
  --surface-sky: #dcebef;
  --ink: #1f2a2e;
  --ink-muted: #56636a;
  --pine: #2f6b5e;
  --on-pine: #ffffff;
  --pine-soft: #dfece7;
  --apricot: #e8a35c;
  --ink-on-apricot: #1f2a2e;
  --apricot-soft: #f6e3cc;
  --line: #e3ddd3;
  --line-strong: #8a8378;
  --focus: #b5521a;
  --shadow-card: 0 1px 2px rgba(31,42,46,0.06), 0 4px 16px rgba(31,42,46,0.06);
}

[data-theme="dark"] {
  --surface: #171b1d;
  --surface-raised: #22282b;
  --surface-sky: #213439;
  --ink: #eef0ec;
  --ink-muted: #a9b4b1;
  --pine: #7cc4b1;
  --on-pine: #10231e;
  --pine-soft: #1d3530;
  --apricot: #e8a35c;
  --ink-on-apricot: #171b1d;
  --apricot-soft: #3b2f22;
  --line: #30373a;
  --line-strong: #6f7a7c;
  --focus: #f2a766;
  --shadow-card: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #171b1d;
    --surface-raised: #22282b;
    --surface-sky: #213439;
    --ink: #eef0ec;
    --ink-muted: #a9b4b1;
    --pine: #7cc4b1;
    --on-pine: #10231e;
    --pine-soft: #1d3530;
    --apricot: #e8a35c;
    --ink-on-apricot: #171b1d;
    --apricot-soft: #3b2f22;
    --line: #30373a;
    --line-strong: #6f7a7c;
    --focus: #f2a766;
    --shadow-card: none;
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --measure-text: 65ch;
  --measure-page: 1120px;
  --font-display: Lexend, "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
}

.display { font-family: var(--font-display); font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.01em; }
.h1 { font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 600; }
.h2 { font-family: var(--font-display); font-size: 28px; line-height: 36px; font-weight: 600; }
.h3 { font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 500; }
.body-lg { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 18px; line-height: 29px; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 700; }
