﻿/* ==========================================================================
   DDX - design tokens (from Figma: DDX website, "MacBook Pro 16" - 1")
   ========================================================================== */
:root {
  --z-loader: 100000;
  --bg: #000;
  --fg: #f8fffd;
  --fg-muted: rgb(255 255 255 / 80%);
  --fg-faint: rgb(255 255 255 / 40%);
  --border: rgb(255 255 255 / 28%);
  --border-strong: #2a272d;
  --accent: #ab30cf;
  --tag-bg: rgb(114 102 129 / 26%);
  --tag-bg-strong: rgb(114 102 129 / 35%);
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', menlo, monospace;
  --content-max: 1300px;
  --content-pad: 24px;
  --nav-height: 64px;
  --container: var(--content-max); /* alias */
  --title-gradient: linear-gradient(75deg, #868b9d 8%, #fff 30%, #fff 77%, #868b9d 99%);

  /* Mobile-safe viewport (address / URL bar) */
  --app-vh: 100vh;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

@supports (height: 100dvh) {
  :root {
    --app-vh: 100dvh;
  }
}

.gtm-noscript {
  display: none;
  visibility: hidden;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ukrycie natywnego scrollbara – własny pasek */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
  display: none;
}

/* Custom scrollbar - fioletowy */
.custom-scrollbar {
  position: fixed;
  top: 0;
  right: 2px;
  width: 2px;
  height: var(--app-vh);
  background: transparent;
  z-index: 2147483647;
  pointer-events: auto;
}

.custom-scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 2px;
  min-height: 40px;
  background: var(--accent);
  border-radius: 1px;
  pointer-events: auto;
  cursor: grab;
}

.custom-scrollbar-thumb:hover {
  background: #c13ee8;
  opacity: 0.9;
}

.custom-scrollbar-thumb:active {
  cursor: grabbing;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Content rail - tekst/layout; absolute images mogą wychodzić poza */
.content {
  max-width: var(--content-max);
  margin-inline: auto;
  width: 100%;
  padding-inline: var(--content-pad);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(114 102 129 / 35%);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 0;
  border: none;
  overflow: hidden;
  white-space: nowrap;
  transform-origin: left center;
  will-change: width;
  text-decoration: none;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  padding: 20px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: left center;
  will-change: width;
}

.btn--primary {
  background: #ab30cf;
  color: #fff;
}

.btn--primary:hover {
  background: #c13ee8;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

.hero__title,
.banner__title,
.split__text h3,
.feature__text h3,
.cta__text h3 {
  color: var(--fg);
}

.hero__title .line,
.split__text h3 .line,
.feature__text h3 .line,
.cta__text h3 .line {
  color: #fff;
  background: none;
  background-clip: unset;
  display: block;
}

.banner__title .line {
  background: var(--title-gradient);
  background-clip: text;
  color: transparent;
  display: block;
}

.line-mask {
  overflow: hidden;
  display: block;
}

.line-mask .line {
  display: block;
  will-change: transform;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(17 17 17 / 50%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 var(--content-pad);
}

.nav__left {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
}

.nav__logo {
  display: flex;
  align-items: center;
  padding: 0;
  height: 100%;
}

.nav__logo img {
  height: 34px;
  width: auto;
}

.nav__logo-fallback {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  padding: 0 26px;
  color: var(--fg-muted);
  font-size: 15px;
}

.nav__links a:hover {
  color: var(--fg);
}

.nav__right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__sections {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
}

.nav__lang-btn:hover {
  color: var(--accent);
}

.icon--globe {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.icon--caret {
  width: 10px;
  height: 6px;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.nav__lang.is-open .icon--caret {
  transform: rotate(180deg);
}

.nav__lang-menu {
  position: absolute;
  top: calc(100% - 8px);
  right: 8px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  min-width: 72px;
  background: rgb(17 17 17 / 95%);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 60;
}

.nav__lang-menu[hidden] {
  display: none;
}

.nav__lang-menu li {
  padding: 8px 16px;
  font-size: 12.75px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
}

.nav__lang-menu li:hover,
.nav__lang-menu li[aria-selected='true'] {
  color: var(--fg);
  background: rgb(255 255 255 / 6%);
}

.nav__contact {
  padding: 0 13.6px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 12.75px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav__contact:hover {
  color: var(--accent);
}

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.nav__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transform: scaleY(0.5);
  transform-origin: center center;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.nav__burger.is-active .nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg) scaleY(0.5);
}

.nav__burger.is-active .nav__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0) scaleY(0.5);
}

.nav__burger.is-active .nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) scaleY(0.5);
}

/* Side menu (mobile) */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 16rem;
  max-width: 100vw;
  height: 100%;
  min-height: 100%;
  min-height: var(--app-vh);
  z-index: 95;
  box-sizing: border-box;
  padding: 1.5rem;
  padding-top: calc(var(--nav-height) + 1rem);
  background: rgb(10 10 10 / 98%);
  border-left: 1px solid var(--border);
  overflow: hidden;
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.nav-menu__nav-block {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu__top {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-bottom: 1.25rem;
}

.nav-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
}

.nav-menu__link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-muted);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.nav-menu__link:hover,
.nav-menu__link:focus-visible {
  color: var(--accent);
  outline: none;
}

.nav__lang--menu {
  height: auto;
}

.nav__lang--menu .nav__lang-btn {
  height: auto;
  padding: 8px 0;
}

.nav__lang--menu .nav__lang-menu {
  left: 0;
  right: auto;
  top: calc(100% + 4px);
}

html.nav-menu-uses-gsap .nav-menu {
  transition: none;
}

.nav-menu.nav-menu--open {
  transform: translateX(0);
}

.page-wrap.menu-push {
  transform: translateX(-16rem);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (width <= 900px) {
  .nav__sections,
  .nav__right > .nav__contact,
  .nav__right > .nav__lang {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

@media (width >= 901px) {
  .nav-menu {
    display: none;
  }
}

/* Anchor targets - native scroll + scrollIntoView fallback */
section[id],
.cta[id] {
  scroll-margin-top: var(--nav-height);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  height: var(--app-vh);
  max-height: var(--app-vh);
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #000;
}

.hero__geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero__title {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 780px;
}

.hero__sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 565px;
}

.hero__tagline {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.hero__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.77;
}

/* ==========================================================================
   Gradient banners
   ========================================================================== */
.banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 125px 0;
  text-align: center;
  background: #000;
}

.banner__glow {
  display: none;
}

.banner .content {
  position: relative;
  z-index: 1;
}

.banner__title {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

@media (width <= 900px) {
  .banner {
    padding: 50px 0;
  }
}

/* ==========================================================================
   Split (Attention 1) - 50/50: tekst | box img
   Img absolute: wysokość = wysokość pola, L/R overflow swobodny,
   pozycja proporcjonalna do parenta. Tekst z-index nad obrazem.
   ========================================================================== */
.split {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #000;
}

.hero:has(.method[open]),
.banner:has(.method[open]),
.split:has(.method[open]) {
  overflow: visible;
  z-index: 6;
}

.split__inner {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: stretch;
  min-height: 620px;
}

.split__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding-block: 64px;
}

.split__text h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  max-width: 480px;
}

.split__text p,
.split__copy {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.77;
  color: var(--fg-muted);
  max-width: 430px;
}

.split__media {
  position: relative;
  z-index: 1;
  overflow: visible;
  min-height: 100%;
}

.split__img {
  position: absolute;
  top: -10%;
  left: 50%;
  height: 120%;
  width: auto;
  max-width: none;

  /* x/y sterowane przez GSAP (xPercent + yPercent) */
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.split__layers {
  position: absolute;
  top: -10%;
  left: 50%;
  height: 120%;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.split--geo .split__layers {
  position: absolute;
  inset: 0 auto 0 50%;
  margin-block: auto;
  width: fit-content;
  height: 82.6%;
  transform-origin: center center;
}

.split--geo .split__layer:first-child {
  object-fit: cover;
  object-position: center center;
  transform: translate(-20%, 12%);
}

.split--geo .split__layer,
.split--geo .split__layer:not(:first-child) {
  object-position: center center;
}

.split__layer {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.split__layer:first-child {
  position: relative;
}

.split__layer:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  will-change: transform, opacity;
}

.split__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  display: none; /* schowane - kod zostaje */
}

.split__particles-plane {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.split__particle {
  position: absolute;
  border-radius: 50%;
}

/* Brand safety - kopia Attention, zamiana miejsc: img lewo | tekst prawo */
.split--reverse .split__inner {
  grid-template-columns: 65% 35%;
}

.split--reverse .split__media {
  grid-column: 1;
  grid-row: 1;
}

.split--reverse .split__text {
  grid-column: 2;
  grid-row: 1;
}

@media (width <= 900px) {
  .split__inner.content {
    max-width: none;
    width: 100%;
    padding-inline: 0;
  }

  .split__inner,
  .split--reverse .split__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split__text {
    padding-block: 48px;
    padding-inline: var(--content-pad);
  }

  .split--reverse .split__media,
  .split--reverse .split__text {
    grid-column: 1;
    grid-row: auto;
  }

  .split__media {
    min-height: 360px;
    width: 100%;
  }

  .split--geo .split__layers {
    top: -10%;
    bottom: auto;
    margin-block: 0;
    height: 108%;
  }
}

/* ==========================================================================
   Feature sections (Brand safety / Kontekst)
   ========================================================================== */
.feature {
  position: relative;
  border-bottom: 1px solid var(--border);
  min-height: 620px;
  display: flex;
  align-items: center;
  background-color: #000;
  background-image: var(--feature-bg, none);
  background-size: cover;
  background-position: center;
}

.feature::before {
  content: none;
}

.feature--left::before {
  background: none;
}

.feature--right::before {
  background: none;
}

.feature__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 620px;
  padding-block: 64px;
}

.feature__text {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 520px;
}

.feature--right .feature__text {
  grid-column: 2;
}

.feature__text h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  max-width: 480px;
}

.feature__text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.77;
  color: var(--fg-muted);
  max-width: 430px;
}

@media (width <= 900px) {
  .feature__inner {
    grid-template-columns: 1fr;
    padding-block: 48px;
    min-height: 0;
  }

  .feature__text,
  .feature--right .feature__text {
    grid-column: 1;
    max-width: none;
  }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 96px;
}

.cta__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.cta__text h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  max-width: 640px;
}

.cta__text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--fg);
  max-width: 558px;
  line-height: 1.77;
}

.cta__text .cta__company {
  font-size: 13px;
  color: rgb(255 255 255 / 70%);
  line-height: 1.6;
}

.cta__email {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  max-width: 100%;
  padding: 9px 20px;
  border: none;
  border-radius: 0;
  background: rgb(114 102 129 / 35%);
}

.cta__email a {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.cta__copy {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.cta__copy:hover {
  opacity: 0.75;
}

.cta__graphic {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta__graphic img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

@media (width <= 900px) {
  .cta {
    grid-template-columns: 1fr;
    text-align: left;
    padding-block: 64px;
  }

  .cta__graphic {
    order: -1;
    justify-content: flex-start;
  }

  .cta__graphic img {
    max-width: 280px;
    margin: 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-strong);
  padding-block: 40px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-faint);
}

.footer__privacy {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer__privacy:hover {
  color: var(--fg-muted);
}

/* ==========================================================================
   Privacy popup
   ========================================================================== */
.privacy-popup {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-vh);
  max-height: var(--app-vh);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, var(--safe-top)) max(0.5rem, var(--safe-right))
    max(0.5rem, var(--safe-bottom)) max(0.5rem, var(--safe-left));
  box-sizing: border-box;
}

.privacy-popup.is-open {
  display: flex;
}

.privacy-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(4px);
}

.privacy-popup__panel {
  position: relative;
  width: min(95vw, 100%);
  max-width: 95vw;
  height: 95vh;
  height: 95dvh;
  max-height: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.privacy-popup__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  margin: 0;
  border: none;
  background: var(--bg);
  cursor: pointer;
  box-sizing: border-box;
}

.privacy-popup__close::before,
.privacy-popup__close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transform-origin: center center;
}

.privacy-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg) scaleY(0.5);
}

.privacy-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg) scaleY(0.5);
}

.privacy-popup__close:hover::before,
.privacy-popup__close:hover::after {
  background: var(--accent);
}

.privacy-popup__scroll-wrap {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
}

.privacy-popup__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.privacy-popup__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.privacy-popup__scrollbar {
  position: absolute;
  top: 0;
  right: 2px;
  bottom: 0;
  width: 2px;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.privacy-popup.is-open .privacy-popup__scrollbar {
  pointer-events: auto;
}

.privacy-popup__scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 2px;
  min-height: 40px;
  background: var(--accent);
  border-radius: 1px;
  pointer-events: auto;
  cursor: grab;
}

.privacy-popup__scrollbar-thumb:hover {
  background: #c13ee8;
  opacity: 0.9;
}

.privacy-popup__scrollbar-thumb:active {
  cursor: grabbing;
}

.privacy-popup__content {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 48px 56px 40px;
}

.privacy-popup__content h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
}

.privacy-popup__updated {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--fg-faint);
}

.privacy-popup__content h3 {
  margin: 28px 0 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.privacy-popup__content p,
.privacy-popup__content ul,
.privacy-popup__content ol {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.privacy-popup__content ul,
.privacy-popup__content ol {
  padding-left: 1.25rem;
}

.privacy-popup__content li {
  margin-bottom: 6px;
}

.privacy-popup__content li ul,
.privacy-popup__content li ol {
  margin-top: 8px;
  margin-bottom: 0;
}

.privacy-popup__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 14px;
  -webkit-overflow-scrolling: touch;
}

.privacy-popup__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.privacy-popup__table th,
.privacy-popup__table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.privacy-popup__table th {
  color: var(--fg);
  font-weight: 500;
  background: rgb(255 255 255 / 4%);
}

.privacy-popup__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-popup__content a:hover {
  opacity: 0.85;
}

body.privacy-popup-open {
  overflow: hidden;
}

body.privacy-popup-open .custom-scrollbar {
  opacity: 0;
  pointer-events: none;
}

@media (width <= 600px) {
  .privacy-popup {
    padding: max(0.75rem, var(--safe-top)) max(0.5rem, var(--safe-right))
      max(0.75rem, var(--safe-bottom)) max(0.5rem, var(--safe-left));
    align-items: stretch;
  }

  .privacy-popup__panel {
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
  }

  .privacy-popup__close {
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .privacy-popup__content {
    padding: 52px 24px 32px;
  }
}

/* ==========================================================================
   Loader
   ========================================================================== */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

html.is-loading .custom-scrollbar {
  visibility: hidden;
  pointer-events: none;
}

.loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--app-vh);
  max-height: var(--app-vh);
  z-index: var(--z-loader);
  overflow: hidden;
}

.loader.is-hidden {
  pointer-events: none;
}

.loader-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg);
  will-change: transform;
}

.loader-half--top {
  top: 0;
}

.loader-half--bottom {
  bottom: 0;
}

.loader-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  will-change: opacity;
}

.loader-percent {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  margin: 0;
  transform: translate(-50%, calc(-100% - 1rem));
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.loader-line {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  height: 1px;
  width: 0%;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width 0.25s ease-out;
  will-change: width, opacity;
}

.skip-link {
  background: var(--fg);
  color: var(--bg);
  inset-block-start: -100vh;
  inset-inline-start: var(--content-pad);
  padding: 0.75rem 1rem;
  position: absolute;
  text-decoration: none;
  z-index: calc(var(--z-loader) + 1);
}

.skip-link:focus {
  inset-block-start: var(--content-pad);
}

/* ==========================================================================
   Methodology - last word is the native <details> trigger
   ========================================================================== */
.method {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
  max-width: none;
}

.method > summary {
  display: inline;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  cursor: auto;
  list-style: none;
}

.method > summary::-webkit-details-marker,
.method > summary::marker {
  display: none;
  content: none;
}

.method > summary:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
  border-radius: 2px;
}

.method:not([open]) > .method__body {
  display: none;
}

.method[open] > .method__body {
  display: block;
  overflow: hidden;
  margin-top: 0.85rem;
  max-width: 62ch;
}

.hero__desc .method__body,
.split__copy .method__body {
  max-width: 100%;
}

.method__body p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg-muted);
}

.banner__heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.banner__heading .banner__title {
  display: inline;
  margin: 0;
  max-width: none;
  font: inherit;
  letter-spacing: inherit;
}

.banner__heading .method__body {
  margin-inline: auto;
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.6;
}

@media print {
  .method__body {
    margin-top: 0;
  }
}
