:root {
  --bg: #07111f;
  --bg-soft: #0d1b31;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-line: rgba(255, 255, 255, 0.12);
  --text: #f3f7fd;
  --muted: rgba(243, 247, 253, 0.72);
  --soft: rgba(243, 247, 253, 0.48);
  --accent: #4f8cff;
  --accent-2: #8ed4ff;
  --warm: #f1c785;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --sidebar-width: 280px;
  --stage-width: min(1200px, calc(100vw - var(--sidebar-width) - 40px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(142, 212, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #07111f 0%, #081526 42%, #091120 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}

.ambient-a {
  top: 6%;
  right: 10%;
  width: 26vw;
  height: 26vw;
  background: rgba(79, 140, 255, 0.15);
}

.ambient-b {
  bottom: -6%;
  left: 18%;
  width: 24vw;
  height: 24vw;
  background: rgba(241, 199, 133, 0.1);
}

.ambient-c {
  bottom: 22%;
  right: 18%;
  width: 18vw;
  height: 18vw;
  background: rgba(142, 212, 255, 0.08);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--sidebar-width);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 11, 22, 0.48);
  backdrop-filter: blur(24px);
}

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

.sidebar__logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #2b6ff2, #6aa8ff);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(34, 101, 229, 0.28);
}

.sidebar__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sidebar__meta,
.sidebar__hint {
  color: var(--soft);
  font-size: 0.85rem;
}

.sidebar__status {
  margin: 28px 0 18px;
}

.sidebar__counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.sidebar__nav {
  display: grid;
  gap: 10px;
  flex: 1;
}

.sidebar__nav button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sidebar__nav button:hover,
.sidebar__nav button:focus-visible {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.sidebar__nav button.is-active {
  border-color: rgba(79, 140, 255, 0.35);
  background: rgba(79, 140, 255, 0.12);
  color: var(--text);
  transform: translateX(4px);
}

.sidebar__nav-index {
  color: var(--soft);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.sidebar__nav-title {
  font-size: 0.94rem;
  font-weight: 600;
}

.sidebar__progress {
  margin-top: 20px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar__progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s ease;
}

.presentation {
  position: relative;
  margin-left: var(--sidebar-width);
  width: calc(100vw - var(--sidebar-width));
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.slides {
  display: flex;
  width: var(--stage-width);
  min-height: 100vh;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 var(--stage-width);
  min-height: 100vh;
  padding: 36px 38px 38px 34px;
  opacity: 0.38;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
}

.slide__inner {
  position: relative;
  height: calc(100vh - 72px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--surface-line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slide__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.09), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.09), transparent 20%);
  pointer-events: none;
}

.slide__inner > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  margin: 22px 0 28px;
  max-width: 980px;
}

.section-head h2,
.hero-title,
.slide--cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-head p,
.hero-text,
.cta-text {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.65;
}

.slide--dense .slide__inner {
  padding: 30px 32px;
}

.slide--dense .section-head {
  margin: 18px 0 20px;
}

.slide--dense .section-head h2 {
  font-size: clamp(2rem, 3.25vw, 3.2rem);
}

.slide--dense .section-head p {
  margin-top: 12px;
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.slide__inner--hero {
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: center;
  margin-top: 22px;
}

.hero-kicker {
  color: var(--warm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 16px;
  max-width: 780px;
  font-size: clamp(2.4rem, 4.2vw, 4.15rem);
}

.hero-title span {
  display: block;
  color: var(--accent-2);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-tags span,
.box-thesis {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-metrics > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-metrics strong {
  display: inline-block;
  flex: 0 0 auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-metrics span {
  display: inline-block;
  color: var(--muted);
  line-height: 1.28;
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-frame {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-frame picture,
.pair__media picture,
.scenario__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-frame img,
.pair__media img,
.scenario__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-frame--primary {
  height: 100%;
  min-height: 460px;
}

.hero-frame--primary img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.2), rgba(6, 10, 16, 0.68));
  backdrop-filter: blur(16px);
}

.hero-overlay__eyebrow {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-overlay__title {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-overlay__text {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.pain-layout,
.offer-layout,
.ad-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.pain-quote,
.offer-block,
.ad-column {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.pain-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(360px, 40vh, 470px);
  background: rgba(255, 255, 255, 0.04);
}

.pain-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(9, 16, 29, 0.14) 0%, rgba(9, 16, 29, 0.2) 28%, rgba(9, 16, 29, 0.88) 100%),
    radial-gradient(circle at 18% 22%, rgba(130, 194, 255, 0.2), transparent 34%);
}

.pain-quote__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("/assets/pvz-problem-queue-960.jpg?v=20260413-4");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: image-set(
    url("/assets/pvz-problem-queue-960.webp?v=20260413-4") type("image/webp") 1x,
    url("/assets/pvz-problem-queue-960.jpg?v=20260413-4") type("image/jpeg") 1x
  );
}

.pain-quote__media picture,
.pain-quote__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.pain-quote__media img {
  object-fit: cover;
}

.pain-quote__content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.pain-quote__label,
.offer-block__eyebrow {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pain-quote p {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.35rem);
  line-height: 1.08;
}

.pain-list,
.benefits-list,
.pair-list {
  display: grid;
  gap: 14px;
}

.pain-list article,
.benefits-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pain-list article:last-child,
.benefits-list article:last-child {
  border-bottom: none;
}

.pain-list span,
.benefits-list span,
.audience__index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
}

.pain-list h3,
.benefits-list h3,
.audience h3,
.offer-block h3,
.ad-column h3 {
  margin: 0;
  font-size: 1.1rem;
}

.pain-list p,
.benefits-list p,
.audience p,
.offer-block li,
.ad-column li {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.slide--problem .pain-quote p {
  font-size: clamp(1.18rem, 1.7vw, 1.8rem);
}

.slide--problem .pain-list article {
  gap: 14px;
  padding: 14px 18px;
}

.slide--problem .pain-list p {
  margin-top: 6px;
  font-size: 0.93rem;
  line-height: 1.42;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.audience ul,
.offer-block ul,
.ad-column ul {
  margin: 18px 0 0;
  padding: 0 0 0 20px;
}

.audience li,
.offer-block li,
.ad-column li {
  margin-bottom: 10px;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  min-height: 56%;
}

.system-core {
  padding: 28px;
  border: 1px solid rgba(79, 140, 255, 0.26);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(79, 140, 255, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.system-core__eyebrow {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-core__brand {
  margin-top: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
}

.system-core p {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.65;
}

.system-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-points div {
  padding: 18px 18px 18px 20px;
  border-left: 2px solid rgba(142, 212, 255, 0.32);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
}

.slide--system .system-layout {
  gap: 18px;
}

.slide--system .system-core {
  padding: 24px;
}

.slide--system .system-core__brand {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
}

.slide--system .system-core p {
  font-size: 0.94rem;
  line-height: 1.5;
}

.slide--system .system-points {
  gap: 12px;
}

.slide--system .system-points div {
  padding: 14px 14px 14px 16px;
  font-size: 0.93rem;
}

.slide__inner--pairs {
  overflow: hidden;
}

.slide__inner--pairs .section-head {
  margin: 18px 0 20px;
  max-width: 900px;
}

.slide__inner--pairs .section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.slide__inner--pairs .section-head p {
  margin-top: 12px;
  font-size: 1rem;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pair__media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.pair__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.04), rgba(3, 7, 12, 0.72));
}

.pair__media--problem {
  border: 1px solid rgba(255, 139, 127, 0.22);
}

.pair__media--solution {
  border: 1px solid rgba(149, 242, 191, 0.22);
}

.pair__caption {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
}

.pair__caption span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pair__caption strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario {
  display: grid;
  gap: 12px;
}

.scenario__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.scenario__stack {
  display: grid;
  gap: 12px;
}

.scenario__media {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.scenario__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.04), rgba(3, 7, 12, 0.78));
}

.scenario__media--problem {
  border: 1px solid rgba(255, 139, 127, 0.22);
}

.scenario__media--solution {
  border: 1px solid rgba(149, 242, 191, 0.22);
}

.scenario__caption {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 1;
}

.scenario__caption span {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario__caption strong {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-height: 920px) {
  .sidebar {
    padding: 22px 18px 18px;
  }

  .sidebar__status {
    margin: 20px 0 14px;
  }

  .sidebar__counter {
    font-size: 1.35rem;
  }

  .sidebar__nav {
    gap: 7px;
  }

  .sidebar__nav button {
    padding: 8px 10px;
  }

  .slide {
    padding: 28px 28px 26px 24px;
  }

  .slide__inner {
    height: calc(100vh - 54px);
    padding: 24px 26px;
  }

  .eyebrow {
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .section-head {
    margin: 18px 0 18px;
  }

  .section-head h2,
  .slide--dense .section-head h2,
  .hero-title,
  .slide--cta h2 {
    font-size: clamp(1.9rem, 3vw, 2.95rem);
  }

  .section-head p,
  .slide--dense .section-head p,
  .hero-text,
  .cta-text {
    margin-top: 10px;
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .hero-grid {
    gap: 20px;
    margin-top: 16px;
  }

  .hero-kicker {
    font-size: 0.82rem;
  }

  .hero-tags {
    margin-top: 14px;
    gap: 10px;
  }

  .hero-tags span,
  .box-thesis {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hero-metrics {
    margin-top: 16px;
    gap: 10px;
  }

  .hero-metrics > div {
    padding: 10px 12px;
  }

  .hero-metrics strong {
    font-size: 1.45rem;
  }

  .hero-metrics span {
    font-size: 0.8rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-frame--primary {
    min-height: 390px;
  }

  .hero-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px 18px;
  }

  .hero-overlay__title {
    font-size: 1.12rem;
  }

  .hero-overlay__text {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .pain-quote,
  .offer-block,
  .ad-column,
  .audience,
  .system-core {
    padding: 20px;
  }

  .pain-quote {
    min-height: 320px;
  }

  .pain-quote p {
    font-size: clamp(1.08rem, 1.45vw, 1.45rem);
  }

  .pain-list article,
  .benefits-list article {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  .pain-list span,
  .benefits-list span,
  .audience__index {
    font-size: 1.05rem;
  }

  .pain-list h3,
  .benefits-list h3,
  .audience h3,
  .offer-block h3,
  .ad-column h3,
  .scenario__title {
    font-size: 0.98rem;
  }

  .pain-list p,
  .benefits-list p,
  .audience p,
  .offer-block li,
  .ad-column li,
  .slide--offers .offer-block li,
  .slide--ads .ad-column li {
    margin-top: 5px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .audience ul,
  .offer-block ul,
  .ad-column ul {
    margin-top: 12px;
  }

  .system-layout {
    gap: 16px;
  }

  .system-core__brand {
    font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  }

  .system-core p {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .system-points {
    gap: 10px;
  }

  .system-points div {
    padding: 12px 12px 12px 14px;
    font-size: 0.86rem;
  }

  .scenario-grid {
    gap: 12px;
  }

  .scenario__stack {
    gap: 10px;
  }

  .scenario__media {
    min-height: 122px;
  }

  .scenario__caption {
    inset: auto 12px 12px;
  }

  .scenario__caption strong {
    font-size: 0.8rem;
    line-height: 1.18;
  }

  .formula-banner,
  .slide--offers .box-thesis,
  .slide--ads .formula-banner {
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .cta-grid > div {
    padding: 18px 16px;
  }

  .cta-grid strong {
    font-size: 1.02rem;
  }

  .control-button,
  .control-link {
    min-height: 44px;
    padding: 0 16px;
  }
}

@media (max-height: 820px) {
  .slide__inner--pairs .section-head h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  }

  .slide__inner--pairs .section-head p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .scenario-grid {
    gap: 10px;
  }

  .scenario__title {
    font-size: 0.92rem;
  }

  .scenario__stack {
    gap: 8px;
  }

  .scenario__media {
    min-height: 108px;
  }

  .scenario__caption {
    inset: auto 10px 10px;
  }

  .scenario__caption span {
    font-size: 0.68rem;
  }

  .scenario__caption strong {
    font-size: 0.74rem;
    line-height: 1.12;
  }
}

.benefits-list {
  gap: 0;
  margin-top: 8px;
}

.slide--benefits .benefits-list article {
  gap: 14px;
  padding: 14px 18px;
}

.slide--benefits .benefits-list span {
  font-size: 1.16rem;
}

.slide--benefits .benefits-list p {
  margin-top: 6px;
  font-size: 0.93rem;
  line-height: 1.42;
}

.offer-layout,
.ad-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.offer-block--accent {
  background:
    linear-gradient(180deg, rgba(79, 140, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.box-thesis {
  margin-top: 18px;
  border-radius: 22px;
}

.slide--offers .offer-block,
.slide--ads .ad-column {
  padding: 20px;
}

.slide--offers .offer-block li,
.slide--ads .ad-column li {
  margin-bottom: 8px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.slide--offers .box-thesis,
.slide--ads .formula-banner {
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.formula-banner {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: 22px;
  background: rgba(79, 140, 255, 0.08);
  font-size: 1.04rem;
  line-height: 1.6;
}

.slide__inner--cta {
  display: grid;
  align-content: center;
  gap: 24px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cta-grid > div {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.cta-grid span {
  color: var(--soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.cta-actions,
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.controls {
  position: fixed;
  right: max(28px, calc((100vw - var(--sidebar-width) - var(--stage-width)) / 2 + 28px));
  bottom: 28px;
  z-index: 25;
}

.control-button,
.control-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.78);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.control-button:hover,
.control-button:focus-visible,
.control-link:hover,
.control-link:focus-visible {
  background: rgba(79, 140, 255, 0.16);
  border-color: rgba(79, 140, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.control-button--primary {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.92), rgba(106, 168, 255, 0.92));
  color: white;
}

.slide.active .slide__inner {
  animation: slideReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  :root {
    --sidebar-width: 220px;
  }

  .hero-grid,
  .pain-layout,
  .system-layout,
  .offer-layout,
  .ad-layout {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .scenario-grid,
  .pair,
  .hero-metrics,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  body {
    overflow-y: auto;
  }

  :root {
    --stage-width: 100%;
  }

  .sidebar {
    position: sticky;
    inset: 0;
    width: 100%;
    gap: 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .sidebar__nav button {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 82px;
  }

  .presentation {
    margin-left: 0;
    width: 100%;
  }

  .slides {
    width: 100%;
    min-height: auto;
    flex-direction: column;
    transform: none !important;
  }

  .slide {
    flex-basis: auto;
    width: 100%;
    min-height: auto;
    padding: 18px;
    opacity: 1;
  }

  .slide__inner,
  .slide__inner--pairs {
    height: auto;
    min-height: auto;
    overflow: hidden;
  }

  .controls {
    position: sticky;
    justify-content: center;
    padding: 0 0 26px;
  }
}

@media (max-width: 640px) {
  .sidebar {
    padding: 18px 16px;
  }

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

  .slide {
    padding: 12px;
  }

  .slide__inner {
    padding: 20px;
    border-radius: 24px;
  }

  .section-head h2,
  .hero-title,
  .slide--cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media print {
  body {
    overflow: visible;
    background: white;
    color: #101828;
  }

  .ambient,
  .sidebar,
  .controls {
    display: none !important;
  }

  .presentation,
  .slides {
    margin: 0;
    width: 100%;
    display: block;
  }

  .slide,
  .slide__inner {
    width: 100%;
    min-height: auto;
    height: auto;
    opacity: 1 !important;
    background: white;
    box-shadow: none;
    color: #101828;
  }
}
