/*
 * Montserrat and Figtree, served by the site itself (Adriana, 2026-10-19):
 * no request to Google Fonts, so a visitor's address never reaches Google.
 * Files from Fontsource 5.3.0, SIL Open Font License (LICENSE-*.txt).
 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext-900-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-900-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/figtree-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/figtree-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/figtree-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/figtree-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/figtree-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/figtree-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/figtree-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/figtree-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Tuwego — the website (B13, 2026-10-19), from docs/reference/sito-tuwego.html.
   The colours are the logo's (B11): petrol, coral, ink, the cream ground. */
:root {
  --cream: #F5F1EA;
  --ink: #10313A;
  --petrol: #08778A;
  --petrol-dark: #0B5463;
  --night: #0D3B40;
  --night-line: #1E5056;
  --night-soft: #CFE3E2;
  --night-mute: #9FC3C6;
  --coral: #FF4B36;
  --coral-text: #FF6B57;
  --coral-button: #D23523;
  --grey: #3E5A62;
  --grey-light: #587078;
  --line: #D3E3E0;
  --white: #FFFFFF;
  --title: 'Montserrat', sans-serif;
  --text: 'Figtree', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--petrol); }
a:hover { color: var(--petrol-dark); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--title); }
.h1 { margin: 0; font-weight: 900; font-size: 76px; line-height: 1; letter-spacing: -0.03em; }
.h2 { margin: 0; font-weight: 900; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; }
.lead { margin: 0; color: var(--grey); font-size: 19px; }
.section { padding: 104px 0; }
.section--white { background: var(--white); }
.section--night { background: var(--night); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 36px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 20px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button--coral { background: var(--coral-button); color: var(--white); }
.button--coral:hover { background: #B42D1E; color: var(--white); }
.button--big { font-size: 18px; padding: 14px 26px; border-radius: 14px; }
.button--white { background: var(--white); color: var(--coral-button); }
.button--white:hover { background: var(--cream); color: #B42D1E; }
.store {
  display: flex; flex-direction: column; line-height: 1.2; min-height: 44px;
  padding: 12px 22px; border-radius: 14px; text-decoration: none;
  background: var(--white); color: var(--ink);
}
.store small { font-size: 12px; color: var(--grey-light); }
.store strong { font-size: 19px; }
.store--dark { background: var(--ink); color: var(--white); }
.store--dark small { color: var(--night-soft); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.top { display: contents; }
.header {
  position: sticky; top: 0; z-index: 5; background: var(--night);
  border-bottom: 1px solid var(--night-line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 22px; width: auto; }
.navlinks { display: flex; gap: 28px; align-items: center; }
.navlinks a { color: var(--night-soft); text-decoration: none; font-weight: 500; }
.navlinks a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600;
  padding: 10px 12px; border: 1px solid #2E6268; border-radius: 12px; min-height: 44px;
  cursor: pointer; list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: var(--white);
  border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  min-width: 180px; display: flex; flex-direction: column; z-index: 10;
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none;
  font-weight: 500; min-height: 44px;
}
.lang-menu a[aria-current="true"] { font-weight: 700; background: #EDF4F2; }

/* Hero */
.hero { padding: 72px 0 104px; background: var(--night); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 26px; }
.badge {
  align-self: flex-start; background: var(--night-line); color: var(--night-soft);
  border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600;
}
.accent { color: var(--coral-text); }
.hero p.sub { margin: 0; font-size: 21px; color: var(--night-soft); max-width: 30em; }
.hero p.note { margin: 0; font-size: 15px; color: var(--night-mute); }

.cards { position: relative; height: 560px; }
.phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 300px;
  background: var(--white); border-radius: 40px; padding: 16px; color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.phone-inner { background: #EDF4F2; border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.phone-cover { height: 110px; border-radius: 18px; background: #7A3FD1; position: relative; overflow: hidden; }
.phone-cover span {
  position: absolute; left: 12px; bottom: 10px; background: var(--white);
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700;
}
.phone-title { font-family: var(--title); font-weight: 800; font-size: 19px; line-height: 1.15; }
.phone-when { font-size: 13px; color: var(--grey-light); margin-top: -6px; }
.proposal { background: var(--white); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.proposal-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 15px; background: #D2577A; color: var(--white); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; background: #F5FAF9; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.tag--mood { background: #DCEFEC; color: var(--petrol-dark); border-color: #DCEFEC; }
.proposal-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--grey-light); }
.ask { background: var(--coral-button); color: var(--white); font-weight: 700; padding: 7px 11px; border-radius: 10px; }
.note-card {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 18px; padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); font-size: 14px; line-height: 1.3;
}
.note-card--left { left: 0; top: 330px; width: 250px; transform: rotate(-4deg); display: flex; gap: 10px; align-items: center; }
.note-card--left .avatar { width: 38px; height: 38px; border-radius: 19px; background: #3E8E63; flex: 0 0 auto; font-size: 15px; }
.note-card--left span { color: var(--grey-light); }
.note-card--right { right: 0; top: 420px; width: 240px; background: var(--coral-button); color: var(--white); transform: rotate(3deg); padding: 14px 16px; line-height: 1.35; }

/* Quante volte */
.struck { display: flex; flex-direction: column; gap: 14px; }
.struck div {
  font-size: 36px; font-weight: 600; color: #6E7F83; text-decoration: line-through;
  text-decoration-color: var(--coral); text-decoration-thickness: 3px;
}
.big { margin: 8px 0 0; font-size: 36px; font-weight: 700; max-width: 22em; line-height: 1.25; }
.big span { color: var(--petrol); }

/* Come funziona */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-word { font-family: var(--title); font-weight: 900; font-size: 112px; line-height: 0.9; letter-spacing: -0.04em; }
.step-word--tu { color: var(--coral); }
.step-word--we { color: var(--petrol); }
.step-word--go { color: var(--ink); }
.step h3 { margin: 8px 0 0; font-weight: 800; font-size: 24px; }
.step p { margin: 0; color: var(--grey); }
.signoff { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid #E3DDD2; padding-top: 32px; }
.signoff div { font-family: var(--title); font-weight: 800; font-size: 28px; }

/* Categorie e video */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--white); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 14px; }
.video { display: flex; justify-content: center; }
.video video, .video iframe { width: 320px; aspect-ratio: 9 / 16; border: 0; border-radius: 40px; background: var(--night); }

/* Sicurezza */
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.safety { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--cream); border-radius: 20px; }
.safety svg { flex: 0 0 auto; }
.safety h3 { margin: 0 0 4px; font-family: var(--text); font-size: 19px; font-weight: 700; }
.safety p { margin: 0; color: var(--grey); }

/* Storia */
.story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.story--single { grid-template-columns: 1fr; max-width: 820px; }
.story-photo { aspect-ratio: 4 / 5; border-radius: 28px; object-fit: cover; width: 100%; }
.story-text { display: flex; flex-direction: column; gap: 20px; }
.story-text .first { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.3; }
.story-text p { margin: 0; font-size: 19px; color: var(--night-soft); }
.story-text .closing { font-size: 22px; color: var(--white); font-weight: 700; line-height: 1.4; }
.story-text .signature { margin-top: 8px; font-weight: 700; }

/* Domande */
.faq { max-width: 900px; }
.faq details { background: var(--white); border-radius: 18px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 12px 0 0; color: var(--grey); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

/* Contatti */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.contact > * { min-width: 0; }
.contact-text { display: flex; flex-direction: column; gap: 16px; }
.contact-mail { font-size: 22px; font-weight: 700; margin-top: 8px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--cream); color: var(--night); text-decoration: none;
}
.social:hover { background: var(--night); color: var(--white); }
.socials--footer .social { background: var(--night-line); color: var(--white); }
.socials--footer .social:hover { background: var(--white); color: var(--night); }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--cream); border-radius: 24px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid #8A9A9E;
  background: var(--white); min-height: 44px; color: var(--ink);
}
.field textarea { resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--grey); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.form-status { margin: 0; font-weight: 600; }
.form-status--error { color: #B42D1E; }
.form-status--ok { color: var(--petrol-dark); }
.form .button { align-self: flex-start; }
.form .button[disabled] { opacity: 0.6; cursor: default; }

/* Avvisami quando esce (2026-10-20) */
#avvisami { scroll-margin-top: 96px; }
.notify { max-width: 30em; }
.form--notify { color: var(--ink); gap: 14px; padding: 24px; }
.notify-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.field-help { font-size: 14px; color: var(--grey-light); margin-top: -2px; }
.field--city { position: relative; }
.suggestions {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 4; margin: 4px 0 0; padding: 6px;
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 30px rgba(16, 49, 58, 0.16);
}
.suggestions li { padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.suggestions li small { color: var(--grey-light); font-size: 14px; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--cream); }
.turnstile-box:empty { display: none; }
.contact--single { grid-template-columns: 1fr; max-width: 40em; }
.notify-page { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 820px; }

/* Chiusura */
.final { padding: 112px 0; background: var(--coral-button); color: var(--white); }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.final .h2 { font-size: 72px; line-height: 1; }
.final p { margin: 0; font-size: 21px; max-width: 30em; }
.final .stores { justify-content: center; margin-top: 6px; }
.final .socials { justify-content: center; margin-top: 10px; }
.final .social { background: var(--night-line); color: var(--white); }

/* Piede */
.footer { padding: 48px 0 40px; background: var(--night); color: var(--night-soft); }
.footer .wrap.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer a { color: var(--white); }
.footer .bottom { margin-top: 32px; font-size: 15px; color: var(--white); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* La pagina di un evento (B12) */
.event-page { padding: 48px 0 80px; }
.event { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 50px rgba(16, 49, 58, 0.12); }
.event-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #08778A, #0D3B40); }
.event-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-cover span {
  position: absolute; left: 16px; bottom: 14px; background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700;
}
.event-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.event-body h1 { margin: 0; font-weight: 800; font-size: 32px; line-height: 1.15; }
.event-line { display: flex; align-items: center; gap: 10px; color: var(--grey); font-size: 17px; }
.event-proposals { font-weight: 700; color: var(--petrol-dark); }
.event-notice { margin: 0; padding: 12px 16px; border-radius: 14px; background: #FBE9E6; color: #8F2A1C; font-weight: 600; }
.event-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.event-actions .stores .store { background: var(--cream); }

@media (max-width: 980px) {
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .three, .two, .story, .contact { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .h1 { font-size: 46px; }
  .h2, .final .h2 { font-size: 34px; }
  .big, .struck div { font-size: 26px; }
  .step-word { font-size: 84px; }
  .wrap { padding: 0 16px; }
  .cards { height: 580px; }
  .note-card--left { top: 410px; }
  .note-card--right { top: 490px; }
  .section { padding: 72px 0; }
  .header-actions .button { padding: 10px 14px; }
  .event-body { padding: 22px; }
  .event-body h1 { font-size: 26px; }
}
@media (max-width: 400px) {
  .header-actions { gap: 8px; }
  .header-actions .button { padding: 8px 12px; font-size: 15px; }
  .logo img { height: 18px; }
  .lang summary svg:first-child { display: none; }
  .lang summary { padding: 8px 10px; }
  .phone { width: 280px; }
  .note-card--left { width: 230px; }
  .note-card--right { width: 220px; }
}

/* Le pagine legali — l'informativa privacy (2026-10-20) */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-family: var(--title); font-weight: 800; font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.legal h3 { font-family: var(--title); font-weight: 800; font-size: 19px; margin: 28px 0 8px; }
.legal p { margin: 0 0 14px; color: var(--grey); }
.legal ul { margin: 0 0 14px; padding-left: 22px; color: var(--grey); }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
@media (max-width: 860px) { .legal h2 { font-size: 21px; margin-top: 32px; } }

/* ===================================================================
   Il sito animato — fase 1: sezioni, zig-zag, colori guida (2026-10-20)
   Corallo per le sezioni su di te, petrolio per quelle sul gruppo,
   blu-nero per l'azione. Ogni sezione dichiara il suo colore in
   --s-accent; la parola evidenziata del titolo (.hl) lo usa.
   =================================================================== */
.s { position: relative; padding: 96px 0; overflow: hidden; color: var(--ink); background: var(--s-bg); }
.s--coral { --s-bg: #FCEDE8; --s-accent: #D23523; }
.s--coral-soft { --s-bg: #FFF7F4; --s-accent: #D23523; }
.s--petrol { --s-bg: #E3F0EF; --s-accent: #08778A; }
.s--petrol-soft { --s-bg: #F3F9F8; --s-accent: #08778A; }
.s--ink { --s-bg: var(--night); --s-accent: #FF6B57; color: var(--white); }
.hl { color: var(--s-accent); }
.s .lead { color: var(--grey); }
.s--ink .lead { color: var(--night-soft); }

@media (min-width: 1024px) {
  .s--full { min-height: calc(100svh - 77px); display: flex; align-items: center; }
  .s--full > .wrap { width: 100%; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.split-media { min-width: 0; display: flex; justify-content: center; }
.split--media-left .split-media { order: -1; }
.illustration { width: 100%; max-width: 440px; height: auto; display: block; }

/* L'apertura */
#inizio .h1 { color: var(--ink); }
#inizio .sub { margin: 0; font-size: 21px; color: var(--grey); max-width: 30em; }
#inizio .note { margin: 0; font-size: 15px; color: var(--grey-light); }
.s .badge { background: var(--white); color: var(--s-accent); }
#inizio .cards { width: 100%; max-width: 460px; }
#inizio .stores .store { background: var(--white); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px;
}
.scroll-cue span { color: var(--s-accent); font-size: 20px; line-height: 1; }

/* La frase di passaggio in fondo a ogni sezione (bozza, 3-5 parole) */
.next {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px;
}
.next span { color: var(--s-accent); font-size: 20px; }
.s--ink .next { color: var(--white); }

/* TU · WE · GO (fase 1: i tre passi in colonna; il racconto arriva nella fase 3) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; width: 100%; }
.steps .step { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; }
.steps .step-word { font-size: 72px; }
.steps .step h3 { margin: 0 0 4px; }

/* Le categorie, finché il video non c'è */
.pills--cloud { justify-content: center; gap: 10px; max-width: 520px; }
.pills--cloud .pill { font-size: 17px; padding: 10px 16px; background: var(--white); }

/* Sicurezza */
.safety-list { display: flex; flex-direction: column; gap: 12px; }
.s .safety { background: var(--white); }

/* Storia */
#storia .story-text p { color: var(--grey); }
#storia .story-text .first, #storia .story-text .closing { color: var(--ink); }
.wrap.story--single { max-width: 820px; }

/* Contatti e chiusura: l'azione, blu-nero */
.s--ink .contact-mail { color: var(--white); }
.s--ink .social { background: var(--night-line); color: var(--white); }
.s--ink .social:hover { background: var(--white); color: var(--night); }
.final { background: var(--ink); }
.final .button--white { color: var(--coral-button); }

/* Il modulo compatto di «Avvisami»: email e pulsante, il resto al tocco */
.form--compact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 10px; align-items: end;
  grid-template-areas: "title title" "email send" "more more" "status status";
}
.form--compact .notify-title { grid-area: title; }
.form--compact .field--email { grid-area: email; }
.form--compact .notify-send { grid-area: send; align-self: end; min-height: 46px; padding: 12px 20px; font-size: 17px; }
.form--compact .notify-more { grid-area: more; display: flex; flex-direction: column; gap: 14px; }
.form--compact .form-status { grid-area: status; }
.js .form--compact:not(.is-open) .notify-more { display: none; }

@media (max-width: 860px) {
  .s { padding: 64px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  /* Su telefono l'immagine sopra e il testo sotto, sempre nello stesso
     ordine; l'apertura fa eccezione, perché il modulo deve restare in alto. */
  .split .split-media { order: -1; }
  .split--text-first .split-media { order: 0; }
  .scroll-cue { display: none; }
  .steps .step { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .steps .step-word { font-size: 52px; }
  .illustration { max-width: 320px; }
}
@media (max-width: 480px) {
  .form--compact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "email" "more" "send" "status"; }
  .form--compact .notify-send { width: 100%; }
}

/* Su computer ogni sezione deve stare in una schermata: titoli un poco più
   contenuti dentro la metà della griglia. */
@media (min-width: 861px) {
  #inizio .h1 { font-size: clamp(48px, 4.4vw, 66px); }
  .s .h2 { font-size: clamp(38px, 3.4vw, 52px); }
  #rinunce .struck div { font-size: 26px; }
  #rinunce .big { font-size: 26px; }
  #inizio .split-text { gap: 18px; }
}

/* ===================================================================
   Correzioni di Adriana dopo la prima anteprima (2026-10-20)
   =================================================================== */

/* «Together we go.» nei tre colori del logo; su fondo scuro la versione
   chiara (#FF6B57, #7FD3DD, bianco), anche nel piè di pagina. */
.tw--together { color: #D23523; }
.tw--we { color: var(--petrol); }
.tw--go { color: var(--ink); }
.together-dark .tw--together { color: #FF6B57; }
.together-dark .tw--we { color: #7FD3DD; }
.together-dark .tw--go { color: #FFFFFF; }
.final .h2.together-dark { color: #FFFFFF; }

/* L'apertura: il modulo intero nella prima schermata anche a 1920×1080 con
   lo schermo ingrandito al 125% (finestra utile di circa 1536×750). */
@media (min-width: 861px) {
  #inizio.s { padding: 36px 0 76px; }
  #inizio .h1 { font-size: clamp(40px, 3.5vw, 58px); }
  #inizio .sub { font-size: 19px; }
  #inizio .split-text { gap: 16px; }
  #inizio .form--notify { padding: 20px 22px; }
  #inizio .badge { padding: 5px 12px; font-size: 13px; }
}

/* Le notifiche accanto al telefono, mai sopra la scheda né fuori dallo
   schermo: su computer in colonna a destra del telefono, toccando solo la
   sua cornice; più stretti, sotto il telefono. */
#inizio .cards {
  position: relative; height: auto; width: 100%; max-width: 580px;
  display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: center;
}
#inizio .phone { position: relative; left: auto; top: auto; transform: none; width: 290px; grid-row: 1 / span 2; }
#inizio .note-card { position: relative; left: auto; right: auto; top: auto; width: auto; margin-left: -18px; }
#inizio .note-card--left { grid-column: 2; grid-row: 1; align-self: end; transform: rotate(3deg); }
#inizio .note-card--right { grid-column: 2; grid-row: 2; align-self: start; margin-top: 18px; transform: rotate(-2deg); }
@media (max-width: 1180px) {
  #inizio .cards { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; }
  #inizio .phone { grid-row: auto; }
  #inizio .note-card { margin-left: 0; width: min(300px, 100%); }
  #inizio .note-card--left, #inizio .note-card--right { grid-column: auto; grid-row: auto; margin-top: 0; }
}

/* Le categorie come nell'app: il cerchio con il colore e l'icona. */
.pill--cat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; }
.pill-icon { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pills-more { display: none; }
@media (max-width: 860px) {
  .pills-more {
    display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px;
    border: 1px solid var(--petrol); border-radius: 999px; background: transparent;
    color: var(--petrol-dark); font: inherit; font-weight: 700; cursor: pointer;
  }
  .js .pills--cloud:not(.is-open) .pill--more { display: none; }
  .pills--cloud.is-open .pills-more { display: none; }
}

/* Contatti: le etichette scure sul riquadro crema. */
.s--ink .form label, .s--ink .form .field label { color: var(--ink); }
@media (max-width: 860px) {
  /* Su telefono il testo prima dell'immagine dove Adriana l'ha chiesto
     (apertura, TU · WE · GO, categorie), qualunque sia l'ordine nel codice. */
  .split--text-first .split-text { order: -2; }
}

/* TU · WE · GO e categorie: la parte che chiude la sezione («Together we
   go.» con il pulsante, poi la frase di passaggio) è un blocco a sé. Su
   computer sta sotto il testo; su telefono dopo i passi o le pillole, e la
   frase di passaggio chiude sempre la sezione (Adriana, 2026-10-20). */
.split--foot { grid-template-areas: "text media" "foot media"; row-gap: 22px; }
.split--foot.split--media-left { grid-template-areas: "media text" "media foot"; }
.split--foot > .split-text { grid-area: text; align-self: end; }
.split--foot > .split-media { grid-area: media; }
.split--foot > .split-foot { grid-area: foot; align-self: start; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (max-width: 860px) {
  .split--foot, .split--foot.split--media-left { grid-template-areas: "text" "media" "foot"; }
}

/* Più spazio tra le parole grandi TU / WE / GO e il loro testo. */
.steps .step { grid-template-columns: 152px minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) {
  .steps .step { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
}

/* ===================================================================
   TU · WE · GO, il racconto (fasi 3 e 4 di docs/SITO_ANIMATO.md)
   Su computer il telefono resta fermo a destra e cambia schermata quando
   il passo arriva a metà schermo; su telefono ogni passo ha sotto la sua
   schermata. Le schermate sono ricostruite in HTML dall'app (2026-10-20).
   =================================================================== */

/* Il telefono. --pw è la sua larghezza; tutto dentro lo schermo è in em,
   e 1em vale 16 punti dello schermo dell'app (largo 360). */
.device {
  --pw: 260px;
  width: var(--pw); max-width: 100%; padding: 9px; border-radius: calc(var(--pw) * 0.15);
  background: var(--ink); box-shadow: 0 30px 70px rgba(16, 49, 58, 0.28);
}
.device-screens {
  position: relative; overflow: hidden; border-radius: calc(var(--pw) * 0.12);
  aspect-ratio: 9 / 19.5; background: #F5F1EA;
  font-size: calc((var(--pw) - 18px) / 22.5);
}
.device-screen { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.device-screen.is-on { opacity: 1; }
.device--inline .device-screens > .scr { position: absolute; inset: 0; }

/* Lo schermo */
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background: #F5F1EA; color: #10313A; font-family: var(--text); font-size: 1em; line-height: 1.35;
  text-align: left;
}
.scr b { font-weight: 700; }
.scr .ico { display: inline-block; width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -0.15em; }
.scr-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75em 1.6em 0.35em; font-size: 0.85em; font-weight: 600; color: #10313A;
}
.scr-sys { display: inline-flex; align-items: center; gap: 0.35em; }
.scr-sys i { display: block; background: #10313A; }
.scr-sig { width: 0.85em; height: 0.85em; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.scr-wifi { width: 0.95em; height: 0.8em; clip-path: polygon(50% 100%, 0 25%, 15% 0, 85% 0, 100% 25%); border-radius: 0.2em; }
.scr-bat { width: 0.55em; height: 0.95em; border-radius: 0.12em; }

.scr-head {
  display: grid; grid-template-columns: 2.5em 1fr 2.5em; align-items: center;
  padding: 0.6em 1em 0.9em; border-bottom: 1px solid #E3DCCF; font-size: 1.15em;
}
.scr-head .ico { width: 1.2em; height: 1.2em; }
.scr-head-title { text-align: center; font-family: var(--title); font-weight: 600; }
.scr-body { flex: 1; min-height: 0; overflow: hidden; padding: 1.1em 1.25em 0.5em; display: flex; flex-direction: column; gap: 0.75em; }
.scr-h1 { font-family: var(--title); font-weight: 800; font-size: 1.95em; line-height: 1.1; letter-spacing: -0.02em; }
.scr-h2 { font-family: var(--title); font-weight: 700; font-size: 1.15em; margin-top: 0.2em; }
.scr-intro { color: #4D646B; margin-top: -0.3em; }
.scr-muted { color: #5B7077; font-size: 0.9em; }
.scr-row { display: flex; align-items: center; gap: 0.45em; }
.scr-petrol { color: #08778A; }

.scr-progress { display: flex; gap: 0.4em; }
.scr-progress i { flex: 1; height: 0.25em; border-radius: 1em; background: #08778A; }

.scr-panel { background: #FFFFFF; border: 1px solid #D6CDBE; border-radius: 1.4em; padding: 0.9em; display: flex; flex-direction: column; gap: 0.75em; }
.scr-card { background: #FFFFFF; border: 1px solid #D6CDBE; border-radius: 1.2em; padding: 0.95em 1em; display: flex; flex-direction: column; gap: 0.45em; }
.scr-card-head, .scr-sec-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--title); font-size: 1.05em; }
.scr-sec-head { padding: 0 0.1em; }
.scr-pen { color: #4D646B; }
.scr-ev-title { font-family: var(--title); font-weight: 700; font-size: 1.1em; line-height: 1.2; }
.scr-chips { display: flex; flex-wrap: wrap; gap: 0.4em; }
.scr-chips span { background: #E6F1F0; color: #4D646B; border-radius: 1em; padding: 0.3em 0.75em; font-size: 0.85em; }
.scr-person { display: flex; align-items: center; gap: 0.6em; }
.scr-person b { font-family: var(--title); font-size: 1.05em; }
.scr-person small { display: block; color: #5B7077; font-size: 0.85em; }
.scr-av {
  width: 2.6em; height: 2.6em; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  background: #DCEFEC; color: #0B5463; font-family: var(--title); font-weight: 800; font-size: 0.95em;
}
.scr-av--g { background: #FFE4DF; color: #93392A; width: 2.3em; height: 2.3em; font-size: 0.85em; }
.scr-lang { display: flex; align-items: center; gap: 0.35em; color: #4D646B; font-size: 0.85em; }
.scr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; }
.scr-stats div { background: #EFE9DF; border-radius: 0.8em; padding: 0.55em; text-align: center; display: flex; flex-direction: column; gap: 0.1em; }
.scr-stats b { font-size: 0.95em; }
.scr-stats span { color: #4D646B; font-size: 0.75em; }

.scr-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9em; padding: 0 1em;
  border-radius: 0.9em; font-family: var(--title); font-weight: 700; font-size: 1em;
}
.scr-btn--coral { background: #D23523; color: #FFFFFF; }
.scr-btn--petrol { background: #08778A; color: #FFFFFF; }
.scr-btn--ghost { background: #FFFFFF; color: #08778A; border: 1.5px solid #08778A; }
.scr-foot { display: grid; grid-template-columns: 1fr 2.2fr; gap: 0.6em; padding: 0.8em 1.25em 1.3em; border-top: 1px solid #E3DCCF; }

/* WE */
.scr-apphead { display: flex; justify-content: space-between; align-items: center; padding: 0.4em 1.25em 0.2em; }
.scr-logo { font-family: var(--title); font-weight: 900; font-size: 1.55em; letter-spacing: -0.02em; }
.scr-logo .tu { color: #FF4B36; }
.scr-logo .we { color: #43B6C6; }
.scr-logo .go { color: #10313A; }
.scr-bell { width: 2.6em; height: 2.6em; border-radius: 0.8em; background: #FFFFFF; border: 1px solid #E3DCCF; display: inline-flex; align-items: center; justify-content: center; }
.scr-bell .ico { width: 1.3em; height: 1.3em; }
.scr--we .scr-body { gap: 0.6em; padding-top: 0.6em; }
.scr-tabs { display: flex; gap: 0.4em; }
.scr-tabs span {
  position: relative; border: 1px solid #D6CDBE; border-radius: 2em; padding: 0.45em 0.8em;
  font-family: var(--title); font-weight: 700; font-size: 0.75em; white-space: nowrap;
}
.scr-tabs span.on { background: #08778A; border-color: #08778A; color: #FFFFFF; }
.scr-tabs i { position: absolute; top: -0.35em; right: -0.2em; width: 0.9em; height: 0.9em; border-radius: 50%; background: #FF4B36; }
.scr-card--event { padding: 0; overflow: hidden; gap: 0; flex: 0 0 auto; }
.scr-cover { position: relative; height: 5.4em; color: #FFFFFF; }
.scr-pill { position: absolute; left: 0.8em; top: 0.7em; background: #FFFFFF; color: #08778A; border-radius: 1em; padding: 0.2em 0.6em; font-family: var(--title); font-weight: 700; font-size: 0.8em; }
.scr-cover-icon { position: absolute; right: 1em; bottom: 0.6em; opacity: 0.55; }
.scr-cover-icon .ico { width: 3em; height: 3em; }
.scr-ev-body { padding: 0.75em 0.9em 0.9em; display: flex; flex-direction: column; gap: 0.35em; }
.scr-req { margin-top: 0.4em; border: 1px solid #D6CDBE; border-radius: 1.1em; padding: 0.85em; display: flex; flex-direction: column; gap: 0.5em; }
.scr-req p { margin: 0; font-size: 1em; }
.scr-report { display: flex; align-items: center; gap: 0.4em; color: #4D646B; font-size: 0.85em; }
.scr-req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.scr-tabbar {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 0.5em 0.4em 1.1em;
  background: #FFFFFF; border-top: 1px solid #E3DCCF; color: #4D646B;
}
.scr-tabbar > span { display: flex; flex-direction: column; align-items: center; gap: 0.2em; }
.scr-tabbar em { font-style: normal; font-size: 0.68em; white-space: nowrap; }
.scr-tabbar .on { color: #08778A; font-weight: 700; }
.scr-tabbar .ico { width: 1.4em; height: 1.4em; }
.scr-fab { justify-self: center; width: 3.2em; height: 3.2em; border-radius: 1em; background: #D23523; color: #FFFFFF; justify-content: center; margin-top: -1.6em; box-shadow: 0 0.3em 0.8em rgba(210, 53, 35, 0.35); }
.scr-notif {
  position: absolute; left: 0.6em; right: 0.6em; top: 2.2em; z-index: 2;
  display: flex; gap: 0.6em; align-items: center; padding: 0.7em 0.8em;
  background: rgba(255, 255, 255, 0.97); border-radius: 1.1em; box-shadow: 0 0.6em 1.6em rgba(16, 49, 58, 0.22);
  font-size: 0.85em; line-height: 1.3;
  opacity: 0; transform: translateY(-140%); pointer-events: none;
}
.scr-notif b { display: block; font-size: 0.9em; color: #5B7077; font-weight: 600; }
.scr-notif-icon {
  width: 2.4em; height: 2.4em; border-radius: 0.6em; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  background: #10313A; color: #FF4B36; font-family: var(--title); font-weight: 900; font-size: 0.9em;
}

/* GO */
.scr-chathead { display: grid; grid-template-columns: 2.2em 2.8em 1fr 1.6em; gap: 0.5em; align-items: center; padding: 0.5em 1em 0.8em; border-bottom: 1px solid #E3DCCF; }
.scr-chathead .ico { width: 1.3em; height: 1.3em; }
.scr-chat-av { width: 2.8em; height: 2.8em; border-radius: 50%; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.scr-chat-title b { display: block; font-family: var(--title); font-size: 1.05em; line-height: 1.15; }
.scr-chat-title small { color: #4D646B; font-size: 0.78em; }
.scr-strip {
  margin: 0.8em 1em 0; display: flex; align-items: center; gap: 0.6em; padding: 0.55em 0.75em;
  background: #FFFFFF; border: 1px solid #D6CDBE; border-radius: 1em; font-size: 0.85em;
}
.scr-strip b { flex: 1; font-weight: 600; }
.scr-strip-icon { width: 2em; height: 2em; border-radius: 50%; background: #08778A; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.scr-msgs { flex: 1; min-height: 0; padding: 1em; display: flex; flex-direction: column; gap: 0.7em; }
.scr-msg { max-width: 78%; padding: 0.65em 0.85em 0.45em; border-radius: 1.2em; display: flex; flex-direction: column; gap: 0.2em; }
.scr-msg small { align-self: flex-end; font-size: 0.7em; opacity: 0.75; }
.scr-msg--mine { align-self: flex-end; background: #08778A; color: #FFFFFF; border-bottom-right-radius: 0.35em; }
.scr-msg--theirs { align-self: flex-start; background: #FFFFFF; border: 1px solid #E3DCCF; border-bottom-left-radius: 0.35em; }
.scr-msg--theirs b { color: #D23523; font-size: 0.8em; }
.scr-composer { display: flex; gap: 0.6em; align-items: center; padding: 0.7em 1em 1.3em; border-top: 1px solid #E3DCCF; }
.scr-composer > span:first-child { flex: 1; border: 1.5px solid #08778A; border-radius: 1em; padding: 0.75em 0.9em; color: #738A87; background: #FFFFFF; }
.scr-send { width: 3em; height: 3em; border-radius: 50%; background: #08778A; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.scr-send .ico { width: 1.3em; height: 1.3em; }

/* Il racconto */
.story {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px;
  grid-template-areas: "head phone" "steps phone" "foot foot";
}
#come-funziona.s { overflow: clip; }
.story-head { grid-area: head; display: flex; flex-direction: column; gap: 22px; }
.story-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; }
.story-phone { grid-area: phone; }
.story-foot { grid-area: foot; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
.story .step { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 28px; align-items: center; }
.story .step-word { font-size: 72px; }
.story .step h3 { margin: 0 0 4px; }

@media (min-width: 861px) {
  .story-step { min-height: 70vh; display: flex; align-items: center; }
  /* L'ultimo passo è alto quanto serve perché il telefono non salga sotto
     l'intestazione mentre il passo è a metà finestra. */
  .story-step:last-child { min-height: calc(100svh - 40px); }
  .js .story-step { opacity: 0.35; transition: opacity 0.35s ease; }
  .js .story-step.is-on { opacity: 1; }
  .device--inline { display: none; }
  .story-phone { display: flex; justify-content: center; align-items: flex-start; align-self: stretch; }
  /* Un terzo più grande di prima (270 → 360), ma mai più alto della
     finestra sotto l'intestazione. */
  .story-phone .device {
    --pw: min(360px, calc((100svh - 77px - 48px) / 2.2));
    position: sticky; top: calc(77px + (100svh - 77px - var(--pw) * 2.2) / 2);
  }
}

@media (max-width: 860px) {
  .story { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "steps" "foot"; }
  .story-phone { display: none; }
  .story-steps { display: flex; flex-direction: column; gap: 48px; margin-top: 36px; }
  .story-step { display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .story-step .step { align-self: stretch; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .story .step-word { font-size: 52px; }
  .device--inline { --pw: min(280px, 82vw); }
}

@media (prefers-reduced-motion: reduce) {
  .device-screen, .js .story-step { transition: none; }
}
.scr-btn--wide { margin-top: 0.3em; min-height: 2.6em; }

/* ===================================================================
   Fase 4 — le animazioni (docs/SITO_ANIMATO.md)
   Solo CSS e poche righe di JavaScript. Tutto ciò che parte nascosto lo è
   solo sotto .motion (che lo script in testa mette quando il movimento è
   permesso) o sotto una classe che mette site.js: con «riduci movimento»,
   o se lo script non parte, tutto resta fermo e visibile.
   =================================================================== */

/* La riga sopra il titolo, con le frasi del benvenuto dell'app. */
.rotator {
  margin: 0; min-height: 1.3em; font-family: var(--title); font-weight: 800;
  font-size: 22px; line-height: 1.3;
  /* Il corallo scuro dei pulsanti premuti: 5,6 sul rosa dell'apertura, 5,1 con
     la forma corallo sotto (il corallo dei pulsanti misurava 4,3 e 3,9). */
  color: #B32A1A;
}
.rotator span { display: inline-block; transition: opacity 0.7s ease; }
.rotator span.is-out { opacity: 0; }
@media (max-width: 860px) { .rotator { font-size: 19px; } }

/* Il logo che si disegna lettera per lettera, come all'apertura dell'app. */
.logo-draw { display: block; height: 22px; width: auto; overflow: visible; }
@keyframes logo-pen { to { stroke-dashoffset: 0; } }
@keyframes logo-ink { to { fill-opacity: 1; stroke-opacity: 0; } }
.motion .logo-draw path {
  fill-opacity: 0; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: logo-pen var(--t) linear var(--d) forwards, logo-ink 0.3s ease calc(var(--d) + var(--t)) forwards;
}

/* Le notifiche accanto al telefono: una dopo l'altra, poi ondeggiano. */
@keyframes note-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes note-sway { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.motion #inizio .note-card--left { animation: note-in 0.6s ease 0.8s both, note-sway 6s ease-in-out 1.4s infinite; }
.motion #inizio .note-card--right { animation: note-in 0.6s ease 1.8s both, note-sway 7s ease-in-out 2.4s infinite; }

/* Rinunce: la riga corallo si traccia su ogni frase entrando nello schermo. */
.struck div { text-decoration: none; }
.struck div span {
  background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 58% / 100% 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.8s ease;
}
.struck div.line-wait span { background-size: 0 3px; }

/* Le forme morbide sullo sfondo: lente, a velocità diverse (solo transform). */
.s > .wrap { position: relative; z-index: 1; }
.blob {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  background: var(--s-accent); opacity: 0.07; will-change: transform;
}
.blob--a { width: 520px; height: 520px; right: -140px; top: -120px; }
.blob--b { width: 260px; height: 260px; left: -90px; bottom: 40px; opacity: 0.05; }
.blob--c { width: 440px; height: 440px; left: -160px; top: 30%; }
.blob--d { width: 380px; height: 380px; right: -120px; top: 10%; }
.blob--e { width: 340px; height: 340px; left: -120px; bottom: 5%; }
@media (max-width: 860px) {
  .blob--a { width: 300px; height: 300px; right: -120px; top: -60px; }
  .blob--b, .blob--d { display: none; }
  .blob--c, .blob--e { width: 240px; height: 240px; }
}

/* I pulsanti: si sollevano e il testo rotola; su telefono al tocco. */
.motion .button { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.btn-roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.btn-roll > span { position: relative; display: block; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn-roll > span::after { content: attr(data-text); position: absolute; left: 0; right: 0; top: 100%; }
@media (hover: hover) {
  .motion .button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 49, 58, 0.18); }
  .motion .button:hover .btn-roll > span { transform: translateY(-100%); }
}
.motion .button:active { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 49, 58, 0.18); }
.motion .button:active .btn-roll > span { transform: translateY(-100%); }

/* Gli altri blocchi: una dissolvenza dal basso. */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.reveal-wait { opacity: 0; transform: translateY(24px); }

/* Le schermate del telefono che si animano (.scr-armed le prepara, .scr-play le fa partire). */
@keyframes scr-rise { from { opacity: 0; transform: translateY(0.8em); } to { opacity: 1; transform: none; } }
@keyframes scr-tap { 0%, 100% { transform: none; } 45% { transform: scale(0.94); filter: brightness(0.9); } }
@keyframes scr-notif {
  0% { opacity: 1; transform: translateY(-180%); }
  14%, 78% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-180%); }
}
.scr-armed:not(.scr-play) .scr-rise,
.scr-armed:not(.scr-play) .scr-req,
.scr-armed:not(.scr-play) .scr-msg { opacity: 0; }
.scr-play .scr-rise { animation: scr-rise 0.45s ease both; animation-delay: calc(0.2s + var(--i) * 0.3s); }
.scr-play .scr-publish { animation: scr-tap 0.45s ease 1.6s both; }
.scr-play .scr-notif { animation: scr-notif 2.8s ease 0.3s both; }
.scr-play .scr-req { animation: scr-rise 0.5s ease 1.7s both; }
.scr-play .scr-accept { animation: scr-tap 0.45s ease 3.1s both; }
.scr-play .scr-msg { animation: scr-rise 0.45s ease both; animation-delay: calc(0.4s + var(--i) * 1.1s); }

@media (prefers-reduced-motion: reduce) {
  .rotator span, .struck div span, .reveal, .motion .button, .btn-roll > span { transition: none; }
}

/* ===================================================================
   Telefono (sotto i 768 punti) — Adriana, 2026-10-20: il racconto in
   verticale era lungo e non si capiva. TU · WE · GO diventa un carosello
   di tre schede, da scorrere di lato come le storie di Instagram, con lo
   scorrimento del browser (scroll-snap) e la scheda dopo che spunta dal
   bordo. Le animazioni sul telefono sono solo tre: la frase che ruota,
   le notifiche dell'apertura e i messaggi della chat nella scheda GO.
   =================================================================== */
.step-short, .story-dots { display: none; }

@media (max-width: 767px) {
  #come-funziona.s { padding: 48px 0 40px; }
  .story { grid-template-areas: "head" "steps" "dots" "foot"; }
  .story-head { gap: 12px; }
  .story-steps {
    flex-direction: row; gap: 12px; margin: 24px -16px 0; padding: 4px 8vw 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 8vw;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .story-steps::-webkit-scrollbar { display: none; }
  .story-step {
    flex: 0 0 84vw; scroll-snap-align: center; scroll-snap-stop: always;
    justify-content: flex-start; gap: 16px; padding: 20px 16px 22px;
    background: rgba(255, 255, 255, 0.6); border-radius: 28px;
  }
  .story-step .step { display: none; }
  .step-short { display: block; align-self: stretch; }
  .step-short p { margin: 0; color: var(--grey); font-size: 16px; line-height: 1.4; }
  .step-short .step-short-title {
    margin-bottom: 4px; font-family: var(--title); font-weight: 800; font-size: 21px; line-height: 1.2; color: var(--ink);
  }
  .step-short .step-word { font-size: inherit; letter-spacing: 0; margin-right: 4px; }
  /* Il telefono quanto basta perché la scheda stia in uno schermo. */
  .device--inline { --pw: min(250px, 64vw, calc((100svh - 300px) / 2.2)); }
  .story-dots { grid-area: dots; display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
  .story-dots button {
    width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .story-dots button::before {
    content: ''; width: 9px; height: 9px; border-radius: 9px; background: var(--petrol); opacity: 0.3;
    transition: width 0.25s ease, opacity 0.25s ease;
  }
  .story-dots button[aria-current]::before { width: 22px; opacity: 1; }
  .story-foot { padding-top: 16px; gap: 16px; }

  /* Sul telefono si muovono solo la frase, le notifiche e la chat. */
  .blob { display: none; }
  .motion .logo-draw path { animation: none; fill-opacity: 1; stroke-dasharray: none; stroke-dashoffset: 0; }
  .motion #inizio .note-card--left { animation: note-in 0.6s ease 0.8s both; }
  .motion #inizio .note-card--right { animation: note-in 0.6s ease 1.8s both; }
  .reveal.reveal-wait { opacity: 1; transform: none; }
  .struck div.line-wait span { background-size: 100% 3px; }
  .struck div span { transition: none; }
  .motion .button, .motion .button:hover, .motion .button:active { transform: none; box-shadow: none; transition: none; }
  .btn-roll > span, .motion .button:hover .btn-roll > span, .motion .button:active .btn-roll > span { transform: none; transition: none; }
  .scr--tu .scr-rise, .scr--tu .scr-publish, .scr--we .scr-req, .scr--we .scr-accept { opacity: 1 !important; animation: none !important; }
  .scr--we .scr-notif { animation: none !important; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .story-dots button::before { transition: none; }
}

/* Il logo disegnato della home si riduce come l'immagine delle altre pagine,
   o sui telefoni stretti il pulsante dell'intestazione va a capo. */
@media (max-width: 400px) { .logo-draw { height: 18px; } }
/* «Come funziona» usa .story come «La nostra storia», che ha 56 punti tra le
   righe: sul telefono le schede stanno subito sotto il titolo. */
@media (max-width: 767px) { #come-funziona .story { row-gap: 0; } }

/* ===================================================================
   Il telefono (Adriana, 2026-10-20, terza prova): le prime cinque
   schermate — apertura, TU, WE, GO, «Quante volte hai rinunciato?» — si
   sfogliano di lato, alte uno schermo, con i pallini sotto; poi si scorre
   in giù come una pagina normale: categorie, sicurezza, storia, domande,
   contatti. In alto sempre l'intestazione: logo, «Avvisami», ☰ (Home,
   Sicurezza, Domande, Contatti e le lingue). Tutto il testo resta nella
   pagina: cambia solo la disposizione. Senza JavaScript resta la pagina di
   prima.
   =================================================================== */
.menu, .swipe-cue, .swipe-dots { display: none; }
@media (min-width: 768px) { #n-email::placeholder { color: transparent; } }
/* Su computer, arrivando da un link, la sezione comincia sotto
   l'intestazione e non dietro. */
.s, .final { scroll-margin-top: 85px; }

@media (max-width: 767px) {
  :root { --hh: 57px; }
  html { scroll-padding-top: var(--hh); }
  .s, .final { scroll-margin-top: 0; }

  /* L'intestazione, su ogni pagina */
  .header .wrap { padding: 6px 12px 6px 16px; gap: 8px; min-height: 56px; }
  .header-actions { gap: 8px; }
  .header-actions .lang { display: none; }
  .header-actions .button { min-height: 42px; padding: 8px 14px; font-size: 16px; }
  .menu { display: block; }
  .menu summary {
    list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #2E6268; border-radius: 12px; cursor: pointer; color: var(--white);
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: flex; }
  .menu .menu-close, .menu[open] .menu-open { display: none; }
  .menu[open] .menu-close { display: flex; }
  .menu[open] summary { background: var(--night-line); }
  .menu-panel {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    max-height: calc(100svh - 64px); overflow-y: auto;
    background: var(--cream); padding: 10px 12px 14px; border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 48px rgba(13, 59, 64, 0.35);
  }
  .menu-panel nav { display: flex; flex-direction: column; gap: 4px; }
  .menu-panel nav a {
    display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 10px 6px 8px; border-radius: 16px;
    color: var(--ink); text-decoration: none; font-family: var(--title); font-weight: 700; font-size: 17px;
  }
  .menu-panel nav a:active { background: var(--white); }
  .menu-label { flex: 1; }
  .menu-chevron { display: flex; color: #9AA9AC; }
  .menu-icon {
    width: 38px; height: 38px; border-radius: 12px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .menu-icon--coral { background: #FCE3DD; color: #C2321F; }
  .menu-icon--petrol { background: #D9ECEA; color: #08778A; }
  .menu-icon--ink { background: #DCE3E5; color: var(--ink); }
  .menu-icon--soft { background: transparent; color: var(--grey); width: 30px; }
  .menu-langs {
    display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 6px 0;
    border-top: 1px solid #E3DCCF;
  }
  .menu-langs a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
    border: 1px solid #D6CDBE; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600;
  }
  .menu-langs a[aria-current] { border-color: var(--petrol); background: var(--petrol); color: var(--white); }

  /* Le cinque schermate da sfogliare: alte uno schermo meno i pallini. */
  .js { --card-h: calc(100svh - var(--hh) - 40px); }
  .js .swipe {
    display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .js .swipe::-webkit-scrollbar { display: none; }
  .js.is-typing .swipe { overflow-x: hidden; }
  .js .swipe [data-slide] {
    flex: 0 0 100%; width: 100%; min-height: var(--card-h); margin: 0;
    scroll-snap-align: start; scroll-snap-stop: always;
  }
  .js #inizio { order: 1; }
  .js .swipe .story-step { order: 2; }
  .js #rinunce { order: 3; }
  .js .swipe .blob, .js .swipe .scroll-cue { display: none; }
  /* I pallini: dove sei, e un tocco per andarci. */
  .js .swipe-dots { display: flex; justify-content: center; align-items: center; gap: 2px; height: 40px; background: #F3F9F8; }
  .js .swipe-wrap { background: #F3F9F8; }
  .swipe-dots button {
    width: 26px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .swipe-dots button::before {
    content: ''; width: 8px; height: 8px; border-radius: 8px; background: var(--petrol); opacity: 0.3;
    transition: width 0.25s ease, opacity 0.25s ease;
  }
  .swipe-dots button[aria-current]::before { width: 22px; opacity: 1; }

  /* 1. L'apertura: «Presto su App Store e Google Play», la frase, il titolo,
     la scheda dell'app con le notifiche, il modulo (dove andranno i
     pulsanti degli store), «Solo per persone maggiorenni» e «Scorri →». */
  .js #inizio.s { display: flex; flex-direction: column; height: var(--card-h); padding: 10px 0; }
  .js #inizio > .wrap { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
  .js #inizio .split-text { display: contents; }
  .js #inizio .badge { order: 0; padding: 4px 11px; font-size: 13px; }
  .js #inizio .rotator { order: 1; font-size: 18px; }
  .js #inizio .h1 { order: 2; font-size: 30px; line-height: 1.05; }
  .js #inizio .sub { order: 3; display: none; font-size: 16px; line-height: 1.4; }
  .js #inizio .split-media { order: 4; flex: 1; min-height: 0; display: block; }
  .js #inizio .hero-cta { order: 5; min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; }
  .js #inizio .note { order: 6; font-size: 13px; line-height: 1.3; padding-right: 112px; min-height: 34px; display: flex; align-items: center; }
  /* La scheda a sinistra, le due notifiche accanto: nessuna la copre.
     site.js la rimpicciolisce finché ci sta. */
  .js #inizio .cards {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr;
    align-items: center; justify-items: start; width: 100%; max-width: none; height: 100%; gap: 0;
  }
  .js #inizio .phone { position: relative; grid-column: 1; grid-row: 1 / -1; width: 290px; margin: 0; }
  .js #inizio .note-card {
    position: relative; z-index: 2; grid-column: 2; width: auto; max-width: 100%; margin: 0 0 0 -14px;
    padding: 10px 12px; font-size: 13px; line-height: 1.3; border-radius: 14px;
  }
  .js #inizio .note-card--left { grid-row: 2; align-self: end; margin-bottom: 10px; }
  .js #inizio .note-card--left .avatar { width: 30px; height: 30px; font-size: 13px; }
  .js #inizio .note-card--right { grid-row: 3; align-self: start; margin-top: 0; }
  /* Il modulo: email e pulsante sulla stessa riga. */
  .js #inizio .notify { max-width: none; }
  .js #inizio .form--notify { padding: 12px; gap: 8px; border-radius: 18px; }
  .js #inizio .form--compact {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title title" "email send" "more more" "status status";
  }
  .js #inizio .notify-title { font-size: 17px; }
  .js #inizio .field--email label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js #inizio .notify-send { width: auto; min-height: 46px; padding: 10px 16px; font-size: 16px; }
  .js #inizio .hero-cta .stores { flex-wrap: nowrap; }
  .js #inizio .hero-cta .store { flex: 1; padding: 10px 14px; }
  /* Quando ci si iscrive il modulo prende il posto della scheda, la
     schermata si allunga quanto serve e «Avvisami» va in fondo, dopo città
     e informativa. La pagina scorre, e ai campi sopra la tastiera ci pensa
     il browser. */
  .js #inizio.is-signing { height: auto; min-height: var(--card-h); }
  .js #inizio.is-signing .split-media, .js #inizio.is-signing .swipe-cue { display: none; }
  .js #inizio.is-signing .hero-cta { justify-content: flex-start; }
  .js #inizio.is-signing .note { padding-right: 0; }
  .js #inizio .form--compact.is-open {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "email" "more" "send" "status";
  }
  .js #inizio .form--compact.is-open .notify-send { width: 100%; }
  .js #inizio .form--compact.is-open #n-email::placeholder { color: transparent; }
  .js #inizio .form--compact.is-open .field--email label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  /* «Scorri →», sulla stessa riga di «Solo per persone maggiorenni». */
  .swipe-cue {
    position: absolute; right: 16px; bottom: 10px; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--petrol-dark);
    font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 6px 16px rgba(16, 49, 58, 0.12);
  }
  .js .swipe-cue { display: inline-flex; }
  @keyframes cue-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(6px); } }
  .motion .swipe-cue span { display: inline-block; animation: cue-nudge 1.6s ease-in-out infinite; }

  /* 2-4. TU, WE, GO: una schermata ciascuno, il telefono quanto basta. */
  .js #come-funziona, .js #come-funziona > .wrap, .js #come-funziona .story-steps { display: contents; }
  .js #come-funziona .story-head {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .js #come-funziona .story-dots, .js #come-funziona .story-phone, .js #come-funziona .story-foot { display: none; }
  .js .swipe .story-step {
    height: var(--card-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    padding: 16px 20px; border-radius: 0; background: #E3F0EF; container-type: size;
  }
  .js .swipe .step-short { text-align: center; max-width: 22em; }
  .js .swipe .step-short .step-short-title { font-size: 24px; }
  .js .swipe .story-step .device--inline { --pw: min(290px, 78cqw, calc((100cqh - 130px) / 2.17)); flex: none; }

  /* 5. Quante volte hai rinunciato: tutto in uno schermo, e in fondo la
     frase che porta giù, al resto del sito. */
  .js #rinunce.s { height: var(--card-h); padding: 14px 0 12px; display: flex; flex-direction: column; justify-content: center; }
  .js #rinunce > .wrap { gap: 12px; }
  .js #rinunce .illustration { width: auto; height: clamp(80px, 20svh, 170px); max-width: 100%; }
  .js #rinunce .split-text { gap: 10px; }
  .js #rinunce .h2 { font-size: 28px; }
  .js #rinunce .struck { gap: 6px; }
  .js #rinunce .struck div { font-size: 18px; line-height: 1.3; }
  .js #rinunce .big { font-size: 19px; margin: 2px 0 0; }
  .js #rinunce .next { margin-top: 2px; font-size: 16px; }
}
@media (max-width: 767px) and (min-height: 760px) {
  .js #inizio .sub { display: block; }
  .js #inizio .h1 { font-size: 36px; }
  .js #inizio > .wrap { gap: 12px; }
  .js #rinunce .h2 { font-size: 32px; }
  .js #rinunce .struck div { font-size: 21px; }
  .js #rinunce .big { font-size: 22px; }
}
@media (max-width: 767px) and (max-height: 620px) {
  .js #inizio.s { padding-top: 8px; }
  .js #inizio > .wrap { gap: 6px; }
  .js #inizio .rotator { font-size: 16px; }
  .js #inizio .h1 { font-size: 27px; }
  .js #inizio .form--notify { padding: 10px 12px; gap: 6px 8px; }
  .js #inizio .hero-cta { min-height: 88px; }
  .js #inizio .note-card { padding: 8px 10px; font-size: 12px; }
  .js #inizio .note-card--left .avatar { display: none; }
  .js #rinunce .h2 { font-size: 25px; }
  .js #rinunce .struck div { font-size: 16px; }
  .js #rinunce .big { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swipe-dots button::before { transition: none; }
}

/* ===================================================================
   Computer, dopo le foto di Adriana (2026-10-20, sera): su una finestra
   di 1536×728 l'apertura e Sicurezza uscivano dallo schermo, in «Come
   funziona» TU finiva sotto il bordo dopo un grande vuoto, e «Together we
   go» con «Avvisami quando esce» stava una schermata dopo GO.
   =================================================================== */
@media (min-width: 1024px) {
  /* L'intestazione è alta 85 punti, non 77. */
  .s--full { min-height: calc(100svh - 85px); }
}
@media (min-width: 861px) {
  /* Le sezioni a schermo intero, più compatte in verticale. */
  .s.s--full { padding: 40px 0 64px; }
  #inizio.s { padding: 20px 0 54px; }
  .s .h2 { font-size: clamp(36px, 3vw, 48px); }
  .s .split-text { gap: 18px; }
  /* Sicurezza: le tre schede più basse, perché stiano con il titolo. */
  #sicurezza .safety-list { gap: 10px; }
  #sicurezza .safety { padding: 16px 20px; gap: 14px; }
  #sicurezza .safety h3 { font-size: 18px; margin-bottom: 2px; }
  #sicurezza .safety p { font-size: 16px; line-height: 1.45; }
  #sicurezza .safety svg { width: 32px; height: 32px; }
  #sicurezza .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 48px; }
  #sicurezza .illustration { max-width: 340px; }

  /* Come funziona: TU subito sotto il titolo, senza il vuoto. */
  .story-step { min-height: 56vh; }
  .story-step:first-child { min-height: 0; padding: 36px 0 30vh; }
  /* GO e la chiusura («Together we go.», «Avvisami quando esce», «Ecco
     cosa puoi fare») nella stessa schermata: il telefono resta fermo
     anche accanto alla chiusura. */
  .story { grid-template-areas: "head phone" "steps phone" "foot phone"; }
  .story-step:last-child { min-height: 0; padding: 20vh 0 24px; }
  #come-funziona.s { padding-top: 40px; }
  /* Il telefono mai più alto della finestra sotto l'intestazione (85 punti). */
  .story-phone .device {
    --pw: min(360px, calc((100svh - 85px - 64px) / 2.2));
    top: calc(85px + (100svh - 85px - var(--pw) * 2.2) / 2);
  }
  .story-foot { padding-top: 8px; padding-bottom: 12vh; }
  .story-foot .signoff { padding-top: 22px; }
}

/* «Scorri ↓» sempre in fondo allo schermo, su computer: porta alla
   sezione dopo, e sparisce all'ultima (Adriana, 2026-10-20). Lo aggiunge
   site.js; senza JavaScript resta quello dell'apertura. */
.scroll-next { display: none; }
@media (min-width: 768px) {
  .js #inizio .scroll-cue { display: none; }
  .scroll-next {
    position: fixed; left: 50%; bottom: 16px; z-index: 6; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
    box-shadow: 0 8px 22px rgba(16, 49, 58, 0.16); transition: opacity 0.3s ease;
  }
  .scroll-next span { color: var(--coral-button); font-size: 18px; line-height: 1; }
  .scroll-next.is-gone { opacity: 0; pointer-events: none; }
  @keyframes next-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }
  .motion .scroll-next span { display: inline-block; animation: next-nudge 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .scroll-next { transition: none; } }

/* ===================================================================
   Quarta prova di Adriana (2026-10-20, notte)
   =================================================================== */

/* La storia in tre blocchi: titolo e frase d'apertura, il racconto, la
   chiusura con la firma. Su telefono uno sotto l'altro, come prima. */
.story-intro, .story-body, .story-end { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) {
  .story-intro, .story-body, .story-end { gap: 16px; }
}

@media (min-width: 861px) {
  /* La storia in una finestra: a sinistra titolo, frase e chiusura, a
     destra il racconto. */
  .wrap.story--single { max-width: 1200px; }
  .story--single .story-text {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 56px; row-gap: 22px;
    grid-template-areas: "intro body" "end body"; align-items: start;
  }
  .story--single .story-intro { grid-area: intro; }
  .story--single .story-body { grid-area: body; gap: 16px; align-self: center; }
  .story--single .story-end { grid-area: end; gap: 14px; }
  #storia .story-text p { font-size: 17px; line-height: 1.6; }
  #storia .story-text .first { font-size: 24px; line-height: 1.3; }
  #storia .story-text .closing { font-size: 20px; line-height: 1.4; }

  /* Contatti in una finestra: nome ed email affiancati, il messaggio più basso. */
  #contatti.s { padding: 40px 0 64px; }
  #contatti .form { padding: 22px 24px; gap: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
  #contatti .form > * { grid-column: 1 / -1; }
  #contatti .form > .field:nth-child(1) { grid-column: 1; }
  #contatti .form > .field:nth-child(2) { grid-column: 2; }
  #contatti .form textarea { height: 120px; min-height: 120px; }

  /* Il modulo «Avvisami» aperto, su computer: email e città affiancate,
     informativa e pulsante sotto. Il sottotitolo lascia il posto. */
  #inizio:has(.form--compact.is-open) .sub, #inizio:has(.form--compact.is-open) .rotator { display: none; }
  #inizio .form--compact.is-open {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "title title" "email city" "consent send" "turnstile turnstile" "status status";
    align-items: start; column-gap: 14px;
  }
  #inizio .form--compact.is-open .notify-more { display: contents; }
  #inizio .form--compact.is-open .field--city { grid-area: city; }
  #inizio .form--compact.is-open .consent { grid-area: consent; align-self: center; font-size: 14px; }
  #inizio .form--compact.is-open .turnstile-box { grid-area: turnstile; }
  #inizio .form--compact.is-open .notify-send { grid-area: send; justify-self: end; align-self: center; }
  /* I due campi allineati in basso: la città ha una riga d'aiuto in più. */
  #inizio .form--compact.is-open .field--email, #inizio .form--compact.is-open .field--city { align-self: end; }
}

/* «Scorri ↓» e «Torna su ↑» in basso a destra, dove non coprono il testo. */
.to-top {
  position: fixed; right: 20px; bottom: 16px; z-index: 6;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--petrol); color: var(--white); border: 2px solid var(--white); box-shadow: 0 8px 22px rgba(16, 49, 58, 0.25);
  transition: opacity 0.3s ease;
}
.to-top.is-gone { opacity: 0; pointer-events: none; }
@media (min-width: 768px) {
  .scroll-next { left: auto; right: 78px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Telefono: le sezioni che si scorrono, più raccolte. */
@media (max-width: 767px) {
  .js .deck > .s:not(#inizio):not(#rinunce) { padding: 40px 0 44px; }
  .js .deck .s .h2 { font-size: 30px; }
  .js .deck .s .lead { font-size: 17px; }
  .js #sicurezza .illustration { max-width: 200px; }
  .js #sicurezza .split { gap: 24px; }
  .js #sicurezza .safety { padding: 16px; gap: 12px; }
  .js #sicurezza .safety svg { width: 30px; height: 30px; }
  .js #sicurezza .safety h3 { font-size: 17px; }
  .js #sicurezza .safety p { font-size: 15px; line-height: 1.45; }
  .js #storia .story-text p { font-size: 16px; line-height: 1.55; }
  .js #storia .story-text .first { font-size: 20px; }
  .js #storia .story-text .closing { font-size: 18px; }
  .js #contatti .contact { gap: 28px; }
  .js #contatti .contact-mail { font-size: 19px; }
  .js #contatti .form { padding: 18px; gap: 12px; }
  .js #contatti .form textarea { height: 110px; }
  .js .deck-end .final { padding: 56px 0; }
}

/* ===================================================================
   Quinta prova di Adriana (2026-10-20, notte)
   =================================================================== */

/* «Leggi tutta la storia»: solo sul telefono, e solo con JavaScript. */
.story-more { display: none; }
@media (max-width: 767px) {
  .js #storia .story-text:not(.is-open) .story-body p:not(:first-child),
  .js #storia .story-text:not(.is-open) .story-end > :not(.next) { display: none; }
  .js #storia .story-text:not(.is-open) .story-more {
    display: inline-flex; align-self: flex-start; align-items: center; min-height: 44px; padding: 10px 18px;
    border: 1.5px solid var(--coral-button); border-radius: 999px; background: var(--white);
    color: var(--coral-button); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  }
}

@media (min-width: 861px) {
  /* Come funziona: tre schermate esatte. La prima è il titolo con TU, la
     seconda WE, la terza GO con la chiusura. Niente passi sbiaditi: se ne
     vede uno per volta. site.js misura il titolo (--how-head) e la
     chiusura (--how-foot); i valori qui sono quelli di riserva. */
  #come-funziona.s { padding: 0; }
  #come-funziona .story { row-gap: 0; }
  #come-funziona .story-head { padding-top: 40px; }
  .js .story-step { opacity: 1; }
  .story-step { min-height: calc(100svh - 85px); padding: 0; scroll-margin-top: 85px; }
  .story-step:first-child { min-height: calc(100svh - 85px - var(--how-head, 200px)); padding: 0; }
  .story-step:last-child { min-height: calc(100svh - 85px - var(--how-foot, 200px)); padding: 0; }
  .story-foot { padding: 0 0 40px; }
  .story-foot .signoff { padding-top: 22px; }
}

@media (max-width: 767px) {
  /* Le notifiche dell'apertura più larghe, appoggiate sul bordo della
     scheda: una riga in più, non tre. */
  .js #inizio .note-card { margin-left: -34px; width: calc(100% + 34px); max-width: none; }
  .js #inizio .note-card--left .avatar { width: 26px; height: 26px; font-size: 12px; }
  .js #inizio .note-card--left { gap: 8px; }

  /* La striscia dei pallini prende il colore della schermata (site.js). */
  .js .swipe-dots { transition: background-color 0.3s ease; }

  /* «Torna su» più piccolo, e solo quando si scorre verso l'alto. */
  .to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .to-top svg { width: 19px; height: 19px; }

  /* Contatti più raccolti: testo, email e social stretti, modulo più basso. */
  .js #contatti .contact-text { gap: 10px; }
  .js #contatti .lead { font-size: 16px; }
  .js #contatti .social { width: 40px; height: 40px; }
  .js #contatti .form { gap: 10px; }
  .js #contatti .field { gap: 4px; }
  .js #contatti .field label { font-size: 15px; }
  .js #contatti .field input { min-height: 44px; padding: 9px 12px; }
  .js #contatti .form textarea { height: 90px; min-height: 90px; padding: 9px 12px; }
  .js #contatti .consent { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .js .swipe-dots { transition: none; } }

/* ===================================================================
   Sesta prova (2026-10-20, notte): sul telefono anche le sezioni che si
   scorrono sono una schermata ciascuna — categorie, sicurezza, storia
   (chiusa), domande, contatti — alte quanto lo schermo sotto
   l'intestazione, con il contenuto al centro.
   =================================================================== */
@media (max-width: 767px) {
  .js .deck > #video, .js .deck > #sicurezza, .js .deck > #storia, .js .deck > #domande, .js .deck > #contatti {
    /* lvh: alta come lo schermo quando la barra di Chrome è nascosta, cioè
       mentre si scorre; con svh si intravedeva la sezione dopo. */
    min-height: calc(100svh - var(--hh)); min-height: calc(100lvh - var(--hh));
    display: flex; flex-direction: column; justify-content: center;
    padding: 20px 0 24px;
  }
  .js .deck > .s > .wrap { width: 100%; }

  /* Sicurezza: titolo, frase e le tre schede in uno schermo; il disegno
     solo dove c'è posto. */
  .js #sicurezza .split { gap: 14px; }
  .js #sicurezza .split-media { display: none; }
  .js #sicurezza .split-text { gap: 12px; }
  .js #sicurezza .h2 { font-size: 28px; }
  .js #sicurezza .lead { font-size: 15px; line-height: 1.45; }
  .js #sicurezza .safety-list { gap: 8px; }
  .js #sicurezza .safety { padding: 12px 14px; gap: 12px; border-radius: 16px; }
  .js #sicurezza .safety svg { width: 26px; height: 26px; }
  .js #sicurezza .safety h3 { font-size: 16px; margin-bottom: 2px; }
  .js #sicurezza .safety p { font-size: 14px; line-height: 1.4; }
  .js #sicurezza .next { margin-top: 2px; font-size: 16px; }

  /* La storia chiusa sta in uno schermo; aperta si allunga. */
  .js #storia .split-text { gap: 14px; }
  .js #storia .h2 { font-size: 28px; }
  .js #storia .story-text .first { font-size: 18px; line-height: 1.35; }

  /* Domande: fino a sei domande in uno schermo. */
  .js #domande .faq { gap: 16px !important; }
  .js #domande .h2 { font-size: 28px; }
  .js #domande .faq-list { gap: 8px; }
  .js #domande .faq details { padding: 12px 16px; border-radius: 14px; }
  .js #domande .faq summary { font-size: 16px; line-height: 1.35; }
  .js #domande .faq details p { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .js #domande .next { margin-top: 0; font-size: 16px; }

  /* Contatti in uno schermo: email e social sulla stessa riga, nome ed
     email affiancati, il messaggio più basso. */
  .js #contatti .contact { gap: 16px; }
  .js #contatti .contact-text { gap: 8px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
  .js #contatti .contact-text .h2, .js #contatti .contact-text .lead { grid-column: 1 / -1; }
  .js #contatti .h2 { font-size: 28px; }
  .js #contatti .lead { font-size: 15px; line-height: 1.45; }
  .js #contatti .contact-mail { font-size: 17px; margin: 0; }
  .js #contatti .socials { gap: 8px; justify-content: flex-end; }
  .js #contatti .social { width: 38px; height: 38px; }
  .js #contatti .form {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; row-gap: 10px;
    padding: 14px; border-radius: 18px;
  }
  .js #contatti .form > * { grid-column: 1 / -1; }
  .js #contatti .form > .field:nth-child(1) { grid-column: 1; }
  .js #contatti .form > .field:nth-child(2) { grid-column: 2; }
  .js #contatti .form textarea { height: 80px; min-height: 80px; }
  .js #contatti .form .button { width: 100%; min-height: 46px; padding: 10px 16px; }
}
@media (max-width: 767px) and (min-height: 760px) {
  .js #sicurezza .split-media { display: flex; }
  .js #sicurezza .illustration { max-width: 130px; }
}
@media (max-width: 767px) {
  /* Categorie in uno schermo anche sui telefoni bassi. */
  .js #video .split { gap: 18px; }
  .js #video .split-text { gap: 10px; }
  .js #video .h2 { font-size: 28px; }
  .js #video .lead { font-size: 15px; line-height: 1.45; }
  .js #video .pills--cloud { gap: 8px; }
  .js #video .pills--cloud .pill { font-size: 15px; padding: 5px 12px 5px 5px; gap: 7px; }
  .js #video .pill-icon { width: 24px; height: 24px; }
  .js #video .split-foot { gap: 10px; }
}

/* «Scorri» in fondo ai contatti, solo sul telefono (su computer c'è quello fisso). */
.next--phone { display: none; }
@media (max-width: 767px) {
  .js #contatti .next--phone { display: inline-flex; color: var(--white); margin-top: 4px; font-size: 16px; }
  .js #storia .story-text:not(.is-open) .story-end { gap: 0; }
}
@media (max-width: 767px) and (max-height: 700px) {
  /* Contatti sui telefoni bassi: un po' più stretti, perché ci stia anche «Scorri». */
  .js .deck > #contatti { padding: 12px 0 14px; }
  .js #contatti .contact { gap: 12px; }
  .js #contatti .lead { font-size: 14px; line-height: 1.4; }
  .js #contatti .form { row-gap: 8px; padding: 12px; }
  .js #contatti .form textarea { height: 64px; min-height: 64px; }
  .js #contatti .consent { font-size: 13px; }
}

/* All'apertura la striscia dei pallini ha già il colore della prima
   schermata: prima di site.js era grigio-azzurra e cambiava colore (un lampo). */
@media (max-width: 767px) {
  .js .swipe-wrap, .js .swipe-dots { background: #FCEDE8; }
  /* E lo spazio dei pallini c'è già prima che site.js li disegni. */
  .js .swipe-wrap { position: relative; padding-bottom: 40px; }
  .js .swipe-dots { position: absolute; left: 0; right: 0; bottom: 0; }
}
@media (min-width: 861px) {
  /* Le domande, ora sei, in una finestra anche su computer. */
  #domande.s { padding: 40px 0 56px; min-height: calc(100svh - 85px); display: flex; align-items: center; }
  #domande .faq { gap: 20px !important; width: 100%; }
  #domande .faq-list { gap: 10px; }
  #domande .faq details { padding: 14px 22px; border-radius: 16px; }
  #domande .faq summary { font-size: 18px; }
  #domande .faq details p { margin-top: 8px; }
}
