/* © Martin Šrámek – ORBA Revize. Web orbaapp.cz. */
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #0E0C24;
  --night-2: #171338;
  --ink: #231A55;
  --gold: #E2B53C;
  --gold-2: #F3D27A;
  --gold-ink: #7A5600;
  --paper: #F7F4EC;
  --paper-2: #EFEAdd;
  --card: #FFFFFF;
  --text: #1B1838;
  --muted: #5B5772;
  --line: #E1DACA;
  --ok: #1E6B3A;
  --bad: #B3261E;
  --warn: #B07A00;
  --focus: #E2B53C;
  --radius: 18px;
  --wrap: 1160px;
  --gutter: 16px;
  --head: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121027; --paper-2: #1A1736; --card: #1E1A3E; --text: #ECE8F7; --muted: #AAA4C4;
    --line: #2F2A57; --ok: #6FD39A; --bad: #FF8A80; --warn: #F3D27A; --gold-ink: #F3D27A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121027; --paper-2: #1A1736; --card: #1E1A3E; --text: #ECE8F7; --muted: #AAA4C4;
  --line: #2F2A57; --ok: #6FD39A; --bad: #FF8A80; --warn: #F3D27A; --gold-ink: #F3D27A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- hlavička ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(226,181,60,.18); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.05rem/1 var(--head); letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
.brand b { color: var(--gold-2); font-weight: 800; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; color: rgba(255,255,255,.82); }
.nav a:hover { color: #fff; }
.nav .btn { color: var(--night); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 1rem/1.2 var(--head); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 6px 22px rgba(226,181,60,.28); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.top .btn { min-height: 40px; padding: 8px 16px; font-size: .92rem; }

/* ---------- úvod ---------- */
.hero { background: radial-gradient(120% 90% at 75% 20%, #2E2470 0%, var(--night-2) 45%, var(--night) 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 0 88px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: rgba(255,255,255,.84); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226,181,60,.2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.avail { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: rgba(255,255,255,.7); padding: 0; margin: 0; list-style: none; }
.avail li { display: flex; align-items: center; gap: 7px; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FD39A; }
.avail .dot.wait { background: transparent; border: 1.5px solid rgba(255,255,255,.55); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.orbit { position: absolute; width: min(540px, 118%); aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(226,181,60,.55); }
.orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(226,181,60,.22); }
.orbit .sat { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); left: 50%; top: -7px; margin-left: -7px; box-shadow: 0 0 0 6px rgba(226,181,60,.18); }
.orbit-spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tag { position: absolute; background: rgba(14,12,36,.82); border: 1px solid rgba(226,181,60,.4); color: #fff; font-size: .82rem; padding: 7px 12px; border-radius: 12px; white-space: nowrap; backdrop-filter: blur(6px); }
.tag b { color: var(--gold-2); font-weight: 600; }
.tag { max-width: 150px; white-space: normal; line-height: 1.3; z-index: 2; }
.tag.t1 { top: 16%; left: 0; } .tag.t2 { top: 46%; left: 0; } .tag.t3 { top: 74%; left: 0; }
.hero-visual .phone { margin-left: 120px; }
.hero-visual .orbit { left: calc(50% + 60px); top: 50%; transform: translate(-50%, -50%); }

/* telefon */
.phone { position: relative; width: 300px; max-width: 82vw; border-radius: 42px; padding: 11px; background: linear-gradient(160deg, #3a3560, #14112e); box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone .scr { border-radius: 32px; overflow: hidden; background: #F4F6FA; color: #1A1A1A; min-height: 560px; display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
.phone .notch { height: 26px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; font: 600 11px/1 var(--body); color: #333; }
.phone .notch::after { content: "▮▮▮  ◔"; letter-spacing: 1px; font-size: 9px; }
.app-bar { background: #1F3A5F; color: #fff; padding: 10px 16px 12px; }
.app-bar small { display: block; opacity: .75; font-size: 11.5px; }
.app-bar strong { font: 700 15px/1.25 var(--head); }
.progress { height: 5px; background: rgba(255,255,255,.2); border-radius: 3px; margin-top: 9px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 69%; background: var(--gold); border-radius: 3px; }
.q { padding: 18px 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.q .k { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #5B6B86; font-weight: 600; }
.q h4 { font: 800 21px/1.2 var(--head); letter-spacing: -0.01em; margin: 0; color: #111; }
.q p { margin: 0; color: #444; font-size: 13.5px; }
.big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.big span { display: flex; align-items: center; justify-content: center; min-height: 64px; border-radius: 16px; font: 800 16px/1 var(--head); }
.big .okb { background: #1E6B3A; color: #fff; }
.big .badb { background: #fff; color: #B3261E; border: 2px solid #B3261E; }
.mini-row { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid #D8DDE6; font-size: 12px; color: #333; }
.chip.cat { border-color: #136F63; color: #136F63; }
.chip.prev { border-color: #5B6B86; color: #5B6B86; }
.chip.warn { border-color: #E0A100; color: #7A5600; background: #FFF6DC; }
.zbyva { margin: 0 12px 12px; background: #fff; border-radius: 14px; padding: 10px 12px; border-left: 5px solid #E0A100; font-size: 12.5px; color: #333; }
.zbyva b { color: #7A5600; }

/* ---------- sekce ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.mark i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); color: var(--text); font: 800 .95rem/1 var(--head); letter-spacing: 0; }
.intro { max-width: 46em; color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--paper-2); }
.dark { background: var(--night); color: #fff; }
.dark .intro, .dark p { color: rgba(255,255,255,.78); }
.dark .mark { color: var(--gold-2); }
.dark .mark i { color: #fff; }

/* zakázka – krok za krokem */
.job { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; margin-top: 40px; }
.job-head { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.job-head span { font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 46px 64px; counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem/1 var(--head); background: var(--card); border: 2px solid var(--gold); color: var(--text); }
.step::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 20%, transparent)); }
.step:last-child::after { display: none; }
.step .t { font: 700 .82rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.step h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.step p { color: var(--muted); max-width: 36em; }
.step .gain { display: inline-flex; gap: 8px; align-items: baseline; font-size: .95rem; color: var(--text); background: color-mix(in srgb, var(--gold) 16%, var(--card)); border-radius: 10px; padding: 8px 12px; }
.step .gain b { color: var(--gold-ink); }
.step.on::before { background: var(--gold); color: var(--night); }
.stick { position: sticky; top: 92px; }
.stick .phone { width: 320px; }
.stick .scr { min-height: 600px; }
.screen-inline { display: none; margin-top: 18px; }
@media (max-width: 960px) {
  .job { grid-template-columns: 1fr; gap: 0; }
  .stick { display: none; }
  .screen-inline { display: block; }
  .step { padding-left: 54px; }
  .step::before { width: 36px; height: 36px; font-size: .95rem; }
  .step::after { left: 17px; top: 40px; }
}
/* malé obrazovky v kroku */
.mscreen { background: #F4F6FA; color: #1A1A1A; border-radius: 22px; overflow: hidden; border: 1px solid #D8DDE6; box-shadow: 0 10px 30px rgba(14,12,36,.12); max-width: 360px; font-size: 14px; line-height: 1.4; }
.mscreen .app-bar { padding: 10px 14px; }
.mscreen .body { padding: 14px; display: grid; gap: 10px; }
.field { background: #fff; border-radius: 12px; padding: 9px 12px; border: 1px solid #E1E5EC; }
.field small { display: block; color: #5B6B86; font-size: 11.5px; }
.field b { font-weight: 600; color: #111; }
.field .src { float: right; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: #E3F2EF; color: #136F63; margin-top: 2px; }
.field .src.prev { background: #E9ECF2; color: #5B6B86; }
.field .src.plate { background: #E3F2EF; color: #136F63; }
.field.red { border-left: 5px solid #B3261E; }
.rowbtn { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #D8DDE6; font-size: 13px; font-weight: 600; }
.pill.sel { background: #1F3A5F; color: #fff; border-color: #1F3A5F; }
.pill.dim { opacity: .45; text-decoration: line-through; }
.okline { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; background: #fff; border-radius: 12px; font-size: 13px; border: 1px solid #E1E5EC; }
.okline em { font-style: normal; font-weight: 700; color: #1E6B3A; }
.okline em.bad { color: #B3261E; }
.redbar { background: #B3261E; color: #fff; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.amberbox { border: 2px solid #E0A100; border-radius: 12px; padding: 10px 12px; background: #FFF6DC; font-size: 13px; }
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share span { background: #fff; border: 1px solid #E1E5EC; border-radius: 12px; padding: 12px 10px; text-align: center; font-size: 12.5px; font-weight: 600; }
.share span::before { display: block; font-size: 18px; margin-bottom: 4px; content: attr(data-i); }

/* úkon – přepínač */
.switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 26px; }
.switch button { font: 700 1rem/1.2 var(--head); padding: 12px 18px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
:root[data-theme="dark"] .switch button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .switch button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); } }
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.count { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; }
.count .n { font: 800 4.4rem/1 var(--head); letter-spacing: -0.04em; color: var(--text); }
.count .n small { font-size: 1.4rem; color: var(--muted); letter-spacing: 0; }
.count p { color: var(--muted); margin: 10px 0 0; font-size: .97rem; }
.count .law { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.fields { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fields li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: opacity .25s, background .25s; font-size: .97rem; line-height: 1.4; }
.fields li .ic { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--ok); color: #fff; margin-top: 1px; }
.fields li small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.fields li.opt .ic { background: transparent; border: 2px solid var(--ok); color: var(--ok); }
.fields li.off { opacity: .38; background: transparent; }
.fields li.off .ic { background: transparent; border: 2px solid var(--muted); color: var(--muted); }
.fields li.off .lbl { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--muted); margin-top: 16px; }
@media (max-width: 960px) { .profile { grid-template-columns: 1fr; gap: 20px; } .count { position: static; display: flex; gap: 18px; align-items: center; padding: 18px; } .count .n { font-size: 3.2rem; } .count p { margin: 0; } .count .law { display: none; } }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } .fields li.off { display: none; } .switch { display: grid; grid-template-columns: 1fr 1fr; } .switch button { padding: 10px 10px; font-size: .95rem; } }

/* výstup */
.out { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; margin-top: 44px; align-items: start; }
.sheet { background: #fff; color: #1a1a1a; border-radius: 6px; box-shadow: 0 30px 70px rgba(0,0,0,.45); padding: 34px 34px 28px; font: 12.5px/1.45 var(--body); position: relative; transform: rotate(-.6deg); }
.sheet .lh { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid #1F3A5F; padding-bottom: 12px; margin-bottom: 14px; }
.sheet .lh .logo { width: 44px; height: 44px; border-radius: 10px; background: #1F3A5F; color: #fff; display: grid; place-items: center; font: 800 13px/1 var(--head); flex: none; }
.sheet .lh .firm { display: flex; gap: 10px; align-items: center; }
.sheet .lh b { font: 800 14px/1.2 var(--head); display: block; }
.sheet .lh small { color: #555; font-size: 11px; }
.sheet .no { text-align: right; font-size: 11px; color: #555; }
.sheet .no b { font: 800 14px/1.2 var(--head); color: #111; }
.sheet h4 { font: 800 17px/1.25 var(--head); margin: 0 0 10px; color: #111; letter-spacing: -0.01em; }
.sheet dl { display: grid; grid-template-columns: 128px 1fr; gap: 3px 12px; margin: 0 0 12px; }
.sheet dt { color: #666; }
.sheet dd { margin: 0; font-weight: 500; }
.sheet .laik { background: #F3F7F2; border-left: 4px solid #1E6B3A; padding: 9px 12px; margin: 12px 0; border-radius: 4px; }
.sheet .laik b { color: #1E6B3A; }
.sheet .def { border: 1px solid #E8C9C6; background: #FDF5F4; border-radius: 6px; padding: 9px 12px; margin: 10px 0; }
.sheet .def b { color: #B3261E; }
.sheet .concl { font-weight: 700; border-top: 1px solid #ddd; padding-top: 10px; margin-top: 12px; }
.sheet .sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 14px; min-height: 96px; position: relative; }
.sheet .sign img.st { width: 150px; transform: rotate(-4deg); }
.sheet .sign img.sg { width: 140px; position: absolute; left: 120px; bottom: 18px; }
.sheet .sign small { color: #666; font-size: 10.5px; }
.sheet .vzor { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%) rotate(-24deg); font: 800 92px/1 var(--head); color: rgba(31,58,95,.06); pointer-events: none; letter-spacing: .08em; }
.side-out { display: grid; gap: 22px; }
.labelcard { background: #FFFDF6; color: #111; border-radius: 10px; padding: 14px; display: grid; grid-template-columns: 1fr 108px; gap: 12px; align-items: center; aspect-ratio: 90 / 55; box-shadow: 0 18px 40px rgba(0,0,0,.4); border: 1px solid #e8dfc4; font-size: 11.5px; line-height: 1.35; max-width: 400px; }
.labelcard b { font: 800 13px/1.2 var(--head); display: block; margin-bottom: 4px; }
.labelcard .due { margin-top: 6px; font: 800 15px/1.2 var(--head); color: #1F3A5F; }
.labelcard img { width: 108px; height: 108px; image-rendering: pixelated; }
.invoice { background: #fff; color: #111; border-radius: 10px; padding: 16px; display: grid; grid-template-columns: 1fr 92px; gap: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.4); font-size: 12.5px; max-width: 400px; }
.invoice b { font: 800 13.5px/1.2 var(--head); }
.invoice table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; }
.invoice td { padding: 3px 0; border-bottom: 1px solid #eee; }
.invoice td:last-child { text-align: right; color: #888; }
.invoice img { width: 92px; height: 92px; }
.cap { font-size: .95rem; color: rgba(255,255,255,.78); margin: -8px 0 0; }
.cap b { color: #fff; }
.filename { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font: 500 .92rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 12px; border-radius: 10px; color: #fff; }
@media (max-width: 960px) { .out { grid-template-columns: 1fr; } .sheet { transform: none; padding: 22px 18px; } .sheet dl { grid-template-columns: 104px 1fr; } }
@media (max-width: 420px) { .sheet .lh { flex-direction: column; } .sheet .no { text-align: left; } .sheet .sign img.sg { left: 96px; width: 120px; } .sheet .sign img.st { width: 128px; } }

/* kruh */
.ring { position: relative; margin: 48px auto 0; width: min(100%, 760px); aspect-ratio: 1; }
.ring > svg.r { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring .center { position: absolute; inset: 30%; display: grid; place-items: center; text-align: center; }
.ring .center b { font: 800 clamp(1.3rem, 3vw, 2rem)/1.15 var(--head); letter-spacing: -0.02em; display: block; }
.ring .center small { color: var(--muted); font-size: .95rem; display: block; margin-top: 8px; }
.node { position: absolute; width: 210px; transform: translate(-50%, -50%); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: .92rem; line-height: 1.4; box-shadow: 0 8px 24px rgba(14,12,36,.08); }
.node b { display: block; font: 700 1rem/1.25 var(--head); margin-bottom: 3px; }
.node span { color: var(--muted); }
.node i { font-style: normal; position: absolute; top: -12px; left: 14px; background: var(--gold); color: var(--night); font: 800 .75rem/1 var(--head); padding: 5px 8px; border-radius: 999px; }
@media (max-width: 860px) {
  .ring { aspect-ratio: auto; width: 100%; }
  .ring > svg.r, .ring .center { display: none; }
  .ring .nodes { list-style: none; padding: 0 0 0 26px; margin: 0; border-left: 3px solid var(--gold); display: grid; gap: 22px; }
  .node { position: relative; transform: none; width: auto; left: auto !important; top: auto !important; }
  .node::before { content: ""; position: absolute; left: -36px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
  .ring .loop { display: block; }
}
.ring .nodes { list-style: none; margin: 0; padding: 0; }
.ring .loop { display: none; margin-top: 18px; font-weight: 600; color: var(--gold-ink); }

/* karty */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .96rem; }
.card ul li { margin: 4px 0; }
.card .who { display: inline-block; font: 700 .78rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.dark .card p, .dark .card ul { color: rgba(255,255,255,.75); }

.cat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.search { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 14px 40px rgba(14,12,36,.08); }
.search .in { display: flex; gap: 10px; align-items: center; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
:root[data-theme="dark"] .search .in { border-color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .search .in { border-color: var(--gold); } }
.search .in::before { content: "⌕"; font-size: 1.2rem; color: var(--muted); }
.search .in .caret { width: 2px; height: 1.1em; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.res { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.res li { padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .93rem; }
.res li b { display: block; }
.res li small { color: var(--muted); }
.res .badge { float: right; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.res .badge.u { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--gold-ink); }
@media (max-width: 860px) { .cat { grid-template-columns: 1fr; gap: 28px; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font: 800 1.15rem/1.25 var(--head); margin-bottom: 6px; }
.facts span { color: var(--muted); font-size: .96rem; }

/* beta */
.beta { background: radial-gradient(90% 120% at 10% 0%, #2E2470 0%, var(--night) 70%); color: #fff; }
.beta .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.beta ol { margin: 0; padding: 0; list-style: none; counter-reset: b; display: grid; gap: 14px; }
.beta ol li { counter-increment: b; display: grid; grid-template-columns: 38px 1fr; gap: 12px; color: rgba(255,255,255,.85); }
.beta ol li::before { content: counter(b); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font: 800 .95rem/1 var(--head); color: var(--gold-2); }
.beta .mail { font-size: .92rem; color: rgba(255,255,255,.7); margin-top: 14px; }
.beta .mail a { color: var(--gold-2); }
@media (max-width: 860px) { .beta .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 700 1.1rem/1.35 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* patička */
.foot { background: var(--night); color: rgba(255,255,255,.75); padding: 48px 0 36px; font-size: .94rem; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.foot a { color: rgba(255,255,255,.85); }
.foot a:hover { color: var(--gold-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .84rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.theme-toggle { background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ---------- právní a podpora ---------- */
.doc-hero { background: var(--night); color: #fff; padding: 56px 0 40px; }
.doc-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; }
.doc-hero p { color: rgba(255,255,255,.75); margin: 0; }
.doc { padding: 40px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; }
.doc h3 { font-size: 1.1rem; margin-top: -0.2em; color: var(--muted); font-weight: 700; }
.doc h2 + h3 { margin-top: -0.3em; }
.doc p, .doc li { color: var(--text); font-size: 1rem; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.doc .tbl { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--paper-2); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
.doc .meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.doc .meta span { font-size: .88rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
.doc .toc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; }
.doc .toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: .95rem; }
@media (max-width: 600px) { .doc .toc ol { columns: 1; } }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 32px; }
.support-grid .card a.big-link { font: 800 1.2rem/1.3 var(--head); color: var(--text); word-break: break-word; }

/* animace při posunu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 56px; }
  .hero-visual { min-height: 0; padding: 30px 0 10px; }
  .orbit { width: min(440px, 112%); }
  .hero-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hero-visual .phone { margin-left: 0; margin-bottom: 14px; }
  .hero-visual .orbit { left: 50%; top: 330px; }
  .tag { position: static; max-width: none; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero .phone { width: 270px; }
  .hero .phone .scr { min-height: 500px; }
  .cta-row .btn { width: 100%; }
  .tag { font-size: .76rem; padding: 6px 10px; }
}

/* ---------- animace: zpráva se skládá ---------- */
.play-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.pb { font: 700 .95rem/1.2 var(--head); min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.pb[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.pb-status { font-size: .92rem; color: var(--gold-2); min-height: 1.4em; }
.sheet-wrap { position: relative; }
.ghost { position: absolute; z-index: 0; top: 26px; left: -34px; width: 70%; height: 74%; background: #E9E4D6; border-radius: 6px; transform: rotate(-5deg); padding: 18px; display: none; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.35); color: #555; font-size: 12px; }
.ghost b { font: 800 14px/1 var(--head); color: #333; }
.ghost i { display: block; height: 8px; border-radius: 4px; background: #CFC7B2; }
.ghost i:nth-of-type(2n) { width: 72%; }
.sheet { z-index: 1; }
.no-js .ghost { display: none; }
.stage[data-mode="repeat"] .ghost { display: flex; }

.js .stage .a, .js .stage .stamp, .js .stage .sig, .js .stage .fly, .js .stage .fly-file { opacity: 0; }
.js .stage .sig { clip-path: inset(0 100% 0 0); }
.stage.play .a { animation: rise .55s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d) * .32s); }
.stage.play[data-mode="repeat"] .a.f { animation-name: fromGhost; animation-duration: .8s; }
.stage.play[data-mode="repeat"] .ghost { animation: ghostOut .6s ease forwards; animation-delay: 2.6s; }
.stage.play .stamp { animation: stamp .45s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: 3.2s; }
.stage.play .sheet { animation: thud .3s ease; animation-delay: 3.55s; }
.stage.play .sig { animation: sign 1.1s ease-in-out forwards; animation-delay: 3.6s; }
.stage.play .fly-file { animation: pop .45s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: 4.3s; }
.stage.play .fly { animation: flyOut .8s cubic-bezier(.2,.9,.25,1) forwards; animation-delay: calc(var(--d) * .32s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fromGhost { 0% { opacity: 0; transform: translate(-90px, 30px) rotate(-4deg); background: rgba(226,181,60,.0); } 60% { opacity: 1; background: rgba(226,181,60,.35); } 100% { opacity: 1; transform: none; background: transparent; } }
@keyframes ghostOut { to { opacity: .35; transform: rotate(-7deg) translate(-14px, 10px); } }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.3) rotate(-14deg); } 100% { opacity: .9; transform: scale(1) rotate(-4deg); } }
@keyframes thud { 0%,100% { transform: rotate(-.6deg); } 40% { transform: rotate(-.6deg) translateY(3px) scale(.995); } }
@keyframes sign { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes flyOut { 0% { opacity: 0; transform: translate(-55%, 10%) scale(.35) rotate(-10deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  @keyframes flyOut { 0% { opacity: 0; transform: translateY(-160px) scale(.4) rotate(-8deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: none; } }
  @keyframes thud { 0%,100% { transform: none; } 40% { transform: translateY(3px) scale(.995); } }
  .ghost { left: -6px; top: -14px; width: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .stage .a, .js .stage .stamp, .js .stage .sig, .js .stage .fly, .js .stage .fly-file { opacity: 1; clip-path: none; }
  .js .stage .stamp { opacity: .9; }
}
.out > *, .job > *, .profile > *, .cat > *, .hero .wrap > *, .beta .wrap > * { min-width: 0; }
.sheet dd { overflow-wrap: anywhere; }
.step .gain { display: block; width: fit-content; max-width: 100%; }
.count .n { white-space: nowrap; }
@media (max-width: 860px) {
  .ring .nodes { padding-left: 26px; border-left: 3px solid var(--gold); display: grid; gap: 22px; }
  .ring .loop { display: block; }
  .node::before { left: -37px; }
}

/* plyn */
.gas { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.gas > * { min-width: 0; }
.gas-steps { list-style: none; counter-reset: g; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.gas-steps li { counter-increment: g; position: relative; padding: 12px 14px 12px 58px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .97rem; line-height: 1.45; }
.gas-steps li::before { content: counter(g); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); font: 800 .9rem/1 var(--head); }
.gas-steps b { display: block; color: var(--text); font: 700 1.02rem/1.3 var(--head); margin-bottom: 2px; }
.gas-side .mscreen { margin-inline: auto; }
@media (max-width: 900px) { .gas { grid-template-columns: 1fr; gap: 30px; } }

/* střídání slova v nadpisu */
.rot { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rot.out { opacity: 0; transform: translateY(-.25em); }

/* razítko plynu (CSS) */
.cstamp { display: none; width: 160px; border: 3px solid #3E5BB8; border-radius: 10px; color: #3E5BB8; padding: 8px 10px; font: 600 10.5px/1.35 var(--head); text-align: center; transform: rotate(-4deg); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px #3E5BB8; }
.cstamp b { display: block; font-size: 15px; letter-spacing: .02em; }
.stage[data-mode="gas"] .cstamp { display: block; }
.stage[data-mode="gas"] img.st { display: none; }
.i { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.15em; flex: none; }
.chip .i, .pill .i, .pb .i { margin-right: 2px; }
.share span .i { display: block; margin: 0 auto 4px; width: 20px; height: 20px; color: #1F3A5F; }
.share span::before { content: none; }
.filename .i { color: var(--gold-2); }
