/* Stile allineato all'app Exco: stesso font (Host Grotesk), stessa palette (indaco #6761FF, lime #E8FF4A),
   stessi bottoni a pillola. Nessuna risorsa esterna: font incorporati, niente script/CSS di terze parti. */

@font-face { font-family: 'Host Grotesk'; font-weight: 300; src: url('assets/fonts/HostGrotesk-300.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Host Grotesk'; font-weight: 400; src: url('assets/fonts/HostGrotesk-400.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Host Grotesk'; font-weight: 500; src: url('assets/fonts/HostGrotesk-500.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Host Grotesk'; font-weight: 600; src: url('assets/fonts/HostGrotesk-600.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Host Grotesk'; font-weight: 700; src: url('assets/fonts/HostGrotesk-700.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Host Grotesk'; font-weight: 800; src: url('assets/fonts/HostGrotesk-800.ttf') format('truetype'); font-display: swap; }

:root {
  --indigo: #6761FF;
  --indigo-dark: #5A54E8;
  --indigo-soft: #E9E8FF;
  --indigo-hint: #A7A4D9;
  --lime: #E8FF4A;
  --bg: #F9F9F9;
  --ink: #1E1B4B;
  --muted: #7C79A8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Host Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--indigo-soft);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
header .logo img { height: 28px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
nav a:hover { color: var(--indigo); }
nav .icon-link { display: flex; align-items: center; }

/* ---- bottoni a pillola ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 28px; font-weight: 800; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: filter .15s;
}
.btn:hover { filter: brightness(1.07); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-white { background: #fff; color: var(--indigo); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-soft { background: var(--indigo-soft); color: var(--indigo); }
.btn[disabled], .btn.soon { opacity: .55; cursor: default; }
.btn.soon:hover { filter: none; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--indigo) url('assets/img/hero-bg.png') center / cover no-repeat;
}
.hero .wrap { position: relative; padding: 96px 24px 110px; max-width: 760px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; margin: 0 0 20px; }
.hero p { font-size: 18px; color: rgba(255,255,255,.88); max-width: 520px; margin: 0 0 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- sezioni ---- */
section { padding: 88px 0; }
.eyebrow { color: var(--indigo); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -1px; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 0 48px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--indigo-soft); border-radius: 22px; padding: 28px;
}
.card .emoji { font-size: 32px; margin-bottom: 14px; display: block; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.service {
  background: var(--indigo-soft); border-radius: 18px; padding: 22px 18px; text-align: center;
}
.service .emoji { font-size: 28px; display: block; margin-bottom: 10px; }
.service span.label { font-weight: 700; font-size: 14.5px; }

.band-dark {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark)); color: #fff; border-radius: 28px;
  padding: 56px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.band-dark h2 { color: #fff; margin: 0 0 10px; }
.band-dark p { color: rgba(255,255,255,.85); margin: 0; max-width: 420px; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badges img { height: 44px; display: block; }

/* ---- footer ---- */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
footer .logo img { height: 24px; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; font-size: 14.5px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.socials { display: flex; gap: 14px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.fineprint { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Pagine di testo semplice (privacy, termini...), generate dal backend a partire da content_page. */
.legal-header { padding: 28px 0; border-bottom: 1px solid rgba(30,27,75,.08); }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.legal-header .back { font-size: 14px; font-weight: 600; color: var(--indigo); text-decoration: none; }
.legal main { padding: 48px 0 80px; }
.legal main .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.5px; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin: 0 0 36px; }
.legal-body { font-size: 15.5px; color: var(--ink); }
.legal-body h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.legal-body h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 10px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--indigo); text-decoration: underline; }
.legal-body strong { font-weight: 700; }

@media (max-width: 720px) {
  nav .nav-links { display: none; }
  .band-dark { flex-direction: column; align-items: flex-start; }
}
