/* === WebByVoice — Legal pages (GDPR + Obchodní podmínky)
   Styl shodný s /start/building/ — dark bg + white cards + gold/purple akcenty === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --gold: #D4A440;
  --gold-light: #E8C06A;
  --gold-dark: #B8892E;
  --purple: #3B1F6E;
  --purple-light: #5A3D8E;
  --deep-dark: #1A1A2E;
  --deep-dark-2: #252541;
  --surface: #FFFFFF;
  --text: #2D2D2D;
  --text-muted: #6B6762;
  --text-on-dark: #E8E5E0;
  --text-on-dark-muted: #8B87A0;
  --border: #E8E5E0;
  --border-dark: rgba(255,255,255,0.12);
  --success: #4CAF82;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.25);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--deep-dark);
  background-image:
    radial-gradient(ellipse at top left, rgba(212,164,64,0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59,31,110,0.25), transparent 50%);
  background-attachment: fixed;
  color: var(--text-on-dark);
  line-height: 1.65;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}

.page { max-width: 900px; width: 100%; }

a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(232,192,106,0.3);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
strong { font-weight: 700; }

/* === Header === */
.header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-img { height: 56px; flex-shrink: 0; }

.legal-nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.legal-nav a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}
.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--gold-light);
}

/* --- Cyrillic font fallback (ADR-0006, brand kit /internal/brand/archive/kit-final.html) ---
   RU: Heading = Raleway 800 (náhrada za Inter), Body = Raleway (náhrada za Plus Jakarta),
       Friendly accent = Neucha (náhrada za Architects Daughter).
       POZOR: H1 v RU je Raleway (ne Neucha) — Neucha je jen pro akcenty. */
html[lang="ru"] body { font-family: 'Raleway', system-ui, sans-serif; }
html[lang="ru"] .hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
}
html[lang="ru"] .accent-note { font-family: 'Neucha', cursive; }
html[lang="ru"] .card h2,
html[lang="ru"] .card h3,
html[lang="ru"] .logo-link,
html[lang="ru"] .legal-nav,
html[lang="ru"] .lang-switch,
html[lang="ru"] .footer { font-family: 'Inter', sans-serif; }

/* --- Language switcher (CS/EN/RU) --- */
.lang-switch {
  display: flex;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border-left: 1px solid var(--border-dark);
  padding-left: 14px;
  margin-left: 4px;
}
.lang-switch a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lang-switch a:hover { color: var(--gold-light); }
.lang-switch a.is-active,
.lang-switch a[aria-current="page"] {
  color: var(--deep-dark);
  background: var(--gold-light);
}
@media (max-width: 720px) {
  .lang-switch { border-left: none; padding-left: 0; margin-left: 0; }
}

/* === Hero nadpis (rukopis, gold-light) === */
.hero {
  padding: 12px 4px 32px;
}
.hero h1 {
  font-family: 'Architects Daughter', cursive;
  font-weight: 400;
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  line-height: 1.25;
}
.hero .meta {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

/* === Lead box (uvnitr karet layout — ale uvodni blok je na tmavem) === */
.lead {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: var(--text-on-dark);
  font-size: 1.02rem;
}

/* === Sekce = bila karta na tmavem (stejne jako .tg-card) === */
.card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.card h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--deep-dark);
  margin-top: 18px;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 12px;
}
.card p strong,
.card li strong { color: var(--deep-dark); }

.card a {
  color: var(--purple);
  text-decoration-color: rgba(59,31,110,0.3);
}
.card a:hover {
  color: var(--purple-light);
  text-decoration-color: var(--purple);
}

.card ul,
.card ol {
  margin: 8px 0 8px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.card li { margin-bottom: 8px; }

.card ul.processors {
  list-style: none;
  margin-left: 0;
  display: grid;
  gap: 10px;
}
.card ul.processors li {
  background: #FAF9F6;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
}
.card ul.processors li strong { color: var(--deep-dark); }

.muted {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* === Zvyraznujici ruckni poznamka (accent) === */
.accent-note {
  font-family: 'Architects Daughter', cursive;
  color: var(--purple);
  font-size: 1.05rem;
  padding: 14px 18px;
  background: rgba(212,164,64,0.08);
  border-radius: var(--radius);
  margin: 16px 0 8px;
}

/* === Tabulka === */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 0.9rem;
  background: #FAF9F6;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: block;
  overflow-x: auto;
  color: var(--text);
}
.legal-table thead {
  background: var(--deep-dark);
  color: #fff;
}
.legal-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.legal-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}
.legal-table tr:nth-child(even) td { background: #fff; }
.legal-table td strong { color: var(--deep-dark); }

/* === Footer === */
.footer {
  text-align: center;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  padding: 28px 0 8px;
  font-family: 'Inter', sans-serif;
}
.footer nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}
.footer a:hover { color: var(--gold-light); }

/* === Mobile === */
@media (max-width: 720px) {
  body { padding: 20px 12px; }
  .header { gap: 16px; }
  .logo-img { height: 44px; }
  .hero h1 { font-size: 1.55rem; }
  .card { padding: 24px 22px; }
  .card h2 { font-size: 1.12rem; }
  .legal-nav {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 14px;
  }
}
