/* Materialized from components/site-nav.html and components/site-footer.html. */
:root {
  --pw-site-nav-height: 56px;
  --pw-site-chrome-bg: #080808;
  /* Highest valid browser stacking level: keep chrome above page sections. */
  --pw-site-nav-z: 2147483647;
}

.pw-site-nav.pw-hero-top {
  --pw-near-black: #080808;
  --pw-orange: #ff4701;
  --pw-muted: #9a9a9a;
  --pw-white: #ffffff;
  --font-piwot-sans: "Piwot Sans", ui-sans-serif, system-ui, sans-serif;
  --hero-max: 1000px;
  --hero-pad: 20px;
  --nav-content-max: calc(var(--hero-max) + var(--hero-pad) * 2);
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--pw-site-nav-z) !important;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: var(--pw-site-nav-height);
  margin: 0;
  padding: 14px max(var(--hero-pad), calc((100% - var(--nav-content-max)) / 2));
  box-sizing: border-box;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-family: var(--font-piwot-sans, "Piwot Sans", ui-sans-serif, system-ui, sans-serif);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition:
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    padding-left 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    padding-right 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.pw-site-nav.pw-hero-top.is-nav-scrolled {
  background: rgba(8, 8, 8, 0.9);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

/* FAQ rows must never show through the fixed chrome. */
.pw-site-nav.pw-hero-top.is-nav-over-faq {
  background: #080808 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.pw-site-nav.pw-hero-top .pw-hero-logo img {
  display: block;
  width: auto !important;
  height: var(--pw-dial-hero-logo-h, 22px) !important;
  transition: height 0.44s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pw-site-nav.pw-hero-top.is-nav-scrolled .pw-hero-logo img {
  height: var(
    --pw-dial-nav-scrolled-logo-h,
    var(--pw-dial-hero-logo-h, 22px)
  ) !important;
}

.pw-site-nav.pw-hero-top .pw-hero-top__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    gap 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.pw-site-nav.pw-hero-top.is-nav-hidden {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

body:has(.pw-site-nav):not(:has(.pw-beta-hero)) {
  padding-top: var(--pw-site-nav-height);
}

.footer_section.pw-cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pw-site-chrome-bg);
  padding-bottom: clamp(8.5rem, 13vw, 12.5rem);
}

.pw-cta-section__top-fade {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 192px;
  pointer-events: none;
  background: linear-gradient(180deg, #080808 0%, rgba(8, 8, 8, 0) 100%);
}

.pw-cta-shader {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pw-cta-section__content,
.footer_section.pw-cta-section > .div-block-157,
.footer_section.pw-cta-section > .div-block-159 {
  position: relative;
  z-index: 2;
}

.footer_section.pw-cta-section > .div-block-159 {
  width: 100%;
  margin: 0;
  padding: 0 1.5rem 2rem;
  transform: none;
}

.footer_section.pw-cta-section > .div-block-157 {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  bottom: 4.25rem;
  width: min(100% - 3rem, 72rem);
  max-width: 72rem;
  margin: 0;
  transform: translateX(-50%);
  overflow: hidden;
}

.footer_section.pw-cta-section > .div-block-157 .pw-logo-marquee {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.footer_section.pw-cta-section > .div-block-159 {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
}

.pw-cookie-settings {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* Consent UI: flat PIWOT℗ product chrome, rendered by pw-consent-tracking.js. */
.pw-consent__banner.cw-cookie_banner {
  --pw-consent-orange: #ff4701;
  --pw-consent-page: #080808;
  --pw-consent-surface: #101010;
  --pw-consent-secondary: #4f4c4c;
  --pw-consent-muted: #a5a5a5;
  z-index: 2147483647;
  inset: auto 20px 20px auto;
  display: block;
  width: min(23rem, calc(100vw - 40px));
  max-width: 23rem;
  max-height: calc(100svh - 40px);
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: var(--pw-consent-surface);
  color: #fff;
  font-family: var(
    --font-piwot-sans,
    "Piwot Sans",
    ui-sans-serif,
    system-ui,
    sans-serif
  );
  opacity: 1 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.48);
  overscroll-behavior: contain;
}

.pw-consent__banner[hidden] {
  display: none !important;
}

.pw-consent__banner:not([hidden]) {
  transform-origin: right bottom;
  animation: pw-consent-panel-in 580ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pw-consent__banner.is-morphing {
  overflow: hidden;
}

@keyframes pw-consent-panel-in {
  0% {
    opacity: 0;
    clip-path: inset(68% 0 0 68% round 999px);
    transform: translate3d(14px, 12px, 0) scale(0.9);
  }
  68% {
    opacity: 1;
    clip-path: inset(0 round 18px);
    transform: translate3d(0, 0, 0) scale(1.018);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 round 16px);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.pw-consent__banner.is-leaving {
  pointer-events: none;
  animation: pw-consent-panel-out 460ms cubic-bezier(0.77, 0, 0.175, 1) both;
}

@keyframes pw-consent-panel-out {
  0% {
    opacity: 1;
    clip-path: inset(0 round 16px);
    transform: translate3d(0, 0, 0) scale(1);
  }
  32% {
    opacity: 1;
    clip-path: inset(0 round 18px);
    transform: translate3d(0, 0, 0) scale(1.012);
  }
  100% {
    opacity: 0;
    clip-path: inset(68% 0 0 68% round 999px);
    transform: translate3d(14px, 12px, 0) scale(0.9);
  }
}

.pw-consent__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
}

.pw-consent__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--pw-consent-page);
  color: var(--pw-consent-orange);
}

.pw-consent__title.cookie-h,
.pw-consent__title {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pw-consent__title:focus {
  outline: none;
}

.pw-consent__close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8f8f8f;
}

.pw-consent__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pw-consent__copy {
  margin: 18px 0 0;
  color: var(--pw-consent-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.pw-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.pw-consent__button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    filter 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.pw-consent__button:hover {
  filter: brightness(1.08);
  transform: none;
}

.pw-consent__button--primary {
  border-radius: 0;
  background: var(--pw-consent-orange);
  color: var(--pw-consent-page);
}

.pw-consent__button--secondary {
  border-radius: 24px;
  background: var(--pw-consent-secondary);
  color: #f4f4f4;
}

.pw-consent__button--quiet {
  min-height: 40px;
  padding-inline: 8px;
  border-radius: 8px;
  background: transparent;
  color: #b9b9b9;
}

.pw-consent__button--quiet:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.pw-consent__inline-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.pw-consent__inline-settings:hover {
  color: #fff;
}

.pw-consent__actions--initial {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pw-consent__choices {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.pw-consent__choices:not([hidden]) {
  transform-origin: top center;
  animation: pw-consent-content-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pw-consent-content-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pw-consent__choices[hidden],
.pw-consent__banner.is-choosing .pw-consent__actions--initial {
  display: none !important;
}

.pw-consent__category {
  display: flex;
  min-height: 68px;
  margin: 0;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--pw-consent-page);
  color: #fff;
  cursor: pointer;
}

.pw-consent__category:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.pw-consent__category--locked {
  cursor: default;
}

.pw-consent__category > span:first-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.pw-consent__category strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.pw-consent__category small {
  color: #898989;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.pw-consent__always {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.pw-consent__category input {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #292929;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.pw-consent__category input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d9d9d9;
  transition: transform 0.15s ease;
}

.pw-consent__category input:checked {
  border-color: var(--pw-consent-orange);
  background: var(--pw-consent-orange);
}

.pw-consent__category input:checked::after {
  background: var(--pw-consent-page);
  transform: translateX(18px);
}

.pw-consent__close:focus-visible,
.pw-consent__button:focus-visible,
.pw-consent__inline-settings:focus-visible,
.pw-consent__category input:focus-visible {
  outline: 2px solid var(--pw-consent-orange);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .pw-consent__banner.cw-cookie_banner {
    inset: auto 8px 8px;
    display: block;
    width: calc(100% - 16px);
    max-width: 23rem;
    max-height: min(84svh, 42rem);
    margin: 0;
    padding: 16px;
    border-radius: 12px;
  }

  .pw-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
  }

  .pw-consent__actions--initial {
    grid-template-columns: 1fr 1fr;
  }

  .pw-consent__button {
    width: 100%;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .pw-consent__actions--save {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-consent__banner:not([hidden]),
  .pw-consent__banner.is-leaving,
  .pw-consent__choices:not([hidden]) {
    animation: none;
  }

  .pw-consent__button,
  .pw-consent__category input,
  .pw-consent__category input::after {
    transition: none;
  }
}

.pw-footer-legal,
.pw-footer-legal .footer-link,
.pw-footer-legal .pw-cookie-settings,
.pw-footer-legal .copy-right,
.pw-footer-legal .text-block-83 {
  color: #d6d6d6 !important;
}

.footer_section .pw-footer-legal,
.footer_section.pw-cta-section > .pw-footer-legal {
  opacity: 1 !important;
}

.pw-footer-legal .footer-link:hover,
.pw-footer-legal .footer-link:focus-visible,
.pw-footer-legal .pw-cookie-settings:hover,
.pw-footer-legal .pw-cookie-settings:focus-visible {
  color: #ffffff;
}

.pw-seo-fallback {
  width: min(100% - 2rem, 45rem);
  margin: 0 auto;
  padding: 4rem 0;
}

.pw-seo-fallback h2,
.pw-seo-fallback h3 {
  color: #f5f2ee;
}

.pw-seo-fallback p {
  color: #b8b8b8;
}

@media (min-width: 992px) {
  body:has(.pw-beta-hero) .pw-site-nav.pw-hero-top {
    padding-left: max(
      var(--hero-pad),
      calc(48px + (100% - 48px - var(--nav-content-max)) / 2 + var(--hero-pad))
    );
    padding-right: max(
      var(--hero-pad),
      calc((100% - 48px - var(--nav-content-max)) / 2 + var(--hero-pad))
    );
  }

  body:has(.pw-beta-hero) .pw-site-nav.pw-hero-top.is-nav-scrolled {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 991px) {
  .footer_section.pw-cta-section {
    min-height: 100vh;
    min-height: 100svh;
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer_section.pw-cta-section > .pw-cta-section__content {
    width: 100%;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .footer_section.pw-cta-section .div-block-148 {
    width: 100%;
    margin-bottom: 0;
  }

  .footer_section .footer-h2 {
    max-width: 30rem !important;
    font-size: 2rem !important;
  }

  .footer_section .footer-copy {
    max-width: 28rem !important;
  }

  /* Mobile/tablet flow: logos and legal stay at the bottom without overlays. */
  .footer_section.pw-cta-section > .div-block-157,
  .footer_section.pw-cta-section > .div-block-159 {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    transform: none;
  }

  .footer_section.pw-cta-section > .div-block-157 {
    width: 100%;
    max-width: 72rem;
    margin: auto auto 0;
    padding: 0 16px 1.5rem;
    box-sizing: border-box;
  }

  .footer_section.pw-cta-section > .div-block-159 {
    padding: 0 16px 1.25rem;
  }
}

@media (max-width: 439px) {
  .footer_section .footer-h2 {
    max-width: 24rem !important;
  }

  .footer_section .footer-copy {
    max-width: 20rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pw-site-nav.pw-hero-top {
    transition:
      opacity 0.12s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      padding-left 0.2s ease,
      padding-right 0.2s ease;
  }
}
