/* Landing page – dark B2B SaaS, technical, minimal. Consistent with app UI. */

/* Source Sans 3 (SIL OFL) — self-hosted; free for commercial use */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext-300-normal.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: "Source Sans 3";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-300-normal.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+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: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-500-normal.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext-600-normal.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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.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;
}

/* Smooth scroll (anchor links + programmatic) */
html:has(.landingMain) {
  scroll-behavior: smooth;
  /* Fixed topbar must not cover section titles (esp. #about with padding-top: 0) */
  scroll-padding-top: calc(var(--landing-topbar-h, 3.5rem) + 0.75rem);
  overflow-x: clip;
  overflow-y: auto;
  height: auto;
}

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

body:has(.landingMain) {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  /* Space for fixed topbar (updated by JS to exact height) */
  padding-top: var(--landing-topbar-h, 3.5rem);
  box-sizing: border-box;

  /* Type scale (audit): max ~5 text sizes + display/price, 4 weights */
  --landing-font-display: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --landing-size-display: clamp(2.2rem, 5vw, 3rem);
  --landing-size-title: 1.5rem;
  --landing-size-subtitle: 1rem;
  --landing-size-body: 1rem;
  --landing-size-body-sm: 0.875rem;
  --landing-size-meta: 0.75rem;
  --landing-size-price: 2rem;
  --landing-size-cta: 1rem;
  --landing-weight-display: 300;
  --landing-weight-title: 500;
  --landing-weight-subtitle: 600;
  --landing-weight-meta: 600;
  --landing-weight-cta: 500;
  --landing-lh-body: 1.55;
  --landing-lh-tight: 1.25;
}

/* Scroll progress bar – thin line at top */
.landingScrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}

/* Fixed header — logo | centered nav | login+lang */
body:has(.landingMain) .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  background: #303338;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  padding-left: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
}

body:has(.landingMain) .landingBrand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

body:has(.landingMain) .topbar__left {
  display: flex;
  align-items: center;
  min-width: 0;
  justify-self: start;
}

.landingNav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 1.35rem;
  justify-self: center;
  grid-column: 2;
}

.landingNav__link {
  color: #d1d5db;
  text-decoration: none;
  font-size: var(--landing-size-body-sm, 0.875rem);
  font-weight: 500;
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.landingNav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body:has(.landingMain) .topbar__right {
  justify-self: end;
}

body:has(.landingMain) .landingBrand__logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(200px, 42vw);
}

/* Default (dark chrome): white wordmark */
body:has(.landingMain) .landingBrand__logo--onLight {
  display: none;
}

body:has(.landingMain) .topbar__login {
  color: #d1d5db;
  font-size: var(--landing-size-body-sm, 0.875rem);
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

body:has(.landingMain) .topbar__login:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body:has(.landingMain) .langSwitch {
  border-color: rgba(255, 255, 255, 0.22);
}

body:has(.landingMain) .langSwitch__btn {
  background: transparent;
  color: #d1d5db;
}

body:has(.landingMain) .langSwitch__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body:has(.landingMain) .langSwitch__btn.is-active,
body:has(.landingMain) .langSwitch__btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 600;
}

.landingScrollProgress__bar {
  height: 100%;
  width: 0%;
  background: var(--line);
  transition: width 0.08s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .landingScrollProgress__bar {
    transition: none;
  }
}

.landingMain {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Section spacing — full-width strip; content aligns with topbar (~1100px column) */
.landingSection {
  --landing-content-max: 1100px;
  --landing-gutter: 1.5rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  /* Same inset as topbar: content sits in the 1100px column */
  padding-left: max(var(--landing-gutter), calc((100% - var(--landing-content-max)) / 2 + var(--landing-gutter)));
  padding-right: max(var(--landing-gutter), calc((100% - var(--landing-content-max)) / 2 + var(--landing-gutter)));
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.landingSection.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .landingSection {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .landingSection.is-visible {
    opacity: 1;
    transform: none;
  }
}

.landingSection__inner {
  width: 100%;
  max-width: none;
}

.landingSection__title {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-title);
  font-weight: var(--landing-weight-title);
  color: var(--text);
  margin: 0 0 0.75rem 0;
  line-height: var(--landing-lh-tight);
  letter-spacing: -0.01em;
}

.landingSection__intro {
  font-size: var(--landing-size-body);
  color: var(--muted);
  margin: 0 0 2rem 0;
  max-width: 70ch;
  line-height: var(--landing-lh-body);
}

.landingSection--about {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.landingAbout__body {
  margin: 0;
  font-size: var(--landing-size-body);
  line-height: var(--landing-lh-body);
  color: var(--text);
  max-width: 62ch;
}

/* ----- Hero: two-column (text left, video right); mobile: stacked ----- */
.landingSection--hero {
  padding-top: clamp(4rem, 12vw, 7rem);
  padding-bottom: clamp(4rem, 12vw, 7rem);
}

.landingHero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  text-align: left;
}

.landingHero__content {
  min-width: 0;
}

.landingHero__media {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landingHero__videoWrap {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landingHero__teaser {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 900px) {
  .landingHero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landingHero__content {
    order: 1;
  }

  .landingHero__media {
    order: 2;
  }

  .landingHero__videoWrap {
    max-width: 100%;
  }
}

.landingHero__title {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-display);
  font-weight: var(--landing-weight-display);
  color: var(--text);
  margin: 0 0 1rem 0;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.landingHero__subtitle {
  font-size: var(--landing-size-body);
  color: var(--muted);
  margin: 0 0 2rem 0;
  max-width: 60ch;
  line-height: var(--landing-lh-body);
}

.landingHero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 32rem;
  align-items: stretch;
}

/* Primary trial CTA spans full width — buy stays only in pricing */
.landingHero__actions > .landingHero__cta {
  grid-column: 1 / -1;
}

.landingHero__actions > .landingHero__cta,
.landingHero__actions > .landingHero__link {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.landingHero__link--demo {
  border-color: var(--primary);
  color: var(--primary);
}

.landingHero__link--demo:hover {
  background: rgba(var(--primary-rgb, 59, 130, 246), 0.1);
  color: var(--primary);
}

.landingHero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: var(--landing-size-cta);
  font-weight: var(--landing-weight-cta);
  border-radius: 6px;
  text-decoration: none;
  background: var(--primary);
  color: var(--primaryText);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 2.75rem;
}

.landingHero__cta:hover {
  filter: brightness(0.95);
}

.landingHero__cta--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.landingHero__cta--secondary:hover {
  filter: none;
  background: rgba(var(--primary-rgb, 59, 130, 246), 0.08);
}

.landingHero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: var(--landing-size-cta);
  color: var(--muted);
  text-decoration: none;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: transparent;
  min-height: 2.75rem;
}

.landingHero__link:hover {
  color: var(--text);
  background: var(--hover);
}

.landingHero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--landing-size-body);
  color: var(--muted);
  line-height: 1.6;
}

.landingHero__bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.landingHero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

/* ----- Benefit strip (3 points under hero) ----- */
.landingSection--benefits {
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.landingBenefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
  font-size: var(--landing-size-body);
  color: var(--muted);
  line-height: var(--landing-lh-body);
}

.landingBenefits__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.landingBenefits__icon {
  flex-shrink: 0;
  color: var(--primary);
  font-weight: var(--landing-weight-subtitle);
  font-size: var(--landing-size-body);
}

@media (max-width: 700px) {
  .landingBenefits {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ----- Workflow demo video section ----- */
.landingSection--video {
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.landingVideo__badge {
  display: inline-block;
  font-size: var(--landing-size-meta);
  font-weight: var(--landing-weight-meta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 0 0 0.75rem 0;
}

.landingVideo__intro {
  margin-bottom: 2rem;
  max-width: 60ch;
}

.landingVideo__playerWrap {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.landingVideo__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0f0f0f;
}

/* ----- Feature grid: 3–4 cards, slightly lighter dark ----- */
.landingGrid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.landingGrid--features {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.landingCard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.25rem;
}

.landingCard h3 {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-subtitle);
  font-weight: var(--landing-weight-subtitle);
  color: var(--text);
  margin: 0 0 0.5rem 0;
}

.landingCard p {
  font-size: var(--landing-size-body-sm);
  color: var(--muted);
  margin: 0;
  line-height: var(--landing-lh-body);
}

/* ----- Workflow: horizontal 4 steps ----- */
.landingSteps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.landingStep {
  padding: 0;
}

.landingStep__num {
  font-size: var(--landing-size-meta);
  font-weight: var(--landing-weight-meta);
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.landingStep h3 {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-subtitle);
  font-weight: var(--landing-weight-subtitle);
  color: var(--text);
  margin: 0 0 0.35rem 0;
}

.landingStep p {
  font-size: var(--landing-size-body-sm);
  color: var(--muted);
  margin: 0;
  line-height: var(--landing-lh-body);
}

/* ----- Pricing: light grey panel on dark ----- */
.landingSection--pricing {
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.landingPricing__sectionIntro {
  margin-bottom: 1.25rem;
}

.landingPricingWrap {
  max-width: 100%;
  margin: 0;
}

.landingPricingPanel {
  background: #e5e6e8;
  color: #1f2937;
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.landingPricing__note--lead {
  margin-top: 0;
  font-size: var(--landing-size-body);
  line-height: var(--landing-lh-body);
}

.landingPricing__introOffer {
  font-size: var(--landing-size-body);
  color: #374151;
  line-height: var(--landing-lh-body);
  margin: 0 0 1rem 0;
  max-width: 50rem;
}

/* Úvodní text nad sloupci (na tmavém pozadí sekce) */
.landingPricingIntroBlock {
  margin-bottom: 1.5rem;
  max-width: 52rem;
}

.landingSection--pricing .landingPricingIntroBlock .landingPricing__note--lead {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.landingSection--pricing .landingPricingIntroBlock .landingPricing__introOffer {
  color: var(--text);
  margin-bottom: 0;
  max-width: none;
}

/* Tři sloupce s tarify; add-on modul na dalším řádku */
.landingPricingColumns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.landingPricingColumns--addons {
  margin-bottom: 0;
}

.landingPricingAddons {
  margin-bottom: 1.5rem;
}

.landingPricingAddons__title {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-subtitle);
  font-weight: var(--landing-weight-subtitle);
  color: var(--text);
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .landingPricingColumns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.landingPricingTier {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1.25rem 1.15rem;
  margin: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.landingPricingTier--addon .landingPricingTier__seats {
  color: #6b7280;
}


.landingPricingTier__title {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-subtitle);
  font-weight: var(--landing-weight-subtitle);
  color: #111827;
  margin: 0 0 0.35rem 0;
}

.landingPricingTier__seats {
  font-size: var(--landing-size-body-sm);
  color: #4b5563;
  margin: 0 0 0.75rem 0;
  line-height: 1.35;
}

.landingPricingTier__priceRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: var(--landing-size-body);
  margin-bottom: 0.35rem;
}

.landingPricingTier__priceRow--secondary {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
}

.landingPricingTier__label {
  color: #6b7280;
  font-size: var(--landing-size-meta);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landingPricingTier__amount {
  font-family: var(--landing-font-display);
  font-weight: var(--landing-weight-subtitle);
  color: #111827;
  font-size: var(--landing-size-body);
}

.landingPricingTier__priceHero {
  margin: 0.2rem 0 0.35rem 0;
}
.landingPricingTier__priceHeroAmount {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-price);
  font-weight: var(--landing-weight-subtitle);
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.landingPricingTier__priceCompare {
  font-size: var(--landing-size-body-sm);
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}
.landingPricingTier__priceWas {
  text-decoration: line-through;
  color: #9ca3af;
  font-weight: 500;
  margin-left: 0.35rem;
}

.landingPricing__planName {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-subtitle);
  font-weight: var(--landing-weight-subtitle);
  color: #374151;
  margin-bottom: 1rem;
}

.landingPricing__prices {
  margin-bottom: 0.75rem;
}

.landingPricing__standard {
  font-size: var(--landing-size-body-sm);
  color: #6b7280;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.landingPricing__current {
  font-family: var(--landing-font-display);
  font-size: var(--landing-size-price);
  font-weight: var(--landing-weight-subtitle);
  color: #111827;
  line-height: 1.1;
}

.landingPricing__note {
  font-size: var(--landing-size-body-sm);
  color: #4b5563;
  margin: 0 0 1.5rem 0;
  line-height: 1.45;
  max-width: 62ch;
}

.landingPricing__features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  font-size: var(--landing-size-body);
  color: #374151;
  line-height: 1.65;
}

.landingPricing__features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
}

.landingPricing__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: #9ca3af;
}

.landingPricing__ctaRow {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.landingPricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: var(--landing-size-cta);
  font-weight: var(--landing-weight-cta);
  border-radius: 6px;
  text-decoration: none;
  background: #1f2937;
  color: #f3f4f6;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  box-sizing: border-box;
}

.landingPricing__cta:hover {
  background: #374151;
}

.landingPricing__cta--secondary {
  background: transparent;
  color: #1f2937;
  border: 2px solid #1f2937;
}

.landingPricing__cta--secondary:hover {
  background: rgba(31, 41, 55, 0.06);
}

.landingPricing__micro {
  font-size: var(--landing-size-meta);
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

/* ----- Who it's for: 4 cards ----- */
.landingGrid--for {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.landingGrid--for .landingCard p {
  font-size: var(--landing-size-body-sm);
}

/* ----- Footer (same charcoal bar as header) ----- */
.landingFooter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  padding-left: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #303338;
  color: #f3f4f6;
  font-size: var(--landing-size-body-sm);
  box-sizing: border-box;
  width: 100%;
}

.landingFooter__brandCol {
  flex: 0 1 16rem;
  min-width: 0;
}

.landingFooter__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.landingFooter__logo {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: min(180px, 70vw);
}

.landingFooter__meta {
  flex: 1 1 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  min-width: 0;
}

.landingFooter__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
  max-width: 40rem;
}

.landingFooter__nav a {
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
}

.landingFooter__nav a:hover {
  color: #ffffff;
}

.landingFooter__email {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  user-select: all;
  color: #f3f4f6;
  letter-spacing: 0.01em;
}
/* Layout refinements (typography lives in the type-scale tokens above) */
.landingSection--hero {
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.landingHero__bullets {
  gap: 0.5rem;
  max-width: 60ch;
}

.landingGrid {
  gap: 1.25rem;
}

.landingCard {
  padding: 1.25rem;
  border-radius: 10px;
}

.landingSteps {
  gap: 2rem;
}

.landingStep {
  padding-right: 0.75rem;
}

.landingStep__num {
  width: 2.2rem;
  height: 2.2rem;
}

.landingSection--pricing {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.landingSection--pricing .landingSection__title {
  margin-bottom: 0.5rem;
}

.landingPricingPanel {
  padding: 2.75rem;
  border-radius: 10px;
  max-width: none;
}

.landingPricingPanel--details {
  max-width: none;
}

.landingPricing__features {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.landingPricing__cta {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
}

.landingScrollProgress {
  height: 2px;
}

body:has(.landingMain) .topbar__login,
body:has(.landingMain) .landingNav__link {
  font-size: var(--landing-size-body-sm);
  padding: 0.35rem 0.55rem;
}

body:has(.landingMain) .langSwitch__btn {
  font-size: var(--landing-size-body-sm);
  padding: 0.35rem 0.65rem;
  min-height: 2.25rem;
}

/* ========== Responsive landing (mobil / tablet) ========== */

/* Topbar: skrýt podtitul, zachovat čitelný název */
@media (max-width: 900px) {
  .landingNav {
    display: none;
  }

  body:has(.landingMain) .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1rem;
  }
}

@media (max-width: 768px) {
  body:has(.landingMain) .topbar .topbar__left {
    min-width: 0;
  }

  body:has(.landingMain) .landingBrand__logo {
    height: 1.75rem;
    max-width: min(160px, 48vw);
  }

  body:has(.landingMain) .topbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    padding-left: max(1.25rem, calc((100% - 1100px) / 2 + 1.25rem));
    padding-right: max(1.25rem, calc((100% - 1100px) / 2 + 1.25rem));
  }

  body:has(.landingMain) .topbar__right {
    gap: 8px;
  }

  body:has(.landingMain) .langSwitch__btn {
    padding: 6px 10px;
    font-size: var(--landing-size-body-sm);
    min-height: 36px;
  }

  body:has(.landingMain) .topbar__login {
    font-size: var(--landing-size-body-sm);
    padding: 0.35rem 0.55rem;
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  body:has(.landingMain) .topbar {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
  }

  body:has(.landingMain) .topbar__right {
    width: 100%;
    justify-content: flex-end;
    justify-self: stretch;
  }
}

/* Sekce + hero / touch: layout only; sizes from type tokens */
@media (max-width: 640px) {
  body:has(.landingMain) {
    --landing-size-display: clamp(1.75rem, 7vw, 2.25rem);
  }

  .landingSection {
    --landing-gutter: 1.25rem;
    padding-left: max(var(--landing-gutter), calc((100% - var(--landing-content-max)) / 2 + var(--landing-gutter)));
    padding-right: max(var(--landing-gutter), calc((100% - var(--landing-content-max)) / 2 + var(--landing-gutter)));
  }

  .landingSection--hero {
    padding-top: clamp(2.5rem, 10vw, 4rem);
    padding-bottom: clamp(2.5rem, 10vw, 4rem);
  }

  .landingSection__title {
    margin-bottom: 0.5rem;
  }

  .landingSection__intro {
    margin-bottom: 1.5rem;
  }

  .landingHero__title {
    line-height: 1.2;
  }

  .landingHero__subtitle {
    margin-bottom: 1.5rem;
  }

  .landingHero__actions {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 0.75rem;
  }

  .landingHero__cta,
  .landingHero__link {
    justify-content: center;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
  }

  .landingHero__bullets li {
    margin-bottom: 0.6rem;
  }

  .landingSteps {
    gap: 1.5rem;
  }

  .landingStep h3 {
    margin-bottom: 0.4rem;
  }

  .landingPricingWrap {
    max-width: 100%;
  }

  .landingPricingPanel {
    padding: 1.75rem 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .landingPricing__features li {
    margin-bottom: 0.5rem;
  }

  .landingPricing__cta {
    min-height: 52px;
    padding: 1rem 1.25rem;
  }

  .landingFooter {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: max(1.25rem, calc((100% - 1100px) / 2 + 1.25rem));
    padding-right: max(1.25rem, calc((100% - 1100px) / 2 + 1.25rem));
    margin-top: 2rem;
    gap: 1.25rem;
  }

  .landingFooter__brandCol {
    flex: none;
    max-width: 100%;
  }

  .landingFooter__meta {
    flex: none;
    width: 100%;
    align-items: flex-start;
  }

  .landingFooter__nav {
    justify-content: flex-start;
    max-width: none;
  }
}

/* Mřížky: na úzkých 1 sloupec */
@media (max-width: 520px) {
  .landingGrid,
  .landingGrid--features,
  .landingGrid--for {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .landingCard {
    padding: 1.25rem;
  }
}

.landingSection__inner,
.landingHero,
.landingPricingWrap,
.landingFooter {
  max-width: 100%;
  box-sizing: border-box;
}

/* ----- Legal pages (terms / privacy / cookies / impressum) ----- */
body.legal-page {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.legal-page a.langSwitch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.legalMain {
  flex: 1 0 auto;
}

.legalPage {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  box-sizing: border-box;
  color: var(--text);
}

.legalPage__back {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-size: var(--landing-size-body-sm, 0.875rem);
  color: var(--muted);
  text-decoration: none;
}

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

.legalPage h1 {
  font-family: var(--landing-font-display, "Source Sans 3", system-ui, sans-serif);
  font-size: var(--landing-size-title, 1.5rem);
  font-weight: var(--landing-weight-title, 500);
  line-height: var(--landing-lh-tight, 1.25);
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.legalPage .legalMeta {
  color: var(--muted);
  font-size: var(--landing-size-body-sm, 0.875rem);
  line-height: var(--landing-lh-body, 1.55);
  margin: 0 0 2rem;
}

.legalPage h2 {
  font-family: var(--landing-font-display, "Source Sans 3", system-ui, sans-serif);
  font-size: var(--landing-size-subtitle, 1rem);
  font-weight: var(--landing-weight-subtitle, 600);
  color: var(--text);
  margin: 2rem 0 0.65rem;
}

.legalPage p,
.legalPage li,
.legalPage .legalSectionBody {
  font-size: var(--landing-size-body, 1rem);
  line-height: var(--landing-lh-body, 1.55);
  color: var(--text);
}

.legalPage p,
.legalPage ul {
  margin: 0 0 1rem;
}

.legalPage ul {
  padding-left: 1.25rem;
}

.legalPage a {
  color: var(--accent, #3f7a5c);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.legalPage a:hover {
  color: var(--accent-hover, #35684e);
}

.legalPage .back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: var(--landing-size-body-sm, 0.875rem);
  color: var(--muted);
  text-decoration: none;
}

.legalPage .back:hover {
  color: var(--text);
}

.legalPage .placeholder {
  background: #f4f1e6;
  border: 1px solid #e4d9b8;
  color: #5c5340;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: var(--landing-size-body-sm, 0.875rem);
  line-height: 1.45;
}

.legalPage .ossDocPre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: var(--landing-size-body-sm, 0.875rem);
  line-height: 1.45;
  background: var(--panel, #fff);
  border: 1px solid var(--line, #d5dbe3);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}

@media (max-width: 640px) {
  .legalPage {
    padding: 1.75rem 1.25rem 3rem;
  }
}

