/* Inner pages share the landing page's proportions, type and blocks (body.home-page.inner-page). */
.inner-page .page-hero { margin-top: calc(-1 * var(--header-height)); padding: calc(var(--header-height) + 35px) 0 34px; }
.inner-page .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 5%; padding-left: 3.2%; }
.inner-page .page-title { max-width: 16em; font-size: clamp(28px, 3.05vw, 44px); line-height: 1.02; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
.inner-page .page-subtitle { max-width: 36em; margin-top: 18px; font-size: .95em; line-height: 1.42; color: #586f91; }
.inner-page .page-hero-actions { margin-top: 20px; gap: 18px; }
.inner-page .page-hero-actions .button-outline .icon { width: 1.25em; height: 1.25em; padding: .3em; color: #fff; border-radius: 50%; background: var(--blue); }
.inner-page .page-hero-actions .button .icon { font-size: 1.2em; }

/* Hero picture: the landing page's white cards instead of the orbit with the mark. */
.hero-tiles { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-tiles::before { content: ''; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #8fd6ff66, transparent 70%); }
.hero-tile { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 20px; border: 1px solid #fff; border-radius: 12px; background: rgba(255,255,255,.9); color: #162346; box-shadow: 0 5px 18px #2a97cb12; }
.hero-tile:nth-child(2n) { transform: translateY(18px); }
.hero-tile strong { font-size: .9em; line-height: 1.3; font-weight: 600; }
.hero-tile .icon-box { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; color: var(--blue); background: #e5f4ff; box-shadow: none; font-size: 24px; }
.hero-tile .icon-box.green { color: var(--green); background: #e7f8f3; }
.hero-tile-wide { grid-column: 1 / -1; justify-content: space-between; gap: 10px; min-height: 0; margin-top: 18px; padding: 16px 22px; transform: none !important; }
.hero-tile-wide img { width: 30px; height: 30px; object-fit: contain; }

/* Section headings and labels as on the landing page. */
.inner-page .section { padding: 44px 0 0; }
.inner-page .section-soft { background: transparent; }
.inner-page .section-header.centered { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.inner-page .section-header.centered .section-subtitle { margin-left: 0; margin-right: 0; }
.inner-page .section-kicker { margin-bottom: 6px; font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1590e8; }
.inner-page .content-block h2 { font-size: clamp(20px, 2.15vw, 30px); line-height: 1.1; letter-spacing: -.025em; font-weight: 650; }
.inner-page .content-block > p { margin-top: 10px; font-size: .95em; line-height: 1.45; }
.inner-page .check-list li { font-size: .88em; }

/* Cards: the landing page's feature-card density. */
.inner-page .role-card, .inner-page .channel-card, .inner-page .method-card, .inner-page .scenario-card,
.inner-page .anatomy-card, .inner-page .metric-card, .inner-page .feature-card { padding: 18px 23px; border-color: #e7eff7; border-radius: 12px; box-shadow: var(--shadow-sm); }
.inner-page .role-card::after, .inner-page .channel-card::after, .inner-page .method-card::after,
.inner-page .scenario-card::after, .inner-page .anatomy-card::after, .inner-page .metric-card::after { display: none; }
.inner-page .role-card h3, .inner-page .channel-card h3, .inner-page .method-card h3, .inner-page .scenario-card h3,
.inner-page .anatomy-card h3, .inner-page .metric-card h3 { font-size: .96em; line-height: 1.2; font-weight: 600; }
.inner-page .role-card p, .inner-page .channel-card p, .inner-page .method-card p, .inner-page .scenario-card p,
.inner-page .anatomy-card p, .inner-page .metric-card p { font-size: .82em; line-height: 1.35; }
.inner-page .home-cta { margin-top: 44px; }

/* Contacts, docs and history: same heading scale as the landing page. */
.inner-page .contact-layout { padding-left: 3.2%; }
.inner-page .contact-intro h1, .inner-page .docs-article h1 { font-size: clamp(28px, 3.05vw, 44px); line-height: 1.02; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
.inner-page .contact-intro > p { margin-top: 18px; font-size: .95em; line-height: 1.42; color: #586f91; }
.inner-page .contact-benefit h3 { font-size: .96em; font-weight: 600; }
.inner-page .contact-benefit p { font-size: .82em; line-height: 1.35; }
.inner-page .docs-article h2 { margin: 44px 0 14px; font-size: clamp(20px, 2.15vw, 30px); line-height: 1.1; letter-spacing: -.025em; font-weight: 650; }
.inner-page .docs-article h3 { font-size: 1.1em; font-weight: 600; }
.inner-page .timeline-content h3 { font-size: .96em; font-weight: 600; }
.inner-page .timeline-content p { font-size: .82em; line-height: 1.35; }
.inner-page main > .section:last-child:not(.home-cta) { padding-bottom: 44px; }

/* Full catalogue on the integrations page: tabs wrap, search stays in the row. */
.inner-page .integration-toolbar { flex-wrap: wrap; gap: 12px; }
.inner-page .filter-tabs { flex: 1 1 0; min-width: 0; flex-wrap: wrap; }
.inner-page .filter-button { flex: 0 0 auto; }

@media (max-width: 1099px) {
  .inner-page .contact-layout { padding-left: 0; }
  .inner-page .page-hero-grid { grid-template-columns: 1fr; gap: 34px; padding-left: 0; }
  .inner-page .hero-tiles { max-width: 560px; }
}
@media (max-width: 800px) {
  .inner-page .page-hero { margin-top: 0; padding-top: 30px; }
  .inner-page .page-title, .inner-page .contact-intro h1, .inner-page .docs-article h1 { font-size: clamp(28px, 6.2vw, 40px); }
  .inner-page .page-subtitle { font-size: 14px; }
  .inner-page .section { padding-top: 34px; }
  .inner-page .section-kicker { font-size: 10px; }
  .inner-page .content-block h2 { font-size: 25px; }
  .hero-tile { min-height: 76px; padding: 14px; gap: 12px; }
  .hero-tile strong { font-size: 13px; }
  .hero-tile .icon-box { width: 40px; height: 40px; font-size: 20px; }
}
@media (max-width: 540px) {
  .inner-page .page-title, .inner-page .contact-intro h1, .inner-page .docs-article h1 { font-size: clamp(26px, 7vw, 34px); }
  .inner-page .page-hero-actions { flex-wrap: wrap; gap: 9px; }
  .inner-page .page-hero-actions .button { flex: 1 1 auto; min-height: 42px; font-size: 12px; }
  .hero-tiles { gap: 10px; }
  .hero-tile:nth-child(2n) { transform: none; }
  .hero-tile-wide { margin-top: 0; padding: 12px 14px; }
  .hero-tile-wide img { width: 22px; height: 22px; }
  .inner-page .content-block h2 { font-size: 24px; }
}
