/* Flusso · sito di presentazione, MOCKUP nel mondo «Linee d'acqua» (stile predefinito dell'app, vedi DESIGN.md
   «Due stili» e bilancio-web/stile-linee.css). Laguna di notte e di giorno, superfici piatte con un filo,
   segnaletica in Overpass, cifre in Archivo semicondensato, Outfit solo per il marchio. Il filo della pagina è
   la linea del mese (site.js): uno schema di trasporto a 45° e 90° con una fermata per ogni giorno della storia,
   le entrate che si innestano da sinistra e le uscite che partono a destra. Niente bagliori, niente filter. */
@font-face { font-family: "Overpass"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/overpass-latin-ext-wght-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; }
/* Il «·» (U+00B7) resta ad Archivo: quello di Overpass si attacca alla parola dopo */
@font-face { font-family: "Overpass"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/overpass-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00B6, U+00B8-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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-wght-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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-wght-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: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/outfit-latin-wght-normal.woff2) format("woff2"); }

/* ── Token: la laguna di notte (scuro, predefinito) ── */
:root {
  color-scheme: dark;
  --bg: #0b1c4b; --surface: #0e2257; --surface-2: #14286a; --hair: #26407f; --control: #8c9ccb;
  --ink: #f4f0e6; --ink-2: #cbd4ef; --ink-3: #b2bee3; --good: #8fe9c8; --warn: #f2c35b; --focus: #f4f0e6;
  --btn-bg: #f4f0e6; --btn-ink: #0b1533; --btn-hover: #ffffff;
  --plate-bg: #f4f0e6; --plate-ink: #0b1533; --plate-ink-2: #33405f; --plate-shadow: 0 2px 6px -2px rgba(0, 0, 0, .45);
  --strip: #0e2257; --strip-line: #0e2257; --field: #0b1c4b; --bezel: #061131;
  --gap: var(--bg); --casing: #0e2257; --bed: var(--bg); --trunk: #f4f0e6; --track: #8c9ccb;
  --hub: #f4f0e6; --hub-ring: #0b1533; --hub-out: #f4f0e6;
  --tondo-ink: #0b1533; --tondo-ring: transparent;
  --shadow: 0 28px 56px -30px rgba(2, 7, 24, .8);
  /* tinte delle linee dell'app: passive verde acqua e menta, attive blu e azzurro, uscite calde e viola, mai rosso */
  --delta-p1: #2ec4b6; --delta-p2: #9be8c0; --delta-p3: #5fd39a;
  --delta-a1: #6a8bff; --delta-a2: #7fd3ff; --delta-a3: #a9b8ff;
  --delta-c1: #e8892b; --delta-c2: #f5de6e; --delta-c3: #c4c4ff; --delta-c4: #c054ca; --delta-c5: #f2b08f;
  --delta-c6: #ff9fc4; --delta-c7: #cbb089; --delta-c8: #9b7bff;
  --sans: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Archivo", "Overpass", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1240px; --gutter: clamp(16px, 4vw, 56px);
  --rail: 300px; --tx: 176;
}
/* ── la stessa laguna di giorno: carta, smalto blu notte, filetto d'inchiostro attorno ai nastri ── */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #edf1f7; --surface: #fbfaf5; --surface-2: #e2e7f1; --hair: #cdd4e4; --control: #5a6690;
  --ink: #0b1533; --ink-2: #26325a; --ink-3: #3a466f; --good: #054f36; --warn: #664000; --focus: #0b1533;
  --btn-bg: #0e2257; --btn-ink: #f4f0e6; --btn-hover: #1a3278;
  --plate-bg: #0e2257; --plate-ink: #f4f0e6; --plate-ink-2: #cbd4ef; --plate-shadow: 0 2px 6px -2px rgba(11, 21, 51, .35);
  --strip: #fbfaf5; --strip-line: #cdd4e4; --field: #ffffff; --bezel: #0b1533;
  --casing: #0b1533; --trunk: #0b1533; --track: #5a6690;
  --hub: #ffffff; --hub-ring: #0b1533; --hub-out: #0b1533;
  --tondo-ring: #0b1533;
  --shadow: 0 28px 56px -32px rgba(11, 21, 51, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--bg);
  accent-color: var(--ink); caret-color: var(--ink); scrollbar-color: var(--control) var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--control); border-radius: 12px; border: 3px solid var(--bg); }
::selection { background: var(--ink); color: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 var(--sans); word-spacing: .03em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--sans); text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--control); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num { font-family: var(--num); font-stretch: 88%; font-variant-numeric: tabular-nums lining-nums; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 16px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; }
.skip:focus { top: 12px; }
.wordmark { font: 600 24px/1 "Outfit", var(--sans); letter-spacing: -.01em; }

/* ── Pulsanti: pillola piena in smalto (porcellana su notte, notte su carta) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 2px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; padding-top: 2px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 2px 18px 0; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 2px 24px 0 28px; font-size: 17px; }
.btn .ico { margin-top: -2px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ── In alto: marchio, sezioni, lingua, demo ── */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--hair); }
.top-in { display: flex; align-items: center; gap: 8px; width: min(var(--max), calc(100% - 2 * var(--gutter))); min-height: 72px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-height: 44px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.brand img { width: 32px; height: 32px; }
.top-nav { display: flex; gap: 4px; margin-right: 8px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 2px 14px 0; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 16px; text-decoration: none; }
.top-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--control); }
.lang { display: inline-grid; place-items: center; min-width: 48px; min-height: 44px; padding: 2px 12px 0; border: 2px solid var(--control); border-radius: 999px; font: 800 14px/1 var(--sans); letter-spacing: .06em; text-decoration: none; }
.lang:hover { border-color: var(--ink); }

/* ── Il viaggio: apertura e mese condividono la colonna della linea ── */
.journey { position: relative; width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; isolation: isolate; }
.line { position: absolute; left: 0; top: 0; width: var(--rail); height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.line path { fill: none; }
.line .track { stroke: var(--track); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.line .tick { stroke: var(--trunk); stroke-width: 4; }
.line .stop { fill: var(--hub); stroke: var(--hub-ring); stroke-width: 4; }
.line .stop.minor { stroke-width: 3; }
.line .hub-out { fill: var(--hub); stroke: var(--hub-out); stroke-width: 9; }
.line .hub-in { fill: var(--hub); stroke: var(--hub-ring); stroke-width: 5; }
.line .t-c { stroke: var(--tondo-ring); stroke-width: 1.5; }
.line .t-n { font: 800 14px var(--sans); fill: var(--tondo-ink); text-anchor: middle; }
.line .l-name { font: 800 16px var(--sans); fill: var(--ink); }
.line .l-amt { font: 700 16px var(--num); font-stretch: 88%; fill: var(--ink-2); }
.line .head { fill: var(--ink); }
.line .end-bar { stroke-width: 4; }

/* ── Apertura ── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: clamp(40px, 6vw, 96px); padding: 72px 0 0; }
.hero-text { grid-column: 1; align-self: center; }
h1 { font-weight: 800; font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -.028em; }
h1 span { display: block; }
h1 span + span { color: var(--good); }
.lede { max-width: 44ch; margin-top: 28px; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.cta-note { max-width: 32ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cta-note a { font-weight: 700; color: var(--ink); }
.hero-phone { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; }
.palina.hero-stop { grid-column: 1; grid-row: 2; margin: 72px 0 24px; padding-left: var(--rail); max-width: calc(520px + var(--rail)); }

/* Telefono e schermo: una cornice sola, il vetro piatto */
.phone { margin: 0; width: 300px; max-width: 100%; padding: 8px; border-radius: 46px; background: var(--bezel); box-shadow: 0 0 0 1px var(--hair), var(--shadow); }
.phone-core { overflow: hidden; border-radius: 38px; background: var(--bg); }
.phone img, .screen img { width: 100%; }
.screen { margin: 0; padding: 8px; border-radius: 22px; background: var(--bezel); box-shadow: 0 0 0 1px var(--hair), var(--shadow); }
.screen-core { overflow: hidden; border-radius: 14px; }
.theme-sw { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border: 2px solid var(--control); border-radius: 999px; }
.theme-sw button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 2px 18px 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 700 15px/1 var(--sans); cursor: pointer; }
.theme-sw button .ico { width: 18px; height: 18px; margin-top: -2px; }
.theme-sw button:hover { color: var(--ink); background: var(--surface-2); }
.theme-sw button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); font-weight: 800; }
.theme-sw button[data-theme-set="dark"] .ico path { fill: currentColor; stroke: none; }

/* ── La palina di una fermata: targa con giorno e luogo, poi righe a colonne ferme ── */
.palina { display: grid; justify-items: start; gap: 12px; max-width: 520px; }
.plate { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 10px 22px 7px; border-radius: 8px; background: var(--plate-bg); color: var(--plate-ink); box-shadow: var(--plate-shadow); }
.plate b { font: 800 26px/1.15 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.plate span { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--plate-ink-2); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 10px; background: var(--strip); box-shadow: inset 0 0 0 1px var(--strip-line); }
.row .who { display: flex; flex-direction: column; min-width: 0; }
.row .name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.row .note { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.row .amt { font: 700 20px/1.2 var(--num); font-stretch: 88%; font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap; }
.row.in .amt { color: var(--good); }
.row.key .name { font-weight: 800; }
.row.key .amt { font-size: 24px; }
.tondo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; padding-top: 2px; background: var(--ln); color: var(--tondo-ink); font: 800 15px/1 var(--sans); box-shadow: inset 0 0 0 1.5px var(--tondo-ring); }
.tondo.hollow { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.tondo-none { width: 34px; height: 34px; }
.capsule { justify-self: center; width: 32px; height: 18px; border-radius: 9px; background: var(--hub); box-shadow: inset 0 0 0 3.5px var(--hub-ring), 0 0 0 2px var(--hub-out); }

/* ── Il mese: la linea a sinistra, le giornate a destra ── */
.month { padding: 0 0 128px var(--rail); }
.meet { max-width: 680px; padding: 128px 0 32px; }
h2 { font-weight: 800; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.022em; }
.meet p { margin-top: 20px; max-width: 60ch; color: var(--ink-2); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 32px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 10px; }
.kind { width: 40px; height: 16px; flex: none; overflow: visible; }
.st { padding-top: 112px; }
.st > .palina { margin-bottom: 48px; }
.st-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 40px clamp(40px, 5vw, 72px); }
.st-q { font-weight: 800; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.14; letter-spacing: -.016em; max-width: 22ch; }
.st-text p { margin-top: 16px; max-width: 58ch; color: var(--ink-2); }
.st-text p:first-of-type { margin-top: 24px; color: var(--ink); }
.st.wide .st-body { grid-template-columns: minmax(0, 1fr); }
.st.wide .st-text { max-width: 680px; }
.st.talk .st-body { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; }
.pair { display: flex; gap: 24px; align-items: flex-start; }
.pair .phone { width: 252px; flex: none; }
.pair .second { margin-top: 80px; }
.only-narrow { display: none; }

/* Conversazione d'esempio con l'assistente: un pannello piatto con il filo */
.chat { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.chat-cap { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.msg { max-width: 90%; padding: 14px 18px 12px; border-radius: 14px; font-size: 17px; line-height: 1.5; }
.msg p + p { margin-top: 10px; }
.msg.you { align-self: flex-end; background: var(--btn-bg); color: var(--btn-ink); border-bottom-right-radius: 4px; font-weight: 600; }
.msg.ai { align-self: flex-start; background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; }
.msg .tool { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.msg .tool::before { content: ""; width: 20px; height: 11px; border-radius: 6px; background: var(--hub); box-shadow: inset 0 0 0 2.5px var(--hub-ring), 0 0 0 1.5px var(--hub-out); }

/* Il capolinea: la linea arriva a Conti, con l'orario del mese */
.terminus { padding-top: 128px; max-width: 920px; }
.terminus .plate b { font-size: 30px; }
.term-h { margin: 32px 0 32px; font-weight: 800; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.012em; max-width: 30ch; }
.term-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.term-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; padding: 0 18px 0 14px; font-weight: 800; font-size: 19px; }
.term-sub .num { font-weight: 700; font-size: 19px; color: var(--ink-2); }
.term-tot { margin-top: 24px; max-width: calc(50% - 16px); }

/* ── Cosa sa fare: righe con il loro tratto, non schede ── */
.handles, .data, .faq, .end, .foot { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.handles { padding: 128px 0 32px; border-top: 1px solid var(--hair); }
.handles h2 { max-width: 18ch; }
.handles ul { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.handles li { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.handles li .kind { margin-top: 7px; }
.hd-h { font-weight: 800; font-size: clamp(20px, 1.8vw, 23px); line-height: 1.3; }
.hd-p { color: var(--ink-2); max-width: 56ch; }

/* ── I tuoi dati ── */
.data { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 40px; padding: 128px 0 32px; }
.data-p p { max-width: 58ch; color: var(--ink-2); font-size: 19px; }
.data-p p + p { margin-top: 20px; }
.data-p p:first-child { color: var(--ink); }

/* ── Domande ── */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 40px; padding: 128px 0 32px; }
.faq-list { border-top: 1px solid var(--hair); padding-top: 8px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; line-height: 1.35; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--control); transition: transform .3s var(--ease), background-color .2s var(--ease); }
.faq summary:hover .faq-ico { border-color: var(--ink); }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.faq details p { padding: 0 68px 28px 0; color: var(--ink-2); max-width: 62ch; }

/* ── Chiusura: la demo e la lista d'attesa ── */
.end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 48px clamp(40px, 6vw, 96px); padding: 160px 0 144px; }
.end h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.026em; }
.end-text > p:not(.cta) { margin-top: 24px; max-width: 40ch; color: var(--ink-2); font-size: 19px; }
.wl { position: relative; padding: 32px clamp(20px, 3vw, 36px) 28px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.wl h3 { font-weight: 800; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.wl-p { margin-top: 12px; color: var(--ink-2); }
.wl-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.wl input[type=email] { flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 2px 20px 0; border: 2px solid var(--control); border-radius: 12px; background: var(--field); color: var(--ink); font: 400 18px var(--sans); }
.wl input[type=email]:hover { border-color: var(--ink); }
.wl input[type=email]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 12px; }
.wl input[type=email]::placeholder { color: var(--ink-3); opacity: 1; }
.wl input[aria-invalid="true"] { border-color: var(--warn); border-width: 3px; }
.wl-btn { flex: 0 1 auto; }
.wl-btn:disabled { opacity: .55; cursor: progress; }
.wl-hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wl-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.wl-msg { margin-top: 12px; font-weight: 700; }
.wl-msg:empty { display: none; }
.wl-msg.good { color: var(--good); }
.wl-msg.bad { color: var(--warn); }
.wl.done .wl-row { opacity: .6; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 32px 0 48px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.foot .brand { margin-right: 0; gap: 10px; }
.foot .brand img { width: 24px; height: 24px; }
.foot .wordmark { font-size: 19px; color: var(--ink); }
.foot-note { margin-right: auto; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); }

/* ── Schermi medi ── */
@media (max-width: 1080px) {
  :root { --rail: 208px; --tx: 132; }
  .st-body, .st.talk .st-body { grid-template-columns: minmax(0, 1fr); }
  .st-body > .phone, .st-body > .pair { justify-self: start; }
  .term-cols { grid-template-columns: minmax(0, 1fr); }
  .term-tot { max-width: none; }
  .top-nav a { padding: 2px 10px 0; }
}
/* ── Telefono: la linea lungo il bordo sinistro, paline e testi a fianco ── */
@media (max-width: 860px) {
  :root { --rail: 52px; --tx: 22; }
  body { font-size: 17px; }
  .top-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .hero-phone { grid-column: 1; grid-row: auto; margin-top: 48px; }
  .palina.hero-stop { grid-row: auto; margin-top: 56px; }
  .cta-note { max-width: none; }
  .meet { padding-top: 96px; }
  .st { padding-top: 88px; }
  .st > .palina { margin-bottom: 32px; }
  .plate { padding: 9px 18px 6px; }
  .plate b { font-size: 23px; }
  .row { gap: 12px; padding: 8px 14px 8px 10px; }
  .row .amt { font-size: 18px; }
  .row.key .amt { font-size: 21px; }
  .st.wide .screen { display: none; }
  .only-narrow { display: block; }
  .pair .second { display: none; }
  .pair .phone { width: min(300px, 100%); }
  .st-body > .phone, .st-body > .pair { justify-self: stretch; display: flex; justify-content: center; }
  .st-body > .phone { width: min(300px, 100%); justify-self: center; }
  .handles li { grid-template-columns: 48px minmax(0, 1fr); }
  .handles li .hd-p { grid-column: 2; }
  .data, .faq, .end { grid-template-columns: minmax(0, 1fr); }
  .handles, .data, .faq { padding-top: 96px; }
  .end { padding: 112px 0 96px; }
  .faq details p { padding-right: 0; }
  .terminus { padding-top: 96px; }
  .term-sub { padding: 0 14px 0 10px; }
}
@media (max-width: 360px) {
  .top .wordmark { display: none; }
  .btn-sm { padding: 2px 14px 0; }
  .plate b { font-size: 21px; }
  .row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .tondo, .tondo-none { width: 30px; height: 30px; font-size: 14px; }
  .wl-btn { flex: 1 1 100%; }
}
