/* Copy of public/css/privacy.css for the legal page of the coming soon. Keep the two in sync until the full site replaces the coming soon. */
/* Neurise — informativa privacy e pagina 404. Stessa palette della landing; il testo non scende sotto i 12px. */

/* Fonts (self-hosted, SIL Open Font License). Quicksand only for the logotype. */
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('../assets/fonts/quicksand-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #faf8f3;
  --ink: #062855;
  --text: #1c2f4d;
  --muted: #5c6b88;
  --line: #ded6ca;
  --accent: #244564;
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Quicksand', var(--body);
  --gutter: clamp(20px, 3.6vw, 56px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #bce4d8; color: var(--ink); }

/* Header */
.wrap { max-width: 1440px; margin: auto; padding-inline: var(--gutter); }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-inner { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand img { width: 36px; }
.brand-word { font-family: var(--brand); font-weight: 600; font-size: 29px; letter-spacing: -1.3px; line-height: 1; color: var(--ink); }

/* Page */
.eyebrow { margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.legal-page { max-width: 860px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal-page h1 { margin: 20px 0; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.025em; }
.legal-page h2 { margin: 36px 0 14px; font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.legal-page p, .legal-page li { font-size: 16px; color: var(--muted); }
.legal-page p + p { margin-top: 14px; }
.legal-page ul { padding-left: 22px; }
.legal-page a { overflow-wrap: anywhere; }
.legal-page .eyebrow { margin-top: 30px; }
.legal-date { font-size: 14px; }
.legal-data { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; margin: 0; border-top: 1px solid var(--line); font-size: 16px; }
.legal-data dt, .legal-data dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-data dt { padding-right: 20px; font-weight: 600; color: var(--ink); }
.legal-data dd { color: var(--muted); }
.legal-page strong { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .nav-inner { height: 68px; gap: 16px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .legal-data { grid-template-columns: 1fr; }
  .legal-data dt { padding-bottom: 0; border-bottom: 0; }
  .legal-data dd { padding-top: 2px; }
  body { font-size: 16px; }
  .brand-word { font-size: 26px; }
  .brand img { width: 30px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand-word { font-size: 24px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media print {
  .nav { display: none; }
}
