/* The classic palette from src/constants/theme.ts, light and dark. */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --hairline: rgba(0, 0, 0, 0.08);
  --ink: #14181d;
  --body: #42484f;
  --muted: #8a8f97;
  --accent: #008e38;
  --accent-soft: rgba(0, 142, 56, 0.1);
  --on-accent: #ffffff;
  --inset: #f0efea;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08090b;
    --surface: #101318;
    --hairline: rgba(255, 255, 255, 0.08);
    --ink: #f2f4f6;
    --body: #c6ccd3;
    --muted: #5b6470;
    --accent: #3ce169;
    --accent-soft: rgba(60, 225, 105, 0.12);
    --on-accent: #06130c;
    --inset: #171c23;
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.label {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.code {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--inset);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.button {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
}
.button.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fine {
  font-size: 14px;
  color: var(--muted);
}
footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--muted);
}
footer a {
  color: inherit;
}
