@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f6f2e8;
  --surface: #ffffff;
  --surface2: #ece6d6;
  --border: #e6dfcf;
  --text: #1e2a1c;
  --muted: #5b6656;
  --accent: #2f6b34;
  --onaccent: #ffffff;
  --tint: #e1edd9;
  --tinttext: #24562a;
  --link: #2f6b34;
  --warn: #8f5400;
  --bottle: #e07b4f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151b;
    --surface: #1a2029;
    --surface2: #232a35;
    --border: #262e39;
    --text: #eceff3;
    --muted: #a3adba;
    --accent: #e07b4f;
    --onaccent: #11151b;
    --tint: #3a2519;
    --tinttext: #f0a27f;
    --link: #e07b4f;
    --warn: #f0a27f;
    --bottle: #eceff3;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

h1,
h2 {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 {
  font-size: 32px;
  margin: 16px 0 12px;
}

h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

a {
  color: var(--link);
}

.muted {
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand svg {
  width: 48px;
  height: 48px;
}

.brand .name {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.brand .name span,
.arch {
  color: var(--accent);
  stroke: var(--accent);
}

.bottle {
  fill: var(--bottle);
}

.card {
  margin: 24px 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.code {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--surface2);
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--onaccent);
  font-weight: 600;
  text-decoration: none;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--tinttext);
  font-size: 14px;
  font-weight: 600;
}

.notice {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--tinttext);
  font-weight: 600;
}

footer {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

footer nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}
