/* ============ Fonts (z kitu, SIL OFL) ============ */
@font-face { font-family: 'Anton'; src: url('fonts/Anton-Regular.ttf'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; src: url('fonts/BarlowCondensed-Bold.ttf'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; src: url('fonts/BarlowCondensed-ExtraBold.ttf'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 500; src: url('fonts/Inter-Medium.ttf'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 600; src: url('fonts/Inter-SemiBold.ttf'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 700; src: url('fonts/Inter-Bold.ttf'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 800; src: url('fonts/Inter-ExtraBold.ttf'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; src: url('fonts/JetBrainsMono-500-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; src: url('fonts/JetBrainsMono-700-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; src: url('fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; src: url('fonts/jetbrains-mono-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Caveat'; font-weight: 700; src: url('fonts/Caveat-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Caveat'; font-weight: 700; src: url('fonts/caveat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url('fonts/InstrumentSerif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url('fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }

/* ============ Tokens ============ */
:root {
  --paper: #F3F0E9;
  --paper2: #E9E3D7;
  --card: #FFFDF8;
  --ink: #161412;
  --night: #141210;
  --night2: #1E1B18;
  --body: rgba(22,20,18,.78);
  --mute: rgba(22,20,18,.55);
  --line: rgba(22,20,18,.14);
  --accent: #F2542D;
  --accent-d: #C8401C;
  --accent-l: #FF8A66;
  --gold: #F4B63F;
  --mint: #3FA38A;
  --display: 'Anton', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
  --serif: 'Instrument Serif', Georgia, serif;
  --bw: 2.5px;
  --sh: 5px 6px 0 var(--ink);
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 17px/1.6 var(--sans);
  background-image: radial-gradient(rgba(22,20,18,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
/* Nic nesmí stránku rozšířit do stran (pootočený pruh, skrytá okna Stripe).
   clip na rozdíl od hidden nevytváří scroll kontejner, takže sticky hlavička dál funguje. */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Buttons & chips ============ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font: 400 clamp(20px, 2.4vw, 26px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--accent);
  border: var(--bw) solid var(--ink); border-radius: 14px; padding: 16px 22px;
  box-shadow: var(--sh); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 3px 0 var(--ink); }
.btn .tag { font-family: var(--cond); font-weight: 800; font-size: .78em; background: var(--ink); color: #fff; border-radius: 8px; padding: 5px 9px 4px; letter-spacing: .03em; }
.btn.small { font-size: 18px; padding: 10px 14px; gap: 10px; border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark .tag { background: var(--accent); }
.btn.light { background: var(--card); color: var(--ink); }
.btn.light .tag { background: var(--accent); color: #fff; }

.chip {
  display: inline-block; font: 800 13px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 7px; padding: 6px 9px 5px; background: var(--card);
}
.chip.acc { background: var(--accent); color: #fff; }
.chip.dark { background: var(--ink); color: #fff; }
.hand { font-family: var(--hand); font-weight: 700; }
.mark { background: var(--accent); color: #fff; padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.u { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .12em; }

/* ============ Header ============ */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
/* Rozmazání pod hlavičkou telefon při scrollu přepočítává pořád dokola → na mobilu plné pozadí. */
@media (max-width: 820px) { .top { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 26px/1 var(--display); letter-spacing: .01em; }
.logo .chip { transform: rotate(-4deg); font-size: 12px; padding: 5px 8px 4px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--body); }
.top nav a:hover { color: var(--ink); }
@media (max-width: 820px) { .top nav a:not(.btn) { display: none; } }

/* ============ Hero ============ */
.hero { padding: clamp(30px, 6vw, 64px) 0 0; text-align: center; position: relative; }
.hero .kicker { font-size: clamp(22px, 2.6vw, 28px); color: var(--mint); transform: rotate(-3deg); display: inline-block; margin-bottom: 14px; }
.hero h1 {
  font: 400 clamp(40px, 6.2vw, 80px)/1.04 var(--display); text-transform: uppercase; margin: 0 auto 22px; letter-spacing: .005em; max-width: 1000px;
}
.hero h1 .mark { display: inline-block; padding: .02em .14em 0; transform: rotate(-1.5deg); }
.hero .lead { max-width: 640px; margin: 0 auto 30px; font-size: clamp(17px, 1.8vw, 20px); color: var(--body); }
.hero .lead b { color: var(--ink); }

.prompt {
  max-width: 640px; margin: 0 auto 30px; display: flex; align-items: center; gap: 12px;
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: 16px; box-shadow: var(--sh);
  padding: 12px 12px 12px 18px; text-align: left;
}
.prompt .caret { color: var(--accent); font: 700 18px var(--mono); }
.prompt .typed { flex: 1; font: 500 clamp(14px, 1.7vw, 17px)/1.4 var(--mono); min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt .typed::after { content: ''; display: inline-block; width: .55em; height: 1.05em; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.prompt .mode { flex: none; font: 800 13px/1 var(--cond); letter-spacing: .08em; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 11px 7px; transition: background .2s; }
@keyframes blink { 50% { opacity: 0; } }
#jak .prompt { margin: 0 0 40px; }

/* Video na šířku v hero */
.hero-video {
  max-width: 960px; margin: 0 auto 30px; aspect-ratio: 16/9; position: relative;
  background: #111; border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--sh); overflow: hidden;
}
.hero-video video, .hero-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .sound-btn { left: auto; right: 14px; bottom: 14px; transform: none; }
.hv-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--paper2); color: var(--mute); font: 800 clamp(14px, 2vw, 20px) var(--cond); letter-spacing: .08em; text-transform: uppercase;
}

.cta-row { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.sticker {
  background: var(--gold); border: var(--bw) solid var(--ink); border-radius: 8px; box-shadow: 3px 4px 0 var(--ink);
  padding: 7px 12px; text-align: left; transform: rotate(-3deg);
  font: 800 13px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase;
}
.sticker .cd { display: block; font: 700 14px/1.3 var(--mono); letter-spacing: 0; text-transform: none; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--mute); }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 46px; padding-bottom: 0; height: clamp(420px, 56vw, 600px); overflow: hidden; }
.phone {
  position: relative; width: clamp(200px, 27vw, 300px); aspect-ratio: 9/16; flex: none;
  background: #111; border: 9px solid var(--ink); border-radius: 36px; overflow: hidden;
  box-shadow: 8px 10px 0 rgba(22,20,18,.18);
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phones .phone.side { width: clamp(150px, 21vw, 240px); opacity: .97; }
.phones .phone.l { transform: rotate(-8deg) translate(30%, 14%); z-index: 1; }
.phones .phone.r { transform: rotate(8deg) translate(-30%, 14%); z-index: 1; }
.phones .phone.c { z-index: 2; transform: translateY(8%); }
.phone-wrap { position: relative; }
.phone-label { position: absolute; z-index: 5; }
.phones .lbl-c { top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; }
.phones .lbl-l { left: calc(50% - min(19vw, 214px)); top: 26%; transform: translateX(-50%) rotate(-9deg); white-space: nowrap; }
.phones .lbl-r { left: calc(50% + min(19vw, 214px)); top: 26%; transform: translateX(-50%) rotate(7deg); white-space: nowrap; }
.sound-btn {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); z-index: 3;
  background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 13px;
  font: 800 13px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 7px; align-items: center;
}
@media (max-width: 640px) {
  .phones { height: 460px; }
  .phones .phone.side { display: none; }
  .phones .lbl-l, .phones .lbl-r { display: none; }
  .phones .phone.c { width: 230px; }
}

/* Ticker */
.ticker { background: var(--gold); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 3; margin-top: -10px; }
.ticker .track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { font: 800 18px/1 var(--cond); letter-spacing: .07em; text-transform: uppercase; padding: 13px 18px; white-space: nowrap; }
.ticker span i { font-style: normal; color: var(--accent-d); margin-left: 18px; }
.ticker span b { background: var(--ink); color: var(--gold); border-radius: 5px; padding: 3px 6px 2px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
section { position: relative; }
.pad { padding: clamp(70px, 10vw, 120px) 0; }
.night { background: var(--night); color: #F3EEE6; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 22px 22px; }
.night .muted { color: rgba(243,238,230,.66); }
.paper2 { background: var(--paper2); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.num {
  display: inline-grid; place-items: center; width: 44px; height: 34px; border: 2px solid var(--accent); border-radius: 50%;
  font: 700 18px/1 var(--hand); color: var(--accent); transform: rotate(-6deg);
}
.objection { font: 400 clamp(20px, 2.4vw, 28px)/1 var(--display); text-transform: uppercase; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; opacity: .6; }
h2 { font: 400 clamp(38px, 6.2vw, 74px)/1.04 var(--display); text-transform: uppercase; margin: 0 0 18px; letter-spacing: .005em; }
h2 .mark { display: inline-block; padding: .03em .12em 0; transform: rotate(-1deg); }
h3 { font: 400 clamp(22px, 2.4vw, 28px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 8px; letter-spacing: .01em; }
.sub { font-size: clamp(17px, 1.7vw, 19px); max-width: 640px; color: var(--body); margin: 0 0 40px; }
.night .sub { color: rgba(243,238,230,.72); }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Thinking list */
.thinking h2 { color: rgba(243,238,230,.95); }
.think-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.think-list li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px dashed rgba(243,238,230,.18); }
.think-list .n { font: 700 15px var(--mono); color: var(--accent); }
.think-list .t { font: 400 clamp(28px, 4.6vw, 54px)/1 var(--display); text-transform: uppercase; }
.think-list .hm { margin-left: auto; font-family: var(--hand); font-weight: 700; font-size: 26px; color: var(--gold); transform: rotate(-4deg); }

/* Proof (night) */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof-card { background: #F3EEE6; color: var(--ink); border: var(--bw) solid #F3EEE6; border-radius: 18px; overflow: hidden; box-shadow: 6px 7px 0 var(--accent); }
.proof-card:nth-child(even) { transform: translateY(26px) rotate(1deg); }
.proof-card:nth-child(odd) { transform: rotate(-1deg); }
.proof-card img { aspect-ratio: 9/16; object-fit: cover; width: 100%; border-bottom: var(--bw) solid var(--ink); }
.proof-card .cap { padding: 12px 14px 14px; }
.proof-card .cap b { display: block; font: 400 20px/1.1 var(--display); text-transform: uppercase; }
.proof-card .cap span { font: 500 13px var(--mono); color: var(--mute); }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 40px; }
.stat { border: 2px solid rgba(243,238,230,.25); border-radius: 14px; padding: 14px 18px; min-width: 150px; }
.stat b { display: block; font: 400 clamp(32px, 4vw, 46px)/1 var(--display); color: var(--accent-l); }
.stat span { font-size: 14px; color: rgba(243,238,230,.7); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* Why now timeline */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.why p { color: var(--body); }
.timeline { position: relative; display: grid; gap: 16px; }
.tl {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: 16px; padding: 18px 20px 16px 74px; position: relative;
}
.tl::before { content: attr(data-i); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: var(--bw) solid var(--ink); display: grid; place-items: center; font: 400 18px var(--display); background: var(--paper); }
.tl.now { background: var(--accent); color: #fff; box-shadow: var(--sh); transform: rotate(-1deg); }
.tl.now::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.tl.dim { opacity: .62; }
.tl b { font: 400 22px/1.1 var(--display); text-transform: uppercase; display: block; margin-bottom: 4px; }
.tl small { font-size: 15px; }
.tl .here { position: absolute; right: 14px; top: -16px; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 7px; font: 800 13px/1 var(--cond); letter-spacing: .08em; padding: 6px 8px 5px; transform: rotate(4deg); }
.mistakes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.mistakes li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--body); }
.mistakes li::before { content: '✕'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.punch { font: 400 clamp(26px, 3vw, 36px)/1.05 var(--display); text-transform: uppercase; margin: 28px 0 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* How (terminal) */
.how-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; }
.term { background: var(--night); color: #EDE7DD; border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); overflow: hidden; font-family: var(--mono); }
.term .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(237,231,221,.55); }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3632; display: inline-block; }
.term .bar i:first-child { background: var(--accent); }
.term .bar span { margin-left: 10px; }
.term .body { padding: 18px 18px 20px; font-size: clamp(13px, 1.4vw, 15px); }
.term .cmd { margin-bottom: 14px; min-height: 1.5em; }
.term .cmd .p { color: var(--accent); margin-right: 8px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 6px 4px; opacity: .28; transition: opacity .3s; }
.steps-list li.on { opacity: 1; }
.steps-list .ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(237,231,221,.35); display: grid; place-items: center; font-size: 12px; }
.steps-list li.on .ck { background: var(--mint); border-color: var(--mint); color: var(--night); }
.steps-list li.run .ck { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps-list .meta { color: rgba(237,231,221,.5); font-size: .88em; text-align: right; }
.term .done { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(63,163,138,.15); color: #8fe0c8; opacity: 0; transition: opacity .4s; }
.term .done.on { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.how-phone { display: flex; justify-content: center; }
.how-phone .phone { width: clamp(210px, 24vw, 270px); transform: rotate(3deg); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.three .st { background: var(--card); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 22px; position: relative; }
.three .st .chip { margin-bottom: 14px; }
.three .st p { margin: 0; color: var(--body); font-size: 16px; }
.three .st code { font: 500 .9em var(--mono); background: var(--paper2); border-radius: 6px; padding: 2px 6px; }
.three .st:not(:last-child)::after { content: '→'; position: absolute; right: -20px; top: 50%; transform: translate(50%, -50%); font: 700 26px var(--sans); z-index: 2; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .how-phone { display: none; } .three { grid-template-columns: 1fr; } .three .st:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -22px; transform: translateX(50%); } }

/* Styles section */
.tabs { display: inline-flex; gap: 8px; background: var(--card); border: var(--bw) solid var(--ink); border-radius: 14px; padding: 6px; margin-bottom: 30px; box-shadow: 3px 4px 0 var(--ink); }
.tabs button { border: 0; background: none; border-radius: 9px; padding: 10px 18px 9px; font: 400 20px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.mode-panel { display: none; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.mode-panel.on { display: grid; }
.mode-panel .phone { width: 100%; max-width: 300px; transform: rotate(-2deg); }
.mode-panel p { color: var(--body); font-size: 18px; }
.best { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.best > span { font: 700 15px var(--hand); font-size: 22px; margin-right: 4px; }
.talk-mock { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr 1fr; background: #222; position: relative; }
.talk-mock .face { background: linear-gradient(160deg, #3a332e, #1c1916); display: grid; place-items: center; color: rgba(255,255,255,.35); font: 500 12px var(--mono); position: relative; }
.talk-mock .face svg { width: 46%; opacity: .8; }
.talk-mock .gfx { background: var(--paper); display: grid; place-items: center; padding: 14px; }
.talk-mock .gfx .chip { font-size: 15px; }
.talk-mock .cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); background: var(--ink); color: #fff; font: 400 22px/1 var(--display); padding: 8px 12px 6px; border-radius: 8px; text-transform: uppercase; white-space: nowrap; z-index: 2; }
.talk-mock .cap em { font-style: normal; color: var(--accent-l); }
@media (max-width: 820px) { .mode-panel.on { grid-template-columns: 1fr; } .mode-panel .phone { max-width: 230px; margin: 0 auto; } }

.brand-row { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { background: var(--card); border: var(--bw) solid var(--ink); border-radius: 20px; padding: 24px; box-shadow: var(--sh); }
.panel h3 { margin-bottom: 6px; }
.panel > p { color: var(--body); margin: 0 0 18px; font-size: 16px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatches button { aspect-ratio: 9/16; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; padding: 0; background: #ddd; position: relative; transition: transform .15s; }
.swatches button:hover { transform: translateY(-3px); }
.swatches button[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatches img { width: 100%; height: 100%; object-fit: cover; }
.swatch-preview { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin-top: 18px; }
.swatch-preview img { border: 2px solid var(--ink); border-radius: 12px; aspect-ratio: 9/16; object-fit: cover; }
.swatch-preview b { font: 400 24px var(--display); text-transform: uppercase; display: block; }
.fonts-img { border: 2px solid var(--ink); border-radius: 12px; }
.sounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.sound {
  display: flex; align-items: center; gap: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; text-align: left;
}
.sound .pl { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; border: 2px solid var(--ink); font-size: 12px; }
.sound b { display: block; font: 400 17px/1 var(--display); text-transform: uppercase; }
.sound small { font-size: 12px; color: var(--mute); }
.sound.playing { background: var(--gold); }
@media (max-width: 900px) { .brand-row { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(4, 1fr); } .sounds { grid-template-columns: 1fr; } }

/* Compare table */
.compare { border: var(--bw) solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--sh); }
.compare .row { display: grid; grid-template-columns: 1fr 1fr; }
.compare .row > div { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 16px; display: flex; gap: 12px; align-items: flex-start; }
.compare .row > div:first-child { color: var(--mute); }
.compare .row > div:last-child { background: #FFF4EE; font-weight: 600; border-left: var(--bw) solid var(--ink); }
.compare .row > div:first-child::before { content: '✕'; color: rgba(22,20,18,.35); font-weight: 800; }
.compare .row > div:last-child::before { content: '✓'; color: var(--accent); font-weight: 800; }
.compare .head > div { font: 400 22px/1 var(--display); text-transform: uppercase; color: var(--ink) !important; border-top: 0 !important; padding-top: 20px; padding-bottom: 18px; }
.compare .head > div::before { display: none; }
.compare .head > div:last-child { background: var(--accent); color: #fff !important; }
@media (max-width: 700px) { .compare .row > div { padding: 12px 14px; font-size: 14px; } }

/* QA card */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feat { display: grid; gap: 16px; margin-top: 26px; }
.feat div { padding-left: 18px; border-left: 4px solid var(--accent); }
.feat b { display: block; font-weight: 800; }
.feat span { color: var(--body); font-size: 16px; }
.qa-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--sh); padding: 22px; font-family: var(--mono); font-size: 14px; transform: rotate(1.5deg); }
.qa-card .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.qa-card .state { font: 800 13px/1 var(--cond); letter-spacing: .08em; padding: 6px 9px 5px; border-radius: 7px; background: var(--gold); border: 2px solid var(--ink); }
.qa-card .state.ok { background: var(--mint); color: #fff; }
.qa-card .score { font: 400 64px/1 var(--display); }
.qa-card .score small { font-size: 26px; color: var(--mute); }
.qa-card .bar { height: 10px; background: var(--paper2); border-radius: 10px; overflow: hidden; margin: 8px 0 16px; border: 1.5px solid var(--ink); }
.qa-card .bar i { display: block; height: 100%; background: var(--accent); width: 75%; transition: width .6s; }
.qa-card ul { list-style: none; padding: 0; margin: 0; }
.qa-card li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
.qa-card li em { font-style: normal; font-weight: 700; }
.qa-card li em.bad { color: var(--accent); }
.qa-card li em.good { color: var(--mint); }
@media (max-width: 860px) { .qa-grid { grid-template-columns: 1fr; } }

/* Inside */
.inside { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.in-card { background: var(--card); border: var(--bw) solid var(--ink); border-radius: 18px; padding: 20px; transition: transform .2s, box-shadow .2s; }
.in-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: var(--sh); }
.in-card .n { font: 700 14px var(--mono); color: var(--accent); }
.in-card h3 { margin: 10px 0 8px; font-size: 22px; }
.in-card p { margin: 0; font-size: 15px; color: var(--body); }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; align-items: center; }
.files .f { font: 500 13px var(--mono); background: var(--card); border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.files .f b { color: var(--accent); margin-right: 6px; }
@media (max-width: 960px) { .inside { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .inside { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.about .avatar { border: var(--bw) solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--sh); transform: rotate(-2deg); background: var(--paper); aspect-ratio: 4/5; }
.about .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; }
.about .letter p { font-size: 18px; color: var(--body); }
.about .letter p b { color: var(--ink); }
.about .sign { font-family: var(--hand); font-weight: 700; font-size: 38px; color: var(--accent); transform: rotate(-3deg); display: inline-block; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about .avatar { max-width: 260px; } }

/* Price */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; max-width: 940px; margin: 0 auto; background: var(--card); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 8px 10px 0 var(--ink); overflow: hidden; }
.price-wrap .incl { padding: 30px; }
.price-wrap .incl h3 { font-size: 30px; }
.price-wrap .incl ul { list-style: none; padding: 0; margin: 18px 0 0; }
.price-wrap .incl li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 16px; }
.price-wrap .incl li::after { content: '✓'; color: var(--accent); font-weight: 800; }
.price-wrap .incl li.bonus { font-weight: 700; }
.price-wrap .incl li.bonus span::before { content: 'BONUS'; font: 800 11px/1 var(--cond); letter-spacing: .08em; background: var(--gold); border: 1.5px solid var(--ink); border-radius: 5px; padding: 3px 5px 2px; margin-right: 8px; vertical-align: 2px; }
.price-wrap .buy { background: var(--accent); color: #fff; padding: 30px; border-left: 3px solid var(--ink); display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; }
.price-wrap .buy .chip { align-self: center; margin-bottom: 14px; color: var(--ink); }
.price-wrap .old { font: 400 30px/1 var(--display); text-decoration: line-through; text-decoration-thickness: 3px; opacity: .7; }
.price-wrap .now { font: 400 clamp(72px, 9vw, 104px)/1 var(--display); margin: 4px 0; text-shadow: 4px 5px 0 var(--ink); }
.price-wrap .buy .cd { font: 700 15px var(--mono); margin-bottom: 20px; }
.price-wrap .buy .btn { justify-content: center; }
.price-wrap .buy .fine { color: rgba(255,255,255,.88); }
.price-wrap .save { position: absolute; top: 18px; right: -8px; transform: rotate(8deg); background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 10px; font: 800 14px/1.1 var(--cond); letter-spacing: .05em; text-transform: uppercase; }
.needs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.needs span { font-size: 14px; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; background: var(--card); }
@media (max-width: 800px) { .price-wrap { grid-template-columns: 1fr; } .price-wrap .buy { border-left: 0; border-top: 3px solid var(--ink); } }

/* Guarantee */
.guar { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; max-width: 860px; margin: 0 auto; }
.seal { width: 170px; height: 170px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; border: 3px solid var(--ink); box-shadow: 0 0 0 6px var(--paper), 0 0 0 9px var(--ink); transform: rotate(-8deg); }
.seal b { font: 400 70px/0.8 var(--display); display: block; color: var(--accent); }
.seal span { font: 800 15px/1 var(--cond); letter-spacing: .1em; }
.guar p { color: var(--body); }
.guar small { color: var(--mute); }
@media (max-width: 640px) { .guar { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Scrollers recap */
.recap { max-width: 760px; margin: 0 auto; background: var(--night); color: #F3EEE6; border-radius: 24px; padding: clamp(24px, 4vw, 40px); border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--accent); }
.recap ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.recap li { display: flex; gap: 12px; }
.recap li::before { content: '✓'; color: var(--accent-l); font-weight: 800; }
.recap .bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px dashed rgba(243,238,230,.25); padding-top: 22px; }
.recap .p { font: 400 54px/1 var(--display); }
.recap .p small { font-size: 22px; opacity: .55; text-decoration: line-through; margin-left: 8px; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: var(--bw) solid var(--ink); border-radius: 16px; overflow: hidden; }
.faq details[open] { box-shadow: 4px 5px 0 var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 20px; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .a { padding: 0 22px 20px; color: var(--body); font-size: 16px; }
.faq .a p { margin: 0 0 10px; }

/* Final */
.final { background: var(--accent); color: #fff; text-align: center; border-top: 3px solid var(--ink); }
.final h2 { font-size: clamp(46px, 8.5vw, 108px); text-shadow: 5px 6px 0 var(--ink); }
.final .sub { color: rgba(255,255,255,.92); margin-left: auto; margin-right: auto; }
.bigcd { display: flex; justify-content: center; gap: 12px; margin: 10px 0 14px; }
.bigcd div { background: var(--ink); border-radius: 14px; padding: 14px 10px 10px; min-width: 84px; }
.bigcd b { display: block; font: 400 clamp(40px, 6vw, 60px)/1 var(--display); }
.bigcd span { font: 800 12px/1 var(--cond); letter-spacing: .12em; opacity: .7; }
.final .after { font-family: var(--hand); font-size: 26px; margin: 0 0 30px; }

footer.foot { background: var(--night); color: rgba(243,238,230,.6); font-size: 14px; padding: 36px 0 110px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
footer.foot a { color: rgba(243,238,230,.85); }
footer.foot .disc { flex-basis: 100%; font-size: 13px; color: rgba(243,238,230,.45); }

/* Floating badge */
.float-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 96px; height: 96px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); text-decoration: none; color: #fff;
  display: grid; place-items: center; transition: transform .2s, opacity .3s; opacity: 0; pointer-events: none;
}
.float-badge.on { opacity: 1; pointer-events: auto; }
.float-badge:hover { transform: scale(1.06); }
.float-badge svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: rot 14s linear infinite; }
.float-badge svg text { font: 800 11.5px var(--cond); letter-spacing: .16em; fill: #fff; }
.float-badge b { font: 400 19px/1 var(--display); background: var(--ink); border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; position: relative; text-align: center; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.proof-card.rv.in:nth-child(even) { transform: translateY(26px) rotate(1deg); }
.proof-card.rv.in:nth-child(odd) { transform: rotate(-1deg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ================= FLIXY CHECKOUT ================= */
.checkout-box { max-width: 560px; margin: 44px auto 0; background: var(--card); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 8px 10px 0 var(--ink); padding: clamp(16px, 3vw, 26px); scroll-margin-top: 90px; }
.checkout-box .co-head { text-align: center; margin-bottom: 14px; }
.checkout-box .co-head h3 { font: 400 clamp(24px, 3vw, 30px)/1.05 var(--display); text-transform: uppercase; margin: 0; }
.checkout-box .co-head p { margin: 0; color: var(--mute); font-size: 15px; }
.checkout-box .co-fallback { text-align: center; font-size: 15px; margin: 14px 0 0; }
.checkout-box .co-fallback a { color: var(--accent-d); font-weight: 700; }
#flixyCheckout { min-height: 120px; }
/* Formulář Flixy bez vlastního rámečku (už je v našem boxu) a hustší */
#flixyCheckout .embedded-checkout > div { border: 0; padding: 0; box-shadow: none; background: transparent; border-radius: 0; }
#flixyCheckout form > :not(:last-child) { margin-bottom: 12px; }
#flixyCheckout label { font-size: 12.5px; }
#flixyCheckout form > div:not([class]) label, #flixyCheckout .space-y-2 { font-size: 12px; line-height: 1.45; }
@media (min-width: 560px) {
  #flixyCheckout form > section:first-of-type .grid { grid-template-columns: 1fr 1fr; }
}

/* Dvoukroková objednávka: 1 = jméno a e-mail, 2 = platba. Zapne ji app.js, až se formulář Flixy načte. */
.co-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font: 700 13px/1 var(--sans); color: var(--mute); }
.co-steps[hidden] { display: none; }
.co-steps i { width: 28px; height: 2px; background: var(--line); }
.co-step { display: inline-flex; align-items: center; gap: 7px; }
.co-step b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; font-size: 12px; }
.co-step.on { color: var(--ink); }
.co-step.on b { background: var(--accent); border-color: var(--ink); color: #fff; }
.co-step.done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-next { margin-top: 16px; }
.co-next .btn { width: 100%; justify-content: center; }
.co-err { margin: 0 0 10px; color: #c0392b; font-size: 14px; text-align: center; }
.co-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper2); font-size: 14px; }
.co-who[hidden] { display: none; }
.co-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-who button { flex: none; background: none; border: 0; padding: 0; font: 700 14px var(--sans); color: var(--accent-d); text-decoration: underline; cursor: pointer; }
/* Skryté části zůstávají v layoutu se šířkou, ať se platební pole Stripe správně vykreslí. */
.checkout-box.step-1 #flixyCheckout form > :is([data-flixy-element="summary"], [data-flixy-element="payment"], [data-flixy-element="submit"]),
.checkout-box.step-1 #flixyCheckout form > div:has([data-flixy-element="immediate-access-consent-checkbox"], [data-flixy-element="gdpr-notice"]),
.checkout-box.step-2 #flixyCheckout form > :is([data-flixy-element="customer-section"], [data-flixy-element="billing-section"]) {
  height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; visibility: hidden;
}
[data-flixy-checkout] {
  --flixy-checkout-accent: #F2542D;
  --flixy-checkout-text: #161412;
  --flixy-checkout-page-background: transparent;
  --flixy-checkout-font-family: 'Inter', system-ui, sans-serif;
  --flixy-checkout-border: #D9D2C5;
  --flixy-checkout-input-border: #CFC6B6;
}
.thanks { background: var(--mint); color: #fff; border-bottom: 3px solid var(--ink); padding: 16px 0; font-size: 17px; text-align: center; }
.thanks b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; margin-right: 6px; }
