:root {
    --ink: #1b1815;
    --ink-soft: #6b6155;
    --line: #e4dcc9;
    --paper: #f8f4ec;
    --surface: #ffffff;
    --accent: #1f6f5c;
    --accent-hover: #175646;
    --accent-deep: #0f2e26;
    --accent-deep-2: #163d33;
    --accent-soft: #e4efe9;
    --accent-line: #bcd8cd;
    --highlight: #b45b2c;
    --highlight-soft: #f5e3d6;
    --shadow-sm: 0 10px 26px rgba(15, 20, 17, .06);
    --shadow-md: 0 22px 54px rgba(15, 20, 17, .09);
    --shadow-lg: 0 30px 80px rgba(15, 20, 17, .14);
}

* {
    box-sizing: border-box;
}

.marketing-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.marketing-body > main {
    flex: 1 0 auto;
}

.marketing-body > .marketing-footer {
    flex-shrink: 0;
}

.marketing-body a {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Navigation ===== */

.marketing-nav,
.demo-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 4vw, 56px);
    background: rgba(248, 244, 236, .88);
    border-bottom: 1px solid rgba(27, 24, 21, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.marketing-brand,
.demo-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: 19px;
    text-decoration: none;
    white-space: nowrap;
}

.marketing-brand img,
.demo-brand img {
    border-radius: 8px;
}

.marketing-nav nav,
.demo-nav nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    font-size: 14.5px;
}

.marketing-nav a,
.demo-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease;
}

.marketing-nav a:hover,
.demo-nav a:hover {
    color: var(--ink);
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700 !important;
}

.nav-login:hover {
    background: var(--accent-hover);
    color: #fff !important;
}

.marketing-nav a[lang],
.demo-nav a[lang] {
    padding: 6px 10px;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft) !important;
    font-weight: 700 !important;
    font-size: 12.5px;
    letter-spacing: .03em;
}

.marketing-nav a[lang]:hover,
.demo-nav a[lang]:hover {
    background: rgba(27, 24, 21, .06);
    color: var(--ink) !important;
}

.nav-lang-active,
.marketing-nav a[lang].nav-lang-active,
.demo-nav a[lang].nav-lang-active {
    background: var(--accent) !important;
    color: #fff !important;
}

.nav-lang-active:hover,
.marketing-nav a[lang].nav-lang-active:hover,
.demo-nav a[lang].nav-lang-active:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
}

/* ===== Mobile nav toggle ===== */

.marketing-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border: 1px solid rgba(27, 24, 21, .12);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.marketing-mobile-nav .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.marketing-mobile-nav .offcanvas-title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
}

.marketing-mobile-nav .offcanvas-body nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.marketing-mobile-nav .offcanvas-body nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.marketing-mobile-nav .offcanvas-body nav a.nav-login {
    margin-top: 14px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.marketing-mobile-nav-langs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.marketing-mobile-nav-langs a {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    color: var(--ink);
    font-weight: 700 !important;
}

.marketing-mobile-nav-langs a.nav-lang-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}

/* ===== Hero ===== */

.marketing-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 110px clamp(20px, 6vw, 84px) 72px;
}

.saas-hero {
    background:
        radial-gradient(60% 90% at 88% 8%, rgba(255, 255, 255, .07), transparent 60%),
        radial-gradient(46% 60% at 6% 96%, rgba(180, 91, 44, .16), transparent 65%),
        linear-gradient(160deg, var(--accent-deep) 0%, var(--accent-deep-2) 62%, #1b4a3d 100%);
}

.saas-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, .9), transparent 62%);
    mask-image: linear-gradient(120deg, rgba(0, 0, 0, .9), transparent 62%);
}

.demo-hero {
    background: url("/assets/images/pohadka/hero-bg.jpg") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.demo-overlay {
    background:
        linear-gradient(90deg, rgba(71, 39, 76, .78), rgba(71, 39, 76, .38) 50%, rgba(71, 39, 76, .12)),
        linear-gradient(0deg, rgba(255, 250, 243, .94), rgba(255, 250, 243, 0) 38%);
}

.hero-inner {
    width: min(720px, 100%);
    color: #fff;
}

.hero-inner h1 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(48px, 7.4vw, 96px);
    line-height: .98;
    font-weight: 600;
    text-wrap: balance;
}

.hero-lead {
    width: min(600px, 100%);
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 19px;
    line-height: 1.6;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--accent-line);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 18px;
    height: 1.5px;
    background: currentColor;
    opacity: .6;
}

.section-kicker {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.btn-primary-quiet {
    background: var(--highlight);
    border: 1px solid var(--highlight);
    color: #fff;
}

.btn-primary-quiet:hover {
    background: #9a4c24;
    border-color: #9a4c24;
    color: #fff;
    transform: translateY(-1px);
}

.btn-light-outline {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .38);
    color: #fff;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

/* ===== Section shells ===== */

.section-band,
.split-section,
.process-section,
.news-preview,
.contact-strip {
    padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    max-width: 1180px;
    margin: 0 auto 40px;
}

.section-grid h2,
.split-content h2,
.process-section h2,
.contact-strip h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.section-copy,
.split-content p,
.contact-strip p {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
}

.feature-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.news-preview-card {
    min-height: 230px;
    padding: 30px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s ease, transform .18s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 21px;
}

.demo-card i {
    background: var(--highlight-soft);
    color: var(--highlight);
}

.feature-card h3,
.news-preview-card h3 {
    margin: 20px 0 9px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;
}

.feature-card p,
.news-preview-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.62;
}

/* ===== Split section ===== */

.split-section {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    background: var(--accent-soft);
}

.demo-split {
    background: #f7edf0;
}

.visual-panel {
    min-height: 430px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-panel img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
}

.split-content {
    max-width: 620px;
}

.module-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.module-list span,
.schedule-list div {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 50px;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid rgba(27, 24, 21, .08);
    border-radius: 10px;
    font-weight: 650;
}

.module-list i {
    color: var(--accent);
}

/* ===== Process / steps ===== */

.process-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

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

.process-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-weight: 700;
}

.process-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 14px;
    flex: none;
}

.schedule-list {
    display: grid;
    gap: 11px;
    margin-top: 26px;
}

.schedule-list strong {
    color: var(--highlight);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    min-width: 52px;
}

/* ===== News preview (demo school) ===== */

.news-card-row {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.news-preview-card time {
    color: var(--highlight);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12.5px;
    font-weight: 600;
}

.text-link {
    justify-self: end;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--accent-hover);
}

/* ===== Contact / CTA strip ===== */

.contact-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: var(--accent-deep);
    color: #fff;
}

.contact-strip h2,
.contact-strip p {
    color: #fff;
}

.contact-strip p {
    color: rgba(255, 255, 255, .74);
}

.contact-strip .section-kicker {
    color: var(--accent-line);
}

/* ===== SaaS landing hero specifics ===== */

.saas-landing-hero {
    min-height: 0;
    align-items: center;
    padding-top: clamp(140px, 15vh, 178px);
    padding-bottom: clamp(64px, 8vh, 96px);
    background-position: center;
}

.saas-overlay {
    display: none;
}

.saas-hero-inner {
    width: min(780px, 100%);
}

.saas-hero-inner h1 {
    max-width: 780px;
}

.saas-hero .eyebrow {
    color: rgba(255, 255, 255, .68);
}

/* ===== Hero visual (dashboard mockup card) ===== */

.hero-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(32px, 5vw, 64px);
}

.saas-hero-inner {
    flex: 1 1 480px;
}

.hero-visual {
    position: relative;
    flex: 1 1 380px;
    max-width: 440px;
    margin-left: auto;
}

.hero-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 34px 84px rgba(8, 14, 11, .38);
    transform: rotate(1.2deg);
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: var(--ink);
}

.hero-card-top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
}

.hero-card-top span:nth-child(3) {
    background: var(--accent);
}

.hero-card-top strong {
    margin-left: 8px;
    color: rgba(255, 255, 255, .55);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11.5px;
    font-weight: 500;
}

.hero-card-body {
    padding: 22px 22px 24px;
}

.hero-card-kicker {
    margin: 0 0 14px;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.hero-card-stats div {
    padding: 10px 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.hero-card-stats small {
    display: block;
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.3;
    margin-bottom: 5px;
}

.hero-card-stats strong {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 20px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.hero-card-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hero-card-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 8px;
    color: var(--accent-deep-2);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.3;
}

.hero-card-list i {
    color: var(--accent);
    flex: none;
}

.hero-chip {
    position: absolute;
    right: -22px;
    top: -26px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px 12px 14px;
    box-shadow: 0 20px 44px rgba(8, 14, 11, .3);
    transform: rotate(-3deg);
    z-index: 2;
}

.hero-chip i {
    font-size: 22px;
    color: var(--accent);
}

.hero-chip strong {
    display: block;
    font-size: 13px;
    color: var(--ink);
}

.hero-chip span {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .hero-grid {
        justify-content: center;
        text-align: left;
    }

    .hero-visual {
        margin: 28px auto 0;
    }
}

@media (max-width: 640px) {
    .hero-visual {
        display: none;
    }
}

/* ===== Proof strip ===== */

.proof-strip {
    width: min(1100px, calc(100% - 40px));
    margin: clamp(-64px, -7vh, -42px) auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.proof-strip div {
    min-height: 116px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 22px clamp(18px, 3vw, 32px);
    background: #fff;
}

.proof-strip strong {
    font-family: "Public Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.proof-strip span {
    color: var(--ink-soft);
    font-weight: 600;
    line-height: 1.35;
    font-size: 14.5px;
}

.saas-intro {
    padding-top: clamp(88px, 11vw, 140px);
    padding-bottom: clamp(32px, 4vw, 52px);
}

#moduly {
    padding-top: clamp(40px, 5vw, 60px);
}

/* ===== Ops dashboard mockup ===== */

.ops-showcase {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.ops-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.ops-panel-main {
    overflow: hidden;
}

.ops-panel-top {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    background: var(--ink);
    color: #fff;
}

.ops-panel-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.ops-panel-top span:nth-child(3) {
    background: var(--accent);
}

.ops-panel-top strong {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ops-dashboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(18px, 3vw, 28px);
    background: #fcfaf5;
}

.ops-dashboard div {
    min-height: 108px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.ops-dashboard small {
    color: var(--ink-soft);
    font-weight: 650;
    font-size: 13px;
}

.ops-dashboard strong {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ops-list {
    display: grid;
    gap: 10px;
    padding: 0 clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px);
}

.ops-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid var(--accent-line);
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-deep-2);
    font-weight: 650;
    font-size: 14.5px;
}

.ops-list i {
    color: var(--accent);
}

.ops-panel-side {
    padding: clamp(24px, 4vw, 34px);
    background: var(--accent-deep-2);
    color: #fff;
    min-height: auto;
}

.ops-panel-side h3 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.15;
    font-weight: 600;
}

.ops-panel-side p:not(.section-kicker) {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .74);
    line-height: 1.65;
}

/* ===== Module / Provoz / Audience sections ===== */

.module-section,
.audience-section {
    padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.saas-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provoz-section {
    background: #f1ead9;
}

.saas-split {
    background: var(--accent-soft);
}

.saas-visual-panel {
    background: #fff;
}

.saas-visual-panel img {
    object-position: center;
}

.audience-section {
    background: linear-gradient(180deg, #fff, var(--paper));
}

.audience-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.audience-grid article {
    min-height: 250px;
    padding: 32px 30px;
    border-radius: 14px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.audience-grid h3 {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 23px;
    font-weight: 600;
}

.audience-grid p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.68;
}

.saas-process {
    background: #fff;
}

.saas-cta {
    background: linear-gradient(150deg, var(--accent-deep) 0%, var(--accent-deep-2) 65%, #204c40 100%);
}

/* ===== Footer ===== */

.marketing-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    padding: 30px 20px;
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.marketing-footer a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 600;
}

.marketing-footer a:hover {
    color: #fff;
}

/* ===== Responsive ===== */

@media (max-width: 820px) {
    .demo-nav {
        position: absolute;
        align-items: flex-start;
        flex-direction: column;
    }

    .demo-nav nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .marketing-nav nav {
        display: none;
    }

    .marketing-nav-toggle {
        display: inline-flex;
    }

    .marketing-hero {
        min-height: 840px;
        align-items: flex-end;
        padding-top: 150px;
    }

    .saas-landing-hero {
        min-height: 680px;
        padding-bottom: 86px;
    }

    .proof-strip,
    .ops-showcase,
    .audience-grid,
    .ops-dashboard {
        grid-template-columns: 1fr;
    }

    .proof-strip {
        margin-top: -54px;
    }

    .section-grid,
    .split-section,
    .process-section,
    .feature-grid,
    .news-card-row,
    .pricing-grid,
    .pricing-faq-grid {
        grid-template-columns: 1fr;
    }

    .module-list {
        grid-template-columns: 1fr;
    }

    .ops-dashboard div {
        min-height: 100px;
    }

    .contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .marketing-hero {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .proof-strip {
        width: calc(100% - 32px);
    }
}

@media (max-width: 520px) {
    .marketing-nav nav a:not(.nav-login):not([lang]),
    .demo-nav nav a:not(.nav-login):not([lang]) {
        display: none;
    }

    .hero-inner h1 {
        font-size: 44px;
    }

    .saas-hero-inner h1 {
        font-size: 42px;
    }

    .hero-lead,
    .section-copy,
    .split-content p,
    .contact-strip p {
        font-size: 16px;
    }

    .ops-dashboard div,
    .proof-strip div {
        min-height: 92px;
    }

    .audience-grid article,
    .feature-card,
    .news-preview-card {
        min-height: auto;
    }

    .pricing-card-featured {
        order: -1;
    }
}

/* ===== LEGAL PAGES (obchodni podminky / gdpr / cookies) ===== */

.legal-page {
    padding: clamp(120px, 14vw, 160px) clamp(20px, 6vw, 84px) clamp(58px, 8vw, 104px);
}

.legal-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: clamp(28px, 5vw, 56px);
}

.legal-container h1 {
    margin: 6px 0 4px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 600;
    color: var(--ink);
}

.legal-container h2 {
    margin: 32px 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
}

.legal-container p,
.legal-container li {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
}

.legal-container ul {
    padding-left: 22px;
    margin: 0 0 16px;
}

.legal-container a {
    color: var(--accent);
    font-weight: 700;
}

.legal-updated {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--ink-soft);
}

.legal-note {
    background: var(--accent-soft);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
}

.legal-footer-note {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* ===== Blog ===== */

.blog-list-band {
    padding-top: clamp(120px, 14vw, 160px);
}

.blog-empty {
    color: var(--ink-soft);
    font-size: 16px;
}

.blog-grid {
    width: min(1180px, 100%);
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-date {
    display: block;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.blog-card-body h3 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.blog-card-body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.contact-flash {
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-flash-success {
    background: var(--accent-soft);
    color: var(--accent);
}

.contact-flash-error {
    background: var(--highlight-soft);
    color: var(--highlight);
}

/* ===== Cookie bar ===== */

.cookie-box {
    position: fixed;
    left: clamp(20px, 4vw, 40px);
    bottom: clamp(20px, 4vw, 40px);
    max-width: min(420px, calc(100vw - 40px));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 24px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: none;
}

.cookie-box .cookie-text {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-box .cookie-text a {
    color: var(--accent);
    font-weight: 700;
}

.cookie-box .cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-box .btn {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    min-height: auto;
}

.cookie-box #rejectCookies {
    background: #fff;
    border-color: var(--line);
    color: var(--ink-soft);
}

.cookie-box #acceptCookies {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cookie-box #acceptCookies:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

@media (max-width: 575.98px) {
    .cookie-box {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        padding: 20px;
    }

    .cookie-box .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-box .btn {
        flex: 1 1 130px;
    }
}

/* ===== Pricing page ===== */

.pricing-hero {
    padding: clamp(150px, 18vw, 200px) clamp(20px, 6vw, 84px) clamp(44px, 6vw, 68px);
    background:
        radial-gradient(60% 100% at 90% 0%, rgba(255, 255, 255, .06), transparent 60%),
        linear-gradient(160deg, var(--accent-deep) 0%, var(--accent-deep-2) 70%, #1b4a3d 100%);
}

.pricing-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.pricing-hero .eyebrow {
    justify-content: center;
    color: var(--accent-line);
}

.pricing-hero h1 {
    margin: 12px 0 18px;
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    text-wrap: balance;
}

.pricing-hero-lead {
    color: rgba(255, 255, 255, .78);
    max-width: 620px;
    margin: 0 auto;
}

.pricing-grid-section {
    padding: clamp(48px, 7vw, 84px) clamp(20px, 6vw, 84px);
}

.pricing-grid {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    right: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--highlight);
    color: #fff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pricing-card-head h2 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    color: var(--ink);
}

.pricing-card-head p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
    min-height: 44px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 22px 0 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.pricing-amount {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 38px;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.pricing-period {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14px;
}

.pricing-list {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    line-height: 1.4;
}

.pricing-list i {
    color: var(--accent);
    margin-top: 3px;
    flex: none;
}

.btn-pricing-outline,
.btn-pricing-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.btn-pricing-outline {
    background: #fff;
    border: 1px solid var(--ink);
    color: var(--ink);
}

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

.btn-pricing-solid {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
}

.btn-pricing-solid:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.pricing-note {
    width: min(920px, 100%);
    margin: 30px auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 15px;
}

.pricing-note a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.pricing-faq {
    padding: clamp(48px, 7vw, 84px) clamp(20px, 6vw, 84px);
    background: var(--accent-soft);
}

.pricing-faq-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pricing-faq-card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.pricing-faq-card h3 {
    margin: 0 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.pricing-faq-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ===== Pricing responsive fixes (kept after the pricing rules above on purpose - source order matters here) ===== */

@media (max-width: 820px) {
    .pricing-grid,
    .pricing-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .pricing-card-featured {
        order: -1;
    }
}
