@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ff-ink: #2a1f3d;
  --ff-cream: #f6efe2;
  --ff-sun: #e8a23a;
  --ff-ink-3: #201731;
  --ff-cream-2: #f1e8d7;
  --ff-line: rgba(42, 31, 61, 0.12);
  --ff-line-dark: rgba(246, 239, 226, 0.14);
  --ff-muted: rgba(42, 31, 61, 0.6);
  --ff-muted-dark: rgba(246, 239, 226, 0.55);
  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-r-sm: 10px;
  --ff-r: 16px;
  --ff-r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ff-ink);
  background: var(--ff-cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.ff-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.ff-btn--primary { background: var(--ff-sun); color: var(--ff-ink); }
.ff-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(232, 162, 58, 0.35); }
.ff-btn--ghost { background: transparent; color: var(--ff-ink); border-color: var(--ff-ink); }
.ff-btn--ghost:hover { background: var(--ff-ink); color: var(--ff-cream); }

.ff-mark { display: inline-flex; align-items: center; gap: 10px; }
.ff-mark__word { font-family: var(--ff-display); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.ff-pillar__body { flex: 1; }
.ff-footer__brand { display: block; }
.ff-edu-stat { display: block; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
