@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #0f0d17;
  --surface: #181526;
  --raised: #231f35;
  --border: #2b263f;
  --text: #ece9f6;
  --muted: #a49fba;
  --faint: #6f6987;
  --accent: #a78bfa;
  --on-accent: #1c1036;
  --accent-tint: #261d45;
  --warning: #f2c14e;
  --green: #3ddc84;
  --orange: #ff9f1c;
  --red: #ff5c5c;
  --black: #f2f2f2;
  --danger: #ff5c5c;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

/* Barra in alto */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.brand svg { flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 13px; font-weight: 700; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Pulsanti */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 20px;
  font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
}
.button:disabled { opacity: .6; cursor: default; }
.button:focus-visible, input:focus-visible, .choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }

footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 28px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--faint); font-size: 14px; }
footer a { color: var(--muted); }
