@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/BricolageGrotesque_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/Figtree_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/Figtree_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/Figtree_700Bold.ttf') format('truetype'); }
:root {
  --aire: #f4f7f9;
  --surface: #fff;
  --noche: #102a43;
  --malla: #3d5266;
  --cesped: #1e7a4f;
  --pelota: #d9ec3c;
  --vidrio: #c9d6e2;
  --danger: #b42318;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--aire);
  color: var(--noche);
  font: 400 17px/1.5 Figtree, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 20px;
}
h1, h2, .code { font-family: 'Bricolage Grotesque', Figtree, system-ui, sans-serif; letter-spacing: -0.5px; }
h1 { font-size: 32px; line-height: 1.1; font-weight: 800; margin: 0 0 8px; }
h2 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--cesped); font-weight: 600; }
.muted { color: var(--malla); font-size: 15px; }
.brand { display: block; width: 220px; max-width: 100%; height: auto; margin: 0 auto 24px; }
.glass {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 7px solid var(--vidrio);
  border-radius: 28px;
  box-shadow: inset 0 0 0 2px #fff;
  padding: 24px 20px 28px;
  position: relative;
  overflow: hidden;
}
.glass.wide { max-width: 640px; }
.code {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: var(--cesped);
  letter-spacing: 4px;
  margin: 8px 0 20px;
  word-break: break-all;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 18px;
  font: 700 17px Figtree, system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--cesped);
  background: var(--cesped);
  color: #fff;
  margin: 0 0 12px;
}
.btn.secondary { background: var(--surface); color: var(--cesped); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--noche); outline-offset: 2px; }
ol { padding-left: 22px; margin: 0 0 12px; }
li { margin-bottom: 8px; }
.error { color: var(--danger); }
.hidden { display: none; }
footer { font-size: 14px; color: var(--malla); }
@media (max-width: 360px) { .code { font-size: 42px; letter-spacing: 2px; } }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform 0.15s ease-out; } .btn:active { transform: scale(0.98); } }
