html:has(body.section-paging) { overflow: hidden; scroll-behavior: auto; }
body.section-paging { height: 100dvh; overflow: hidden; }
.section-paging .page-stage { position: relative; height: var(--page-height); min-height: 0; overflow: hidden; }
.section-paging main { height: 100%; min-height: 0; }
.page-stage > main[hidden], .page-frame[hidden] { display: none !important; }
.page-frame {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  padding-bottom: 0;
  -webkit-overflow-scrolling: touch;
}
.page-frame > .section { padding-top: 36px; padding-bottom: 28px; margin-top: 0; }
.page-frame > .hero {
  min-height: calc(var(--page-height) - var(--frame-aux-height, 0px));
  padding-top: 28px;
  padding-bottom: 28px;
}
.page-frame > .hero::before { inset: 0; }
.page-frame .hero-visual { height: clamp(280px, calc(var(--page-height) - 180px), 560px); }
.page-frame > .story-strip { padding-block: 18px; }
.page-frame > .stack-section { margin-top: 0; padding-top: 28px; padding-bottom: 24px; }
.page-frame > .final-cta { min-height: var(--page-height); padding-block: 32px; display: grid; align-content: center; }
.page-frame > .contact-section { padding-top: 32px; }
.page-frame > .section::before { display: none; }
.page-frame .section-heading { margin-bottom: 28px; }
.page-frame .chips { margin-block: 16px; }
.page-frame .ecosystem { max-width: 520px; }
.page-frame .footer-links { padding-block: 24px; }
.page-frame .footer-bottom { padding-bottom: 24px; }
/* Every visible viewport contains one complete section. Its content remains live. */
.page-frame .reveal, .page-frame .reveal.in-view { opacity: 1; transform: none; transition: none; }
.page-frame .reveal.tilt-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.page-frame.page-enter { animation: page-arrive 160ms ease-out both; }
@keyframes page-arrive { from { opacity: .94; } to { opacity: 1; } }
.page-controls {
  position: fixed;
  z-index: 21;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(60px + env(safe-area-inset-bottom));
  padding: 7px 20px calc(7px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #0b1425f5;
  border-top: 1px solid #8cb7ee29;
  backdrop-filter: blur(16px);
}
.page-navigation { display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; margin-inline: auto; }
.page-navigation button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #8dc3ef4d;
  border-radius: 10px;
  background: #152439;
  color: #b2e5ff;
  font-size: 22px;
}
.page-navigation button:hover:not(:disabled) { background: #244163; border-color: #a4d9ff; }
.page-navigation button:disabled { opacity: .3; cursor: default; }
.page-position { min-width: 150px; max-width: 340px; display: flex; flex-direction: column; text-align: center; gap: 3px; }
.page-count { font-size: 10px; letter-spacing: 2px; color: #7fb7dc; }
.page-name { font-size: 12px; line-height: 1.4; color: #c4d5ed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-paging .page-controls .motion-toggle, .section-paging .page-controls .whatsapp { position: static; flex-shrink: 0; min-height: 44px; margin: 0; }
.page-controls .motion-toggle { min-width: 116px; justify-content: center; }
.page-controls .whatsapp { min-width: 116px; }
@media (max-width: 1050px) {
  .section-paging .header nav { max-height: calc(100dvh - var(--page-header-height) - var(--page-controls-height)); }
}
@media (max-width: 960px) {
  .page-frame > .hero { gap: 6px; min-height: 0; padding-bottom: 20px; }
  .page-frame > .story-strip { padding-block: 16px; }
  .page-frame .hero-visual { height: clamp(240px, calc(var(--page-height) * .34), 420px); margin-top: 4px; }
}
@media (max-width: 600px) {
  .page-frame > .hero { padding-top: 20px; padding-bottom: 12px; min-height: 0; gap: 0; }
  .page-frame .hero h1 { font-size: clamp(32px, 9vw, 42px); margin: 12px 0; }
  .page-frame .hero h1 > span:not(.hero-highlight) { margin-top: 12px; }
  .page-frame .hero p { font-size: 14px; line-height: 1.65; margin: 12px 0; }
  .page-frame .hero .actions { margin-top: 22px; }
  .page-frame .hero-note { margin-top: 14px; }
  .page-frame .hero-visual { height: clamp(180px, calc(var(--page-height) * .26), 230px); margin-block: 8px 0; max-width: 420px; }
  .page-frame .scene-label { padding: 7px; font-size: 15px; }
  .page-frame .scene-label span { font-size: 7px; }
  .page-frame > .section { padding-top: 24px; }
  .page-frame > .story-strip { padding-block: 12px; }
  .page-frame > .final-cta { padding-block: 36px; }
  .page-controls { gap: 6px; padding-inline: 8px; }
  .page-navigation { flex: 1; gap: 6px; margin: 0; }
  .page-position { min-width: 0; max-width: 180px; flex: 1; }
  .page-name { font-size: 11px; }
  .page-controls .motion-toggle, .page-controls .whatsapp { width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 10px; }
  .page-controls .motion-toggle { font-size: 0; }
  .page-controls .motion-toggle::before { content: 'Ⅱ'; font-size: 18px; }
  .page-controls .motion-toggle[aria-pressed="true"]::before { content: '▶'; font-size: 15px; }
  .page-controls .whatsapp span { display: none; }
}
@media (max-height: 500px) { .page-frame > .hero { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
  .page-frame.page-enter { animation: none; }
  .page-frame .reveal.tilt-card { transform: none; }
}
body.motion-paused .page-frame.page-enter { animation: none; }

/* The homepage opens with the same live systems diagram as the integrations section. */
.page-frame .hero-visual.hero-systems {
  height: auto;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  border-radius: 0;
  background: none;
}
.page-frame .hero-systems > .ecosystem { max-width: 580px; }
.hero-systems::before, .hero-systems::after, .hero-systems .ecosystem-links-compact { display: none; }
.page-frame .hero-systems .hero-connection { margin: 12px 0 0; font-size: 12px; line-height: 1.6; max-width: none; letter-spacing: 0; }
@media (max-width: 960px) {
  .page-frame .hero-visual.hero-systems { max-width: 480px; margin-block: 12px 0; }
}
@media (max-width: 600px) {
  .page-frame .hero-visual.hero-systems { max-width: 360px; margin-block: 8px 0; }
  .hero-systems .ecosystem { min-height: 250px; }
  .hero-systems .ecosystem-links-wide { display: none; }
  .hero-systems .ecosystem-links-compact { display: block; }
  .hero-systems .system { left: clamp(40px, var(--x), calc(100% - 40px)); top: var(--compact-y); font-size: 9px; padding: 8px; min-height: 44px; }
  .hero-systems .engine { width: clamp(72px, 24vw, 100px); height: clamp(72px, 24vw, 100px); font-size: 26px; }
  .hero-systems .engine small { font-size: 7px; letter-spacing: .5px; line-height: 1.5; }
  .page-frame .hero-systems .hero-connection { font-size: 10px; margin-top: 10px; }
}
