/* Stylesheet condiviso per le pagine secondarie (privacy, termini, crediti).
   Mantiene la stessa palette neutra dell'app principale. */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: #111827;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.page-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 20px;
}
.page-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; line-height: 0;
  text-decoration: none;
}
.brand img { height: 30px; width: auto; display: block; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
.back-link:hover {
  background: #f3f4f6;
  color: #111827;
}
.back-link svg { flex-shrink: 0; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.subtitle {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 14px;
}
.subtitle time { font-variant-numeric: tabular-nums; }

h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 8px;
  color: #111827;
}

p { margin: 8px 0; }

ul { padding-left: 22px; margin: 8px 0; }
ul ul { margin-top: 6px; margin-bottom: 6px; }
li { margin-bottom: 6px; }
li b { color: #111827; }

a { color: #2e6bff; }
a:hover { text-decoration: underline; }

code {
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
}

.page-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 20px;
  margin-top: 60px;
}
.page-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: #9ca3af;
}
.page-footer nav {
  display: inline-flex; gap: 12px; flex-wrap: wrap;
}
.page-footer nav a {
  color: #6b7280;
  text-decoration: none;
}
.page-footer nav a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .page-header-inner { padding: 0; }
  .brand img { height: 26px; }
  .back-link span { display: none; }
  main { padding: 24px 16px 40px; }
  h1 { font-size: 24px; }
}
