/* Diakov · pagina «Privacy, cookie e note». Stessa lingua della home: inchiostro, Oswald, mono, grana, un solo accento. */
@font-face { font-family: 'Oswald'; src: url('oswald-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrainsMono'; src: url('jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

html, body.dkv-doc-pagina { background: #0a0d12; }
body.dkv-doc-pagina { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.dkv-doc, .dkv-doc *, .dkv-doc *::before, .dkv-doc *::after { margin: 0; padding: 0; box-sizing: border-box; }
.dkv-doc {
  --ink: #0a0d12; --paper: #faf8f5; --accent: #b8621a; --accent-lift: #d9955c;
  --text: rgba(250, 248, 245, 0.78); --mute: rgba(250, 248, 245, 0.5); --line: rgba(250, 248, 245, 0.12);
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrainsMono', ui-monospace, 'Courier New', monospace;
  --gutter: clamp(20px, 6vw, 96px);
  position: relative; isolation: isolate; min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(184, 98, 26, 0.10), transparent 70%),
    var(--ink);
  color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding: 0 var(--gutter);
}
.dkv-doc__grain {
  position: fixed; inset: -6%; z-index: -1; pointer-events: none; opacity: 0.10;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 120px 120px;
}
.dkv-doc a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(184, 98, 26, 0.7); text-underline-offset: 3px; transition: color .25s ease; }
.dkv-doc a:hover, .dkv-doc a:focus-visible { color: var(--accent-lift); }
.dkv-doc a:focus-visible { outline: 1px solid var(--accent-lift); outline-offset: 3px; }

/* testata */
.dkv-doc__testa { display: flex; align-items: center; justify-content: space-between; padding: clamp(24px, 4vh, 40px) 0; max-width: 1200px; margin: 0 auto; }
.dkv-doc__logo { display: block; line-height: 0; }
.dkv-doc__logo img { display: block !important; width: clamp(110px, 11vw, 150px) !important; height: auto !important; max-width: none !important; }
.dkv-doc .dkv-doc__torna { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.dkv-doc .dkv-doc__torna:hover { color: var(--paper); }

/* corpo */
.dkv-doc__corpo { max-width: 760px; margin: 0 auto; padding: clamp(40px, 9vh, 110px) 0 clamp(56px, 10vh, 120px); }
.dkv-doc__etichetta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.dkv-doc__punto { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.dkv-doc__titolo {
  margin-top: 22px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(42px, 8vw, 96px); line-height: .98; letter-spacing: -.01em; color: var(--paper);
  text-shadow: 0 0 40px rgba(0, 0, 0, .5);
}
.dkv-doc__titolo span { color: var(--accent); }
.dkv-doc__lead { margin-top: clamp(24px, 4vh, 36px); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: rgba(250, 248, 245, .88); max-width: 40em; }

/* indice */
.dkv-doc__indice { margin-top: clamp(40px, 7vh, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.dkv-doc__indice ol { list-style: none; columns: 2; column-gap: 32px; counter-reset: voce; }
.dkv-doc__indice li { counter-increment: voce; break-inside: avoid; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 2.1; }
.dkv-doc__indice li::before { content: counter(voce, decimal-leading-zero); color: var(--accent); margin-right: 12px; }
.dkv-doc .dkv-doc__indice a { color: var(--mute); text-decoration: none; }
.dkv-doc .dkv-doc__indice a:hover { color: var(--paper); }

/* sezioni */
.dkv-doc__sez { padding-top: clamp(48px, 8vh, 80px); scroll-margin-top: 24px; }
.dkv-doc__sez h2 {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.005em; color: var(--paper);
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.dkv-doc__num { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; color: var(--accent); transform: translateY(-.4em); }
.dkv-doc__sez h3 { margin: 26px 0 8px; font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-lift); }
.dkv-doc__sez p + p { margin-top: 14px; }
.dkv-doc__sez ul { list-style: none; margin: 18px 0; display: grid; gap: 12px; }
.dkv-doc__sez li { position: relative; padding-left: 26px; }
.dkv-doc__sez li::before { content: ''; position: absolute; left: 0; top: .82em; width: 12px; height: 1px; background: var(--accent); }
.dkv-doc strong { font-weight: 400; color: var(--paper); }
.dkv-doc__rilievo { margin-top: 22px !important; padding: 18px 22px; border-left: 2px solid var(--accent); background: rgba(250, 248, 245, .03); color: var(--paper); }
.dkv-doc__optout { margin: 18px 0; }
.dkv-doc__optout:empty { display: none; }
.dkv-doc__optout, .dkv-doc__optout * { font-family: var(--f-body) !important; font-size: 15px !important; color: var(--text) !important; }
.dkv-doc__optout input[type="checkbox"] { accent-color: var(--accent); margin-right: 8px; }

.dkv-doc__norme { margin-top: 24px; display: grid; gap: 14px; }
.dkv-doc__norme div { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.dkv-doc__norme dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--paper); padding-top: 3px; }

/* piede */
.dkv-doc__piede { max-width: 760px; margin: 0 auto; padding: 36px 0 clamp(40px, 7vh, 64px); border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.dkv-doc__firma { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; color: var(--paper); margin-bottom: 6px; }

@media (max-width: 600px) {
  .dkv-doc { font-size: 16px; }
  .dkv-doc__indice ol { columns: 1; }
  .dkv-doc__norme div { grid-template-columns: 1fr; gap: 4px; }
}
