/* ============================================================================
   GLOW — stilul paginilor legale (termeni, confidențialitate, cookie-uri).
   Aceiași tokeni ca landing page-ul, ca paginile să nu pară lipite de altundeva.
   Fișier separat, nu copiat în fiecare pagină: o modificare aici le schimbă
   pe toate trei.
   ========================================================================== */

:root {
  color-scheme: dark;
  --void:     #07080B;
  --carbon:   #0F1116;
  --raised:   #171A23;
  --glow:     #FFE24B;
  --glow-hot: #FFF8CC;
  --ink:      #F4F2EB;
  --ash:      #8A8F9C;
  --line:     rgba(244,242,235,.10);
  --rail:     760px;
  --font:     'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.rail { max-width: var(--rail); margin: 0 auto; padding: 0 22px; }

/* ---------- antet ---------- */
.hdr {
  border-bottom: 1px solid var(--line);
  background: rgba(7,8,11,.85);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 10;
}
.hdr .rail { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.mark { display: flex; align-items: center; text-decoration: none; }
.mark svg { height: 19px; width: auto; overflow: visible; display: block; }
.back {
  color: var(--ash); text-decoration: none; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px; transition: color .18s;
}
.back:hover, .back:focus-visible { color: var(--glow); }
.back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- conținut ---------- */
main { padding: 54px 0 90px; }
h1 {
  font-family: var(--display); font-size: clamp(30px, 6vw, 44px);
  line-height: 1.12; margin: 0 0 10px; text-wrap: balance; font-weight: 800;
}
.updated { color: var(--ash); font-size: 14px; margin: 0 0 8px; }
.lede { color: var(--ash); font-size: 17px; margin: 0 0 40px; }

h2 {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  margin: 44px 0 12px; padding-top: 26px; border-top: 1px solid var(--line);
  text-wrap: balance;
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }
p { margin: 0 0 15px; }
ul { margin: 0 0 15px; padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--glow); }
strong { color: var(--glow-hot); font-weight: 600; }
a { color: var(--glow); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { color: var(--glow-hot); }

/* ---------- casete ---------- */
.note {
  background: var(--carbon); border: 1px solid var(--line);
  border-left: 3px solid var(--glow);
  border-radius: 12px; padding: 17px 20px; margin: 26px 0;
  font-size: 15px;
}
.note b { display: block; margin-bottom: 5px; color: var(--glow-hot); font-family: var(--display); }

/* ---------- tabel de date ---------- */
.tw { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--raised); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- subsol ---------- */
.ftr { border-top: 1px solid var(--line); padding: 30px 0; color: var(--ash); font-size: 14px; }
.ftr .rail { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.ftr a { color: var(--ash); text-decoration: none; }
.ftr a:hover, .ftr a:focus-visible { color: var(--glow); }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
