:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #16a34a;       /* verde "sicuro/cibo sano" */
  --brand-dark: #15803d;
  --tg: #229ED9;          /* azzurro Telegram */
  --tg-dark: #1c87bb;
  --warn: #dc2626;
  --soft: #f0fdf4;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(2, 32, 16, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0; }
a { color: inherit; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 20px; text-decoration: none; display: flex; gap: 9px; align-items: center; }
.brand-logo { width: 30px; height: 30px; display: block; }
.brand span { background: linear-gradient(90deg, var(--brand), var(--tg)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-cta { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--brand-dark); padding: 8px 16px; border: 1px solid var(--brand); border-radius: 999px; transition: .15s; }
.nav-cta:hover { background: var(--brand); color: #fff; }

/* HERO */
.hero { background: radial-gradient(1200px 500px at 50% -10%, var(--soft), #fff 70%); padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; text-align: left; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-dark); background: var(--soft); border: 1px solid #bbf7d0; padding: 6px 14px; border-radius: 999px; margin: 0 0 22px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
.hero h1 .hl { color: var(--brand-dark); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 660px; margin: 22px 0 0; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin: 34px 0 14px; }
.reassure { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 430px; height: auto; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
/* Immagine hero solo per mobile: compare tra titolo e descrizione (sfondo trasparente) */
.hero-art-mobile { display: none; }
.hero-art-mobile img { width: 100%; height: auto; display: block; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-tg { background: var(--tg); color: #fff; box-shadow: var(--shadow); }
.btn-tg:hover { background: var(--tg-dark); }
.btn-mail { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-mail:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn.full { width: 100%; justify-content: center; }

/* WHY */
.why { padding: 72px 0; }
.why h2, .how h2, .signup h2 { font-size: clamp(26px, 4vw, 36px); text-align: center; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: left; transition: .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ic { font-size: 34px; }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* HOW */
.how { padding: 72px 0; background: var(--soft); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px auto 0; max-width: 720px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid #d1fae5; border-radius: var(--radius); padding: 24px; }
.steps .num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.steps h3 { font-size: 18px; margin: 4px 0 6px; }
.steps p { color: var(--muted); margin: 0; }

/* RASSICURAZIONE (immagine a sinistra, testo a destra: opposto della hero) */
.calm { padding: 76px 0; }
.calm-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.calm-art { display: flex; justify-content: center; }
.calm-art img { width: 100%; max-width: 430px; height: auto; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calm-copy h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; text-align: left; margin-bottom: 16px; }
.calm-copy h2 .hl { color: var(--brand-dark); }
.calm-copy p { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); margin: 0 0 26px; }

/* SIGNUP */
.signup { padding: 80px 0; }
.signup-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.panel-tg { border-color: #bae6fd; background: linear-gradient(180deg, #f0f9ff, #fff); }
.panel-tag { position: absolute; top: -12px; left: 24px; background: var(--tg); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.panel h3 { font-size: 22px; margin-bottom: 8px; }
.panel p { color: var(--muted); margin: 0 0 22px; }
.panel form { display: grid; gap: 14px; }
input[type=email] { width: 100%; padding: 14px 16px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; transition: .15s; }
input[type=email]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: 0 0 auto; }
.consent a { color: var(--brand-dark); }
.form-msg { font-size: 14px; margin: 4px 0 0; min-height: 20px; }
.form-msg.success { color: var(--brand-dark); font-weight: 600; }
.form-msg.error { color: var(--warn); font-weight: 600; }
button:disabled { opacity: .6; cursor: default; transform: none; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 14px; text-align: center; }
.foot-brand { font-weight: 800; color: var(--ink); font-size: 18px; margin: 0 0 8px; display: inline-flex; align-items: center; gap: 8px; }
.foot-logo { width: 24px; height: 24px; display: block; }
.foot-disc { max-width: 620px; margin: 16px auto; font-size: 13px; }
.footer a { color: var(--brand-dark); }
.foot-links { margin-top: 12px; }

/* RESPONSIVE */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .cta-row { justify-content: center; }
  /* su mobile: nascondi l'immagine verticale laterale e mostra la 16:9 tra titolo e testo */
  .hero-art { display: none; }
  .hero-art-mobile { display: block; margin: 16px auto 2px; max-width: 440px; }
  /* compatta la hero così i pulsanti restano nella prima schermata */
  .hero { padding: 22px 0 36px; }
  .eyebrow { display: none; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 16px; margin-top: 12px; }
  .hero .cta-row { margin: 18px 0 8px; }
  .calm-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .calm-copy h2 { text-align: center; }
  .calm-art img { max-width: 360px; }
}
@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; }
}
