/* Inner pages (pricing, case studies): page header, readable text, key figures and FAQ. */

.page-crumbs {
  padding-top: 48px;
}

.page-crumbs .breadcrumb {
  margin: 0;
}

.page-hero {
  padding: 56px 0 72px;
}

.page-hero .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.page-title {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(34px, 6vw, 88px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.page-lead {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text-2);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.breadcrumb {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--faint);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

/* Key figures */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
}

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

.figure dd {
  order: -1;
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.figure dt {
  color: var(--muted);
  font-size: 15px;
}

/* Readable text blocks */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
}

.prose ul {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--accent-text);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.case-shot {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.case-shot img {
  width: 100%;
}

/* FAQ */
.faq {
  max-width: 900px;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 22px;
  transition: transform 0.25s ease, background-color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent-fill);
  border-color: var(--accent);
}

.faq details p {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}

.faq a {
  color: var(--accent-text);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 48px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1A2A55, #141529);
  border: 1px solid rgba(61, 123, 255, 0.4);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.more-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .page-crumbs {
    padding-top: 32px;
  }

  .page-hero {
    padding: 40px 0 48px;
  }

  .page-lead {
    font-size: 19px;
  }

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

  .figure:nth-child(3) {
    border-left: 0;
  }

  .figure:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .figure dd {
    font-size: 36px;
  }

  .cta-band {
    padding: 32px 24px;
  }
}
