/* Stili semplici per pagine legali (coerenti con homepage dark) */
:root {
  color-scheme: dark;
  --bg: #000;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.site {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

main {
  flex: 1;
  padding: 28px 0 40px;
}

.prose {
  max-width: 82ch;
}

h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}

h3 {
  font-size: 14px;
  margin: 16px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 18px;
  margin: 10px 0;
}

.meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}

.footer-inner {
  display: grid;
  gap: 6px;
}

.footer-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.footer-line a {
  color: inherit;
  text-decoration: none;
}

.footer-line a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sep {
  padding: 0 6px;
  opacity: 0.7;
}
