/* Finovela · vizuální systém
   Noční švestka + limetka na teplém papíře. Display: Outfit, text: Onest. Mobile-first. */

@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('/assets/fonts/onest.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #17122e;
  --ink-2: #2a2445;
  --plum: #2d1b69;
  --plum-2: #3d2a8a;
  --plum-deep: #1d1147;
  --violet: #5536d4;
  --lilac: #ece7fb;
  --lilac-2: #ddd4f8;
  --lime: #cff35e;
  --lime-2: #bce83a;
  --lime-ink: #2c3a00;
  --coral: #ff7a59;
  --paper: #f7f4ee;
  --paper-2: #efe9de;
  --card: #ffffff;
  --line: #e4ddd0;
  --line-2: #d4cbbb;
  --muted: #5b5670;
  --ok: #11734f;
  --ok-bg: #e3f4ec;
  --warn: #8a4d00;
  --warn-bg: #fdf0d9;
  --bad: #b3261e;
  --bad-bg: #fbe5e3;
  --focus: #5536d4;

  --display: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --text: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(23,18,46,.06), 0 2px 8px rgba(23,18,46,.05);
  --sh-2: 0 2px 4px rgba(23,18,46,.05), 0 12px 32px rgba(23,18,46,.10);
  --sh-3: 0 24px 60px rgba(8,6,16,.30);
  --wrap: 1180px;
  --gut: 16px;
  --header-h: 64px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gut: 28px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--text); font-feature-settings: 'ss01' 0;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: var(--violet); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section--plum :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.1rem); letter-spacing: -.035em; font-weight: 750; }
h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num, .tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 650 .98rem/1.3 var(--text); color: var(--violet); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 10px; height: 14px; flex: none; background: currentColor; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.section--plum .eyebrow, .hero .eyebrow { color: var(--lime); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; line-height: 1.5; }

/* ---------- tlačítka ---------- */
.btn {
  --bg: var(--card); --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 650 1rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover { color: var(--fg); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { width: 20px; height: 20px; }
.btn--primary { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); box-shadow: 0 1px 2px rgba(23,18,46,.14), 0 6px 14px rgba(23,18,46,.12); }
.btn--primary:hover { --bg: var(--lime-2); --bd: var(--lime-2); }
.btn--dark { --bg: var(--plum); --fg: #fff; --bd: var(--plum); }
.btn--dark:hover { --bg: var(--plum-2); --bd: var(--plum-2); color: #fff; }
.btn--ghost { --bg: transparent; }
.btn--ghost:hover { --bd: var(--ink); }
.btn--light { --bg: rgba(255,255,255,.08); --fg: #fff; --bd: rgba(255,255,255,.35); }
.btn--light:hover { --bg: rgba(255,255,255,.16); color: #fff; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 750 1.42rem/1 var(--display); letter-spacing: -.035em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand--light, .brand--light:hover { color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav__list a:hover, .nav__list a[aria-current='page'] { background: var(--lilac); }
.nav__login { display: none; }
.nav .btn--primary { min-height: 44px; padding: 10px 18px; box-shadow: none; }
@media (min-width: 1060px) {
  .nav__list { display: flex; }
  .nav__login { display: inline-flex; }
  .menu { display: none; }
}
.menu { position: relative; }
.menu > summary { list-style: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; cursor: pointer; border: 1.5px solid var(--line-2); background: var(--card); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 22px; }
.menu .ico-close { display: none; }
.menu[open] .ico-close { display: block; }
.menu[open] .ico-open { display: none; }
.menu__panel {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto; padding: 18px var(--gut) 40px;
  border-top: 1px solid var(--line); animation: drop .22s ease;
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.menu__group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.menu__group h2 { font: 600 .74rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.menu__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.menu__group a { display: block; padding: 9px 0; color: var(--ink); font-weight: 550; text-decoration: none; }
.menu__cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- drobečky ---------- */
.crumbs { padding-top: 18px; font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--violet); text-decoration: underline; }

/* ---------- sekce ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--plum { background: #2d1b69; color: #e9e4fb; }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum .lead { color: #d8d0f5; }
.section--plum a:not(.btn) { color: var(--lime); }
.section--lilac { background: var(--lilac); }
.section--paper2 { background: var(--paper-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.section-head--split { max-width: none; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #ece8fb;
  background-color: #241459;
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(207,243,94,.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--plum-deep) 0%, var(--plum) 100%);
  padding: 28px 0 56px;
}
.hero::after { /* zrnitost */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__sails { position: absolute; right: -60px; bottom: -40px; width: min(62vw, 620px); opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 28px; }
@media (min-width: 980px) { .hero { padding: 56px 0 88px; } .hero .wrap { grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; } }
.hero h1 { color: #fff; margin-bottom: .32em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: #d8d0f5; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: #f1eefc; }
.hero__badges svg { width: 18px; height: 18px; color: var(--lime); }
.hero--page { padding: 36px 0 52px; }
@media (max-width: 559px) {
  .hero { padding: 18px 0 40px; }
  .hero .wrap { gap: 22px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero .lead { font-size: 1rem; }
  .hero .hero__badges { display: none; }
  .hero--page { padding: 8px 0 40px; }
}
.hero--page .wrap { grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero--page .wrap.has-aside { grid-template-columns: 1.15fr .85fr; } }
.hero--page h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); }
.hero .crumbs, .hero .crumbs a { color: #bdb3e6; }
.hero .crumbs li:not(:last-child)::after { color: #6f60b0; }
.page-head { padding-top: 8px; padding-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .reveal > *:nth-child(2) { animation-delay: .07s; } .reveal > *:nth-child(3) { animation-delay: .14s; }
  .reveal > *:nth-child(4) { animation-delay: .21s; } .reveal > *:nth-child(5) { animation-delay: .28s; }
  .hero__calc { animation: rise .8s .18s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: .35; transform: translateY(12px); } }

/* ---------- kalkulačka / účtenka ---------- */
.calc { position: relative; background: var(--card); color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 8px; }
.calc__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--lilac); border-radius: 22px; }
.calc__tab { appearance: none; border: 0; background: transparent; border-radius: 18px; padding: 10px 6px; min-height: 52px; font: 650 .9rem/1.15 var(--text); color: var(--ink-2); cursor: pointer; display: grid; gap: 2px; justify-items: center; }
.calc__tab small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.calc__tab[aria-selected='true'] { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.calc__tab[aria-selected='true'] small { color: var(--violet); }
.calc__body { padding: 20px 16px 8px; display: grid; gap: 22px; }
@media (min-width: 560px) { .calc__body { padding: 24px 22px 10px; } }
.field { display: grid; gap: 8px; }
.field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field__top label, .field__label { font-weight: 650; font-size: .95rem; }
.amount-input { display: inline-flex; align-items: baseline; gap: 6px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 6px 12px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.amount-input:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(85,54,212,.15); }
.amount-input input { width: 7.2ch; border: 0; background: transparent; font: 700 1.35rem/1.2 var(--display); text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; padding: 0; }
.amount-input input:focus { outline: none; }
.amount-input span { font: 600 1rem var(--display); color: var(--muted); }
.field.is-invalid .amount-input { border-color: var(--bad); background: var(--bad-bg); }
.field__error { color: var(--bad); font-size: .88rem; font-weight: 550; min-height: 0; }
.field__error:empty { display: none; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 50%; margin: 0; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--plum) var(--p), var(--lilac-2) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--lilac-2); }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--plum); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--lime); border: 4px solid var(--plum); box-shadow: 0 2px 8px rgba(23,18,46,.25); transition: transform .15s; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--plum); box-shadow: 0 2px 8px rgba(23,18,46,.25); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(85,54,212,.25); }
.range__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 650; font-variant-numeric: tabular-nums; transition: all .15s; }
.chip input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip:hover span { border-color: var(--plum); }
.select { appearance: none; width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%2317122e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: 550 1rem var(--text); color: var(--ink); }
.select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(85,54,212,.15); }

.receipt {
  --notch: 12px; position: relative; margin: 6px 0 0; background: var(--paper); border-radius: 22px; padding: 22px 18px 18px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 92px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 92px, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 92px, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 92px, transparent 98%, #000) right / 51% 100% no-repeat;
}
@media (min-width: 560px) { .receipt { padding: 24px 24px 20px; } }
.receipt__total { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 2px dashed var(--line-2); min-height: 70px; }
.receipt__total span { font-size: .86rem; font-weight: 600; color: var(--muted); }
.receipt__total strong { font: 750 clamp(2rem, 1.6rem + 1.6vw, 2.6rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.receipt__total small { font-size: .86rem; color: var(--muted); }
.receipt__rows { margin: 14px 0 0; display: grid; gap: 0; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.receipt__rows div:last-child { border-bottom: 0; }
.receipt__rows dt { color: var(--ink-2); }
.receipt__rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.receipt__rows .is-free dd { color: var(--ok); }
.receipt__rows .is-discount dd { color: var(--ok); }
.receipt__due { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.receipt__due svg { width: 34px; height: 34px; color: var(--plum); }
.receipt__due b { display: block; font: 700 1.05rem/1.2 var(--display); }
.receipt__due span { font-size: .85rem; color: var(--muted); }
.cap-meter { margin-top: 12px; display: grid; gap: 6px; font-size: .84rem; color: var(--ink-2); }
.cap-meter__bar { position: relative; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cap-meter__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--ok); border-radius: 99px; transition: width .35s ease; }
.cap-meter__row { display: flex; justify-content: space-between; gap: 10px; }
.calc__actions { padding: 14px 16px 18px; display: grid; gap: 10px; }
@media (min-width: 560px) { .calc__actions { padding: 14px 22px 22px; } }
.calc__tools { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; }
.calc__tools button, .calc__tools a { appearance: none; background: none; border: 0; padding: 8px 4px; font: 600 .86rem var(--text); color: var(--violet); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; min-height: 40px; }
.calc__tools svg { width: 16px; height: 16px; }
.calc__note { font-size: .78rem; color: var(--muted); text-align: center; margin: 0; line-height: 1.45; }
.calc__warn { display: flex; gap: 8px; align-items: center; justify-content: center; font: 650 .82rem var(--text); color: var(--ink); background: var(--warn-bg); border-radius: 10px; padding: 8px 10px; margin: 0; text-align: center; }
.calc[data-state='invalid'] .receipt { opacity: .55; }
.calc[data-state='invalid'] .receipt__total strong { color: var(--muted); }
.calc__klub { display: grid; gap: 8px; }
.calc__klub-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lilac); color: var(--plum); font: 650 .78rem/1.3 var(--text); }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.flash { animation: flash .5s ease; }
@keyframes flash { 0% { color: var(--violet); } 100% { color: inherit; } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; } }

/* ---------- reprezentativní příklad ---------- */
.repr { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.repr h3, .repr .repr__title { font: 700 .82rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin: 0 0 8px; }
.repr p { margin: 0 0 .6em; }
.repr p:last-child { margin: 0; }
.warning { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); }
.warning::before { content: '!'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; font: 800 .8rem/1 var(--display); flex: none; }
.section--plum .repr { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #e1dbf7; }
.section--plum .repr h3, .section--plum .repr .repr__title { color: var(--lime); }
.section--plum .warning { color: #fff; }

/* ---------- karty a mřížky ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 20px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; box-shadow: var(--sh-1); position: relative; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card h3 a.stretched { color: inherit; text-decoration: none; }
.card--link a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lilac); color: var(--plum); margin-bottom: 16px; }
.card__icon svg { width: 26px; height: 26px; }
.section--plum .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; color: #e1dbf7; }
.section--plum .card__icon { background: rgba(207,243,94,.14); color: var(--lime); }

.product-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.product-card--star { background: #2d1b69; color: #e7e1fa; border-color: var(--plum); }
.product-card--star h3 { color: #fff; }
.product-card__tag { align-self: flex-start; }
.product-card__price { font: 750 2.3rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.product-card__price small { font: 500 .95rem var(--text); letter-spacing: 0; color: var(--muted); display: block; margin-top: 6px; }
.product-card--star .product-card__price small { color: #c9bfef; }
.product-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.product-card li { display: flex; gap: 10px; align-items: flex-start; }
.product-card li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.product-card--star li svg { color: var(--lime); }
.product-card .btn-row { margin-top: auto; padding-top: 6px; }
.product-card__sail { position: absolute; right: -24px; top: -18px; width: 140px; opacity: .14; pointer-events: none; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--lilac); color: var(--plum); display: grid; place-items: center; }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list b { display: block; font: 700 1.06rem/1.3 var(--display); margin-bottom: 2px; }
.feature-list p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.section--plum .feature-list .ico { background: rgba(207,243,94,.14); color: var(--lime); }
.section--plum .feature-list b { color: #fff; }
.section--plum .feature-list p { color: #d6cef3; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); padding: 22px 20px; }
.stat b { display: block; font: 750 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--plum); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }

/* kroky */
.steps-visual { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps-visual { grid-template-columns: repeat(4, 1fr); } }
.steps-visual li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; position: relative; }
.steps-visual li::before { content: counter(s, decimal-leading-zero); display: block; font: 750 2.4rem/1 var(--display); color: var(--plum); letter-spacing: -.04em; margin-bottom: 14px; }
.steps-visual li b { display: block; font: 700 1.1rem/1.25 var(--display); margin-bottom: 6px; }
.steps-visual li p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.steps-visual .time { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 650; color: var(--violet); }
.section--plum .steps-visual li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--plum .steps-visual li::before { color: var(--lime); }
.section--plum .steps-visual li b { color: #fff; }
.section--plum .steps-visual li p { color: #d6cef3; }

/* Klub úrovně */
.levels { display: grid; gap: 14px; }
@media (min-width: 700px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.level { border-radius: var(--r-l); padding: 22px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; position: relative; }
.level__badge { width: 64px; height: 64px; }
.level h3 { margin: 0; }
.level__need { font-size: .9rem; color: var(--muted); margin: -6px 0 0; }
.level__big { font: 750 2.2rem/1 var(--display); letter-spacing: -.03em; color: var(--plum); }
.level__big small { font: 550 .88rem var(--text); color: var(--muted); letter-spacing: 0; }
.level ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.level li { display: flex; gap: 8px; }
.level li svg { width: 17px; height: 17px; margin-top: 3px; color: var(--ok); }
.section--plum .level { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #ddd6f5; }
.section--plum .level h3 { color: #fff; }
.section--plum .level__big { color: var(--lime); }
.section--plum .level__need { color: #b9aee3; }
.section--plum .level li svg { color: var(--lime); }

/* tabulky */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--lilac); font: 700 .84rem/1.3 var(--text); color: var(--plum); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.is-hl td, .table tr.is-hl th { background: #f6fbe3; }
.table--compact { min-width: 0; }
@media (max-width: 559px) {
  .table--stack { min-width: 0; }
  .table--stack thead { display: none; }
  .table--stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table--stack td, .table--stack th { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; text-align: right; }
  .table--stack td::before, .table--stack th::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
}

/* text článků */
.prose { font-size: 1.06rem; line-height: 1.72; }
.prose > * { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.95rem); }
.prose h3 { margin-top: 1.5em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--violet); font-weight: 700; }
.prose .table-wrap { max-width: none; }
.callout { border-radius: var(--r-m); padding: 16px 18px 16px 52px; margin: 0 0 1.4em; background: var(--lilac); position: relative; font-size: .98rem; line-height: 1.6; }
.callout::before { content: 'i'; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font: 750 .85rem/1 var(--display); }
.callout p:last-child { margin: 0; }
.callout--warn { background: var(--warn-bg); }
.callout--warn::before { content: '!'; background: var(--warn); }
.callout--tip { background: #eef8d6; }
.callout--tip::before { content: '✓'; background: var(--ok); }
.example { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); overflow: hidden; }
.example figcaption { padding: 12px 18px; background: var(--plum); color: #fff; font: 650 .95rem/1.35 var(--display); }
.example dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.example dt, .example dd { margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.example dd { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.example dt:last-of-type, .example dd:last-of-type { border-bottom: 0; }
.example p { padding: 10px 18px; margin: 0; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
ol.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 12px; }
ol.steps > li { counter-increment: st; position: relative; padding: 2px 0 2px 50px; min-height: 36px; margin: 0; }
ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 750 1rem/1 var(--display); }
ul.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
ul.checklist > li { position: relative; padding-left: 36px; margin: 0; }
ul.checklist > li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--plum); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232d1b69' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.5l3 3 6-7'/%3E%3C/svg%3E") no-repeat center; }
dl.facts { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--card); }
dl.facts dt, dl.facts dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
dl.facts dt { font-weight: 650; background: var(--paper); }
dl.facts dt:last-of-type, dl.facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 559px) { dl.facts { grid-template-columns: 1fr; } dl.facts dt { border-bottom: 0; padding-bottom: 2px; } }
.form-template { border: 2px dashed var(--line-2); border-radius: var(--r-m); padding: 22px; background: var(--card); margin: 0 0 1em; }
.form-template .fill { display: inline-block; min-width: 180px; border-bottom: 1.5px solid var(--ink); height: 1.2em; vertical-align: bottom; }

.article-layout { display: grid; gap: 40px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } .article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--muted); margin: 0 0 24px; }
.sources { margin-top: 40px; padding: 20px; border-radius: var(--r-m); background: var(--paper-2); font-size: .92rem; }
.sources h2 { font-size: 1.05rem; margin: 0 0 10px; }
.sources ul { margin: 0; padding-left: 1.1em; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.15rem; margin: 0; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.toc { font-size: .93rem; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--violet); text-decoration: underline; }

.post-card { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.post-card__cover { aspect-ratio: 16 / 8; display: block; }
.post-card__cover svg { width: 100%; height: 100%; display: block; }
.post-card__body { padding: 4px 20px 22px; display: grid; gap: 8px; }
.post-card__body h3 { margin: 0; font-size: 1.18rem; }
.post-card__body h3 a { color: var(--ink); text-decoration: none; }
.post-card__body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card__body p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.post-card__meta { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font: 650 1.04rem/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 9px; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%232d1b69' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E") no-repeat center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin: 0; }
.section--plum .faq details { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--plum .faq summary { color: #fff; }
.section--plum .faq .faq__a { color: #d6cef3; }
.search { position: relative; margin-bottom: 18px; }
.search input { width: 100%; min-height: 58px; border-radius: 18px; border: 1.5px solid var(--line-2); padding: 14px 18px 14px 52px; font: 500 1.05rem var(--text); background: var(--card); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(85,54,212,.15); }
.search svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--muted); }
.search-results { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.search-results a { display: block; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-results a b { display: block; font-family: var(--display); }
.search-results a span { font-size: .88rem; color: var(--muted); }
.search-results a:hover { border-color: var(--violet); }
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; padding: 0; list-style: none; }
.faq-cats a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; }
.faq-cats a:hover { border-color: var(--plum); }

/* CTA pás */
.cta-band { border-radius: var(--r-xl); background: #2d1b69; color: #e5dffa; padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 0; color: #d4cbf2; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band__sail { position: absolute; right: -30px; bottom: -40px; width: 260px; opacity: .5; pointer-events: none; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; align-items: center; } }

/* split */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }
.media-frame { border-radius: var(--r-xl); overflow: hidden; background: var(--lilac); }
.media-frame svg { display: block; width: 100%; height: auto; }

/* compare price table on home */
.vs { display: grid; gap: 12px; }
.vs__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vs__row b { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.vs__row--us { background: var(--lime); border-color: var(--lime); }
.vs__bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.vs__bar i { display: block; height: 100%; background: var(--plum); border-radius: 99px; }
.vs__row--us .vs__bar { background: rgba(23,18,46,.15); }

/* formuláře (žádost, kontakt, přihlášení) */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(20px, 4vw, 36px); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.input { display: grid; gap: 6px; }
.input label, .input .label { font-weight: 650; font-size: .95rem; }
.input .hint { font-size: .84rem; color: var(--muted); }
.input input, .input select, .input textarea {
  width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper);
  padding: 12px 14px; font: 500 1.02rem var(--text); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input textarea { min-height: 140px; resize: vertical; }
.input select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%2317122e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(85,54,212,.15); background: var(--card); }
.input.is-invalid input, .input.is-invalid select, .input.is-invalid textarea { border-color: var(--bad); background: var(--bad-bg); }
.input .err { color: var(--bad); font-size: .86rem; font-weight: 600; }
.input .err:empty { display: none; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--plum); cursor: pointer; }
.check.is-invalid { color: var(--bad); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.fieldset legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.radio-cards { display: grid; gap: 10px; }
@media (min-width: 640px) { .radio-cards--3 { grid-template-columns: repeat(3, 1fr); } .radio-cards--2 { grid-template-columns: repeat(2, 1fr); } }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-card > span { display: grid; gap: 4px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--paper); transition: border-color .15s, background .15s; }
.radio-card b { font-family: var(--display); font-size: 1.05rem; }
.radio-card small { color: var(--muted); font-size: .85rem; }
.radio-card input:checked + span { border-color: var(--plum); background: var(--lilac); box-shadow: inset 0 0 0 1px var(--plum); }
.radio-card input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.progress { display: flex; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.progress li { flex: 1; display: grid; gap: 8px; font-size: .76rem; font-weight: 650; color: var(--muted); }
.progress li::before { content: ''; height: 6px; border-radius: 99px; background: var(--line); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--plum); }
.progress li.is-current { color: var(--ink); }
@media (max-width: 559px) { .progress li span { display: none; } .progress li.is-current span { display: inline; } }
.step[hidden] { display: none !important; }
.step h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.step__nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; flex-wrap: wrap-reverse; }
.step__nav .btn { flex: 1 1 160px; }
.summary-box { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 6px; font-size: .95rem; }
.summary-box div { display: flex; justify-content: space-between; gap: 12px; }
.summary-box b { font-variant-numeric: tabular-nums; }
.notice { border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.notice svg { width: 22px; height: 22px; margin-top: 1px; }
.notice--info { background: var(--lilac); color: var(--plum-deep); }
.notice--ok { background: var(--ok-bg); color: #0b4d35; }
.notice--warn { background: var(--warn-bg); color: #5d3300; }
.notice--bad { background: var(--bad-bg); color: #7a1a14; }
.notice p { margin: 0; }
.result-state { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.result-state .big-ico { width: 76px; height: 76px; border-radius: 26px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.result-state .big-ico svg { width: 38px; height: 38px; }
.apply-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .apply-layout { grid-template-columns: minmax(0, 1fr) 340px; } .apply-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .93rem; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }

/* budget */
.budget { display: grid; gap: 24px; }
@media (min-width: 960px) { .budget { grid-template-columns: 1.1fr .9fr; } .budget__result { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.budget__bar { height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; display: flex; }
.budget__bar i { display: block; height: 100%; }
.legend { display: grid; gap: 6px; font-size: .9rem; margin: 12px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; justify-content: space-between; gap: 10px; }
.legend li span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--c); }

/* toast, dialog, cookie lišta */
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.consent { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 560px; margin-left: auto; background: var(--card); color: var(--ink); border-radius: 22px; box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.15rem; margin: 0; }
.consent p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.consent .btn-row .btn { flex: 1 1 140px; }
.dialog { border: 0; border-radius: 24px; padding: 0; width: min(560px, calc(100vw - 24px)); box-shadow: var(--sh-3); color: var(--ink); }
.dialog::backdrop { background: rgba(23,18,46,.55); backdrop-filter: blur(3px); }
.dialog__inner { padding: 24px; display: grid; gap: 16px; }
.dialog h2 { font-size: 1.3rem; margin: 0; }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle-row p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.switch { position: relative; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line-2); transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--sh-1); }
.switch input:checked + span { background: var(--plum); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { background: var(--ok); opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* sticky CTA (mobil) */
.sticky-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; transform: none; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta__price { font-size: .8rem; line-height: 1.25; color: var(--muted); flex: 1.1; }
.sticky-cta__price b { display: block; font: 750 1.05rem var(--display); color: var(--ink); }
@media (min-width: 980px) { .sticky-cta { display: none; } }
body.has-sticky .site-footer { padding-bottom: 96px; }
@media (min-width: 980px) { body.has-sticky .site-footer { padding-bottom: 32px; } }

/* zápatí */
.site-footer { background: #17122e; color: #c9c3df; padding: 56px 0 32px; font-size: .93rem; }
.site-footer a { color: #e9e5f7; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.footer-col h2 { font: 650 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #8f86b3; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand p { margin: 14px 0 0; max-width: 34ch; }
.footer-legal { padding-top: 24px; display: grid; gap: 14px; font-size: .84rem; line-height: 1.55; color: #a39cbf; }
.footer-legal p { margin: 0; }
.footer-legal .warning { color: #fff; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8f86b3; }
.footer-bottom button { background: none; border: 0; color: #e9e5f7; font: inherit; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: .18em; }

/* utility */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; }
.center { text-align: center; } .center .section-head { margin-inline: auto; }
.stack { display: grid; gap: 16px; }
.stack-l { display: grid; gap: 28px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kbd { font: 600 .85em var(--text); background: var(--paper-2); border-radius: 6px; padding: 1px 6px; }
.err-404 { font: 800 clamp(6rem, 4rem + 10vw, 12rem)/1 var(--display); letter-spacing: -.06em; color: var(--plum); margin: 0; }
.sitemap-cols { columns: 1; column-gap: 40px; }
@media (min-width: 700px) { .sitemap-cols { columns: 2; } }
@media (min-width: 1000px) { .sitemap-cols { columns: 3; } }
.sitemap-cols section { break-inside: avoid; margin-bottom: 28px; }
.sitemap-cols h2 { font-size: 1.15rem; }
.sitemap-cols ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
noscript .notice { margin: 12px 0; }

/* tisk */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; color: #000; }
  .site-header, .site-footer .footer-top, .menu, .sticky-cta, .consent, .toast, .calc__tabs, .calc__tools, .btn, .hero__sails, .cta-band, .crumbs, nav, .no-print { display: none !important; }
  .hero, .section--plum { background: #fff !important; color: #000 !important; padding: 0 !important; }
  .hero h1, .section--plum h2 { color: #000 !important; }
  .calc { box-shadow: none; border: 1px solid #999; }
  .receipt { -webkit-mask: none; mask: none; border: 1px solid #999; }
  .print-only { display: block !important; }
  a { color: #000; text-decoration: none; }
  .site-footer { background: #fff; color: #000; padding: 12px 0 0; }
  .footer-legal, .footer-legal p { color: #000; }
}
.print-only { display: none; }

.quick-links { display: grid; gap: 10px; margin-bottom: 32px; }
@media (min-width: 640px) { .quick-links { grid-template-columns: repeat(3, 1fr); } }
.quick-link { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; transition: border-color .2s, transform .2s; }
.quick-link:hover { border-color: var(--plum); color: var(--ink); transform: translateY(-2px); }
.quick-link .card__icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.badge-row { display: flex; gap: 14px; align-items: center; }

.cta-band .warning { color: #fff; }

.calc .chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.calc .chip span { width: 100%; justify-content: center; padding: 8px 6px; }

/* gridové děti nesmí roztáhnout stránku (tabulky, dlouhé texty) */
.article-layout > *, .split > *, .grid > *, .apply-layout > *, .budget > *, .hero .wrap > *, .footer-top > *, .levels > * { min-width: 0; }
.crumbs li { overflow-wrap: anywhere; }

.section--plum .level__big small { color: #c9bfef; }
.section--plum .level .small { color: #ddd6f5; }

.h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: -.01em; line-height: 1.2; }

/* karty s ikonou: ikona vlevo, text vpravo (kompaktní, bez dlaždice nad nadpisem) */
.card:has(> .card__icon) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.card:has(> .card__icon) > :not(.card__icon) { grid-column: 2; }
.card:has(> .card__icon) > .card__icon { grid-row: 1 / span 4; width: 40px; height: 40px; margin: 2px 0 0; border-radius: 50%; background: none; border: 1.5px solid var(--lilac-2); }
.card:has(> .card__icon) > .card__icon svg { width: 21px; height: 21px; }
.section--plum .card:has(> .card__icon) > .card__icon { border-color: rgba(207,243,94,.35); }

.model-note { padding: 9px 0; font-size: .84rem; line-height: 1.45; color: var(--ink); background: var(--lilac); }
.model-note a { color: inherit; text-underline-offset: .15em; }
.contact-grid { display: grid; gap: 24px; align-items: start; }
.contact-grid dl { margin-bottom: 0; }
.contact-grid dd { overflow-wrap: anywhere; }
@media (min-width: 850px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 979px) {
  .consent { bottom: calc(78px + env(safe-area-inset-bottom)); max-height: 48dvh; overflow-y: auto; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  body:has(.menu[open], dialog[open], input:focus, textarea:focus, select:focus) .sticky-cta { display: none; }
  html { scroll-padding-bottom: 80px; }
}

@media (min-width: 980px) {
  .hero--home .wrap > .reveal { align-self: start; padding-top: clamp(24px, 6vw, 90px); }
}
