/* Stil comun pentru paginile legale (termeni, confidențialitate).
   Aceleași culori ca landing-ul, dar optimizat pentru citit text lung. */

:root {
  --bg: #131312;
  --surface: #1e1e1b;
  --border: #35352f;
  --sand-100: #f2ede2;
  --sand-200: #e8e0d0;
  --sand-300: #d6cbb4;
  --text: #ece7dc;
  --text-2: #a5a094;
  --text-3: #6f6b61;
  --on-sand: #1a1a17;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  padding: 40px 24px 72px;
}

main {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Antet ---------- */

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
  color: inherit;
  width: max-content;
}

.logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--sand-100), var(--sand-300));
  color: var(--on-sand);
}

.marca span {
  font-size: 18px;
  font-weight: 600;
}

h1 {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.actualizat {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Conținut ---------- */

h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 6px;
  color: var(--sand-300);
}

p,
li {
  color: var(--text-2);
  font-size: 15px;
}

p {
  margin-bottom: 12px;
}

ul,
ol {
  margin: 0 0 14px 20px;
}

li {
  margin-bottom: 6px;
}

strong {
  color: var(--text);
  font-weight: 600;
}

a {
  color: var(--sand-300);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

a:hover {
  border-color: var(--sand-300);
}

/* Casetă pentru lucrurile pe care vrem să le vadă sigur. */
.nota {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sand-300);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}

.nota p:last-child {
  margin-bottom: 0;
}

/* ---------- Tabel de terți ---------- */

.tabel-container {
  overflow-x: auto;
  margin: 14px 0 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

th,
td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

td {
  color: var(--text-2);
}

/* ---------- Subsol ---------- */

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
