@font-face { font-family: "Inter Tight"; src: url("font/inter-tight-variable.woff") format("woff"); font-weight: 100 900; font-display: swap; }
:root { --ink: #111; --paper: #fff; --soft: rgba(17, 17, 17, .55); --line: rgba(17, 17, 17, .12); --gutter: clamp(16px, 2.2vw, 32px); color-scheme: light; }

html.tema-scuro { --ink: #f4f3ef; --paper: #0b0b0c; --soft: rgba(244, 243, 239, .55); --line: rgba(244, 243, 239, .14); color-scheme: dark; }
html.tema-scuro .top img { filter: brightness(0) invert(1); }
html.tema-scuro .top { background: linear-gradient(var(--paper) 60%, rgba(11, 11, 12, 0)); }
html.tema-scuro .bozza { background: #f4f3ef; color: #111; }
html.tema-scuro .da-confermare { background: rgba(242, 201, 76, .22); }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }

.top { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); background: linear-gradient(var(--paper) 60%, rgba(255, 255, 255, 0)); }
.top img { display: block; width: 100px; filter: brightness(0); }
.top .link { font-size: .9rem; text-decoration: none; }
.top .link:hover { text-decoration: underline; }

main { padding: calc(var(--gutter) + 120px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); max-width: 92rem; margin: 0 auto; }
.etichetta { margin: 0 0 1rem; font-size: clamp(1rem, 1.25vw, 1.25rem); font-weight: 500; letter-spacing: -.005em; }
h1 { margin: 0; max-width: 14em; font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.sotto { margin: 1.6rem 0 0; max-width: 34em; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.35; letter-spacing: -.01em; color: var(--soft); text-wrap: pretty; }
.bozza { display: inline-flex; align-items: center; gap: .55em; margin: 2rem 0 0; padding: .5em .9em; border-radius: 999px; background: #111; color: #fff; font-size: .78rem; letter-spacing: .02em; }
.bozza::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #f2c94c; }

.voci { margin: clamp(3.5rem, 9vw, 7rem) 0 0; padding: 0; list-style: none; counter-reset: voce; }
.voce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem clamp(1.5rem, 5vw, 6rem); padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line); counter-increment: voce; }
.voce h2 { margin: 0; font-size: .72rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.voce h2::before { content: counter(voce, decimal-leading-zero); display: block; margin-bottom: .5rem; font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.testo { min-width: 0; max-width: 38em; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.5; letter-spacing: -.005em; }
.testo p { margin: 0 0 .9em; }
.testo p:last-child, .testo ul:last-child { margin-bottom: 0; }
.testo ul { margin: 0 0 .9em; padding: 0; list-style: none; }
.testo li { position: relative; margin: 0 0 .7em; padding-left: 1.4em; }
.testo li::before { content: "—"; position: absolute; left: 0; color: var(--soft); }
.testo strong { font-weight: 600; }
.da-confermare { background: #fff3c4; padding: 0 .2em; }

.legal { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: clamp(4rem, 10vw, 8rem) 0 0; padding: var(--gutter) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--gutter) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); font-size: .9rem; }
.legal span { margin-right: auto; }
.legal a { text-decoration: none; }
.legal a:hover, .legal a[aria-current] { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .etichetta, h1, .sotto, .bozza { animation: sale .9s cubic-bezier(.2, .7, .2, 1) both; }
  h1 { animation-delay: .08s; }
  .sotto, .bozza { animation-delay: .16s; }
  .voce { animation: sale .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.24s + var(--i, 0) * .05s); }
  @keyframes sale { from { opacity: 0; transform: translateY(.5em); filter: blur(4px); } }
}
@media (max-width: 700px) {
  .top img { width: 84px; }
  main { padding-top: calc(var(--gutter) + 96px); }
  .voce { grid-template-columns: 1fr; }
  .legal span { width: 100%; }
}
