/* Libre Franklin ospitato qui: nessuna chiamata a Google prima del consenso. */
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/font/libre-franklin-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/font/libre-franklin-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 400; font-display: swap; src: url(/font/libre-franklin-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 400; font-display: swap; src: url(/font/libre-franklin-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --step-sub: clamp(1.5rem, 1rem + 1.2vw, 2.125rem);
  /* Layout: luce del giorno, rosso del marchio solo su azioni e quote, video e app vere come immagini */
  --bg: #fafafa;
  --surface: #efefed;
  --ink: #18181a;
  --muted: #55545a;
  --wa: #0a7339;
  --accent: #e30613;
  --accent-ink: #ffffff;
  --night: #141414;
  --night-2: #222221;
  --night-ink: #f2f2f0;
  --night-muted: #b9b9b5;

  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(5rem, 1rem + 14vw, 15rem);

  --margin: clamp(1.25rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms; --t-reveal: 800ms;
}
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3.25rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:hover { background: #c10510; }
.button:active { transform: scale(0.97); }
.button.light { background: var(--night-ink); color: var(--ink); }
.button.light:hover { background: #ffffff; }
.textlink { font-family: var(--font-display); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- product UI (data-ui) ---------- */
[data-ui] { font-family: var(--font-ui); font-size: 14px; line-height: 1.35; color: #1b1b1b; letter-spacing: 0; }
[data-ui] .panel { background: #ffffff; border: 1px solid #dcdcd8; border-radius: 10px; }
[data-ui] .ui-label { font-size: 13px; color: #5d5d5a; font-weight: 500; }
[data-ui] .ui-val { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
[data-ui] .chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: #f1f1ee; font-size: 13px; font-weight: 600; color: #3a3a38; }
[data-ui] .chip.red { background: #fde7e8; color: #b30410; }
[data-ui] .chip.green { background: #e2f3e6; color: #19642e; }

/* ---------- 1. hero ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 22px; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; color: var(--ink); }
.wordmark img { width: auto; height: 34px; background: none; }
.toplink { display: flex; align-items: center; gap: 1.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.toplink a { text-decoration: none; }
.toplink a:hover { text-decoration: underline; text-underline-offset: .25em; }
.toplink .wa-top { color: var(--wa); }
.hero { padding-block: clamp(1rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); align-items: center; row-gap: 2rem; }
.hero-copy { grid-column: 1 / span 5; }
.hero h1 { font-size: clamp(2.5rem, 1rem + 3.9vw, 5.25rem); line-height: .95; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 [data-line] { white-space: nowrap; }
.hero h1 .q { color: var(--accent); }
.hero .sub { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 30ch; }
.hero .sub b { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button.big { min-height: 3.75rem; padding: 0 1.75rem; font-size: 1.1875rem; }
.hero-actions .textlink { padding-inline: .5rem; }
.button.dark { background: var(--ink); color: #fff; }
.button.dark:hover { background: #333336; }
.wa-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.25rem; font-family: var(--font-display); font-weight: 600; color: var(--wa); text-decoration: none; min-height: 44px; }
.wa-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.wa-link svg { width: 22px; height: 22px; flex: none; }
.wa-link span { color: var(--muted); font-weight: 500; }
.hero-media { grid-column: 6 / span 7; position: relative; aspect-ratio: 16 / 9; background: #1a1a1a; overflow: hidden; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1a1a1a; }
.playbtn { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: 0 20px 0 9px; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; border-radius: 999px; transition: transform var(--t-press) var(--ease-out); }
.playbtn:active { transform: scale(.96); }
.playbtn .tri { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); position: relative; transition: transform 300ms var(--ease-out); }
.playbtn:hover .tri { transform: scale(1.08); }
.playbtn .tri::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.playbtn .dur { color: var(--muted); font-weight: 500; }
.intro-dialog { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; }
.intro-dialog::backdrop { background: rgba(10,10,10,.82); }
.intro-dialog video { width: 100%; height: auto; display: block; background: #000; }
.intro-dialog .close { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 40px; padding: 0 14px; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 600; }

/* garanzie */
.promise { background: var(--surface); }
.promise ul { list-style: none; margin: 0; padding-inline: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gutter); padding-block: 28px; font-family: var(--font-display); font-size: var(--step-body); line-height: 1.35; }
.promise b { display: block; font-weight: 700; }
.promise span { color: var(--muted); }

/* misura (ex hero) */
.misura { position: relative; display: grid; grid-template-columns: 5fr 7fr; min-height: 92svh; margin-top: var(--section); }
.misura-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 5rem) var(--margin); }
.misura-copy h2 { font-size: var(--step-head); }
.misura-copy p { margin-top: 1.25rem; color: var(--muted); max-width: 40ch; }
.misura-copy p b { color: var(--ink); }
.misura-stage { position: relative; overflow: hidden; display: grid; place-items: end center; padding: 120px var(--margin) 40px; background: #1a1a1a; }
.misura-stage > video, .misura-stage > .misura-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.misura-stage::after { content: ""; position: absolute; inset: 0; background: #8d8c91; mix-blend-mode: multiply; z-index: 0; pointer-events: none; }
.misura-stage .rilievo { position: relative; z-index: 1; width: min(100%, 440px); }

/* barra fissa sul telefono */
.dock { display: none; }
/* rilievo fragment */
.rilievo { width: min(100%, 500px); }
.rilievo .panel { padding: 20px 22px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); } /* taste-skill-ignore: product UI, data-ui */
.r-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.r-title { font-size: 16px; font-weight: 700; }
.r-title span { color: #5d5d5a; font-weight: 500; }
.schema { background: #f6f6f3; border-radius: 8px; padding: 10px; margin-bottom: 16px; }
.schema svg { width: 100%; height: auto; }
.schema text { font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.r-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.r-field label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.r-field output { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r-field input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; cursor: grab; }
.r-field input[type=range]:active { cursor: grabbing; }
.r-model { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.r-dest { margin-top: 16px; display: grid; gap: 8px; }
.r-dest-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; background: #f6f6f3; transition: background-color 400ms ease; }
.r-dest-row.flash { background: #fde7e8; }
.r-dest-row .ui-label { color: #3d3d3b; }
.r-dest-row .ui-val small { font-weight: 500; color: #5d5d5a; font-size: 13px; }
.hidden-price { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #5d5d5a; }

/* ---------- 2. intro ---------- */
.intro { padding-block: var(--section) calc(var(--section) * .6); }
.intro h2 { grid-column: 1 / span 6; font-size: var(--step-head); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 16ch; }
.intro .sera { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.intro .sera video, .intro .sera img { width: 100%; height: 100%; object-fit: cover; }
.intro .sera figcaption { display: none; }
.intro .leadp { grid-column: 1 / span 6; font-family: var(--font-text); font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 44ch; }
.intro .cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 72px; }
.pain { display: grid; gap: 14px; align-content: start; }
.pain img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.intro .cols p { font-size: var(--step-body); line-height: 1.5; color: var(--muted); }
.intro .cols b { color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }

/* ---------- 3. how-it-works (pinned) ---------- */
.flow { padding-block: calc(var(--section) * .5) var(--section); }
.flow-statements { grid-column: 1 / span 5; }
.flow-statements h2 { font-size: var(--step-head); margin-bottom: 1.5rem; max-width: 12ch; }
.flow-statements .intro-line { color: var(--muted); max-width: 40ch; margin-bottom: 4rem; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.step h3 { font-size: var(--step-sub); line-height: 1.05; max-width: 15ch; color: var(--muted); transition: color 300ms ease; }
.step p { margin-top: .9rem; color: var(--muted); max-width: 40ch; }
.step.on h3 { color: var(--ink); }
.step.on h3::before { content: ""; display: block; width: 44px; height: 6px; background: var(--accent); margin-bottom: 18px; }
.flow-stage { grid-column: 7 / span 6; position: sticky; top: 12vh; height: 76vh; background: #1a1a1a; display: grid; place-items: center; padding: 32px; overflow: clip; }
.stage-photos { position: absolute; inset: 0; }
.stage-photos::after, .step-ui::after { content: ""; position: absolute; inset: 0; background: #77767b; mix-blend-mode: multiply; pointer-events: none; }
.stage-photos .sp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 700ms ease, transform 6s var(--ease-soft); background: #1a1a1a; }
.stage-photos .sp.on { opacity: 1; transform: scale(1); }
.stage-photos .sp { z-index: 0; }
.stage-photos::after { z-index: 1; }
.stage-ui { z-index: 1; }
.stage-ui .panel, .stage-ui .phone { box-shadow: 0 24px 60px rgba(0,0,0,.35); } /* taste-skill-ignore: product UI floating over a photo */
.stage-ui { width: min(100%, 460px); position: relative; }
.state { display: none; }
.state.on { display: block; animation: stateIn 420ms var(--ease-out); }
@keyframes stateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.state .panel { padding: 18px 20px; }
.st-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ecece8; } /* taste-skill-ignore: table rows inside data-ui */
.st-row:last-child { border-bottom: 0; }
.st-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 2px solid #1b1b1b; font-weight: 700; font-size: 16px; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.doc-brand { font-weight: 800; letter-spacing: -0.02em; font-size: 16px; }
.doc-brand small { display: block; font-weight: 500; font-size: 12.5px; color: #5d5d5a; letter-spacing: 0; font-style: italic; }
[data-ui] .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
[data-ui] .fld { display: grid; gap: 4px; }
[data-ui] .fld.wide { grid-column: 1 / -1; }
[data-ui] .box { display: flex; align-items: center; min-height: 38px; padding: 0 11px; border: 1px solid #d6d6d1; border-radius: 7px; background: #fff; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
[data-ui] input.box { width: 100%; font-family: inherit; color: #1b1b1b; }
[data-ui] input.box::placeholder { color: #8a8a85; font-weight: 500; }
[data-ui] input.box:focus { outline: none; border-color: #e30613; box-shadow: 0 0 0 3px #fde7e8; }
[data-ui] input.box::-webkit-inner-spin-button { opacity: .4; }
[data-ui] .box.empty { color: #8a8a85; font-weight: 500; border-color: #e30613; box-shadow: 0 0 0 3px #fde7e8; }
[data-ui] .caret { width: 2px; height: 18px; background: #e30613; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
[data-ui] .factions { display: flex; gap: 8px; margin-top: 14px; }
[data-ui] .fbtn { flex: 1; display: grid; place-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; background: #f1f1ee; font-weight: 600; font-size: 13px; text-align: center; }
[data-ui] .fbtn.main { background: #1b1b1b; color: #fff; }
[data-ui] .rate { margin-top: 12px; display: grid; gap: 6px; }
[data-ui] .rate > div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; background: #f6f6f3; border-radius: 8px; }
.misure-box { background: #f6f6f3; border-radius: 8px; padding: 10px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.phone { width: 300px; margin-inline: auto; background: #111; border-radius: 34px; padding: 12px; }
.phone-screen { background: #f6f6f3; border-radius: 24px; overflow: hidden; }
.phone-bar { display: flex; justify-content: space-between; padding: 10px 18px 6px; font-size: 13px; font-weight: 600; }
.phone-title { padding: 6px 16px 12px; font-size: 18px; font-weight: 700; }
.job { margin: 0 10px 10px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.job .ui-label { margin-bottom: 4px; }
.job-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.job-dims div { background: #f6f6f3; border-radius: 8px; padding: 6px 8px; }

/* ---------- 4. showcase (recall switch) ---------- */
.showcase { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gutter); padding-block: clamp(4rem, 7vw, 6rem); padding-inline: 0 var(--margin); background: var(--accent); color: #fff; overflow: hidden; transition: background-color 500ms var(--ease-out); }
.showcase.off { background: #4a494f; }
.sc-track { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .js .sc-track { height: 190vh; }
  .js .sc-track .showcase { position: sticky; top: 18vh; }
}
.recall-card .panel { transition: box-shadow 500ms ease, transform 500ms var(--ease-out); }
.showcase:not(.off) .recall-card .panel { transform: scale(1.04); box-shadow: 0 0 0 4px #fff, 0 24px 60px rgba(0,0,0,.28); } /* taste-skill-ignore: highlighted product card */
.showcase:not(.off) .recall-card .chip.red { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.showcase .wrap { position: relative; z-index: 1; }
.sc-side { display: grid; gap: 18px; justify-items: start; }
.showcase h2 { font-size: var(--step-head); max-width: 12ch; }
.showcase .swap { display: inline-block; }
.showcase p { margin-top: 1.25rem; font-size: var(--step-body); max-width: 40ch; color: rgba(255,255,255,.92); }
.showcase .hint { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step-body); }
.bigswitch { font-size: clamp(20px, 2.6vw, 38px); }
.bigswitch .panel { display: flex; align-items: center; gap: 1em; padding: .9em 1.1em .9em 1.3em; border-radius: .7em; border: 0; box-shadow: 0 .4em 1.4em rgba(0,0,0,.18); } /* taste-skill-ignore: product UI, data-ui */
.bigswitch .lbl { font-weight: 700; font-size: 1em; letter-spacing: -0.02em; }
.bigswitch .lbl small { display: block; font-size: .42em; font-weight: 500; color: #5d5d5a; letter-spacing: 0; margin-top: .25em; }
.bigswitch button { width: 2.6em; height: 1.5em; border-radius: 1em; background: var(--accent); position: relative; flex: none; transition: background-color 300ms ease; }
.bigswitch button::after { content: ""; position: absolute; top: .15em; left: 1.25em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; transition: left 360ms var(--ease-out); }
.bigswitch button[aria-checked=false] { background: #bdbdb9; }
.bigswitch button[aria-checked=false]::after { left: .15em; }
.recall-card { width: min(420px, 100%); z-index: 1; transition: opacity 400ms ease, transform 400ms var(--ease-out); }
.recall-card .panel { padding: 16px 18px; border: 0; }
.recall-card .ui-actions { display: flex; gap: 8px; margin-top: 12px; }
.recall-card .ui-actions span { flex: 1; text-align: center; padding: 8px 0; border-radius: 7px; background: #f1f1ee; font-weight: 600; font-size: 13px; }
.recall-card .ui-actions span:first-child { background: var(--accent); color: #fff; }
.showcase.off .recall-card { opacity: .45; transform: translateY(10px); }

/* ---------- 5. features (preventivo you configure) ---------- */
.config { display: grid; grid-template-columns: 1fr 1fr; }
.config-out { position: sticky; top: 0; height: 100svh; overflow: clip; background: #1a1a1a; display: grid; place-items: center; padding: 40px var(--margin); }
.pdf { width: min(100%, 440px); position: relative; z-index: 2; }
.pdf .panel { border-radius: 4px; padding: 26px 26px 22px; box-shadow: 0 2px 0 #d6d6d2; transition: border-color 300ms ease; border-top: 8px solid var(--pdf-c, #e30613); } /* taste-skill-ignore: product UI, data-ui */
.pdf-brand { display: flex; align-items: center; gap: 10px; }
.pdf-logo { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--pdf-c, #e30613); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; background-size: contain; background-position: center; background-repeat: no-repeat; transition: background-color 300ms ease; }
.pdf-logo.img { background-color: transparent; color: transparent; width: 88px; border-radius: 0; }
.upl { cursor: pointer; min-height: 46px; font-size: 1rem; }
.pdf .doc-brand { color: var(--pdf-c, #e30613); transition: color 300ms ease; }
.pdf .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 16px; }
.pdf .pages { margin-top: 12px; display: flex; gap: 6px; }
.pdf .pages span { flex: 1; height: 40px; border-radius: 4px; background: #f1f1ee; font-size: 12.5px; font-weight: 600; color: #5d5d5a; display: grid; place-items: center; }
.pdf .pages span.extra { background: #f1f1ee; }
.pdf .pages span.hide { display: none; }
.pdf-line.hide { display: none; }
.config-copy { padding: clamp(5rem, 9vw, 8rem) var(--margin) clamp(5rem, 9vw, 8rem) clamp(2rem, 5vw, 5rem); }
.config-copy > h2 { font-size: var(--step-head); }
.config-copy > .intro-line { margin-top: 1.25rem; color: var(--muted); max-width: 42ch; }
.cap { margin-top: 30vh; max-width: 44ch; }
.cap:first-of-type { margin-top: 12vh; }
.cap h3 { font-size: var(--step-sub); line-height: 1.08; max-width: 18ch; }
.cap p { margin-top: .75rem; color: var(--muted); }
.ctl { margin-top: 1.25rem; font-family: var(--font-ui); font-size: 15px; }
.seg { display: inline-flex; background: var(--surface); padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background-color var(--t-hover) ease; }
.seg button:hover { background: #d8d8d4; }
.seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.seg i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.txt { width: min(100%, 340px); min-height: 48px; padding: 0 14px; background: var(--surface); border: 0; font-weight: 600; font-size: 16px; }
.tog { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.tog span.sw { width: 46px; height: 28px; border-radius: 14px; background: #bdbdb9; position: relative; transition: background-color 240ms ease; }
.tog span.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left 240ms var(--ease-out); }
.tog[aria-checked=true] span.sw { background: var(--accent); }
.tog[aria-checked=true] span.sw::after { left: 21px; }


/* ---------- rubrica sul telefono ---------- */
.rubrica { background: var(--surface); color: var(--ink); padding-block: var(--section); }
.rubrica .grid { align-items: center; }
.rub-copy { grid-column: 1 / span 5; }
.rub-copy h2 { font-size: var(--step-head); max-width: 12ch; }
.rub-copy > p { margin-top: 1.25rem; color: var(--muted); max-width: 42ch; }
.rub-copy .ctl { margin-top: 2rem; }
.rub-copy .ctl-label { font-family: var(--font-display); font-weight: 600; font-size: var(--step-small); color: var(--muted); margin-bottom: .6rem; display: block; }
.rubrica .seg { background: #e2e1dc; }
.rubrica .seg button { color: var(--ink); }
.rubrica .seg button:hover { background: #d6d5cf; }
.rubrica .seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.rub-note { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); max-width: 42ch; min-height: 3em; }
.rub-stage { grid-column: 7 / span 6; display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.call { width: 270px; background: #0b0b0b; border-radius: 40px; padding: 12px; }
.call-screen { border-radius: 30px; background: #3a3a38; color: #fff; padding: 56px 20px 28px; text-align: center; min-height: 470px; display: flex; flex-direction: column; }
.call-screen .who { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
.call-screen .what { margin-top: 8px; font-size: 16px; color: #d6d6d2; }
.call-screen .tag { margin: 10px auto 0; display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(227,6,19,.9); font-size: 13px; font-weight: 600; }
.call-btns { margin-top: auto; display: flex; justify-content: space-between; padding: 0 12px; }
.call-btns span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.call-btns .no { background: #e5302a; }
.call-btns .yes { background: #31c15a; }
.contacts .panel { padding: 14px 16px; }
.contacts .c-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid #ecece8; transition: opacity 300ms ease; } /* taste-skill-ignore: list rows inside data-ui */
.contacts .c-row:last-child { border-bottom: 0; }
.contacts .c-row.off { display: none; }
.contacts .c-name { font-weight: 600; }
.contacts .c-sub { font-size: 13px; color: #5d5d5a; }
.contacts .count { font-size: 13px; color: #5d5d5a; margin-top: 10px; }
@media (max-width: 900px) {
  .rub-copy, .rub-stage { grid-column: 1 / -1; }
  .rub-stage { margin-top: 3rem; grid-template-columns: 1fr; justify-items: center; }
  .contacts { width: 100%; }
  .call { width: 240px; }
  .call-screen { min-height: 300px; padding-top: 36px; }
}

/* ---------- 6. pricing ---------- */
.pricing { padding-block: var(--section); min-height: 80svh; align-items: center; }
.pricing .p-copy { grid-column: 1 / span 4; align-self: start; }
.pricing .p-copy h2 { font-size: var(--step-head); max-width: 11ch; }
.pricing .p-copy p { margin-top: 1rem; color: var(--muted); }
.pricing .p-figure { grid-column: 6 / span 7; position: relative; }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(7.5rem, 16vw, 15rem); letter-spacing: -0.06em; line-height: .85; display: flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.price .cur { font-size: .5em; margin-top: .06em; margin-right: .04em; }
.price .per { font-size: 1.125rem; letter-spacing: -0.01em; align-self: flex-end; margin-left: .6rem; margin-bottom: .55em; font-weight: 600; }
.p-included { margin-top: 2.25rem; display: grid; gap: .4rem; font-size: var(--step-body); }
.p-alt { margin-top: 1.5rem; color: var(--muted); font-size: var(--step-small); }
.p-figure .button { margin-top: 2rem; }
.p-chip { position: absolute; top: -1.5rem; right: 0; width: 300px; transform: rotate(2deg); }
.p-chip .panel { padding: 14px 16px; box-shadow: 0 18px 40px rgba(0,0,0,.14); border: 0; } /* taste-skill-ignore: floating notification, data-ui */
.network { grid-column: 1 / -1; margin-top: clamp(4rem, 8vw, 7rem); background: var(--surface); color: var(--ink); display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); padding: clamp(2rem, 4vw, 3.5rem); }
.network { padding: 0; overflow: hidden; }
.network .net-copy { grid-column: 1 / span 6; padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.network h3 { font-size: var(--step-sub); }
.network p { color: var(--muted); }
.network video, .network .net-ph { grid-column: 7 / span 6; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.network p a { color: var(--ink); font-weight: 600; }

/* ---------- 7. faq ---------- */
.faq { padding-block: calc(var(--section) * .5) var(--section); }
.faq h2 { grid-column: 1 / span 4; font-size: var(--step-head); position: sticky; top: 96px; align-self: start; max-width: 9ch; }
.faq .list { grid-column: 5 / span 8; display: grid; gap: 8px; }
.faq details { background: var(--surface); transition: background-color 240ms ease, color 240ms ease; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-body); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 16px; height: 16px; position: relative; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform 240ms var(--ease-out); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: #fff; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 24px 26px; max-width: 52ch; font-size: var(--step-body); }
.faq summary:hover { background: rgba(0,0,0,.04); }

/* ---------- 8. cta ---------- */
.cta { padding-block: calc(var(--section) * .6) var(--section); }
.cta h2 { font-size: var(--step-head); margin-bottom: 1.5rem; }
.cta h2 { max-width: 14ch; }
.cta-lead { margin-top: 1.5rem; margin-bottom: 2rem; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 40ch; }
.cta-small-h { font-size: var(--step-body); margin-bottom: .6rem; letter-spacing: -0.01em; }
.cta .statement { font-family: var(--font-display); font-weight: 600; font-size: var(--step-body); line-height: 1.9; max-width: 34ch; }
.cta form { display: contents; }
.cta .blank { display: inline-block; vertical-align: baseline; width: 7em; height: 1.3em; padding: 0 .4em; background: var(--surface); border: 0; font-family: var(--font-display); font-weight: 600; font-size: 1em; letter-spacing: -0.02em; }
.cta .blank::placeholder { color: var(--muted); }
.cta .go { display: inline-block; height: 1.3em; padding: 0 .35em; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 1em; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cta .go:hover { background: #c10510; }
.cta .go:active { transform: scale(.97); }
.cta .after { margin-top: .75rem; color: var(--muted); font-size: var(--step-small); }
.cta-l { grid-column: 1 / span 6; }
.cta-r { grid-column: 8 / span 5; align-self: center; background: var(--surface); padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.cta-r > *:not(.cta-img) { margin-inline: clamp(1.5rem, 3vw, 2.5rem); }
.cta-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 40% 30%; margin-bottom: 1.5rem; }

@media (max-width: 900px) { .cta-l, .cta-r { grid-column: 1 / -1; } .cta-r { margin-top: 2.5rem; } }
.cta .alt { margin-top: 2.5rem; display: flex; gap: 1.5rem 2.5rem; flex-wrap: wrap; align-items: center; }

/* ---------- 9. footer ---------- */
.foot { padding: 10px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 8px; }
.foot .tile { background: var(--surface); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.t-state { grid-column: 1 / span 4; }
.t-state p { font-family: var(--font-display); font-weight: 600; font-size: var(--step-sub); line-height: 1.15; letter-spacing: -0.02em; max-width: 20ch; }
.t-state small { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; max-width: 48ch; }
.t-nav { grid-column: 5 / span 4; }
.t-nav ul { display: grid; gap: .3rem; font-family: var(--font-display); font-size: 1rem; }
.t-nav a, .t-mail a { text-decoration: none; }
.t-nav a:hover, .t-mail a:hover { text-decoration: underline; text-underline-offset: .2em; }
.t-place { grid-column: 8 / span 2; font-family: var(--font-display); }
.t-place b { font-size: var(--step-sub); letter-spacing: -0.02em; }
.t-place span { font-size: 1rem; color: var(--muted); }
.t-mail { grid-column: 9 / span 4; font-family: var(--font-display); }
.t-mail a { font-size: 1.0625rem; font-weight: 600; }
.t-mail span { color: var(--muted); font-size: 1rem; }
.t-mark { grid-column: 1 / span 8; background: var(--ink) !important; color: var(--bg); min-height: 320px !important; justify-content: center !important; align-items: center; overflow: hidden; }
.t-mark { flex-direction: row !important; gap: 2vw; }
.t-mark img { width: min(78%, 900px); height: auto; background: none; }
.t-mark span { font-family: var(--font-display); font-weight: 800; font-size: 9vw; letter-spacing: -0.06em; line-height: .9; }
.t-mark span i { font-style: normal; color: var(--accent); }
.t-go { grid-column: 9 / span 4; background: var(--accent) !important; color: #fff; min-height: 320px !important; text-decoration: none; transition: background-color var(--t-hover) ease; }
.t-go:hover { background: #c10510 !important; }
.t-go b { font-family: var(--font-display); font-size: var(--step-sub); letter-spacing: -0.02em; line-height: 1.1; max-width: 12ch; }
.t-go svg { align-self: flex-end; width: 56px; height: 56px; transition: transform 300ms var(--ease-out); }
.t-go:hover svg { transform: translate(6px, -6px); }
.legal { padding: 12px var(--margin) 28px; font-size: 13px; color: var(--muted); font-family: var(--font-display); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.legal a { color: var(--muted); }

/* ---------- motion ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 450ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: lineup 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

}
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .js [data-reveal] { transform: translateY(16px); transition: transform 700ms var(--ease-out); }
  .js [data-reveal].is-in { transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes lineup { to { transform: none; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .toplink .wide { display: none; }
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .promise ul { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .misura { grid-template-columns: 1fr; min-height: 0; }
  .misura-stage { padding: 46vw 20px 28px; }
  .rilievo { width: 100%; }
  .dock { grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--bg); box-shadow: 0 -1px 0 #e2e1dc; } /* taste-skill-ignore: fixed bar edge */
  .dock { transition: transform 280ms var(--ease-out); }
  .dock.wait { transform: translateY(110%); }
  .dock.away { transform: translateY(110%); }
  .dock .button { min-height: 50px; padding: 0 12px; font-size: 1rem; }
  .dock .wa { background: var(--wa); }
  .dock .wa svg { width: 20px; height: 20px; }
  .intro h2, .intro .leadp { grid-column: 1 / -1; }
  .intro .sera { grid-column: 1 / -1; grid-row: auto; margin-bottom: 2rem; }
  .network .net-copy, .network video, .network .net-ph { grid-column: 1 / -1; }
  .network video, .network .net-ph { min-height: 0; aspect-ratio: 16 / 9; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .intro .leadp, .cta .statement, .t-state p { font-size: 1.3rem; }
  .pricing { min-height: 0; }
  .intro .cols { grid-template-columns: 1fr 1fr; row-gap: 40px; margin-top: 48px; }
  .intro .leadp { grid-column: 1 / -1; }
  .flow-statements { grid-column: 1 / -1; }
  .flow .grid { display: block; }
  .flow-stage { position: sticky; top: 0; height: 52svh; margin-inline: calc(var(--margin) * -1); padding: 16px; z-index: 2; }
  .stage-ui { transform: scale(.82); transform-origin: top center; }
  .step { min-height: min(60svh, 560px); }
  .flow-statements .intro-line { margin-bottom: 1.5rem; }
  .showcase { grid-template-columns: 1fr; padding-inline: 0; }
  .sc-side { padding-inline: var(--margin); }
  .bigswitch { font-size: 5.4vw; }
  .pdf { transform: scale(.8); transform-origin: center; }
  .pricing .p-copy, .pricing .p-figure { grid-column: 1 / -1; }
  .pricing .p-figure { margin-top: 3rem; }
  .price { font-size: 34vw; }
  .p-chip { position: relative; top: auto; right: auto; width: 100%; transform: none; margin-bottom: 1.5rem; }
  .network h3, .network p { grid-column: 1 / -1; }
  .network p { margin-top: 1rem; }

  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .foot .tile { min-height: 160px; padding: 20px; }
  .t-mark { grid-column: 1 / -1; min-height: 160px !important; }
  .t-mark span { font-size: 15vw; }
  .t-mark img { width: 80%; }
  .t-go { grid-column: 1 / -1; min-height: 180px !important; }
  .t-nav, .t-mail { grid-column: span 1; }
  .t-place, .t-state { grid-column: span 1; }
  .t-state { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .flow-inline .flow-stage { display: none; }
  .flow-inline .step { min-height: 0; padding-block: 2rem; }
  .flow-inline .step h3 { color: var(--ink); }
  .step-ui { position: relative; overflow: hidden; margin-top: 1.25rem; background: #1a1a1a; padding: 56px 16px 16px; }
  .step-ui .sp-m { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .step-ui .state { position: relative; z-index: 1; }
  .step-ui .state { animation: none; }
  .cta .blank { width: 5.5em; }
  .t-state p { font-size: 1.125rem; }
  .dock { display: grid; }
  body { padding-bottom: 76px; }
  .hero-media { order: -1; aspect-ratio: 1 / 1; margin-inline: calc(var(--margin) * -1); }
  .hero-media video { object-position: 50% 0%; }
  .hero { padding-top: 0; }
  .promise ul { grid-template-columns: 1fr; }
  .config { grid-template-columns: 1fr; }
  .config-out { position: relative; height: auto; padding: 32px 20px; order: 2; }
  .config-copy { display: contents; }
  .config-copy > h2 { order: 0; padding: 4rem 20px 0; }
  .config-copy > .intro-line { order: 1; padding: 0 20px 2rem; margin-top: 1rem; }
  .cap { order: 3; margin: 0; padding: 3rem 20px 0; }
  .cap:last-of-type { padding-bottom: 5rem; }
  .pdf { transform: none; }
  .faq h2 { grid-column: 1 / -1; position: static; margin-bottom: 1.5rem; max-width: none; }
  .faq .list { grid-column: 1 / -1; }
  .faq summary { min-height: 64px; padding: 18px 20px; }
}
@media (max-width: 560px) {
  .intro .cols { grid-template-columns: 1fr; row-gap: 22px; }
  .pain { grid-template-columns: 38% 1fr; gap: 14px; align-items: start; }
  .pain img { aspect-ratio: 1 / 1; }
  .pain p { font-size: 1rem; line-height: 1.45; }
  .t-place { grid-column: 1 / -1; }
}

/* ======================================================================
   Pagine interne — componenti comuni
   ====================================================================== */
.site-head { position: relative; z-index: 5; }
.toplink a[aria-current=page] { color: var(--accent); }
.toplink .button { min-height: 2.75rem; padding: 0 1.1rem; font-size: 1rem; color: #fff; text-decoration: none; }
.toplink .button:hover { text-decoration: none; }

.page-hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); row-gap: 2rem; align-items: center; }
.page-hero .ph-copy { grid-column: 1 / span 7; }
.page-hero h1 { font-size: clamp(2.5rem, 1rem + 4vw, 5rem); font-weight: 800; letter-spacing: -0.045em; line-height: .96; max-width: 16ch; }
.page-hero h1 .q { color: var(--accent); }
.answer { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.45; color: var(--ink); max-width: 46ch; }
.answer + .answer { margin-top: 1rem; color: var(--muted); font-size: var(--step-body); }
.page-hero .hero-actions { margin-top: 2rem; }
.page-hero .ph-media { grid-column: 9 / span 4; }
.ph { position: relative; overflow: hidden; background: #1a1a1a; aspect-ratio: 4 / 5; }
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.wide { aspect-ratio: 16 / 10; }
.ph.tone::after { content: ""; position: absolute; inset: 0; background: #8d8c91; mix-blend-mode: multiply; pointer-events: none; }
.ph > [data-ui] { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(86%, 420px); }

.toc { background: var(--surface); }
.toc ol { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-family: var(--font-display); font-weight: 600; }
.toc a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.toc a:hover { color: var(--accent); }

.feat { padding-block: clamp(5.5rem, 9vw, 8rem) 0; row-gap: 2.5rem; align-items: center; scroll-margin-top: 1rem; }
.feat .f-copy { grid-column: 1 / span 6; }
.feat .f-vis { grid-column: 8 / span 5; }
.feat.flip .f-copy { grid-column: 7 / span 6; grid-row: 1; }
.feat.flip .f-vis { grid-column: 1 / span 5; grid-row: 1; }
.feat h2 { font-size: var(--step-head); max-width: 17ch; }
.feat .f-lead { margin-top: 1.1rem; font-size: var(--step-lead); line-height: 1.45; color: var(--muted); max-width: 44ch; }
.facts { margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.facts div { display: grid; gap: .2rem; }
.facts dt { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.facts dd { margin: 0; color: var(--muted); max-width: 54ch; }
.facts.two { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }

.sec { padding-block: clamp(5.5rem, 9vw, 8rem) 0; }
.sec > h2, .sec .sec-h { font-size: var(--step-head); max-width: 18ch; }
.sec .sec-lead { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.45; color: var(--muted); max-width: 52ch; }

.table-wrap { margin-top: 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--step-body); }
table.cmp th, table.cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #deddd8; vertical-align: top; }
table.cmp thead th { font-family: var(--font-display); font-weight: 700; font-size: 1rem; background: var(--surface); position: sticky; top: 0; }
table.cmp thead th.us { background: var(--accent); color: #fff; }
table.cmp tbody th { font-weight: 600; font-family: var(--font-display); font-size: 1rem; width: 32%; }
table.cmp td.us { background: #fdeeee; font-weight: 600; }
.yes { color: #19642e; font-weight: 700; } .no { color: #8a1c1c; } .part { color: #7a5b00; }
table.cmp .price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

.bigfig { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: .85; font-size: clamp(5rem, 12vw, 11rem); font-variant-numeric: tabular-nums; }
.bigfig small { font-size: 1.125rem; letter-spacing: -0.01em; font-weight: 600; margin-left: .4rem; }
.trial { margin-top: clamp(3rem, 6vw, 5rem); background: var(--surface); padding: clamp(1.5rem, 4vw, 3rem); row-gap: 1.5rem; align-items: end; }
.trial .t-l { grid-column: 1 / span 6; }
.trial .t-r { grid-column: 8 / span 5; }
.trial h2 { font-size: var(--step-sub); margin-bottom: .75rem; }

.band-red { margin-top: clamp(5rem, 9vw, 8rem); background: var(--accent); color: #fff; }
.band-red .grid { padding-block: clamp(3.5rem, 7vw, 6rem); align-items: center; row-gap: 1.5rem; }
.band-red h2 { grid-column: 1 / span 7; font-size: var(--step-head); max-width: 14ch; }
.band-red .b-r { grid-column: 9 / span 4; }
.band-red p { color: rgba(255,255,255,.92); margin-bottom: 1.5rem; }
.band-red .button { background: #fff; color: var(--ink); }
.band-red .button:hover { background: #f1f1ee; }
.band-red a.textlink { color: #fff; display: inline-block; margin-top: 1rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 1.5rem; }
.form .full { grid-column: 1 / -1; }
.form > * { min-width: 0; }
.form input:not([type=checkbox]), .form select { width: 100%; }
.form label.f { display: grid; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.form input:not([type=checkbox]), .form select, .form textarea { min-height: 50px; padding: 0 14px; background: #fff; border: 1px solid #d6d5cf; font: inherit; font-family: var(--font-text); font-weight: 400; font-size: 1rem; color: var(--ink); border-radius: 0; }
.form textarea { padding: 12px 14px; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .chk { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.form .chk input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form .esito { grid-column: 1 / -1; min-height: 1.5em; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.form .button { justify-self: start; }
.form-box { background: var(--surface); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-box h2, .form-box h3 { font-size: var(--step-sub); }

pre.code { margin: 1.25rem 0 0; background: #18181a; color: #f2f2ef; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
pre.code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code.k { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface); padding: 2px 6px; }

.tag-soon { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: 2px 9px; background: #fff4d6; color: #7a5b00; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: 0; }

/* kanban (frammento app) */
[data-ui] .kb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
[data-ui] .kb-col { background: #f6f6f3; border-radius: 8px; padding: 6px; display: grid; gap: 6px; align-content: start; }
[data-ui] .kb-h { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 6px; font-weight: 700; font-size: 13px; }
[data-ui] .kb-h b { background: rgba(255,255,255,.75); border-radius: 999px; padding: 0 7px; font-size: 12px; }
[data-ui] .kb-c { background: #fff; border: 1px solid #e3e2dd; border-radius: 7px; padding: 8px 9px; font-size: 13px; line-height: 1.3; position: relative; }
[data-ui] .kb-c b { display: block; font-size: 13.5px; }
[data-ui] .kb-c span { color: #5d5d5a; font-size: 12.5px; }
[data-ui] .kb-c.new { border: 2px solid #3b8ee6; }
[data-ui] .kb-c.new::after { content: "n"; position: absolute; top: 6px; right: 7px; width: 18px; height: 18px; border-radius: 50%; background: #3b8ee6; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
[data-ui] .kb-c.late { border: 2px solid #e30613; }
[data-ui] .kb-c.late::after { content: "!"; position: absolute; top: 6px; right: 7px; width: 18px; height: 18px; border-radius: 50%; background: #e30613; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
[data-ui] .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: #3d3d3b; }
[data-ui] .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
/* barre statistiche (frammento app) */
[data-ui] .bars { display: grid; gap: 10px; margin-top: 8px; }
[data-ui] .bar { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
[data-ui] .bar .t { height: 12px; background: #efeeea; border-radius: 6px; overflow: hidden; }
[data-ui] .bar .t i { display: block; height: 100%; background: #e30613; border-radius: 6px; }
[data-ui] .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
[data-ui] .kpis div { background: #f6f6f3; border-radius: 8px; padding: 8px 10px; }

@media (max-width: 900px) {
  .page-hero .ph-copy, .page-hero .ph-media { grid-column: 1 / -1; }
  .page-hero .ph-media .ph { aspect-ratio: 16 / 10; }
  .feat .f-copy, .feat .f-vis, .feat.flip .f-copy, .feat.flip .f-vis { grid-column: 1 / -1; grid-row: auto; }
  .facts.two { grid-template-columns: 1fr; }
  .trial .t-l, .trial .t-r { grid-column: 1 / -1; }
  .band-red h2, .band-red .b-r { grid-column: 1 / -1; }
  .toplink .button { display: none; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .ph > [data-ui] { width: 92%; }
}

/* galleria di tre foto */
.strip { margin-top: clamp(4rem, 8vw, 7rem); }
.strip .grid { row-gap: 1.25rem; }
.strip figure { grid-column: span 4; }
.strip .ph { aspect-ratio: 4 / 3; }
.strip figcaption { margin-top: .6rem; font-family: var(--font-display); font-weight: 600; }
.strip figcaption span { display: block; font-family: var(--font-text); font-weight: 400; color: var(--muted); }
@media (max-width: 700px) { .strip figure { grid-column: 1 / -1; } }
/* foto dell'apertura: lenta deriva */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .ph img { animation: drift 14s var(--ease-soft) infinite alternate; }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
[hidden] { display: none !important; }
table.cmp tbody th { position: sticky; left: 0; background: var(--bg); z-index: 1; }

/* menu fisso in alto */
:root { --bar-h: 64px; }
.topbar-wrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); transition: box-shadow 240ms ease; }
.topbar-wrap .topbar { transition: padding 240ms var(--ease-out); }
.topbar-wrap.scrolled { box-shadow: 0 1px 0 #e2e1dc, 0 8px 24px rgba(0,0,0,.06); } /* taste-skill-ignore: barra fissa */
.topbar-wrap.scrolled .topbar { padding-block: 10px; }
.topbar-wrap.scrolled .wordmark img { height: 28px; }
.wordmark img { transition: height 240ms var(--ease-out); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bg); }
[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }
@media (min-width: 701px) {
  .config-out { top: var(--bar-h); height: calc(100svh - var(--bar-h)); }
}
@media (min-width: 901px) {
  .flow-stage { top: calc(var(--bar-h) + 6vh); }
}
.faq h2 { top: calc(var(--bar-h) + 32px); }
@media (prefers-reduced-motion: no-preference) {
  .js .sc-track .showcase { top: calc(var(--bar-h) + 12vh); }
}

/* confronto: le alternative in toni freddi e spenti, Quotello resta caldo */
.ph.cold img { filter: grayscale(.3) brightness(1.05); }
.ph.tone.cold::after { display: none; }

/* modulo demo a passi */
.step-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-f .form { margin-top: .75rem; }
.f-leg { padding: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); }
.step-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
