/* Ghid Lex AI — pagini de conținut. Tokens identice cu index.html
   (doctrina de design: marketing = dark-only, butoane pill min 44px,
   radius carduri 18-28px). Fișier partajat de toate paginile din /ghid/,
   ca să nu dublăm 49KB de stil inline pe pagină. */

@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("/fonts/source-serif-4-display-subset.woff2") format("woff2");
}

:root {
  --bg: #06070b; --ink: #0a0b10;
  --text: #e9ebf2; --text-dim: #a6abbd;
  --brand: #2563eb; --brand-2: #7a5cff; --brand-on-dark: #60a5fa;
  --line: rgba(255,255,255,.08);
  --maxw: 800px; --ease: cubic-bezier(.16,.84,.44,1);
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; letter-spacing: -0.011em;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -56px; z-index: 200; background: var(--ink); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-size: 14px; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); background: rgba(6,7,11,.62); border-bottom: 1px solid var(--line); }
nav.top { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .wordmark { height: 26px; width: auto; display: block; }
.brand .mark { width: 27px; height: 27px; border-radius: 8px; display: block; box-shadow: 0 6px 18px rgba(37,99,235,.35); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 560; font-size: 14.5px; transition: transform .25s var(--ease), filter .25s, box-shadow .25s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px rgba(37,99,235,.30); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 32px rgba(37,99,235,.42); }
@media (max-width: 430px) {
  .wrap, .wrap-wide { padding: 0 14px; }
  .nav-cta { gap: 6px; }
  nav.top .btn { padding: 0 13px; font-size: 13.5px; }
  .cta-full { display: none; }
}

main { padding: clamp(40px, 7vh, 76px) 0 24px; }
.crumbs { font-size: 13.5px; color: var(--text-dim); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand-on-dark); }
.crumbs span { opacity: .5; margin: 0 6px; }

.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 560; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-on-dark); margin-bottom: 14px; }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(31px, 5.2vw, 46px); line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 2.2vw, 19.5px); color: var(--text-dim); margin-bottom: 34px; }
h2 { font-size: clamp(21px, 2.8vw, 25px); font-weight: 640; letter-spacing: -0.015em; margin: 44px 0 14px; }
h3 { font-size: 17.5px; font-weight: 620; margin: 26px 0 8px; }
p { margin-bottom: 15px; }
article ul, article ol { margin: 0 0 16px 22px; }
article li { margin-bottom: 8px; }
strong { font-weight: 620; color: #fff; }
.ref { color: var(--brand-on-dark); font-weight: 560; white-space: nowrap; }

.tablewrap { overflow-x: auto; margin: 22px 0 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 13px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--text-dim); font-weight: 560; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text-dim); width: 30%; }

.callout { border: 1px solid var(--line); border-left: 3px solid var(--brand-2); border-radius: 18px;
  background: rgba(122,92,255,.06); padding: 18px 22px; margin: 26px 0; }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.cta-card { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.03);
  padding: 28px; margin: 48px 0 8px; text-align: center; }
.cta-card h2 { margin-top: 0; }
.cta-card p { color: var(--text-dim); margin-bottom: 20px; }

.related { margin: 44px 0 0; }
.related ul { list-style: none; margin: 0; display: grid; gap: 10px; }
.related a { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px;
  transition: transform .2s var(--ease), border-color .2s, background .2s; background: rgba(255,255,255,.02); }
.related a:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.related .r-t { font-weight: 580; }
.related .r-d { font-size: 14px; color: var(--text-dim); }

.index-grid { list-style: none; margin: 34px 0 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .index-grid { grid-template-columns: 1fr 1fr; } }
.index-grid a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px;
  background: rgba(255,255,255,.02); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.index-grid a:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.index-grid .r-t { font-weight: 600; font-size: 17px; margin-bottom: 4px; }

.updated { font-size: 13.5px; color: var(--text-dim); margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 30px 0 40px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-dim); }
.foot-links a:hover { color: var(--text); }
.foot-fine { font-size: 12.5px; color: var(--text-dim); margin: 20px 0 0; }
.foot-copy { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 10px; }

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