/* ============================================================
   ATREO LANDING — Design System (consolidated)
   Source: colors_and_type.css + landing.css + lp1.css + lp2.css
   Brand: Atreo Digital. Poppins 400/700, hex tokens, 10px root,
   pill buttons, capsule shapes, signature green sparingly.
   ============================================================ */

/* === 10px root trick ===========================================
   1rem = 10px, so 1.6rem = 16px etc. (Atreo convention)
   ============================================================ */
html { font-size: 62.5%; }
body { font-size: 1.6rem; }

:root {
  /* ---------- COLOR — Primary ---------- */
  --brand-black:        #121212;
  --brand-green:        #15C955;
  --brand-green-dark:   #13B54D;
  --brand-green-logo:   #38C659;

  /* ---------- COLOR — Neutrals ---------- */
  --surface-dark:       #232323;
  --surface-dark-2:     #2A2A2A;
  --surface-dark-3:     #3A3A3A;
  --surface-dark-4:     #444444;
  --surface-light:      #F9F9F9;
  --surface-paper:      #F1EFEF;
  --white:              #FFFFFF;

  /* ---------- COLOR — Text ---------- */
  --text-on-light:      #121212;
  --text-on-dark:       #F1EFEF;
  --text-on-dark-soft:  rgba(255,255,255,0.85);
  --text-muted:         #777777;
  --border-soft:        rgba(0,0,0,0.10);
  --border-soft-dark:   rgba(255,255,255,0.10);

  /* ---------- TYPOGRAPHY — Family ---------- */
  --font-sans: 'Poppins', Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-bold:    700;

  /* ---------- TYPOGRAPHY — Scale (rem, 10px root) ---------- */
  --text-xs:       1rem;
  --text-sm:       1.4rem;
  --text-base:     1.6rem;
  --text-lg:       1.85rem;
  --text-xl:       2.2rem;
  --text-2xl:      3.2rem;
  --text-3xl:      4rem;
  --text-4xl:      4.8rem;
  --text-5xl:      6rem;
  --text-6xl:      8rem;
  --text-display:  12.8rem;

  /* ---------- SPACING ---------- */
  --space-1:   0.4rem;
  --space-2:   0.8rem;
  --space-3:   1.2rem;
  --space-4:   1.6rem;
  --space-5:   2.4rem;
  --space-6:   3.2rem;
  --space-7:   4.8rem;
  --space-8:   6.4rem;
  --space-9:   9.6rem;
  --space-10: 15rem;

  --container-pad-desktop: 6rem;
  --container-pad-mobile:  2rem;
  --container-max:         128rem;

  /* ---------- RADIUS — loudest visual marker ---------- */
  --radius-sm:        1.6rem;
  --radius-md:        3rem;
  --radius-lg:        4rem;
  --radius-pill:      20rem;
  --radius-capsule:   20rem 99rem 99rem 20rem;
  --radius-section-bottom: 0 0 3rem 3rem;

  /* ---------- BORDER WIDTH ---------- */
  --stroke-icon:  3px;
  --stroke-thin:  1px;
  --stroke-cta:   2px;

  /* ---------- SHADOW ---------- */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.04), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
  --shadow-cta-press: inset 0 2px 0 rgba(0,0,0,0.12);
  --shadow-green-glow: 0 12px 32px rgba(21,201,85,0.25);

  /* ---------- MOTION ---------- */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-med:  220ms;
  --dur-slow: 420ms;

  /* ---------- SEMANTIC ROLES ---------- */
  --fg:           var(--text-on-light);
  --fg-muted:     var(--text-muted);
  --bg:           var(--white);
  --bg-elevated:  var(--surface-paper);
  --bg-inverse:   var(--brand-black);
  --fg-inverse:   var(--text-on-dark);
  --accent:       var(--brand-green);
  --accent-hover: var(--brand-green-dark);
  --accent-fg:    var(--brand-black);
  --link:         var(--brand-black);
  --link-hover:   var(--brand-green-dark);
  --border:       var(--border-soft);
  --focus-ring:   var(--brand-green);
}

/* ============================================================
   RESET + ELEMENT DEFAULTS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  min-height: 100dvh;
}

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: var(--text-sm); color: var(--fg-muted); }
strong, b { font-weight: var(--font-weight-bold); }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--link-hover); }

::selection { background: var(--brand-green); color: var(--brand-black); }

.text-accent { color: var(--brand-green); }
.text-highlight {
  color: var(--brand-green);
  position: relative;
  white-space: nowrap;
}

/* Visually hidden (a11y) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Global focus-visible ring (keyboard-only).
   Brand-black on light surfaces, white on dark surfaces; primary green button
   gets a black ring (green-on-green would vanish). */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brand-black);
  outline-offset: 3px;
  border-radius: inherit;
}
.is-dark :focus-visible,
.hero--rescue :focus-visible,
section.is-dark :focus-visible {
  outline-color: var(--white);
}
.btn--primary:focus-visible { outline-color: var(--brand-black); }

/* Skip-to-content link — visible only when keyboard-focused.
   Sits above the sticky nav. */
.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--brand-black);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
  transition: transform var(--dur-med) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--white);
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }
  :root { --space-10: 8rem; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-desktop);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--container-pad-mobile); }
}

section { padding-block: var(--space-10); }
section.is-dark {
  background: var(--brand-black);
  color: var(--text-on-dark);
}
section.is-dark h1, section.is-dark h2, section.is-dark h3 { color: var(--text-on-dark); }
section.is-paper { background: var(--surface-paper); }
section.is-rounded-bottom { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px var(--container-pad-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: block;
  width: 100px;
  text-decoration: none;
}
.nav__logo-img,
.footer__logo-img {
  display: block;
  width: 100%;
  height: auto;
}
.nav__links { display: flex; gap: 24px; }
.nav__links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-black);
  text-decoration: none;
}
.nav__links a:hover { color: var(--brand-green-dark); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__inner { padding: 12px var(--container-pad-mobile); }
  .nav .btn { padding: 12px 8px 12px 18px; font-size: 14px; min-height: 44px; }
  .nav .btn .btn__ic { width: 32px; height: 32px; font-size: 15px; }
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 8px 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  line-height: 1;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
.btn .btn__ic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--dur-med) var(--ease-out);
}
.btn:hover .btn__ic { transform: translateX(3px); }

.btn--primary,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:focus-visible {
  background: var(--brand-green);
  color: var(--brand-black);
}
.btn--primary .btn__ic { background: rgba(0,0,0,0.14); color: var(--brand-black); }
.btn--primary:hover { background: var(--brand-green-dark); }
.btn--primary:active { box-shadow: var(--shadow-cta-press); }

.btn--secondary,
.btn--secondary:hover,
.btn--secondary:focus,
.btn--secondary:focus-visible {
  background: var(--brand-black);
  color: var(--white);
}
.btn--secondary .btn__ic { background: rgba(255,255,255,0.16); color: var(--white); }
.btn--secondary:hover { background: var(--surface-dark); }

.btn--outline {
  background: transparent;
  color: var(--brand-black);
  box-shadow: inset 0 0 0 2px var(--brand-black);
}
.btn--outline .btn__ic { background: var(--brand-black); color: var(--white); }
.btn--outline:hover { background: var(--brand-black); color: var(--white); }
.btn--outline:hover .btn__ic { background: var(--brand-green); color: var(--brand-black); }

.is-dark .btn--outline {
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.is-dark .btn--outline .btn__ic { background: var(--white); color: var(--brand-black); }

.btn--small { padding: 12px 8px 12px 18px; font-size: 14px; min-height: 44px; }
.btn--small .btn__ic { width: 32px; height: 32px; font-size: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: 7rem 12rem;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-green-dark);
  background: rgba(21,201,85,0.08);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 80px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.018em;
}
.hero h1 .hl { color: var(--brand-green); }
.hero__sub {
  font-size: 22px;
  line-height: 1.45;
  color: var(--brand-black);
  margin: 0 0 32px;
  max-width: 52ch;
}
.is-dark .hero__sub { color: var(--text-on-dark-soft); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; }

@media (max-width: 900px) {
  .hero { padding-block: 4rem 6rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- LP1 hero overrides ---- */
.hero--ebook {
  padding-block: 8rem 12rem;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(21,201,85,0.10), transparent 60%),
    radial-gradient(700px 400px at -5% 30%, rgba(21,201,85,0.06), transparent 60%),
    var(--white);
}
.hero--ebook .hero__inner { grid-template-columns: 7fr 3fr; gap: 48px; }
.hero--ebook h1 {
  font-size: clamp(36px, 5.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero--ebook .hero__sub {
  font-size: 19px;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero--full .hero__inner { grid-template-columns: 1fr; max-width: 800px; }
.hero--full .hero__visual { display: none; }

@media (max-width: 900px) {
  .hero--ebook { padding-block: 4rem 6rem; }
  .hero--ebook .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Hero byline (Marek mini) ---- */
.hero__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.hero__byline-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-4));
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.hero__byline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__byline-name { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.2; }
.hero__byline-role { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; line-height: 1.2; }

/* ---- LP2 dark hero ---- */
.hero--rescue {
  padding-block: 7rem 11rem;
  background:
    radial-gradient(900px 480px at 90% 0%, rgba(21,201,85,0.20), transparent 60%),
    radial-gradient(700px 380px at 0% 80%, rgba(21,201,85,0.08), transparent 60%),
    var(--brand-black);
  position: relative;
  overflow: hidden;
}
.hero--rescue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
  opacity: 0.5;
}
.hero--rescue .hero__inner {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Team photo capsule (LP2 hero visual) — signature Atreo asymmetric pill. */
.hero__team-photo {
  background-image: url('/assets/img/atreo-team.webp');
  background-size: cover;
  background-position: center 20%;
  border-radius: 20rem 99rem 99rem 20rem;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hero__team-photo::after {
  /* subtle gradient overlay for legibility if any copy ever floats above */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.hero__team-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__team-caption .hl { color: var(--brand-green); }
@media (max-width: 900px) {
  .hero__team-photo { max-width: 360px; margin: 0 auto; }
}
.hero--rescue h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
  color: var(--text-on-dark);
}
.hero--rescue h1 .hl { color: var(--brand-green); }
.hero--rescue .hero__sub {
  font-size: 19px;
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--text-on-dark-soft);
}
.hero__eyebrow--dark {
  background: rgba(21,201,85,0.15);
  color: var(--brand-green);
}
@media (max-width: 900px) {
  .hero--rescue { padding-block: 4rem 6rem; }
  .hero--rescue .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero__or {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-on-dark-soft);
}
.hero__or a {
  color: var(--brand-green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 700;
}
.hero__or a:hover { color: var(--white); }

/* On green Ostrava hero, the calendly link sits on brand-green, so flip
   its colors to black-on-green for legibility. */
.hero--ostrava .hero__or { color: var(--brand-black); font-weight: 700; }
.hero--ostrava .hero__or a {
  color: var(--brand-black);
  text-decoration-color: var(--brand-black);
  text-decoration-thickness: 2px;
}
.hero--ostrava .hero__or a:hover { color: var(--surface-dark); }

/* ============================================================
   E-BOOK MOCKUP
   ============================================================ */
.ebook-mockup {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--surface-dark) 0%, var(--brand-black) 100%);
  border-radius: 8px 24px 24px 8px;
  margin-left: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25), -10px 0 0 0 rgba(0,0,0,0.15);
  padding: 36px 28px;
  color: var(--text-on-dark);
  transform: rotate(-3deg);
  transition: transform var(--dur-slow);
}
.ebook-mockup:hover { transform: rotate(-1deg) translateY(-4px); }
.ebook-mockup__brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--brand-green);
}
.ebook-mockup__brand .dot { color: var(--brand-green); }
.ebook-mockup__kicker {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.ebook-mockup__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.ebook-mockup__title .hl { color: var(--brand-green); }
.ebook-mockup__sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.ebook-mockup__corner {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ebook-mockup__deco {
  position: absolute;
  top: -14px;
  left: -14px;
  background: var(--brand-green);
  color: var(--brand-black);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.sec-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.sec-title .hl { color: var(--brand-green); }
.sec-lead {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 64px;
  color: var(--brand-black);
  max-width: 62ch;
}
.is-dark .sec-lead { color: var(--text-on-dark-soft); }
.sec-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 18px;
}
.is-dark .sec-eyebrow { color: var(--brand-green); }

/* ============================================================
   QUIZ SHELL (multi-step)
   ============================================================ */
.hero__quiz-shell {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 24px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 48px rgba(0,0,0,0.07),
    0 2px 6px rgba(0,0,0,0.04);
  margin-bottom: 8px;
  position: relative;
  max-width: 520px;
}
.hero__quiz-shell--dark {
  background: var(--white);
  color: var(--brand-black);
  border: none;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.45),
    0 4px 12px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero__quiz-shell--dark .quiz__heading { color: var(--brand-black); }

.quiz { display: block; }

.quiz-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.quiz-dot {
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background: rgba(0,0,0,0.08);
  transition: background var(--dur-med);
}
.quiz-dot.is-on { background: var(--brand-green); }
.quiz-dots__label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quiz__step { display: none; }
.quiz__step.is-active { display: block; }

.quiz__heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  display: block;
  color: var(--brand-black);
}
.quiz__hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: -6px 0 16px;
}
.quiz__hint strong { color: var(--brand-black); font-weight: 700; }

.quiz__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.quiz__row--stack { grid-template-columns: 1fr; }

.quiz__input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--brand-black);
  outline: none;
  transition: box-shadow var(--dur-med), border-color var(--dur-med);
}
.quiz__input::placeholder { color: rgba(0,0,0,0.32); }
.quiz__input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(21,201,85,0.2);
}
.quiz__input.is-error {
  border-color: #d4504a;
  box-shadow: 0 0 0 3px rgba(212,80,74,0.15);
}

.quiz__error {
  font-size: 13px;
  color: #b73a35;
  margin: 8px 0 0;
}

.quiz__cta {
  padding: 14px 8px 14px 20px !important;
  font-size: 15px !important;
  min-height: 44px;
  white-space: nowrap;
}
.quiz__cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.quiz__cta:disabled .btn__ic { transform: none !important; }

@media (max-width: 540px) {
  .quiz__row { grid-template-columns: 1fr; }
  .quiz__cta { justify-content: center; }
}

.quiz__trust {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.quiz__trust li { display: flex; align-items: center; gap: 8px; }
.quiz__check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quiz__check svg { width: 10px; height: 10px; stroke-width: 2.5; }

/* Quiz radios */
.quiz__radios {
  display: grid;
  gap: 8px;
  margin: 4px 0 18px;
}
.quiz__radios--two {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 540px) {
  .quiz__radios--two { grid-template-columns: 1fr; }
}
.quiz__radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  transition: border-color var(--dur-med), background var(--dur-med);
  background: var(--white);
  position: relative;
}
.quiz__radio:hover { border-color: rgba(21,201,85,0.5); background: rgba(21,201,85,0.03); }
.quiz__radio.is-on {
  border-color: var(--brand-green);
  background: rgba(21,201,85,0.06);
}
.quiz__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz__radio-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.2);
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--dur-med);
  background: var(--white);
}
.quiz__radio.is-on .quiz__radio-mark { border-color: var(--brand-green); }
.quiz__radio.is-on .quiz__radio-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-green);
}
.quiz__radio-lbl { flex: 1; }
.quiz__radio--card { padding: 14px 16px; }
.quiz__radio-stack { display: grid; gap: 4px; }
.quiz__radio-hint {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.quiz__radio--card.is-on .quiz__radio-hint { color: var(--brand-green-dark); }

.quiz__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.quiz__back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}
.quiz__back:hover { color: var(--brand-black); }

/* ============================================================
   TRUST BAR (logos)
   ============================================================ */
.trustbar {
  padding-block: 5rem;
  background: var(--surface-paper);
  border-block: 1px solid rgba(0,0,0,0.04);
}
.trustbar__hd {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 26px;
}
.trustbar__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px 32px;
  align-items: center;
  justify-items: center;
}
.trustbar__row img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--dur-med), filter var(--dur-med);
}
.trustbar__row img:hover { opacity: 1; filter: grayscale(0%); }
.trustbar__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-black);
  opacity: 0.55;
  letter-spacing: -0.01em;
}
@media (max-width: 760px) {
  .trustbar { padding-block: 3.5rem; }
  .trustbar__row { gap: 28px 20px; }
  .trustbar__row img { max-height: 36px; max-width: 120px; }
}

/* ============================================================
   CONTENTS GRID (LP1 — "Co v e-booku najdete")
   ============================================================ */
.contents-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contents-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contents-grid__lead {
  font-size: 17px;
  line-height: 1.55;
  margin: 16px 0 0;
  color: var(--brand-black);
  max-width: 38ch;
}
.contents-grid__meta {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contents-grid__meta span:not([aria-hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contents-grid__meta span[aria-hidden] { color: var(--brand-green); }

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
}
.checklist .chk {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-green);
  display: grid;
  place-items: center;
  color: var(--brand-black);
}
.checklist .chk svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.contents-grid .checklist li { font-size: 18px; }

/* ============================================================
   TESTIMONIAL (LP1)
   ============================================================ */
.testimonial {
  padding-block: var(--space-9);
  background: var(--white);
}
.testimonial__card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--brand-black);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
}
.testimonial__card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(21,201,85,0.10);
  filter: blur(40px);
  pointer-events: none;
}
.testimonial .sec-eyebrow { color: var(--brand-green); }
.testimonial__quote {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  margin: 18px 0 36px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.testimonial__quote .hl { color: var(--brand-green); }
.testimonial__cite {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial__name { margin: 0; font-size: 16px; font-weight: 700; }
.testimonial__role { margin: 2px 0 0; font-size: 13px; color: var(--text-on-dark-soft); }
.testimonial__logo { margin-left: auto; height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
@media (max-width: 640px) {
  .testimonial__card { padding: 36px 28px; border-radius: var(--radius-md); }
  .testimonial__logo { display: none; }
}

/* ============================================================
   PILLAR CARDS (LP2 "Tři situace")
   ============================================================ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pillars__grid { grid-template-columns: 1fr; } }

.pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: box-shadow var(--dur-med) var(--ease-out);
}
.is-dark .pillar { background: var(--surface-dark); color: var(--text-on-dark); }
.is-paper .pillar { background: var(--white); }
.pillar:hover { box-shadow: var(--shadow-md); }
.pillar h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 22px 0 10px;
}
.pillar p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: var(--brand-black);
}
.is-dark .pillar p { color: var(--text-on-dark-soft); }

.pillar--situation {
  position: relative;
  padding: 36px 32px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
  row-gap: 6px;
  align-items: baseline;
}
.pillar--situation .pillar__num {
  grid-row: span 3;
  font-size: clamp(56px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--brand-green);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  align-self: start;
  margin-top: -4px; /* optical-align to first cap-line of heading */
}
.pillar--situation .pillar__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin: 0;
  align-self: end;
}
.pillar--situation h3 { margin: 0; }
.pillar--situation p { margin: 6px 0 0; }
@media (max-width: 540px) {
  .pillar--situation .pillar__num {
    grid-row: auto;
    grid-column: 1 / -1;
    font-size: 48px;
  }
}

/* ============================================================
   PROCESS STEPS (LP2)
   ============================================================ */
.process-section { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--surface-paper);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
}
.is-dark .step { background: var(--surface-dark); }
.step__n {
  font-size: 60px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--brand-green);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  display: block;
}
.step h4 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.step p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  color: var(--brand-black);
}
.is-dark .step p { color: var(--text-on-dark-soft); }

.steps--lp2 .step--lp2 {
  position: relative;
  padding-top: 56px;
}
.step__meta {
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  opacity: 0.75;
}

/* ============================================================
   CASE CARDS (LP2)
   ============================================================ */
.cases-section { padding-block: var(--space-10); }
.cases {
  display: grid;
  gap: 32px;
  margin-top: 56px;
}
.case-card {
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}
.case-card--alt { grid-template-columns: 1.15fr 0.85fr; }
.case-card--alt .case-card__visual { order: 2; }
@media (max-width: 900px) {
  .case-card, .case-card--alt { grid-template-columns: 1fr; }
  .case-card--alt .case-card__visual { order: 0; }
}

.case-card__visual {
  background: var(--brand-black);
  color: var(--text-on-dark);
  padding: 48px 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.case-card__visual::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(21,201,85,0.12);
  filter: blur(40px);
}

/* Editorial magazine-spread treatment: oversized client name as the
   visual, sector as small caps underneath, duration as a green tag.
   Replaces the "big green stat number" hero-metric anti-reference. */
.case-card__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0;
  position: relative;
  z-index: 1;
}
.case-card__client {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.case-card__sector {
  font-size: 13px;
  color: var(--text-on-dark-soft);
  margin: 8px 0 0;
  position: relative;
  z-index: 1;
}
.case-card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-black);
  background: var(--brand-green);
  padding: 6px 12px;
  border-radius: 99px;
  align-self: start;
  justify-self: start;
  position: relative;
  z-index: 1;
}

.case-card__body { padding: 48px 44px; }
.case-card__body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.case-card__lede {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--brand-black);
}
.case-card__techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.tech-chip {
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--brand-black);
  padding: 5px 11px;
  border-radius: 99px;
}
.case-card__quote {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--brand-black);
  position: relative;
  padding: 4px 0 0 48px;
  font-weight: 400;
}
.case-card__quote::before {
  content: "\201E"; /* low-9 double quote — Czech opening */
  position: absolute;
  top: -22px;
  left: 0;
  font-size: 96px;
  line-height: 1;
  color: var(--brand-green);
  font-weight: 700;
  letter-spacing: -0.04em;
  pointer-events: none;
}
@media (max-width: 600px) {
  .case-card__quote { padding-left: 36px; }
  .case-card__quote::before { font-size: 72px; top: -16px; }
}
.case-card__author {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.case-card__author strong { color: var(--brand-black); font-weight: 700; }
@media (max-width: 600px) {
  .case-card__visual, .case-card__body { padding: 32px 24px; }
}

/* ============================================================
   SECOND FORM SECTION
   ============================================================ */
.second-form { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.second-form__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .second-form__grid { grid-template-columns: 1fr; gap: 40px; }
}
.second-form__points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.second-form__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-on-dark-soft);
}
.second-form__points .chk {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.second-form__points .chk svg { width: 13px; height: 13px; stroke-width: 2; }

.second-form__card { display: block; }
.second-form__card .quiz {
  background: var(--white);
  color: var(--brand-black);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}

/* LP2 second form (light bg) */
.second-form--lp2 { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.second-form--lp2 .sec-lead { color: var(--brand-black); }
.second-form__points--light .chk {
  background: var(--brand-green);
  color: var(--brand-black);
}
.second-form__points--light li { color: var(--brand-black); }

.second-form__marek {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.second-form__marek-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-4));
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 700;
}
.second-form__marek-photo img { width: 100%; height: 100%; object-fit: cover; }
.second-form__marek-name { margin: 0; font-size: 16px; }
.second-form__marek-role { margin: 2px 0 6px; font-size: 13px; color: var(--text-muted); }
.second-form__marek-tel {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ============================================================
   THANK YOU PAGES
   ============================================================ */
.thanks {
  padding-block: 9rem 8rem;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(21,201,85,0.16), transparent 60%),
    var(--white);
  text-align: center;
}
.thanks--lp2 {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(21,201,85,0.16), transparent 60%),
    var(--surface-paper);
}
.thanks__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(21,201,85,0.12);
  color: var(--brand-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px 8px 8px;
  border-radius: 99px;
  margin: 0 auto 28px;
}
.thanks__badge .chk--lg {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: grid; place-items: center;
}
.thanks__badge .chk--lg svg { width: 12px; height: 12px; stroke-width: 2.5; }
.thanks__h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto 22px;
  text-wrap: balance;
}
.thanks__h1 .hl { color: var(--brand-green); }
.thanks__sub {
  font-size: 19px;
  line-height: 1.5;
  max-width: 56ch;
  margin: 0 auto 36px;
  color: var(--brand-black);
}
.thanks__sub strong { font-weight: 700; }
.thanks__cta {
  font-size: 17px !important;
  padding: 18px 10px 18px 28px !important;
  margin-bottom: 64px;
}
.thanks__cta .btn__ic { width: 40px !important; height: 40px !important; font-size: 18px !important; }

.thanks__summary {
  max-width: 560px;
  margin: 0 auto 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.thanks__summary-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
}
.thanks__summary-row:last-child { border-bottom: none; }
.thanks__summary-key {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thanks__summary-val {
  color: var(--brand-black);
  font-weight: 700;
  word-break: break-word;
}
@media (max-width: 540px) {
  .thanks__summary-row { grid-template-columns: 1fr; gap: 4px; }
}

.thanks__marek {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  text-align: left;
}
.thanks--lp2 .thanks__marek { background: var(--white); }
.thanks__marek-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-3));
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 13px;
}
.thanks__marek-photo img { width: 100%; height: 100%; object-fit: cover; }
.thanks__marek-quote {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 16px;
  font-style: italic;
  color: var(--brand-black);
}
.thanks__marek-name { font-size: 14px; margin: 0 0 18px; color: var(--text-muted); }
.thanks__marek-name strong { color: var(--brand-black); }
.thanks__marek-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .thanks__marek { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .thanks__marek-photo { margin: 0 auto; width: 110px; height: 110px; }
  .thanks__marek-ctas { justify-content: center; }
}

.thanks__lp2 {
  margin: 56px auto 0;
  max-width: 720px;
  background: var(--brand-black);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: left;
  display: grid;
  gap: 8px;
}
.thanks__lp2-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0;
}
.thanks__lp2-text {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  color: var(--text-on-dark-soft);
}
.thanks__lp2-link {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.thanks__lp2-link:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brand-black);
  color: var(--text-on-dark);
  padding: 80px 0 32px;
}
.footer--marek-only { padding: 32px 0; }
.footer--marek-only .footer__marek {
  padding: 0;
  border-top: 0;
  margin-bottom: 0;
}
.footer--legal-only { padding: 24px 0; }
.footer--legal-only .footer__bottom {
  border-top: 0;
  padding-top: 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }
.footer__logo { width: 132px; }
.footer__tagline { color: var(--text-on-dark-soft); margin-top: 10px; font-size: 15px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer__nav { grid-template-columns: 1fr 1fr; } }
.footer__nav h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0 0 16px;
}
.footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__nav a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 15px;
}
.footer__nav a:hover { color: var(--brand-green); }
.footer__bottom {
  border-top: 1px solid var(--border-soft-dark);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-on-dark-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer Marek block — direct-contact anchor under the main footer nav. */
.footer__marek {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft-dark);
  margin-bottom: 24px;
}
.footer__marek-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.footer__marek-photo img { width: 100%; height: 100%; object-fit: cover; }
.footer__marek-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0 0 4px;
}
.footer__marek-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}
.footer__marek-role {
  font-size: 13px;
  color: var(--text-on-dark-soft);
  margin: 2px 0 14px;
}
.footer__marek-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
}
.footer__marek-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__marek-links a:hover { color: var(--brand-green); }
.footer__marek-links svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .footer__marek { grid-template-columns: 64px 1fr; gap: 18px; }
  .footer__marek-photo { width: 64px; height: 64px; }
  .footer__marek-links { gap: 8px 18px; font-size: 13px; }
}

/* ============================================================
   LP4 — Software z Ostravy (hub landing)
   ============================================================ */

/* Hero variant (GREEN anthem, V8) — joined seamlessly to faces-band below */
.hero--ostrava {
  padding-block: 4rem 4rem;
  background: var(--brand-green);
  color: var(--brand-black);
  position: relative;
  overflow: hidden;
}
.hero--ostrava::before {
  content: none;
}
.hero--ostrava .hero__inner {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 64px;
}
.hero--ostrava h1,
.hero--ostrava .hero--ostrava__title {
  font-size: clamp(52px, 6.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--brand-black);
  text-wrap: nowrap;
  font-weight: 700;
}
@media (max-width: 540px) {
  .hero--ostrava h1,
  .hero--ostrava .hero--ostrava__title { text-wrap: balance; }
}
.hero--ostrava h1 .hl { color: var(--brand-black); }
.hero--ostrava .hero__sub {
  font-size: 19px;
  max-width: 48ch;
  margin-bottom: 28px;
  color: var(--brand-black);
}

/* Eyebrow chip on green hero — dark pill with green text */
.hero--ostrava .hero__eyebrow,
.hero--ostrava .hero__eyebrow--dark {
  background: var(--brand-black);
  color: var(--brand-green);
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
  margin-bottom: 26px;
  font-weight: 700;
}

/* Top-right floating status banner — subtle ghost text overlay, V8 style */
.hero--ostrava .hero__top-status {
  position: absolute;
  top: 110px;
  right: var(--container-pad-desktop);
  z-index: 0;
  text-align: right;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: rgba(18,18,18,0.18);
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 480px;
  filter: blur(2px);
  pointer-events: none;
}
.hero--ostrava .hero__top-status strong {
  color: rgba(18,18,18,0.28);
  font-weight: 700;
}

/* Stats row — dark cards with green numbers (on green hero) */
.hero--ostrava .hero__stats {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}
.hero--ostrava .hero__stats li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--brand-black);
  border: none;
  border-radius: var(--radius-sm);
}
.hero--ostrava .hero__stats strong {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-green);
}
.hero--ostrava .hero__stats span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 540px) {
  .hero--ostrava .hero__stats li { padding: 14px 14px; }
  .hero--ostrava .hero__top-status { position: static; text-align: left; max-width: none; filter: blur(0.5px); }
}
@media (max-width: 980px) {
  .hero--ostrava .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .hero--ostrava { padding-block: 4rem 6rem; }
  .hero--ostrava h1 { font-size: clamp(40px, 12vw, 60px); }
}

/* Faces-of-Atreo hero variant — landscape brand photo of the 3 devs */
.video-stage--faces {
  aspect-ratio: 4 / 5;
  background: var(--brand-green);
}
.video-stage--faces .video-stage__poster {
  object-fit: cover;
  object-position: center 32%;
  background: var(--brand-green);
}
.video-stage--faces::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65) 100%);
}
@media (max-width: 980px) {
  .video-stage--faces { aspect-ratio: 16 / 12; }
  .video-stage--faces .video-stage__poster { object-position: center 28%; }
}

/* "Tváře Atrea" — V8 bottom-anchored poster band.
   Joined visually to the hero above. Side edges of the photo fade to the
   green background via mask-image, so any side-crop dissolves softly. */
.faces-band {
  position: relative;
  background: var(--brand-green);
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.faces-band__photo {
  width: 100%;
  max-width: 2000px;
  height: auto;
  display: block;
  margin: 0 auto;
  /* Soft side fade: full opacity in the centre, fading to transparent
     edges so the underlying brand-green seamlessly absorbs the crop. */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, #000 10%, #000 90%, transparent 100%);
}
@media (max-width: 900px) {
  .faces-band__photo {
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
}

/* Video / workshop stage in hero */
.video-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-dark-2);
  aspect-ratio: 4 / 5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 32px 80px rgba(0,0,0,0.45);
  isolation: isolate;
  display: block;
}
.video-stage__poster,
.video-stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.video-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}
.video-stage__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 3px solid var(--brand-black);
  background: var(--brand-green);
  color: var(--brand-black);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.95), 0 18px 40px rgba(0,0,0,0.45);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med);
}
.video-stage__play:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--brand-green-dark);
}
.video-stage__play:disabled { cursor: not-allowed; opacity: 0.86; }
.video-stage__play-icon { font-size: 28px; line-height: 1; padding-left: 5px; }
.video-stage__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 96px;
  z-index: 2;
  color: var(--text-on-dark);
  display: grid;
  gap: 12px;
}
.video-stage__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-stage__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 var(--brand-green);
  animation: lp4-pulse 1.6s var(--ease-out) infinite;
}
@keyframes lp4-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(21,201,85,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(21,201,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,201,85,0); }
}
.video-stage__line {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  text-wrap: pretty;
  max-width: 22ch;
}
.video-stage__strong { color: var(--brand-green); font-weight: 700; }
.video-stage__stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.video-stage__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 6px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.video-stage__stats > div:last-child { border-right: none; }
.video-stage__stats strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-green);
  line-height: 1;
}
.video-stage__stats span {
  font-size: 11px;
  color: var(--text-on-dark-soft);
  line-height: 1.25;
}
@media (max-width: 980px) { .video-stage { aspect-ratio: 16 / 11; } }
@media (max-width: 560px) {
  .video-stage__caption { left: 16px; right: 16px; bottom: 84px; }
  .video-stage__play { width: 72px; height: 72px; }
  .video-stage__stats strong { font-size: 18px; }
}

/* 3 service paths (cards routing to LP1/LP2/LP3) */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  text-decoration: none;
  color: var(--brand-black);
  position: relative;
  transition: border-color var(--dur-med), transform var(--dur-med), box-shadow var(--dur-med);
}
.path-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--brand-black);
}
.path-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green-dark);
}
.path-card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  margin: 4px 0;
}
.path-card__icon svg { width: 26px; height: 26px; stroke-width: 2; }
.path-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 12px 0 4px;
  letter-spacing: -0.01em;
}
.path-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-light);
  margin: 0 0 18px;
}
.path-card__meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-soft-dark);
}
.path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-black);
  margin-top: 8px;
}
.path-card__arrow {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  font-size: 14px;
  transition: transform var(--dur-med);
  font-weight: 700;
}
.path-card:hover .path-card__arrow { transform: translateX(4px); }

/* Anti-vibekódění band */
.vibekod-band {
  padding-block: var(--space-9);
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(21,201,85,0.18), transparent 60%),
    var(--brand-black);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin: var(--space-9) 0;
}
.vibekod-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 60px);
  pointer-events: none;
}
.vibekod-band__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
/* Video background variant — YouTube iframe fills the band, dark veil for copy legibility */
.vibekod-band--video { isolation: isolate; }
.vibekod-band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
  /* Scale up to avoid YouTube's letterbox bars showing within an aspect != 16/9 container */
  transform: scale(1.35);
  transform-origin: center;
}
.vibekod-band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(21,201,85,0.20), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.vibekod-band--video::before { display: none; }
.vibekod-band__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-green);
  background: rgba(21,201,85,0.14);
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 26px;
}
.vibekod-band__line {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 700;
  text-wrap: balance;
  color: var(--text-on-dark);
}
.vibekod-band__strike {
  position: relative;
  display: inline-block;
  color: var(--text-on-dark);
}
.vibekod-band__strike::after {
  content: "";
  position: absolute;
  left: -6%; right: -6%;
  top: 52%;
  height: 6px;
  background: var(--brand-green);
  transform: rotate(-3deg);
  border-radius: 6px;
}
.vibekod-band__hl { color: var(--brand-green); }
.vibekod-band__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-on-dark-soft);
  max-width: 56ch;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.vibekod-band__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--outline--light,
.btn--outline--light:hover,
.btn--outline--light:focus {
  background: transparent;
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}
.btn--outline--light .btn__ic { background: rgba(255,255,255,0.16); color: var(--text-on-dark); }
.btn--outline--light:hover { box-shadow: inset 0 0 0 2px var(--brand-green); color: var(--white); }

/* Why-us redesign (V8) — 2-col, paragraphs (no card chrome), photo + 74+ stat */
.why-section {
  padding-block: var(--space-9);
  background: var(--surface-light);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
}
.why-copy { max-width: 640px; }
.why-kicker {
  display: inline-block;
  background: var(--brand-green);
  color: var(--brand-black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.why-title {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  color: var(--brand-black);
}
.why-pillars { display: grid; gap: 28px; }
.why-pillar h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--brand-black);
}
.why-pillar p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}
.why-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.why-marek-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.why-marek-mini__photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-paper);
  border: 2px solid var(--brand-green);
  flex-shrink: 0;
}
.why-marek-mini__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-marek-mini__copy { display: grid; line-height: 1.2; font-size: 14px; }
.why-marek-mini__copy strong { font-weight: 700; color: var(--brand-black); font-size: 16px; }
.why-marek-mini__copy span { color: var(--text-muted); font-size: 13px; }

.why-visual {
  position: relative;
  border-radius: var(--radius-md);
}
.why-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-dark);
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.why-photo__stat {
  position: absolute;
  right: -16px;
  bottom: -20px;
  background: var(--brand-green);
  color: var(--brand-black);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 4px;
  box-shadow: 0 14px 30px rgba(21,201,85,0.30);
  min-width: 180px;
}
.why-photo__stat strong {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brand-black);
}
.why-photo__stat span {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-black);
}
@media (max-width: 540px) {
  .why-photo__stat {
    right: 12px;
    bottom: -16px;
    padding: 16px 20px;
    min-width: 0;
  }
  .why-photo__stat strong { font-size: 32px; }
}

/* Why-us pillars (LP4) — legacy (kept for any other section using .pillar--why) */
.pillar--why {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 30px 30px;
  border: 1px solid var(--border-soft);
}
.pillar--why .pillar__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  margin-bottom: 18px;
}
.pillar--why .pillar__icon svg { width: 26px; height: 26px; stroke-width: 2; }
.pillar--why h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 22px 0 8px;
  letter-spacing: -0.01em;
}
.pillar--why p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-light);
  margin: 0;
}

.why-marek {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 64px;
  padding: 32px 36px;
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  max-width: 820px;
}
.why-marek__photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-4));
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.why-marek__photo img { width: 100%; height: 100%; object-fit: cover; }
.why-marek__quote {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--brand-black);
  text-wrap: pretty;
}
.why-marek__name { margin: 0; font-size: 14px; color: var(--text-muted); }
.why-marek__name strong { color: var(--brand-black); }
@media (max-width: 720px) {
  .why-marek { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .why-marek__photo { margin: 0 auto; width: 110px; height: 110px; }
}

/* Atelier band */
.atelier-band {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-black);
  color: var(--text-on-dark);
}
@media (max-width: 760px) { .atelier-band { grid-template-columns: 1fr; } }
.atelier-band__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-dark);
}
.atelier-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.atelier-band__body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.atelier-band__kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-green);
}
.atelier-band__line {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
}
.atelier-band__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.atelier-band__stat-n {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--brand-green);
  line-height: 1;
}
.atelier-band__stat-lbl {
  font-size: 14px;
  color: var(--text-on-dark-soft);
}

/* E-book pull section */
.ebook-pull__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .ebook-pull__grid { grid-template-columns: 1fr; gap: 40px; }
}
.ebook-pull__points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.ebook-pull__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--brand-black);
}
.ebook-pull__points .chk {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ebook-pull__points .chk svg { width: 14px; height: 14px; stroke-width: 2; }
.ebook-pull__visual { position: relative; }
.ebook-pull__cover {
  position: relative;
  margin-left: auto;
  max-width: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  background: var(--surface-paper);
  aspect-ratio: 3 / 4;
}
.ebook-pull__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) { .ebook-pull__cover { margin-left: 0; } }

/* 3D book PNG (no card chrome — image already has its own perspective + shadow) */
.ebook-pull__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ebook-pull__book {
  position: relative;
  width: 110%;
  max-width: 820px;
  margin: 0 auto;
}

/* LP1 hero — book dominates the right column, bleeds past container edge */
.hero--ebook .hero__visual {
  position: relative;
  overflow: visible;
}
.hero--ebook .hero__visual .ebook-pull__book {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: 0;
  transform: none;
}
.hero--ebook .hero__visual .ebook-pull__stamp {
  top: auto;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-size: 13px;
  padding: 10px 20px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero--ebook .hero__visual .ebook-pull__book {
    width: 100%;
    margin-right: 0;
    transform: none;
  }
  .hero--ebook .hero__visual .ebook-pull__stamp { left: 0; top: 12%; }
}
.ebook-pull__book img {
  width: 100%;
  height: auto;
  display: block;
}
.ebook-pull__stamp {
  position: absolute;
  top: 28%;
  left: -8%;
  z-index: 2;
  background: var(--brand-green);
  color: var(--brand-black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
}
@media (max-width: 900px) {
  .ebook-pull__book { max-width: 520px; }
  .ebook-pull__stamp { top: 14%; left: 0; transform: rotate(-3deg); }
}

/* References (Monery / Metrie cards on dark) */
.refs-lp4__grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.ref-lp4 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  background: var(--surface-dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ref-lp4--alt { grid-template-columns: 0.9fr 1.1fr; }
.ref-lp4--alt .ref-lp4__shot { order: 2; }
@media (max-width: 900px) {
  .ref-lp4, .ref-lp4--alt { grid-template-columns: 1fr; }
  .ref-lp4--alt .ref-lp4__shot { order: 0; }
}
.ref-lp4__shot {
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.ref-lp4__shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 50% 100%, rgba(21,201,85,0.16), transparent 60%);
  pointer-events: none;
}
.ref-lp4__shot-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
}
.ref-lp4__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text-on-dark);
}
.ref-lp4__head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ref-lp4__logo {
  max-height: 36px;
  max-width: 160px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-sizing: content-box;
  display: block;
  width: auto;
  height: auto;
}
.ref-lp4__logo-fallback {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.ref-lp4__role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  background: rgba(21,201,85,0.12);
  padding: 6px 12px;
  border-radius: 99px;
}
.ref-lp4__body-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-dark-soft);
  margin: 0;
}
.ref-lp4__techs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.refs-lp4__more {
  margin: 32px 0 0;
  text-align: center;
  color: var(--text-on-dark-soft);
  font-size: 14px;
}
.refs-lp4__more a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.refs-lp4__more a:hover { color: var(--white); }
@media (max-width: 540px) { .ref-lp4__body { padding: 28px 24px; } }

/* Tech section */
.tech-section { padding-block: var(--space-9); }
.tech-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.tech-row img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--dur-med);
}
.tech-row img:hover { opacity: 1; }
.is-paper .tech-row img { filter: none; }
@media (max-width: 768px) {
  .tech-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Marquee — brand tagline scroller */
.marquee {
  background: var(--brand-black);
  color: var(--text-on-dark);
  padding: 28px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__seg {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: clamp(22px, 3.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-right: 48px;
}
.marquee__seg .accent { color: var(--brand-green); }
.marquee__dot {
  width: 10px;
  height: 10px;
  background: var(--brand-green);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: translateX(0); }
}
.marquee-section { padding-block: var(--space-8); }

/* Second form — LP4 dark variant */
.second-form--lp4 {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.second-form--lp4 .sec-lead { color: var(--text-on-dark-soft); }
.second-form--lp4 .second-form__marek {
  border-top-color: rgba(255,255,255,0.08);
  color: var(--text-on-dark);
}
.second-form--lp4 .second-form__marek-name strong,
.second-form--lp4 .second-form__marek-tel { color: var(--white); }
.second-form--lp4 .second-form__marek-tel:hover { color: var(--brand-green); }
.second-form--lp4 .second-form__marek-role { color: var(--text-on-dark-soft); }

/* Thanks — LP4 variant + router */
.thanks--lp4 {
  background:
    radial-gradient(800px 360px at 50% -20%, rgba(21,201,85,0.16), transparent 60%),
    var(--surface-paper);
}
.thanks__router {
  margin: 56px auto 0;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: left;
  display: grid;
  gap: 6px;
}
.thanks__router-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green-dark);
  margin: 0;
}
.thanks__router-text {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 8px;
  color: var(--brand-black);
}
.thanks__router-link {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-black);
  text-decoration: underline;
  text-decoration-color: var(--brand-green);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.thanks__router-link:hover { color: var(--brand-green-dark); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.sticky-cta[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  background: var(--brand-black);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) {
  .consent {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 420px;
    grid-template-columns: 1fr;
  }
}
.consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-on-dark-soft);
}
.consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.consent .btn--outline {
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}
.consent .btn--outline .btn__ic { background: var(--white); color: var(--brand-black); }

/* ============================================================
   HERO ENTRANCE (one purposeful reveal, staggered)
   ============================================================ */
/* ===== Scroll reveal (progressive entrance, IntersectionObserver-driven) ===== */
/* `has-reveal` is set on <html> by script.js ONLY when IntersectionObserver exists and
   the user has not requested reduced motion. So without JS, on old browsers, or with
   reduced-motion, none of this applies and all content stays visible. The hero is
   excluded by the script (it has its own entrance stagger below). No will-change: with
   dozens of hidden units it would promote far too many compositor layers on mobile;
   opacity/transform are composited on demand during the reveal and dropped afterwards. */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .has-reveal .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero__copy > *,
  .hero__visual {
    animation: hero-rise 720ms var(--ease-out) both;
  }
  .hero__copy > :nth-child(1) { animation-delay: 60ms; }
  .hero__copy > :nth-child(2) { animation-delay: 140ms; }
  .hero__copy > :nth-child(3) { animation-delay: 220ms; }
  .hero__copy > :nth-child(4) { animation-delay: 320ms; } /* quiz shell */
  .hero__copy > :nth-child(5) { animation-delay: 440ms; } /* byline / or hint */
  .hero__copy > :nth-child(6) { animation-delay: 520ms; }
  .hero__visual { animation-delay: 260ms; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-hl { color: var(--brand-green); }
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 24px; }

[hidden] { display: none !important; }
