/* Busta Chiara — minisito. Struttura: la busta paga entra sul nastro in
   copertina e avanza stazione per stazione mentre scorri; ogni stazione è
   un passaggio reale che l'app fa sul tuo cedolino, con un piccolo
   strumento che puoi provare subito. Stesso mondo grafico dell'app: busta
   arancione, fondo pesca, inchiostro marrone scuro, Figtree. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --text: #2B1A10;
  --text-secondary: #7A5B45;
  --background: #FFF4EA;
  --surface: #FFFFFF;
  --surface-tint: #FBE3D0;
  --border: #F0DCCB;
  --accent: #F26B1D;
  --accent-deep: #E25A0C;
  --accent-text: #A8410A;
  --on-accent: #2B1A10;
  --primary: #2B1A10;
  --on-primary: #FFFFFF;
  --success: #1E6B3F;
  --success-soft: #E3F4EA;
  --warning: #B23A0B;
  --warning-soft: #FFE3CF;

  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
  --radius-xl: 26px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shadow-card: 0 22px 44px -16px rgba(43, 26, 16, 0.26), 0 3px 10px rgba(43, 26, 16, 0.08);
  --shadow-soft: 0 10px 24px -14px rgba(43, 26, 16, 0.3);

  --content-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; max-width: 64ch; }
p.lead { font-size: 20px; color: var(--text-secondary); max-width: 54ch; }

a { color: var(--accent-text); text-decoration-thickness: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--primary); color: var(--on-primary);
  padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }

.wrap { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Top nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 244, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="true"] { border-color: var(--accent-deep); color: var(--accent-text); }

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-m);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.nav-cta:active { transform: scale(0.96); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 24px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.hero h1 { color: var(--text); }
.hero p.lead { color: var(--text-secondary); max-width: 46ch; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.scroll-cue svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.scroll-cue:hover svg { transform: translateY(3px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius-m);
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-soft { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

.disclaimer { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Store badges ---------- */

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.store-badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: var(--radius-m);
  background: #111; color: #fff; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.store-badge:active { transform: scale(0.97); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; fill: currentColor; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; line-height: 1.2; }
.store-badge strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.store-badges-note { font-size: 14px; color: var(--accent-text); font-weight: 600; margin: 10px 0 0; }

/* ---------- Hero device + widget ---------- */

.hero-devices { position: relative; display: flex; justify-content: center; padding: 20px 20px 10px; }
.hero-glow {
  position: absolute; inset: -10% -6%;
  background: radial-gradient(closest-side, rgba(242, 107, 29, 0.3), rgba(242, 107, 29, 0) 70%);
  z-index: 0; pointer-events: none;
}
.hero-shot-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  will-change: transform;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-float 5.5s var(--ease-in-out) infinite alternate;
}

@keyframes hero-float {
  from { transform: translateY(-10px) rotate(-0.7deg); }
  to   { transform: translateY(10px) rotate(0.7deg); }
}

/* ---------- Intro strip under hero ---------- */

.intro { padding: 36px 0 8px; text-align: center; }
.intro p.lead { margin: 0 auto; text-align: center; }

/* ---------- The line: scroll-driven station sequence ---------- */

.line-section { position: relative; padding: 36px 0 60px; }

.line-track {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

.line-rail {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 4px;
  margin-left: -2px;
  background: var(--border);
  border-radius: 4px;
}
.line-rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: 4px;
  transition: height 80ms linear;
}

.station {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}
.station:nth-child(odd) .station-panel { grid-column: 1; text-align: right; }
.station:nth-child(odd) .station-widget { grid-column: 2; }
.station:nth-child(even) .station-panel { grid-column: 2; order: 2; }
.station:nth-child(even) .station-widget { grid-column: 1; order: 1; }
.station:nth-child(odd) .station-panel { margin-right: 40px; }
.station:nth-child(even) .station-panel { margin-left: 40px; }

.station-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--surface);
  border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-secondary);
  z-index: 2;
  transition: background-color 260ms var(--ease-out), border-color 260ms var(--ease-out), color 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.station.is-active .station-node {
  background: var(--accent);
  border-color: var(--accent-deep);
  color: var(--on-accent);
  box-shadow: var(--shadow-soft);
  transform: translate(-50%, -50%) scale(1.08);
}

.station-panel {
  opacity: 1;
  transform: none;
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}
.station-widget {
  opacity: 1;
  transform: none;
  transition: opacity 560ms var(--ease-out) 90ms, transform 560ms var(--ease-out) 90ms;
}
/* JS adds .pre-reveal only once it can also reveal it again; without JS, or with
   reduced motion, content stays visible by default. */
.station.pre-reveal .station-panel,
.station.pre-reveal .station-widget { opacity: 0; transform: translateY(18px); }

.station h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.station p { color: var(--text-secondary); }
.station:nth-child(odd) p.lead { margin-left: auto; }

/* ---------- Widgets ---------- */

.widget {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--shadow-card);
  max-width: 400px;
}
.station:nth-child(odd) .widget { margin-left: auto; }
.station:nth-child(even) .widget { margin-right: auto; }

/* Chips (comparto) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent-deep); color: var(--on-accent); }
.widget-note { font-size: 14px; color: var(--text-secondary); margin: 0; min-height: 2.6em; }

/* Voci (righe cliccabili con dettaglio) */
.voci-list { display: flex; flex-direction: column; gap: 6px; }
.voce-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 44px; text-align: left; font-family: inherit;
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-s); padding: 14px; cursor: pointer;
  font-weight: 700; font-size: 14px; color: var(--text);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.voce-row .amount { font-variant-numeric: tabular-nums; font-weight: 800; }
.voce-row[aria-expanded="true"] { background: var(--surface-tint); border-color: var(--accent); }
.voce-detail {
  font-size: 14px; color: var(--text-secondary); margin: 0;
  padding: 10px 14px 4px; display: none;
}
.voce-detail.is-open { display: block; }

/* Toggle anomalia */
.anomaly-card { background: var(--background); border-radius: var(--radius-m); padding: 16px; margin-bottom: 14px; border: 1px solid var(--border); }
.anomaly-card .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.anomaly-card .row:last-child { margin-bottom: 0; }
.anomaly-card .pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); transition: background-color 200ms ease, color 200ms ease; }
.anomaly-card .pill.is-flagged { background: var(--warning-soft); color: var(--warning); }
.anomaly-card .note { font-size: 13px; color: var(--warning); margin-top: 8px; display: none; }
.anomaly-card .note.is-visible { display: block; }

.switch {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; width: 100%;
  border: none; background: none; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 700; color: var(--text); padding: 4px 0;
  text-align: left;
}
.switch-track {
  width: 44px; height: 26px; border-radius: 999px; background: var(--border);
  position: relative; transition: background-color 200ms ease; flex-shrink: 0;
}
.switch-knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft);
  transition: transform 200ms var(--ease-out);
}
.switch[aria-pressed="true"] .switch-track { background: var(--accent); }
.switch[aria-pressed="true"] .switch-knob { transform: translateX(18px); }

/* Slider (stima straordinari) */
.slider-readout { margin-bottom: 14px; }
.slider-readout .value { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.slider-readout .hint { font-size: 13px; color: var(--text-secondary); margin: 2px 0 0; }
input[type="range"] {
  width: 100%; margin: 10px 0 4px; accent-color: var(--accent-deep);
}
.slider-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); }

/* Ring (ferie) */
.ring-widget { display: flex; align-items: center; gap: 18px; }
.ring-widget svg { width: 92px; height: 92px; flex-shrink: 0; }
.ring-track { fill: none; stroke: var(--border); stroke-width: 10; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 900ms var(--ease-out); }
.ring-center { font-weight: 800; font-size: 18px; }
.ring-copy p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.ring-copy strong { display: block; font-size: 15px; margin-bottom: 2px; }

/* Dati (link rows) */
.widget-links { list-style: none; margin: 0; padding: 0; }
.widget-links li + li { margin-top: 8px; }
.widget-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-s); background: var(--background);
  border: 1px solid var(--border); font-weight: 700; text-decoration: none; color: var(--text);
  transition: border-color 160ms ease, transform 160ms var(--ease-out);
}
.widget-links a:hover { border-color: var(--accent); }
.widget-links a:active { transform: scale(0.98); }
.widget-links svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Waitlist ---------- */

.waitlist-section { padding: 20px 0 64px; }
.waitlist-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-card .lead { margin-left: auto; margin-right: auto; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; justify-content: center; }
.waitlist-form input {
  flex: 1 1 220px; max-width: 320px; padding: 14px 16px; border-radius: var(--radius-m);
  border: 1px solid var(--border); background: var(--background); color: var(--text);
  font-size: 16px; font-family: inherit; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.waitlist-form input:focus-visible { border-color: var(--accent-deep); outline: none; box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.25); }
.waitlist-form button { flex-shrink: 0; }
.waitlist-status { margin-top: 14px; font-weight: 700; min-height: 1.4em; }
.waitlist-status[data-state="ok"] { color: var(--success); }
.waitlist-status[data-state="error"] { color: var(--accent-text); }
.waitlist-status[hidden] { display: none; }

/* ---------- Simple content page shell (legal / assistenza) ---------- */

.page-main { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.page-main h1 { margin-bottom: 8px; }

.placeholder-banner {
  background: var(--surface-tint); border-radius: var(--radius-m); padding: 18px 20px;
  color: var(--accent-text); font-weight: 600; margin-bottom: 32px;
}
.doc-section { margin-bottom: 32px; }
.doc-placeholder { color: var(--text-secondary); font-style: italic; }

.faq-list { border-top: 1px solid var(--border); }
details.faq { border-bottom: 1px solid var(--border); padding: 4px 0; }
details.faq summary {
  font-weight: 700; cursor: pointer; font-size: 17px; list-style: none;
  min-height: 44px; padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
.faq-mark { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--accent-deep); border-radius: 2px;
  transition: transform 200ms var(--ease-out);
}
.faq-mark::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-mark::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
details[open] .faq-mark::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
details.faq p { margin-top: 0; margin-bottom: 0; padding-bottom: 18px; color: var(--text-secondary); }

ol.steps-list { padding-left: 0; margin: 0; counter-reset: cstep; list-style: none; }
ol.steps-list li { counter-increment: cstep; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--border); position: relative; }
ol.steps-list li:last-child { border-bottom: none; }
ol.steps-list li::before {
  content: counter(cstep); position: absolute; left: 0; top: 12px; width: 28px; height: 28px;
  background: var(--accent); color: var(--on-accent); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}

.link-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.link-rows li { border-bottom: 1px solid var(--border); }
.link-rows a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 2px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none;
}
.link-rows a:hover { color: var(--accent-text); }
.link-rows svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 160ms var(--ease-out); }
.link-rows a:hover svg { transform: translateX(3px); }

/* ---------- Footer ---------- */

.site-footer { padding: 32px 24px 48px; max-width: var(--content-w); margin: 0 auto; font-size: 14px; color: var(--text-secondary); }

.cookie-prefs-btn {
  display: inline-block;
  background: none; border: none; padding: 0; margin-top: 8px;
  color: var(--accent-text); font: inherit; font-size: 14px; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; cursor: pointer;
}

/* ---------- Cookie consent banner ---------- */

.consent-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 50;
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 22px 48px 22px 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent-banner.is-visible { opacity: 1; transform: translateY(0); }
.consent-banner p { margin: 0 0 14px; font-size: 15px; color: var(--text-secondary); max-width: none; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 11px 18px; font-size: 14px; }
.consent-close {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: none; background: transparent; color: var(--text-secondary);
  font-size: 20px; line-height: 1; cursor: pointer; font-family: inherit;
}
.consent-close:hover { background: var(--background); }

@media (max-width: 560px) {
  .consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px 40px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner { transition: none; }
}

/* ---------- Area riservata (admin.html) ---------- */

.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
}

.admin-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.admin-card--wide { max-width: 760px; }
.admin-card h1 { font-size: 24px; margin-bottom: 6px; }

#login-form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
#login-form input {
  padding: 13px 16px; border-radius: var(--radius-m); border: 1px solid var(--border);
  background: var(--background); color: var(--text); font-size: 16px; font-family: inherit;
}
#login-form input:focus-visible { border-color: var(--accent-deep); outline: none; box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.25); }

.admin-status { font-weight: 700; margin: 14px 0 0; }
.admin-status[data-state="error"] { color: var(--accent-text); }

.admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-count { color: var(--text-secondary); font-weight: 600; margin: 0; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th {
  text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border);
  color: var(--text-secondary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em;
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: none; }

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-devices { order: -1; padding: 8px 12px 0; }

  .line-rail { left: 20px; margin-left: 0; }
  .station { grid-template-columns: 1fr; padding-left: 52px; padding-top: 44px; padding-bottom: 44px; }
  .station:nth-child(odd) .station-panel,
  .station:nth-child(even) .station-panel { grid-column: 1; order: 1; text-align: left; margin: 0 0 20px; }
  .station:nth-child(odd) .station-widget,
  .station:nth-child(even) .station-widget { grid-column: 1; order: 2; }
  .station:nth-child(odd) p.lead { margin-left: 0; }
  /* -2px (non 20px): il nodo è posizionato rispetto a .station (che ha
     padding-left: 52px), mentre la linea è posizionata rispetto a
     .line-track (padding: 0 24px) — un riferimento diverso. -2px li
     allinea così il centro del cerchio coincide col centro della linea. */
  .station-node { left: -2px; top: 0; transform: translate(-50%, 0); }
  .station.is-active .station-node { transform: translate(-50%, 0) scale(1.08); }
  .widget, .station:nth-child(odd) .widget, .station:nth-child(even) .widget { margin: 0; max-width: 100%; }

  .waitlist-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .station-panel, .station-widget, .store-badge, .ring-fill { transition: none !important; }
  .station-panel, .station-widget { opacity: 1 !important; transform: none !important; }
  .hero-shot-wrap, .hero-shot { transform: none !important; animation: none !important; }
}
