/* Pagine legali di ANDIAMO?: stessa carta e stessi caratteri del sito, testo comodo da leggere */
@font-face { font-family: "Patrick Hand"; src: url("fonts/patrick-hand-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f5f3ee; --ink: #1d1b18; --ink-2: #5f5a50; --line: #ddd6c6; --accent: #ee5d12; --panel: #fbf9f4;
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='a' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .2 .7 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url%28%23a%29'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background-color: var(--bg); background-image: var(--paper); color: var(--ink);
  font: 400 17px/1.6 Figtree, system-ui, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.logo { font: 400 28px/1 "Patrick Hand", cursive; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.logo b { color: var(--accent); font-weight: 400; }
.back {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1.5px solid var(--ink);
  border-radius: 10px; background: var(--panel); color: var(--ink); text-decoration: none;
  font: 400 16px/1 "Patrick Hand", cursive; text-transform: uppercase; letter-spacing: .04em;
}
.back:hover { background: var(--ink); color: #fff; }
.card { background: var(--panel); border: 1.5px solid var(--ink); border-radius: 16px; padding: 28px 28px 20px; }
h1 { font: 400 40px/1.1 "Patrick Hand", cursive; margin: 0 0 6px; }
.updated { color: var(--ink-2); font-size: 14px; margin: 0 0 22px; }
h2 { font: 400 25px/1.2 "Patrick Hand", cursive; margin: 30px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { margin: 0 0 10px; }
ul { padding-left: 22px; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: rgba(29, 27, 24, .04); }
code { font-size: 14px; background: rgba(29, 27, 24, .06); padding: 1px 5px; border-radius: 4px; }
.box { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 14px 0; }
.foot { margin-top: 26px; color: var(--ink-2); font-size: 13px; text-align: center; }
.foot a { color: var(--ink-2); margin: 0 6px; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 16px 12px 48px; }
  .card { padding: 20px 16px 12px; border-radius: 14px; }
  h1 { font-size: 32px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
}
