/* ============================================================
   Fakturyon redesign — luxury fintech dark
   ============================================================ */

/* ============================================================
   Fonty — self-hosted, variabilní (jeden soubor pokryje celý rozsah vah).
   Dřív se tahaly z fonts.googleapis.com: render-blocking stylesheet
   (~300 ms) + 9 statických řezů ≈ 600 KB. Nyní 4 soubory, 172 KB,
   bez externího požadavku — a bez odesílání IP návštěvníků Googlu,
   což je u EU provozu problém i právně.
   Čeština potřebuje latin i latin-ext (ě š č ř ž ů ď ť ň).
   ============================================================ */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-tight-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: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-tight-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: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/geist-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/geist-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;
}

:root {
  /* Base palette — bluer, matching app saturation */
  --bg-0: oklch(0.2 0.05 258);            /* page base — distinctly blue */
  --bg-1: oklch(0.25 0.06 258);           /* card surface */
  --bg-2: oklch(0.29 0.07 258);           /* raised surface */
  --bg-3: oklch(0.35 0.08 258);           /* border-ish */
  --bg-sub: oklch(0.33 0.09 258);         /* card sub-header bar (like app) */
  --line: oklch(0.45 0.07 258 / 0.55);
  --line-soft: oklch(0.5 0.06 258 / 0.22);

  --fg-0: oklch(0.98 0.008 258);
  --fg-1: oklch(0.9 0.02 258);
  --fg-2: oklch(0.74 0.04 258);
  /* Světlost 0.68 (dřív 0.58) — při 0.58 měl drobný text kontrast jen
     3,3–3,8:1, WCAG AA vyžaduje 4,5:1. Nyní 4,9–5,6:1 na všech podkladech,
     kde se používá. */
  --fg-3: oklch(0.68 0.05 258);

  /* Accent — app's link/heading blue, slightly brighter */
  --accent: oklch(0.7 0.18 255);
  /* Accent jako TEXT na tónovaném podkladu (--accent-soft). Samotný --accent
     tam dává jen 4,49:1, těsně pod hranicí AA. Tlačítek se to netýká, ta
     mají accent jako pozadí, ne jako barvu písma. */
  --accent-text: oklch(0.76 0.18 255);
  --accent-soft: oklch(0.7 0.18 255 / 0.16);
  --accent-line: oklch(0.7 0.18 255 / 0.45);
  --accent-fg: oklch(0.99 0.005 255);

  /* Data-vis green (chart bars) */
  --gold: oklch(0.78 0.17 145);
  --gold-soft: oklch(0.78 0.17 145 / 0.15);
  /* Data-vis red (overdue) */
  --danger: oklch(0.65 0.2 20);

  /* Fonts */
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-inset: inset 0 1px 0 0 oklch(1 0 0 / 0.06);
  --shadow-card: 0 1px 0 0 oklch(1 0 0 / 0.04), 0 30px 60px -30px oklch(0 0 0 / 0.6);
  --shadow-lift: 0 2px 0 0 oklch(1 0 0 / 0.05), 0 40px 80px -20px oklch(0 0 0 / 0.7);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}

body {
  background:
    radial-gradient(1200px 700px at 85% -10%, oklch(0.42 0.14 258 / 0.55), transparent 60%),
    radial-gradient(900px 600px at 10% 20%, oklch(0.38 0.16 255 / 0.45), transparent 55%),
    var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-0);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
h1 { font-size: clamp(48px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
p  { margin: 0; color: var(--fg-1); }

a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum", "zero";
  letter-spacing: 0;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

/* Skip link — pro čtečky a ovládání klávesnicí. Schovaný mimo obrazovku,
   objeví se až po zaostření tabulátorem. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: oklch(0.2 0.05 258 / 0.82);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg-0);
}
.logo-mark {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  padding: 8px 12px; border-radius: 8px; color: var(--fg-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a:hover { color: var(--fg-0); background: oklch(1 0 0 / 0.04); }
.nav-cta {
  display: flex; align-items: center; gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg-0);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bars { position: relative; width: 16px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 16px;
    background: oklch(0.2 0.05 258 / 0.98);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 8px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, oklch(0.7 0.17 255) 0%, oklch(0.62 0.17 255) 100%);
  color: var(--accent-fg);
  box-shadow: inset 0 1px 0 0 oklch(1 0 0 / 0.2), 0 14px 30px -10px oklch(0.62 0.17 255 / 0.5);
}
.btn-primary:hover { background: linear-gradient(180deg, oklch(0.75 0.17 255) 0%, oklch(0.66 0.17 255) 100%); }

.btn-ghost {
  background: oklch(1 0 0 / 0.04);
  border-color: var(--line);
  color: var(--fg-0);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.08); border-color: var(--accent-line); }

.btn-lg { padding: 16px 26px; font-size: 15px; border-radius: 12px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, oklch(0.65 0.14 235) 100%);
  color: oklch(0.15 0.04 235);
  box-shadow: inset 0 1px 0 0 oklch(1 0 0 / 0.4), 0 14px 40px -14px oklch(0.78 0.12 230 / 0.5);
}

/* Store buttons */
.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--fg-0);
  transition: background .2s, border-color .2s, transform .15s;
}
.store-btn:hover { background: oklch(1 0 0 / 0.07); border-color: var(--accent-line); }
.store-btn:active { transform: translateY(1px); }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .sm { font-size: 10px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-mono); }
.store-btn .lg { font-size: 15px; font-weight: 500; line-height: 1.1; margin-top: 2px; }

/* ---------- sections shared ---------- */
section { position: relative; }
.section-pad { padding: 120px 0; }
@media (max-width: 720px) { .section-pad { padding: 80px 0; } }

.section-head {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head h2 { line-height: 1.1; text-wrap: balance; }
.section-head .lead {
  font-size: 18px; color: var(--fg-2); line-height: 1.6;
  text-wrap: balance;
}

/* grid line decoration */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.5;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider { padding: 0; }
.section-divider-line {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 50%, transparent);
}
.section-divider-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px 2px var(--accent-line);
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero h1 .grad {
  background: linear-gradient(180deg, var(--fg-0) 0%, var(--fg-2) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .serifish {
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.035em;
}
.hero-sub {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 620px;
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-sub-note {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 14px;
  color: var(--fg-3);
  font-size: 13px;
  font-family: var(--font-mono);
}
.hero-sub-note .tick { color: var(--gold); }
.hero-sub-note .grp { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero-sub-note .sep { opacity: .4; }

.hero-trust {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 10px;
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-2);
}
.hero-trust .sep { opacity: .4; }
.hero-since { white-space: nowrap; }

.hero-rating {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-2); font-size: 13px; font-family: var(--font-mono);
  text-decoration: none; white-space: nowrap;
}
.hero-rating:hover { color: var(--fg-0); }
.hero-rating-stars { display: inline-flex; gap: 1px; color: var(--gold); }
.hero-rating-stars svg { width: 12px; height: 12px; }
.hero-rating strong { color: var(--fg-0); font-weight: 600; }
.hero-rating .sep { opacity: .4; }

/* Hero visual cluster */
.hero-visual {
  position: relative;
  margin: 72px auto 0;
  max-width: 1180px;
  padding: 0 20px;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(closest-side, oklch(0.35 0.02 250 / 0.5), transparent 80%);
  z-index: -1;
  filter: blur(20px);
}

/* ---------- BROWSER FRAME ---------- */
.browser {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, oklch(0.27 0.08 258), oklch(0.22 0.07 258));
}
.browser-dots { display: flex; gap: 8px; }
.browser-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: oklch(0.3 0.01 250);
}
.browser-dots span:nth-child(1) { background: oklch(0.55 0.12 20); }
.browser-dots span:nth-child(2) { background: oklch(0.72 0.14 85); }
.browser-dots span:nth-child(3) { background: oklch(0.62 0.14 145); }
.browser-url {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: oklch(0.15 0.04 258);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  max-width: 420px;
  margin: 0 auto;
}
.browser-url .lock { opacity: .6; }
.browser-body {
  overflow: hidden;
  position: relative;
}
.browser-body img {
  display: block;
  width: 100%;
  height: auto;
}

/* mobile phone frame */
.phone {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 280px;
  height: 580px;
  border-radius: 42px;
  padding: 8px;
  background: linear-gradient(180deg, oklch(0.3 0.08 258), oklch(0.18 0.06 258));
  border: 1px solid oklch(0.4 0.08 258);
  box-shadow:
    0 40px 80px -20px oklch(0 0 0 / 0.7),
    inset 0 1px 0 0 oklch(1 0 0 / 0.1);
  z-index: 3;
  transform: rotate(4deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: oklch(0.08 0.01 250);
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg-0);
  position: relative;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 900px) {
  .phone { position: relative; right: auto; bottom: auto; width: 210px; height: 440px; border-radius: 34px; }
  .phone::before { width: 80px; height: 20px; top: 14px; }
  .phone-screen { border-radius: 28px; }
}
@media (max-width: 560px) {
  /* V hero na mobilu necháváme jen webový (desktop) náhled. */
  .hero-visual .phone { display: none; }
}
/* ---------- TRUST ROW ---------- */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--fg-3);
}
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; color: var(--fg-2); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; opacity: .9; }
.trust-logos span { font-size: 16px; }

/* ---------- FEATURES ---------- */
.features-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-bottom: 72px;
  align-items: end;
}
@media (max-width: 860px) { .features-head { grid-template-columns: 1fr; } }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 1040px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features-grid { grid-template-columns: 1fr; } }

.feat {
  background: var(--bg-1);
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: background .2s;
  position: relative;
}
.feat:hover { background: var(--bg-2); }
.feat .f-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.14em;
}
.feat .f-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.feat h3 { font-size: 18px; color: var(--fg-0); }
.feat p  { font-size: 14px; color: var(--fg-2); line-height: 1.55; }

/* ---------- PRICING ---------- */
.price-layout-a .price-card-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.price-layout-b .price-card-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.price-layout-c .price-card-wrap { max-width: 640px; margin: 0 auto; }

@media (max-width: 820px) {
  .price-layout-a .price-card-wrap,
  .price-layout-b .price-card-wrap { grid-template-columns: 1fr; }
}

.price {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  overflow: hidden;
}
.price.featured {
  background: linear-gradient(180deg, oklch(0.28 0.09 258), oklch(0.22 0.07 258));
  border-color: var(--accent-line);
  box-shadow: 0 40px 80px -30px oklch(0.7 0.18 255 / 0.35);
}
.price .tag {
  position: absolute; top: 18px; right: 18px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.price .p-name { font-family: var(--font-display); font-size: 20px; color: var(--fg-0); letter-spacing: -0.02em; }
.price .p-sub { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.price .p-num {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display);
  color: var(--fg-0);
  letter-spacing: -0.03em;
}
.price .p-num .big { font-size: 64px; font-weight: 500; line-height: 1; }
.price .p-num .small { font-size: 14px; color: var(--fg-2); font-family: var(--font-body); }
.price .p-note { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.02em; }
.price ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price li { display: flex; gap: 10px; font-size: 14px; color: var(--fg-1); }
.price li svg { flex-shrink: 0; color: var(--accent); }

/* Billing toggle */
.billing-toggle {
  display: flex;
  width: 100%;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.billing-toggle button {
  background: none; border: none; cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
  color: var(--fg-2);
  font-family: inherit; font-size: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1;
}
.billing-toggle button.on { background: var(--accent); color: var(--accent-fg); }
.billing-toggle button .save { color: var(--gold); font-size: 10px; }
.billing-toggle button.on .save { color: var(--accent-fg); }

/* layout B detail */
.price-detail-panel {
  padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: oklch(1 0 0 / 0.02);
  font-size: 13px;
  display: flex; flex-direction: column; gap: 14px;
}
.price-detail-panel h4 { font-family: var(--font-display); color: var(--fg-0); font-size: 16px; letter-spacing: -0.01em; }
.price-detail-panel .kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13px; }
.price-detail-panel .kv:last-of-type { border-bottom: none; }
.price-detail-panel .kv span:first-child { color: var(--fg-2); }
.price-detail-panel .kv span:last-child { font-family: var(--font-mono); color: var(--fg-0); }

/* ---------- REVIEWS ---------- */
.reviews-head {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .reviews-head { grid-template-columns: 1fr; } }

.tp-score {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 22px 26px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.tp-score .big-val {
  font-family: var(--font-display); font-size: 48px; line-height: 1;
  color: var(--fg-0); letter-spacing: -0.03em;
}
.tp-score .stars { display: flex; gap: 2px; justify-content: center; }
.tp-score .label {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold);
  margin-bottom: 4px;
}
.tp-score .sub { font-size: 12px; color: var(--fg-3); margin-top: 4px; font-family: var(--font-mono); }

.reviews-slider-wrap { position: relative; }
.reviews-slider {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider .review { scroll-snap-align: start; flex: 0 0 calc((100% - 32px) / 3); min-width: 0; }
@media (max-width: 860px) { .reviews-slider .review { flex: 0 0 calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .reviews-slider .review { flex: 0 0 100%; } }
.reviews-slider-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-1); border: 1px solid var(--line); color: var(--fg-1);
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.slider-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.slider-btn[data-slider-prev] svg { transform: rotate(180deg); }

.review {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.review .r-head { display: flex; justify-content: space-between; align-items: center; }
.review .stars { display: flex; gap: 2px; }
.review .r-date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.review p { font-size: 14.5px; color: var(--fg-1); line-height: 1.55; }
.review .r-name { font-size: 13.5px; color: var(--fg-0); font-weight: 500; }

.star { width: 14px; height: 14px; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px;
}
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } }

.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--fg-0);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--fg-2);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item .faq-body { padding: 0 0 22px; color: var(--fg-2); font-size: 15px; line-height: 1.6; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 40px 0 0;
  padding: 70px 0;
  position: relative;
}
.cta-band-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.cta-band h2 { font-size: clamp(36px, 4.5vw, 64px); }


/* ---------- COOKIE LIŠTA ---------- */
/* Ztmavené pozadí přes celou plochu — pod lištu se nedá kliknout, dokud
   návštěvník nezvolí. Rolovat stránkou ale jde. Odmítnout je stejně dostupné
   jako Přijmout, takže to není cookie wall, jen vynucené rozhodnutí. */
.cc {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: oklch(0.12 0.03 258 / 0.45);
  opacity: 0;
  transition: opacity .22s ease;
  overflow-y: auto;
}
.cc.is-open { opacity: 1; }
.cc.is-open .cc-panel { transform: none; }
.cc[hidden] { display: none; }

/* Atribut hidden musí přebít explicitní display u potomků (.cc-cats má flex,
   .btn inline-flex) — jinak by se rozbalené kategorie ukázaly hned. */
.cc [hidden] { display: none !important; }

.cc-panel {
  width: 100%;
  transform: translateY(14px);
  transition: transform .22s ease;
  max-width: 560px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 24px 26px;
}
.cc-panel:focus { outline: none; }
.cc-title { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.cc-desc { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0 0 18px; }
.cc-desc a { color: var(--accent-text); text-decoration: underline; }

.cc-cats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.cc-cat { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cc-cat input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.cc-cat input:disabled { opacity: .55; cursor: not-allowed; }
.cc-cat-body { display: flex; flex-direction: column; gap: 3px; }
.cc-cat-body strong { font-size: 14px; color: var(--fg-0); font-weight: 600; }
.cc-cat-body span { font-size: 13px; color: var(--fg-2); line-height: 1.5; }

/* Přijmout a Odmítnout musí být rovnocenné — stejná velikost, vedle sebe. */
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-actions .btn { flex: 1 1 auto; min-width: 150px; justify-content: center; }
.cc-link {
  background: none; border: none; cursor: pointer;
  color: var(--fg-2); font-family: var(--font-body); font-size: 13px;
  text-decoration: underline; padding: 8px 4px;
}
.cc-link:hover { color: var(--fg-0); }

@media (max-width: 560px) {
  .cc { left: 12px; right: 12px; bottom: 12px; }
  .cc-panel { padding: 20px; }
  .cc-actions .btn { flex-basis: 100%; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h2 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-3); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-2); font-size: 14px; }
.footer-col a:hover { color: var(--fg-0); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
  flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
}

/* ---------- TWEAKS PANEL ---------- */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: oklch(0.16 0.025 255 / 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  z-index: 200;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.8);
  font-size: 12px;
  display: none;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.tweaks-panel.show { display: block; }
.tweaks-panel .t-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tweaks-panel h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-2); font-weight: 500; }
.tweaks-panel .t-group { margin-bottom: 14px; }
.tweaks-panel .t-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-3); margin-bottom: 8px; display: block; }
.tweaks-panel .t-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks-panel .swatch {
  width: 26px; height: 26px; border-radius: 8px;
  cursor: pointer; border: 2px solid transparent;
  position: relative;
  transition: transform .15s;
}
.tweaks-panel .swatch:hover { transform: scale(1.1); }
.tweaks-panel .swatch.on { border-color: oklch(1 0 0 / 0.5); }
.tweaks-panel .t-select {
  width: 100%;
  background: oklch(0 0 0 / 0.4);
  border: 1px solid var(--line);
  color: var(--fg-0);
  padding: 8px 10px; border-radius: 8px;
  font-family: var(--font-body); font-size: 12px;
}
.tweaks-panel .close {
  background: none; border: none; color: var(--fg-3); cursor: pointer;
  font-family: var(--font-mono); font-size: 14px; padding: 4px;
}

/* ---------- anim on load ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ---------- COMPARISON ---------- */
.comparison-section { position: relative; }
.grad-accent {
  background: linear-gradient(180deg, var(--accent) 0%, oklch(0.6 0.18 258) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  padding: 0 8px 4px;
  margin: 0 -8px -4px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Fakturyon card */
.compare-us {
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, oklch(0.32 0.12 258) 0%, oklch(0.22 0.09 258) 100%);
  border: 1px solid var(--accent-line);
  box-shadow: 0 30px 80px -30px oklch(0.7 0.18 255 / 0.5), var(--shadow-inset);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.compare-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 80% 0%, oklch(0.8 0.2 255 / 0.3), transparent 60%);
  pointer-events: none;
}
.cu-badge {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 6px 12px 6px 10px;
  background: oklch(0 0 0 / 0.3);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-0);
  position: relative; z-index: 1;
}
.cu-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.cu-price {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 6px;
  position: relative; z-index: 1;
}
.cu-amount {
  font-family: var(--font-display);
  font-size: 72px; font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg-0);
}
.cu-curr { font-size: 40px; font-weight: 500; color: var(--fg-0); }
.cu-per { font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); letter-spacing: 0.05em; }
.cu-note {
  font-size: 12px; color: var(--fg-3);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  position: relative; z-index: 1;
}
.cu-firm-note {
  font-size: 12px; color: var(--fg-3);
  line-height: 1.4;
  position: relative; z-index: 1;
}
.compare-us .billing-toggle { position: relative; z-index: 1; }
.cu-sub {
  font-size: 14px; color: var(--fg-1);
  position: relative; z-index: 1;
}
.cu-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px;
  position: relative; z-index: 1;
}
.cu-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; color: var(--fg-1); line-height: 1.4; }
.cu-list li svg { color: var(--accent); flex-shrink: 0; }
.cu-foot {
  margin-top: auto; padding-top: 14px;
  position: relative; z-index: 1;
}
.cu-foot .btn { width: 100%; justify-content: center; }
.cu-foot-note {
  margin-top: 10px;
  font-size: 12px; color: var(--fg-3);
  font-family: var(--font-mono); text-align: center;
}

/* Competitor side */
.compare-them {
  padding: 24px 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.ct-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.ct-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ct-row:last-of-type { border-bottom: none; padding-bottom: 10px; }
.ct-name {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.ct-tiers { display: flex; flex-direction: column; gap: 6px; }
.ct-tier {
  padding: 8px 12px;
  border-radius: 8px;
  background: oklch(0 0 0 / 0.25);
  border: 1px solid var(--line-soft);
}
.ct-tier-match {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.ct-tier-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
}
.ct-tier-name { font-size: 12px; color: var(--fg-1); font-weight: 500; }
.ct-tier-price { font-family: var(--font-mono); font-size: 12px; color: var(--fg-0); }
.ct-tier-feats { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-chip {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: oklch(1 0 0 / 0.04);
  color: var(--fg-2);
  border: 1px solid var(--line-soft);
}
.ct-total { text-align: right; }
.ct-total-amt {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg-0);
}
.ct-total-x {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(0.72 0.18 25);
  margin-top: 2px;
}
.ct-savings {
  margin-top: 6px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  border-radius: var(--radius);
}
.ct-savings-lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
}
.ct-savings-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  margin-top: 2px;
}
.ct-savings-amt {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--fg-0);
  white-space: nowrap;
}
.ct-savings-note { font-size: 13px; color: var(--fg-1); text-align: right; white-space: nowrap; }
.ct-savings-note strong { color: var(--accent-text); font-weight: 600; }
.ct-source-note {
  font-size: 11px; color: var(--fg-3);
  line-height: 1.5; text-align: center;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; gap: 10px; }
  .ct-total { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .ct-total-x { margin-top: 0; }
  .ct-savings-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ct-savings-note { white-space: normal; text-align: left; }
  .cu-amount { font-size: 56px; }
  .cu-curr { font-size: 30px; }
}

/* ---------- DETAILED FEATURE LIST ---------- */
.feature-list-section {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 400px at 85% 0%, var(--accent-soft), transparent 70%),
    var(--bg-0);
}
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 1040px) { .feature-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .feature-list-grid { grid-template-columns: 1fr; } }

.fl-cat {
  background: var(--bg-1);
  padding: 32px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .2s;
}
.fl-cat:hover { background: var(--bg-2); }
.fl-cat h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-0);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.fl-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.fl-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fl-cat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.45;
}
.fl-cat li > span:last-child {
  flex: 1;
  min-width: 0;
  display: block;
}
.fl-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.fl-tick svg { width: 11px; height: 11px; stroke-width: 2.4; }

/* ---------- TRIAL BAND ---------- */
.trial-band {
  position: relative;
  padding: 90px 0 100px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 380px at 15% 50%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow: hidden;
}
.trial-band-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 920px) {
  .trial-band-inner { grid-template-columns: 1fr; gap: 60px; }
  .trial-band { padding: 70px 0 80px; }
}
.trial-copy h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 18px 0 22px;
}
.trial-copy p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 24px;
}
.trial-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trial-ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.45;
}
.trial-ul li > span {
  flex: 1;
  min-width: 0;
}
.trial-ul li svg {
  flex-shrink: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  padding: 4px;
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.trial-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.phone-tilt {
  transform: rotate(-4deg);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.5));
}
@media (max-width: 560px) {
  .trial-visual { display: none; }
}
/* ---------- SUBPAGE HERO ---------- */
.subpage-hero {
  position: relative;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: radial-gradient(800px 400px at 50% 0%, var(--accent-soft), transparent 65%);
}
.subpage-hero--photo {
  background-size: cover;
  background-position: center;
  border-bottom: none;
}
.subpage-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.9);
}
.subpage-hero-inner {
  max-width: 880px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  position: relative; z-index: 1;
}
.subpage-hero h1 {
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.subpage-hero .lead {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
.nav a.active { color: var(--fg-0); }
.nav a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ---------- HELP SEARCH ---------- */
.help-search {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 8px auto 0;
}
.help-search input {
  width: 100%;
  padding: 18px 50px 18px 50px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--fg-0);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.help-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.help-search input::placeholder { color: var(--fg-3); }
.hs-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--fg-3); display: inline-flex;
}
.hs-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: var(--bg-2); border: 1px solid var(--line);
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--fg-2); cursor: pointer;
}
.help-quick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  justify-content: center; margin-top: 4px;
  font-family: var(--font-body); font-size: 13px;
}
.hq-label { color: var(--fg-3); margin-right: 4px; }
.hq-pill {
  background: var(--bg-1); border: 1px solid var(--line);
  color: var(--fg-1); padding: 6px 12px; border-radius: 20px;
  font-size: 13px; cursor: pointer; transition: all .15s;
}
.hq-pill:hover { border-color: var(--accent-line); color: var(--accent); }

/* ---------- NÁPOVĚDA — LEVÝ SLOUPEC KATEGORIÍ ---------- */
.help-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: flex-start; }
.help-side { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.hs-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: none; border: 1px solid transparent; border-radius: 12px;
  padding: 12px 14px; cursor: pointer; color: var(--fg-1);
  font-family: var(--font-body); font-size: 14.5px; transition: all .15s;
}
.hs-item:hover { background: var(--bg-1); border-color: var(--line-soft); color: var(--fg-0); }
.hs-item.on { background: var(--bg-1); border-color: var(--accent-line); color: var(--fg-0); }
.hs-name { flex: 1; }
.hs-count {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 2px 8px;
}
.help-head { margin-bottom: 28px; }
.help-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
.help-head p { color: var(--fg-2); margin-top: 8px; font-size: 15px; }
@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; gap: 24px; }
  .help-side { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .hs-item { white-space: nowrap; border-color: var(--line-soft); }
  .hs-name { flex: none; }
}

/* ---------- HELP ARTICLE LIST ---------- */
.ha-list { display: flex; flex-direction: column; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); overflow: hidden; }
.ha-row[hidden] { display: none; }
.ha-row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 26px;
  background: var(--bg-1); transition: background .15s;
  cursor: pointer; position: relative;
}
.ha-row:hover { background: var(--bg-2); }
.ha-row::after {
  content: '→'; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  color: var(--fg-3); transition: all .2s; font-family: var(--font-mono);
}
.ha-row:hover::after { color: var(--accent); transform: translateY(-50%) translateX(4px); }
.ha-meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ha-cat { color: var(--accent); }
.ha-title {
  font-family: var(--font-display); font-size: 17px;
  letter-spacing: -0.01em; color: var(--fg-0); padding-right: 60px;
}
.ha-foot { display: flex; gap: 8px; font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); }
.ha-empty { padding: 60px; text-align: center; background: var(--bg-1); }

/* ---------- CONTACT BAND ---------- */
.contact-band {
  padding: 80px 0; border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.contact-band-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 820px) { .contact-band-inner { grid-template-columns: 1fr; gap: 40px; } }
.contact-band h2 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.1; }
.contact-band p { color: var(--fg-2); font-size: 16px; max-width: 460px; margin-top: 16px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.cc-card {
  display: block; padding: 24px; background: var(--bg-1);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  transition: all .2s;
}
.cc-card:hover { border-color: var(--accent-line); }
.cc-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); }
.cc-val { font-family: var(--font-display); font-size: 22px; color: var(--fg-0); margin-top: 6px; letter-spacing: -0.01em; }
.cc-note { font-size: 13px; color: var(--fg-2); margin-top: 6px; }

/* ---------- FAKTUARDCE / BLOG CARDS ---------- */
.fa-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all .2s; cursor: pointer;
}
.fa-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.fa-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.fa-cat { color: var(--accent); }
.fa-card-large .fa-body { padding: 40px 44px; justify-content: flex-start; }
.fa-meta { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.fa-card h3, .fa-card .fa-card-title { margin: 0; font-size: 20px; line-height: 1.3; }
.fa-card-large h3, .fa-card-large .fa-card-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.fa-card p { color: var(--fg-2); font-size: 14px; line-height: 1.55; }
.fa-card-large p { font-size: 16px; }
.fa-more { color: var(--accent); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

.fa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1040px) { .fa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .fa-grid { grid-template-columns: 1fr; } }
.fa-card[hidden], .cl-card[hidden] { display: none; }
/* Vedle levého sloupce kategorií jedou mřížky ve dvou sloupcích */
.help-layout .fa-grid, .help-layout .cl-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .help-layout .fa-grid, .help-layout .cl-grid { grid-template-columns: 1fr; } }

.newsletter-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.newsletter-card input {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px; font-size: 15px;
  color: var(--fg-0); font-family: var(--font-body); outline: none;
}
.newsletter-card input:focus { border-color: var(--accent); }
.nl-note { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); }

/* ---------- CLANKY (BLOG) ---------- */
.cl-card {
  display: flex; flex-direction: column; background: var(--bg-1);
  border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden;
  transition: all .2s;
}
.cl-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.cl-card-hero { display: grid; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 820px) { .cl-card-hero { grid-template-columns: 1fr; } }
.cl-img {
  position: relative; aspect-ratio: 16/9;
  background:
    radial-gradient(400px 200px at 30% 30%, var(--accent-soft), transparent 70%),
    linear-gradient(135deg, oklch(0.2 0.04 258), oklch(0.14 0.03 258));
}
.cl-card-hero .cl-img { aspect-ratio: auto; }
.cl-img-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-img-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--bg-1); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 6px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cl-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.cl-card-hero .cl-body { padding: 40px 44px; justify-content: flex-start; }
.cl-meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.cl-card h3, .cl-card .cl-card-title { margin: 0; font-size: 20px; line-height: 1.3; }
.cl-card-hero h3, .cl-card-hero .cl-card-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.cl-card p { color: var(--fg-2); font-size: 14px; line-height: 1.55; }
.cl-card-hero p { font-size: 16px; }

.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .cl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .cl-grid { grid-template-columns: 1fr; } }

/* ---------- NOVINKY (CHANGELOG) ---------- */
/* Časová osa velkých verzí — vysvětluje, proč seznam vydání začíná až 2022. */
.changelog-gens {
  list-style: none; padding: 0; margin: 28px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 720px;
}
.changelog-gens li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  background: oklch(1 0 0 / 0.03);
}
.changelog-gens strong {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-text);
}
.changelog-gens span { font-size: 13px; color: var(--fg-2); }
.changelog-gens-note {
  margin: 14px 0 0; font-size: 13px; color: var(--fg-3); text-align: center;
}
@media (max-width: 560px) {
  .changelog-gens { flex-direction: column; align-items: stretch; }
  .changelog-gens li { justify-content: center; }
}


.changelog-stats {
  display: flex; gap: 32px; margin-top: 12px; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.changelog-stats > div {
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.cs-num {
  font-family: var(--font-display); font-size: 26px;
  letter-spacing: -0.02em; color: var(--fg-0);
}
.cs-lbl {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3);
}

.release-list { display: flex; flex-direction: column; gap: 0; max-width: 880px; margin: 0 auto; }
.release {
  display: grid; grid-template-columns: 36px 1fr; gap: 22px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-soft);
}
.release-content { grid-column: 2; display: flex; flex-direction: column; }
.release:last-child { border-bottom: none; }
.release-rail { position: relative; }
.release-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
  margin: 4px auto 0;
}
.release-hl .release-dot { background: oklch(0.85 0.15 80); box-shadow: 0 0 0 4px oklch(0.85 0.15 80 / 0.15), 0 0 12px oklch(0.85 0.15 80 / 0.4); }
.release-line {
  position: absolute; top: 22px; left: 50%; bottom: -36px;
  transform: translateX(-50%); width: 1px;
  background: var(--line-soft);
}
.release:last-child .release-line { display: none; }

.release-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.rh-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; }
.rl-label {
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.rl-major { background: oklch(0.85 0.15 80 / 0.15); color: oklch(0.88 0.15 80); }
.rl-minor { background: var(--accent-soft); color: var(--accent); }
.rl-patch { background: var(--bg-2); color: var(--fg-2); }
.rh-version { color: var(--fg-1); }
.rh-date { color: var(--fg-3); }
.rh-title { font-size: 24px; letter-spacing: -0.01em; margin: 4px 0 0; }
.release-hl .rh-title { font-size: 30px; }
.rh-summary { color: var(--fg-2); font-size: 15px; line-height: 1.55; max-width: 640px; }
.rh-counts { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }

.release-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.release-items li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.55; color: var(--fg-1);
}
.release-items li > span:last-child { flex: 1; min-width: 0; }
.rt-tag {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
.release-items .rt-tag { min-width: 90px; text-align: center; }
.rt-new { background: oklch(0.78 0.15 145 / 0.15); color: oklch(0.85 0.15 145); }
.rt-imp { background: var(--accent-soft); color: var(--accent); }
.rt-fix { background: oklch(0.7 0.18 30 / 0.15); color: oklch(0.78 0.16 30); }

.release-archive {
  text-align: center; padding: 40px 0 20px;
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-3);
}
.release-archive a { color: var(--accent); }

/* ---------- Automation flow section ---------- */
.af-pipeline {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}

.af-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.af-top {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.af-line {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.af-step:first-child .af-line:first-child { visibility: hidden; }
.af-step:last-child  .af-line:last-child  { visibility: hidden; }

.af-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.af-step.is-you .af-node {
  background: var(--gold-soft);
  border-color: oklch(0.78 0.17 145 / 0.45);
  color: var(--gold);
  box-shadow: 0 0 28px var(--gold-soft);
}

.af-step.is-done .af-node {
  background: oklch(0.78 0.17 145 / 0.1);
  border-color: oklch(0.78 0.17 145 / 0.45);
  color: var(--gold);
  box-shadow: 0 0 28px oklch(0.78 0.17 145 / 0.12);
}

.af-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.af-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.af-badge-you  { background: var(--gold-soft);             color: var(--gold);   border-color: oklch(0.78 0.17 145 / 0.3); }
.af-badge-auto { background: var(--accent-soft);           color: var(--accent); border-color: var(--accent-line); }
.af-badge-done { background: oklch(0.78 0.17 145 / 0.12); color: var(--gold);   border-color: oklch(0.78 0.17 145 / 0.3); }

.af-body h3 { font-size: 15px; color: var(--fg-0); margin: 0; }
.af-body p  { font-size: 13px; color: var(--fg-3); line-height: 1.55; margin: 0; }

.af-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-1);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--fg-2);
  max-width: 660px;
  margin: 0 auto;
}

.af-callout svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.af-callout strong { color: var(--fg-1); }

@media (max-width: 860px) {
  .af-pipeline { flex-direction: column; }

  .af-step {
    flex-direction: row;
    align-items: stretch;
    text-align: left;
  }

  .af-top {
    flex-direction: column;
    width: 56px;
    flex-shrink: 0;
    margin-right: 20px;
    margin-bottom: 0;
  }

  .af-line {
    height: auto !important;
    width: 1px;
    flex: none;
    visibility: hidden;
  }

  .af-step:not(:last-child) .af-line:last-child {
    visibility: visible;
    flex: 1;
  }

  .af-body {
    align-items: flex-start;
    padding: 4px 0 28px 0;
  }
}

/* ── Sezónní pracovníci ──────────────────────────── */
.seasonal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.seasonal-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seasonal-perks li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-1);
  line-height: 1.5;
}

.seasonal-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.sc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.sc-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.sc-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.sc-active {
  background: var(--gold-soft);
  border-color: oklch(0.78 0.17 145 / 0.35);
  color: var(--gold);
}

.sc-pause {
  background: oklch(1 0 0 / 0.03);
  border-color: var(--line-soft);
  color: var(--fg-3);
}

.sc-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  flex-wrap: wrap;
}

.scl-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.scl-pause {
  color: var(--fg-3);
}

.sc-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 24px 0;
}

.sc-always {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.sc-always strong {
  display: block;
  font-size: 14px;
  color: var(--fg-0);
  margin-bottom: 4px;
  font-weight: 600;
}

.sc-always p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .seasonal-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Fonts loaded via Google Fonts in header.php */
/* Inter Tight and Geist Mono replace Satoshi as primary display/body font */

/* ===== Nápověda — detail článku ===== */
.np-section { padding: 56px 0 104px; }
.contact-band--flush { border-top: none; }
.np-back { display: inline-block; margin-top: 10px; color: var(--fg-2); text-decoration: none; font-size: 14px; }
.np-back:hover { color: var(--fg-0); }
.np-body { font-size: 17px; line-height: 1.7; color: var(--fg-1); }
.np-body hr { border: none; border-top: 1px solid var(--line-soft); margin: 36px 0; }
.np-body p { margin-bottom: 20px; }
.np-body h2 { font-size: 26px; margin: 44px 0 16px; line-height: 1.25; }
.np-body h3 { font-size: 20px; margin: 32px 0 12px; }
.np-body ul, .np-body ol { margin: 0 0 20px 22px; }
.np-body li { margin-bottom: 8px; }
.np-body a { color: var(--accent); }
.np-body img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-soft); }
.np-body code { font-family: 'Geist Mono', monospace; font-size: 0.9em; background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 5px; }
.np-body blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--fg-2); margin: 0 0 20px; }

/* ---------- 404 — nedaňový doklad ---------- */
.err-wrap { max-width: 560px; margin: 0 auto; }
.err-doklad {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px 24px;
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: var(--fg-1);
  overflow: hidden;
}
.err-head {
  display: flex; justify-content: space-between; align-items: baseline;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--fg-2);
  border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px;
}
.err-head .err-num { color: var(--fg-0); font-size: 16px; font-weight: 600; }
.err-row { display: grid; grid-template-columns: 1fr 70px 90px; gap: 10px; padding: 6px 0; }
.err-row span:nth-child(2), .err-row span:nth-child(3) { text-align: right; }
.err-row-head { color: var(--fg-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.err-total {
  display: flex; justify-content: space-between; margin-top: 12px; padding-top: 14px;
  border-top: 1px dashed var(--line); color: var(--fg-0); font-weight: 600;
}
.err-note { margin-top: 14px; font-size: 11.5px; color: var(--fg-3); max-width: 68%; }
.err-stamp {
  position: absolute; right: 24px; bottom: 18px; transform: rotate(-8deg);
  background: var(--bg-1); z-index: 1;
  border: 2px solid var(--danger); color: var(--danger); border-radius: 8px;
  padding: 6px 14px; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 13px; font-weight: 600; pointer-events: none;
  box-shadow: 0 0 0 6px var(--bg-1);
}
.err-actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .err-doklad { padding: 22px 18px 18px; font-size: 13px; }
  .err-row { grid-template-columns: 1fr 50px 80px; }
  .err-note { max-width: 100%; padding-right: 96px; }
  .err-stamp { right: 10px; bottom: 14px; font-size: 11px; padding: 5px 10px; }
}
