
:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #1f2430;
  --color-text-muted: #6b7280;
  --color-primary: #2f6fed;
  --color-border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 2.5rem 1.25rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  font-size: 16px;
  display: flex;
  justify-content: center;
}

.page,
body > * {
  max-width: 780px;
  width: 100%;
}


main,
.page {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2.75rem;
  border: 1px solid var(--color-border);
}


a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

body > p:first-of-type,
p:has(> a):first-child {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Titolo principale */
h1 {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

/* Sottotitolo (es. "General Conditions") */
h1 + p,
h2 {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

/* Data di aggiornamento */
em,
.updated {
  display: inline-block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

/* Paragrafi di testo */
p {
  margin: 0 0 1.1rem;
  color: var(--color-text);
}

/* Blocco indirizzo / contatti finale
p:last-child {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
 */
/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 1.25rem 0.75rem;
  }
  main,
  .page {
    padding: 1.75rem 1.5rem;
    border-radius: 10px;
  }
  h1 {
    font-size: 1.5rem;
  }
}

