/* Mentorio — design tokens a sdílené komponenty (web i aplikace).
   Směr: světlý, teplý, klidný. Krémový papír, inkoustově modrý text, šalvějová zelená, zlatý detail.
   Patkové písmo (Source Serif 4) v nadpisech, bezpatkové v textu. Žádné gradienty, sklo ani neon. */

@font-face { font-family: "Source Serif"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/source-serif-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: "Source Serif"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/source-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/source-serif-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: "Source Serif"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/source-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d5;
  --card: #fffcf6;
  --card-2: #f8f2e8;

  --ink: #16213a;
  --ink-2: #2f3a54;
  --muted: #6b6960;
  --faint: #9b968a;
  --line: rgba(22, 33, 58, 0.12);
  --line-2: rgba(22, 33, 58, 0.22);

  --sage: #3d6a51;
  --sage-2: #54856a;
  --sage-soft: #e1e9dc;
  --gold: #a47c35;
  --gold-soft: #f1e5c9;
  --sky-soft: #e2e8f0;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow: 0 1px 0 rgba(22, 33, 58, 0.04), 0 18px 40px -24px rgba(22, 33, 58, 0.28);
  --ring: 0 0 0 3px rgba(61, 106, 81, 0.35);

  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 200ms;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; font-optical-sizing: auto; }
h3, h4 { font-family: var(--sans); font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sage); }

::selection { background: var(--gold-soft); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 500; font-size: 23px; letter-spacing: -0.02em; color: var(--ink); }
.brand img, .brand svg { width: 32px; height: 32px; flex: none; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: rgba(22, 33, 58, 0.05); border-color: var(--ink); }
.btn:active { transform: scale(0.985); }
.btn svg, .btn .i { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #22304f; border-color: #22304f; }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { border-color: transparent; background: rgba(22, 33, 58, 0.06); }
.btn-good { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn-good:hover { background: #355d47; border-color: #355d47; }
.btn-sm { min-height: 40px; padding: 8px 15px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-btn { background: none; border: 0; padding: 6px 2px; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.link-btn:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- Štítky ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 600; line-height: 1.2; }
.pill svg, .pill .i { width: 14px; height: 14px; }
.pill-green { background: var(--sage-soft); border-color: transparent; color: #2d5540; }
.pill-gold { background: var(--gold-soft); border-color: transparent; color: #7a5a22; }
.pill-blue { background: var(--sky-soft); border-color: transparent; color: var(--ink-2); }

.kicker { font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.soft { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Nasazená verze — dobře čitelná, vpravo nahoře */
.ver-tag { position: fixed; top: 6px; right: 8px; z-index: 9999; font: 600 12px/1 system-ui, sans-serif; color: #2f3a54; background: rgba(255, 253, 248, 0.95); border: 1px solid #d3c9b5; border-radius: 999px; padding: 4px 9px; letter-spacing: 0.02em; pointer-events: none; user-select: none; }
.ver-tag.inline { position: static; pointer-events: auto; }
/* Verze vždy úplně v pravém horním rohu (na úzkém displeji vpravo za tlačítkem). */
@media (min-width: 1000px) { .ver-tag.inline.corner { position: fixed; top: 6px; right: 8px; } }
.header-end { display: inline-flex; align-items: center; gap: 10px; }
