:root {
  --ink: #30251f;
  --ivory: #fffaf5;
  --ivory-2: #f6e9df;
  --copper: #c77d67;
  --copper-2: #dda18e;
  --line: rgba(48, 37, 31, .14);
  --serif: 'Italiana', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
body { font-family: var(--sans); background: var(--ivory); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Barra di navigazione semplice ---- */
.legal-nav { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: rgba(255, 250, 245, .9); backdrop-filter: blur(12px); }
.legal-nav .brand { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.legal-nav .back { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---- Contenuto legale ---- */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad) 5rem; }
.legal-wrap .kicker { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); margin-bottom: 1rem; }
.legal-wrap h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: .6rem; }
.legal-wrap .updated { font-size: .8rem; color: rgba(48, 37, 31, .5); margin-bottom: 2.5rem; }
.legal-wrap h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 2.6rem 0 .6rem; }
.legal-wrap p, .legal-wrap li { font-size: .95rem; color: rgba(48, 37, 31, .82); }
.legal-wrap p { margin-top: .6rem; }
.legal-wrap ul { margin: .6rem 0 0 1.1rem; }
.legal-wrap li { margin-bottom: .4rem; }
.legal-wrap .note { background: var(--ivory-2); border-left: 3px solid var(--copper); padding: 1rem 1.2rem; font-size: .85rem; margin: 1.6rem 0; color: rgba(48, 37, 31, .7); }
.legal-wrap address { font-style: normal; }

.legal-foot { border-top: 1px solid var(--line); padding: 2rem var(--pad); text-align: center; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: rgba(48, 37, 31, .45); }
.legal-foot a { color: inherit; }

/* ---- Pagina 404 ---- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 2rem; background: #f3dfd4; }
.notfound .code { font-family: var(--serif); font-size: clamp(7rem, 22vw, 16rem); line-height: .85; color: var(--copper); }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 5vw, 3rem); margin: .5rem 0 1rem; }
.notfound p { max-width: 420px; margin: 0 auto 2rem; color: rgba(48, 37, 31, .62); }
.notfound .actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.notfound .actions a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--copper); transition: transform .25s; }
.notfound .actions a:hover { transform: translateY(-2px); text-decoration: none; }
.notfound .actions .solid { background: var(--copper); color: #fff; }
.notfound .actions .ghost { color: var(--ink); border-color: rgba(48, 37, 31, .25); }
