@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --font-narrative: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;
  --color-bg: #f6efe4;
  --color-bg-deep: #17324d;
  --color-bg-soft: #fffaf2;
  --color-accent: #f59e0b;
  --color-accent-strong: #22c55e;
  --color-text: #1d2a39;
  --color-text-muted: rgba(29, 42, 57, 0.78);
  --color-line: rgba(23, 50, 77, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 56px rgba(85, 61, 22, 0.14);
  --shadow-soft: 0 14px 32px rgba(85, 61, 22, 0.1);
  --spacing-section: 10px;
  --cta-primary: #3F7E6D;
  --cta-secondary: #ffffff;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(23, 50, 77, 0.08);
  --section-alt: #f1f4f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background:
    radial-gradient(120% 90% at 50% -12%, rgba(255, 255, 255, 0.88) 0%, rgba(246, 239, 228, 0) 54%),
    linear-gradient(180deg, #fff8ee 0%, #f6efe4 36%, #eef3f7 100%);
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.2px;
}

.container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: static;
  z-index: 100;
  background: rgba(255, 248, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 16px;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}

.nav {
  display: none;
}

.header-cta {
  padding: 12px 18px;
  background: var(--cta-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(60, 127, 111, 0.28);
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.header-cta:hover {
  opacity: 0.95;
}

.header-cta-test {
  background: transparent;
  color: var(--color-text-muted);
  box-shadow: none;
  font-size: 0.8rem;
}

.header-cta-test:hover {
  color: var(--color-text);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
  }

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

  .hero-img-1 {
    width: 100%;
  }

  .hero-img-2 {
    max-width: 360px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

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

.btn-primary {
  background: var(--cta-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: #356B5D;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
  background: #356B5D;
}

.btn-secondary {
  background: var(--cta-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
}

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

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 18px;
}

.hero {
  padding: 20px 0 56px;
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.hero-content {
  text-align: center;
}

.hero-content-bg {
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.56) 100%);
}

.hero-content-inner {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: 20px 20px 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-content-inner:hover {
  transform: translateY(-2px);
}

.hero-content-inner:focus-visible {
  outline: 3px solid rgba(47, 111, 94, 0.35);
  outline-offset: 4px;
}

.hero-logo-row {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.hero-copy {
  max-width: 320px;
}

/* Hero typography — мобільний ритм: компактний заголовок, швидке читання */
.hero-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
  color: #1f2937;
  max-width: 320px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
}

.hero-title-story {
  font-size: 32px;
  font-style: normal;
  max-width: 320px;
  line-height: 1.1;
}

.hero-title-main,
.hero-title-sub {
  display: block;
}

.hero-title-sub {
  margin-top: 6px;
  font-size: 0.9em;
  color: #243241;
}

@media (min-width: 768px) {
  .hero-content-bg {
    min-height: 520px;
  }

  .hero-title-story {
    font-size: 30px;
    line-height: 1.2;
  }
}

.hero-product-hint {
  font-size: 16px;
  color: #26362f;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  max-width: 280px;
}

.hero-info-card {
  width: min(100%, 290px);
  padding: 16px 16px 14px;
  border-radius: 18px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-product-hint {
    font-size: 15px;
  }

  .hero-content-bg .hero-cta .btn-primary {
    font-size: 16px;
  }

  .hero-quick-benefit-item {
    font-size: 13px;
  }
}

.hero-product-timing {
  font-size: 1rem;
  color: #8b5e00;
  margin: 0 0 12px;
  font-weight: 600;
}

.hero-story-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 14px;
  line-height: 1.55;
  font-weight: 400;
}

/* Сторителінг під картинкою — емоційний перехід */
.hero-story-under {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 20px 0 0;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-story-under strong {
  font-style: normal;
  color: var(--color-text);
}

.hero-story-intro-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

/* Storytelling: narrative emphasis — serif italic, light pink, left accent */
.hero-story-scene {
  background: #fdf6f2;
  border: none;
  border-left: 4px solid #c48b7a;
  border-radius: 0 16px 16px 0;
  padding: 28px 24px;
  margin: 0 0 26px;
  box-shadow: 0 4px 20px rgba(196, 139, 122, 0.12);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #4a3428;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-story-scene p {
  margin: 0 0 14px;
  font-size: inherit;
  font-style: inherit;
}

.hero-story-scene p:last-child {
  margin-bottom: 0;
}

.hero-story-scene .scene-time {
  font-style: normal;
}

.hero-story-reflect {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.hero-story-question {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.hero-story-question-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.hero-cta-hint {
  font-size: 1rem;
  color: #8b5e00;
  margin: 0 0 24px;
  font-weight: 700;
}

.hero-link-secondary {
  font-size: 15px;
  color: #2A6DF4;
  text-decoration: none;
  font-weight: 500;
}

.hero-link-secondary:hover {
  text-decoration: underline;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: min(100%, 310px);
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-cta .btn-primary,
.cta-wrap .btn-primary {
  width: 100%;
  max-width: 420px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.hero-content-bg .hero-cta .btn-primary {
  width: 100%;
  max-width: 100%;
  min-height: 58px;
  margin-top: 6px;
  margin-bottom: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f59e0b, #f97316);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.hero-quick-benefits {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
  width: 100%;
}

.hero-quick-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  color: #213129;
  line-height: 1.35;
  font-weight: 500;
}

.hero-quick-benefit-icon {
  flex-shrink: 0;
  width: 18px;
  color: #2f6f5e;
  font-size: 16px;
  line-height: 1;
}

.hero-quick-benefit-text {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.hero-trust-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.cta-price {
  font-size: 14px;
  color: #5F6B6A;
  text-align: center;
}

.cta-trust {
  font-size: 13px;
  color: #8A9493;
  text-align: center;
}

.price-info {
  display: inline-block;
  background: #F3F4F2;
  border-radius: 10px;
  padding: 5px;
  margin-top: 8px;
  font-size: 14px;
  color: #4B5C59;
  line-height: 1.35;
}

.price-info span {
  display: block;
}

/* Hero image 1 — під текстом, 100% width, 4:5, blur edges */
.hero-img-wrap {
  overflow: hidden;
}

.hero-img-1 {
  width: 100%;
  margin: 20px 0 12px;
}

.hero-img-1 .hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(23, 50, 77, 0.06);
}

/* Hero image 2 — в середині історії, 88%, інтимна сцена */
.hero-img-2 {
  width: 88%;
  margin: 20px auto;
}

.hero-img-story {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(23, 50, 77, 0.06);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* Hero image 3 — продукт, контейнер по ширині картинки, скруглені краї */
.hero-img-3 {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 18px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img-product {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.hero-story-block,
.hero-product-block {
  margin-top: 20px;
  text-align: center;
}

.hero-story-scene-after {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-transition {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.hero-transition-narrative {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #4a3428;
  background: #fef9e7;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px 18px 20px;
  margin: 0 0 20px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.hero-transition-narrative::before {
  content: "💡";
  font-style: normal;
  flex-shrink: 0;
}

/* Акцент-блок над слайдером — інтерактивна демо */
.hero-transition-accent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F4F1EA;
  padding: 20px;
  border-radius: 16px;
  border-left: 4px solid #E0A83F;
  margin: 0 0 20px;
  text-align: left;
}

.hero-transition-accent p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.5;
  color: #4a3428;
}

.hero-transition-accent strong {
  color: var(--color-text);
}

.hero-transition-icon {
  font-style: normal;
  flex-shrink: 0;
}

.hero-transition strong {
  color: var(--color-text);
  display: block;
  margin-top: 0.25em;
}

/* Hero product card — контейнер-фокус для інтерактивної демо */
.hero-product-card {
  background: #F7F5F2;
  border-radius: 20px;
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  margin: 0 0 16px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero-product-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d2a39;
  text-align: center;
  margin: 0;
  padding: 20px 20px 12px;
  background: #f5f3f0;
  line-height: 1.25;
  transition: opacity 0.25s ease;
}

.hero-product-card-title.slider-transition {
  opacity: 0.6;
}

.hero-product-card-img {
  padding: 12px 20px 20px;
  background: #f5f3f0;
  text-align: center;
}

.hero-product-card-img .screen-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Hero slider — конверсійний порядок, 3 рівні, стрілки overlay, індикатори */
.hero-product-card-slider {
  overflow: hidden;
  padding: 14px 14px 10px;
}

/* Заголовок слайдера: номер + підказка */
.hero-slider-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 6px;
}

.hero-slider-counter-top {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-slider-counter-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Pill-бейдж — індикатор дії */
.hero-slider-callout {
  display: inline-block;
  margin: 0 auto 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #FFF4D6;
  color: #8A6B2F;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-slider-wrap {
  position: relative;
  overflow: hidden;
}

.hero-slider-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  background: rgba(23, 50, 77, 0.72);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero-slider-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(63, 126, 109, 0.45);
  background: rgba(255, 255, 255, 0.9);
  color: #2F6F5E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 6px 14px rgba(23, 50, 77, 0.16);
  transition: opacity 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.hero-slider-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(23, 50, 77, 0.2);
}

.hero-slider-prev {
  left: 8px;
}

.hero-slider-next {
  right: 8px;
}

.hero-slider-arrow svg {
  display: block;
}

.hero-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 10px;
  padding: 4px 0 10px;
}

.hero-slide.is-nudge {
  animation: hero-slide-nudge 0.25s ease-out;
}

@keyframes hero-slide-nudge {
  0% { transform: translateX(0); }
  40% { transform: translateX(12px); }
  100% { transform: translateX(0); }
}

.hero-slider::-webkit-scrollbar {
  display: none;
}

/* Peek наступного слайду — як Netflix/Apple */
.hero-slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
  padding: 0 8px;
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

.hero-slide-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  max-width: 228px;
  margin: 0 auto;
  text-align: left;
}

.hero-slide .screen-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 280 / 607;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
}

.hero-slide-zoom {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 50, 77, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1d2a39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  cursor: pointer;
}

.hero-slide-zoom svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hero-slide-zoom-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.hero-slide-zoom-wrap .hero-slide-zoom {
  pointer-events: auto;
}

.hero-slide-zoom-label {
  font-size: 11px;
  color: #666666;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 6px;
  border-radius: 8px;
  line-height: 1.2;
  pointer-events: none;
}

.hero-zoom-first-hint {
  position: absolute;
  top: 0;
  right: 48px;
  white-space: nowrap;
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
  pointer-events: none;
}

.hero-slide-zoom.is-pulse {
  animation: heroZoomPulse 0.8s ease-in-out 2;
}

@keyframes heroZoomPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
}

.hero-zoom-modal.is-open {
  display: flex;
}

.hero-zoom-modal-content {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-zoom-modal-img {
  width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.hero-zoom-close {
  position: absolute;
  top: -12px;
  right: -6px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero-slide-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #1F5F4A;
  margin: 0 0 3px;
  line-height: 1.06;
  max-width: 228px;
}

.badge-number {
  display: inline-block;
  width: fit-content;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
  color: #1F5F4A;
  background: #E9F6EE;
  padding: 3px 8px;
  border-radius: 8px;
  margin: 0 0 3px;
}

.hero-slide-description {
  margin: 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.18;
  max-width: 228px;
}

.hero-slide-highlight {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 600;
  color: #1F5F4A;
}

/* Візуальний свайп-індикатор */
.hero-slider-swipe-hint {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 6px 0 4px;
  letter-spacing: 0.05em;
}

.hero-slider-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
}

.hero-slider-counter {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6B7280;
}

.hero-slide-story {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 18px;
}

.hero-slide-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #8b5e00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-slide-label {
  margin: 0;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-slide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.hero-shot {
  margin: 0;
}

.hero-shot .screen-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
}

.hero-shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

@media (max-width: 560px) {
  .hero-slide {
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .hero-slide-copy {
    height: auto;
  }


  .hero-slider-callout {
    display: block;
    text-align: center;
  }

  .hero-slide {
    flex: 0 0 85%;
  }

  .hero-slide-pair {
    gap: 10px;
  }

  .hero-shot figcaption {
    font-size: 0.76rem;
  }
}

@media (max-width: 390px) {
  .hero-slide-title {
    font-size: 22px;
    line-height: 1.06;
  }

  .hero-slide-description {
    font-size: 13px;
    line-height: 1.18;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    padding: 0 14px;
  }

  .hero-slide-pair {
    max-width: 660px;
    margin: 0 auto;
    gap: 18px;
  }
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 12px 0 4px;
  flex-wrap: wrap;
}

.hero-slider-dot {
  width: 36px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(63, 126, 109, 0.32);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}

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

.hero-slider-dot:hover {
  border-color: rgba(63, 126, 109, 0.6);
  opacity: 0.85;
}

.hero-slider-dot.is-active {
  border-color: #3F7E6D;
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 4px 10px rgba(63, 126, 109, 0.2);
}

.hero-product-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0;
  line-height: 1.2;
}

.hero-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  margin: 12px 0 16px;
}

.hero-product-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: rgba(60, 127, 111, 0.2);
  color: #236157;
  border: 1px solid rgba(60, 127, 111, 0.35);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: flex-end;
}

.hero-visual img,
.block-visual img,
.screen-visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(23, 50, 77, 0.08);
}

.hero-visual img {
  max-width: 200px;
}

.hero-visual-2 {
  max-width: 140px;
  transform: translateY(20px);
}

.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 18px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-title-sub {
  margin-top: 48px;
}

/* Quote card — референс (light yellow, orange bar, lightbulb) */
.quote-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #fef9e7;
  border-left: 4px solid #e67e22;
  border-radius: 0 12px 12px 0;
  margin: 0 auto 24px;
  max-width: 560px;
}

.quote-card-icon {
  flex-shrink: 0;
  color: #2c3e50;
}

.quote-card-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
  color: #2c3e50;
  margin: 0;
  line-height: 1.35;
}

.quote-card-insight {
  margin-bottom: 20px;
}

.section-lead {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0 auto 28px;
  text-align: center;
  max-width: 600px;
}

/* Narrative emphasis — serif italic block */
.section-insight {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: #4a3428;
  margin: 0 auto 32px;
  text-align: center;
  max-width: 560px;
  padding: 20px 24px;
  background: #fdf6f2;
  border-left: 4px solid #c48b7a;
  border-radius: 0 12px 12px 0;
  line-height: 1.6;
  box-shadow: 0 4px 20px rgba(196, 139, 122, 0.1);
}

.block-visual {
  margin: 0 auto 32px;
  text-align: center;
}

.block-visual img {
  max-width: 560px;
}

/* Блок 5: візуал між «Що я роблю не так?» і «Правда, яку мало хто говорить» */
.block-visual-mozok {
  margin: 48px auto;
  width: 100%;
  max-width: 760px;
  border-radius: 20px;
  overflow: hidden;
}

.block-visual-mozok img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border: none;
}

.block-visual-screens img,
.screen-visual img {
  max-width: 280px;
}

.section-screens .btn {
  margin-bottom: 24px;
}

.section-problem,
.section-insight-block,
.section-experts,
.section-faq,
.footer {
  background: #ffffff;
}

/* recognition — компактні відступи */
.section-problem {
  padding: 10px 0;
}

.section-problem .section-title {
  margin-bottom: 14px;
}

.section-problem .micro-stack {
  margin-bottom: 18px;
}

.section-problem .section-lead {
  margin-bottom: 18px;
}

.section-problem .recognition-list {
  margin: 18px 0 20px;
}

.section-problem .story-quote {
  margin: 18px auto;
}

.section-problem .highlight-card {
  margin: 18px auto;
}

.section-problem .block-visual-mozok {
  margin: 24px auto;
}

.section-problem .block-visual {
  margin: 0 auto 18px;
}

.section-neuro,
.section-challenges,
.section-final-cta {
  background: var(--section-alt);
}

.section-trust,
.section-pricing,
#who,
#solution,
#screens,
#result {
  background: transparent;
}

.recognition-list,
.pricing-features,
.result-col ul,
.problem-list,
.faq-list {
  list-style: none;
  padding: 0;
}

.recognition-list {
  margin: 24px 0 28px;
}

.recognition-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 16px;
  font-size: 17px;
  box-shadow: var(--shadow-soft);
}

.what-cards,
.challenges-grid,
.benefits-grid,
.how-steps,
.who-grid,
.result-grid,
.pricing-includes {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
}
.pricing-includes h3 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.pricing-includes ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.pricing-includes li {
  margin-bottom: 6px;
}

.reviews-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.what-card,
.challenge-card,
.who-card,
.result-col,
.pricing-card,
.faq-item,
.experts-note,
.trust-strip,
.daily-example {
  box-shadow: var(--shadow-soft);
}

.what-card,
.challenge-card,
.who-card,
.result-col,
.pricing-card,
.faq-item,
.experts-note {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.what-card,
.challenge-card,
.pricing-card {
  padding: 24px;
}

.what-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: rgba(245, 158, 11, 0.14);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  color: var(--color-accent);
}

.what-card h3,
.challenge-card h3,
.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.what-card p,
.challenge-card p,
.experts-note p,
.faq-item p,
.pricing-features li,
.trust-strip span,
.who-card {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-top: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  border: 1px solid rgba(23, 50, 77, 0.08);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip-icon,
.pricing-check {
  flex-shrink: 0;
  color: var(--color-accent);
}

.screen-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}

.screen-block:last-child {
  margin-bottom: 0;
}

.screen-visual {
  order: -1;
  text-align: center;
}

.screen-content h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.screen-content p {
  margin: 0 0 10px;
  color: var(--color-text-muted);
}

.daily-example {
  margin-top: 16px;
  padding: 16px;
  background: #fff8eb;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-accent);
}

.daily-example p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.challenge-days,
.pricing-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.challenge-days {
  background: #fff3cf;
  color: #8b5e00;
}

.who-card {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.result-grid {
  margin-top: 32px;
}

.result-col {
  padding: 28px;
}

.result-before {
  border-left: 4px solid rgba(255, 122, 69, 0.6);
}

.result-after {
  border-left: 4px solid rgba(52, 211, 153, 0.7);
}

.result-col h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.result-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 1rem;
}

.result-col li:last-child,
.pricing-features li:last-child,
.problem-list li:last-child {
  border-bottom: none;
}

.imagine-block {
  margin-top: 32px;
  padding: 24px;
  background: #fff8eb;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
}

.imagine-block p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.6;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.trust-stat {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.trust-stat strong {
  color: var(--color-accent);
  font-size: 1.4rem;
}

.review-card {
  background: transparent;
  border: none;
  padding: 0;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(23, 50, 77, 0.14);
  background: #fff;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-meta strong {
  font-size: 1rem;
}

.review-meta span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.review-card p {
  margin: 0;
  padding: 18px 20px;
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 20px 20px 20px 6px;
  box-shadow: var(--shadow-soft);
}

.experts-note {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}

.experts-note p,
.faq-item p {
  line-height: 1.6;
}

.pricing-card-recommended {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18), var(--shadow-soft);
}

.pricing-badge {
  background: #fff3cf;
  color: #8b5e00;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0 4px;
  line-height: 1.08;
}

.pricing-price span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.pricing-per-month {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.pricing-features {
  margin: 12px 0 20px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.pricing-card .btn {
  margin-top: 8px;
}

.pricing-grid-single {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 8px 0 16px;
  line-height: 1.5;
}

.pricing-disclaimer {
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 20px;
}

.final-cta-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.08;
}

.final-cta-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  text-align: center;
}

.final-cta-punch {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 auto 28px;
  text-align: center;
  max-width: 560px;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 238, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-line);
  z-index: 90;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 -8px 24px rgba(85, 61, 22, 0.08);
}

.sticky-cta.sticky-cta-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sticky-cta-button {
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: #3F7E6D;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.sticky-cta-button:active {
  transform: scale(0.98);
  background: #356B5D;
}

.sticky-cta-price {
  font-size: 16px;
  font-weight: 600;
  color: #1d2a39;
}

.footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--color-line);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  margin: 0 8px;
}

.footer-links a:hover {
  color: var(--color-text);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.micro-stack {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.micro-stack-compact {
  gap: 10px;
  margin-bottom: 24px;
}

.micro-stack-inline {
  margin: 16px 0 0;
}

.micro-line {
  margin: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.story-quote {
  margin: 32px auto;
  max-width: 520px;
  padding: 10px 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.story-quote-small {
  font-size: 22px;
  line-height: 1.35;
}

.story-quote-oneline {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 auto 24px;
}


/* Narrative emphasis block — serif italic, light pink, left accent */
.highlight-card {
  margin: 24px auto;
  max-width: 540px;
  padding: 24px 22px;
  background: #fdf6f2;
  border: none;
  border-left: 4px solid #c48b7a;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 4px 20px rgba(196, 139, 122, 0.12);
}

.highlight-card p {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  color: #4a3428;
}

.highlight-card-soft {
  background: #fdf8f4;
  border-left-color: #d4a574;
}

.scene-time {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b5e00;
}

.scene-divider {
  margin: 12px 0 16px;
  text-align: center;
  color: rgba(29, 42, 57, 0.4);
  letter-spacing: 0.24em;
  font-size: 0.9rem;
}

.scene-highlight {
  font-weight: 700;
  font-size: 1.2rem;
  font-style: italic;
}

.list-icon {
  flex-shrink: 0;
  line-height: 1.2;
}

/* ——— Screen layouts (скріни застосунку) ——— */
.screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.screen-wrap {
  margin: 0 auto;
}

.screen-wrap-center {
  text-align: center;
}

.screen-wrap-420 .screen-img {
  max-width: 420px;
  margin: 0 auto;
}

.screen-wrap-460 .screen-img {
  max-width: 460px;
  margin: 0 auto;
}

.journey-grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.journey-card {
  display: grid;
  gap: 20px;
  padding: 24px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 50, 77, 0.08);
  box-shadow: var(--shadow-soft);
}

.journey-step {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(60, 127, 111, 0.14);
  color: #236157;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.journey-copy p {
  margin: 0;
  color: var(--color-text-muted);
}

.journey-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.journey-shot {
  margin: 0;
}

.journey-shot .screen-img {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
}

.journey-shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .journey-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    padding: 28px;
  }

  .journey-card-wide {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  }
}

/* 3 екрани в ряд (desktop) / вертикальний стек (mobile) */
.screen-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
}

.screen-row .screen-wrap {
  width: 82%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .screen-row-3 {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .screen-row-3 .screen-wrap {
    flex: 0 1 200px;
    max-width: 200px;
  }
}

/* Екосистема: головний екран по центру, 3 дрібні навколо */
.screen-ecosystem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
}

.screen-ecosystem .screen-main .screen-img {
  max-width: 280px;
}

.screen-ecosystem .screen-satellites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 320px;
}

.screen-ecosystem .screen-satellites .screen-wrap:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.screen-ecosystem .screen-satellites .screen-wrap .screen-img {
  max-width: 140px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .screen-ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .screen-ecosystem .screen-main {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .screen-ecosystem .screen-main .screen-img {
    max-width: 260px;
  }

  .screen-ecosystem .screen-satellites {
    display: contents;
    max-width: none;
  }

  .screen-ecosystem .screen-satellites .screen-wrap:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .screen-ecosystem .screen-satellites .screen-wrap:nth-child(2) {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    justify-self: start;
  }

  .screen-ecosystem .screen-satellites .screen-wrap:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    justify-self: end;
  }

  .screen-ecosystem .screen-satellites .screen-wrap .screen-img {
    max-width: 130px;
  }
}

/* Сітка 2×2 з підписами */
.screen-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.screen-grid-2x2 .screen-cell {
  text-align: center;
}

.screen-grid-2x2 .screen-cell .screen-wrap {
  margin-bottom: 8px;
}

.screen-grid-2x2 .screen-cell .screen-img {
  max-width: 180px;
  margin: 0 auto;
}

.screen-grid-2x2 .screen-cell span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .screen-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .screen-grid-2x2 .screen-cell .screen-img {
    max-width: 200px;
  }
}

@media (min-width: 768px) {
  .screen-row .screen-wrap,
  .screen-wrap-420 .screen-img,
  .screen-wrap-460 .screen-img {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .screen-wrap-420 .screen-img,
  .screen-wrap-460 .screen-img {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 12px 0 40px;
  }

  .hero-content-inner {
    max-width: 320px;
    margin: 14px 14px 18px;
  }

  .hero-content-bg .hero-title {
    margin: 0;
    line-height: 1.1;
  }

  .hero-content-bg .hero-product-hint {
    margin: 0;
    line-height: 1.4;
  }

  #hero .hero-content > .hero-cta {
    gap: 4px;
  }

  #hero .hero-content > .hero-cta .btn-primary {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .hero-img-1 {
    margin: 16px 0 8px;
  }

  .hero-img-1 .hero-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    object-position: center 65%;
    border-radius: 18px;
    aspect-ratio: auto;
  }

  .hero-story-under {
    margin-top: 12px;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 88px;
  }
}

@media (min-width: 480px) {
  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 600px) {
  .what-cards,
  .challenges-grid,
  .who-grid,
  .result-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .hero-title-story {
    font-size: 3rem;
  }

  .hero-visual img {
    max-width: 280px;
  }

  .hero-visual-2 {
    max-width: 200px;
  }

  .screen-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .screen-block-alt .screen-visual {
    order: 1;
  }

  .screen-block-alt .screen-content {
    order: 0;
  }

  .screen-visual {
    order: 0;
  }
}

@media (min-width: 900px) {
  .container,
  .header-inner {
    max-width: 1100px;
  }

  .section .container {
    max-width: 920px;
  }

  .hero .container {
    max-width: 1100px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero-content {
    flex: 1;
    max-width: 620px;
    text-align: left;
  }

  .hero-content-inner {
    margin: 28px 0 36px 28px;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .micro-stack,
  .story-quote,
  .section-lead,
  .section-insight {
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-cta-inner {
    justify-content: center;
  }
}

/* Checkout modal */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.checkout-modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
  border-radius: 24px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(207, 178, 126, 0.28);
  box-shadow: 0 24px 60px rgba(47, 34, 18, 0.2);
  max-height: min(92vh, 760px);
  overflow-y: auto;
}

.checkout-modal-title {
  margin: 0 44px 8px 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.checkout-modal-desc {
  margin: 0 28px 16px 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-trust {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 244, 221, 0.8);
  border: 1px solid rgba(207, 178, 126, 0.24);
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.35;
}

.checkout-input {
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  font-size: 1rem;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.96);
}

.checkout-input:focus {
  outline: 2px solid var(--cta-primary);
  outline-offset: 2px;
}

.checkout-input.error {
  border-color: #dc2626;
}

.checkout-error {
  font-size: 0.9rem;
  color: #dc2626;
  min-height: 1.2em;
  margin-top: -2px;
}

.checkout-microcopy {
  margin: 2px 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.checkout-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
  padding: 0;
}

.checkout-modal-close:hover {
  color: var(--color-text);
}

#checkout-submit {
  min-height: 54px;
}

@media (max-width: 640px) {
  .checkout-modal-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .checkout-modal {
    max-width: none;
    padding: 20px 18px 18px;
    border-radius: 22px 22px 18px 18px;
    max-height: min(88vh, 720px);
  }

  .checkout-modal-title {
    font-size: 1.35rem;
    margin-right: 40px;
  }

  .checkout-modal-desc {
    font-size: 0.93rem;
    margin-right: 20px;
  }

  .checkout-trust {
    gap: 7px;
    padding: 11px 12px;
  }

  .checkout-trust-item {
    font-size: 0.91rem;
  }

  .checkout-input {
    padding: 13px 16px;
  }

  .checkout-form .btn {
    min-height: 52px;
  }

  .checkout-microcopy {
    font-size: 0.81rem;
  }
}
