/* Stilul paginilor legale (confidențialitate, termeni): același aspect ca pagina principală, optimizat pentru citit. */
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_400Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_700Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/PlusJakartaSans_800ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root { --red: #A72E23; --red-dark: #8C251C; --bg: #FAF6F0; --line: #EFE6DB; --ink: #1B1B18; --muted: #6A625A; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: 'Jakarta', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--red); }
img { display: block; }

header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.back { color: var(--red); font-weight: 700; text-decoration: none; padding: 12px 0; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
main { padding: 40px 0 72px; }
h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 8px; }
.updated { color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; margin: 40px 0 10px; scroll-margin-top: 80px; }
h3 { font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
p, li { font-size: 16px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.box { background: #fff; border-radius: 18px; padding: 18px 20px; margin: 20px 0; }
.box p { margin: 6px 0; }
.toc { background: #fff; border-radius: 18px; padding: 16px 20px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { padding: 4px 0; }
.toc a { text-decoration: none; font-weight: 700; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
.todo { background: #FFF3C4; padding: 0 4px; border-radius: 4px; }

footer { background: var(--ink); color: #A39B91; font-size: 14px; padding: 24px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: #fff; text-decoration: none; padding: 6px 0; display: inline-block; }

@media (max-width: 600px) {
  main { padding: 28px 0 56px; }
  h2 { font-size: 20px; }
  footer .wrap { flex-direction: column; align-items: center; text-align: center; }
}
