:root {
  --ok-pink-on-light: #b52454;
  --ok-pink-on-dark: #ee4d78;
  --ok-readable-muted: #4d5360;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Dostępny wariant akcentu zależny od tła. */
.campaign-opening,
.campaign-proof,
.social-opening,
.social-signals,
.process-frame[data-stage-bg="#ead9cb"],
.diagnosis-frame[data-theme="light"],
.scene-light {
  --pink: var(--ok-pink-on-light);
}

.campaign-journey,
.social-rhythm,
.process-frame[data-stage-bg="#06192b"],
.diagnosis-frame[data-theme="dark"],
.scene-dark {
  --pink: var(--ok-pink-on-dark);
}

.privacy-page {
  --legal-pink: var(--ok-pink-on-light);
  --legal-muted-light: #4d5360;
}

.privacy-status__label span,
.privacy-toc h2 {
  color: #515762;
}

/* Widoczny, stały i dostępny mechanizm zatrzymania ruchu. */
.motion-toggle {
  position: fixed;
  z-index: 120;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(240, 223, 207, .32);
  border-radius: 999px;
  color: #f8eee5;
  background: rgba(7, 26, 44, .92);
  box-shadow: 0 10px 28px rgba(7, 26, 44, .24);
  font: 650 12px/1 "Archivo", "Aptos", "Segoe UI", sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.motion-toggle:hover {
  border-color: var(--ok-pink-on-dark);
}

.motion-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.motion-toggle__icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.motion-toggle[aria-pressed="true"] .motion-toggle__icon {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 10px solid currentColor;
}

html[data-motion="paused"] {
  scroll-behavior: auto !important;
}

html[data-motion="paused"] *,
html[data-motion="paused"] *::before,
html[data-motion="paused"] *::after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
  transition-delay: 0s !important;
}

/* Większe pola aktywne bez powiększania wizualnego punktu. */
.annotation-dot {
  min-width: 44px !important;
  min-height: 44px !important;
  border-width: 0 !important;
  background: transparent !important;
}

.annotation-dot::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid var(--pink, var(--ok-pink-on-light));
  border-radius: 50%;
  background: #fff8ea;
}

.scene-dark .annotation-dot::before,
.campaign-journey .annotation-dot::before,
.social-rhythm .annotation-dot::before,
.process-frame[data-stage-bg="#06192b"] .annotation-dot::before {
  background: #071a2c;
}

/* Warstwa zakupowa i treść łatwa do znalezienia przez ludzi oraz systemy AI. */
.decision-guide {
  position: relative;
  z-index: 3;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 96px);
  color: #071a2c;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 42%),
    #f3e6d9;
  font-family: "Archivo", "Aptos", "Segoe UI", sans-serif;
}

.decision-guide__intro {
  max-width: 920px;
  margin-bottom: clamp(38px, 5vw, 72px);
}

.decision-guide__eyebrow {
  margin: 0 0 16px;
  color: var(--ok-pink-on-light);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.decision-guide h2 {
  margin: 0;
  max-width: 900px;
  font: 550 clamp(46px, 6vw, 92px)/.95 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.025em;
}

.decision-guide__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #34424c;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.decision-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(7, 26, 44, .16);
  border-bottom: 1px solid rgba(7, 26, 44, .16);
}

.decision-guide__item {
  min-width: 0;
  padding: 28px clamp(18px, 2.2vw, 34px) 32px 0;
}

.decision-guide__item + .decision-guide__item {
  padding-left: clamp(18px, 2.2vw, 34px);
  border-left: 1px solid rgba(7, 26, 44, .16);
}

.decision-guide__item h3 {
  margin: 0 0 12px;
  color: var(--ok-pink-on-light);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.decision-guide__item p,
.decision-guide__item li {
  color: #34424c;
  font-size: 14px;
  line-height: 1.65;
}

.decision-guide__item p {
  margin: 0;
}

.decision-guide__item ul {
  margin: 0;
  padding-left: 1.1em;
}

.decision-guide__faq {
  max-width: 980px;
  margin-top: clamp(42px, 6vw, 78px);
}

.decision-guide__faq h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4vw, 60px);
}

.decision-guide__faq details {
  border-top: 1px solid rgba(7, 26, 44, .16);
}

.decision-guide__faq details:last-child {
  border-bottom: 1px solid rgba(7, 26, 44, .16);
}

.decision-guide__faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  color: #071a2c;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 650;
  cursor: pointer;
}

.decision-guide__faq summary::after {
  content: "+";
  color: var(--ok-pink-on-light);
  font-size: 28px;
  font-weight: 450;
}

.decision-guide__faq details[open] summary::after {
  content: "–";
}

.decision-guide__faq details p {
  max-width: 800px;
  margin: 0;
  padding: 0 0 22px;
  color: #34424c;
  font-size: 15px;
  line-height: 1.7;
}

.offer-intro {
  padding: 0 var(--gutter, clamp(20px, 3vw, 56px)) clamp(26px, 4vw, 54px);
}

.offer-intro p {
  max-width: 820px;
  margin: 0;
  color: #3e4855;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65;
}

/* „O nas” zachowuje pełnoekranowe sceny, ale używa natywnego przewijania. */
html:has(body.about-page),
html:has(body.about-page) body {
  width: 100%;
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: auto !important;
}

body.about-page {
  position: static !important;
  inset: auto !important;
}

.about-page .story {
  height: auto !important;
  overflow: visible !important;
}

.about-page .scene {
  position: relative !important;
  inset: auto !important;
  min-height: 100svh;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.about-page .scene-nav {
  position: fixed;
}

@media (max-width: 820px) {
  .motion-toggle {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .decision-guide__grid {
    grid-template-columns: 1fr 1fr;
  }

  .decision-guide__item:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgba(7, 26, 44, .16);
    border-left: 0;
  }

  .decision-guide__item:nth-child(4) {
    border-top: 1px solid rgba(7, 26, 44, .16);
  }
}

@media (max-width: 640px) {
  .about-page .scene-nav {
    bottom: 68px;
  }

  .decision-guide {
    padding: 64px 20px 76px;
  }

  .decision-guide__grid {
    grid-template-columns: 1fr;
  }

  .decision-guide__item,
  .decision-guide__item + .decision-guide__item {
    padding: 22px 0 24px;
    border-top: 1px solid rgba(7, 26, 44, .16);
    border-left: 0;
  }

  .decision-guide__item:first-child {
    border-top: 0;
  }

  .proof-label small,
  .proof-detail p,
  .proof-output,
  .journey-mobile-steps strong,
  .journey-mobile-steps span,
  .web-service .opening-scope,
  .web-service .section-kicker,
  .process-act,
  .process-opening-copy p,
  .site-footer__diagnosis small,
  .site-footer__work-mode,
  .site-footer__bottom,
  .legal-eyebrow,
  .privacy-status__label,
  .privacy-toc h2,
  .legal-footer {
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-play-state: paused !important;
  }
}
