/* Контент Завод 2.0 — service page. Scoped to body.cf-premium; header/footer come from service-detail.css. */

.cf-premium {
  --cfp-bg: #080a09;
  --cfp-alt: #0d110e;
  --cfp-text: #f3f6f1;
  --cfp-soft: rgba(243, 246, 241, .8);
  --cfp-muted: rgba(243, 246, 241, .62);
  --cfp-line: rgba(243, 246, 241, .12);
  --cfp-acid: #47ff68;
  --cfp-acid-tint: rgba(71, 255, 104, .06);
  background: var(--cfp-bg);
}

.cf-premium main [id] { scroll-margin-top: 88px; }

.cfp-wrap,
.cf-premium .service-head .shell,
.cf-premium .service-footer .shell {
  width: min(calc(100% - 48px), 1160px);
  margin-inline: auto;
}

:where(.cf-premium main) :where(h1, h2, h3) {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

:where(.cf-premium main) p { margin: 0; }

.cf-premium main h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.12;
}

/* Shared bits */
.cfp-btn {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: var(--cfp-acid);
  color: #080a09;
  font-size: 15px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

/* .service-page a { color: inherit } outranks a bare class; keep CTA text and icon near-black in every state. */
.cf-premium a.cfp-btn,
.cf-premium a.cfp-btn:visited,
.cf-premium a.cfp-btn:hover,
.cf-premium a.cfp-btn:focus-visible { color: #080a09; }

.cf-premium a.cfp-btn:hover { background: #7dff91; transform: translateY(-2px); }
.cfp-btn svg { width: 18px; height: 18px; flex: none; }

.cf-premium a.cfp-link {
  color: var(--cfp-text);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(71, 255, 104, .6);
  padding-bottom: 2px;
  transition: color .2s ease;
}

.cf-premium a.cfp-link:hover { color: var(--cfp-acid); }

.cfp-eyebrow {
  margin-bottom: 14px;
  color: var(--cfp-acid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
}

.cfp-list {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.cfp-list li {
  position: relative;
  padding-left: 20px;
  color: var(--cfp-soft);
  font-size: 16px;
  line-height: 1.5;
}

.cfp-list li::before {
  content: "";
  position: absolute;
  top: .6em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cfp-muted);
}

.cfp-list--checks li { padding-left: 28px; }

.cfp-list--checks li::before {
  top: .42em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-radius: 0;
  background: none;
  border-left: 2px solid var(--cfp-acid);
  border-bottom: 2px solid var(--cfp-acid);
  transform: rotate(-45deg);
}

/* Hero */
.cfp-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(71, 255, 104, .07), transparent 62%),
    var(--cfp-bg);
}

.cfp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  grid-template-areas:
    "copy roles"
    "proof proof";
  gap: clamp(40px, 5vw, 64px) clamp(40px, 6vw, 88px);
  align-items: center;
}

.cfp-hero-copy { grid-area: copy; }
.cfp-roles { grid-area: roles; }
.cfp-proof { grid-area: proof; }

.cfp-brand {
  margin-bottom: 20px;
  color: var(--cfp-acid);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}

.cfp-hero h1 {
  max-width: 16ch;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.cfp-hero h1 em { color: var(--cfp-acid); font-style: normal; }

.cfp-lead {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--cfp-soft);
  font-size: 18px;
  line-height: 1.6;
}

.cfp-lead + .cfp-lead { margin-top: 12px; }

.cfp-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.cfp-roles {
  padding: 8px;
  border: 1px solid var(--cfp-line);
  border-radius: 20px;
  background: rgba(243, 246, 241, .025);
}

.cfp-role { padding: 22px 22px 24px; border-radius: 14px; }

.cfp-role--agents {
  border: 1px solid rgba(71, 255, 104, .24);
  background: var(--cfp-acid-tint);
}

.cfp-role-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cfp-text);
  font-size: 17px;
  font-weight: 800;
}

.cfp-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--cfp-text);
}

.cfp-role--agents .cfp-dot { background: var(--cfp-acid); }

.cfp-roles-intro {
  padding: 18px 22px 10px;
  color: var(--cfp-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.cfp-roles-note {
  padding: 16px 22px 14px;
  color: var(--cfp-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Hero results: four separate figures, each with its own unit and scope */
.cfp-proof {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  list-style: none;
}

.cfp-proof li {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(71, 255, 104, .35);
}

.cfp-proof strong {
  display: block;
  color: var(--cfp-acid);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.cfp-proof span {
  display: block;
  margin-top: 8px;
  color: var(--cfp-soft);
  font-size: 15px;
  line-height: 1.45;
}

/* Service router */
.cfp-tasks {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.cfp-tasks li { min-width: 0; }

.cf-premium a.cfp-task {
  height: 100%;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--cfp-line);
  border-radius: 16px;
  background: rgba(243, 246, 241, .02);
  color: var(--cfp-text);
  transition: border-color .2s ease, background .2s ease;
}

.cf-premium a.cfp-task:hover { border-color: rgba(71, 255, 104, .55); background: var(--cfp-acid-tint); }

.cfp-task strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.cfp-task strong::after { content: "→"; color: var(--cfp-acid); font-weight: 700; }

.cfp-task span {
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cf-premium a.cfp-inline {
  color: var(--cfp-text);
  border-bottom: 1px solid rgba(71, 255, 104, .6);
}

.cf-premium a.cfp-inline:hover { color: var(--cfp-acid); }

/* Sections */
.cfp-section { padding-block: clamp(72px, 9vw, 120px); }
.cfp-section + .cfp-section,
.cfp-hero + .cfp-section { border-top: 1px solid var(--cfp-line); }
.cfp-section--alt { background: var(--cfp-alt); }

.cfp-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px 64px;
  align-items: end;
}

.cfp-head p {
  max-width: 58ch;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

/* Workflow */
.cfp-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: cfp-step;
}

.cfp-steps li {
  padding-top: 20px;
  border-top: 2px solid rgba(71, 255, 104, .4);
  counter-increment: cfp-step;
}

.cfp-steps li::before {
  content: counter(cfp-step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--cfp-acid);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.cfp-steps h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }

.cfp-steps p {
  margin-top: 10px;
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cfp-callout {
  max-width: 780px;
  margin-top: 44px;
  padding: 20px 24px;
  border-left: 3px solid var(--cfp-acid);
  border-radius: 0 12px 12px 0;
  background: var(--cfp-acid-tint);
  color: var(--cfp-text);
  font-size: 17px;
  line-height: 1.6;
}

/* Service copy blocks */
.cfp-service-copy h2 { max-width: 22ch; }

.cfp-service-copy h2 + p,
.cfp-service-copy p + p { margin-top: 16px; }

.cfp-service-copy p {
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

.cfp-service-copy p.cfp-eyebrow { color: var(--cfp-acid); font-size: 13px; }
.cfp-service-copy .cfp-list { margin-top: 24px; }

.cfp-service-copy .cfp-strong { color: var(--cfp-text); font-size: 19px; font-weight: 700; line-height: 1.5; }

/* Short videos */
.cfp-video-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.cfp-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 24px;
}

.cfp-format {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 10px;
  min-width: 0;
}

.cfp-format h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }

.cfp-format p {
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.cfp-video {
  margin-top: 8px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--cfp-line);
  border-radius: 18px;
  background: #000;
}

.cfp-video video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.cfp-story {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.cfp-story-copy h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
}

.cfp-story-copy p {
  max-width: 54ch;
  margin-top: 16px;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

/* Real analytics images: natural aspect, never cropped */
.cfp-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 246, 241, .14);
  border-radius: 16px;
  background: #1c1c1c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.cfp-shot--light { background: #efefef; }

.cfp-shot-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.cf-premium .cfp-shot img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.cfp-shot-open {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 246, 241, .2);
  border-radius: 10px;
  background: rgba(8, 10, 9, .78);
  color: var(--cfp-text);
  transition: color .2s ease, border-color .2s ease;
}

.cf-premium a.cfp-shot-open { color: var(--cfp-text); }
.cf-premium a.cfp-shot-open:hover { color: var(--cfp-acid); border-color: rgba(71, 255, 104, .6); }
.cfp-shot-open svg { width: 18px; height: 18px; }

/* VK */
/* Copy beside the published post; the post keeps its natural 890×1404 frame */
.cfp-vk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: center;
}

.cfp-vk-published { scroll-margin-top: 96px; width: 100%; box-shadow: none; }

.cfp-vk-published > a { display: block; cursor: zoom-in; }

.cfp-vk-stats { margin-top: clamp(40px, 5vw, 64px); }

.cfp-related {
  margin-top: 28px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  border: 1px solid var(--cfp-line);
  border-radius: 14px;
}

.cfp-related p { color: var(--cfp-soft); font-size: 16px; line-height: 1.5; }

/* Threads */
.cfp-threads {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

/* Long YouTube */
.cfp-youtube {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px 72px;
  align-items: start;
}

.cfp-youtube-body p {
  max-width: 60ch;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

.cfp-chain {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  list-style: none;
}

.cfp-chain li {
  position: relative;
  margin-right: 30px;
  padding: 9px 14px;
  border: 1px solid var(--cfp-line);
  border-radius: 999px;
  color: var(--cfp-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.cfp-chain li::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -22px;
  color: var(--cfp-acid);
  transform: translateY(-50%);
}

.cfp-chain li:last-child { margin-right: 0; }
.cfp-chain li:last-child::after { content: none; }

/* Horizontal excerpt from a finished long video under the service copy: original 16:9 frame, no caption */
.cfp-video--wide { margin-top: 32px; aspect-ratio: 16 / 9; border-radius: 16px; }

/* Sites for SEO and GEO: copy and scope, two explainer cards, owner result, three real site screenshots */
.cfp-sites-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 32px 72px;
  align-items: end;
}

.cfp-sites-list {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--cfp-line);
  border-radius: 16px;
  background: rgba(243, 246, 241, .02);
}

.cfp-pair.cfp-sites-pair { margin-top: clamp(40px, 5vw, 56px); }

.cfp-sites-result {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 48px;
  align-items: end;
}

.cfp-sites-result .cfp-big { margin: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
.cfp-sites-result .cfp-big strong { font-size: clamp(48px, 6.4vw, 84px); white-space: nowrap; }

.cfp-sites-result > p:not(.cfp-big) {
  max-width: 52ch;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

/* One large screenshot, two below it; every frame keeps the original 1440×1000 ratio */
.cfp-sites-gallery {
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
  list-style: none;
}

.cfp-sites-gallery li { min-width: 0; }
.cfp-sites-gallery li:first-child { grid-column: 1 / -1; }

.cfp-site-name { margin-bottom: 14px; }

.cfp-shot--site { border-radius: 14px; box-shadow: none; }

.cf-premium .cfp-shot--site img {
  aspect-ratio: 36 / 25;
  object-fit: cover;
  object-position: top center;
}

/* Path to sale */
.cfp-path {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--cfp-line);
  border-radius: 18px;
  overflow: hidden;
  list-style: none;
  counter-reset: cfp-path;
}

.cfp-path li {
  position: relative;
  padding: 28px 28px 30px;
  counter-increment: cfp-path;
}

.cfp-path li + li { border-left: 1px solid var(--cfp-line); }

.cfp-path li::before {
  content: counter(cfp-path, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--cfp-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.cfp-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 30px;
  right: -9px;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--cfp-line);
  border-right: 1px solid var(--cfp-line);
  background: var(--cfp-bg);
  transform: rotate(45deg);
}

.cfp-path li:nth-child(3) { background: var(--cfp-acid-tint); }
.cfp-path li:nth-child(3)::before,
.cfp-path li:nth-child(3) h3 { color: var(--cfp-acid); }
.cfp-path li:nth-child(3)::after { background: #0c190f; }

.cfp-path h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }

.cfp-path p {
  margin-top: 10px;
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.6;
}

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

.cfp-pair > div {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--cfp-line);
  border-radius: 16px;
  background: var(--cfp-alt);
}

.cfp-pair h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }

.cfp-pair p {
  margin-top: 10px;
  color: var(--cfp-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* Case */
.cfp-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cfp-case-grid .cfp-shot { width: 100%; max-width: 600px; justify-self: end; }

.cfp-case-copy h3 {
  max-width: 22ch;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
}

.cfp-case-copy > p:not(.cfp-eyebrow):not(.cfp-big) {
  max-width: 52ch;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

.cfp-big {
  margin: 28px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.cfp-big strong {
  color: var(--cfp-acid);
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}

.cfp-big span { color: var(--cfp-text); font-size: 20px; font-weight: 700; }

.cfp-facts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 20px 28px;
}

.cfp-facts > div { padding-top: 16px; border-top: 1px solid var(--cfp-line); }

.cfp-facts dt {
  color: var(--cfp-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.cfp-facts dd {
  margin: 6px 0 0;
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Second, compact case linking to the full case page */
.cfp-case-mini {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px clamp(40px, 6vw, 80px);
  align-items: center;
  border: 1px solid var(--cfp-line);
  border-radius: 20px;
  background: rgba(243, 246, 241, .02);
}

.cfp-case-mini h3 { max-width: 26ch; font-size: clamp(22px, 2.2vw, 26px); font-weight: 800; line-height: 1.2; }
.cfp-case-mini .cfp-big { margin: 20px 0 0; }
.cfp-case-mini .cfp-big strong { font-size: clamp(48px, 5.4vw, 72px); }

.cfp-case-mini-body p {
  max-width: 52ch;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

.cfp-case-mini-body .cfp-case-mini-more { margin-top: 18px; }

/* Work models */
.cfp-models {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.cfp-model {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--cfp-line);
  border-radius: 20px;
  background: var(--cfp-alt);
}

.cfp-model--main {
  border-color: rgba(71, 255, 104, .45);
  background: linear-gradient(180deg, rgba(71, 255, 104, .07), rgba(71, 255, 104, .015));
}

.cfp-model h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.15; }

.cfp-model-terms {
  margin-top: 8px;
  color: var(--cfp-acid);
  font-size: 16px;
  font-weight: 700;
}

.cfp-model > p:not(.cfp-model-terms):not(.cfp-model-note) {
  margin-top: 16px;
  color: var(--cfp-soft);
  font-size: 16px;
  line-height: 1.65;
}

.cfp-model .cfp-list { margin-top: 20px; }

.cfp-model-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--cfp-line);
  color: var(--cfp-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cfp-price {
  margin-top: 20px;
  padding: 22px 26px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--cfp-line);
  border-radius: 16px;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.6;
}

.cfp-price strong { color: var(--cfp-text); font-weight: 800; }
.cf-premium .cfp-price a { color: var(--cfp-text); border-bottom: 1px solid rgba(71, 255, 104, .6); }
.cf-premium .cfp-price a:hover { color: var(--cfp-acid); }

/* FAQ: native details, readable without JS */
.cfp-faq { max-width: 860px; border-top: 1px solid var(--cfp-line); }
.cfp-faq details { border-bottom: 1px solid var(--cfp-line); }

.cfp-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--cfp-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.cfp-faq summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 6px;
  color: var(--cfp-acid);
  font-size: 26px;
  font-weight: 400;
}

.cfp-faq details[open] summary::after { content: "−"; }
.cfp-faq summary:focus-visible { outline: 2px solid var(--cfp-acid); outline-offset: 4px; }

.cfp-faq p {
  max-width: 66ch;
  margin: 0 0 22px;
  color: var(--cfp-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* Closing CTA */
.cfp-final-section { padding-top: 0; }
.cfp-section + .cfp-final-section { border-top: 0; }
.cfp-section--alt + .cfp-final-section { padding-top: clamp(56px, 7vw, 88px); }

.cfp-final {
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(71, 255, 104, .35);
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(71, 255, 104, .1), transparent 60%),
    var(--cfp-alt);
}

.cfp-final p {
  max-width: 56ch;
  margin-top: 14px;
  color: var(--cfp-soft);
  font-size: 17px;
  line-height: 1.65;
}

.cfp-final .cfp-btn { flex: none; }

/* Image dialog */
.cfp-dialog {
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cfp-line);
  border-radius: 16px;
  background: #0b0e0c;
  color: var(--cfp-text);
}

.cfp-dialog::backdrop { background: rgba(0, 0, 0, .82); }

.cfp-dialog-body {
  max-height: 94dvh;
  overflow: auto;
  padding: 60px 16px 16px;
}

.cf-premium .cfp-dialog-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.cfp-dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 246, 241, .2);
  border-radius: 10px;
  background: rgba(8, 10, 9, .9);
  color: var(--cfp-text);
  cursor: pointer;
}

.cfp-dialog-close svg { width: 20px; height: 20px; }

/* Focus */
.cf-premium video:focus-visible,
.cf-premium .cfp-shot-scroll:focus-visible {
  outline: 2px solid var(--cfp-acid);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1060px) {
  .cfp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "proof"
      "roles";
  }
  .cfp-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cfp-roles-intro,
  .cfp-roles-note { grid-column: 1 / -1; }
  .cfp-tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .cfp-case-grid { grid-template-columns: minmax(0, 1fr); }
  .cfp-case-grid .cfp-shot { max-width: 640px; justify-self: start; }
}

@media (max-width: 900px) {
  .cfp-head,
  .cfp-video-top,
  .cfp-threads,
  .cfp-youtube,
  .cfp-sites-top,
  .cfp-sites-result,
  .cfp-case-mini,
  .cfp-pair,
  .cfp-models { grid-template-columns: minmax(0, 1fr); }
  .cfp-head { align-items: start; }
  .cfp-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfp-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfp-vk-grid { grid-template-columns: minmax(0, 1fr); }
  .cfp-vk-published { max-width: 440px; }
  .cfp-formats { max-width: 680px; }
  .cfp-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .cfp-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfp-path li:nth-child(3) { border-left: 0; }
  .cfp-path li:nth-child(n + 3) { border-top: 1px solid var(--cfp-line); }
  .cfp-path li:not(:last-child)::after { content: none; }
  .cfp-final { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .cfp-wrap,
  .cf-premium .service-head .shell,
  .cf-premium .service-footer .shell { width: calc(100% - 32px); }
  .cfp-hero { padding-top: 40px; }
  .cfp-hero h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.08; }
  .cfp-brand { margin-bottom: 14px; }
  .cfp-lead { margin-top: 16px; font-size: 17px; }
  .cfp-actions { margin-top: 24px; }
  .cfp-proof { gap: 18px 16px; }
  .cfp-proof strong { font-size: clamp(24px, 7vw, 30px); }
  .cfp-proof span { font-size: 14px; }
  .cfp-tasks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cf-premium a.cfp-task { padding: 18px 18px 20px; }
  .cfp-price { padding: 18px 20px; }
  .cfp-faq summary { font-size: 17px; }
  .cfp-btn { width: 100%; justify-content: center; text-align: center; }
  .cfp-roles { grid-template-columns: minmax(0, 1fr); }
  .cfp-steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .cfp-formats { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .cfp-format { grid-row: auto; grid-template-rows: none; }
  .cfp-format .cfp-video { width: 100%; max-width: 360px; }
  .cfp-story { grid-template-columns: minmax(0, 1fr); }
  .cfp-story-copy { order: -1; }
  .cfp-story .cfp-shot { width: 100%; max-width: 380px; }
  .cfp-path { grid-template-columns: minmax(0, 1fr); }
  .cfp-path li + li { border-left: 0; border-top: 1px solid var(--cfp-line); }
  .cfp-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cfp-sites-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cfp-chain li { margin-right: 26px; font-size: 13px; }
  .cfp-chain li::after { right: -19px; }
}

/* Wide analytics stay readable on phones: the frame scrolls sideways, pixels are never cropped. */
@media (max-width: 760px) {
  .cf-premium .cfp-shot--wide .cfp-shot-scroll img { width: var(--shot-min, 760px); }
  .cfp-shot--wide.is-scrollable::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    background: linear-gradient(90deg, transparent, rgba(8, 10, 9, .5));
    pointer-events: none;
  }
  .cfp-dialog.is-wide .cfp-dialog-body img { width: 1100px; max-width: none; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cf-premium *,
  .cf-premium *::before,
  .cf-premium *::after { transition: none !important; }
  .cf-premium a.cfp-btn:hover { transform: none; }
}
