/* Sdílené pro všechny stránky: písma, barevné/typografické tokeny a lišta souhlasu s cookies */

/* ============ FONTY (hostované lokálně, bez přenosu IP adresy návštěvníka ke Googlu) ============ */
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/fraunces-italic-latin.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: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/fraunces-latin.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-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.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: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.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;
}

/* ============ TOKENS ============ */
:root {
  --bg: #0a0c12;
  --bg-soft: #12151f;
  --bg-deep: #050609;
  --surface: #1c2030;
  --line: #262b3d;
  --line-soft: #1a1e2a;
  --ink: #f5f6fa;
  --ink-dim: #aab0c2;
  --ink-mute: #6b7088;
  --accent: #f5a65b;
  --accent-strong: #ef8a2e;
  --accent-deep: #b25f10;
  --accent-glow: rgba(245,166,91,.5);
  --cyan: #5dc5ff;
  --magenta: #c060ff;
  --ok: #6fcf97;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1240px;
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.8), 0 10px 30px -20px rgba(239,138,46,.3);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

/* ============ LIŠTA SOUHLASU S COOKIES ============ */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  max-width: 440px;
  padding: 1.1rem 1.25rem;
  background: #12151f;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.85);
  font-family: var(--font-body); font-size: .9rem; line-height: 1.55;
  color: var(--ink-dim);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar strong { color: var(--ink); font-weight: 600; }
.cookie-bar a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Obě volby záměrně stejně výrazné — odmítnutí musí být stejně snadné jako souhlas */
.cookie-actions { display: flex; gap: .6rem; margin-top: .9rem; }
.cookie-btn {
  flex: 1; padding: .7rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.cookie-btn:hover, .cookie-btn:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }

.link-button {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
