/* Sezione Note: stesso design system della home (monocromo, Instrument Sans, raggio zero). */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/fonts/instrument-sans-latin-wght.woff2") format("woff2-variations"), url("/assets/fonts/instrument-sans-latin-wght.woff2") format("woff2");
}
:root {
  --fg: hsl(0 0% 8%);
  --fg-2: hsl(0 0% 8% / .72);
  --fg-3: hsl(0 0% 8% / .6);
  --bg: hsl(0 0% 100%);
  --rule: hsl(0 0% 90%);
  --rule-strong: hsl(0 0% 8% / .4);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
@media (hover: hover) { a:hover { opacity: .6; } }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.nav, .footer, .wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(24px, 5vw, 40px); }
.nav { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav-nome { font-weight: 500; letter-spacing: -.01em; }
.nav-voci { display: flex; gap: 28px; }
.nav-voci a[aria-current="page"] { border-bottom: 1px solid var(--fg); }

.wrap { padding-block: clamp(32px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.testata, .nota, .contatto, .altre, .elenco { max-width: 720px; }

.briciole, .etichetta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 24px; }
.briciole a { text-decoration: none; }

h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
.risposta { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; letter-spacing: -.01em; color: var(--fg-2); margin: 28px 0 0; }
.meta { font-size: 14px; color: var(--fg-3); margin: 28px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }

.testo { font-size: 18px; line-height: 1.7; }
.testo h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 56px 0 16px; }
.testo h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin: 36px 0 8px; }
.testo p, .testo ul, .testo ol { margin: 0 0 20px; color: var(--fg-2); }
.testo strong { color: var(--fg); font-weight: 600; }
.testo ul, .testo ol { padding-left: 1.2em; }
.testo li { margin-bottom: 10px; padding-left: .2em; }
.testo a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.testo blockquote { margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--fg); font-size: 21px; color: var(--fg); }

.testo table { width: 100%; border-collapse: collapse; margin: 28px 0 32px; font-size: 15px; line-height: 1.45; }
.testo th { text-align: left; font-weight: 600; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule-strong); vertical-align: bottom; }
.testo td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); color: var(--fg-2); vertical-align: top; }
.testo td:first-child, .testo th:first-child { width: 50%; }
.testo hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0 24px; }
.autore { margin-top: 48px; padding: 20px 0 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.autore p { margin: 0; }
.autore strong { color: var(--fg); font-weight: 600; }
.contatto { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule-strong); }
.contatto p { font-size: 18px; line-height: 1.55; color: var(--fg-2); margin: 0 0 20px; }
.bottone { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--fg); color: var(--bg); text-decoration: none; font-size: 15px; font-weight: 500; }

.temi { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; font-size: 15px; }
.temi a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }

.elenco { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--rule-strong); }
.elenco li { border-bottom: 1px solid var(--rule); }
.elenco a { display: flex; flex-direction: column; gap: 6px; padding: 22px 0 24px; text-decoration: none; }
.elenco .etichetta { margin: 0; }
.elenco-titolo { font-size: clamp(20px, 2.2vw, 24px); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.elenco-titolo::after { content: " →"; opacity: .35; }
.elenco-desc { font-size: 15px; line-height: 1.5; color: var(--fg-2); }
@media (hover: hover) { .elenco a:hover { opacity: 1; } .elenco a:hover .elenco-titolo { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; } }

.altre { margin-top: 64px; }
.altre .elenco { margin-top: 16px; }

.footer { display: flex; justify-content: space-between; padding-block: 40px; font-size: 12px; color: var(--fg-3); }
.footer a { text-decoration: none; }

@media print { .nav, .footer, .contatto, .altre { display: none; } }
