@font-face {
  font-family: Bodoni;
  src: url('/assets/bodoni.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --cream: #fffaf1;
  --gold: #edcf8c;
  --serif: Bodoni, 'Times New Roman', serif;
  --sans: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background: #210f2c;
  background-image:
    radial-gradient(ellipse at 86% 18%, rgba(165, 96, 174, .55), transparent 55%),
    radial-gradient(ellipse at 12% 76%, rgba(78, 47, 156, .62), transparent 60%),
    radial-gradient(ellipse at 60% 60%, rgba(114, 40, 91, .48), transparent 64%);
  -webkit-font-smoothing: antialiased;
}
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 80px;
  text-align: center;
}
h1 {
  margin: 0;
  font: 400 clamp(54px, 18.5vw, 300px)/1.15 var(--serif);
  letter-spacing: -.065em;
  padding-right: .065em;
}
.theme {
  margin: 12px 0 0;
  color: var(--gold);
  font: 400 clamp(27px, 3.5vw, 54px)/1.3 var(--serif);
  text-wrap: balance;
}
.theme em { font-style: italic; }
.worksheet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 68px;
  min-width: 248px;
  margin-top: 48px;
  padding: 18px 30px;
  border: 1px solid var(--cream);
  border-radius: 8px;
  background: var(--cream);
  color: #291235;
  box-shadow: 0 8px 32px rgba(14, 4, 25, .18);
  font: 600 20px/1.4 var(--sans);
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.worksheet-button:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 36px rgba(14, 4, 25, .28);
}
.worksheet-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 7px;
}
.worksheet-button span { font-size: 25px; line-height: 1; }
::selection { background: var(--gold); color: #291235; }
@media (max-width: 600px) {
  .hero { padding: 40px 16px 64px; }
  h1 { font-size: 18.5vw; }
  .theme { margin-top: 24px; }
  .worksheet-button { margin-top: 40px; width: min(100%, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .worksheet-button { transition: none; }
}
