/* ============================================================
   Urolieve — Stile condiviso pagine legali
   Coerente con i token della sales page (landing/index.html).
   ============================================================ */
:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --surface-soft: #FBFAF5;
  --ink: #0E1F2A;
  --ink-2: #2A3A48;
  --muted: #5F6B76;
  --subtle: #8E97A2;
  --border: #E5E1D6;
  --accent: #2D8F7E;
  --accent-soft: #DFEEE9;
  --warm-soft: #F5E6D7;
  --warm: #8a4f24;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.lp-header {
  border-bottom: 1px solid var(--border);
  background: rgba(246,244,238,.85);
  backdrop-filter: saturate(160%) blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.lp-header .wrap {
  max-width: 860px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-header .brand { display: flex; flex-direction: column; line-height: 1.1; }
.lp-header .brand .name { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--ink); }
.lp-header .brand .name .pharma { color: #8DA0AF; }
.lp-header .brand .by { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.lp-header .home {
  font-size: 13px; color: var(--ink-2); border: 1px solid var(--border);
  background: var(--surface); padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.lp-header .home:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---------- Corpo ---------- */
.lp-main { max-width: 860px; margin: 0 auto; padding: 48px 24px 24px; }

.lp-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lp-title {
  font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink); font-size: clamp(30px, 6vw, 46px); line-height: 1.05; margin: 0 0 10px;
}
.lp-updated { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.lp-intro { font-size: 17px; color: var(--ink-2); margin: 18px 0 0; }

.lp-content { margin-top: 40px; }
.lp-content h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--ink);
  font-size: clamp(22px, 4vw, 28px); letter-spacing: -0.01em; line-height: 1.15;
  margin: 44px 0 14px; padding-top: 8px;
}
.lp-content h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.lp-content p { margin: 0 0 14px; }
.lp-content ul, .lp-content ol { margin: 0 0 16px; padding-left: 22px; }
.lp-content li { margin-bottom: 8px; }
.lp-content strong { color: var(--ink); font-weight: 600; }
.lp-content hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.lp-toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px; margin-top: 32px;
}
.lp-toc .lbl { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.lp-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .lp-toc ol { columns: 1; } }
.lp-toc li { margin-bottom: 7px; font-size: 14px; }

/* Riquadro dati / box informativo */
.lp-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px; margin: 18px 0 24px;
}
.lp-box.accent { background: var(--accent-soft); border-color: transparent; }
.lp-box p:last-child { margin-bottom: 0; }
.lp-box .data-line { margin: 0 0 6px; font-size: 15px; }
.lp-box .data-line b { color: var(--ink); }

/* Tabella cookie / dati */
.lp-table-wrap { overflow-x: auto; margin: 18px 0 24px; }
table.lp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 540px; }
table.lp-table th, table.lp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.lp-table th { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--surface-soft); }
table.lp-table tr:last-child td { border-bottom: none; }

/* Placeholder da compilare */
.todo {
  background: #FFF3CD; color: #7a5b00; border: 1px dashed #E0B400;
  border-radius: 4px; padding: 1px 6px; font-size: 0.92em; font-family: 'Geist Mono', monospace;
}

/* ---------- Footer ---------- */
.lp-footer { background: var(--ink); color: #B7C0C9; margin-top: 64px; }
.lp-footer .wrap { max-width: 860px; margin: 0 auto; padding: 48px 24px 40px; }
.lp-footer .brand-name { font-family: 'Instrument Serif', serif; font-size: 24px; color: #F6F4EE; margin-bottom: 6px; }
.lp-footer .brand-name .pharma { color: #8DA0AF; }
.lp-footer .policy-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0; }
.lp-footer .policy-row a { color: #C8D0D8; font-size: 13px; }
.lp-footer .policy-row a:hover { color: #fff; }
.lp-footer .legal { font-size: 12px; color: #8DA0AF; line-height: 1.6; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.lp-footer .legal p { margin: 0 0 8px; }
