/* Meloriq — stile delle landing pubbliche (statiche, indicizzabili, no-JS).
 * Token di brand allineati a styles.css (stessi valori) ma auto-contenuti: le landing sono
 * documenti indipendenti dalla PWA (nessun accoppiamento con l'app shell). Nessun colore "raw"
 * fuori da questi token. Font self-hosted (vendor/fonts) → nessun trasferimento a terzi. */
:root {
  --bg: #0b0c14;
  --surface: #171a2b;
  --card: #181b2b;
  --border: #2a2f52;
  --text: #f1f3ff;
  --muted: #969cc4;
  --accent: #8b6cff;
  --accent-2: #ff5c9d;
  --grad: linear-gradient(135deg, #8b6cff 0%, #ff5c9d 100%);
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 34px rgba(0, 0, 0, .45);
  --maxw: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.lp-header { padding: 18px 0; border-bottom: 1px solid var(--border); }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.lp-brand svg { width: 30px; height: 30px; }
.lp-nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.lp-header .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -.02em;
}
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }

/* CTA */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--grad); color: #fff; border: none; border-radius: 12px;
  padding: 14px 22px; font-weight: 700; font-size: 1rem; box-shadow: var(--shadow); cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }

/* Sezioni */
section.block { padding: 34px 0; border-top: 1px solid var(--border); }
section.block h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0 0 12px; font-weight: 800; }
section.block p { color: var(--muted); max-width: 68ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 8px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .95rem; }

/* Links città/argomenti */
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill-links a {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: .9rem;
}

/* FAQ */
.faq { border-top: 1px solid var(--border); padding: 18px 0; }
.faq h3 { margin: 0 0 6px; font-size: 1.05rem; }
.faq p { margin: 0; color: var(--muted); }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); padding: 28px 0 48px; color: var(--muted); font-size: .9rem; }
.lp-footer .lp-nav { margin: 0 0 12px; }
.lp-footer a { color: var(--muted); }

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