/* Statické právní stránky (/privacy, /terms) — vzhled landingu: greige papír, bílý pruh
   s úplným zněním, jantar jako akcent, Inter + Azeret Mono (self-host, CSP font-src 'self').
   Úplné znění se načítá i do appky (overlay .legalPageView v App.tsx) — při změně struktury
   (.hero, .doc, h2 .no) upravit i tamní styly. */

@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-variations'), 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+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-variations'), 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: 'Azeret Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/azeret-mono-latin-500-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Azeret Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/azeret-mono-latin-ext-500-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; }

:root {
  color-scheme: light;
  --bg: #F3F2EE; --bg2: #FFFFFF;
  --ink: #23201B; --muted: #5F584D; --soft: #8a8174; --acc: #E08A0B; --acc-text: #B86A00;
  --rule: rgba(35, 32, 27, .12);
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
a { color: var(--acc-text); }
a:hover { color: #8a4f00; }
.in { max-width: 1200px; margin: 0 auto; padding-inline: 40px; }

/* jazyk: bloky i krátké texty v navigaci (span zůstane inline) */
[data-lang] { display: none; }
html[data-ui="cs"] [data-lang="cs"], html[data-ui="en"] [data-lang="en"] { display: revert; }

/* ---------- hlavička ---------- */
.site { position: sticky; top: 0; z-index: 10; background: rgba(243, 242, 238, .9); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.navR { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; }
.navR a { color: var(--muted); text-decoration: none; transition: color .2s; }
.navR a:hover { color: var(--ink); }
.navR a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.navR a.app { color: var(--ink); font-weight: 600; }
.langSwitch { display: inline-flex; gap: 2px; }
.langSwitch button { border: 0; background: transparent; font: 600 13px/1 var(--f-ui); color: var(--soft); padding: 6px 7px; border-radius: 6px; cursor: pointer; }
.langSwitch button:hover { color: var(--ink); }
.langSwitch button[aria-pressed="true"] { color: var(--ink); background: rgba(35, 32, 27, .07); }

/* ---------- titulek a ve zkratce ---------- */
.hero { padding-block: 64px 72px; }
.titleRow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
h1 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.date { font: 500 14px/1.4 var(--f-num); color: var(--muted); }
.facts { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.facts > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--ink); }
.facts h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.facts p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.heroNote { margin: 40px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- úplné znění ---------- */
.doc { background: var(--bg2); }
.docIn { max-width: 820px; margin: 0 auto; padding: 72px 40px 96px 128px; color: #4a443b; font-size: 16.5px; }
.doc h2 { position: relative; margin: 56px 0 10px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.doc h2 .no { position: absolute; left: -88px; top: -3px; font: 500 40px/1 var(--f-num); letter-spacing: -.06em; color: var(--acc-text); }
.doc h3 { margin: 26px 0 4px; font-size: 17.5px; font-weight: 650; color: var(--ink); }
.doc p, .doc li { margin: 8px 0; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .meta { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 4px 0 12px; }
.doc .meta b { color: var(--ink); font-weight: 600; }
.doc .box { margin: 16px 0; padding: 18px 22px; border-radius: 12px; background: var(--bg); }
.doc .box p { margin: 4px 0; }
.docIn > div > p:first-child { margin-top: 0; }

/* ---------- závěrečný pruh ---------- */
.final { background: var(--acc); color: #150c04; }
.final .in { padding-block: 64px 36px; }
.final h2 { margin: 0; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.final .mail { display: inline-block; margin-top: 18px; font-size: 22px; font-weight: 650; color: #150c04; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.final :focus-visible { outline-color: #150c04; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(21, 12, 4, .25); font-size: 14px; color: #3a2508; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #150c04; text-decoration: none; }
.foot a:hover { color: #150c04; text-decoration: underline; }

/* ================= tablet a mobil ================= */
@media (max-width: 900px) {
  .in { padding-inline: 20px; }
  .navR { gap: 8px 18px; font-size: 14.5px; }
  .hero { padding-block: 40px 56px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .docIn { padding: 48px 20px 72px; }
  .doc h2 { margin-top: 44px; }
  .doc h2 .no { position: static; display: block; margin-bottom: 8px; font-size: 32px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .navR a.sec { display: none; }
}
