/* Layout: banda notturna con logo e invito al gruppo, poi tre passi del claim, cosa si trova e contatti su fondo chiaro; stessa identità della pagina ordini */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --bg: #f2f3f8;
  --surface: #ffffff;
  --ink: #191a38;
  --muted: #5c5f80;
  --line: #dcdeea;
  --accent: #3d41d6;
  --star: #c48714;
  --night: #15163a;
  --night-ink: #eef0ff;
  --night-muted: #a9acd6;
  --display: "Unbounded", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e1f; --surface: #17182f; --ink: #eceef9; --muted: #a2a5c6; --line: #2a2c4b;
    --accent: #9195ff; --star: #e9b54b; --night: #08091a; --night-ink: #eef0ff; --night-muted: #a2a5d0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; }
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Banda notturna */
.sky {
  background:
    radial-gradient(1.2px 1.2px at 12% 30%, var(--night-muted) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, var(--night-muted) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 14%, var(--night-ink) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 58%, var(--night-muted) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 84% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 78%, var(--night-muted) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 86%, var(--night-muted) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 74% 90%, var(--night-ink) 50%, transparent 51%),
    radial-gradient(120% 80% at 50% 0%, #2a2c74 0%, var(--night) 60%);
  color: var(--night-ink);
}
.hero { padding-block: 28px 44px; display: grid; justify-items: center; text-align: center; gap: 14px; }
.hero img { width: min(300px, 76vw); height: auto; margin-bottom: -8px; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.15;
  text-wrap: balance;
  max-width: 20ch;
}
.hero p { margin: 0; color: var(--night-muted); max-width: 44ch; text-wrap: pretty; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-radius: 999px; padding: 12px 20px;
  border: 1px solid transparent;
}
.btn.primary { background: var(--star); color: #1a1205; }
.btn-ico { width: 22px; height: 22px; flex: none; margin-left: -4px; }
.btn:hover { filter: brightness(1.08); }

main { padding-block: 40px 24px; display: grid; gap: 44px; }
.eyebrow { font-family: var(--body); line-height: 1.5; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
h2 { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 0 0 18px; text-wrap: balance; }

/* Come funziona: è una sequenza vera, quindi numerata */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.steps li::before {
  content: counter(s);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  background: var(--night); color: var(--star);
}
.steps h3 { margin: 6px 0 2px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); }
.claim {
  display: inline-block; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  padding: 6px 12px; font-weight: 600; color: var(--ink);
}
.claim small { color: var(--muted); font-weight: 400; margin-left: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 500; }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.contact { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.contact > div { min-width: 0; }
.ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--night); color: var(--star); }
.contact .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact .v { font-weight: 600; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 20px 28px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }

/* Pagine di testo: privacy, pagina non trovata */
.bar .wrap { padding-block: 10px; display: flex; align-items: center; gap: 12px; }
.bar img { width: 64px; height: 64px; margin: -8px 0 -8px -8px; }
.bar a { color: var(--night-ink); text-decoration: none; font-weight: 600; }
main.doc { display: block; padding-block: 32px 40px; max-width: 68ch; }
.doc h1 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 5vw, 28px); line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
.doc h2 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; display: grid; gap: 4px; }
.doc .meta { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.doc a { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) { .btn { transition: filter .15s; } }
