/* =========================================================
   Fascicola – foglio di stile
   ========================================================= */

:root {
  --ink: #10202B;
  --ink-2: #2C3C47;
  --muted: #3E4E59;
  --muted-2: #55646E;
  --line: #DDE2DE;
  --line-2: #E8ECE9;
  --bg: #F7F7F4;
  --surface: #FFFFFF;
  --soft: #F2F5F3;
  --accent: #0E6B5A;
  --accent-dark: #0A5246;
  --accent-soft: #E3EFEB;
  --dark: #10202B;
  --dark-2: #1B2E3B;
  --dark-line: #2C4250;
  --dark-text: #F2F5F3;
  --dark-muted: #C4D0CB;
  --dark-muted-2: #A9B8B1;
  --mint: #8FD3C2;
  --warn-bg: #FBEBCB;
  --warn-ink: #6B4410;
  --field-border: #8A9892;
  --radius: 16px;
  --font-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
[hidden] { display: none !important; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; stroke-width: 1.7; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--dark { background: var(--dark); color: var(--dark-text); }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.section--dark .eyebrow { color: var(--mint); }
.title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 760px;
}
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: var(--dark-muted); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 0 26px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: var(--surface); border-color: #C9D1CC; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 64px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.badge { display: inline-block; margin-bottom: 20px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
.hero__text { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted-2); }

/* Report d'esempio */
.report { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(16,32,43,.25); overflow: hidden; }
.report__head { padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.report__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted-2); }
.report__subject { margin-top: 4px; font-weight: 600; }
.report__from { font-size: 13px; color: var(--muted-2); }
.report__list { margin: 0; padding: 6px 22px; list-style: none; }
.report__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #EEF1EF; }
.report__item:last-child { border-bottom: 0; }
.report__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark); flex: 0 0 auto; }
.report__icon--warn { background: var(--warn-bg); color: var(--warn-ink); }
.report__file { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.report__old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; overflow-wrap: anywhere; }
.report__new { font-weight: 600; overflow-wrap: anywhere; }
.report__path { font-size: 13px; color: var(--accent-dark); }
.report__path--warn { color: var(--warn-ink); }

/* Archivi compatibili */
.integrations { padding-bottom: 72px; }
.integrations__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.integrations__label { font-size: 14px; color: var(--muted-2); margin-right: 6px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }

/* ---------- Metodo / configurazione ---------- */
.method__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare__col { border-radius: var(--radius); padding: 22px; }
.compare__col--before { background: var(--soft); }
.compare__col--after { background: var(--accent-soft); }
.compare__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.compare__col--after .compare__label { color: var(--accent-dark); }
.tree { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.tree li { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.tree .icon { width: 16px; height: 16px; color: var(--muted-2); }
.compare__col--after .tree .icon { color: var(--accent); }
.tree .indent-1 { padding-left: 18px; }
.tree .indent-2 { padding-left: 36px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.section--white .step { background: var(--bg); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #9AA7A0; }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--muted); }

.callout { margin-top: 32px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; gap: 16px; align-items: flex-start; }
.callout .icon { color: var(--accent); margin-top: 2px; }
.callout p { color: var(--muted); }
.callout strong { color: var(--ink); }

/* ---------- Riepilogo mensile ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.summary { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 18px; padding: 32px; }
.summary__period { font-size: 14px; color: var(--dark-muted-2); }
.summary__total { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.summary__label { margin-top: 8px; font-size: 16px; color: var(--dark-muted); }
.summary__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dark-muted); }
.summary__foot strong { color: var(--dark-text); font-weight: 600; }

/* ---------- Funzioni ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; padding: 0; list-style: none; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.card .icon--lg { color: var(--accent); }
.card h3 { font-size: 18px; font-weight: 600; }
.card p { color: var(--muted); }

/* ---------- Calcolatore ---------- */
.calc { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.calc__value { font-family: var(--font-display); font-size: 32px; color: var(--accent); }
.calc input[type="range"] { width: 100%; height: 28px; margin: 16px 0 6px; accent-color: var(--accent); }
.calc__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.stat { background: var(--surface); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 13px; color: var(--muted-2); }
.stat__value { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.calc__result { margin-top: 14px; background: var(--dark); color: var(--dark-text); border-radius: 12px; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.calc__result .stat__label { color: var(--dark-muted-2); }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--mint); color: #0B2A24; font-size: 14px; font-weight: 600; }
.small-note { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

/* ---------- Prezzi ---------- */
.pricing__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--line-2); }
.segmented button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(16,32,43,.12); }
.segmented--full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; background: #EEF1EF; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 24px 48px -28px rgba(14,107,90,.45); }
.plan__tag { position: absolute; top: -14px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan__for { margin-top: 4px; color: var(--muted-2); font-size: 15px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -.02em; }
.plan__per { color: var(--muted-2); }
.plan__billing { margin-top: -12px; font-size: 13px; color: var(--muted-2); }
.plan__quota { padding: 12px 14px; border-radius: 10px; background: var(--soft); font-weight: 600; }
.plan--featured .plan__quota { background: var(--accent-soft); color: var(--accent-dark); }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 15px; }
.checklist li { display: flex; gap: 10px; }
.checklist .icon { color: var(--accent); }
.plan .btn { margin-top: auto; }

.plans-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.plan-mini { padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.plan-mini h3 { font-size: 16px; font-weight: 600; }
.plan-mini p { font-size: 14px; color: var(--muted-2); }
.plan-mini__price { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.plan-mini__price small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--muted-2); }

.setup { margin-top: 32px; padding: 32px; border-radius: 18px; background: var(--dark); color: var(--dark-text); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center; }
.setup h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.setup > div > p { margin-top: 10px; color: var(--dark-muted); }
.setup__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.setup__option { padding: 20px; border-radius: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.setup__option h4 { margin: 0; font-size: 16px; font-weight: 600; }
.setup__option p { margin-top: 6px; font-size: 14px; color: var(--dark-muted); }
.setup__price { margin-top: 12px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--mint); }

.rules { margin-top: 20px; padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rules h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.rules ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.vat-note { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq .title { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Modulo ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact__points { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__points li { display: flex; gap: 12px; }
.contact__points .icon { color: var(--mint); margin-top: 2px; }
.contact__direct { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dark-line); color: var(--dark-muted); font-size: 15px; }
.contact__direct strong { display: block; color: var(--dark-text); }

.form-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 32px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form__group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > legend, .field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--field-border); border-radius: 10px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 16px;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.radios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; cursor: pointer; }
.radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form__summary { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.form__summary strong { font-weight: 600; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-2); }
.form__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.form__done-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); }
.form__done h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.form__done p { font-size: 17px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--muted-2); }

/* ---------- Pagina Accedi ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__aside { background: var(--dark); color: var(--dark-text); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.auth__aside .brand, .auth__aside .brand:hover { color: var(--dark-text); }
.auth__aside h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.02em; max-width: 480px; }
.auth__aside .summary { margin-top: 32px; max-width: 420px; }
.auth__aside .summary__total { font-size: 48px; }
.auth__legal { font-size: 14px; color: var(--dark-muted-2); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth__box { width: 100%; max-width: 420px; }
.auth__box h1 { font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -.02em; }
.auth__box > p { margin-top: 8px; color: var(--muted); }
.sso { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; font-size: 14px; color: var(--muted-2); }
.divider::before, .divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.alert { padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
.password { display: flex; align-items: center; border: 1px solid var(--field-border); border-radius: 10px; background: var(--surface); }
.password:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .password input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; }
.password button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.auth-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.auth-row label { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); }
.auth-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.auth__alt { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .plans-mini { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .setup { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .method__intro, .split, .contact, .auth { grid-template-columns: minmax(0, 1fr); }
  .main-nav { order: 3; width: 100%; }
  .auth__aside { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .container { padding: 0 16px; }
  .steps, .cards, .compare, .calc__grid, .setup__options, .rules, .form, .form__group, .radios { grid-template-columns: minmax(0, 1fr); }
  .form-card, .calc, .summary, .setup, .plan { padding: 22px; }
  .segmented { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1 1 auto; }
}

/* aggiunte */
.step--card { background: var(--surface); border: 1px solid var(--line); }
.stat--plain { background: transparent; padding: 0; }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert--ok { background: var(--accent-soft); color: var(--accent-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.legal { max-width: 760px; }
.legal h2 { margin-top: 40px; font-size: 22px; }
.legal p, .legal li { color: var(--muted); margin-top: 10px; }

/* ---------- Cloud Fascicola ---------- */
.chip--accent { background: var(--accent-soft); border-color: transparent; }
.chip--accent a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.split--top { align-items: start; }
.cloud-compare { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.cloud-compare__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--surface); }
.cloud-compare__row span { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.cloud-compare__row small { font-weight: 400; font-size: 13px; color: var(--muted-2); }
.cloud-compare__row strong { font-family: var(--font-display); font-size: 26px; white-space: nowrap; }
.cloud-compare__row--us { background: var(--accent); color: #fff; }
.cloud-compare__row--us small { color: #D5ECE6; }
.cloud-compare__note { font-size: 13px; color: var(--muted-2); }
.cloud-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cloud-plan { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.cloud-plan--featured { border: 2px solid var(--accent); box-shadow: 0 24px 48px -28px rgba(14,107,90,.45); }
.cloud-plan .plan__tag { left: 24px; }
.cloud-plan h3 { font-size: 17px; font-weight: 600; }
.cloud-plan__size { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.cloud-plan__for { font-size: 14px; color: var(--muted-2); }
.cloud-plan__amount { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.cloud-plan .checklist { font-size: 14px; }
.cloud-plan .btn { margin-top: auto; }
.cloud-rules { background: var(--bg); }
@media (max-width: 1100px) { .cloud-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .cloud-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .cloud-plans { grid-template-columns: minmax(0, 1fr); } .cloud-compare__row { flex-direction: column; align-items: flex-start; } }
