/* Palette del sito: modifica queste variabili per cambiare i colori. */
:root {
  color-scheme: dark;
  --background: #080a0a;
  --surface: #0e1111;
  --text: #f3f3ec;
  --muted: #b1b6b3;
  --secondary: #969e99;
  --gold: #e7c17b;
  --gold-hover: #f2d49e;
  --line: #272e2b;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--background); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, iframe:focus-visible { outline: 3px solid var(--gold-hover); outline-offset: 6px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; transform: translateY(-160%); background: var(--gold); color: #11150f; padding: 12px 20px; border-radius: 4px; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; }
.brand-image { width: 52px; height: 52px; flex-shrink: 0; object-fit: contain; border: 1px solid #282820; border-radius: 7px; }
.brand-wordmark { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand-wordmark > :first-child { font-size: 1.3rem; font-weight: 700; letter-spacing: .18em; }
.brand-wordmark > :last-child { color: var(--gold); font-size: .6875rem; font-weight: 600; letter-spacing: .2em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 54px; padding: 14px 23px; border: 1px solid transparent; border-radius: 6px; font-size: 1rem; font-weight: 600; line-height: 1.35; text-decoration: none; text-align: center; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button--outline { border-color: #665738; color: var(--gold); }
.button--outline:hover { background: #201e16; border-color: var(--gold); }
.button--gold { background: var(--gold); color: #14170f; box-shadow: 0 2px 2px #0002; }
.button--gold:hover { background: var(--gold-hover); box-shadow: 0 3px 16px #e7c17b18; }
.header-cta { min-height: 46px; padding: 11px 18px; font-size: .875rem; }
.header-cta .icon { width: 18px; height: 18px; }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 32px; padding-block: 65px 68px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; line-height: 1.5; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: var(--gold); flex-shrink: 0; }
h1 { max-width: 620px; font-size: clamp(2.75rem, 4.65vw, 4.125rem); line-height: 1.08; letter-spacing: -.055em; text-wrap: initial; }
.hero-instrument { display: block; color: var(--gold); margin-bottom: 6px; }
.hero-description { max-width: 510px; margin-top: 25px; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
.text-link { color: #d3d8d2; font-size: .875rem; line-height: 1.5; text-underline-offset: 5px; text-decoration-color: #647067; transition: color .18s ease; }
.text-link:hover { color: var(--gold); text-decoration-color: var(--gold); }
.hero-art { position: relative; width: 100%; align-self: center; padding: 4px; }
.hero-art img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 2px; }
.art-corner { position: absolute; width: 24px; height: 24px; pointer-events: none; opacity: .55; }
.art-corner--top { top: 0; right: 0; border-top: 1px solid #81704c; border-right: 1px solid #81704c; }
.art-corner--bottom { bottom: 0; left: 0; border-bottom: 1px solid #81704c; border-left: 1px solid #81704c; }

.results-section { background: var(--surface); border-block: 1px solid var(--line); padding-block: 56px 36px; scroll-margin-top: 20px; }
.results-section h2 { margin-top: 12px; font-size: clamp(1.6rem, 2.7vw, 2.125rem); line-height: 1.25; letter-spacing: -.035em; text-align: left; }
.metrics { display: grid; grid-template-columns: 1.18fr 1fr .82fr; margin-top: 38px; }
.metric { min-width: 0; padding-inline: 38px; border-left: 1px solid #32382d; display: flex; flex-direction: column; }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric:last-child { padding-right: 0; }
.metric dt { order: 2; margin-top: 11px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.metric dd { color: var(--gold); font-size: clamp(2.5rem, 4.7vw, 4.125rem); font-weight: 500; line-height: 1.05; letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric:last-child dd { color: var(--text); }
.results-note { max-width: 890px; margin-top: 30px; color: var(--secondary); font-size: .8125rem; line-height: 1.7; }
.history { display: flex; align-items: flex-start; gap: 19px; margin-top: 35px; padding-top: 27px; border-top: 1px solid var(--line); }
.history-icon { display: flex; justify-content: center; align-items: center; width: 46px; height: 50px; flex-shrink: 0; border: 1px solid #3a3b2f; border-radius: 5px; color: var(--gold); }
.history h3 { margin-block: 1px 6px; font-size: 1.125rem; line-height: 1.4; letter-spacing: -.02em; }
.history p { color: var(--secondary); font-size: .9375rem; line-height: 1.6; }
.history-copy { min-width: 0; width: 100%; }
.report-link { display: inline-flex; margin-top: 10px; color: var(--gold); text-underline-offset: 5px; }
.report-preview { display: block; width: 100%; height: 600px; margin-top: 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.report-image { width: 100%; margin-top: 20px; border-radius: 6px; }

.channel-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; padding-block: 63px; }
.channel-heading h2 { max-width: 460px; margin-top: 15px; font-size: clamp(1.8rem, 3.1vw, 2.5rem); line-height: 1.2; letter-spacing: -.04em; text-wrap: initial; }
.channel-description { color: var(--muted); font-size: 1.0625rem; line-height: 1.85; border-left: 1px solid #665738; padding-left: 31px; }

.invitation { padding-bottom: 58px; }
.invitation-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border: 1px solid #51462d; border-radius: 10px; background: linear-gradient(110deg, #1b1b12, #111410 70%); }
.invitation-copy { max-width: 610px; }
.invitation h2 { max-width: 570px; font-size: clamp(1.6rem, 2.65vw, 2.125rem); line-height: 1.2; letter-spacing: -.035em; text-wrap: initial; }
.invitation p { color: var(--muted); font-size: 1rem; margin-top: 13px; line-height: 1.7; }
.invitation .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 55px; padding-block: 27px 30px; }
.footer-brand { font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.footer-note { max-width: 745px; color: var(--secondary); font-size: .8125rem; line-height: 1.75; }

@media (min-width: 1450px) {
  .hero { padding-block: 76px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 20px; padding-block: 52px; }
  h1 { font-size: clamp(2.5rem, 4.9vw, 3.5rem); }
  .hero-description { font-size: 1rem; }
  .metric { padding-inline: 27px; }
  .channel-section { gap: 45px; }
  .invitation-inner { padding: 32px; }
  .invitation .button { max-width: 260px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr 0.8fr; gap: 12px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .09em; }
  .eyebrow-line { display: none; }
  h1 { font-size: 2.75rem; }
  .hero-art { padding: 0; }
  .hero-description { margin-top: 21px; }
  .metrics { grid-template-columns: 1.2fr 1fr .8fr; }
  .metric { padding-inline: 20px; }
  .metric dd { font-size: 2.5rem; }
  .metric dt { font-size: .875rem; }
  .channel-section { gap: 32px; }
  .channel-description { padding-left: 24px; font-size: 1rem; }
  .invitation-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
  .invitation .button { max-width: none; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-image { width: 37px; height: 37px; border-radius: 4px; }
  .brand-wordmark { gap: 5px; }
  .brand-wordmark > :first-child { font-size: .9375rem; letter-spacing: .14em; }
  .brand-wordmark > :last-child { font-size: .5625rem; letter-spacing: .1em; }
  .header-cta { max-width: 170px; min-height: 44px; padding: 10px 12px; font-size: .875rem; }
  .header-cta .icon { display: none; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 37px 35px; }
  .hero .eyebrow { margin-bottom: 19px; font-size: .75rem; letter-spacing: .09em; }
  h1 { max-width: 520px; font-size: clamp(2.25rem, 9.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
  .hero-instrument { margin-bottom: 6px; }
  .hero-description { max-width: 510px; margin-top: 23px; font-size: 1rem; line-height: 1.75; }
  .hero-actions { gap: 16px; margin-top: 25px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .hero-art { width: min(100%, 300px); margin-inline: auto; }
  .art-corner { width: 18px; height: 18px; }
  .results-section { padding-block: 37px 28px; }
  .eyebrow { font-size: .75rem; }
  .results-section h2 { max-width: 340px; margin-top: 12px; font-size: 1.75rem; }
  .metrics { grid-template-columns: 1fr 1fr; row-gap: 24px; margin-top: 28px; }
  .metric { padding-inline: 22px 0; }
  .metric:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
  .metric:nth-child(2) { border-left: 0; padding-left: 0; }
  .metric dd { font-size: clamp(2rem, 8.9vw, 3rem); }
  .metric:first-child dd { font-size: clamp(3.2rem, 14vw, 4rem); }
  .metric dt { margin-top: 10px; font-size: .875rem; }
  .metric:first-child dt { font-size: 1rem; }
  .results-note { margin-top: 25px; font-size: .8125rem; }
  .history { gap: 13px; margin-top: 27px; padding-top: 24px; }
  .history-icon { width: 35px; height: 41px; }
  .history-icon .icon { width: 19px; height: 19px; }
  .history h3 { font-size: 1.0625rem; line-height: 1.45; }
  .history p { font-size: .875rem; }
  .report-preview { height: 430px; }
  .channel-section { grid-template-columns: 1fr; gap: 22px; padding-block: 40px; }
  .channel-heading h2 { max-width: 370px; margin-top: 12px; font-size: 1.9rem; }
  .channel-description { padding-left: 18px; line-height: 1.8; }
  .invitation { padding-bottom: 38px; }
  .invitation-inner { gap: 24px; padding: 27px 22px; }
  .invitation h2 { font-size: 1.75rem; }
  .invitation p { margin-top: 15px; }
  .invitation .button { width: 100%; padding-inline: 12px; }
  .footer-inner { padding-block: 24px 28px; gap: 13px; }
  .footer-note { font-size: .8125rem; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-image { width: 31px; height: 31px; }
  .brand { gap: 7px; }
  .brand-wordmark > :first-child { font-size: .8125rem; }
  .brand-wordmark > :last-child { font-size: .5rem; }
  .header-cta { max-width: 148px; padding-inline: 8px; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .055em; }
  .button { gap: 8px; padding-inline: 13px; }
  .button .icon { width: 19px; height: 19px; }
  .invitation-inner { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root { color-scheme: light; --background: #fff; --surface: #fff; --text: #111; --muted: #444; --secondary: #444; --gold: #73500e; --line: #bbb; }
  .container { width: 100%; }
  .hero, .channel-section { padding-block: 25px; }
  .button { background: transparent; color: #111; border: 1px solid #777; }
  .invitation-inner { background: transparent; }
  .skip-link { display: none; }
}
