/* YAC PLANET S.R.L. — stil minim pentru site-ul de firmă.
   Fără resurse externe (fără fonturi Google, fără CDN): pagina se încarcă
   chiar dacă un furnizor extern e blocat, iar reviewer-ul nu vede cereri terțe. */

:root {
  --bg: #ffffff;
  --fg: #1a1d21;
  --muted: #5c6470;
  --line: #e3e6ea;
  --accent: #1b4ed8;
  --accent-soft: #eef2fe;
  --max: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --fg: #e8eaed;
    --muted: #9aa3af;
    --line: #2a2f36;
    --accent: #8ab0ff;
    --accent-soft: #1c2537;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- antet ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: var(--accent); text-decoration: underline; }

/* ---------- conținut ---------- */

main { padding: 2.25rem 0 3rem; }

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 2.4rem 0 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }

p, li { margin: 0.6rem 0; }

.lead { font-size: 1.08rem; }

.lead-en {
  color: var(--muted);
  font-size: 0.98rem;
}

a { color: var(--accent); }

code {
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}

ul, ol { padding-left: 1.35rem; }

.app-list { list-style: none; padding-left: 0; }

.app-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 0.7rem 0;
}

.meta {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

/* listă de tip „etichetă: valoare" pentru datele firmei */

.facts {
  display: grid;
  grid-template-columns: minmax(9rem, auto) 1fr;
  gap: 0.35rem 1rem;
  margin: 0.8rem 0;
  font-size: 0.97rem;
}

.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

@media (max-width: 30rem) {
  .facts { grid-template-columns: 1fr; gap: 0 0; }
  .facts dd { margin-bottom: 0.5rem; }
}

/* tabel pentru politicile cu date colectate */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.94rem;
}

th, td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th { background: var(--accent-soft); font-weight: 600; }

/* ---------- subsol ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer .muted { font-size: 0.85rem; }

/* marcajele de completat — se văd, ca să nu publici din greșeală pagina neterminată */

:root { --todo: #b3261e; }

@media (prefers-color-scheme: dark) { :root { --todo: #ff8a80; } }

body.todo-visible .todo,
.todo { color: var(--todo); font-weight: 600; }
