/* Landing: struttura-landing.json v1.1. Copy e dati iniziali dall'HTML. */
:root {
  color-scheme: light;
  --ink: #142623;
  --muted: #52615c;
  --paper: #faf9f6;
  --surface: #ffffff;
  --soft: #edf1eb;
  --line: #cbd3ca;
  --accent: #d6e6ad;
  --highlight: #6b751e;
  --radius: 18px;
  --space: clamp(64px, 9vw, 128px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; text-underline-offset: 5px; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #8a651d; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 20px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.topbar { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 23px; }
.brand { font-size: 22px; font-weight: 700; letter-spacing: -.8px; text-decoration: none; line-height: 1.25; }
.brand small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.nav-cta { padding: 8px 18px; border: 1px solid var(--ink); border-radius: 100px; gap: 20px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; font-weight: 600; }
h1 { max-width: 950px; margin: 0 auto 28px; font-size: clamp(44px, 6.5vw, 86px); }
.hero h1 { width: min(1616px, calc(100vw - 64px)); max-width: none; margin-left: 50%; font-size: clamp(44px, 5.4vw, 86px); font-weight: 700; text-transform: uppercase; transform: translateX(-50%); }
.hero h2 { font-weight: 700; }
h2 { font-size: clamp(32px, 4.3vw, 56px); }
h3 { font-size: clamp(28px, 3.3vw, 42px); }
h1 em { font-family: Georgia, serif; font-weight: 400; }
p { margin-bottom: 22px; }
.hero { padding: var(--space) 0 72px; text-align: center; }
.hero-grid { display: grid; justify-items: center; gap: 64px; }
.hero-grid > div { width: 100%; }
.eyebrow, .section-number { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { margin-bottom: 24px; }
.hero-intro { max-width: 620px; margin: 0 auto 32px; font-size: clamp(20px, 2.4vw, 25px); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 14px 24px; border-radius: 100px; background: var(--ink); color: white; text-decoration: none; font-size: 16px; transition: background .2s, transform .2s; }
.button:hover { background: #2c4840; transform: translateY(-2px); }
.hero-foot { margin-top: 20px; font-size: 13px; color: var(--muted); }
.result-card { width: min(100%, 620px); padding: 32px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.result-card h2 { font-size: 28px; }
.chart { display: flex; height: 160px; align-items: end; justify-content: center; gap: 42px; border-bottom: 1px solid var(--line); }
.bar-group { display: flex; flex-direction: column; justify-content: end; text-align: center; gap: 8px; width: 30%; font-size: 14px; }
.bar { height: 80px; background: #7c9388; border-radius: 5px 5px 0 0; }
.bar.after { height: 120px; background: var(--ink); }
.chart-labels { display: flex; justify-content: space-evenly; padding: 12px 0; font-size: 12px; }
.result-bottom { display: flex; align-items: center; gap: 24px; padding-top: 16px; }
.result-bottom strong { font-size: 54px; letter-spacing: -.05em; line-height: 1; }
.result-bottom span { font-size: 14px; }
.scenario-note, .fineprint { color: var(--muted); font-size: 13px; line-height: 1.6; }
.scenario-note { margin: 20px 0 0; }
.section { padding-block: var(--space); }
.soft { background: var(--soft); }
.section-header { max-width: 930px; margin-bottom: 48px; }
.section-number { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; color: var(--muted); }
.section-number span { width: 26px; height: 1px; background: currentColor; }
.section-header h2 { margin-bottom: 0; }
.reading { max-width: 940px; }
.prose { line-height: 1.8; }
.prose > div { margin-top: 14px; }
.prose h3 { margin-bottom: 24px; }
.content-block { margin-top: var(--space); }
#problema .reading { max-width: none; }
#problema .reading > .prose > ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 32px 0; counter-reset: situation; }
#problema .reading > .prose > ol > li { position: relative; counter-increment: situation; padding: 72px 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
#problema .reading > .prose > ol > li::before { content: '0' counter(situation); position: absolute; top: 22px; left: 28px; color: var(--muted); font-size: 25px; line-height: 1; }
#problema .reading > .prose > ol > li:last-child { background: var(--soft); border: 2px dashed #738678; }
.inbox { max-width: 760px; margin-top: 30px; padding-left: 24px; }
.inbox li { padding: 5px 0 5px 8px; }
.waste { max-width: 790px; padding-left: 28px; border-left: 3px solid var(--ink); }
.table-frame { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#costo { background: var(--highlight); color: var(--paper); }
#costo h2 { color: var(--paper); }
#costo strong em { color: var(--paper); }
#costo .reading { max-width: none; }
#costo .cost-comparison { margin: 42px 0 36px; color: var(--paper); }
#costo .cost-example { margin: 0 0 22px; color: rgba(20, 17, 17, .72); font-size: 14px; line-height: 1.5; }
#costo .cost-example strong { color: var(--paper); font-weight: 650; }
#costo .cost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
#costo .cost-table-wrap { min-width: 0; overflow: hidden; border: 1px solid rgba(229, 221, 201, .18); border-radius: var(--radius); background: var(--paper); }
#costo .cost-table { table-layout: fixed; background: var(--paper); color: var(--ink); }
#costo .cost-table th,
#costo .cost-table td { padding: 20px 18px; border-bottom: 1px solid rgba(229, 221, 201, .18); text-align: left; vertical-align: middle; }
#costo .cost-table thead th { padding: 18px; border-bottom: 1px solid rgba(229, 221, 201, .18); background: var(--paper); color: var(--highlight); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-align: left; }
#costo .cost-table tbody td:first-child { width: 54%; }
#costo .cost-table tbody tr:last-child td { border-bottom: 0; }
#costo .cost-indicator { color: var(--muted); font-size: 15px; font-weight: 500; }
#costo .cost-value { color: var(--ink); font-size: 15px; font-weight: 650; }
#costo .cost-input-wrap { position: relative; display: inline-flex; align-items: center; }
#costo .cost-input { width: 110px; padding: 5px 22px 5px 0; border: 0; border-bottom: 1px solid rgba(229, 221, 201, .38); border-radius: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.4; outline: 0; }
#costo .cost-input:focus-visible { border-bottom-color: var(--highlight); outline: 2px solid var(--highlight); outline-offset: 4px; }
#costo .cost-input-suffix { position: absolute; top: 50%; right: 0; color: var(--muted); font-size: 14px; font-weight: 600; transform: translateY(-50%); pointer-events: none; }
#costo .cost-input::-webkit-outer-spin-button,
#costo .cost-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
#costo .cost-input[type="number"] { -moz-appearance: textfield; }
#costo .cost-editable-row { cursor: text; }
#costo .cost-revenue-row .cost-indicator { font-weight: 700; }
#costo .cost-revenue-row .cost-value { color: var(--highlight); font-size: 16px; font-weight: 750; }
table { border-collapse: collapse; width: 100%; font-size: 15px; text-align: left; }
caption { padding: 20px; text-align: left; font-size: 13px; color: var(--muted); }
th, td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-size: 13px; }
tbody th { font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }
.metrics td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.metrics td:last-child { background: #f1f5e9; font-weight: 600; }
.metrics tr:last-child { font-weight: 700; }
.calculator-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.calculator-controls label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.calculator-controls input { min-height: 50px; width: 100%; border: 1px solid #8d9b91; border-radius: 8px; background: white; color: var(--ink); font: inherit; padding: 10px 14px; }
.calculator-controls input:invalid { border-color: #a32c25; outline-color: #a32c25; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.scenario-grid .table-frame { border-radius: 12px; }
.scenario-grid table { table-layout: fixed; }
.scenario-grid th { width: 60%; }
.scenario-grid td { width: 40%; }
.scenario-grid th, .scenario-grid td { height: 78px; padding: 18px; vertical-align: middle; }
.scenario-grid thead th { height: auto; }
.scenario-grid .scenario-before td { background: white; font-weight: 400; }
.scenario-caption { color: var(--muted); font-size: 13px; }
.table-summary { max-width: 700px; margin: 48px auto 24px; text-align: center; }
.summary-heading { display: block; margin-bottom: 18px; font-size: 22px; }
.summary-stat { display: block; padding: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); font-size: clamp(26px, 4.4vw, 48px); font-weight: 600; line-height: 1.25; letter-spacing: -.04em; }
.summary-arrow { display: block; font-size: 32px; padding: 8px; transform: rotate(90deg); }
.interrupt { background: var(--ink); color: var(--paper); padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); }
.interrupt .prose { max-width: 820px; }
.budget-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 36px; text-align: center; font-size: clamp(18px, 3vw, 32px); font-weight: 600; }
.budget-side::before { content: ''; display: block; width: 20px; height: 56px; margin: 0 auto 18px; background: var(--accent); clip-path: polygon(50% 0,100% 28%,68% 28%,68% 100%,32% 100%,32% 28%,0 28%); transform-origin: bottom; }
.budget-visual.is-visible .budget-side::before { animation: grow-arrow .7s ease-out both; }
.budget-visual.is-visible .budget-side:last-child::before { animation-delay: .14s; }
@keyframes grow-arrow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.presentation { margin-top: 56px; padding: clamp(28px, 5vw, 56px); background: #e4ddcb; border-radius: var(--radius); }
.presentation > div + div { margin-top: 20px; }
.presentation:has(img) { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.presentation img { border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; }
.guarantee { padding-top: 40px; border-top: 1px solid #9fac9d; }
.filter .prose { max-width: 700px; padding: 24px 28px; border: 1px solid #aab5a7; border-radius: 12px; background: var(--paper); font-size: 16px; }
.offer-list { list-style: none; padding: 0; margin: 0; counter-reset: benefits; }
.offer-list li { counter-increment: benefits; position: relative; padding: 30px 0 32px 90px; border-bottom: 1px solid var(--line); }
.offer-list li::before { content: counter(benefits, decimal-leading-zero); position: absolute; top: 25px; left: 0; font-size: 40px; letter-spacing: -.05em; color: #697b6b; }
.offer-list h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; }
.offer-list .benefit-description { color: var(--muted); font-size: 17px; }
.offer-list + div { margin-top: 32px; }
#garanzia .fit-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(30px, 4.5vw, 50px); text-align: left; }
#garanzia .fit-card { min-width: 0; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
#garanzia .fit-card h3 { margin: 0 0 26px; font-size: clamp(21px, 2.4vw, 27px); }
#garanzia .fit-card ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
#garanzia .fit-card li { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 0; font-size: 15px; line-height: 1.5; }
#garanzia .fit-marker { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; border-radius: 4px; }
#garanzia .fit-yes { border-color: rgba(220, 229, 138, .48); background: rgba(220, 229, 138, .1); box-shadow: 0 12px 26px rgba(0, 0, 0, .14); }
#garanzia .fit-yes h3 { color: var(--heading); }
#garanzia .fit-yes .fit-marker { background: var(--highlight); }
#garanzia .fit-no { border-color: var(--line); background: var(--paper); color: var(--muted); }
#garanzia .fit-no h3 { color: var(--muted); }
#garanzia .fit-no .fit-marker { border: 1.5px dashed var(--muted); }
#perche .table-frame {
  max-width: 1080px;
  margin: 32px auto 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-color: rgba(229, 221, 201, .28) transparent;
  scrollbar-width: thin;
}
#perche .table-frame::-webkit-scrollbar { height: 6px; }
#perche .table-frame::-webkit-scrollbar-track { background: transparent; }
#perche .table-frame::-webkit-scrollbar-thumb { border-radius: 100px; background: rgba(229, 221, 201, .28); }
#perche .comparison { min-width: 900px; table-layout: fixed; }
#perche .comparison th,
#perche .comparison td { padding: 23px 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; }
#perche .comparison thead th { padding-block: 25px; background: transparent; color: var(--muted); font-size: 16px; font-weight: 500; }
#perche .comparison thead th:first-child { width: 28%; }
#perche .comparison thead th:not(:first-child) { width: 24%; }
#perche .comparison th:nth-child(2),
#perche .comparison td:nth-child(2) {
  background: rgba(220, 229, 138, .1);
  color: var(--heading);
  font-weight: 600;
}
#perche .comparison tbody th { padding-left: 0; color: var(--muted); font-weight: 500; }
#perche .comparison tbody td:not(:nth-child(2)) { color: var(--muted); font-weight: 400; }
#perche .comparison tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); padding-block: 26px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: clamp(23px, 3vw, 32px); line-height: 1.3; font-weight: 600; padding: 8px 0; }
details .prose { padding-top: 22px; max-width: 780px; }
.cta { padding: var(--space) 0; background: var(--ink); color: var(--paper); }
.cta h2 { max-width: 960px; font-size: clamp(29px, 4vw, 49px); margin-bottom: 0; }
footer { padding-block: 36px; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.footer-brand { color: var(--heading); font-weight: 700; }
.footer-legal { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.footer-legal div { min-width: 0; }
.footer-legal dt { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-legal dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.footer-inner a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 819px) {
  #costo .cost-grid, #garanzia .fit-comparison { grid-template-columns: 1fr; }
  #costo .cost-grid { gap: 42px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .hero h1 { width: calc(100vw - 40px); }
  .nav { flex-wrap: wrap; gap: 18px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  .nav-cta { padding-inline: 12px; gap: 8px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 36px; }
  #problema .reading > .prose > ol { grid-template-columns: 1fr; }
  .scenario-grid { gap: 12px; }
  .scenario-grid th, .scenario-grid td { padding: 12px 8px; height: 92px; font-size: 13px; overflow-wrap: anywhere; }
  .scenario-grid th { width: 57%; }
  .scenario-grid td { width: 43%; white-space: normal; }
  .presentation:has(img) { grid-template-columns: 1fr; }
  .offer-list li { padding-left: 62px; }
  .offer-list li::before { font-size: 32px; }
  #perche .table-frame { width: calc(100% + 20px); max-width: none; margin-right: -20px; padding-right: 20px; }
  #perche .comparison { min-width: 820px; }
  #perche .comparison th, #perche .comparison td { padding: 19px 16px; font-size: 14px; }
  #perche .comparison thead th { font-size: 15px; }
  #perche .comparison tbody th { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #costo .cost-comparison { padding: 22px 14px; }
  #costo .cost-table th, #costo .cost-table td { padding: 16px 10px; }
  #costo .cost-indicator, #costo .cost-value, #costo .cost-input { font-size: 14px; }
  #costo .cost-input { width: 90px; }
}
@media (max-width: 430px) {
  .calculator-controls { grid-template-columns: 1fr; padding: 18px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid th, .scenario-grid td { height: auto; padding: 15px; font-size: 14px; }
  .result-card { padding: 24px; }
  .budget-visual { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .topbar, .skip, .calculator-controls { display: none; }
  .section, .hero, .cta { padding-block: 28px; }
  .table-frame { overflow: visible; }
  #perche .table-frame { width: 100%; margin-right: 0; padding-right: 0; }
  #perche .comparison { min-width: 0; }
  body { font-size: 12px; }
}
/* Scenario self-identification controls */
#risultato .lead-scenario-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 42px; }
#risultato .lead-scenario-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
#risultato .lead-scenario-button:hover { border-color: #8d9b91; background: #f6f8f4; transform: translateY(-2px); }
#risultato .lead-scenario-button:active { transform: translateY(0); }
#risultato .lead-scenario-button[aria-pressed="true"] { border-color: #8a4f2d; background: #f2e5d7; }
@media (max-width: 430px) { #risultato .lead-scenario-actions { gap: 10px; } #risultato .lead-scenario-button { flex: 1 1 100%; width: 100%; } }

#risultato .lead-scenario-result { margin: 44px auto 0; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .42s ease-out, transform .42s ease-out; }
#risultato .lead-scenario-result.is-visible { opacity: 1; transform: none; }
#risultato .lead-scenario-donut { --scenario-progress: 0deg; position: relative; display: grid; width: 112px; aspect-ratio: 1; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(#b76d12 0deg var(--scenario-progress), #dfe4dc var(--scenario-progress) 360deg); }
#risultato .lead-scenario-donut::before { position: absolute; inset: 11px; border-radius: 50%; background: var(--soft); content: ""; }
#risultato .lead-scenario-donut span { position: relative; font-size: 17px; font-weight: 700; line-height: 1; }
#risultato .lead-scenario-stat { margin: 0; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.35; }
#risultato .lead-scenario-updated { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* Dark site palette */
:root {
  color-scheme: dark;
  --heading: #FFFFFF;
  --ink: #E5DDC9;
  --muted: #D8D5CE;
  --paper: #141111;
  --surface: #161616;
  --soft: #161616;
  --line: rgba(229, 221, 201, .26);
  --accent: #E5DDC9;
  --highlight: #DCE58A;
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3, summary { color: var(--heading); }
.section:not(.soft), footer { background: #141111; }
.hero {
  background-color: #141111;
  background-image: linear-gradient(rgba(20, 17, 17, .48), rgba(20, 17, 17, .68)), url("assets/hero-background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section.soft { background: #161616; }
::selection { color: #141111; background: #E5DDC9; }
.button { border: 1px solid var(--line); background: #161616; color: #FFFFFF; }
.button:hover { background: #141111; }
.result-card,
#problema .reading > .prose > ol > li,
.table-frame,
.calculator-controls,
.presentation,
.filter .prose { border-color: var(--line); background: #161616; }
#problema .reading > .prose > ol > li:last-child,
thead th,
.metrics td:last-child,
.scenario-grid .scenario-before td,
.comparison th:nth-child(2),
.comparison td:nth-child(2) { background: #141111; }
.calculator-controls input { border-color: var(--line); background: #141111; color: #E5DDC9; }
.interrupt { background: #161616; color: #E5DDC9; }
.cta { background: #141111; color: #E5DDC9; }
.offer-list li::before { color: #D8D5CE; }
#risultato .lead-scenario-button { border-color: var(--line); background: #141111; color: #E5DDC9; }
#risultato .lead-scenario-button:hover { border-color: #E5DDC9; background: #161616; }
#risultato .lead-scenario-button[aria-pressed="true"] { border-color: #E5DDC9; background: #141111; color: #FFFFFF; }
#risultato .lead-scenario-donut::before { background: #161616; }
#risultato .lead-scenario-donut { background: conic-gradient(#E5DDC9 0deg var(--scenario-progress), rgba(216, 213, 206, .22) var(--scenario-progress) 360deg); }
body #spotlight-root > div { background: rgba(22, 22, 22, .76); }
body #spotlight-root .spotlight-card { border-color: var(--line); background: #161616; color: #E5DDC9; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
body #spotlight-root .spotlight-title { color: #DCE58A; }
body #spotlight-root .spotlight-description { color: #E5DDC9; }
.copy-section strong em { color: var(--highlight); }
#risultato .lead-scenario-steps strong { color: var(--highlight); }
#approccio .laugh { color: var(--highlight); font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .08em; }

/* Calcolatore CRO */
#costo .cost-subtitle { max-width: 760px; margin: -12px auto 0; color: rgba(20, 17, 17, .74); font-size: clamp(20px, 2.5vw, 29px); font-weight: 600; line-height: 1.35; text-wrap: balance; }
#costo .cro-calculator { margin: clamp(36px, 6vw, 64px) 0 40px; color: var(--paper); text-align: left; }
#costo .cro-calculator [hidden] { display: none !important; }
#costo #cro-calculator { max-width: 780px; margin-inline: auto; padding: clamp(24px, 5vw, 48px); border: 1px solid rgba(229, 221, 201, .24); border-radius: var(--radius); background: var(--paper); box-shadow: 0 22px 55px rgba(20, 17, 17, .16); color: var(--ink); }
#costo .cro-progress-wrap { margin-bottom: clamp(34px, 5vw, 52px); }
#costo .cro-progress { margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#costo .cro-progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(229, 221, 201, .18); }
#costo .cro-progress-track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--highlight); transition: width .25s ease-out; }
#costo .cro-step-number { margin: 0 0 12px; color: var(--highlight); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#costo .cro-step h3 { max-width: 650px; margin: 0 0 34px; color: var(--heading); font-size: clamp(27px, 4vw, 42px); }
#costo .cro-field { display: grid; gap: 10px; max-width: 560px; }
#costo .cro-field > label { color: var(--ink); font-size: 15px; font-weight: 650; }
#costo .cro-field input[type="number"] { width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--heading); font: inherit; font-variant-numeric: tabular-nums; }
#costo .cro-field input[type="number"]:focus-visible { border-color: var(--highlight); outline: 3px solid rgba(220, 229, 138, .3); outline-offset: 2px; }
#costo .cro-field input[aria-invalid="true"] { border-color: #ffb4ab; }
#costo .cro-input-with-unit { position: relative; }
#costo .cro-input-with-unit input { padding-right: 48px; }
#costo .cro-input-with-unit > span { position: absolute; top: 50%; right: 17px; color: var(--muted); font-size: 15px; font-weight: 700; transform: translateY(-50%); pointer-events: none; }
#costo .cro-error { margin: 0; color: #ffb4ab; font-size: 14px; line-height: 1.45; }
#costo .cro-fallback { max-width: 560px; margin: 22px 0 0; padding: 18px 20px; border-left: 4px solid var(--highlight); background: rgba(220, 229, 138, .08); color: var(--ink); font-size: 15px; }
#costo .cro-choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; margin: 0 0 28px; padding: 0; border: 0; }
#costo .cro-choice-legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--muted); font-size: 14px; font-weight: 650; }
#costo .cro-choice-group label { position: relative; min-width: 0; cursor: pointer; }
#costo .cro-choice-group input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#costo .cro-choice-group span { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; text-align: center; transition: border-color .2s, background .2s, color .2s; }
#costo .cro-choice-group input:checked + span { border-color: var(--highlight); background: var(--highlight); color: var(--paper); }
#costo .cro-choice-group input:focus-visible + span { outline: 3px solid rgba(220, 229, 138, .4); outline-offset: 3px; }
#costo .cro-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 42px; }
#costo .cro-actions-end { justify-content: flex-end; }
#costo .cro-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid var(--highlight); border-radius: 999px; background: var(--highlight); color: var(--paper); cursor: pointer; font: inherit; font-size: 15px; font-weight: 750; transition: background .2s, color .2s, transform .2s; }
#costo .cro-button:hover { background: #edf3b8; transform: translateY(-2px); }
#costo .cro-button:active { transform: none; }
#costo .cro-button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
#costo .cro-button-secondary:hover { border-color: var(--ink); background: var(--surface); color: var(--heading); }
#costo .cro-results { outline: 0; }
#costo .cro-results > h3 { margin: 0 0 36px; color: var(--paper); font-size: clamp(30px, 4vw, 48px); text-align: center; }
#costo .cro-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
#costo .cro-result-card { min-width: 0; }
#costo .cro-result-card > h4,
#costo .cro-differences > h4 { min-height: 2.7em; margin: 0 0 18px; color: var(--paper); font-size: clamp(18px, 2vw, 22px); line-height: 1.35; letter-spacing: .08em; }
#costo .cro-result-card .cost-table-wrap { height: auto; }
#costo .cro-result-card .cost-table th,
#costo .cro-result-card .cost-table td { height: 66px; padding: 14px 16px; }
#costo .cro-result-card .cost-table tbody th:first-child { width: 62%; }
#costo .cro-result-card .cost-table td { width: 38%; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#costo .cro-result-card-future .cost-table-wrap { border-color: rgba(220, 229, 138, .58); }
#costo .cro-uplift-control { margin-bottom: 18px; padding: 20px; border: 1px solid rgba(229, 221, 201, .24); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
#costo .cro-uplift-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
#costo .cro-uplift-heading label { font-size: 14px; font-weight: 650; }
#costo .cro-uplift-heading output { color: var(--highlight); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
#costo #cro-uplift { width: 100%; min-height: 44px; margin: 10px 0 0; accent-color: var(--highlight); cursor: pointer; }
#costo .cro-uplift-limits { display: flex; justify-content: space-between; margin-top: -7px; color: var(--muted); font-size: 12px; }
#costo .cro-rate-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
#costo .cro-rate-preview p { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }
#costo .cro-rate-preview strong { display: block; margin-top: 3px; color: var(--heading); font-size: 17px; font-variant-numeric: tabular-nums; }
#costo .cro-differences { margin-top: clamp(36px, 6vw, 64px); }
#costo .cro-differences > h4 { min-height: 0; text-align: center; }
#costo .cro-differences dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; }
#costo .cro-differences dl > div { min-width: 0; padding: 20px 16px; border: 1px solid rgba(229, 221, 201, .24); border-radius: 14px; background: var(--paper); color: var(--ink); text-align: center; }
#costo .cro-differences dt { min-height: 3.2em; color: var(--muted); font-size: 13px; line-height: 1.35; }
#costo .cro-differences dd { margin: 12px 0 0; color: var(--highlight); font-size: clamp(18px, 2.3vw, 25px); font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#costo .cro-disclaimer { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; padding: 28px 0 0; border: 0; border-top: 1px solid rgba(20, 17, 17, .32); border-radius: 0; background: transparent; color: var(--paper); box-shadow: none; }
#costo .cro-disclaimer h4 { max-width: 720px; margin: 0 0 18px; color: var(--paper); font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; letter-spacing: -.01em; }
#costo .cro-disclaimer p { max-width: 760px; margin: 0 0 14px; color: rgba(20, 17, 17, .8); font-size: 14px; line-height: 1.65; }
#costo .cro-disclaimer p:last-child { margin-bottom: 0; }
#costo .cost-transition { max-width: 820px; margin: clamp(56px, 8vw, 88px) auto 0; text-align: center; }
#costo .cost-transition > p:first-child { margin: 0 0 16px; color: rgba(20, 17, 17, .78); font-size: clamp(17px, 1.8vw, 20px); font-weight: 650; }
#costo .cost-transition-question { margin: 0; color: var(--paper); font-size: clamp(25px, 3.4vw, 42px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 980px) {
  #costo .cro-differences dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #costo .cro-differences dl > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 819px) {
  #costo .cro-result-grid { grid-template-columns: 1fr; gap: 42px; }
  #costo .cro-result-card > h4 { min-height: 0; }
}
@media (max-width: 560px) {
  #costo #cro-calculator { padding: 24px 18px; }
  #costo .cro-choice-group { grid-template-columns: 1fr; }
  #costo .cro-actions { margin-top: 34px; }
  #costo .cro-button { flex: 1 1 0; padding-inline: 16px; }
  #costo .cro-actions-end .cro-button { flex: 0 1 100%; }
  #costo .cro-rate-preview { grid-template-columns: 1fr; }
  #costo .cro-differences dl { grid-template-columns: 1fr; }
  #costo .cro-differences dl > div:last-child { grid-column: auto; }
  #costo .cro-differences dt { min-height: 0; }
  #costo .cro-result-card .cost-table th,
  #costo .cro-result-card .cost-table td { height: auto; padding: 14px 10px; font-size: 13px; }
  .footer-legal { grid-template-columns: 1fr; }
}
