.gpv2-container {
  width: min(calc(100% - 48px), var(--gpv2-container));
  margin-inline: auto;
}

.gpv2-main {
  min-height: 65vh;
  padding-block: 40px 96px;
}

.gpv2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 14px;
  background: rgb(219 231 234 / 48%);
  border-bottom: 1px solid rgb(69 88 96 / 24%);
  box-shadow: 0 10px 32px rgb(22 44 53 / 7%);
  backdrop-filter: blur(24px) saturate(112%);
}

.gpv2-header__inner,
.gpv2-header__nav,
.gpv2-utilities,
.gpv2-language,
.gpv2-actions {
  display: flex;
  align-items: center;
}

.gpv2-header__inner {
  justify-content: space-between;
  gap: 24px;
}

.gpv2-header__nav {
  gap: 22px;
}

.gpv2-primary-nav ul,
.gpv2-footer-nav ul {
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gpv2-primary-nav a,
.gpv2-utilities a,
.gpv2-language a {
  color: var(--gpv2-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.gpv2-utilities,
.gpv2-language {
  gap: 8px;
}

.gpv2-utilities a,
.gpv2-language__item {
  padding: 8px 12px;
  background: rgb(245 249 249 / 36%);
  border: 1px solid var(--gpv2-line);
  border-radius: 999px;
}

.gpv2-language__item.is-current {
  color: var(--gpv2-accent-hover);
  background: rgb(221 239 242 / 76%);
  border-color: rgb(23 109 139 / 28%);
}

.gpv2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 610px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--gpv2-line);
  border-radius: var(--gpv2-radius-xl);
  box-shadow: var(--gpv2-shadow);
  isolation: isolate;
}

.gpv2-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgb(216 229 232 / 85%) 0 34%, rgb(56 83 94 / 46%) 72%),
    radial-gradient(circle at 76% 22%, rgb(228 172 105 / 45%), transparent 26%),
    linear-gradient(160deg, #b7c8cd, #506c78 58%, #263e49);
}

.gpv2-hero__backdrop::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgb(25 47 57 / 24%));
  content: "";
}

.gpv2-hero__content {
  align-self: center;
  max-width: 720px;
  padding: clamp(28px, 5vw, 64px);
}

.gpv2-hero__content h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.5vw, 76px);
}

.gpv2-hero__content > p:not(.gpv2-eyebrow) {
  max-width: 55ch;
  color: var(--gpv2-ink-soft);
  font-size: 18px;
}

.gpv2-hero__facts {
  align-self: end;
  display: grid;
  gap: 1px;
  padding: 18px;
}

.gpv2-hero__facts div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgb(247 250 250 / 28%);
  border-bottom: 1px solid var(--gpv2-line);
}

.gpv2-hero__facts div:last-child {
  border-bottom: 0;
}

.gpv2-hero__facts span {
  color: var(--gpv2-ink-soft);
  font-size: 14px;
}

.gpv2-section,
.gpv2-content,
.gpv2-commerce,
.gpv2-empty {
  padding-top: 72px;
}

.gpv2-section__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.gpv2-section__heading h1,
.gpv2-section__heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 58px);
}

.gpv2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gpv2-footer {
  padding-block: 0 28px;
}

.gpv2-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
}

.gpv2-footer__inner p,
.gpv2-footer__inner small {
  margin: 4px 0 0;
  color: var(--gpv2-ink-soft);
}

.gpv2-nav-toggle {
  display: none;
}

@media (max-width: 960px) {
  .gpv2-hero {
    grid-template-columns: 1fr;
    min-height: 680px;
  }

  .gpv2-hero__facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .gpv2-card-grid,
  .gpv2-footer__inner {
    grid-template-columns: 1fr;
  }

  .gpv2-nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    background: var(--gpv2-surface);
    border: 1px solid var(--gpv2-line);
    border-radius: var(--gpv2-radius-md);
  }

  .gpv2-nav-toggle span[aria-hidden] {
    width: 20px;
    height: 2px;
    background: currentcolor;
  }

  .gpv2-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
    background: var(--gpv2-surface-strong);
    border: 1px solid var(--gpv2-line);
    border-radius: var(--gpv2-radius-lg);
    box-shadow: var(--gpv2-shadow);
    backdrop-filter: blur(22px);
  }

  .gpv2-header__nav.is-open {
    display: flex;
  }

  .gpv2-primary-nav ul,
  .gpv2-utilities {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .gpv2-container {
    width: min(calc(100% - 28px), var(--gpv2-container));
  }

  .gpv2-main {
    padding-top: 18px;
    padding-bottom: 64px;
  }

  .gpv2-hero {
    min-height: 720px;
    padding: 14px;
  }

  .gpv2-hero__content {
    padding: 28px 22px;
  }

  .gpv2-hero__content h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .gpv2-hero__facts {
    grid-template-columns: 1fr;
  }

  .gpv2-section,
  .gpv2-content,
  .gpv2-commerce,
  .gpv2-empty {
    padding-top: 42px;
  }
}
