@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Nunito_700Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans_400Regular.ttf') format('truetype');
}

:root {
  --peach: #ffb995;
  --coral: #f36f68;
  --background: #fffaf7;
  --surface: #ffffff;
  --text: #28232c;
  --muted: #686873;
  --border: #dad3d2;
  --on-accent: #28232c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #17151b;
    --surface: #252129;
    --text: #f8f5f7;
    --muted: #a0a0a8;
    --border: #3a3540;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font: 16px/1.6 'DM Sans', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.wordmark,
h1 {
  margin: 0;
  font-family: 'Nunito', ui-sans-serif, sans-serif;
  font-weight: 700;
}

.wordmark {
  font-size: 24px;
  text-align: center;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.card[hidden] {
  display: none;
}

.badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--on-accent);
  font-size: 13px;
}

.muted {
  color: var(--muted);
  font-size: 15px;
}

.button {
  display: block;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--on-accent);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}
