/* D&D Core: landing page pro finanční poradce.
   Paleta: tmavě modrá = důvěra a vážnost, oranžová = akce (tlačítka, důležité prvky), světlé plochy pro čitelnost. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy-950: #08121f;
    --navy-900: #0c1b2e;
    --navy-800: #13304f;
    --navy-700: #1d4268;
    --ink: #0f172a;
    --text: #334155;
    --muted: #5b6b82;
    --line: #e2e8f0;
    --paper: #f6f8fb;
    --white: #ffffff;
    --orange: #e85a1f;
    --orange-dark: #d14e18;
    --orange-soft: #fff1ea;
    --orange-text: #b53a0a;
    --green: #15803d;
    --green-soft: #e8f7ee;
    --red: #dc2626;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-lg: 0 30px 80px -24px rgb(8 18 31 / 0.45);
    --shadow-md: 0 14px 40px -18px rgb(8 18 31 / 0.3);
    --wrap: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-wrap: balance;
}

p {
    margin: 0;
    text-wrap: pretty;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip:focus {
    top: 12px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.ic {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Tlačítka ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 28px -10px rgb(232 90 31 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgb(232 90 31 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    border-color: rgb(255 255 255 / 0.3);
    background: rgb(255 255 255 / 0.06);
    color: #fff;
}

.btn--ghost:hover {
    border-color: rgb(255 255 255 / 0.6);
    background: rgb(255 255 255 / 0.12);
}

.btn--outline {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.btn--outline:hover {
    border-color: var(--ink);
}

.btn--sm {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 58px;
    padding: 16px 32px;
    font-size: 1.15rem;
}

.btn--block {
    width: 100%;
}

/* ---------- Hlavička ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.header__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--ink);
    text-decoration: none;
}

.logo b {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.logo b i {
    color: var(--orange);
    font-style: normal;
}

.logo span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav a {
    color: var(--text);
    text-decoration: none;
}

.nav a:hover {
    color: var(--orange-text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__login {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.header__login:hover {
    color: var(--ink);
    text-decoration: underline;
}

/* ---------- Sekce ---------- */

.section {
    padding: 104px 0;
}

.section--paper {
    background: var(--paper);
}

.section--navy {
    position: relative;
    background: radial-gradient(900px 500px at 85% 0%, rgb(232 90 31 / 0.16), transparent 70%), var(--navy-900);
    color: #cbd5e1;
}

.section--navy h2,
.section--navy h3 {
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--orange-text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section--navy .eyebrow,
.hero .eyebrow {
    color: #ff9a68;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.head {
    max-width: 760px;
    margin-bottom: 56px;
}

.head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.head--center .eyebrow {
    justify-content: center;
}

.head h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

.head p {
    margin-top: 18px;
    font-size: 1.15rem;
    color: var(--muted);
}

.section--navy .head p {
    color: #94a3b8;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background:
        radial-gradient(700px 420px at 80% 8%, rgb(232 90 31 / 0.22), transparent 70%),
        radial-gradient(900px 600px at 0% 100%, rgb(29 66 104 / 0.7), transparent 70%),
        linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: #cbd5e1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
    padding-bottom: 72px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.35rem, 5.2vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.hero h1 em {
    color: #ff8a4c;
    font-style: normal;
}

.hero__lead {
    max-width: 540px;
    margin-top: 24px;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: #cbd5e1;
}

.hero__lead strong {
    color: #fff;
}

.ticks {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.ticks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 1.02rem;
}

.ticks .ic {
    margin-top: 0.2em;
    padding: 2px;
    border-radius: 999px;
    background: rgb(34 197 94 / 0.18);
    color: #4ade80;
    stroke-width: 3;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero__note {
    margin-top: 16px;
    font-size: 0.92rem;
    color: #94a3b8;
}

.hero__visual {
    position: relative;
}

.frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgb(255 255 255 / 0.04);
}

.frame__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: #f1f5f9;
}

.frame__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
}

.frame__bar i:nth-child(1) { background: #fb7185; }
.frame__bar i:nth-child(2) { background: #fbbf24; }
.frame__bar i:nth-child(3) { background: #4ade80; }

.frame__bar span {
    margin-left: 10px;
    padding: 3px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 500;
}

.frame img {
    width: 100%;
}

.hero__visual .frame {
    transform: perspective(1800px) rotateY(-6deg) rotateX(2deg);
    transform-origin: left center;
}

.toast {
    position: absolute;
    left: -34px;
    bottom: 12%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 330px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    line-height: 1.35;
    animation: float 6s ease-in-out infinite;
}

.toast__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange);
}

.toast strong {
    display: block;
    color: var(--ink);
}

.toast__btn {
    margin-left: auto;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e8f7ee;
    color: var(--green);
}

.phone {
    position: absolute;
    right: -22px;
    bottom: -64px;
    z-index: 2;
    width: 168px;
    padding: 7px;
    border-radius: 30px;
    background: #0b1220;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 0.12);
    animation: float 7s ease-in-out -2s infinite;
}

.phone img {
    border-radius: 24px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.trust {
    position: relative;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    background: rgb(255 255 255 / 0.03);
}

.trust__in {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 26px 24px;
}

.trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.trust .ic {
    width: 1.6em;
    height: 1.6em;
    color: #ff9a68;
}

/* ---------- Fakta ---------- */

.fact {
    padding: 72px 0;
    background: var(--white);
}

.fact__in {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
    padding: 44px 48px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%);
}

.fact__num {
    color: var(--orange);
    font-size: clamp(3.4rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.fact__num small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
}

.fact h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.fact p {
    margin-top: 14px;
    font-size: 1.1rem;
}

.fact cite {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: normal;
}

.fact cite a {
    text-decoration: underline;
}

/* ---------- Bolesti ---------- */

.pains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #fee2e2;
    color: var(--red);
}

.pain h3 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.pain p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 1rem;
}

.bridge {
    max-width: 780px;
    margin: 64px auto 0;
    text-align: center;
}

.bridge p {
    color: var(--ink);
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.bridge p em {
    color: var(--orange);
    font-style: normal;
}

/* ---------- Funkce ---------- */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 64px;
    align-items: center;
    padding: 56px 0;
}

.feature + .feature {
    border-top: 1px solid var(--line);
}

.feature--rev {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.feature--rev .feature__copy {
    order: 2;
}

.feature__copy h3 {
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

.feature__copy > p {
    margin-top: 16px;
    font-size: 1.1rem;
}

.feature__list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.feature__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 1.02rem;
}

.feature__list .ic {
    margin-top: 0.2em;
    padding: 2px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    stroke-width: 3;
}

.feature__proof {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.feature__media .frame {
    border-color: var(--line);
    box-shadow: var(--shadow-lg);
}

.feature__media--fade .frame {
    position: relative;
}

.feature__media--fade .frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.95));
    pointer-events: none;
}

/* Ukázka Adély (kreslená) */

.chat {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.chat__head img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    border: 2px solid var(--orange);
}

.chat__head strong {
    display: block;
    color: var(--ink);
    line-height: 1.2;
}

.chat__head small {
    color: var(--green);
    font-weight: 600;
}

.chat__body {
    display: grid;
    gap: 14px;
    padding: 22px 20px;
    background: #f8fafc;
}

.bubble {
    max-width: 86%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.97rem;
    line-height: 1.5;
}

.bubble--me {
    justify-self: end;
    border-bottom-right-radius: 6px;
    background: var(--navy-800);
    color: #fff;
}

.bubble--ada {
    border: 1px solid var(--line);
    border-bottom-left-radius: 6px;
    background: #fff;
    color: var(--text);
}

.bubble--ada strong {
    color: var(--ink);
}

.approve {
    margin-top: 10px;
    padding: 14px;
    border: 1px dashed #fdba74;
    border-radius: 14px;
    background: var(--orange-soft);
    font-size: 0.92rem;
}

.approve b {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
}

.approve__btns {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.approve__btns span {
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.approve__btns span:first-child {
    background: var(--orange);
    color: #fff;
}

.approve__btns span:last-child {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.chat__foot {
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

/* Další funkce */

.more {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.more li {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.more .ic {
    width: 1.7em;
    height: 1.7em;
    margin-bottom: 14px;
    color: var(--orange);
}

.more strong {
    display: block;
    color: var(--ink);
    font-size: 1.02rem;
}

.more span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.5;
}

/* ---------- Tým ---------- */

.team {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

.team h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}

.team__lead {
    margin-top: 18px;
    font-size: 1.15rem;
    color: #94a3b8;
}

.team .feature__list li {
    color: #e2e8f0;
}

.team .feature__list .ic {
    background: rgb(34 197 94 / 0.18);
    color: #4ade80;
}

.board {
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 22px;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.board__head strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.board__head small {
    color: var(--muted);
    font-weight: 600;
}

.board table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.board th {
    padding: 10px 14px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

.board th:first-child,
.board td:first-child {
    padding-left: 22px;
    text-align: left;
}

.board td {
    padding: 14px;
    border-top: 1px solid var(--line);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.board td:first-child {
    color: var(--ink);
    font-weight: 700;
}

.board .bar {
    display: inline-block;
    width: 64px;
    height: 8px;
    margin-right: 8px;
    border-radius: 99px;
    background: var(--line);
    vertical-align: middle;
    overflow: hidden;
}

.board .bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
}

.board .warn {
    color: var(--red);
    font-weight: 700;
}

.board__foot {
    padding: 12px 22px;
    border-top: 1px solid var(--line);
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.8rem;
}

/* ---------- Jak to funguje ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 34px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -22px;
    left: 28px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 10px 20px -8px rgb(232 90 31 / 0.6);
}

.step h3 {
    font-size: 1.25rem;
}

.step p {
    margin-top: 10px;
    color: var(--muted);
}

/* ---------- Kalkulačka návratnosti ---------- */

.roi {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.roi__form {
    display: grid;
    gap: 26px;
    padding: 44px;
}

.roi__form h3 {
    color: var(--ink);
    font-size: 1.5rem;
}

.field label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 700;
}

.field output {
    color: var(--orange-text);
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.85rem;
}

input[type='range'] {
    width: 100%;
    height: 28px;
    accent-color: var(--orange);
    cursor: pointer;
}

.roi__out {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 44px;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    color: #cbd5e1;
}

.roi__lost small,
.roi__cost small {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

.roi__lost strong {
    display: block;
    margin-top: 4px;
    color: #ff8a4c;
    font-size: clamp(2.3rem, 4.5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.roi__cost strong {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.roi__verdict {
    padding: 18px 20px;
    border: 1px solid rgb(74 222 128 / 0.35);
    border-radius: 16px;
    background: rgb(34 197 94 / 0.12);
    color: #e2e8f0;
    font-size: 1.02rem;
}

.roi__verdict strong {
    color: #86efac;
}

.roi__fine {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ---------- Důvěra ---------- */

.secure {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.secure li {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.secure .ic {
    width: 1.8em;
    height: 1.8em;
    margin-bottom: 14px;
    color: var(--navy-700);
}

.secure strong {
    display: block;
    color: var(--ink);
    font-size: 1.1rem;
}

.secure span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.97rem;
}

/* ---------- Srovnání ---------- */

.compare {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.compare table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
}

.compare th,
.compare td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.compare th:first-child,
.compare td:first-child {
    text-align: left;
}

.compare thead th {
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.compare thead th.us {
    background: var(--navy-900);
    color: #fff;
}

.compare td:first-child {
    color: var(--ink);
    font-weight: 600;
}

.compare td.us {
    background: #fff8f4;
    color: var(--ink);
    font-weight: 700;
}

.compare tr:last-child td {
    border-bottom: 0;
}

.compare .ic {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.18em;
    margin-right: 4px;
}

.compare .yes { color: var(--green); }
.compare .no { color: #94a3b8; }
.compare .mid { color: #b45309; }

.compare small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ---------- Ceník ---------- */

.plans {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.plan--main {
    position: relative;
    border: 2px solid var(--orange);
    box-shadow: 0 30px 70px -28px rgb(232 90 31 / 0.5);
}

.plan__badge {
    position: absolute;
    top: -15px;
    left: 40px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan h3 {
    font-size: 1.35rem;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 18px;
    color: var(--ink);
}

.plan__price strong {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.plan__price span {
    color: var(--muted);
    font-weight: 600;
}

.plan__sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

.plan .feature__list {
    margin: 26px 0 30px;
    gap: 11px;
}

.plan .feature__list li {
    font-size: 0.98rem;
}

.plan .btn {
    margin-top: auto;
}

.plan__fine {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.guarantee {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 32px;
    margin-top: 36px;
    color: var(--ink);
    font-weight: 600;
}

.guarantee li {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.guarantee .ic {
    color: var(--green);
    stroke-width: 3;
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq details[open] {
    border-color: #fdba74;
    box-shadow: var(--shadow-md);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .ic {
    color: var(--orange);
    transition: transform 0.2s ease;
}

.faq details[open] summary .ic {
    transform: rotate(45deg);
}

.faq details > div {
    padding: 0 24px 22px;
    color: var(--text);
}

.faq details > div p + p {
    margin-top: 10px;
}

/* ---------- Závěrečná výzva ---------- */

.final {
    position: relative;
    overflow: hidden;
    padding: 104px 0;
    background:
        radial-gradient(800px 420px at 85% 10%, rgb(232 90 31 / 0.28), transparent 70%),
        radial-gradient(900px 600px at 0% 100%, rgb(29 66 104 / 0.7), transparent 70%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: #cbd5e1;
}

.final__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
}

.final h2 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    letter-spacing: -0.04em;
}

.final h2 em {
    color: #ff8a4c;
    font-style: normal;
}

.final__lead {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #cbd5e1;
}

.final .ticks {
    margin-top: 26px;
}

.form {
    display: grid;
    gap: 16px;
    padding: 36px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.form h3 {
    font-size: 1.5rem;
}

.form > p {
    margin-top: -6px;
    color: var(--muted);
    font-size: 0.97rem;
}

.form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.form label span em {
    color: var(--muted);
    font-style: normal;
    font-weight: 500;
}

.form input,
.form select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1.02rem;
}

.form input:focus,
.form select:focus {
    border-color: var(--orange);
    outline: 3px solid rgb(232 90 31 / 0.2);
    outline-offset: 0;
}

.form__hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form__note {
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

.form__ok {
    display: none;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--green-soft);
    color: #14532d;
    font-size: 0.95rem;
    font-weight: 600;
}

.form__ok.is-on {
    display: block;
}

/* ---------- Patička ---------- */

.footer {
    padding: 40px 0 48px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    background: var(--navy-950);
    color: #94a3b8;
    font-size: 0.92rem;
}

.footer__in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.footer .logo {
    color: #fff;
}

.footer .logo span {
    color: #94a3b8;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer__fine {
    flex-basis: 100%;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ---------- Plovoucí tlačítko na mobilu ---------- */

.sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: none;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.sticky.is-on {
    transform: translateY(0);
}

/* ---------- Animace při posunu ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .toast,
    .phone {
        animation: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .pain {
        transition: none;
    }
}

/* ---------- Responzivita ---------- */

@media (max-width: 1080px) {
    .hero__grid,
    .team,
    .final__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__visual {
        max-width: 760px;
    }

    .hero__visual .frame {
        transform: none;
    }

    .toast {
        left: 12px;
    }

    .feature,
    .feature--rev {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .feature--rev .feature__copy {
        order: 0;
    }

    .more {
        grid-template-columns: repeat(2, 1fr);
    }

    .roi {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .pains,
    .secure,
    .steps {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 36px;
    }

    .trust__in {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans {
        grid-template-columns: 1fr;
    }

    .fact__in {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 1rem;
    }

    .wrap {
        padding: 0 18px;
    }

    .section {
        padding: 68px 0;
    }

    .head {
        margin-bottom: 36px;
    }

    .header__login {
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .header__actions {
        gap: 12px;
    }

    .header__actions .btn {
        white-space: nowrap;
    }

    .header__in {
        min-height: 60px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero__grid {
        padding-bottom: 48px;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .toast {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -26px 12px 0;
        max-width: none;
    }

    .phone {
        display: none;
    }

    .trust__in {
        gap: 16px;
        padding: 22px 18px;
    }

    .trust li {
        font-size: 0.88rem;
    }

    .feature {
        padding: 40px 0;
    }

    .more {
        grid-template-columns: 1fr;
    }

    .roi__form,
    .roi__out {
        padding: 28px 22px;
    }

    .plan {
        padding: 32px 24px;
    }

    .plan__badge {
        left: 24px;
    }

    .compare th,
    .compare td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .compare th:first-child,
    .compare td:first-child {
        padding-left: 12px;
    }

    .faq summary {
        padding: 18px;
        font-size: 1rem;
    }

    .faq details > div {
        padding: 0 18px 20px;
    }

    .final {
        padding: 72px 0 120px;
    }

    .form {
        padding: 26px 20px;
    }

    .board th:nth-child(3),
    .board td:nth-child(3) {
        display: none;
    }

    .sticky {
        display: block;
    }

    .footer {
        padding-bottom: 96px;
    }
}

/* ---------- Úpravy po kontrole ---------- */

.steps {
    padding: 0;
    list-style: none;
}

.btn > span {
    display: inline;
}

.center-cta {
    margin-top: 48px;
    text-align: center;
}

.bridge .btn {
    margin-top: 28px;
}

.feature--wide {
    grid-template-columns: 1fr;
    gap: 36px;
}

.feature--wide .feature__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature--wide .feature__copy > p {
    max-width: 720px;
}

.feature__media .frame,
.hero__visual .frame {
    cursor: zoom-in;
}

.feature__media .frame img {
    transition: transform 0.4s ease;
}

.feature__media .frame:hover img {
    transform: scale(1.015);
}

.zoom {
    width: min(1500px, 96vw);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    overflow: auto;
    box-shadow: var(--shadow-lg);
}

.zoom::backdrop {
    background: rgb(8 18 31 / 0.82);
    backdrop-filter: blur(4px);
}

.zoom img {
    width: 100%;
}

.zoom__close {
    position: sticky;
    top: 10px;
    float: right;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 10px 10px -52px 0;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}

.board td,
.board th {
    white-space: nowrap;
}

.board .bar {
    width: 44px;
}

.team > * {
    min-width: 0;
}

@media (min-width: 1200px) {
    .hero__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 48px;
    }

    .hero__visual {
        margin-right: -56px;
    }
}

@media (max-width: 1080px) {
    .feature--wide .feature__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .board th,
    .board td {
        padding: 12px 8px;
    }

    .board th:first-child,
    .board td:first-child {
        padding-left: 14px;
    }

    .board table {
        font-size: 0.85rem;
    }

    .center-cta .btn,
    .bridge .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 2.6rem);
    }
}

.link-down {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 6px;
    color: #e2e8f0;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 0.3);
    text-underline-offset: 5px;
}

.link-down:hover {
    color: #fff;
    text-decoration-color: #ff8a4c;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

@media (max-width: 640px) {
    .board {
        overflow-x: auto;
    }

    .board th {
        padding: 10px 6px;
        font-size: 0.62rem;
        letter-spacing: 0.02em;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 2.6rem);
    }

    .link-down {
        width: 100%;
        justify-content: center;
    }
}

/* Přístupnost: tlačítka s dostatečným kontrastem bílého textu (min. 4,5 : 1) */
:root {
    --cta-1: #cf4c15;
    --cta-2: #c0420d;
}

.btn--primary {
    background: linear-gradient(180deg, var(--cta-1) 0%, var(--cta-2) 100%);
    box-shadow: 0 12px 28px -10px rgb(207 76 21 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.plan__badge,
.step::before {
    background: linear-gradient(180deg, var(--cta-1), var(--cta-2));
}

.compare .no {
    color: #64748b;
}

.footer__fine {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .pain {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 0 16px;
        padding: 20px;
    }

    .pain__icon {
        grid-row: span 2;
        margin: 0;
        width: 48px;
        height: 48px;
    }

    .pain p {
        margin-top: 6px;
    }
}

.final .eyebrow {
    color: #ff9a68;
}

.approve__btns span:first-child {
    background: var(--cta-2);
}

/* =====================================================================
   Verze 6: Adela nahore, rychle formulare, zalozky funkci, srovnani
   ===================================================================== */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0 72px; }
.head { margin-bottom: 40px; }
.hero { padding: 56px 0 0; }
.hero__grid { padding-bottom: 80px; }


.hero__note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 0.92rem; font-weight: 600; color: #cbd5e1; }
.hero__note > span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note .ic { width: 1.1em; height: 1.1em; color: #4ade80; stroke-width: 3; }


.chatcard { position: absolute; left: -40px; bottom: -44px; z-index: 3; display: grid; gap: 8px; width: 330px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.chatcard__head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.chatcard__head img { width: 36px; height: 36px; border: 2px solid var(--orange); border-radius: 50%; object-fit: cover; object-position: center 18%; }
.chatcard__head strong { display: block; color: var(--ink); line-height: 1.15; }
.chatcard__head small { color: var(--green); font-weight: 700; font-size: 0.78rem; }
.chatcard .bubble { max-width: 100%; padding: 9px 13px; font-size: 0.86rem; }
.chatcard .approve { margin-top: 8px; padding: 10px 12px; font-size: 0.82rem; }
.chatcard .approve__btns span { padding: 5px 12px; font-size: 0.78rem; }

.adela { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.adela h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.adela__lead { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }
.atabs { display: grid; gap: 10px; margin-top: 28px; }
.atab { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.atab:hover { border-color: #fdba74; }
.atab strong { display: block; color: var(--ink); }
.atab small { display: block; color: var(--muted); font-size: 0.88rem; }
.atab__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); color: var(--navy-700); }
.atab.is-active { border-color: var(--orange); box-shadow: 0 0 0 4px rgb(232 90 31 / 0.12); }
.atab.is-active .atab__icon { background: var(--orange-soft); color: var(--orange-text); }
.adela__safe { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.adela__safe li { display: inline-flex; align-items: center; gap: 8px; }
.adela__safe .ic { color: var(--green); }
.ascene { min-height: 480px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.scene { display: none; }
.scene.is-on { display: block; }
.chat__head--plain { justify-content: space-between; flex-wrap: wrap; }
.chat__head--plain small { color: var(--muted); font-weight: 500; }
.uichip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-text); font-size: 0.85rem; font-weight: 700; }
.ascene .chat__body { align-content: start; min-height: 410px; }
.scene.is-on .bubble, .scene.is-on .field-row, .scene.is-on .mailcard, .scene.is-on .scene__hint { animation: rise 0.5s ease both; animation-delay: calc(var(--i, 0) * 0.85s); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fields { display: grid; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr auto 26px; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.field-row span { color: var(--muted); font-size: 0.92rem; }
.field-row b { color: var(--ink); }
.field-row i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.field-row i .ic { width: 14px; height: 14px; stroke-width: 3; }
.mailcard { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 0.95rem; }
.mailcard p + p { margin-top: 10px; }
.scene__hint { color: var(--muted); font-size: 0.88rem; text-align: center; }
.adela__demo { margin-top: 12px; color: var(--muted); font-size: 0.82rem; text-align: center; }

.fact { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 36px 44px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%); }
.fact__num { font-size: clamp(3rem, 7vw, 5rem); }
.fact h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.fact p { margin-top: 10px; font-size: 1.05rem; }
.fact__num small, .fact cite { color: #526072; }
.pains { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.pain { padding: 22px; }
.pain__icon { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; }
.pain h3 { font-size: 1.05rem; }
.pain p { margin-top: 6px; font-size: 0.95rem; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 0.95rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.tab:hover { border-color: var(--navy-700); }
.tab.is-active { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.panel { display: none; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.panel.is-on { display: grid; }
.panel[hidden] { display: none; }
.panel__copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.panel__copy .feature__list { margin-top: 22px; }
.panel__media { margin: 0; }
.panel .frame { border-color: var(--line); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.board.panel__media { cursor: default; }
.more-line { margin-top: 36px; color: var(--muted); text-align: center; }
.more-line strong { color: var(--ink); }

.vs { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.vs table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; font-size: 0.93rem; }
.vs th, .vs td { padding: 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.vs thead th { background: #f8fafc; color: var(--ink); font-size: 0.95rem; font-weight: 800; }
.vs tbody th { position: sticky; left: 0; z-index: 1; min-width: 190px; background: #fff; color: var(--ink); font-weight: 600; text-align: left; }
.vs thead th:first-child { position: sticky; left: 0; z-index: 2; }
.vs .us { border-right: 2px solid var(--orange); border-left: 2px solid var(--orange); background: #fff8f4; color: var(--ink); font-weight: 700; }
.vs thead th.us { border-top: 2px solid var(--orange); background: var(--navy-900); color: #fff; }
.vs tbody tr:last-child td.us { border-bottom: 2px solid var(--orange); }
.vs tr:last-child th, .vs tr:last-child td:not(.us) { border-bottom: 0; }
.vs__badge { display: block; margin-bottom: 2px; color: #ff9a68; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.vs small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.vs .yes, .vs .no, .vs .neutral { display: inline-flex; gap: 6px; align-items: flex-start; justify-content: center; text-align: left; }
.vs .yes { color: var(--green); font-weight: 600; }
.vs .no, .vs .neutral { color: #526072; }
.vs .neutral { flex-direction: column; align-items: center; text-align: center; }
.vs .ic { width: 1.05em; height: 1.05em; margin-top: 0.2em; stroke-width: 3; }
.vs__fine { max-width: 920px; margin: 16px auto 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.vs__fine a { text-decoration: underline; }

.trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 40px; color: var(--ink); font-weight: 600; }
.trustbar li { display: inline-flex; align-items: center; gap: 8px; }
.trustbar .ic { color: var(--navy-700); }
.final { padding: 84px 0; }

.dock { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; border-top: 1px solid rgb(255 255 255 / 0.14); background: rgb(12 27 46 / 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -14px 40px -16px rgb(8 18 31 / 0.5); transform: translateY(110%); transition: transform 0.25s ease; }
.dock.is-on { transform: translateY(0); }
.dock__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.dock__text { display: grid; color: #94a3b8; font-size: 0.86rem; }
.dock__text strong { color: #fff; font-size: 1.05rem; }


.footer { padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) {
    .chatcard, .scene.is-on .bubble, .scene.is-on .field-row, .scene.is-on .mailcard, .scene.is-on .scene__hint { animation: none; }
    .dock { transition: none; }
}

@media (max-width: 1080px) {
    .chatcard { position: relative; left: auto; bottom: auto; width: auto; max-width: 420px; margin: -36px 0 0 16px; }
    .adela, .panel { grid-template-columns: 1fr; gap: 32px; }
    .pains { grid-template-columns: repeat(2, 1fr); }
    .fact { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
}

@media (max-width: 640px) {
    .section { padding: 60px 0; }
    .section--tight { padding: 40px 0 56px; }
    .hero { padding-top: 36px; }
    .hero__grid { padding-bottom: 56px; }
    .chatcard { margin: -28px 8px 0; max-width: none; }
    .pains { grid-template-columns: 1fr; }
    .tabs { flex-wrap: nowrap; justify-content: flex-start; margin-right: -18px; margin-left: -18px; padding: 0 18px 8px; overflow-x: auto; scrollbar-width: none; }
    .tabs::-webkit-scrollbar { display: none; }
    .dock__text { display: none; }
    .dock__in { padding-right: 12px; padding-left: 12px; }
    .final { padding: 60px 0 110px; }
    .ascene, .ascene .chat__body { min-height: 0; }
}

/* =====================================================================
   Verze 7: hero na střed s velkým náhledem, čisté výřezy snímků,
   tlačítka na platbu místo formulářů
   ===================================================================== */

/* Hero */
.hero__more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; color: #e2e8f0; font-weight: 600; }
.hero__more .ic { transition: transform 0.2s ease; }
.hero__more:hover { color: #fff; }
.hero__more:hover .ic { transform: translateY(2px); }

.hero__visual .frame,
.frame--hero { transform: none; border: 1px solid rgb(255 255 255 / 0.16); border-radius: 18px; box-shadow: 0 50px 100px -40px rgb(8 18 31 / 0.7), 0 0 0 10px rgb(255 255 255 / 0.05); }
.frame--hero img { display: block; }

#adela { padding-top: 96px; }

/* Výřezy snímků v záložkách */
.panel { grid-template-columns: 1fr; gap: 28px; }
.panel__copy { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 12px 56px; align-items: start; max-width: 1040px; margin: 0 auto; width: 100%; }
.panel__copy .feature__list { margin-top: 4px; }
.shot { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 34px 70px -34px rgb(15 23 42 / 0.4); }
.panel .shot { border-color: var(--line); box-shadow: 0 34px 70px -34px rgb(15 23 42 / 0.4); }
.shot img { display: block; width: 100%; }
.panel:has(.shot--narrow) { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; max-width: 1040px; margin: 0 auto; align-items: center; }
.panel:has(.shot--narrow) .panel__copy { grid-template-columns: 1fr; margin: 0; }
.panel:has(.shot--narrow) .feature__list { margin-top: 18px; }
.panel .board { max-width: 1040px; margin: 0 auto; width: 100%; }

/* Závěrečná výzva: zkušební týden */
.trial { padding: 36px 34px 28px; border-radius: 24px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.trial h3 { color: var(--ink); font-size: 1.35rem; }
.trial__steps { display: grid; gap: 0; margin: 22px 0 26px; padding: 0; list-style: none; }
.trial__steps li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.trial__steps li:first-child { border-top: 0; }
.trial__steps b { color: var(--orange-text); font-size: 0.95rem; }
.trial__steps li > span { color: var(--text); }
.trial__steps strong { color: var(--ink); }
.trial__fine { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.trial__fine .ic { width: 1em; height: 1em; }
.final__grid { align-items: center; }

/* Plovoucí lišta */
.dock .btn { flex-shrink: 0; min-height: 48px; padding: 10px 24px; font-size: 1rem; }

/* Okno: platby se spouštějí */
.paydlg { width: min(460px, 92vw); padding: 34px 28px 28px; border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.paydlg::backdrop { background: rgb(8 18 31 / 0.72); backdrop-filter: blur(4px); }
.paydlg h3 { padding-right: 40px; color: var(--ink); font-size: 1.35rem; }
.paydlg p { margin: 10px 0 22px; color: var(--muted); }
.paydlg__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; }


@media (max-width: 1080px) {
    .panel__copy { grid-template-columns: 1fr; }
    .panel:has(.shot--narrow) { grid-template-columns: 1fr; gap: 28px; }
    .panel:has(.shot--narrow) .shot { justify-self: center; width: 100%; max-width: 420px; }
}

@media (max-width: 640px) {
    .hero { padding-top: 40px; }
    .hero__cta { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 28px; }
    .hero__cta .btn { width: 100%; }
    .hero__more { justify-content: center; }
    .hero__visual .frame--hero { max-width: 300px; margin: 0 auto; border-radius: 30px; border: 8px solid #1e293b; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
    .frame--hero .frame__bar { display: none; }
    .frame--hero img { height: 460px; object-fit: cover; object-position: top; }
    .hero__visual .chatcard { display: none; }
    #adela { padding-top: 56px; }
    .trial { padding: 28px 22px 22px; }
    .trial__steps li { grid-template-columns: 1fr; gap: 2px; }
    .dock .btn { width: 100%; }
}

/* =====================================================================
   Verze 8: hero zpět ve dvou sloupcích, nové srovnání s konkurencí
   ===================================================================== */

.hero { padding: 64px 0 0; }
.hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-bottom: 104px; }
.hero__note { gap: 8px 20px; margin-top: 20px; }
.hero__visual { margin-right: -140px; padding: 30px 0 40px; }
.hero__visual .frame--hero { transform: perspective(2000px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; border-radius: 16px; }
.hero__visual .toast { left: auto; right: 160px; top: 0; bottom: auto; z-index: 4; }
.hero__visual .chatcard { left: 8px; right: auto; bottom: -84px; width: 310px; }

/* Srovnání */
.vs-pick { display: none; }
.vs { border-radius: 22px; }
.vs table { table-layout: fixed; min-width: 960px; }
.vs th, .vs td { padding: 18px 16px; }
.vs thead th { vertical-align: top; padding-top: 24px; padding-bottom: 20px; background: #fff; font-weight: 600; }
.vs__corner { width: 21%; }
.vs thead th.us { width: 21%; }
.vs__name { display: block; color: var(--ink); font-size: 1.02rem; font-weight: 800; }
.vs__price { display: block; margin-top: 8px; color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.vs__price b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.08rem; font-weight: 800; white-space: nowrap; }
.vs thead th.us { padding-top: 28px; }
.vs thead th.us .vs__name { color: #fff; font-size: 1.15rem; }
.vs thead th.us .vs__price { color: #cbd5e1; }
.vs thead th.us .vs__price b { color: #fff; font-size: 1.35rem; }
.vs thead th.us small { color: #94a3b8; }
.vs tbody th { font-size: 0.98rem; }
.vs tbody th small { margin-top: 4px; }
.vs td { color: var(--text); font-size: 0.88rem; line-height: 1.4; vertical-align: top; }
.vs td.us { color: var(--ink); font-weight: 700; }
.vs tbody tr:nth-child(even) th, .vs tbody tr:nth-child(even) td:not(.us) { background: #fafbfd; }
.vs tbody tr:last-child td.us { border-bottom: 1px solid var(--line); }
.vs tbody tr:last-child th, .vs tbody tr:last-child td:not(.us) { border-bottom: 1px solid var(--line); }
.vs tfoot th, .vs tfoot td { padding: 18px 16px 22px; border-bottom: 0; background: #fff; }
.vs tfoot td.us { border-bottom: 2px solid var(--orange); }
.vs tfoot .btn { min-height: 48px; padding: 10px 14px; font-size: 0.95rem; }

.st { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; font-size: 0.85rem; font-weight: 800; }
.st .ic { width: 15px; height: 15px; margin: 0; stroke-width: 3; }
.st--yes { background: var(--green-soft); color: var(--green); }
.st--no { background: #f1f5f9; color: #64748b; }
.st--unk { background: #f1f5f9; color: #64748b; }
.vs td.us .st--yes { background: var(--green); color: #fff; }

.vs__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 18px; color: var(--muted); font-size: 0.85rem; }
.vs__legend li { display: inline-flex; align-items: center; gap: 8px; }
.vs__legend .st { width: 22px; height: 22px; margin: 0; font-size: 0.75rem; }
.vs__legend .st .ic { width: 12px; height: 12px; }
.vs__fine { margin-top: 10px; }

@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 88px; }
    .hero__visual { margin-right: 0; padding: 28px 0 0; }
    .hero__visual .frame--hero { transform: none; }
    .hero__visual .toast { right: 16px; top: 0; }
    .hero__visual .chatcard { position: absolute; left: 16px; bottom: -48px; width: 300px; margin: 0; max-width: none; }
}

@media (max-width: 900px) {
    .vs-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
    .vs-pick span { width: 100%; color: var(--muted); font-size: 0.88rem; font-weight: 600; text-align: center; }
    .vs-pick button { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; }
    .vs-pick button.is-active { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
    .vs { overflow: visible; }
    .vs table { min-width: 0; }
    .vs .c { display: none; }
    .vs[data-show="1"] .c1, .vs[data-show="2"] .c2, .vs[data-show="3"] .c3, .vs[data-show="4"] .c4 { display: table-cell; }
    .vs__corner { width: 32%; }
    .vs thead th.us { width: auto; }
    .vs tbody th { position: static; min-width: 0; }
    .vs thead th:first-child { position: static; }
    .vs th, .vs td { padding: 14px 10px; }
    .vs tfoot th { padding: 0; }
}

@media (max-width: 640px) {
    .hero { padding-top: 36px; }
    .hero__grid { padding-bottom: 48px; }
    .hero__visual { padding-top: 8px; }
    .hero__visual .toast, .hero__visual .chatcard { display: none; }
    .vs { border-radius: 18px; }
    .vs__corner { width: 30%; }
    .vs tbody th { font-size: 0.86rem; }
    .vs tbody th small { font-size: 0.72rem; }
    .vs td { font-size: 0.82rem; }
    .vs thead th.us .vs__price b { font-size: 1.15rem; }
}

/* Srovnání na telefonu: název řádku přes celou šířku, pod ním D&D vs. vybraný konkurent */
@media (max-width: 640px) {
    .vs table, .vs thead, .vs tbody, .vs tfoot { display: block; }
    .vs tr { display: grid; grid-template-columns: 1fr 1fr; }
    .vs .vs__corner { display: none; }
    .vs tbody th { grid-column: 1 / -1; padding: 12px 14px 10px; border-bottom: 0; background: var(--paper) !important; }
    .vs tbody th small { display: inline; margin: 0 0 0 4px; }
    .vs tbody th small::before { content: '· '; }
    .vs th, .vs td { display: block; }
    .vs .c { display: none; }
    .vs[data-show="1"] .c1, .vs[data-show="2"] .c2, .vs[data-show="3"] .c3, .vs[data-show="4"] .c4 { display: block; }
    .vs td { padding: 14px 12px 16px; text-align: center; }
    .vs thead th { padding: 20px 12px 16px; }
    .vs__price b { white-space: normal; font-size: 1rem; }
    .vs tfoot th { display: none; }
    .vs tfoot tr { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   Verze 9: záložky funkcí s textem vlevo a snímkem vpravo na barevné ploše
   ===================================================================== */

.panel,
.panel:has(.shot--narrow) { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 56px; align-items: center; max-width: none; margin: 0; }
.panel__copy,
.panel:has(.shot--narrow) .panel__copy { display: block; max-width: none; margin: 0; }
.panel__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.panel__copy .feature__list,
.panel:has(.shot--narrow) .feature__list { margin-top: 24px; }
.panel__copy .feature__list li { font-size: 1.02rem; }

.panel .shot { position: relative; overflow: hidden; padding: 36px 0 0 36px; border: 0; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, #ffe4d4 0%, transparent 55%), linear-gradient(135deg, #eef2f8 0%, #dfe7f2 100%); box-shadow: none; }
.panel .shot img { border: 1px solid rgb(15 23 42 / 0.08); border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; box-shadow: 0 30px 60px -20px rgb(15 23 42 / 0.35); }
.panel .shot--narrow { padding: 36px; justify-self: stretch; max-width: none; }
.panel .shot--narrow img { max-width: 380px; margin: 0 auto; border: 1px solid rgb(15 23 42 / 0.08); border-radius: 14px; }

@media (max-width: 1080px) {
    .panel,
    .panel:has(.shot--narrow) { grid-template-columns: 1fr; gap: 28px; }
    .panel:has(.shot--narrow) .shot { max-width: none; }
}

@media (max-width: 640px) {
    .panel .shot { padding: 20px 0 0 20px; border-radius: 18px; }
    .panel .shot--narrow { padding: 20px; }
    .panel__copy .feature__list li { font-size: 0.98rem; }
}

@media (max-width: 430px) {
    .header__cta-extra {
        display: none;
    }
}

/* =====================================================================
   v11: video v úvodu, živé demo, čisté snímky, sekce na jednu obrazovku
   ===================================================================== */
:root {
    --header-h: 69px;
}

html {
    scroll-padding-top: var(--header-h);
}

/* ---------- Video v úvodu ---------- */
.vframe {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 16px;
    background: #050b14;
    box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.04);
}

.vframe .frame__bar {
    background: #0a1626;
    border-bottom-color: rgb(255 255 255 / 0.08);
}

.vframe .frame__bar span {
    background: rgb(255 255 255 / 0.06);
    color: #94a3b8;
}

.vframe__media {
    position: relative;
    aspect-ratio: 16 / 9;
}

.vframe__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #050b14;
}

.vplay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 14px;
    padding: 22px;
    border: 0;
    background: linear-gradient(180deg, transparent 55%, rgb(5 11 20 / 0.75));
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vplay__btn {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--cta-1), var(--cta-2));
    color: #fff;
    box-shadow: 0 10px 30px -6px rgb(207 76 21 / 0.8), 0 0 0 8px rgb(232 90 31 / 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vplay__btn .ic {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.vplay:hover .vplay__btn,
.vplay:focus-visible .vplay__btn {
    transform: scale(1.07);
    box-shadow: 0 10px 30px -6px rgb(207 76 21 / 0.8), 0 0 0 12px rgb(232 90 31 / 0.22);
}

.vplay__label {
    display: flex;
    flex-direction: column;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.vplay__label small {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
}

/* okno s videem */
.vdlg {
    width: min(1280px, 94vw);
    max-width: none;
    max-height: 92vh;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 14px;
    background: #000;
}

.vdlg::backdrop {
    background: rgb(5 11 20 / 0.86);
    backdrop-filter: blur(6px);
}

.vdlg__video {
    display: block;
    width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    background: #000;
}

.vdlg.is-vertical {
    width: auto;
}

.vdlg.is-vertical .vdlg__video {
    width: auto;
    height: min(86vh, 160vw);
    max-width: 94vw;
}

.vdlg__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.vdlg__close .ic {
    width: 18px;
    height: 18px;
}

/* ---------- Živé demo ---------- */
.demo__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 48px;
    align-items: center;
}

.demo__copy h2 {
    color: #fff;
}

.demo__lead {
    margin: 16px 0 20px;
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.6;
}

.demo__ticks {
    margin-bottom: 28px;
    color: #e2e8f0;
}

.dframe {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7);
}

.dframe__body {
    position: relative;
    height: clamp(420px, calc(100svh - 260px), 660px);
    background: #f1f5f9;
}

.dframe__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

.dframe__start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: rgb(8 18 31 / 0.5);
    color: #fff;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dframe__start:hover {
    background: rgb(8 18 31 / 0.35);
}

.dframe__start:hover .vplay__btn {
    transform: scale(1.07);
}

.dframe__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f1f5f9;
}

.dframe.is-live .dframe__poster,
.dframe.is-live .dframe__start {
    display: none;
}

/* ---------- Funkce: snímky vždy celé, ve stejném rámu ---------- */
.panel .shot,
.panel .shot--narrow {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 70px -30px rgb(15 23 42 / 0.4);
    justify-self: stretch;
    max-width: none;
}

.panel .shot::before {
    content: '';
    display: block;
    flex-shrink: 0;
    height: 30px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 16px 15px, #fb7185 4px, transparent 5px),
        radial-gradient(circle at 30px 15px, #fbbf24 4px, transparent 5px),
        radial-gradient(circle at 44px 15px, #4ade80 4px, transparent 5px),
        #f8fafc;
}

.panel .shot img,
.panel .shot--narrow img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: #f1f5f9;
    box-shadow: none;
}

.panel .shot::after {
    content: 'Klikni pro zvětšení';
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgb(15 23 42 / 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.panel .shot:hover::after,
.panel .shot:focus-visible::after {
    opacity: 1;
}

.panel:has(.shot--narrow) {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

/* ---------- Na PC se každá sekce vejde na jednu obrazovku ---------- */
@media (min-width: 1025px) and (min-height: 640px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100svh - var(--header-h));
        padding: 32px 0;
    }

    .hero__grid {
        padding-bottom: 0;
    }

    .section,
    .section--tight,
    .final {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100svh - var(--header-h));
        padding: 48px 0;
    }

    .section > .wrap,
    .final > .wrap {
        width: 100%;
    }

    .head {
        margin-bottom: 28px;
    }

    .vs th,
    .vs td {
        padding: 9px 12px;
    }

    .vs thead th {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .panel .shot img {
        max-height: calc(100svh - 360px);
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .section,
    .section--tight,
    .final,
    .hero {
        padding: 28px 0;
    }

    .head {
        margin-bottom: 20px;
    }

    .head h2,
    .section h2 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
    }

    .head p {
        margin-top: 8px;
    }
}

/* ---------- Mobil a tablet ---------- */
@media (max-width: 1024px) {
    .demo__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .dframe__body {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .panel:has(.shot--narrow) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 61px;
    }

    .hero__visual {
        margin-top: 8px;
    }

    .vplay {
        padding: 14px;
    }

    .vplay__btn {
        width: 48px;
        height: 48px;
    }

    .vplay__label {
        font-size: 0.95rem;
    }

    .vdlg__close {
        top: 8px;
        right: 8px;
    }

    .demo__open {
        width: 100%;
        justify-content: center;
    }

    .panel .shot::after {
        content: 'Klepni pro zvětšení';
        opacity: 1;
    }
}

/* ---------- v11: hustší srovnání, cena a funkce, ať se vejdou na obrazovku ---------- */
@media (min-width: 1025px) {
    .vs td {
        vertical-align: middle;
        text-align: left;
    }

    .vs td .st {
        display: inline-grid;
        width: 22px;
        height: 22px;
        margin: 0 8px 0 0;
        vertical-align: middle;
    }

    .vs td .st .ic {
        width: 12px;
        height: 12px;
    }

    .vs thead small {
        font-size: 0.76rem;
    }

    .vs tfoot td,
    .vs tfoot th {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vs__legend {
        margin-top: 12px;
    }

    .vs__fine {
        margin-top: 8px;
        font-size: 0.74rem;
    }

    .plan {
        padding: 30px 34px;
    }

    .trustbar {
        margin-top: 22px;
    }

    .tabs {
        margin-bottom: 20px;
    }

    .panel .shot img {
        max-height: calc(100svh - 420px);
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    .vs tbody th small,
    .head--center p:not(.eyebrow) {
        display: none;
    }

    .vs th,
    .vs td {
        padding: 7px 10px;
    }

    .vs thead th {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vs__price {
        margin: 2px 0;
    }

    .plan {
        padding: 22px 28px;
    }

    .plan .feature__list {
        margin: 12px 0 16px;
    }

    .plan .feature__list li {
        padding: 3px 0;
    }

    .atabs {
        gap: 8px;
        margin-top: 18px;
    }

    .atab {
        padding: 10px 14px;
    }

    .adela__lead {
        margin-top: 10px;
    }

    .tabs {
        margin-bottom: 14px;
    }

    .tab {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .panel .shot img {
        max-height: calc(100svh - 330px);
    }

    .more-line {
        margin-top: 14px;
    }
}

.dframe__start {
    background: rgb(8 18 31 / 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 1024px) {
    .demo__open {
        display: none;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #srovnani .head .eyebrow,
    #cena .head .eyebrow {
        display: none;
    }
}

/* =====================================================================
   v12: výzva u každé sekce, telefony ve Funkcích, demo v okně
   ===================================================================== */

/* ---------- Výzva na konci sekce ---------- */
.scta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    text-align: center;
}

.scta .btn {
    min-width: 240px;
    justify-content: center;
}

.scta__note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.scta__note .ic {
    width: 1.05em;
    height: 1.05em;
    color: var(--green);
    stroke-width: 3;
}

.scta__note a {
    color: var(--orange-text);
    text-decoration: underline;
}

.scta--left {
    align-items: flex-start;
    margin-top: 28px;
    text-align: left;
}

.scta--dark .scta__note {
    color: #cbd5e1;
}

.scta--dark .scta__note .ic {
    color: #4ade80;
}

/* ---------- Funkce: telefon se skutečnou mobilní verzí ---------- */
.panels {
    isolation: isolate;
}

.panel,
.panel:has(.shot--narrow) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 72px;
    max-width: 960px;
    margin: 0 auto;
    align-items: center;
}

.panel__copy h3 {
    max-width: 440px;
}

.panel__copy .feature__list li {
    font-size: 1.02rem;
}

.pmock {
    position: relative;
    justify-self: center;
    box-sizing: border-box;
    height: clamp(460px, calc(100svh - 330px), 640px);
    aspect-ratio: 410 / 864;
    margin: 0;
    padding: 9px;
    border-radius: 44px;
    background: linear-gradient(160deg, #1e293b, #0b1220);
    box-shadow:
        inset 0 0 0 1.5px #334155,
        inset 0 0 0 3px #0b1220,
        0 50px 90px -34px rgb(15 23 42 / 0.55),
        0 18px 36px -18px rgb(15 23 42 / 0.35);
    cursor: zoom-in;
}

.pmock::before {
    content: '';
    position: absolute;
    inset: -18% -45%;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(232 90 31 / 0.16), transparent 72%);
    pointer-events: none;
}

.pmock__notch {
    position: absolute;
    top: 17px;
    left: 50%;
    z-index: 2;
    width: 74px;
    height: 20px;
    border-radius: 999px;
    background: #0b1220;
    transform: translateX(-50%);
}

.pmock__screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #f1f5f9;
}

.pmock__screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pmock:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

/* zvětšený snímek z telefonu: podle výšky obrazovky */
.zoom {
    width: auto;
}

.zoom img {
    display: block;
    width: auto;
    max-width: 96vw;
    max-height: 92vh;
    margin: 0 auto;
}

/* ---------- Demo ve velkém okně ---------- */
html.is-modal {
    overflow: hidden;
}

.ddlg {
    width: min(1440px, 96vw);
    height: min(920px, 92vh);
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    box-shadow: 0 40px 120px -20px rgb(0 0 0 / 0.6);
}

.ddlg[open] {
    display: flex;
    flex-direction: column;
}

.ddlg::backdrop {
    background: rgb(5 11 20 / 0.82);
    backdrop-filter: blur(6px);
}

.ddlg__bar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    height: 46px;
    padding: 0 8px 0 16px;
    background: #0c1b2e;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.ddlg__dots {
    display: inline-flex;
    gap: 6px;
}

.ddlg__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fb7185;
}

.ddlg__dots i:nth-child(2) { background: #fbbf24; }
.ddlg__dots i:nth-child(3) { background: #4ade80; }

.ddlg__url {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.08);
    color: #94a3b8;
}

.ddlg__full {
    margin-left: auto;
    color: #cbd5e1;
    font-weight: 600;
    text-decoration: underline;
}

.ddlg__close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    cursor: pointer;
}

.ddlg__close .ic {
    width: 16px;
    height: 16px;
}

.ddlg__body {
    position: relative;
    flex: 1;
    min-height: 0;
}

.ddlg__body::before {
    content: 'Načítám ukázku…';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 600;
}

.ddlg__frame {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

/* ---------- Detaily pro důvěru a přehlednost ---------- */
.head h2 {
    text-wrap: balance;
}

.feature__list li,
.pain p,
.head p {
    text-wrap: pretty;
}

.btn:focus-visible,
.tab:focus-visible,
.atab:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

@media (min-width: 1025px) and (max-height: 940px) {
    .scta {
        margin-top: 24px;
    }

    .pmock {
        height: clamp(420px, calc(100svh - 300px), 600px);
    }
}

@media (max-width: 1024px) {
    .panel,
    .panel:has(.shot--narrow) {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .pmock {
        height: min(560px, 72svh);
    }
}

@media (max-width: 640px) {
    .scta {
        margin-top: 28px;
    }

    .scta .btn {
        width: 100%;
    }

    .scta--left {
        align-items: stretch;
        text-align: center;
    }

    .scta--left .scta__note {
        justify-content: center;
    }

    .ddlg {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .ddlg__url,
    .ddlg__full {
        display: none;
    }

    .ddlg__close {
        margin-left: auto;
    }
}

/* v12: výzva na PC v jednom řádku, ať sekce nerostou */
@media (min-width: 1025px) {
    .scta {
        flex-direction: row;
        justify-content: center;
        gap: 18px;
        margin-top: 28px;
    }

    .scta--left {
        justify-content: flex-start;
    }

    .funkce__foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        max-width: 960px;
        margin: 28px auto 0;
    }

    .funkce__foot .more-line {
        margin: 0;
        max-width: 520px;
        text-align: left;
    }

    .funkce__foot .scta {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        margin: 0;
    }

    #funkce .head {
        margin-bottom: 18px;
    }

    #funkce .head h2 br {
        display: none;
    }

    .pmock {
        height: clamp(360px, calc(100svh - 380px), 640px);
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    .pmock {
        height: clamp(340px, calc(100svh - 360px), 600px);
    }

    #funkce .head .eyebrow {
        display: none;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #navratnost .head .eyebrow,
    #faq .head .eyebrow {
        display: none;
    }

    .scta {
        margin-top: 18px;
    }

    .adela__safe {
        margin-top: 14px;
    }
}

@media (min-width: 1025px) {
    .pmock {
        height: clamp(360px, calc(100svh - 522px), 640px);
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    .pmock {
        height: clamp(340px, calc(100svh - 450px), 600px);
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .atab small {
        display: none;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .atabs {
        gap: 6px;
        margin-top: 14px;
    }

    .atab {
        padding: 7px 12px;
    }

    .atab__icon {
        width: 34px;
        height: 34px;
    }

    #adela .scta {
        margin-top: 14px;
    }

    #adela h2 {
        font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    }
}

/* telefon: výšku určuje displej s přesným poměrem stran snímku (nic se neořízne) */
.pmock {
    --ph: 560px;
    display: block;
    width: max-content;
    height: auto !important;
    aspect-ratio: auto;
}

.pmock__screen {
    width: auto;
    height: var(--ph);
    aspect-ratio: 390 / 844;
}

@media (min-width: 1025px) {
    .pmock {
        --ph: clamp(342px, calc(100svh - 540px), 622px);
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    .pmock {
        --ph: clamp(322px, calc(100svh - 468px), 582px);
    }
}

@media (max-width: 1024px) {
    .pmock {
        --ph: min(540px, 68svh);
    }
}

#funkce {
    overflow-x: clip;
}

/* stavový pruh nad snímkem, ať výřez nepřekrývá lištu aplikace */
.pmock__screen {
    position: relative;
    height: auto;
    aspect-ratio: auto;
    padding-top: 28px;
    background: #fff;
}

.pmock__screen::before {
    content: '9:41';
    position: absolute;
    top: 7px;
    left: 22px;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pmock__screen::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 20px;
    width: 22px;
    height: 10px;
    border: 1.5px solid #0f172a;
    border-radius: 3px;
    background: linear-gradient(90deg, #0f172a 70%, transparent 70%) content-box;
    padding: 1px;
    box-sizing: border-box;
}

.pmock__screen img {
    width: auto;
    height: var(--ph);
    aspect-ratio: 390 / 844;
}

.pmock__notch {
    top: 15px;
    width: 64px;
    height: 18px;
}

@media (min-width: 1025px) {
    .pmock {
        --ph: clamp(322px, calc(100svh - 570px), 594px);
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    .pmock {
        --ph: clamp(300px, calc(100svh - 496px), 554px);
    }
}

/* =====================================================================
   v14: zakladatel vpravo v hero sekci místo videa
   ===================================================================== */
.hero__play {
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.hero__play-ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.12);
    color: #fff;
}

.hero__play-ic .ic {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.hero__play small {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero__play:hover .hero__play-ic {
    background: var(--orange);
}

.hero__play:hover .ic {
    transform: none;
}

.hero__visual--founder {
    display: flex;
    justify-content: center;
    margin-right: 0;
    padding: 0;
}

.fhero {
    position: relative;
    margin: 0;
}

.fhero::before {
    content: '';
    position: absolute;
    inset: -4% -70% -2%;
    z-index: 0;
    background:
        radial-gradient(closest-side, rgb(232 90 31 / 0.12), transparent 70%),
        radial-gradient(closest-side, #0d1a2c 58%, rgb(13 26 44 / 0) 100%);
    pointer-events: none;
}

.fhero__img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: clamp(440px, calc(100svh - 150px), 760px);
    aspect-ratio: 520 / 1083;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
    mask-composite: intersect;
}

.fhero__card {
    position: absolute;
    bottom: 14%;
    left: -150px;
    z-index: 2;
    width: 320px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.55);
}

.fhero__quote {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    text-wrap: pretty;
}

.fhero__name {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.fhero__name strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .hero__visual--founder {
        padding-top: 8px;
    }

    .fhero__img {
        height: min(620px, 78svh);
    }

    .fhero__card {
        left: -120px;
        bottom: 10%;
    }
}

@media (max-width: 640px) {
    .hero__cta .hero__play {
        justify-content: center;
    }

    .fhero {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .fhero__img {
        height: 440px;
    }

    .fhero__card {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: -70px;
    }
}

/* =====================================================================
   v15: redesign. Klidnější rytmus, větší typografie, kapitoly,
   příběh funkcí při posunu a pohyb (GSAP v motion.js)
   ===================================================================== */
:root {
    --paper: #f6f4ef;
    --line: #e7e3da;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    text-rendering: optimizeLegibility;
}

/* sekce už se nenatahují na celou obrazovku, žádná prázdná místa */
@media (min-width: 1025px) and (min-height: 640px) {
    .section,
    .section--tight,
    .final {
        display: block;
        min-height: 0;
    }
}

.section {
    background: #fff;
}

.section--paper {
    background: var(--paper);
}

/* ---------- Typografie ---------- */
.head h2,
.section h2,
.final h2 {
    font-size: clamp(2rem, min(3.5vw, 6.2vh), 3.3rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero h1 {
    letter-spacing: -0.04em;
}

/* ---------- Kapitoly místo stejných nadpisků ---------- */
main {
    counter-reset: chapter;
}

main > .section .eyebrow {
    gap: 12px;
    color: var(--orange-text);
    letter-spacing: 0.14em;
}

main > .section .eyebrow::before {
    counter-increment: chapter;
    content: counter(chapter, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    width: auto;
    height: auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

main > .section--navy .eyebrow::before {
    background: rgb(255 255 255 / 0.1);
    color: #fdba8c;
}

/* ---------- Tlačítka: jemná reakce ---------- */
.btn {
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease;
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn--primary .ic {
    transition: transform 0.25s var(--ease-out);
}

.btn--primary:hover .ic {
    transform: translateX(3px);
}

/* ---------- Úvod: nástup obsahu ---------- */
@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__copy > *,
    .fhero__img,
    .fhero__card {
        animation: rise 0.9s var(--ease-out) both;
    }

    .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
    .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
    .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
    .hero__copy > :nth-child(5) { animation-delay: 0.3s; }
    .fhero__img { animation-delay: 0.12s; animation-duration: 1.2s; }
    .fhero__card { animation-delay: 0.45s; }
}

/* ---------- Problém: velké číslo a číslovaný seznam ---------- */
.problem__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.problem__num {
    display: block;
    color: var(--orange);
    font-size: clamp(4.2rem, min(9vw, 15vh), 8.6rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.problem__unit {
    display: block;
    max-width: 320px;
    margin-top: 18px;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.problem__stat cite {
    display: block;
    max-width: 340px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.5;
}

.problem__stat cite a {
    color: inherit;
    text-decoration: underline;
}

.problem__lead {
    max-width: 520px;
    margin-top: 16px;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.55;
}

.problem .pains {
    counter-reset: pain;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 36px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.problem .pain {
    counter-increment: pain;
    display: block;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
}

.problem .pain:hover {
    transform: none;
    box-shadow: none;
}

.problem .pain h3 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--ink);
    font-size: 1.05rem;
}

.problem .pain h3::before {
    content: counter(pain, decimal-leading-zero);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.problem .pain p {
    margin-top: 6px;
    padding-left: 28px;
    font-size: 0.95rem;
}

.problem .scta {
    margin-top: 32px;
}

/* ---------- Funkce jako příběh: telefon stojí, obrazovky se mění ---------- */
.story-phone {
    display: none;
}

html.story-on #funkce .tabs {
    display: none;
}

html.story-on #funkce .panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 7vw, 120px);
    max-width: 1040px;
    margin: 0 auto;
}

html.story-on #funkce .panel,
html.story-on #funkce .panel[hidden] {
    grid-column: 1;
    display: flex;
    align-items: center;
    min-height: min(560px, calc(100svh - var(--header-h) - 120px));
    max-width: none;
    margin: 0;
}

html.story-on #funkce .panel__media {
    display: none;
}

html.story-on #funkce .panel__copy {
    opacity: 0.25;
    transform: translateX(-8px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

html.story-on #funkce .panel.is-active .panel__copy {
    opacity: 1;
    transform: none;
}

.panel__step {
    display: block;
    margin-bottom: 14px;
    color: var(--orange-text);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.panel__step b {
    color: var(--muted);
    font-weight: 700;
}

html.story-on #funkce .panel__copy h3 {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

html.story-on .story-phone {
    --ph: min(600px, calc(100svh - var(--header-h) - 120px));
    position: sticky;
    top: calc(var(--header-h) + (100svh - var(--header-h) - var(--ph) - 46px) / 2);
    grid-column: 2;
    grid-row: 1 / span 7;
    display: block;
    align-self: start;
    cursor: default;
}

.story-phone .pmock__screen {
    position: relative;
}

.story-phone .pmock__screen img {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.story-phone .pmock__screen img:first-of-type {
    position: relative;
}

.story-phone .pmock__screen img.is-active {
    opacity: 1;
    transform: none;
}

.story-dots {
    position: absolute;
    top: 50%;
    right: -28px;
    display: grid;
    gap: 8px;
    transform: translateY(-50%);
}

.story-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.story-dots i.is-active {
    background: var(--orange);
    transform: scale(1.5);
}

/* ---------- Pohyb řízený GSAP (motion.js) ---------- */
html.has-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ---------- Návratnost na světlém pozadí ---------- */
#navratnost .roi {
    box-shadow: 0 40px 80px -40px rgb(15 23 42 / 0.35);
}

#navratnost .roi__form {
    border: 1px solid var(--line);
}

@media (max-width: 1024px) {
    .problem__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .problem .pains {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem__num {
        font-size: clamp(3.6rem, 19vw, 5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.story-on #funkce .panel__copy,
    .story-phone .pmock__screen img {
        transition: none;
    }
}

/* =====================================================================
   v16: zakladatel v úvodu větší (do pasu), krátká citace v malé kartě
   ===================================================================== */
.hero__visual--founder {
    align-self: stretch;
    align-items: center;
}

.fhero__img {
    height: clamp(460px, calc(100svh - 150px), 780px);
    aspect-ratio: 624 / 780;
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 8%, #000 72%, transparent 100%);
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 8%, #000 72%, transparent 100%);
}

.fhero::before {
    inset: 0 -30% 10%;
}

.fhero__card {
    bottom: 12%;
    left: -64px;
    width: 250px;
    padding: 14px 16px;
    border-radius: 14px;
}

.fhero__quote {
    font-size: 0.88rem;
    line-height: 1.45;
}

.fhero__name {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 0.76rem;
}

.fhero__name strong {
    font-size: 0.86rem;
}

@media (max-width: 1024px) {
    .fhero__img {
        height: min(600px, 74svh);
    }

    .fhero__card {
        left: -40px;
        bottom: 14%;
    }
}

@media (max-width: 640px) {
    .fhero__img {
        width: 100%;
        height: auto;
        max-height: 520px;
    }

    .fhero__card {
        bottom: auto;
        left: auto;
        width: calc(100% - 32px);
        margin-top: -56px;
    }
}

/* =====================================================================
   v17: okraje fotky splývají s pozadím, citace jako skleněná karta
   s textem, který se píše
   ===================================================================== */
.fhero__img {
    -webkit-mask-image:
        radial-gradient(ellipse 58% 64% at 50% 38%, #000 52%, transparent 100%),
        linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
    mask-image:
        radial-gradient(ellipse 58% 64% at 50% 38%, #000 52%, transparent 100%),
        linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

/* rozmazaná kopie fotky za postavou: změkčí přechod do pozadí sekce */
.fhero::after {
    content: '';
    position: absolute;
    inset: 4% 6% 18%;
    z-index: 0;
    background: url('/poradci/img/founder-half.webp') center 30% / cover no-repeat;
    border-radius: 50%;
    filter: blur(60px) saturate(120%);
    opacity: 0.35;
    pointer-events: none;
}

.fhero__card {
    width: 290px;
    padding: 18px 18px 16px 20px;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 18px;
    background: linear-gradient(160deg, rgb(19 48 79 / 0.72), rgb(8 18 31 / 0.78));
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 30px 60px -24px rgb(0 0 0 / 0.7),
        inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.fhero__card::before {
    content: '\201C';
    position: absolute;
    top: -18px;
    left: 16px;
    color: var(--orange);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 6px 18px rgb(232 90 31 / 0.45);
}

.fhero__quote {
    position: relative;
    color: #f1f5f9;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.005em;
}

/* text se píše, karta drží výšku podle celé věty */
.fhero__ghost {
    visibility: hidden;
}

.fhero__typed {
    position: absolute;
    inset: 0;
}

.fhero__caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin-left: 2px;
    vertical-align: -0.15em;
    background: var(--orange);
    animation: caret 0.9s steps(1) infinite;
}

.fhero__card.is-typed .fhero__caret {
    animation: caret 0.9s steps(1) 3 forwards;
}

@keyframes caret {
    50% { opacity: 0; }
}

.fhero__name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgb(255 255 255 / 0.12);
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.35;
}

.fhero__name img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
}

.fhero__name strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .fhero__card {
        width: calc(100% - 32px);
        margin-top: -40px;
    }

    .fhero__card::before {
        top: -24px;
    }
}

/* =====================================================================
   v18: skutečná fotka zakladatele s průhledným pozadím
   ===================================================================== */
.fhero__img {
    aspect-ratio: 880 / 1100;
    filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.35));
    /* průhledné pozadí: jen spodní okraj (useknutá postava) plynule mizí */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 98%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
}

/* místo rozmazané kopie fotky jemná záře za postavou */
.fhero::after {
    inset: 6% -6% 20%;
    background:
        radial-gradient(closest-side, rgb(232 90 31 / 0.22), transparent 70%) 70% 30% / 70% 60% no-repeat,
        radial-gradient(closest-side, rgb(56 100 160 / 0.4), transparent 75%) center / 100% 100% no-repeat;
    filter: blur(30px);
    opacity: 1;
}

/* v19: fotka zakladatele víc vpravo, vzduch mezi textem a kartou */
@media (min-width: 1025px) {
    .hero__visual--founder {
        justify-content: flex-end;
        margin-right: -56px;
    }

    .fhero__card {
        left: -24px;
    }
}

/* posun jen o tolik, kolik je volného místa vedle obsahu (na užších obrazovkách nic nepřeteče) */
@media (min-width: 1025px) {
    .hero__visual--founder {
        margin-right: calc(-1 * min(56px, max(0px, (100vw - 1180px) / 2)));
    }
}

@media (min-width: 1600px) {
    .hero__visual--founder {
        margin-right: -110px;
    }
}

/* v20: kurzor po dopsání zmizí, profilovka celá */
.fhero__card.is-typed .fhero__caret {
    animation: none;
}

.fhero__caret.is-gone {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fhero__name img {
    object-position: center;
}

/* bez dlouhých pomlček: nadpisky v úvodu a závěru bez čárky (kapitoly mají číslo) */
.eyebrow::before {
    display: none;
}

main > .section .eyebrow::before {
    display: inline-grid;
}

/* v21: profilovka větší, celá hlava, jemný okraj */
.fhero__name img {
    width: 48px;
    height: 48px;
    border: 0;
    box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.9), 0 0 0 3.5px rgb(232 90 31 / 0.85);
    object-fit: cover;
    object-position: center;
}

/* v22: Pustit video (1 min) na jedné ose */
.hero__play-txt {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}

.hero__play-txt small {
    color: #94a3b8;
    font-size: 0.85em;
    font-weight: 500;
    line-height: 1;
}

/* =====================================================================
   v22: Adéla. Vlevo číslovaný seznam, vpravo bílá karta,
   na PC se karty přepínají při posunu (motion.js)
   ===================================================================== */
.adela2 {
    background:
        radial-gradient(900px 520px at 85% 15%, rgb(29 66 104 / 0.55), transparent 70%),
        radial-gradient(700px 480px at 0% 100%, rgb(232 90 31 / 0.08), transparent 70%),
        linear-gradient(180deg, #08121f 0%, #0b1828 100%);
    border-top: 1px solid rgb(255 255 255 / 0.06);
}

.adela2__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.adela2 h2 {
    color: #fff;
}

.adela2__lead {
    max-width: 480px;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---------- Seznam vlevo s linkou ---------- */
.asteps {
    position: relative;
    display: grid;
    gap: 4px;
    margin-top: 28px;
    padding-left: 18px;
}

.asteps::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: rgb(255 255 255 / 0.1);
}

.astep {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 440px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: none;
    color: #64748b;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s ease;
}

.astep:hover {
    color: #cbd5e1;
}

.astep__n {
    flex-shrink: 0;
    padding-top: 3px;
    color: #fdba8c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}

.astep__t strong {
    display: block;
    color: inherit;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.astep__t small {
    display: grid;
    grid-template-rows: 0fr;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0;
    transition: grid-template-rows 0.4s var(--ease-out), opacity 0.3s ease, margin 0.4s var(--ease-out);
}

.astep.is-active {
    border-color: rgb(255 255 255 / 0.1);
    background: rgb(255 255 255 / 0.05);
    color: #fff;
}

.astep.is-active .astep__n {
    opacity: 1;
}

.astep.is-active .astep__t small {
    grid-template-rows: 1fr;
    margin-top: 6px;
    opacity: 1;
}

.astep:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* aktivní úsek linky */
.asteps__bar {
    position: absolute;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: var(--orange);
    transition: transform 0.45s var(--ease-out), height 0.45s var(--ease-out);
}

.adela2__safe {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
}

.adela2__safe li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.adela2__safe .ic {
    width: 1.1em;
    height: 1.1em;
    color: #4ade80;
}

/* ---------- Karta vpravo ---------- */
.adela2__stage {
    position: relative;
    display: grid;
}

.acard {
    grid-area: 1 / 1;
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.65);
    color: var(--text);
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
    pointer-events: none;
}

.acard[hidden] {
    display: block;
    visibility: hidden;
}

.acard.is-active {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.acard__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.acard__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f07a3f, var(--orange-dark));
    box-shadow: 0 10px 22px -10px rgb(232 90 31 / 0.8);
    color: #fff;
}

.acard__icon .ic {
    width: 22px;
    height: 22px;
}

.acard__label {
    margin: 0;
    color: var(--orange-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.acard h3 {
    margin: 2px 0 0;
    color: var(--ink);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    letter-spacing: -0.025em;
}

.acard__desc {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.6;
}

.acard__ask {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 3px solid var(--orange);
    border-radius: 4px 12px 12px 4px;
    background: var(--orange-soft);
}

.acard__ask b {
    display: block;
    color: var(--ink);
    font-size: 0.86rem;
}

.acard__ask p {
    margin-top: 4px;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.5;
}

.acard__sub {
    margin-top: 18px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.acard__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
}

.acard__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.acard__list .ic {
    flex-shrink: 0;
    width: 1.05em;
    height: 1.05em;
    margin-top: 0.15em;
    color: var(--orange);
    stroke-width: 3;
}

.acard__cta {
    margin-top: 22px;
}

.adela2__note {
    margin-top: 14px;
    color: #64748b;
    font-size: 0.8rem;
    text-align: center;
}

/* ---------- PC: sekce stojí a karty se přepínají při posunu ---------- */
html.adela-story .adela2 {
    padding: 0;
}

html.adela-story .adela2__track {
    height: calc(100svh - var(--header-h) + 3 * 46svh);
}

html.adela-story .adela2__sticky {
    position: sticky;
    top: var(--header-h);
    display: flex;
    align-items: center;
    height: calc(100svh - var(--header-h));
    overflow: hidden;
}

html.adela-story .adela2__grid {
    width: 100%;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .adela2__lead {
        margin-top: 10px;
        font-size: 0.98rem;
    }

    .asteps {
        margin-top: 18px;
    }

    .astep {
        padding: 9px 14px;
    }

    .adela2__safe {
        margin-top: 16px;
    }

    .acard__desc,
    .acard__ask {
        margin-top: 12px;
    }

    .acard__sub {
        margin-top: 14px;
    }

    .acard__cta {
        margin-top: 16px;
    }
}

@media (max-width: 1024px) {
    .adela2__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .astep {
        padding: 10px 12px;
    }

    .acard__list {
        grid-template-columns: 1fr;
    }

    .acard__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .astep,
    .astep__t small,
    .acard,
    .asteps__bar {
        transition: none;
    }
}

/* skrytý popis neaktivní položky nezabírá místo */
.astep__t small {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s ease, margin 0.4s var(--ease-out);
}

.astep.is-active .astep__t small {
    max-height: 4.5em;
}

/* =====================================================================
   v23: opravy barev, problém jako karty, srovnání s jasným vítězem,
   prodejnější cena a závěr
   ===================================================================== */

/* tmavé sekce zůstanou tmavé (bílé pozadí sekcí je přebíjelo) */
.section.section--navy {
    background:
        radial-gradient(900px 500px at 85% 0%, rgb(232 90 31 / 0.16), transparent 70%),
        var(--navy-900);
    color: #cbd5e1;
}

.demo h2,
.demo h3 {
    color: #fff;
}

.demo p,
.demo .feature__list li,
.demo .ticks li {
    color: #cbd5e1;
}

/* ---------- Problém: bolesti jako karty ---------- */
.problem .pains--cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.problem .pains--cards .pain {
    position: relative;
    display: block;
    padding: 20px 20px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.problem .pains--cards .pain:hover {
    border-color: #f5c3a8;
    box-shadow: 0 18px 40px -22px rgb(232 90 31 / 0.45);
    transform: translateY(-3px);
}

.problem .pains--cards .pain h3::before {
    content: none;
}

.pain__n {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 9px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.problem .pains--cards .pain h3 {
    display: block;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
}

.problem .pains--cards .pain p {
    margin-top: 6px;
    padding-left: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

/* ---------- Funkce: číslo kapitoly vždy, výzva uprostřed s odrážkami ---------- */
#funkce .head .eyebrow {
    display: inline-flex;
}

.funkce__foot {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 6vh, 72px);
}

.scta--stack {
    align-items: center;
    gap: 16px;
    margin-top: 0;
}

.scta__bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.scta__bullets li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.scta__bullets .ic {
    width: 1.05em;
    height: 1.05em;
    color: var(--green);
    stroke-width: 3;
}

/* ---------- Srovnání: náš sloupec jasně vyhrává ---------- */
.vs td.c {
    color: #8a96a8;
    font-weight: 500;
}

.vs td.c .st {
    filter: grayscale(1);
    opacity: 0.55;
}

.vs .us {
    background: #fff6f0;
}

.vs td.us .st--yes {
    background: var(--orange);
    color: #fff;
}

.vs thead th.us {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    box-shadow: 0 -10px 30px -12px rgb(232 90 31 / 0.6);
}

.vs__badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vs thead th.us .vs__price b {
    color: #fdba8c;
    font-size: 1.6rem;
}

.vs__fine {
    margin-top: 16px;
}

/* ---------- Cena: prodejnější karta ---------- */
.plan--main {
    border-width: 2px;
    box-shadow: 0 40px 80px -36px rgb(232 90 31 / 0.45);
}

.plan__free {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 800;
}

.plan__free .ic {
    width: 1em;
    height: 1em;
}

.plan__inc {
    margin-top: 18px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plan .plan__list {
    margin-top: 10px;
}

.plan__list li {
    font-size: 0.97rem;
}

.plan__list b {
    color: var(--ink);
}

.plan__fine {
    text-align: center;
}

/* ---------- Závěr: prodejnější ---------- */
.final .ticks b {
    color: #fff;
}

.final__founder {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 480px;
    margin-top: 28px;
    padding: 14px 16px;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 16px;
    background: rgb(255 255 255 / 0.04);
}

.final__founder img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.9), 0 0 0 3.5px rgb(232 90 31 / 0.85);
}

.final__founder p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.final__founder a {
    color: #fdba8c;
    text-decoration: underline;
}

.final__founder span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.trial {
    position: relative;
}

.trial__tag {
    position: absolute;
    top: -13px;
    left: 28px;
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trial__demo {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.trial__demo:hover {
    color: var(--ink);
}

@media (max-width: 640px) {
    .problem .pains--cards {
        grid-template-columns: 1fr;
    }
}

/* podtitulek u srovnání a ceny je prodejní argument, zůstává vidět */
#srovnani .head p:not(.eyebrow),
#cena .head p:not(.eyebrow) {
    display: block;
}

.plans {
    align-items: start;
}

@media (min-width: 1025px) and (max-height: 1100px) {
    #cena.section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    #cena .plan {
        padding-top: 26px;
        padding-bottom: 22px;
    }

    #cena .plan__inc {
        margin-top: 12px;
    }

    #cena .plan .feature__list li {
        margin-top: 0;
    }

    #cena .trustbar {
        margin-top: 22px;
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    #srovnani .vs th,
    #srovnani .vs td {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    #srovnani .vs thead th {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    #srovnani .head {
        margin-bottom: 22px;
    }
}

/* srovnání a cena se vejdou na obrazovku i s prodejními větami */
#srovnani .head,
#cena .head {
    max-width: 920px;
}

#cena .plan--main {
    position: relative;
}

#cena .plan__free {
    position: absolute;
    top: 24px;
    right: 22px;
    margin: 0;
}

@media (min-width: 1025px) and (max-height: 1100px) {
    #srovnani.section {
        padding-top: 40px;
        padding-bottom: 36px;
    }

    #srovnani .vs th,
    #srovnani .vs td {
        padding: 9px 12px;
        font-size: 0.88rem;
    }

    #srovnani .vs thead th {
        padding-top: 14px;
        padding-bottom: 12px;
    }

    #srovnani .vs tbody th small {
        display: none;
    }

    #srovnani .vs tfoot td {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    #cena.section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #cena .head {
        margin-bottom: 22px;
    }
}

@media (max-width: 640px) {
    #cena .plan__free {
        position: static;
        margin-top: 12px;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #srovnani .vs td.c {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    #srovnani .vs thead th small {
        display: none;
    }


    #cena .plan__price strong {
        font-size: 3.2rem;
    }

    #cena .plan .feature__list {
        gap: 6px;
    }

    #cena .plan .btn {
        margin-top: 16px;
    }

    #cena .trustbar {
        margin-top: 14px;
    }
}

@media (min-width: 1025px) and (max-height: 940px) {
    #srovnani .vs td.c .st {
        display: none;
    }

    #srovnani .vs td.c {
        font-size: 0.82rem;
        line-height: 1.3;
    }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #srovnani.section {
        padding-top: 30px;
        padding-bottom: 26px;
    }

    #srovnani .vs__fine {
        margin-top: 10px;
        font-size: 0.74rem;
    }

    #cena.section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    #cena .head {
        margin-bottom: 14px;
    }
}

/* =====================================================================
   v24: sekce 02, rozházené štítky (chaos) se při posunu srovnají
   ===================================================================== */
.chaos {
    position: relative;
    max-width: 360px;
}

.chaos__label {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chaos__chips {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chaos__chips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px -18px rgb(15 23 42 / 0.4);
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 650;
    will-change: transform;
}

.chaos__chips .ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.chaos__after {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--navy-900);
    color: #e2e8f0;
    font-size: 0.95rem;
}

.chaos__after strong {
    color: #fff;
}

.chaos__after .ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #4ade80;
    stroke-width: 3;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .chaos__chips {
        gap: 7px;
    }

    .chaos__chips li {
        padding: 8px 14px;
        font-size: 0.92rem;
    }

    .chaos__after {
        margin-top: 12px;
        padding: 10px 14px;
    }
}

@media (max-width: 1024px) {
    .chaos {
        max-width: none;
    }
}

#problem {
    overflow-x: clip;
}

/* =====================================================================
   v25: v úvodu oba partneři (David a Dominik), každý s vlastní kartou
   ===================================================================== */
.hero__visual--duo {
    align-items: flex-end;
}

.duo {
    --ph: min(clamp(400px, calc(100svh - 170px), 700px), 39vw);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.duo .fhero {
    flex-shrink: 0;
}

.duo .fhero__img {
    height: var(--ph);
}

.fhero--david {
    z-index: 1;
    margin-right: calc(var(--ph) * -0.42);
}

.fhero--dominik {
    z-index: 2;
}

/* záře jen jednou za oběma */
.fhero--david::before,
.fhero--david::after {
    content: none;
}

.duo .fhero__card {
    width: 260px;
}

.fhero__card--david {
    top: 40%;
    bottom: auto;
    left: -60px;
}

.fhero__card--dominik {
    bottom: 10%;
    left: -10px;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .duo .fhero__card {
        width: 240px;
        padding: 14px 14px 12px 16px;
    }

    .duo .fhero__quote {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .duo {
        --ph: min(560px, 70svh);
        justify-content: center;
    }

    .fhero__card--david {
        left: -20px;
    }
}

@media (max-width: 640px) {
    .hero__visual--duo {
        display: block;
    }

    /* fotky vedle sebe, karty pod nimi (figure se rozpustí do mřížky) */
    .duo {
        --ph: min(330px, 86vw);
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .duo .fhero {
        display: contents;
    }

    .duo .fhero__img {
        grid-row: 1;
        width: auto;
        max-width: none;
        height: var(--ph);
    }

    .fhero--david .fhero__img {
        grid-column: 1;
        justify-self: end;
        margin-right: calc(var(--ph) * -0.22);
    }

    .fhero--dominik .fhero__img {
        grid-column: 2;
        justify-self: start;
        margin-left: calc(var(--ph) * -0.22);
    }

    .fhero--david {
        margin-right: 0;
    }

    .duo .fhero__card {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        grid-column: 1 / -1;
        width: auto;
        margin: 0;
    }

    .fhero__card--david {
        grid-row: 2;
        margin-top: -34px !important;
    }

    .fhero__card--dominik {
        grid-row: 3;
        margin-top: 30px !important;
    }
}

/* jedna společná záře za oběma, nikdo není ztmavený */
.fhero--dominik::before {
    content: none;
}

.duo::before {
    content: '';
    position: absolute;
    inset: 4% -12% 6% -6%;
    z-index: 0;
    background:
        radial-gradient(closest-side, rgb(232 90 31 / 0.12), transparent 70%),
        radial-gradient(closest-side, #0d1a2c 55%, rgb(13 26 44 / 0) 100%);
    pointer-events: none;
}

@media (min-width: 641px) {
    .fhero__card--david {
        top: 34%;
        left: 12%;
    }

    .fhero__card--dominik {
        bottom: 6%;
        left: 34%;
    }
}

@media (min-width: 1600px) {
    .fhero__card--david {
        left: 22%;
    }
}

@media (min-width: 641px) {
    .fhero__card--david {
        top: 39%;
    }
}

/* mobil: dvojice fotek se vejde do šířky, text úvodu se neroztahuje */
.hero__grid > * {
    min-width: 0;
}

@media (max-width: 640px) {
    .duo {
        --ph: min(300px, 76vw);
    }
}

/* kurzor se ukáže, až karta začne psát */
.fhero__card:not(.is-typing):not(.is-typed) .fhero__caret {
    opacity: 0;
}

/* v26: vrstvy dvojice. David a jeho karta vzadu, Dominik vpředu,
   spodní prolnutí společné pro oba (nikdo neprosvítá přes druhého) */
.duo {
    z-index: 0;
    isolation: isolate;
}

.duo .fhero,
.fhero--david,
.fhero--dominik {
    z-index: auto;
}

.duo .fhero__img {
    -webkit-mask-image: none;
    mask-image: none;
}

.fhero--david .fhero__img { z-index: 1; }
.fhero__card--david { z-index: 2; }
.fhero--dominik .fhero__img { z-index: 3; }
.fhero__card--dominik { z-index: 5; }

/* společné prolnutí spodku do pozadí úvodu */
.duo::after {
    content: '';
    position: absolute;
    right: -20%;
    bottom: -1px;
    left: -20%;
    z-index: 4;
    height: 26%;
    background: linear-gradient(180deg, rgb(11 24 40 / 0) 0%, rgb(11 24 40 / 0.85) 70%, #0b1828 100%);
    pointer-events: none;
}

@media (max-width: 640px) {
    .duo::after {
        bottom: auto;
        top: calc(var(--ph) * 0.76);
        height: calc(var(--ph) * 0.24 + 1px);
    }
}

/* společné prolnutí: maska na celé dvojici (žádný překryvný obdélník) */
.duo::after {
    content: none;
}

.duo {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 99%);
    mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 99%);
}

@media (min-width: 641px) {
    .fhero__card--dominik {
        bottom: 17%;
    }
}

@media (max-width: 640px) {
    /* na mobilu mizí jen spodek fotek, karty pod nimi zůstávají celé */
    .duo {
        -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--ph) * 0.8), transparent var(--ph), #000 var(--ph));
        mask-image: linear-gradient(180deg, #000 0, #000 calc(var(--ph) * 0.8), transparent var(--ph), #000 var(--ph));
    }

    .fhero__card--david {
        margin-top: 4px !important;
    }
}

/* =====================================================================
   v27: od sekce 01 do konce se střídá krémová a bílá
   (01 krémová, 02 bílá, 03 krémová ...). Tmavá zůstává jen úvodní sekce.
   ===================================================================== */
main > .section.section--paper,
.final.final--light {
    background: var(--paper);
}

main > .section.section--white {
    background: #fff;
}

/* jemná dělicí linka, aby dvě světlé sekce neslévaly */
main > .section + .section,
main > .section + .final {
    border-top: 1px solid var(--line);
}

/* ---------- 01 Adéla na krémové ---------- */
.adela2.section--paper {
    background: var(--paper);
    color: var(--text);
}

.adela2 h2 {
    color: var(--ink);
}

.adela2__lead {
    color: var(--text);
}

.asteps::before {
    background: rgb(15 23 42 / 0.1);
}

.astep {
    color: #8a96a8;
}

.astep:hover {
    color: var(--ink);
}

.astep__n {
    color: var(--orange-text);
}

.astep__t small {
    color: var(--muted);
}

.astep.is-active {
    border-color: var(--line);
    background: #fff;
    box-shadow: 0 14px 30px -20px rgb(15 23 42 / 0.3);
    color: var(--ink);
}

.adela2__safe {
    color: var(--text);
}

.adela2__safe .ic {
    color: var(--green);
}

.acard {
    border: 1px solid var(--line);
    box-shadow: 0 34px 70px -34px rgb(15 23 42 / 0.32);
}

.adela2__note {
    color: var(--muted);
}

/* ---------- 04 Živá ukázka na bílé ---------- */
.demo.section--white {
    color: var(--text);
}

.demo.section--white h2,
.demo.section--white h3,
.demo.section--white .demo__copy h2 {
    color: var(--ink);
}

.demo.section--white p,
.demo.section--white .demo__lead,
.demo.section--white .feature__list li,
.demo.section--white .ticks li,
.demo.section--white .demo__ticks {
    color: var(--text);
}

.demo.section--white .ticks .ic {
    background: var(--green-soft);
    color: var(--green);
}

.demo.section--white .dframe {
    border-color: var(--line);
    box-shadow: 0 40px 80px -36px rgb(15 23 42 / 0.35);
}

/* ---------- Závěr na krémové ---------- */
.final.final--light {
    color: var(--text);
}

.final--light h2 {
    color: var(--ink);
}

.final--light h2 em {
    color: var(--orange);
}

.final--light .eyebrow {
    color: var(--orange-text);
}

.final--light .final__lead,
.final--light .ticks li {
    color: var(--text);
}

.final--light .ticks b {
    color: var(--ink);
}

.final--light .ticks .ic {
    background: var(--green-soft);
    color: var(--green);
}

.final--light .final__founder {
    border-color: var(--line);
    background: #fff;
    box-shadow: 0 14px 30px -22px rgb(15 23 42 / 0.3);
}

.final--light .final__founder p {
    color: var(--text);
}

.final--light .final__founder a {
    color: var(--orange-text);
}

.final--light .final__founder span {
    color: var(--muted);
}

.final--light .trial {
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -36px rgb(15 23 42 / 0.3);
}

.demo.section--white .eyebrow {
    color: var(--orange-text);
}

/* =====================================================================
   v28: sekce Tým (styl karet jako webzaden.cz, barvy D&D Core)
   ===================================================================== */
.team__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tcard {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--navy-900);
    box-shadow: 0 30px 60px -34px rgb(15 23 42 / 0.45);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.tcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 70px -34px rgb(15 23 42 / 0.55);
}

.tcard__photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
}

.tcard__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.8s var(--ease-out);
}

.tcard:hover .tcard__photo img {
    transform: scale(1.03);
}

/* přechod fotky do tmavé spodní části karty */
.tcard__photo::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 38%;
    background: linear-gradient(180deg, rgb(12 27 46 / 0), var(--navy-900));
}

.tcard__body {
    position: relative;
    margin-top: -46px;
    padding: 0 20px 22px;
}

.tcard__role {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tcard__role::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgb(232 90 31 / 0.25);
}

.tcard h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.tcard__body p:last-child {
    margin: 6px 0 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
}

.tcard__bubble {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 10px 22px -10px rgb(232 90 31 / 0.9);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
    transform: translateX(-50%);
}

.tcard__bubble span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: tpulse 1.8s ease-in-out infinite;
}

@keyframes tpulse {
    50% { opacity: 0.35; }
}

@media (max-width: 1024px) {
    .team__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* mobil: karty vedle sebe s posouváním do strany jako na webzaden */
@media (max-width: 640px) {
    .team__list {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        gap: 14px;
        margin: 0 -18px;
        padding: 0 18px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .team__list::-webkit-scrollbar {
        display: none;
    }

    .tcard {
        scroll-snap-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tcard,
    .tcard__photo img,
    .tcard__bubble span {
        transition: none;
        animation: none;
    }
}

.final.final--white {
    background: #fff;
}

.tcard__bubble {
    text-decoration: none;
}

/* všichni od pasu: hlava v horní části karty */
.tcard__photo img {
    object-position: center top;
}

/* =====================================================================
   v29: 01 Adéla jako chat, karty v balíčku, postup kroků
   ===================================================================== */
.adela2 h2 em {
    color: var(--orange);
    font-style: normal;
}

.adela2__lead {
    font-size: 1.12rem;
}

/* krok vlevo: pod aktivním se plní linka podle posunu */
.astep {
    position: relative;
}

.astep__prog {
    position: absolute;
    right: 16px;
    bottom: 8px;
    left: 44px;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgb(15 23 42 / 0.07);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.astep__prog::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

html.adela-story .astep.is-active .astep__prog {
    opacity: 1;
}

/* karty: příchozí zespodu, odcházející nahoru, za aktivní je vidět balíček */
.acard {
    padding: clamp(20px, 2.2vw, 28px);
    opacity: 0;
    transform: translateY(46px) scale(0.95);
    transition: opacity 0.5s var(--ease-out), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.7s;
}

.acard.is-past {
    transform: translateY(-40px) scale(0.97);
}

.acard.is-active {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ease-out) 0.08s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, visibility 0s;
    box-shadow:
        0 12px 0 -6px #fff,
        0 12px 0 -5px rgb(15 23 42 / 0.1),
        0 24px 0 -12px #fbfaf8,
        0 24px 0 -11px rgb(15 23 42 / 0.07),
        0 50px 80px -40px rgb(15 23 42 / 0.4);
}

.acard__head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.acard__head > div {
    flex: 1;
}

.acard__count {
    align-self: flex-start;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.acard__count small {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
}

.acard__icon {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.acard:not(.is-active) .acard__icon {
    transform: scale(0.6) rotate(-12deg);
}

/* chat */
.acard__chat {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.amsg {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
}

.amsg__who {
    display: block;
    margin-bottom: 3px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.amsg--me {
    justify-self: end;
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 18px 18px 4px 18px;
    background: var(--navy-900);
    color: #e2e8f0;
}

.amsg--me .amsg__who {
    color: #fdba8c;
}

.amsg__typing,
.amsg--ai {
    grid-row: 2;
    grid-column: 1;
}

.amsg--ai {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 94%;
}

.amsg--ai > div {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 18px 4px;
    background: #faf8f4;
}

.amsg--ai .amsg__who {
    color: var(--orange-text);
}

.amsg--ai p {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
}

.amsg__ava {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f07a3f, var(--orange-dark));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.amsg__typing {
    display: inline-flex;
    align-self: start;
    gap: 4px;
    width: max-content;
    margin-left: 42px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px 16px 16px 4px;
    background: #faf8f4;
    opacity: 0;
}

.amsg__typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: adot 0.9s ease-in-out infinite;
}

.amsg__typing i:nth-child(2) { animation-delay: 0.15s; }
.amsg__typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes adot {
    0%, 60%, 100% { transform: none; opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes atyping {
    0% { opacity: 0; transform: translateY(8px); }
    15%, 80% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: none; }
}

.acard__list {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 8px;
}

/* postupné naskakování po aktivaci karty */
.amsg--me,
.amsg--ai,
.acard__list li,
.acard__foot {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.acard.is-active .amsg--me {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease 0.3s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.acard.is-active .amsg__typing {
    animation: atyping 0.95s ease 0.75s both;
}

.acard.is-active .amsg--ai {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease 1.65s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.65s;
}

.acard.is-active .acard__list li {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(1.9s + var(--i) * 0.16s);
}

.acard__list li .ic {
    transform: scale(0);
    transition: transform 0.3s ease;
}

.acard.is-active .acard__list li .ic {
    transform: none;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(2s + var(--i) * 0.16s);
}

.acard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.acard.is-active .acard__foot {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease 2.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 2.5s;
}

.acard__btn {
    position: relative;
    overflow: hidden;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 10px 22px -12px rgb(232 90 31 / 0.9);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

/* odlesk přejede přes tlačítko, když je karta hotová */
.acard__btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55), transparent);
    transform: skewX(-20deg);
}

.acard.is-active .acard__btn::after {
    animation: ashine 1s ease 2.9s both;
}

@keyframes ashine {
    to { left: 130%; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .acard__chat { margin-top: 12px; gap: 8px; }
    .acard__head { padding-bottom: 12px; }
    .acard__foot { margin-top: 12px; padding-top: 12px; }
}

@media (max-width: 640px) {
    .acard__count { display: none; }
    .amsg--me, .amsg--ai { max-width: 100%; }
    .acard__foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .acard,
    .acard .amsg--me,
    .acard .amsg--ai,
    .acard .acard__list li,
    .acard .acard__list li .ic,
    .acard .acard__foot,
    .acard__icon {
        transition: none !important;
        transition-delay: 0s !important;
    }

    .acard.is-active .amsg__typing,
    .acard.is-active .acard__btn::after {
        animation: none;
    }
}

/* každá karta má víc místa na posun, aby se stihla dopsat */
html.adela-story .adela2__track {
    height: calc(100svh - var(--header-h) + 3 * 58svh);
}

/* =====================================================================
   v30: 02 vlevo bez CRM, vpravo s D&D Core
   ===================================================================== */
.bvs {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(24px, 3vw, 40px);
}

.bvs__side {
    padding: clamp(20px, 2.4vw, 30px);
    border-radius: 24px;
}

.bvs__side--bad {
    border: 1px dashed #d6d3cc;
    background: var(--paper);
}

.bvs__side--good {
    background:
        radial-gradient(500px 300px at 90% 0%, rgb(232 90 31 / 0.18), transparent 70%),
        var(--navy-900);
    box-shadow: 0 40px 80px -40px rgb(12 27 46 / 0.6);
    color: #e2e8f0;
}

.bvs__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bvs__label span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.bvs__label .ic {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.bvs__side--bad .bvs__label { color: #64748b; }
.bvs__side--bad .bvs__label span { background: #fde2e2; color: var(--red); }
.bvs__side--good .bvs__label { color: #fff; }
.bvs__side--good .bvs__label span { background: rgb(74 222 128 / 0.16); color: #4ade80; }

.bvs__board {
    position: relative;
    height: 232px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

/* vlevo rozházené štítky */
.bvs__chips li {
    position: absolute;
    top: var(--y);
    left: var(--x);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 24px -16px rgb(15 23 42 / 0.45);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 650;
    white-space: nowrap;
    transform: rotate(var(--r));
}

.bvs__chips .ic {
    width: 16px;
    height: 16px;
    color: var(--muted);
}

/* vpravo uklizený seznam klientů */
.crm {
    padding: 14px;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 18px;
    background: rgb(255 255 255 / 0.04);
}

.crm__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.crm__head .ic {
    width: 16px;
    height: 16px;
    color: #fdba8c;
}

.crm__head span {
    margin-left: auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgb(232 90 31 / 0.2);
    color: #fdba8c;
    font-size: 0.74rem;
}

.crm__rows {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crm__rows li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

.crow__ava {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2f7;
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.crow__t {
    flex: 1;
    min-width: 0;
}

.crow__t strong {
    display: block;
    font-size: 0.92rem;
}

.crow__t small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crow__tag {
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.crow__tag--hot { background: var(--orange-soft); color: var(--orange-text); }
.crow__tag--warn { background: #fef3c7; color: #92400e; }
.crow__tag--ok { background: var(--green-soft); color: var(--green); }

/* seznamy pod tabulí */
.bvs__list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.98rem;
    font-weight: 600;
}

.bvs__list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bvs__list .ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke-width: 3;
}

.bvs__side--bad .bvs__list { color: #64748b; }
.bvs__side--bad .bvs__list .ic { color: var(--red); }
.bvs__side--good .bvs__list { color: #fff; }
.bvs__side--good .bvs__list .ic { color: #4ade80; }

/* šipka mezi stranami */
.bvs__vs {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 12px 26px -10px rgb(232 90 31 / 0.8);
    color: #fff;
    transform: translate(-50%, -50%);
}

.bvs__vs .ic {
    width: 20px;
    height: 20px;
    stroke-width: 2.6;
}

#problem .scta {
    justify-content: center;
    margin-top: clamp(24px, 3vw, 36px);
}

@media (min-width: 1025px) and (max-height: 820px) {
    .bvs__board { height: 206px; margin-top: 12px; }
    .bvs__chips li { padding: 7px 12px; font-size: 0.85rem; }
    .crm__rows li { padding: 6px 10px; }
    .crm__rows { gap: 6px; }
    .bvs__list { gap: 6px; margin-top: 14px; font-size: 0.92rem; }
    .bvs__side { padding: 18px 22px; }
}

@media (max-width: 860px) {
    .bvs { grid-template-columns: 1fr; gap: 34px; }
    .bvs__vs { top: auto; bottom: auto; }
    .bvs__vs .ic { transform: rotate(90deg); }
}

@media (max-width: 640px) {
    .bvs__board.bvs__chips { height: 250px; }
    .bvs__chips li { font-size: 0.82rem; padding: 7px 11px; }
    .crow__tag { font-size: 0.68rem; padding: 3px 7px; }
    .crow__t small { display: none; }
}

.bvs__board { height: 266px; }
.bvs__board.crm { display: flex; flex-direction: column; justify-content: center; }

@media (min-width: 1025px) and (max-height: 820px) {
    .bvs__board { height: 222px; }
    .crm { padding: 10px 12px; }
    .crm__head { margin-bottom: 6px; }
    .crow__ava { width: 30px; height: 30px; }
    .bvs__chips li[style*="--y:172px"] { top: 160px; }
}

#problem .head { max-width: none; }
#problem .head h2 { white-space: nowrap; }
#problem .bvs__list { margin-top: 16px; gap: 8px; }

@media (min-width: 1025px) and (max-height: 820px) {
    #problem .bvs { margin-top: 18px; }
    #problem .scta { margin-top: 18px; }
    #problem .bvs__list { margin-top: 12px; gap: 5px; }
}

@media (max-width: 640px) {
    #problem .head h2 { white-space: normal; }
}

@media (min-width: 1025px) and (max-height: 960px) {
    #problem.section { padding-top: 56px; padding-bottom: 56px; }
    #problem .bvs { margin-top: 22px; }
    #problem .scta { margin-top: 22px; }
}

@media (min-width: 1025px) and (max-height: 960px) {
    #problem.section { padding-top: 46px; padding-bottom: 46px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #problem.section { padding-top: 30px; padding-bottom: 30px; }
}

@media (max-width: 860px) {
    .bvs { gap: 0; }
    .bvs__vs { position: relative; top: auto; left: auto; justify-self: center; margin: -16px 0; transform: none; }
}

@media (max-width: 640px) {
    .bvs__board.bvs__chips { height: 222px; }
    .crow__t strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* =====================================================================
   v31: jednotná velikost nadpisů a nadnadpisů podle úvodu (hero)
   ===================================================================== */
main .eyebrow,
main .head .eyebrow,
main .head--center .eyebrow,
.final .eyebrow {
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

main .eyebrow::before {
    font-size: 0.68rem !important;
}

main .head h2,
main .section h2,
main .final h2,
.final h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

@media (min-width: 1025px) and (max-height: 820px) {
    main .head h2,
    main .section h2,
    .final h2 {
        font-size: clamp(2.2rem, min(4.6vw, 7vh), 3.5rem);
    }
}
main > .section .eyebrow { letter-spacing: 0.12em; }

/* 03: tlačítko přesně doprostřed */
#funkce .funkce__foot {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

#funkce .scta--stack {
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

/* =====================================================================
   v31: 05 Srovnání jako souboj dvou karet
   ===================================================================== */
.duel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    max-width: 1060px;
    margin: clamp(40px, 4vw, 56px) auto 0;
}

.duel__card {
    position: relative;
    padding: 34px 32px 30px;
    border-radius: 28px;
}

.duel__card--us {
    border: 1px solid rgb(232 90 31 / 0.55);
    background:
        radial-gradient(420px 260px at 100% 0%, rgb(232 90 31 / 0.28), transparent 70%),
        linear-gradient(160deg, #13294a 0%, var(--navy-900) 60%);
    box-shadow: 0 40px 90px -36px rgb(232 90 31 / 0.55), 0 30px 60px -30px rgb(12 27 46 / 0.6);
    color: #e2e8f0;
}

.duel__card--them {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 50px -36px rgb(15 23 42 / 0.35);
    color: var(--text);
}

.duel__badge {
    position: absolute;
    top: -14px;
    left: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 10px 22px -10px rgb(232 90 31 / 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.duel__name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.duel__card--us .duel__name { color: #fff; }
.duel__card--them .duel__name { color: var(--ink); }

.duel__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 74px;
    margin: 6px 0 0;
}

.duel__price b {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.duel__card--us .duel__price b { color: #ff8a4c; }
.duel__card--them .duel__price b { color: var(--ink); }

.duel__price small {
    font-size: 0.82rem;
}

.duel__card--us .duel__price small { color: #94a3b8; }
.duel__card--them .duel__price small { color: var(--muted); }

.duel__rows {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.duel__rows li {
    display: grid;
    gap: 4px;
    min-height: 66px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.duel__card--us .duel__rows li {
    border-top-color: rgb(255 255 255 / 0.1);
}

.duel__k {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.duel__card--us .duel__k { color: #fdba8c; }
.duel__card--them .duel__k { color: #94a3b8; }

.duel__k .ic {
    width: 14px;
    height: 14px;
}

.duel__v {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.duel__card--us .duel__v { color: #fff; }
.duel__card--them .duel__v { color: #64748b; }

.duel .st {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.duel .st .ic {
    width: 13px;
    height: 13px;
    stroke-width: 3.2;
}

.duel .st--yes { background: rgb(74 222 128 / 0.18); color: #16a34a; }
.duel__card--us .st--yes { background: #22c55e; color: #fff; box-shadow: 0 0 0 4px rgb(34 197 94 / 0.18); }
.duel .st--no { background: #fde2e2; color: var(--red); }
.duel .st--unk { background: #eef2f7; color: #64748b; }

.duel__cta {
    margin-top: 22px;
}

/* odznak VS uprostřed */
.duel__vs {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 6px solid var(--paper);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    transform: translate(-50%, -50%);
}

/* přepínač konkurence */
.duel__tabs {
    position: absolute;
    top: -22px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 26px -16px rgb(15 23 42 / 0.4);
    transform: translateX(-50%);
    white-space: nowrap;
}

.duel__tabs button {
    position: relative;
    z-index: 1;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

.duel__tabs button[aria-selected="true"] {
    color: #fff;
}

.duel__tabs button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.duel__tabbar {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* výměna konkurenta: řádky naskočí postupně */
.duel__panel[hidden] {
    display: none;
}

.duel__panel.is-in .duel__name,
.duel__panel.is-in .duel__price,
.duel__panel.is-in .duel__rows li {
    animation: duelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.duel__panel.is-in .duel__price { animation-delay: 0.05s; }
.duel__panel.is-in .duel__rows li { animation-delay: calc(0.1s + var(--i) * 0.06s); }

@keyframes duelIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}

/* ukazatel automatického přepínání */
.duel__card--them::after {
    content: '';
    position: absolute;
    right: 32px;
    bottom: 18px;
    left: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
    opacity: 0;
}

.duel.is-auto .duel__card--them::after {
    opacity: 1;
    background: linear-gradient(90deg, var(--orange) var(--auto, 0%), var(--line) var(--auto, 0%));
}

@media (min-width: 1025px) and (max-height: 820px) {
    .duel { margin-top: 32px; }
    .duel__card { padding: 26px 28px 22px; }
    .duel__rows li { min-height: 54px; padding: 8px 0; }
    .duel__price { min-height: 64px; }
    .duel__price b { font-size: 2rem; }
    .duel__cta { margin-top: 14px; }
}

@media (max-width: 860px) {
    .duel { grid-template-columns: 1fr; gap: 0; }
    .duel__vs { position: relative; top: auto; left: auto; justify-self: center; margin: -18px 0; transform: none; }
    .duel__card--them { padding-top: 26px; }
    .duel__tabs { position: static; width: 100%; margin-bottom: 18px; overflow-x: auto; transform: none; scrollbar-width: none; }
    .duel__tabs button { flex: 1; padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .duel__panel.is-in .duel__name,
    .duel__panel.is-in .duel__price,
    .duel__panel.is-in .duel__rows li { animation: none; }
    .duel__tabbar { transition: none; }
}

.duel .st { margin: 0; }
.duel__rows li { min-height: 0; padding: 11px 0; }

@media (max-width: 860px) {
    .duel__tabs { position: relative; }
    .duel__v { font-size: 0.95rem; }
}

@media (min-width: 861px) {
    .duel__rows li {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 14px;
        padding: 10px 0;
    }

    .duel__k {
        font-size: 0.86rem;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
        line-height: 1.3;
    }

    .duel__k .ic { display: none; }
    .duel__card--them .duel__k { color: #94a3b8; }
    .duel__v { font-size: 0.93rem; }
    .duel__price { min-height: 0; }
    .duel__card { padding: 30px 28px 24px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .duel__rows li { padding: 7px 0; }
    .duel__rows { margin-top: 10px; }
    .duel__price b { font-size: 1.8rem; }
    .duel__card { padding: 24px 26px 20px; }
    #srovnani .head p { margin-top: 10px; }
}

@media (min-width: 1025px) and (max-height: 960px) {
    #srovnani.section { padding-top: 56px; padding-bottom: 56px; }
    #srovnani .duel { margin-top: 40px; }
}

@media (max-width: 860px) {
    .duel { grid-template-columns: minmax(0, 1fr); }
}

#srovnani { overflow-x: clip; }

@media (min-width: 1025px) and (max-height: 820px) {
    #srovnani.section { padding-top: 34px; padding-bottom: 34px; }
    #srovnani .duel { margin-top: 34px; }
}

@media (max-width: 860px) {
    .duel__tabs { top: auto; left: auto; justify-content: space-between; }
    .duel__tabs button { padding: 7px 6px; font-size: 0.8rem; }
}

/* =====================================================================
   v31: hezčí posuvníky v kalkulačce
   ===================================================================== */
.roi input[type='range'] {
    --fill: 50%;
    width: 100%;
    height: 30px;
    margin: 10px 0 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.roi input[type='range']:focus {
    outline: none;
}

.roi input[type='range']::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f07a3f 0%, var(--orange) var(--fill), #ece8e1 var(--fill));
    box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.12);
}

.roi input[type='range']::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: #ece8e1;
    box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.12);
}

.roi input[type='range']::-moz-range-progress {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f07a3f, var(--orange));
}

.roi input[type='range']::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -9px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 1px rgb(232 90 31 / 0.35), 0 6px 16px -4px rgb(232 90 31 / 0.7);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.roi input[type='range']::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 1px rgb(232 90 31 / 0.35), 0 6px 16px -4px rgb(232 90 31 / 0.7);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roi input[type='range']:hover::-webkit-slider-thumb { transform: scale(1.12); }
.roi input[type='range']:active::-webkit-slider-thumb { transform: scale(1.22); box-shadow: 0 0 0 8px rgb(232 90 31 / 0.15), 0 6px 16px -4px rgb(232 90 31 / 0.7); }
.roi input[type='range']:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgb(232 90 31 / 0.35), 0 6px 16px -4px rgb(232 90 31 / 0.7); }
.roi input[type='range']:hover::-moz-range-thumb { transform: scale(1.12); }
.roi input[type='range']:active::-moz-range-thumb { transform: scale(1.22); }

/* hodnota jako výrazný štítek */
.roi .field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.roi .field output {
    flex-shrink: 0;
    min-width: 64px;
    padding: 5px 12px;
    border-radius: 10px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* =====================================================================
   v31: Tým – fotka při najetí nevyleze z karty, výraznější role
   ===================================================================== */
main .head--center {
    max-width: 1040px;
}

.tcard__photo {
    overflow: hidden;
}

.tcard__photo img {
    transform-origin: center 30%;
}

.tcard:hover .tcard__photo img {
    transform: scale(1.04);
}

/* přechod do tmavé části sahá až pod fotku, takže okraj není nikdy vidět */
.tcard__photo::after {
    bottom: -1px;
    height: 46%;
    background: linear-gradient(180deg, rgb(12 27 46 / 0) 0%, rgb(12 27 46 / 0.75) 60%, var(--navy-900) 100%);
}

.tcard__body {
    z-index: 1;
}

.tcard__role {
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 8px 18px -10px rgb(232 90 31 / 0.9);
    color: #fff;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.tcard__role::before {
    width: 6px;
    height: 6px;
    background: #fff;
    box-shadow: none;
}

.tcard h3 {
    margin-top: 10px;
}

.tcard__body p:last-child {
    margin-top: 4px;
    font-size: 0.92rem;
}

.team__note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.tcard__roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.tcard__tag {
    padding: 4px 10px;
    border: 1px solid rgb(255 255 255 / 0.35);
    border-radius: 999px;
    background: rgb(12 27 46 / 0.4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

/* =====================================================================
   v31: 08 Cena jako jedna jasná nabídka
   ===================================================================== */
.offer {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 50px 100px -50px rgb(12 27 46 / 0.45);
}

.offer__main {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3vw, 40px);
    background:
        radial-gradient(480px 320px at 0% 0%, rgb(232 90 31 / 0.3), transparent 70%),
        linear-gradient(160deg, #15305a 0%, var(--navy-900) 70%);
    color: #e2e8f0;
}

.offer__badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.08);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

.offer__badge .ic {
    width: 14px;
    height: 14px;
    color: #ff8a4c;
}

.offer__price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.offer__price strong {
    color: #fff;
    font-size: clamp(4rem, 7vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.85;
}

.offer__price > span {
    display: flex;
    flex-direction: column;
    padding-bottom: 4px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.offer__price small {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

.offer__sub {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.5;
}

.offer__today {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 14px 18px;
    border: 1px dashed rgb(74 222 128 / 0.5);
    border-radius: 16px;
    background: rgb(34 197 94 / 0.1);
    color: #bbf7d0;
    font-weight: 700;
}

.offer__today b {
    color: #4ade80;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.offer__cta {
    position: relative;
    overflow: hidden;
    margin-top: 14px;
    font-size: 1.08rem;
}

/* odlesk, který každých pár sekund přejede přes tlačítko */
.offer__cta::after,
.fcta__btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45), transparent);
    transform: skewX(-20deg);
    animation: ctaShine 4.5s ease-in-out 1.5s infinite;
    pointer-events: none;
}

@keyframes ctaShine {
    0% { left: -40%; }
    25%, 100% { left: 130%; }
}

.offer__safe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
}

.offer__safe li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.offer__safe .ic {
    width: 14px;
    height: 14px;
    color: #4ade80;
    stroke-width: 3;
}

.offer__stack {
    padding: clamp(28px, 3vw, 40px);
}

.offer__inc {
    margin: 0;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.offer__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.offer__list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.offer__ic {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--orange-soft);
    color: var(--orange);
}

.offer__ic .ic {
    width: 18px;
    height: 18px;
}

.offer__t b {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
}

.offer__t small {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.offer__compare {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--paper);
    color: var(--text);
    font-size: 0.88rem;
}

.offer__compare .ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--orange);
}

.teamplan {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1080px;
    margin: 18px auto 0;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
}

.teamplan__ic {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    color: var(--navy-900);
}

.teamplan p {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
}

.teamplan p b {
    margin-right: 6px;
    color: var(--ink);
}

.teamplan p span {
    color: var(--muted);
}

.teamplan .btn {
    flex-shrink: 0;
}

#cena .trustbar {
    margin-top: 22px;
}

@media (min-width: 1025px) and (max-height: 960px) {
    #cena.section { padding-top: 52px; padding-bottom: 52px; }
    #cena .head { margin-bottom: 30px; }
    .offer__stack, .offer__main { padding: 28px 30px; }
    .offer__list { gap: 10px 16px; margin-top: 14px; }
    .offer__compare { margin-top: 16px; }
    #cena .trustbar { margin-top: 16px; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #cena.section { padding-top: 30px; padding-bottom: 30px; }
    #cena .head { margin-bottom: 20px; }
    .offer__stack, .offer__main { padding: 22px 26px; }
    .offer__price strong { font-size: 3.8rem; }
    .offer__t small { display: none; }
    .offer__ic { width: 30px; height: 30px; }
    .offer__list { gap: 9px 14px; }
    .offer__compare { margin-top: 12px; padding: 9px 12px; }
    .teamplan { margin-top: 12px; padding: 10px 16px; }
    #cena .trustbar { display: none; }
}

@media (max-width: 860px) {
    .offer { grid-template-columns: minmax(0, 1fr); }
    .teamplan { flex-wrap: wrap; }
    .teamplan .btn { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
    .offer__list { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   v31: Závěr jako velká výzva s osobní zárukou
   ===================================================================== */
.fcta-sec {
    padding: clamp(56px, 7vw, 96px) 0;
}

.fcta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(30px, 4vw, 56px);
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(700px 420px at 100% 100%, rgb(232 90 31 / 0.32), transparent 70%),
        radial-gradient(600px 400px at 0% 0%, rgb(29 66 104 / 0.7), transparent 70%),
        var(--navy-900);
    box-shadow: 0 60px 120px -60px rgb(12 27 46 / 0.7);
    color: #cbd5e1;
}

.fcta .eyebrow,
.final--light .fcta .eyebrow {
    color: #fdba8c;
}

.fcta h2,
.final--light .fcta h2 {
    color: #fff;
}

.fcta h2 em,
.final--light .fcta h2 em {
    color: #ff8a4c;
    font-style: normal;
}

.fcta__lead {
    margin-top: 16px;
    color: #cbd5e1;
    font-size: 1.12rem;
    line-height: 1.55;
}

.fcta__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.fcta__steps li {
    padding: 14px;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 16px;
    background: rgb(255 255 255 / 0.05);
    font-size: 0.88rem;
    line-height: 1.4;
}

.fcta__steps b {
    display: block;
    margin-bottom: 4px;
    color: #fdba8c;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fcta__steps strong {
    color: #fff;
}

.fcta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 26px;
}

.fcta__btn {
    position: relative;
    overflow: hidden;
    padding-inline: 34px;
    font-size: 1.1rem;
}

.fcta__demo {
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 0.4);
    text-underline-offset: 4px;
    cursor: pointer;
}

.fcta__demo:hover {
    text-decoration-color: #ff8a4c;
}

.fcta__fine {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 0.82rem;
}

.fcta__fine .ic {
    width: 14px;
    height: 14px;
}

.fcta__guarantee {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
    transform: rotate(1.5deg);
}

.fcta__guarantee img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    object-position: center 18%;
}

.fcta__guarantee figcaption {
    padding: 16px 18px 18px;
    color: var(--text);
}

.fcta__guarantee p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fcta__guarantee a {
    color: var(--orange-text);
}

.fcta__guarantee figcaption > span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
}

.fcta__guarantee figcaption b {
    margin-right: 6px;
    color: var(--ink);
    font-size: 0.95rem;
}

.fcta__seal {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: grid;
    place-content: center;
    width: 84px;
    height: 84px;
    border: 3px dashed rgb(255 255 255 / 0.8);
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 5px #16a34a, 0 14px 26px -10px rgb(0 0 0 / 0.5);
    color: #fff;
    text-align: center;
    transform: rotate(-12deg);
}

.fcta__seal b {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
}

.fcta__seal small {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .fcta-sec { padding: 30px 0; }
    .fcta { padding: 30px 40px; }
    .fcta__guarantee img { aspect-ratio: 4 / 2.8; }
    .fcta__steps { margin-top: 16px; }
    .fcta__actions { margin-top: 18px; }
}

@media (max-width: 960px) {
    .fcta { grid-template-columns: minmax(0, 1fr); }
    .fcta__guarantee { max-width: 420px; transform: none; }
}

@media (max-width: 640px) {
    .fcta { border-radius: 26px; }
    .fcta__steps { grid-template-columns: minmax(0, 1fr); }
    .fcta__btn { width: 100%; justify-content: center; }
    .fcta__actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .offer__cta::after,
    .fcta__btn::after { animation: none; display: none; }
}

/* =====================================================================
   v32: 02 poznámka pod tlačítkem
   ===================================================================== */
#problem .scta--under {
    flex-direction: column;
    gap: 12px;
}

/* =====================================================================
   v32: Tým – role s (zakladatel), všechno v jedné rovině
   ===================================================================== */
.tcard {
    display: flex;
    flex-direction: column;
}

.tcard__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.tcard__role {
    max-width: 100%;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
}

.tcard__role::before {
    flex-shrink: 0;
}

.tcard__role i {
    margin-left: -4px;
    font-style: normal;
    font-weight: 700;
    opacity: 0.85;
}

.tcard h3 {
    white-space: nowrap;
}

.tcard__body p:last-child {
    min-height: 2.9em;
}

@media (min-width: 1025px) and (max-width: 1240px) {
    .tcard__role { font-size: 0.72rem; }
}

/* =====================================================================
   v32: Cena – pravá strana jako účtenka
   ===================================================================== */
.offer__stack {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 100% 0, rgb(232 90 31 / 0.07), transparent 45%),
        var(--paper);
}

.rcpt {
    position: relative;
    width: 100%;
    padding: 22px 24px 26px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 24px 50px -30px rgb(12 27 46 / 0.35);
    /* zubatý spodní okraj jako u účtenky */
    -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 0 / 18px 100% repeat-x;
    mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 0 / 18px 100% repeat-x;
}

.rcpt__head {
    display: flex;
    justify-content: space-between;
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rcpt__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rcpt__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--ink);
    font-size: 0.95rem;
}

.rcpt__list .offer__ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.rcpt__list .offer__ic .ic {
    width: 15px;
    height: 15px;
}

.rcpt__list b {
    font-weight: 700;
    white-space: nowrap;
}

.rcpt__dots {
    flex: 1;
    min-width: 12px;
    height: 1px;
    margin-top: 6px;
    background: radial-gradient(circle, #cbd5e1 1px, transparent 1.4px) 0 0 / 6px 2px repeat-x;
    background-size: 6px 2px;
}

.rcpt__ok {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 800;
}

.rcpt__ok .ic {
    width: 12px;
    height: 12px;
    stroke-width: 3.4;
}

.rcpt__sum {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 2px dashed var(--line);
}

.rcpt__sum p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0;
    padding: 3px 0;
    color: var(--text);
    font-size: 0.9rem;
}

.rcpt__sum b {
    color: #15803d;
}

.rcpt__other s {
    color: var(--muted);
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.rcpt__total {
    margin-top: 6px !important;
    padding-top: 10px !important;
    border-top: 2px solid var(--ink);
}

.rcpt__total span {
    color: var(--ink);
    font-weight: 800;
}

.rcpt__total b {
    color: var(--ink) !important;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

/* řádky účtenky se „vytisknou“ postupně */
.js .offer .rcpt__list li,
.js .offer .rcpt__sum p {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: calc(0.25s + var(--i, 0) * 0.07s);
}

.js .offer .rcpt__sum p { transition-delay: 0.85s; }
.js .offer .rcpt__sum p + p { transition-delay: 0.95s; }
.js .offer .rcpt__sum p + p + p { transition-delay: 1.05s; }

.js .offer.is-in .rcpt__list li,
.js .offer.is-in .rcpt__sum p {
    opacity: 1;
    transform: none;
}

@media (min-width: 1025px) and (max-height: 960px) {
    .rcpt { padding: 18px 22px 22px; }
    .rcpt__list li { padding: 4px 0; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    .rcpt { padding: 14px 20px 20px; }
    .rcpt__list li { padding: 2px 0; font-size: 0.9rem; }
    .rcpt__list .offer__ic { width: 24px; height: 24px; }
    .rcpt__sum { margin-top: 6px; padding-top: 8px; }
    .rcpt__sum p { padding: 1px 0; font-size: 0.85rem; }
    .rcpt__total b { font-size: 1.3rem; }
}

@media (max-width: 520px) {
    .rcpt { padding: 18px 16px 22px; }
    .rcpt__list li { font-size: 0.9rem; gap: 8px; }
    .rcpt__list b { white-space: normal; }
    .rcpt__ok { padding: 3px 7px; }
}

@media (prefers-reduced-motion: reduce) {
    .js .offer .rcpt__list li,
    .js .offer .rcpt__sum p {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================================
   v32: Závěr – e-mail v citaci na vlastním řádku
   ===================================================================== */
.fcta__guarantee p {
    text-wrap: pretty;
}

.fcta__guarantee .fcta__mail {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.fcta__guarantee .fcta__mail .ic {
    width: 15px;
    height: 15px;
}

.fcta__guarantee .fcta__mail:hover {
    background: var(--orange);
    color: #fff;
}

/* v32: ať se 02 a cena vejdou na jednu obrazovku */
@media (min-width: 1025px) and (max-height: 960px) {
    #problem.section { padding-top: 34px; padding-bottom: 34px; }
    #problem .scta--under { margin-top: 14px; gap: 6px; }
    .offer__stack { padding: 20px 24px; }
    .rcpt { padding: 14px 20px 20px; }
    .rcpt__head { margin-bottom: 4px; padding-bottom: 8px; }
    .rcpt__list li { padding: 2px 0; font-size: 0.92rem; }
    .rcpt__list .offer__ic { width: 22px; height: 22px; border-radius: 7px; }
    .rcpt__list .offer__ic .ic { width: 13px; height: 13px; }
    .rcpt__ok { padding: 2px 8px; font-size: 0.74rem; }
    .rcpt__sum { margin-top: 6px; padding-top: 8px; }
    .rcpt__sum p { padding: 1px 0; font-size: 0.85rem; }
    .rcpt__total { margin-top: 4px !important; padding-top: 6px !important; }
    .rcpt__total b { font-size: 1.3rem; }
}

@media (min-width: 1025px) and (max-height: 820px) {
    #problem.section { padding-top: 24px; padding-bottom: 24px; }
    #problem .scta--under { margin-top: 12px; }
    .rcpt__list li { padding: 1px 0; }
}

@media (min-width: 1025px) and (min-height: 821px) and (max-height: 960px) {
    #cena.section { padding-top: 42px; padding-bottom: 42px; }
}

@media (max-width: 520px) {
    .rcpt__list b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .rcpt__ok { padding: 4px; }
    .rcpt__ok span { display: none; }
}

/* =====================================================================
   v33: Měsíční / roční tarif
   ===================================================================== */
.offer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bill {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 999px;
    background: rgb(0 0 0 / 0.25);
}

.bill button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #cbd5e1;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease;
}

.bill button[aria-checked="true"] {
    color: var(--navy-900);
}

.bill button:focus-visible {
    outline: 2px solid #ff8a4c;
    outline-offset: 2px;
}

.bill em {
    padding: 2px 6px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-style: normal;
}

.bill__pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.6);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer[data-plan="year"] .bill__pill {
    transform: translateX(100%);
}

.offer__price strong {
    transition: opacity 0.2s ease;
}

@media (max-width: 400px) {
    .offer__top { flex-direction: column; align-items: stretch; }
    .offer__badge { align-self: flex-start; }
    .bill { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    .bill__pill { transition: none; }
}

/* =====================================================================
   v33: Reference poradců
   ===================================================================== */
.refs .head h2 em {
    color: #ff8a4c;
    font-style: normal;
}

.refs__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
}

.ref {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 24px 26px;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 24px;
    background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
    box-shadow: 0 30px 60px -40px rgb(0 0 0 / 0.8);
}

.ref::before {
    content: '“';
    position: absolute;
    top: 6px;
    right: 22px;
    color: rgb(255 138 76 / 0.22);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
}

.ref--main {
    grid-row: span 2;
    justify-content: space-between;
    padding: 34px 36px;
    border-color: rgb(255 138 76 / 0.35);
    background:
        radial-gradient(420px 260px at 0% 0%, rgb(232 90 31 / 0.22), transparent 70%),
        linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
}

.ref--main::before {
    font-size: 9rem;
}

.ref blockquote {
    position: relative;
    flex: 1;
    margin: 0;
    color: #f1f5f9;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.55;
    text-wrap: pretty;
}

.ref--main blockquote {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.45;
}

.ref__result {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(34 197 94 / 0.14);
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 800;
}

.ref__result .ic {
    width: 15px;
    height: 15px;
}

.ref__who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ref__ava {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid #ff8a4c;
    border-radius: 50%;
    background: #1e3a5f;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.ref__ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ref__who b {
    display: block;
    color: #fff;
    font-size: 0.98rem;
}

.ref__who small {
    color: #94a3b8;
    font-size: 0.84rem;
}

.refs__dots {
    display: none;
}

@media (min-width: 1025px) and (max-height: 960px) {
    .refs.section { padding-top: 56px; padding-bottom: 56px; }
    .refs .head { margin-bottom: 30px; }
}

@media (max-width: 860px) {
    .refs__grid {
        grid-auto-columns: 86%;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 12px;
        margin: 0 -20px;
        padding: 4px 20px 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        scrollbar-width: none;
    }

    .refs__grid::-webkit-scrollbar {
        display: none;
    }

    .ref,
    .ref--main {
        grid-row: auto;
        padding: 22px 20px;
        scroll-snap-align: start;
    }

    .ref--main blockquote {
        font-size: 1.1rem;
    }

    .refs__dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 16px 0 0;
        padding: 0;
        list-style: none;
    }

    .refs__dots li {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: rgb(255 255 255 / 0.25);
        transition: width 0.3s ease, background 0.3s ease;
    }

    .refs__dots li.is-on {
        width: 22px;
        background: #ff8a4c;
    }
}

.refs .eyebrow,
main > .section.refs .eyebrow {
    color: #ff9a68;
}

/* =====================================================================
   v33: Cookie lišta
   ===================================================================== */
.ckbar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9000;
    width: min(440px, calc(100vw - 32px));
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ckbar.is-on {
    opacity: 1;
    transform: none;
}

.ckbar__in {
    padding: 18px 18px 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px -20px rgb(12 27 46 / 0.45);
}

.ckbar__text {
    margin: 0;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.5;
}

.ckbar__text b {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 0.95rem;
}

.ckbar__text a {
    color: var(--orange-text);
}

.ckbar__more {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.ckbar__more[hidden] {
    display: none;
}

.ckbar__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--paper);
    color: var(--muted);
    font-size: 0.82rem;
    cursor: pointer;
}

.ckbar__row input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--orange);
}

.ckbar__row b {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
}

.ckbar__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ckbar__btn {
    flex: 1 1 auto;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.ckbar__btn--ok {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.ckbar__btn:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .ckbar {
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 10px;
        width: auto;
    }

    .ckbar__in {
        padding: 14px 14px 12px;
    }

    .ckbar__btn--ok {
        flex-basis: 100%;
        order: -1;
    }
}

/* =====================================================================
   v33: Mobil – kratší sekce a větší cíle pro prst
   ===================================================================== */
.tcard__bubble {
    min-height: 36px;
}

.fcta__demo {
    min-height: 44px;
    padding: 8px 4px;
}

#faq .scta__note a {
    display: inline-block;
    padding: 10px 2px;
}

@media (max-width: 640px) {
    /* srovnání: popisek a hodnota hustěji pod sebou */
    .duel__rows li {
        gap: 2px;
        padding: 8px 0;
    }

    .duel__k {
        font-size: 0.68rem;
    }

    .duel__card {
        padding: 22px 20px 20px;
    }

    .duel__price {
        min-height: 0;
    }

    /* cena: důvěra ve dvou sloupcích místo dlouhého seznamu */
    #cena .trustbar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        margin-top: 18px;
        font-size: 0.82rem;
        text-align: left;
    }

    #cena .trustbar li {
        align-items: flex-start;
        gap: 6px;
        line-height: 1.3;
    }

    #cena .trustbar .ic {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }

    .teamplan {
        gap: 10px 12px;
        padding: 14px;
    }

    .teamplan .btn {
        min-height: 44px;
    }

    /* závěr: kroky jako krátká časová osa */
    .fcta__steps {
        gap: 0;
        margin-top: 18px;
        overflow: hidden;
        border: 1px solid rgb(255 255 255 / 0.1);
        border-radius: 16px;
        background: rgb(255 255 255 / 0.05);
    }

    .fcta__steps li {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        align-items: baseline;
        gap: 10px;
        padding: 10px 14px;
        border: 0;
        border-radius: 0;
        background: none;
    }

    .fcta__steps b {
        margin: 0;
    }

    .fcta__steps li + li {
        border-top: 1px solid rgb(255 255 255 / 0.08);
    }

    .fcta__guarantee img {
        aspect-ratio: 16 / 10;
        object-position: center 22%;
    }

    .fcta__seal {
        transform: scale(0.8);
        transform-origin: top right;
    }
}

@media (max-width: 520px) {
    .rcpt__list li { padding: 3px 0; }
}

/* v33b: reference se vejdou i na menší notebook, na mobilu nepřetékají */
#reference {
    overflow-x: clip;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .refs.section { padding-top: 30px; padding-bottom: 30px; }
    .refs .head { margin-bottom: 20px; }
    .refs .head .eyebrow { margin-bottom: 8px; }
    .ref { gap: 12px; padding: 18px 22px; }
    .ref--main { padding: 24px 28px; }
    .ref--main blockquote { font-size: 1.2rem; }
    .ref blockquote { font-size: 0.95rem; }
    .refs__grid { gap: 14px; }
}

/* =====================================================================
   v35: Reference – tři stejné karty, čitelný text, podpis vždy dole
   ===================================================================== */
@media (min-width: 861px) {
    .refs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        max-width: 1180px;
    }

    .ref--main {
        grid-row: auto;
    }
}

.ref,
.ref--main {
    gap: 18px;
    padding: 26px 26px 22px;
}

.ref::before,
.ref--main::before {
    content: '\201C';
    top: 14px;
    right: 22px;
    color: #ff8a4c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 0.8;
    opacity: 0.35;
}

.ref blockquote,
.ref--main blockquote {
    color: #e2e8f0;
    font-size: 1.04rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.6;
}

.ref__who {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
}

.ref__who small {
    display: block;
    margin-top: 1px;
}

@media (min-width: 1025px) and (max-height: 820px) {
    .ref, .ref--main { gap: 14px; padding: 20px 22px 18px; }
    .ref blockquote, .ref--main blockquote { font-size: 0.96rem; line-height: 1.55; }
    .ref__who { padding-top: 12px; }
}

@media (max-width: 860px) {
    .ref blockquote,
    .ref--main blockquote {
        font-size: 1rem;
    }
}

.ref__who small {
    line-height: 1.35;
}

/* =====================================================================
   v36: Mobil – posuvné pásy jdou posouvat jen do strany
   ===================================================================== */
.team__list,
.refs__grid,
#funkce .tabs,
.duel__tabs {
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

/* na dotykových zařízeních bez „najetí myší“: karty se po klepnutí nezvedají */
@media (hover: none) {
    .tcard:hover,
    .tcard:hover .tcard__photo img {
        transform: none;
    }
}

/* karty v posuvném pásu se objevují jen průhledností, ne posunem dolů */
@media (max-width: 860px) {
    .js .team__list .reveal,
    .js .refs__grid .reveal {
        transform: none;
    }
}

/* tablet: dvě reference vedle sebe místo jedné široké */
@media (min-width: 641px) and (max-width: 860px) {
    .refs__grid { grid-auto-columns: 46%; }
}

/* v36: 02 na mobilu nepřetéká – mřížka se nesmí roztáhnout podle obsahu */
@media (max-width: 860px) {
    .bvs { grid-template-columns: minmax(0, 1fr); }
    .bvs__side { min-width: 0; }
    #problem { overflow-x: clip; }
}

@media (max-width: 640px) {
    .crm { min-width: 0; }
    .crm__rows li { gap: 10px; padding: 8px 10px; }
    .crow__t strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.88rem; }
    .crow__ava { flex-shrink: 0; }
}

@media (max-width: 380px) {
    .crow__ava { display: none; }
}

/* v36: kalkulačka má na bílém pozadí viditelný obrys */
.roi {
    border: 1px solid var(--line);
}

/* =====================================================================
   v37: Plynulost na telefonu a tabletu
   Rozmazání pozadí a velké rozmazané obrázky se při posunu překreslují
   a slabší telefony pak zasekávají. Na dotykových zařízeních je nahradíme
   plnou barvou.
   ===================================================================== */
@media (max-width: 1024px), (hover: none) {
    .header {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .fhero::after {
        display: none;
    }

    .fhero__card {
        background: rgb(16 32 56 / 0.94);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .dframe__start,
    .sticky,
    .dock {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    /* nekonečné animace, které jen zdobí */
    .offer__cta::after,
    .fcta__btn::after {
        animation: none;
        display: none;
    }

    .toast,
    .phone,
    .chatcard {
        animation: none;
    }

    /* stíny s velkým rozmazáním jsou na telefonu drahé, zmenšíme je */
    .offer,
    .roi,
    .ref,
    .tcard,
    .duel__card {
        box-shadow: 0 14px 30px -18px rgb(12 27 46 / 0.4);
    }
}

/* =====================================================================
   v38: Hlavní tlačítka lákají ke kliknutí
   Jen transform a průhlednost, aby to bylo plynulé i na telefonu.
   ===================================================================== */
.btn--primary {
    position: relative;
    isolation: isolate;
}

/* šipka každých pár vteřin „popojede“ dopředu */
.btn--primary .ic {
    animation: ctaNudge 3.2s ease-in-out 1.2s infinite;
}

@keyframes ctaNudge {
    0%, 70%, 100% { transform: translateX(0); }
    78% { transform: translateX(5px); }
    86% { transform: translateX(0); }
    92% { transform: translateX(3px); }
}

/* hlavní nákupní tlačítka: jemná rozpínající se vlna kolem tlačítka */
.hero__cta .btn--primary::before,
.offer__cta::before,
.fcta__btn::before,
.duel__cta::before,
.scta .btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgb(232 90 31 / 0.55);
    animation: ctaRing 2.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s infinite;
    pointer-events: none;
}

@keyframes ctaRing {
    0% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgb(232 90 31 / 0.5); }
    55%, 100% { opacity: 0; transform: scale(1.08, 1.25); box-shadow: 0 0 0 10px rgb(232 90 31 / 0); }
}

/* po najetí myší se tlačítko lehce zvedne a šipka vyrazí */
@media (hover: hover) {
    .btn--primary:hover {
        transform: translateY(-2px);
    }

    .btn--primary:hover .ic {
        animation: none;
        transform: translateX(4px);
        transition: transform 0.2s ease;
    }
}

.btn--primary:active {
    transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .btn--primary .ic,
    .hero__cta .btn--primary::before,
    .offer__cta::before,
    .fcta__btn::before,
    .duel__cta::before,
    .scta .btn--primary::before {
        animation: none;
    }
}

/* vlna musí jít ven z tlačítka, proto místo lesku jen vlna */
.offer__cta,
.fcta__btn {
    overflow: visible;
}

.offer__cta::after,
.fcta__btn::after {
    display: none;
    animation: none;
}

/* =====================================================================
   Import klientů (navy blok za „Klienty máš všude“)
   ===================================================================== */
.imp__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.imp h2 em {
    color: #ff9a68;
    font-style: normal;
}

.imp__lead {
    margin: 18px 0 0;
    max-width: 34rem;
    color: #cbd5e1;
    font-size: 1.06rem;
    line-height: 1.6;
}

.imp__steps {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.imp__steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.imp__steps li > span {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(232 90 31 / 0.18);
    color: #ff9a68;
    font-size: 0.85rem;
    font-weight: 800;
}

.imp__steps strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.imp__steps small {
    color: #94a3b8;
    font-size: 0.9rem;
}

.imp__visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.imp__files {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imp__files li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.06);
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 600;
}

.imp__files .ic {
    width: 16px;
    height: 16px;
    color: #ff9a68;
}

.imp__ai {
    display: inline-flex;
    align-self: center;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgb(232 90 31 / 0.16);
    color: #ffb48f;
    font-size: 0.85rem;
    font-weight: 700;
}

.imp__ai .ic {
    width: 16px;
    height: 16px;
}

.imp__card {
    padding: 18px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.imp__card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 800;
}

.imp__card-head span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.imp__rows {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imp__rows li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.imp__cb {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--orange);
    color: #fff;
}

.imp__cb .ic {
    width: 13px;
    height: 13px;
}

.imp__who {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.imp__who strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.imp__who small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imp__tag {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.78rem;
    font-weight: 700;
}

.imp__btn {
    display: block;
    margin-top: 14px;
    padding: 11px;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    text-align: center;
}

/* jemná animace: soubory naskočí, AI pulzuje, řádky se postupně objeví */
@media (prefers-reduced-motion: no-preference) {
    .js .imp__visual.reveal .imp__files li,
    .js .imp__visual.reveal .imp__rows li {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .js .imp__visual.reveal .imp__files li { transition-delay: calc(var(--i) * 90ms); }
    .js .imp__visual.reveal .imp__rows li { transition-delay: calc(700ms + var(--i) * 160ms); }

    .js .imp__visual.reveal.is-in .imp__files li,
    .js .imp__visual.reveal.is-in .imp__rows li {
        opacity: 1;
        transform: none;
    }

    .imp__ai .ic {
        animation: imp-pulse 1.6s ease-in-out infinite;
    }
}

@keyframes imp-pulse {
    50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 900px) {
    .imp__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .imp__copy .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .imp__tag {
        display: none;
    }

    .imp__files li {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

.section--navy.imp .eyebrow {
    color: #ff9a68;
}

/* ---------- Import: trychtýř (soubory padají dovnitř, dole vyjde tabulka) ---------- */
.imp__visual {
    position: relative;
    align-items: center;
    gap: 0;
}

.imp__fall {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 132px;
}

.imp__item {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 66px;
    height: 80px;
    padding: 8px 7px 6px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.55);
    transform: translate(calc(-50% + var(--x)), 6px) rotate(var(--r));
    will-change: transform, opacity;
}

.imp__item b {
    align-self: flex-start;
    padding: 1px 5px;
    border-radius: 3px;
    background: #d63c2f;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.4;
}

.imp__item i {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
}

.imp__item i:nth-of-type(2) { width: 80%; }
.imp__item i:nth-of-type(3) { width: 60%; }

.imp__item em {
    margin-top: auto;
    overflow: hidden;
    color: #475569;
    font-size: 8.5px;
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imp__item--xls b { background: #1d7a45; }
.imp__item--xls i { background: #cde9d8; }
.imp__item--doc b { background: #2b5cd6; }
.imp__item--doc i { background: #d6e1fb; }

.imp__item--photo {
    padding: 5px 5px 6px;
}

.imp__photo {
    flex: 1;
    border-radius: 3px;
    background:
        radial-gradient(circle at 70% 30%, #ffe2a8 0 14%, transparent 15%),
        linear-gradient(160deg, #8ec5ff 0%, #4f86c6 55%, #2f5d3a 56%, #4a8a52 100%);
}

.imp__item--note {
    background: #ffe27a;
    border-radius: 2px;
}

.imp__item--note i {
    background: rgb(120 90 0 / 0.25);
}

.imp__item--note em {
    color: #7a5b00;
}

.imp__funnel {
    position: relative;
    z-index: 2;
    width: min(400px, 100%);
    height: 176px;
    margin-top: -46px;
    filter: drop-shadow(0 18px 30px rgb(232 90 31 / 0.25));
}

.imp__funnel-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.imp__core {
    position: absolute;
    top: 64%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7a3d, #e85a1f);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgb(255 122 61 / 0.6);
}

.imp__core .ic {
    width: 14px;
    height: 14px;
}

.imp__stream {
    position: relative;
    display: block;
    width: 8px;
    height: 34px;
}

.imp__stream i {
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9a68;
    opacity: 0;
}

.imp__card {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 16px 16px 12px;
}

.imp__table {
    display: grid;
    gap: 2px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.imp__tr {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.78fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #fff;
    color: var(--text);
    font-size: 0.86rem;
}

.imp__tr + .imp__tr {
    border-top: 1px solid var(--line);
}

.imp__tr--head {
    background: var(--paper);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.imp__who {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.imp__who strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imp__ava {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange-text);
    font-size: 0.68rem;
    font-weight: 800;
}

.imp__ava--b { background: #e0ecff; color: #1d4ed8; }
.imp__ava--c { background: #fde7f1; color: #be185d; }

.imp__tr .imp__tag {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imp__tag--b { background: #e0ecff; color: #1d4ed8; }
.imp__tag--c { background: #fde7f1; color: #be185d; }

@media (prefers-reduced-motion: no-preference) {
    .imp__item {
        opacity: 0;
        animation: imp-fall 4.2s cubic-bezier(0.45, 0, 0.75, 1) var(--d) infinite;
    }

    .imp__swirl {
        animation: imp-swirl 1.8s linear infinite;
    }

    .imp__swirl--2 {
        animation-duration: 1.3s;
    }

    .imp__core {
        animation: imp-glow 2.1s ease-out infinite;
    }

    .imp__stream i {
        animation: imp-drip 1.4s ease-in infinite;
    }

    .imp__stream i:nth-child(2) { animation-delay: 0.47s; }
    .imp__stream i:nth-child(3) { animation-delay: 0.94s; }

    /* řádky tabulky: nejdřív se postupně objeví, pak se v cyklu „nově přidaný“ řádek rozzáří */
    .js .imp__visual.reveal .imp__tr:not(.imp__tr--head) {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        transition-delay: calc(600ms + var(--i) * 260ms);
    }

    .js .imp__visual.reveal.is-in .imp__tr:not(.imp__tr--head) {
        opacity: 1;
        transform: none;
        animation: imp-row 6.3s ease-in-out calc(1.8s + var(--i) * 2.1s) infinite;
    }
}

@keyframes imp-fall {
    0% { opacity: 0; transform: translate(calc(-50% + var(--x)), -34px) rotate(var(--r)) scale(1); }
    10% { opacity: 1; }
    50% { opacity: 1; transform: translate(calc(-50% + var(--x) * 0.8), 58px) rotate(calc(var(--r) * -0.6)) scale(0.92); }
    78% { opacity: 0.95; transform: translate(calc(-50% + var(--x) * 0.25), 128px) rotate(var(--r)) scale(0.55); }
    90%, 100% { opacity: 0; transform: translate(-50%, 168px) rotate(0deg) scale(0.25); }
}

@keyframes imp-swirl {
    to { stroke-dashoffset: -32; }
}

@keyframes imp-glow {
    0% { box-shadow: 0 0 0 0 rgb(255 122 61 / 0.55); }
    70%, 100% { box-shadow: 0 0 0 14px rgb(255 122 61 / 0); }
}

@keyframes imp-drip {
    0% { top: -6px; opacity: 0; transform: scale(0.6); }
    25% { opacity: 1; transform: scale(1); }
    100% { top: 30px; opacity: 0; transform: scale(0.7); }
}

@keyframes imp-row {
    0%, 12% { background: #fff; }
    4% { background: #fff4ec; }
}

@media (max-width: 900px) {
    .imp__visual {
        margin-top: 8px;
    }
}

@media (max-width: 520px) {
    .imp__item {
        width: 56px;
        height: 68px;
    }

    .imp__fall {
        height: 116px;
    }

    .imp__funnel {
        height: 150px;
        margin-top: -40px;
    }

    .imp__tr {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        font-size: 0.82rem;
    }

    .imp__tr > :nth-child(3) {
        display: none;
    }
}

/* Doporučení od kolegy (?ref=KÓD) v ceníku */
.offer__ref {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.9rem;
    line-height: 1.45;
}

.offer__ref[hidden] {
    display: none;
}

.offer__ref .ic {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.offer__ref strong {
    font-family: ui-monospace, Consolas, monospace;
    letter-spacing: 0.04em;
}

/* =====================================================================
   v44: štítky „Klienty máš všude“ se na telefonu nepřekrývají
   ===================================================================== */
@media (max-width: 640px) {
    .bvs__board.bvs__chips { height: 272px; }
    .bvs__chips li { right: auto; }
    .bvs__chips li:nth-child(1) { left: 0; top: 6px; --r: -6deg !important; }
    .bvs__chips li:nth-child(4) { left: auto; right: 2%; top: 10px; --r: 7deg !important; }
    .bvs__chips li:nth-child(2) { left: 20%; top: 52px; --r: 3deg !important; }
    .bvs__chips li:nth-child(3) { left: 2%; top: 98px; --r: -4deg !important; }
    .bvs__chips li:nth-child(6) { left: auto; right: 0; top: 142px; --r: 4deg !important; }
    .bvs__chips li:nth-child(5) { left: 0; top: 186px; --r: -5deg !important; }
    .bvs__chips li:nth-child(7) { left: auto; right: 6%; top: 228px; --r: -2deg !important; }
}

/* v44: import na úzkém telefonu: papírky nevyčnívají do strany a jména klientů se vejdou */
.imp__visual { overflow-x: clip; }

@media (max-width: 520px) {
    .imp__tr { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .imp__who strong { white-space: normal; line-height: 1.2; }
}

/* =====================================================================
   v45: čitelnost (kontrast textu aspoň 4,5 : 1 podle WCAG AA)
   ===================================================================== */
.duel__card--them .duel__k { color: #5b6b82; }
.adela2 .astep:not(.is-active) .astep__t strong { color: #5b6b82; }
.bvs__side--bad .bvs__label,
.bvs__side--bad .bvs__list li { color: #475569; }
.tcard__bubble,
.tcard__role,
.duel__badge,
.acard__btn { background-color: #c2410c; }
[data-bill="year"] em { background: #15803d; }
.hero__play-txt small,
.fhero__name span,
.fcta__fine { color: #b4c0d0; }
