/* =========================================================
   Scaling Studio · landing
   Palette: bianco, nero, oro. Inter Tight + Inter
   ========================================================= */

:root {
  --white: #ffffff;
  --tint: #f6f6f4;          /* bianco appena velato, per il ritmo */
  --black: #000000;
  --ink: #161616;           /* testo su bianco */
  --ink-2: #545454;         /* testo secondario su bianco (7:1) */
  --line: #e4e2dc;          /* filetti su bianco */
  --gold: #b08d3c;          /* linee e dettagli su bianco */
  --gold-deep: #7a5e1f;     /* testo oro su bianco (AA) */
  --gold-light: #d2b06a;    /* oro su nero */
  --on-black: #f4f2ec;
  --on-black-2: #a9a69e;    /* secondario su nero (8:1) */
  --line-black: #2a2826;

  --serif: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; /* display */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(52px, 5.6vw, 80px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

::selection { background: var(--gold-light); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--black :focus-visible, .footer :focus-visible, .announce :focus-visible { outline-color: var(--gold-light); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h4 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.lead--inv { color: var(--on-black-2); }
.fineprint { margin-top: 20px; font-size: .8125rem; color: var(--ink-2); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; text-align: center; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { box-shadow: inset 0 -2px 0 var(--gold-light); color: var(--gold-light); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--gold { background: var(--gold-light); color: var(--black); }
.btn--gold:hover { background: #e2c584; }
.btn--line-inv { background: transparent; color: var(--on-black); border-color: #5a5650; }
.btn--line-inv:hover { border-color: var(--gold-light); color: var(--gold-light); }

.link {
  display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none;
  color: var(--gold-deep); border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Top bar ---------- */
.announce { background: var(--black); color: var(--on-black-2); text-align: center; font-size: .8125rem; padding: 9px var(--gutter); }
.announce p { max-width: 120ch; margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.wordmark {
  display: inline-flex; align-items: center; text-decoration: none; line-height: 1;
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; white-space: nowrap;
}
.wordmark--inv { color: var(--on-black); }
.nav__links { display: flex; gap: 32px; font-size: .9375rem; }
.nav__links a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 4.5vw, 72px) 0 clamp(56px, 6vw, 88px); position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(40px, 6vw, 104px); align-items: center; }
.hero__copy { display: contents; }
.hero__kicker, .hero__title, .hero__lead, .hero__ctas, .hero__note, .assurances { grid-column: 1; }
.dial { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--gold-deep); font-weight: 500; margin-bottom: 24px; }
.rule { display: inline-block; width: 48px; height: 1px; background: var(--gold); }
.hero__title {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2.375rem, 4.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  text-wrap: balance;
  max-width: 14ch;
}
.hero__lead { margin-top: 28px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: .875rem; color: var(--ink-2); }

.assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.assurances li { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.assurances li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.assurances strong { color: var(--ink); font-weight: 600; font-size: .9375rem; }

/* Quadrante */
.dial { position: relative; width: 100%; max-width: 360px; justify-self: end; margin: 0; }
.dial__svg { width: 100%; height: auto; overflow: visible; }
.dial__svg { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .16)); }
.w-flute { stroke: #7a5e1f; stroke-opacity: .35; stroke-width: 1; }
.w-crown-line { stroke: #7c7e80; stroke-opacity: .55; stroke-width: 1; }
.w-sun { stroke: #b9ad90; stroke-opacity: .07; stroke-width: 1; }
.w-track-min { stroke: #b9b2a0; stroke-opacity: .55; stroke-width: 1; }
.w-baton { stroke: #8a6b26; stroke-opacity: .35; stroke-width: .6; }
.w-brand { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .2px; fill: #2a2826; }
.w-date { font-family: var(--sans); font-weight: 600; font-size: 14px; fill: #1a1a1a; }
.w-hand { stroke: #6b5218; stroke-width: 1; stroke-linejoin: round; }
.w-link { stroke: #9a9da0; stroke-opacity: .55; stroke-width: 1; }
.w-link--c { stroke-opacity: .75; }
.w-link-bevel { stroke: #ffffff; stroke-opacity: .85; stroke-width: 1.4; stroke-linecap: round; }
.w-satin-line { fill: none; stroke: #ffffff; stroke-opacity: .18; stroke-width: .8; }
.w-stitch line { stroke: #e9dfc4; stroke-opacity: .7; stroke-width: 1.3; stroke-dasharray: 7 6; }

/* Blocco offerta */
.offer-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.offer-strip > div { padding: 22px 24px 22px 0; display: flex; flex-direction: column; gap: 2px; }
.offer-strip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.offer-strip__k { font-size: .8125rem; color: var(--ink-2); }
.offer-strip__v { font-family: var(--serif); font-weight: 600; font-size: clamp(1.125rem, 1.6vw, 1.4rem); letter-spacing: -.02em; }
.offer-strip--inv { border-top-color: var(--gold-light); border-bottom-color: var(--line-black); }
.offer-strip--inv > div + div { border-left-color: var(--line-black); }
.offer-strip--inv .offer-strip__k { color: var(--on-black-2); }
.offer-strip--inv .offer-strip__v { color: var(--on-black); }

/* ---------- Sezioni ---------- */
.section { padding: var(--sec) 0; }
.section--black { background: var(--black); color: var(--on-black); }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head .lead { margin-top: 24px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Problema */
.problem { padding-top: calc(var(--sec) * .7); }
.problem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem .lead { margin-top: 28px; }
.chores { counter-reset: none; border-top: 1px solid var(--ink); }
.chores li {
  position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.4;
}
.chores li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border: 1px solid var(--gold); border-radius: 50%;
  background: radial-gradient(circle at center, var(--gold) 0 2px, transparent 2.5px);
}

/* Fai-da-te */
.diy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.diy__col { padding-top: 28px; border-top: 1px solid var(--line-black); }
.diy__col--done { border-top-color: var(--gold-light); }
.diy__col .h3 { margin-bottom: 28px; }
.diy__col--self .h3 { color: var(--on-black-2); }
.diy__col--done .h3 { color: var(--gold-light); }
.track { position: relative; display: grid; gap: 26px; padding-left: 28px; }
.track::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-black); }
.track li { position: relative; color: var(--on-black-2); }
.track li::before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #5a5650; background: var(--black); }
.track__when { display: block; font-weight: 600; color: var(--on-black); font-size: .9375rem; margin-bottom: 2px; }
.track--gold::before { background: linear-gradient(var(--gold-light), rgba(210, 176, 106, .25)); }
.track--gold li { color: #d8d5cd; }
.track--gold li::before { border-color: var(--gold-light); background: var(--gold-light); }
.diy__punch {
  margin: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px);
  font-family: var(--serif); font-weight: 650;
  font-size: clamp(1.875rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.03em; color: var(--on-black); text-align: center; text-wrap: balance;
}
.alts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-black); }
.alts__item { padding: 28px 28px 0 0; }
.alts__item + .alts__item { padding-left: 28px; border-left: 1px solid var(--line-black); }
.alts__item p { margin-top: 10px; color: var(--on-black-2); font-size: .9375rem; }

/* ---------- Calcolatore ---------- */
.calc { padding-top: var(--sec); background: var(--white); }
.calc__panel {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  border: 1px solid var(--ink); border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .35);
}
.calc__inputs { padding: clamp(24px, 3.5vw, 48px); }
.calc__verticals { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc__legend { font-weight: 600; font-size: .9375rem; margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 9px 16px; font-size: .9375rem; cursor: pointer; color: var(--ink);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-checked="true"] { background: var(--black); border-color: var(--black); color: var(--white); }

.calc__tasks { border-top: 1px solid var(--line); }
.task { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.task__name { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.35; cursor: pointer; }
.task__name input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--ink-2); border-radius: 3px; background: var(--white); cursor: pointer; display: grid; place-content: center; }
.task__name input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.task__name input:checked { background: var(--black); border-color: var(--black); }
.task__name input:checked::after { opacity: 1; }
.task.is-off .task__field { opacity: .4; }
.task.is-off .task__name span { color: var(--ink-2); }
.task__field { display: flex; flex-direction: column; gap: 6px; }
.task__field > span { font-size: .75rem; color: var(--ink-2); }
.task__custom { width: 100%; border: 0; border-bottom: 1px dashed var(--ink-2); padding: 2px 0; background: transparent; font-weight: 500; }
.task__custom:focus { outline: none; border-bottom: 1px solid var(--gold); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); height: 42px; }
.stepper__btn { width: 36px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 1.125rem; color: var(--ink); }
.stepper__btn:hover { color: var(--gold-deep); }
.stepper input {
  width: 46px; font-size: 1rem; border: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; background: transparent;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(176, 141, 60, .25); }
.stepper__unit { font-size: .8125rem; color: var(--ink-2); padding-right: 4px; }
.calc__hint { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); }
.calc__rate { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.calc__rate label { font-weight: 600; font-size: .9375rem; }
.stepper--wide input { width: 64px; }

.calc__result { background: var(--black); color: var(--on-black); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; }
.calc__label { font-size: .875rem; color: var(--on-black-2); }
.calc__hours {
  display: flex; align-items: baseline; gap: 14px; margin-top: 4px;
  font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); line-height: .95;
  letter-spacing: -.04em; color: var(--gold-light);
  font-variant-numeric: lining-nums tabular-nums;
}
.calc__unit { font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 500; color: var(--on-black); letter-spacing: -.01em;  }
.calc__days { margin-top: 10px; color: var(--on-black-2); font-size: .9375rem; min-height: 1.6em; }
.calc__money { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-black); }
.calc__eur { white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; margin-top: 4px; }
.calc__eur small { font-family: var(--sans); font-weight: 400; font-size: .875rem; color: var(--on-black-2); margin-left: 2px; }
.calc__eur--muted { color: var(--on-black-2); }
.bars { margin-top: 26px; display: grid; gap: 12px; }
.bars__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 12px; font-size: .8125rem; color: var(--on-black-2); }
.bars__track { height: 8px; background: #1c1b1a; border-radius: 99px; overflow: hidden; }
.bars__fill { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .9s var(--ease); }
.bars__fill--loss { background: var(--gold-light); }
.bars__fill--us { background: var(--on-black); }
.calc__verdict { margin: 26px 0 24px; font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.4; min-height: 3.9em; text-wrap: pretty; }
.calc__result .btn { margin-top: auto; }
.calc__fine { margin-top: 10px; font-size: .8125rem; color: var(--on-black-2); text-align: center; }

/* ---------- Come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { padding: 32px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n {
  display: block; font-family: var(--serif); font-weight: 300; font-size: 4rem; letter-spacing: -.04em; line-height: 1; color: var(--gold); margin-bottom: 20px;
}
.step__time { margin: 6px 0 14px; color: var(--gold-deep); font-weight: 600; font-size: .9375rem; }
.step p:last-child { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Demo ---------- */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.demo-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.demo-card .h3 { min-height: 2.4em; max-width: 19ch; margin-bottom: 32px; text-wrap: balance; }
.phone {
  position: relative; width: 100%; max-width: 280px; aspect-ratio: 9 / 18.5;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2b2a28, #0d0d0c 40%, #1e1d1b);
  box-shadow: 0 0 0 1px #3a3835, 0 50px 90px -40px rgba(210, 176, 106, .28);
}
.phone__notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; background: #000; border-radius: 20px; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #fafaf8; color: var(--ink); text-align: left; }
.scene { position: absolute; inset: 0; padding: 56px 18px 20px; display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-step="1"] .scene--1, [data-step="2"] .scene--2, [data-step="3"] .scene--3 { opacity: 1; transform: none; }
.screen__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: 14px; }
.screen__status { margin-top: auto; font-size: .78rem; color: var(--ink-2); text-align: center; }
.screen__btn { margin-top: auto; display: block; text-align: center; background: var(--black); color: var(--white); border-radius: 12px; padding: 12px; font-size: .875rem; font-weight: 600; }

/* Demo 1 */
.cam { position: relative; flex: 1; border-radius: 16px; background: #24221f; display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; }
.note {
  width: 76%; background: #fffdf6; padding: 16px 14px; transform: rotate(-4deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .4);
  font-family: var(--serif); font-style: italic; font-size: .9rem; line-height: 1.5; color: #2b2b6a;
  background-image: repeating-linear-gradient(transparent 0 20px, #dfe6f1 20px 21px);
}
.cam__scan { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--gold-light); box-shadow: 0 0 16px 2px rgba(210, 176, 106, .7); top: 15%; }
[data-step="1"] .cam__scan { animation: scan 1.8s var(--ease) infinite alternate; }
@keyframes scan { from { top: 15%; } to { top: 85%; } }
.cam__corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold-light); }
.cam__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.cam__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.cam__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.cam__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.fields { display: grid; gap: 8px; }
.fields div { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
[data-step="2"] .fields div { opacity: 1; transform: none; }
[data-step="2"] .fields div:nth-child(2) { transition-delay: .25s; }
[data-step="2"] .fields div:nth-child(3) { transition-delay: .5s; }
[data-step="2"] .fields div:nth-child(4) { transition-delay: .75s; }
[data-step="2"] .fields div:nth-child(5) { transition-delay: 1s; }
.fields dt { font-size: .68rem; color: var(--ink-2); }
.fields dd { font-size: .86rem; font-weight: 600; }
.label { background: var(--white); border: 1.5px solid var(--ink); border-radius: 8px; padding: 14px; margin-top: 8px; }
.label__from { font-size: .66rem; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.label__to { margin: 12px 0; font-weight: 700; font-size: .95rem; line-height: 1.35; }
.label__barcode { display: block; height: 52px; background: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 7px, transparent 7px 8px, #000 8px 9px, transparent 9px 12px); }
.label__code { margin-top: 6px; font-size: .62rem; color: var(--ink-2); text-align: center; }

/* Demo 2 */
.voice { display: flex; align-items: center; gap: 10px; background: #e7f6dc; border-radius: 16px 16px 16px 4px; padding: 12px; }
.voice__play { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--black); position: relative; }
.voice__play::after { content: ""; position: absolute; left: 11px; top: 9px; border-left: 10px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.voice__wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.voice__wave i { flex: 1; background: #4b6b3a; border-radius: 2px; height: 30%; }
.voice__wave i:nth-child(3n) { height: 70%; } .voice__wave i:nth-child(4n) { height: 50%; } .voice__wave i:nth-child(5n) { height: 90%; }
[data-step="1"] .voice__wave i { animation: wave 1s ease-in-out infinite alternate; }
.voice__wave i:nth-child(2n) { animation-delay: -.3s !important; } .voice__wave i:nth-child(3n) { animation-delay: -.6s !important; }
@keyframes wave { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.voice__time { font-size: .72rem; color: #3d5530; }
.voice__text { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.lines { display: grid; gap: 8px; }
.lines li { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: .84rem; font-weight: 500; opacity: 0; transition: opacity .4s var(--ease); }
[data-step="2"] .lines li { opacity: 1; }
[data-step="2"] .lines li:nth-child(2) { transition-delay: .3s; }
[data-step="2"] .lines li:nth-child(3) { transition-delay: .6s; }
[data-step="2"] .lines li:nth-child(4) { transition-delay: .9s; }
.lines__ok { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-light); position: relative; }
.lines__ok::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg); }
.pdf { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .35); border-top: 3px solid var(--gold); }
.pdf__head { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.pdf__sub { font-size: .72rem; color: var(--ink-2); margin-bottom: 14px; }
.pdf__line { display: block; height: 7px; background: #ecebe6; border-radius: 4px; margin-bottom: 9px; }
.pdf__line--s { width: 64%; }
.pdf__total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: .8rem; font-weight: 700; }
.pdf__total span:last-child { color: var(--gold-deep); font-weight: 600; }

/* Demo 3 */
.screen--chat { padding: 52px 14px 16px; display: flex; flex-direction: column; background: #f1efe9; }
.chat__head { font-size: .72rem; text-align: center; color: var(--ink-2); margin-bottom: 14px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 9px 12px 6px; border-radius: 14px; font-size: .82rem; line-height: 1.4; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bubble time { display: block; text-align: right; font-size: .64rem; color: var(--ink-2); margin-top: 2px; }
.bubble--in { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
.bubble--out time { color: var(--gold-light); }
.bubble--typing { align-self: flex-end; background: var(--black); display: flex; gap: 4px; padding: 12px 14px; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); animation: blink 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .2s; } .bubble--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
[data-step="1"] .b1, [data-step="1"] .b2 { opacity: 1; transform: none; }
[data-step="1"] .b2 { transition-delay: .8s; }
[data-step="2"] .b1, [data-step="2"] .b3, [data-step="3"] .b1, [data-step="3"] .b3, [data-step="3"] .b4, [data-step="3"] .b5 { opacity: 1; transform: none; }
[data-step="2"] .b2, [data-step="3"] .b2 { display: none; }
[data-step="3"] .b5 { transition-delay: .6s; }
.toast { margin-top: auto; background: var(--white); border-left: 3px solid var(--gold); border-radius: 10px; padding: 10px 12px; font-size: .78rem; display: flex; flex-direction: column; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.toast span { color: var(--ink-2); }

.demo-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; font-size: .8125rem; color: var(--on-black-2); counter-reset: ds; }
.demo-steps li { position: relative; padding-top: 12px; transition: color .3s; }
.demo-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line-black); transition: background-color .3s; }
.demo-steps li.is-on { color: var(--on-black); }
.demo-steps li.is-on::before { background: var(--gold-light); }
.demo-tag { margin-top: 14px; font-size: .75rem; color: var(--on-black-2); border: 1px solid var(--line-black); border-radius: 99px; padding: 3px 12px; }

/* ---------- Verticali ---------- */
.vlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.vitem { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.vitem:hover { background: var(--tint); }
.vitem__who { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.vitem__pkg { margin: 22px 0 12px; font-size: .875rem; font-weight: 600; color: var(--gold-deep); display: flex; align-items: center; gap: 10px; }
.vitem__pkg::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.vitem ul { display: grid; gap: 8px; }
.vitem li { position: relative; padding-left: 16px; font-size: .9375rem; line-height: 1.5; }
.vitem li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.vitem--other { background: var(--black); color: var(--on-black); }
.vitem--other:hover { background: var(--black); }
.vitem--other p { margin-top: 12px; color: var(--on-black-2); font-size: .9375rem; }
.vitem--other .link { color: var(--gold-light); border-color: var(--gold-light); }
.vitem--other .link:hover { color: var(--white); border-color: var(--white); }

/* ---------- Socio Digitale ---------- */
.inside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.inside__table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.inside__table thead th { text-align: left; font-weight: 600; font-size: .8125rem; color: var(--ink-2); padding: 0 0 14px; border-bottom: 1px solid var(--ink); }
.inside__table thead th:last-child, .inside__table td { text-align: right; }
.inside__table { table-layout: fixed; }
.inside__table col.c1 { width: 66%; }
.inside__table tbody th { text-align: left; font-weight: 400; color: var(--ink-2); padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.inside__table tbody th strong { color: var(--ink); font-weight: 600; }
.inside__table td { padding: 18px 0; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; font-variant-numeric: lining-nums; }
.inside__table tfoot th { text-align: left; padding: 18px 0 6px; font-weight: 600; }
.inside__table tfoot td { padding: 18px 0 6px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink-2); white-space: normal; }
.inside__price th, .inside__price td { padding-top: 8px !important; border-bottom: 0; }
.inside__price td { color: var(--ink) !important; font-size: 1.875rem !important; }
.inside__price td small { display: block; font-family: var(--sans); font-size: .875rem; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.inside__price td::after { content: ""; display: block; height: 2px; width: 100%; background: var(--gold); margin-top: 6px; }

.improvement { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 32px; border-radius: 0 0 6px 6px; }
.improvement > p { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.improvement__list { margin: 18px 0; display: grid; gap: 10px; }
.improvement__list li { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.4; padding-left: 16px; border-left: 1px solid var(--gold); }
.improvement__note { font-size: .875rem !important; }

.tiers__title { margin: clamp(72px, 9vw, 120px) 0 32px; }
.tiers { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 0; align-items: stretch; }
.tier { position: relative; background: var(--white); border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; }
.tier:first-child { border-right: 0; border-radius: 6px 0 0 6px; }
.tier:last-child { border-left: 0; border-radius: 0 6px 6px 0; }
.tier--featured { background: var(--black); color: var(--on-black); border: 1px solid var(--gold-light); border-radius: 6px; margin: -20px 0; padding: 56px 36px; z-index: 1; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); }
.tier__badge { position: absolute; top: 20px; right: 24px; font-size: .75rem; font-weight: 600; color: var(--black); background: var(--gold-light); padding: 3px 10px; border-radius: 99px; }
.tier__name { font-family: var(--serif); font-weight: 650; font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.1; }
.tier__for { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); min-height: 3em; }
.tier--featured .tier__for { color: var(--on-black-2); }
.tier__price { margin: 18px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }
.tier__price span { font-family: var(--serif); font-weight: 500; font-size: 4rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; margin-right: 4px; font-variant-numeric: lining-nums; }
.tier--featured .tier__price { border-bottom-color: var(--line-black); color: var(--on-black-2); }
.tier--featured .tier__price span { color: var(--gold-light); }
.tier__list { display: grid; gap: 12px; margin-bottom: 32px; font-size: .9375rem; }
.tier__list li { position: relative; padding-left: 26px; line-height: 1.45; }
.tier__list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 10px; height: 6px; border-left: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(-45deg); }
.tier--featured .tier__list li::before { border-color: var(--gold-light); }
.tier__list li.is-off { color: #8f8c85; text-decoration: line-through; text-decoration-color: #c9c6bf; }
.tier__list li.is-off::before { border: 0; height: 1px; width: 10px; top: .75em; background: #b9b6ae; transform: none; }
.tier .btn { margin-top: auto; }
.tier--featured .btn--gold:focus-visible { outline-color: var(--white); }

.setup { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: center; padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.setup__k { font-size: .875rem; color: var(--ink-2); }
.setup__v { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.setup__text { color: var(--ink-2); font-size: .9375rem; max-width: 68ch; }

/* ---------- Confronto ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { padding: 22px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.cmp tbody th { font-weight: 600; width: 22%; padding-left: 0; }
.cmp td { color: var(--ink-2); }
.cmp .cmp__us { background: var(--black); color: var(--on-black); }
.cmp thead th { padding-top: 22px; }
.cmp thead .cmp__us { color: var(--gold-light); border-radius: 6px 6px 0 0; border-bottom-color: var(--gold-light); }
.cmp tbody .cmp__us { border-bottom-color: var(--line-black); font-weight: 600; }
.cmp tbody tr:last-child .cmp__us { border-radius: 0 0 6px 6px; }


/* ---------- Garanzie ---------- */
.guarantee__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.guarantee__head .lead { margin-top: 20px; }
.seal { width: clamp(88px, 10vw, 132px); height: auto; fill: none; stroke: var(--gold-light); stroke-width: 1.2; }
.seal path { stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--gold-light); }
.gitem { padding: 32px 28px 0 0; }
.gitem + .gitem { padding-left: 28px; border-left: 1px solid var(--line-black); }
.gitem .h3 { color: var(--gold-light); }
.gitem p { margin-top: 12px; color: var(--on-black-2); font-size: .9375rem; }
.guarantee__own { margin-top: clamp(48px, 6vw, 72px); font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.4; color: var(--on-black); max-width: 44ch; }

/* ---------- Per chi è ---------- */
.fit__title { margin-bottom: clamp(40px, 5vw, 64px); max-width: 16ch; }
.fit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.fit__col { padding-top: 28px; border-top: 1px solid var(--ink); }
.fit__col--no { border-top-color: var(--line); }
.fit__col .h3 { margin-bottom: 20px; }
.fit__col li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.fit__col li::before { position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; line-height: 1; }
.fit__col--yes li::before { content: "✓"; background: var(--black); color: var(--gold-light); }
.fit__col--no li { color: var(--ink-2); }
.fit__col--no li::before { content: "×"; border: 1px solid #b9b6ae; color: var(--ink-2); font-size: .9rem; }

/* ---------- Piloti ---------- */
.pilot { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 40px); }
.pilot > p:not(.pilot__status), .pilot__copy > p:not(.pilot__status) { margin-top: 14px; color: var(--ink-2); font-size: .9375rem; }
.pilot__status { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.pilot__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-2); }
.pilot__status--on { color: var(--gold-deep); }
.pilot__status--on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 60, .18); }
.pilot--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 24px; }
.pilot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pilot__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.pilot__nums dt { font-size: .8125rem; color: var(--ink-2); }
.pilot__nums dd { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; margin-top: 2px; }
.ph { color: var(--gold-deep); background: repeating-linear-gradient(-45deg, rgba(176, 141, 60, .08) 0 6px, transparent 6px 12px); outline: 1px dashed var(--gold); outline-offset: 2px; display: inline-block; padding: 0 6px; border-radius: 2px; }

.flow { display: grid; gap: 22px; padding: 28px; background: var(--black); border-radius: 6px; }
.flow__row { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; }
.flow__node { border: 1px solid var(--line-black); color: var(--on-black); border-radius: 6px; padding: 12px 10px; font-size: .8125rem; line-height: 1.3; text-align: center; min-height: 64px; display: grid; place-items: center; }
.flow__node--gold { border-color: var(--gold-light); color: var(--gold-light); }
.flow__line { position: relative; height: 1px; background: #4a4743; }
.flow__line i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); animation: travel 2.4s linear infinite; }
.flow__row:nth-child(2) .flow__line i { animation-delay: -1.2s; }
.flow__line + .flow__node + .flow__line i { animation-delay: -.8s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 7px); opacity: 0; } }

/* ---------- Recap ---------- */
.recap { padding-bottom: calc(var(--sec) * .6); }
.recap__grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); }
.recap__list { border-top: 1px solid var(--ink); }
.recap__list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.recap__list dt { font-weight: 600; }
.recap__list dd { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { padding-top: calc(var(--sec) * .6); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__side { position: sticky; top: 112px; }
.faq__side .lead { margin: 20px 0 28px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.35;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--gold); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details > div { padding: 0 48px 26px 0; color: var(--ink-2); }
.faq details[open] > div { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- CTA finale ---------- */
.final { text-align: center; overflow: hidden; }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__seats { margin-bottom: 40px; }
.seats { display: grid; grid-template-columns: repeat(25, 10px); gap: 8px; }
.seats i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-light); }
.final__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: 1.06; letter-spacing: -.024em; max-width: 16ch; text-wrap: balance; }
.final__lead { margin: 28px auto 0; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.final__note { margin-top: 16px; font-size: .875rem; color: var(--on-black-2); max-width: 56ch; }
.final .offer-strip { width: 100%; text-align: left; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--on-black-2); border-top: 1px solid var(--line-black); padding: 48px 0 56px; font-size: .875rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer__brand p { margin-top: 10px; }
.footer__legal { display: grid; gap: 8px; justify-items: end; text-align: right; }
.footer__legal ul { display: flex; gap: 20px; }
.footer__legal a { color: var(--on-black); text-decoration: none; border-bottom: 1px solid #4a4743; }
.footer__legal a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.footer__nocookie { font-size: .8125rem; }

/* ---------- CTA mobile ---------- */
.mobile-cta { display: none; }

/* ---------- Comparsa allo scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
  .glist { grid-template-columns: 1fr 1fr; }
  .gitem:nth-child(3) { padding-left: 0; border-left: 0; }
  .gitem:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line-black); }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lead, .hero__ctas, .hero__note, .assurances, .dial { grid-column: 1; }
  .dial { grid-row: auto; justify-self: center; max-width: 420px; margin-top: 48px; order: 2; }
  .assurances { order: 3; }
  .problem__grid, .inside, .faq__grid, .recap__grid, .pilot--wide { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .calc__panel { grid-template-columns: 1fr; }
  .demos { grid-template-columns: 1fr; gap: 72px; }
  .vlist { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; gap: 16px; max-width: 520px; margin: 0 auto; }
  .tier, .tier:first-child, .tier:last-child { border: 1px solid var(--line); border-radius: 6px; }
  .tier--featured { margin: 0; padding: 48px 32px 40px; border-color: var(--gold-light); order: -1; }
  .offer-strip { grid-template-columns: 1fr 1fr; }
  .offer-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .offer-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .offer-strip--inv > div:nth-child(n+3) { border-top-color: var(--line-black); }
  .alts { grid-template-columns: 1fr; }
  .alts__item + .alts__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-black); margin-top: 28px; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .announce { font-size: .75rem; }
  .nav__inner { height: 64px; gap: 12px; }
  .wordmark { font-size: 1.125rem; }
  .nav .btn--sm { padding: 9px 14px; font-size: .875rem; min-height: 40px; }
  .hero__ctas .btn { width: 100%; }
  .assurances { grid-template-columns: 1fr; }
  .assurances li, .assurances li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .offer-strip > div { padding: 16px 12px 16px 0; }
  .offer-strip > div + div { padding-left: 12px; }
  .offer-strip > div:nth-child(3) { padding-left: 0; }
  .diy__cols, .fit__cols, .pilot-pair { grid-template-columns: 1fr; }
  .diy__cols { gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 0; border-left: 0; margin-top: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 32px; }
  .step__n { font-size: 3.5rem; margin-bottom: 12px; }
  .vlist { grid-template-columns: 1fr; }
  .task { grid-template-columns: 1fr 1fr; }
  .task__name { grid-column: 1 / -1; }
  .calc__rate { flex-direction: column; align-items: flex-start; }
  .calc__eur { font-size: 1.625rem; }
  .calc__money { gap: 12px; }
  .offer-strip__v { font-size: 1.125rem; }
  .nav__cta-long { display: none; }
  .bars__row { grid-template-columns: 1fr; gap: 6px; }
  .inside__table, .inside__table tbody, .inside__table tfoot, .inside__table tr, .inside__table th, .inside__table td { display: block; width: auto; }
  .inside__table thead { display: none; }
  .inside__table colgroup { display: none; }
  .inside__table tbody tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .inside__table tbody th, .inside__table tbody td { padding: 0; border: 0; text-align: left; }
  .inside__table tbody td { margin-top: 6px; color: var(--gold-deep); font-weight: 600; font-size: .875rem; }
  .inside__table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .inside__table tfoot td { text-align: right; }

  .improvement { padding: 24px; }
  .glist { grid-template-columns: 1fr; }
  .gitem, .gitem + .gitem { padding: 24px 0 0; border-left: 0; margin-top: 0; }
  .gitem + .gitem { border-top: 1px solid var(--line-black); margin-top: 24px; }
  .guarantee__head { grid-template-columns: 1fr; }
  .setup { grid-template-columns: 1fr; }
  .flow { padding: 18px; }
  .flow__row { grid-template-columns: 1fr; gap: 0; }
  .flow__line { width: 1px; height: 24px; margin: 0 auto; }
  .flow__line i { left: -3px !important; top: 0; animation-name: travelY; }
  .recap__list div { grid-template-columns: 1fr; gap: 4px; }
  .faq summary { padding-right: 40px; }
  .faq details > div { padding-right: 0; }
  .seats { grid-template-columns: repeat(13, 8px); gap: 7px; }
  .seats i { width: 8px; height: 8px; }
  .final__ctas .btn { width: 100%; }
  .footer { padding-bottom: 104px; }
  .footer__legal { justify-items: start; text-align: left; }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-cta.is-on { transform: none; }
}
@keyframes travelY { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 7px); opacity: 0; } }

@media (max-width: 380px) {
  .wordmark span { font-size: 1.0625rem; }
  .nav .btn--sm { padding: 8px 12px; font-size: .8125rem; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flow__line i { display: none; }
}

/* ---------- Pagine legali ---------- */
.legal p { color: var(--ink-2); max-width: 68ch; }
.legal p + p { margin-top: 16px; }
.diy__punch span { display: block; }
.diy__punch span:last-child { color: var(--gold-light); }
.screen__meta { margin-top: 12px; display: grid; gap: 6px; }
.screen__meta span { display: flex; justify-content: space-between; font-size: .74rem; padding: 7px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.screen__meta b { font-weight: 600; }
.nav__cta-short { display: none; }
@media (max-width: 680px) { .nav__cta-short { display: inline; } }
@media (max-width: 680px) {
  .pilot__nums dd { font-size: 1.125rem; }
  .ph { white-space: nowrap; }
}

/* ---------- L'analisi gratuita ---------- */
.analysis__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.analysis__intro { position: sticky; top: 120px; }
.analysis__intro .lead { margin-top: 24px; }
.analysis__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.gets { border-top: 1px solid var(--gold-light); }
.gets li { padding: 28px 0 28px 40px; border-bottom: 1px solid var(--line-black); position: relative; }
.gets li::before { content: ""; position: absolute; left: 0; top: 34px; width: 18px; height: 10px; border-left: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(-45deg); }
.gets .h3 { color: var(--on-black); }
.gets p { margin-top: 8px; color: var(--on-black-2); }

/* ---------- Dopo la consegna ---------- */
.after__list { border-top: 1px solid var(--ink); }
.after__list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.after__list p { margin-top: 8px; color: var(--ink-2); }

@media (max-width: 960px) {
  .analysis__grid { grid-template-columns: 1fr; }
  .analysis__intro { position: static; }
}
@media (max-width: 680px) {
  .analysis__ctas .btn { width: 100%; }
  .gets li { padding-left: 34px; }
}

/* =========================================================
   Struttura narrativa
   ========================================================= */
.hero__ctas { align-items: center; gap: 12px 24px; }
.hero__cal { font-size: .9375rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.hero__cal:hover { color: var(--ink); }
.hero__note { margin-top: 20px; }

/* Problema su nero */
.problem.section--black { padding-top: var(--sec); }
.problem.section--black .lead { margin-top: 28px; }
.problem.section--black .chores { border-top-color: var(--gold-light); }
.problem.section--black .chores li { color: var(--on-black); border-bottom-color: var(--line-black); }
.problem.section--black .chores li::before { border-color: var(--gold-light); background: radial-gradient(circle at center, var(--gold-light) 0 2px, transparent 2.5px); }

/* Fai-da-te su bianco */
.diy:not(.section--black) .diy__col { border-top-color: var(--line); }
.diy:not(.section--black) .diy__col--done { border-top-color: var(--gold); }
.diy:not(.section--black) .diy__col--self .h3 { color: var(--ink-2); }
.diy:not(.section--black) .diy__col--done .h3 { color: var(--gold-deep); }
.diy:not(.section--black) .track::before { background: var(--line); }
.diy:not(.section--black) .track li { color: var(--ink-2); }
.diy:not(.section--black) .track li::before { background: var(--white); border-color: #b9b6ae; }
.diy:not(.section--black) .track__when { color: var(--ink); }
.diy:not(.section--black) .track--gold::before { background: linear-gradient(var(--gold), rgba(176, 141, 60, .2)); }
.diy:not(.section--black) .track--gold li { color: var(--ink); }
.diy:not(.section--black) .track--gold li::before { background: var(--gold); border-color: var(--gold); }
.diy:not(.section--black) .diy__punch { color: var(--ink); margin-bottom: 0; }
.diy:not(.section--black) .diy__punch span:last-child { color: var(--gold-deep); }

/* Come funziona: 3 passi + cosa ti porti a casa */
.steps-sec { padding-top: var(--sec); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--3 .step p:last-child { margin-top: 12px; }
.takeaway { margin-top: clamp(48px, 6vw, 80px); background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 6px 6px; padding: clamp(24px, 3.5vw, 44px); }
.takeaway .h3 { grid-column: 1 / -1; }
.takeaway ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin: 22px 0 30px; }
.takeaway li { position: relative; padding-left: 28px; color: var(--ink-2); }
.takeaway li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.takeaway .btn { align-self: end; justify-self: start; }

/* Per chi: compatto */
.vitem p { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }
.vitem--other p { color: var(--on-black-2); }

/* Garanzie: 3 */
.glist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glist--3 .gitem:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--line-black); margin-top: 0; border-top: 0; }

@media (max-width: 1100px) {
  .glist--3 .gitem:nth-child(n) { margin-top: 0; border-top: 0; }
}
@media (max-width: 960px) {
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step, .steps--3 .step + .step { padding: 28px 0 0; border-left: 0; margin-top: 0; }
  .steps--3 .step + .step { border-top: 1px solid var(--line); margin-top: 32px; }
  .takeaway ul { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero__ctas .btn { width: 100%; }
  .hero__cal { width: 100%; text-align: center; }
  .glist--3 { grid-template-columns: 1fr; }
  .glist--3 .gitem, .glist--3 .gitem + .gitem { padding: 24px 0 0; border-left: 0; }
  .glist--3 .gitem + .gitem { border-top: 1px solid var(--line-black); margin-top: 24px; }
  .takeaway .btn { width: 100%; }
}
.hero__copy { display: block; grid-column: 1; }
.hero .dial { grid-column: 2; grid-row: 1; }
@media (max-width: 1100px) and (min-width: 961px) {
  .steps--3 .step:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--line); margin-top: 0; border-top: 0; }
}
@media (max-width: 960px) {
  .hero .dial { grid-column: 1; grid-row: auto; justify-self: center; max-width: 270px; margin-top: 56px; }
}
.final__scarcity { margin-top: 12px; color: var(--gold-light); font-weight: 500; }

/* ---------- Ponte: forse hai già provato ---------- */
.bridge__inner { max-width: 880px; }
.beats { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.beats li { padding: 26px 0 26px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--ink-2); }
.beats li:last-child { color: var(--ink); }
.turn { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 2px solid var(--gold); }
.turn__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); }
.turn__text { margin-top: 20px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 56ch; }

/* ---------- Calcolatore semplificato ---------- */
.calc__step { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; font-size: 1.125rem; line-height: 1.35; color: var(--ink); margin: 0 0 16px; padding: 0; }
.calc__n { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--gold-light); font-family: var(--sans); font-size: .875rem; font-weight: 600; transform: translateY(-2px); }
#calc-step2 { margin-top: 8px; }
.calc__tasks { border-top: 1px solid var(--line); }
.calc__tasks .task { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.calc__tasks .task__name, .calc__tasks .task__custom { grid-column: 1 / -1; font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 0; }
.calc__tasks .task__field { display: flex; align-items: center; gap: 10px; flex-direction: row; }
.calc__tasks .task__field label { font-size: .9375rem; color: var(--ink-2); line-height: 1.25; }
.calc__tasks .stepper { flex: none; }
.calc__lead { font-size: 1.125rem; color: var(--on-black); font-weight: 500; }
.calc__days { font-size: 1.0625rem; color: var(--on-black-2); margin-top: 12px; }
.calc__days strong { color: var(--on-black); font-weight: 600; }
.calc__money { display: block; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-black); font-size: .9375rem; color: var(--on-black-2); line-height: 1.7; grid-template-columns: none; }
.calc__money strong { color: var(--on-black); font-weight: 600; white-space: nowrap; }
.calc__rate { display: inline; margin: 0; }
.calc__rate input { width: 56px; padding: 2px 6px; border: 1px solid #4a4743; border-radius: 4px; background: #141414; color: var(--on-black); text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.calc__rate input::-webkit-outer-spin-button, .calc__rate input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__rate input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.calc__result .calc__verdict { min-height: 0; margin: 28px 0 22px; }
@media (max-width: 680px) {
  .calc__tasks .task { grid-template-columns: 1fr; gap: 10px; }
}
.section-head--center .lead { text-wrap: balance; }
.nowrap { white-space: nowrap; }

/* ---------- E con quelle ore? ---------- */
.uses__title { text-align: center; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 18ch; }
.uses__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.use { border-radius: 6px; padding: clamp(32px, 5vw, 64px); min-height: clamp(260px, 26vw, 360px); display: flex; flex-direction: column; justify-content: flex-end; }
.use p { margin-top: 16px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; max-width: 36ch; }
.use__title { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(1.875rem, 3.2vw, 2.75rem); max-width: 14ch; }
.use--scale { background: var(--black); color: var(--on-black); }
.use--scale .use__title { color: var(--gold-light); }
.use--scale p { color: var(--on-black-2); }
.use--live { background: var(--tint); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.use--live .use__title { color: var(--ink); }
.use--live p { color: var(--ink-2); }
.uses__note { margin-top: clamp(32px, 4vw, 48px); text-align: center; font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.25rem, 2vw, 1.625rem); color: var(--ink); }
@media (max-width: 760px) { .uses__grid { grid-template-columns: 1fr; } .use { min-height: 0; } }

/* ---------- Problema esteso ---------- */
.problem2__title { max-width: 22ch; }
.pblock { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--gold); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 5vw, 80px); }
.pblock > * { grid-column: 2; }
.pblock__title { grid-column: 1; grid-row: 1 / span 4; font-family: var(--serif); font-weight: 650; letter-spacing: -.025em; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.15; max-width: 16ch; }
.pblock__text { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); line-height: 1.65; max-width: 62ch; }
.pblock__kicker { margin-top: 12px; font-weight: 600; color: var(--ink); }
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.costs li { background: var(--white); padding: 24px 24px 26px; }
.costs h4 { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.costs h4::before { content: ""; width: 18px; height: 1.5px; background: var(--gold); }
.costs p { margin-top: 8px; color: var(--ink-2); font-size: .9688rem; line-height: 1.55; }
.tries { border-top: 1px solid var(--ink); }
.tries li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tries__n { font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: .9; letter-spacing: -.04em; color: var(--gold); }
.tries h4 { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; font-size: 1.25rem; }
.tries p { margin-top: 6px; color: var(--ink-2); line-height: 1.6; }

.answer__body, .answer__turn { max-width: 1000px; }
.answer__title { font-size: clamp(2rem, 4.2vw, 3.75rem); max-width: 20ch; }
.answer__title { color: var(--on-black); }
.answer__body { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 4vw, 56px); }
.answer__body p { color: var(--on-black-2); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; }
.answer__turn { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--gold-light); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.answer__close { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; color: var(--on-black); max-width: 34ch; }

/* Demo su bianco */
.demo--light .h3 { color: var(--ink); }
.demo--light .demo-steps { color: var(--ink-2); }
.demo--light .demo-steps li::before { background: var(--line); }
.demo--light .demo-steps li.is-on { color: var(--ink); }
.demo--light .demo-steps li.is-on::before { background: var(--gold); }
.demo--light .demo-tag { color: var(--ink-2); border-color: var(--line); }
.demo--light .phone { box-shadow: 0 0 0 1px #3a3835, 0 40px 70px -40px rgba(0, 0, 0, .45); }
.calc { background: var(--tint); }

@media (max-width: 960px) {
  .pblock { grid-template-columns: 1fr; }
  .pblock > *, .pblock__title { grid-column: 1; grid-row: auto; }
  .answer__body { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .costs { grid-template-columns: 1fr; }
  .tries li { grid-template-columns: 44px minmax(0, 1fr); }
  .tries__n { font-size: 2.25rem; }
  .answer__turn .btn { width: 100%; }
}

/* =========================================================
   Colonna singola + transizioni
   ========================================================= */
:root { --col: 820px; }

/* Testate di sezione: sempre nella colonna centrale, allineate a sinistra */
.section-head, .section-head--center { max-width: var(--col); margin-left: auto; margin-right: auto; text-align: left; }
.section-head--center .lead { margin-left: 0; }

/* Sezioni di lettura: colonna centrale */
.problem2 .wrap, .answer .wrap, .steps-sec .wrap, .verticals .wrap,
.guarantee .wrap, .faq .wrap, .uses .wrap { max-width: calc(var(--col) + 2 * var(--gutter)); }

/* Problema */
.problem2__title { max-width: none; }
.pblock { display: block; position: relative; border-top: 0; }
.pblock__title { max-width: none; margin-bottom: 20px; }
.pblock__text { max-width: none; }
.pblock__kicker { margin: 32px 0 8px; }
.costs { display: block; background: none; border: 0; border-radius: 0; overflow: visible; border-top: 1px solid var(--line); }
.costs li { background: none; padding: 20px 0 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 24px; align-items: baseline; }
.costs h4 { font-size: 1.1875rem; }
.costs p { margin-top: 0; }
.tries { margin-top: 8px; }

/* Soluzione (nero) */
.answer__title { max-width: none; }
.answer__body { grid-template-columns: 1fr; max-width: none; gap: 20px; }
.answer__turn { max-width: none; flex-direction: column; align-items: flex-start; border-top: 0; position: relative; }

/* Uso del tempo: card impilate */
.uses__title { text-align: left; margin-left: 0; max-width: none; }
.uses__grid { grid-template-columns: 1fr; }
.use { min-height: 0; padding: clamp(28px, 4vw, 48px); }
.uses__note { text-align: left; }

/* Come funziona: timeline verticale */
.steps--3 { display: block; border-top: 0; }
.steps--3 .step, .steps--3 .step + .step { position: relative; padding: 0 0 40px 76px; border: 0; margin: 0; }
.steps--3 .step:last-child { padding-bottom: 0; }
.steps--3 .step__n { position: absolute; left: 0; top: -6px; width: 48px; height: 48px; margin: 0; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-size: 1.375rem; font-weight: 500; background: var(--tint); }
.steps--3 .step::before { content: ""; position: absolute; left: 24px; top: 48px; bottom: 4px; width: 1px; background: linear-gradient(var(--gold), rgba(176, 141, 60, .15)); }
.steps--3 .step:last-child::before { display: none; }
.takeaway { border-top: 0; position: relative; }

/* Per chi: lista compatta */
.vlist { display: block; border: 0; border-top: 1px solid var(--ink); }
.vitem, .vitem--other { padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 6px 24px; align-items: baseline; transition: padding-left .3s var(--ease); }
.vitem:hover { background: none; padding-left: 8px; }
.vitem .h3 { font-size: 1.1875rem; }
.vitem p { margin-top: 0; }
.vitem--other { color: var(--ink); }
.vitem--other:hover { background: none; }
.vitem--other .h3 { color: var(--gold-deep); }
.vitem--other p { color: var(--ink-2); }

/* Garanzie */
.guarantee__head { grid-template-columns: 1fr; gap: 24px; }
.seal { width: 72px; }
.glist--3 { grid-template-columns: 1fr; }
.glist--3 .gitem, .glist--3 .gitem + .gitem, .glist--3 .gitem:nth-child(3) { padding: 24px 0; border-left: 0; margin: 0; border-top: 0; border-bottom: 1px solid var(--line-black); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 6px 24px; align-items: baseline; }
.glist--3 .gitem p { margin-top: 0; }

/* FAQ */
.faq__grid { grid-template-columns: 1fr; gap: 32px; }
.faq__side { position: static; }
.faq__side .lead { margin-bottom: 0; }

/* Filetti oro che si disegnano */
.draw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold); transform-origin: left center; }
.answer__turn.draw::before { background: var(--gold-light); }
.takeaway.draw::before { height: 2px; }
.js .draw::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .1s; }
.js .draw.is-in::before { transform: scaleX(1); }
.pblock.draw { padding-top: 28px; }

/* Comparsa più curata */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tries li.reveal .tries__n { opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .7s var(--ease) .25s, transform .7s var(--ease) .25s; }
.js .tries li.reveal.is-in .tries__n { opacity: 1; transform: none; }

/* Hover delicati */
.btn { transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
.btn--dark:hover { box-shadow: inset 0 -2px 0 var(--gold-light), 0 10px 24px -14px rgba(0, 0, 0, .45); }
.tries li, .costs li { transition: transform .3s var(--ease); }
.tries li:hover, .costs li:hover { transform: translateX(4px); }

/* Passaggi morbidi bianco/nero */
.section--black { background: linear-gradient(180deg, #0b0b0b 0, #000 200px); }

@media (max-width: 680px) {
  .costs li, .vitem, .vitem--other, .glist--3 .gitem, .glist--3 .gitem + .gitem, .glist--3 .gitem:nth-child(3) { grid-template-columns: 1fr; }
  .steps--3 .step, .steps--3 .step + .step { padding-left: 64px; }
  .steps--3 .step__n { width: 42px; height: 42px; font-size: 1.125rem; }
  .steps--3 .step::before { left: 21px; top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .draw::before { transform: none; transition: none; }
  .js .tries li.reveal .tries__n { opacity: 1; transform: none; }
  .btn:hover, .tries li:hover, .costs li:hover { transform: none; }
}

/* =========================================================
   Round: alternative, carosello demo, spazi, morbidezza
   ========================================================= */
:root { --r-sm: 10px; --r-md: 14px; --r-lg: 20px; }

/* spazi più compatti */
.section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.pblock { margin-top: clamp(40px, 5vw, 64px); }
.answer__body { margin-top: clamp(24px, 3vw, 36px); }
.answer__turn { margin-top: clamp(36px, 4vw, 56px); }
.takeaway { margin-top: clamp(36px, 4vw, 56px); }
.uses__title { margin-bottom: clamp(28px, 3vw, 40px); }
.uses__note { margin-top: clamp(24px, 3vw, 36px); }
.problem2 { padding-bottom: calc(var(--sec) * .9); }

/* alternative: numerazione sobria */
.tries { margin-top: 28px; border-top: 1px solid var(--line); }
.tries li { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.tries__n { font-family: var(--sans); font-weight: 600; font-size: .8125rem; letter-spacing: .06em; line-height: 1.9; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.tries h4 { font-size: 1.1875rem; line-height: 1.35; }
.tries p { margin-top: 6px; max-width: 62ch; }
.tries__close { margin-top: 32px; font-family: var(--serif); font-weight: 550; letter-spacing: -.02em; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); padding-left: 18px; border-left: 2px solid var(--gold); }
@media (max-width: 680px) { .tries li { grid-template-columns: 36px minmax(0, 1fr); } .tries__n { font-size: .8125rem; } }

/* carosello demo */
.dcar { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 60px -45px rgba(0, 0, 0, .35); overflow: hidden; }
.dcar__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--tint); }
.dtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.dtab { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 999px; padding: 10px 18px; font-size: .9375rem; font-weight: 500; cursor: pointer; transition: color .25s, border-color .25s, background-color .25s; }
.dtab:hover { color: var(--ink); border-color: var(--gold); }
.dtab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.dtab__bar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; opacity: 0; }
.dcar.is-auto .dtab[aria-selected="true"] .dtab__bar { opacity: 1; animation: dtabProgress 9s linear forwards; }
@keyframes dtabProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dcar__nav { display: flex; gap: 6px; flex: none; }
.dcar__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, transform .25s; }
.dcar__arrow:hover { border-color: var(--gold); transform: translateY(-1px); }
.dcar__arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(24px, 3vw, 40px); }
.dpanel[hidden] { display: none; }
.dpanel:not([hidden]) { animation: dpanelIn .6s var(--ease); }
@keyframes dpanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dpanel__sector { font-size: .875rem; font-weight: 600; color: var(--gold-deep); }
.dpanel__title { margin-top: 8px; font-family: var(--serif); font-weight: 650; letter-spacing: -.025em; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.12; }
.dpanel__list { margin-top: 24px; border-top: 1px solid var(--line); }
.dpanel__list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dpanel__list dt { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.dpanel__list dd { margin-top: 4px; color: var(--ink-2); line-height: 1.6; }
.dpanel__list div:last-child dd { color: var(--ink); font-weight: 500; }
.dpanel__preview { display: flex; flex-direction: column; align-items: center; }
.dpanel__preview .phone { max-width: 270px; }
@media (max-width: 860px) {
  .dpanel { grid-template-columns: 1fr; }
  .dcar__bar { flex-direction: column; align-items: stretch; }
  .dtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dtabs::-webkit-scrollbar { display: none; }
  .dtab { flex: none; }
  .dcar__nav { justify-content: flex-end; display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dpanel:not([hidden]) { animation: none; }
  .dcar.is-auto .dtab[aria-selected="true"] .dtab__bar { animation: none; opacity: 0; }
}

/* riquadro "Dalla consulenza…": morbido */
.takeaway { border: 1px solid rgba(0, 0, 0, .05); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .28); }
.takeaway.draw::before { display: none; }
.takeaway ul { grid-template-columns: 1fr; gap: 12px; }
.takeaway li { padding-left: 34px; }
.takeaway li::before { left: 0; top: .15em; width: 22px; height: 22px; border: 0; border-radius: 50%; transform: none; background: rgba(210, 176, 106, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%237a5e1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* linguaggio morbido coerente */
.btn { border-radius: var(--r-sm); }
.calc__panel { border-radius: var(--r-lg); }
.use { border-radius: var(--r-lg); }
.stepper, .chip { border-radius: var(--r-sm); }
.chip { border-radius: 999px; }
.vitem--other { border-radius: 0; }

/* Ritmo compatto: due sezioni con lo stesso sfondo non sommano il padding */
.section + .section:not(.section--black):not(.calc) { padding-top: calc(var(--sec) * .85); }

/* =========================================================
   Mobile e tablet (≤ 960px) · il desktop non cambia
   ========================================================= */
@media (max-width: 960px) {
  /* Orologio: "icona" compatta sopra il titolo, cinturino corto e sfumato */
  .hero { padding-top: 20px; }
  .hero .dial {
    grid-column: 1; grid-row: 1; order: -1;
    justify-self: center; align-self: start;
    --dw: clamp(150px, 46vw, 190px);
    width: calc(var(--dw) + 64px); max-width: none;
    height: calc(var(--dw) * 1.222); margin: 0 0 24px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
  .hero .dial__svg { flex: none; width: var(--dw); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .13)); }
  .hero__copy { grid-row: 2; }
  .hero__lead { margin-top: 20px; }
  .hero__ctas { margin-top: 26px; }
  .hero__note { margin-top: 14px; }
}

@media (max-width: 680px) {
  /* Header più leggero */
  .nav__inner { height: 60px; }
  html { scroll-padding-top: 72px; }
  .wordmark { font-size: 1.0625rem; }
  .nav .btn--sm { min-height: 40px; padding: 8px 14px; font-size: .84375rem; }

  .hero__title { font-size: clamp(2.125rem, 9.6vw, 2.5rem); line-height: 1.05; }
  .hero__lead { font-size: 1.0625rem; line-height: 1.55; }
  .hero__note { font-size: .84375rem; line-height: 1.55; }

  /* Bottoni: il testo della CTA resta su una riga */
  .btn { padding-left: 18px; padding-right: 18px; }

  /* Carosello demo */
  .dcar { border-radius: var(--r-md); }
  .dcar__bar { padding: 10px; }
  .dtabs { scroll-snap-type: x proximity; scroll-padding: 0 10px; }
  .dtab { min-height: 44px; padding: 10px 16px; font-size: .9063rem; scroll-snap-align: start; }
  .dpanel { padding: 22px 18px 26px; gap: 28px; }
  .dpanel__title { font-size: 1.5rem; text-wrap: balance; }
  .dpanel__list { margin-top: 18px; }
  .dpanel__list div { padding: 14px 0; }
  .dpanel__preview .phone { max-width: 256px; border-radius: 36px; padding: 9px; }
  .dpanel__preview .screen { border-radius: 28px; }
  .dpanel__preview .scene { padding: 48px 16px 16px; }
  .dpanel__preview .screen--chat { padding: 46px 12px 12px; }
  .dpanel__preview .chat { gap: 8px; }
  .dpanel__preview .bubble { font-size: .8rem; }
  .dpanel__preview .toast { margin-top: 10px; }
  .dpanel__preview .label { padding: 12px; }
  .dpanel__preview .label__barcode { height: 44px; }

  /* CTA fissa più sottile */
  .mobile-cta { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { min-height: 48px; padding-top: 12px; padding-bottom: 12px; }
  .demo-steps { margin-top: 20px; gap: 6px 14px; }

  /* Calcolatore */
  .calc__inputs { padding: 22px 18px; }
  .calc__result { padding: 26px 18px 22px; }
  .chip { min-height: 44px; padding: 10px 16px; }
  .calc__tasks .task { padding: 16px 0; }
  .stepper { height: 44px; }
  .stepper__btn { width: 44px; font-size: 1.25rem; }
  .stepper input { width: 44px; }
  .calc__rate input { width: 64px; height: 36px; font-size: 1rem; }
  .calc__hours { font-size: 4.25rem; }

  /* Card, box, liste */
  .use { padding: 26px 22px; }
  .use__title { font-size: 1.875rem; }
  .takeaway { padding: 24px 20px; }
  .faq summary { padding-top: 20px; padding-bottom: 20px; min-height: 64px; }
  .final__title { font-size: clamp(2.125rem, 10vw, 2.625rem); }
  .final__ctas { margin-top: 32px; }
}
@media (max-width: 680px) {
  .nav .btn--sm { white-space: nowrap; }
}
@media (max-width: 380px) {
  .nav__inner { gap: 10px; }
  .wordmark { font-size: 1rem; }
  .wordmark span { font-size: 1rem; }
  .nav .btn--sm { padding: 8px 12px; font-size: .8125rem; }
}

/* =========================================================
   Pagine legali (privacy, cookie)
   ========================================================= */
.legal { padding-top: clamp(40px, 5vw, 72px); }
.legal__wrap { max-width: 820px; }
.legal__kicker { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--gold-deep); font-weight: 500; margin-bottom: 18px; }
.legal__meta { margin-top: 16px; font-size: .875rem; color: var(--ink-2); }
.legal__intro { margin-top: 24px; }
.legal .legal__intro p { font-size: 1.0625rem; color: var(--ink); }
.legal__toc { margin: 36px 0 8px; padding: 24px 28px; background: var(--tint); border-radius: var(--r-lg); }
.legal__toc h2 { font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.legal__toc ol { list-style: none; padding: 0; columns: 2; column-gap: 32px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; break-inside: avoid; padding: 4px 0; font-size: .9375rem; display: flex; gap: 10px; }
.legal__toc li::before { content: counter(toc) "."; flex: none; width: 1.6em; color: var(--gold-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.legal__toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.legal__toc a:hover { border-bottom-color: var(--gold); }
.legal__sec { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.legal__sec h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 14px; display: flex; gap: 12px; }
.legal__n { color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.legal__sec h3 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; margin: 22px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); max-width: 68ch; }
.legal p + p { margin-top: 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a:not(.btn) { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--gold); overflow-wrap: anywhere; }
.legal a:not(.btn):hover { color: var(--ink); border-color: var(--ink); }
.legal__list { margin-top: 12px; display: grid; gap: 8px; }
.legal__list li { position: relative; padding-left: 20px; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.legal__card { margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 24px 50px -40px rgba(0, 0, 0, .3); }
.legal__card p { margin: 0; }
.legal__card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: .9375rem; }
.legal__card dt { color: var(--ink-2); }
.legal__card dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.legal__table-wrap { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); overflow-x: auto; }
.legal__table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal__table th { font-weight: 600; color: var(--ink); background: var(--tint); font-size: .8125rem; }
.legal__table td { color: var(--ink-2); }
.legal__table td:first-child, .legal__table th:first-child { white-space: nowrap; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code, .legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; color: var(--ink); background: var(--tint); padding: 1px 6px; border-radius: 4px; }
.legal__cta { margin-top: 18px; }
.legal__back { margin-top: 56px; }
@media (max-width: 680px) {
  .legal__toc { padding: 20px; }
  .legal__toc ol { columns: 1; }
  .legal__card { padding: 18px; }
  .legal__card dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__card dd { margin-bottom: 10px; }
  .legal__sec { padding-top: 28px; margin-top: 28px; }
  /* Tabelle come schede impilate */
  .legal__table-wrap { overflow: visible; }
  .legal__table { min-width: 0; }
  .legal__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; }
  .legal__table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .legal__table tr:last-child { border-bottom: 0; }
  .legal__table td { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 4px 0; border: 0; white-space: normal; }
  .legal__table td:first-child { white-space: normal; font-weight: 600; color: var(--ink); }
  .legal__table td::before { content: attr(data-label); font-size: .8125rem; font-weight: 600; color: var(--ink); }
}

/* Footer: link "Gestisci cookie" */
.footer__link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; line-height: inherit; vertical-align: baseline; color: var(--on-black); border-bottom: 1px solid #4a4743; }
.footer__link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.footer__legal ul { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 680px) { .footer__legal ul { justify-content: flex-start; gap: 12px 20px; } }

/* =========================================================
   Banner consenso cookie
   ========================================================= */
.ssc-card {
  position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(760px, calc(100% - 40px));
  background: var(--white); color: var(--ink);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .06);
  padding: 22px 56px 22px 26px;
  font-size: .9375rem; line-height: 1.5;
  animation: ssc-in .4s var(--ease) both;
}
.ssc-card[hidden] { display: none; }
.ssc-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; }
.ssc-banner .ssc-title, .ssc-banner .ssc-text { grid-column: 1; }
.ssc-banner .ssc-actions { grid-column: 2; grid-row: 1 / span 2; }
.ssc-title { font-family: var(--serif); font-weight: 650; font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.3; }
.ssc-title:focus { outline: none; }
.ssc-text { margin-top: 4px; color: var(--ink-2); font-size: .875rem; }
.ssc-text a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.ssc-text a:hover { color: var(--ink); border-color: var(--ink); }
.ssc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ssc-btn { min-width: 112px; }
.ssc-more {
  background: none; border: 0; padding: 2px 0; margin-top: 4px; cursor: pointer; font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.4;
  color: var(--ink); border-bottom: 1px solid var(--gold); border-radius: 0;
}
.ssc-more:hover { color: var(--gold-deep); }
.ssc-banner .ssc-actions { display: grid; grid-template-columns: 1fr 1fr; justify-items: stretch; }
.ssc-banner .ssc-more { grid-column: 1 / -1; justify-self: center; }
.ssc-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s;
}
.ssc-x:hover { background: var(--tint); color: var(--ink); }

/* Pannello Personalizza */
.ssc-prefs { width: min(560px, calc(100% - 40px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px 26px 22px; }
.ssc-prefs .ssc-title { font-size: 1.25rem; padding-right: 40px; }
.ssc-prefs .ssc-text { margin-top: 6px; }
.ssc-cats { margin-top: 18px; border-top: 1px solid var(--line); }
.ssc-cat { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ssc-cat__head { display: flex; align-items: center; gap: 12px; }
.ssc-cat__title { flex: 1; font-weight: 600; color: var(--ink); cursor: pointer; }
.ssc-cat__always { font-size: .8125rem; color: var(--gold-deep); font-weight: 500; }
.ssc-cat__text { margin-top: 4px; font-size: .8125rem; color: var(--ink-2); padding-right: 64px; }
.ssc-actions--prefs { margin-top: 18px; justify-content: flex-end; }
.ssc-actions--prefs .ssc-btn--save { margin-left: auto; }

/* Interruttore accessibile */
.ssc-switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; margin: 0;
  width: 46px; height: 26px; border-radius: 999px; background: #8a8780; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.ssc-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s var(--ease);
}
.ssc-switch:checked { background: var(--black); }
.ssc-switch:checked::after { transform: translateX(20px); background: var(--gold-light); }
.ssc-switch:disabled { cursor: not-allowed; background: #4a4743; }
.ssc-switch:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Sfondo del pannello (solo vista Personalizza) */
.ssc-modal .ssc::before { content: ""; position: fixed; inset: 0; z-index: 89; background: rgba(0, 0, 0, .28); animation: ssc-fade .3s ease both; }

@keyframes ssc-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ssc-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .ssc-banner { grid-template-columns: 1fr; }
  .ssc-banner .ssc-actions { grid-column: 1; grid-row: auto; margin-top: 14px; }
}
@media (max-width: 680px) {
  .ssc-card { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); transform: none; padding: 18px 18px 16px; animation-name: ssc-in-m; }
  .ssc-banner { padding-right: 18px; }
  .ssc-banner .ssc-title { padding-right: 36px; }
  .ssc-x { top: 8px; right: 8px; width: 40px; height: 40px; }
  .ssc-btn { min-width: 0; min-height: 44px; }
  .ssc-prefs { max-height: calc(100dvh - 24px); }
  .ssc-cat__text { padding-right: 0; }
  .ssc-actions--prefs { display: grid; grid-template-columns: 1fr 1fr; }
  .ssc-actions--prefs .ssc-btn--save { grid-column: 1 / -1; grid-row: 1; margin-left: 0; }
  /* Il banner sostituisce temporaneamente la CTA fissa */
  .ssc-open .mobile-cta.is-on { transform: translateY(110%); }
}
@keyframes ssc-in-m { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ssc-card, .ssc-modal .ssc::before { animation: none; }
  .ssc-switch, .ssc-switch::after { transition: none; }
}
.footer__legal ul a, .footer__link { display: inline-block; line-height: 1.4; }

/* ---------- Video esplicativo ---------- */
.film__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.film__title { color: var(--on-black); max-width: 22ch; }
.film__frame { position: relative; width: 100%; max-width: 1040px; margin-top: clamp(24px, 3vw, 40px); aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-black); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(210, 176, 106, .25); }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film__play { position: absolute; inset: 0; display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 14px; width: 100%; border: 0; padding: clamp(14px, 3vw, 32px); background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); color: var(--black); cursor: pointer; font: inherit; }
.film__play-icon { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 10px rgba(210, 176, 106, .18); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.film__play-icon svg { margin-left: 4px; }
.film__play:hover .film__play-icon, .film__play:focus-visible .film__play-icon { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(210, 176, 106, .22); }
.film__play-label { align-self: flex-end; line-height: 72px; color: var(--on-black); font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.film__cta { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.film__note { color: var(--on-black-2); font-size: .875rem; }
@media (max-width: 680px) {
  .film__frame { border-radius: 2px; }
  .film__play-icon { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(210, 176, 106, .18); }
  .film__play-icon svg { width: 22px; height: 22px; }
  .film__play-label { font-size: .875rem; line-height: 52px; }
  .film__cta .btn { width: 100%; }
}

/* Mobile e tablet: niente orologio nella hero, c'è il video subito sotto */
@media (max-width: 960px) {
  .hero .dial { display: none !important; }
}
.film__play[hidden] { display: none; }
