/* ============================================================
   ITG — inthegame.io recreation
   ============================================================ */

:root {
  --color-black: #181818;
  --color-yellow: #f8d420;
  --color-blue: #2196f3;
  --color-grey: #999;
  --color-light-grey: #f1f1f1;
  --color-smoke: #fefefe;
  --color-white: #fff;
  --container: 1540px;
  --paragraph: 1.25rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-black);
  background-color: var(--color-white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.centred {
  text-align: center;
}

.v-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.v-flex.centred-flex {
  align-items: flex-start;
  justify-content: center;
}

/* ============ Typography ============ */

.heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading.large {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.15;
}

/* Homepage hero: second line smaller than the first for size hierarchy */
.heading.large .yellow-text {
  font-size: 0.78em;
  font-weight: 300;
}

.heading.medium {
  font-size: clamp(1.875rem, 3.2vw, 2.875rem);
  line-height: 1.25;
}

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sub-heading {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 400;
}

.big-paragraph {
  font-size: var(--paragraph);
  line-height: 1.6em;
}

.text-light {
  font-size: var(--paragraph);
  color: #ddd;
}

/* ============ Buttons ============ */

.button {
  display: inline-block;
  background-color: var(--color-yellow);
  color: var(--color-black);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 212, 32, 0.35);
}

.button.black {
  background-color: var(--color-black);
  color: var(--color-white);
}

.button.black:hover {
  box-shadow: 0 6px 20px rgba(24, 24, 24, 0.25);
}

.button.send {
  width: 100%;
}

/* Loading state while the form is submitting (spinner as SVG background,
   since <input type="submit"> cannot contain pseudo-elements) */
.button.loading {
  color: transparent;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23181818' stroke-width='3' stroke-linecap='round' stroke-dasharray='42' stroke-dashoffset='28'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.button.loading:hover {
  transform: none;
  box-shadow: none;
}

.button.white {
  background-color: var(--color-white);
  color: var(--color-black);
}

.button.white:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

/* Hero CTA: wide squared button with gradient, like the original */
.button.hero-button {
  background-image: linear-gradient(180deg, #fbe27a 0%, var(--color-yellow) 45%, #eab308 100%);
  border-radius: 8px;
  padding: 1.125rem 3rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============ Navbar ============ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-black);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-nav {
  height: 36px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.current {
  color: var(--color-yellow);
}

.nav-button {
  padding: 0.625rem 1.5rem;
}

/* Products dropdown */

.nav-dropdown {
  position: relative;
}

/* Invisible bridge so hover isn't lost between the toggle and the menu */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1rem;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle .caret {
  width: 10px;
  height: 6px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .caret,
.nav-dropdown.open .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 0.75rem 0;
  background-color: var(--color-black);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: none;
  flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-link {
  padding: 0.625rem 1.5rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.current {
  color: var(--color-yellow);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
  /* Elliptical bottom edge, like the original */
  border-bottom-left-radius: 50% 90px;
  border-bottom-right-radius: 50% 90px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 85% at 50% 50%,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 0.25) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-hero {
  min-height: 62svh;
}

/* Slightly smaller hero type on product pages */

.product-hero .heading {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

.product-hero .heading.medium {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.product-hero .sub-heading {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
}

/* Compact proof stats inside the Ad Units hero */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 1.5rem 2.5rem;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 820px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-yellow);
}

.hero-stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-inline-link {
  color: var(--color-yellow);
  text-decoration: underline;
}

.uppercase {
  text-transform: uppercase;
}

/* About page hero: small "We are" over a large ITG logo */

.hero-about-heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: -0.5rem;
}

.hero-about-logo {
  width: 200px;
  max-width: 60%;
}

.hero-about-paragraph {
  max-width: 960px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* About page intro: bold statement next to supporting text */

.about-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 90px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-info-bold {
  width: 50%;
  font-size: 25px;
  font-weight: 700;
  line-height: 38px;
}

.about-info-text {
  width: 50%;
  font-size: 18px;
  line-height: 25px;
}

.about-info-text a {
  color: var(--color-black);
  text-decoration: underline;
}

/* ============ Logo banner ============ */

.logo-banner {
  background-color: var(--color-white);
  padding: 3rem 0;
}

.logo-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
  margin-top: 2rem;
}

.logo-in-banner {
  height: 34px;
  width: auto;
  opacity: 0.85;
}

/* Single-row variant (homepage supported platforms) */

.logo-wrapper.one-row {
  justify-content: space-between;
  gap: 1rem 0;
}

.logo-wrapper.one-row .logo-in-banner {
  height: auto;
  max-width: 9%;
  max-height: 34px;
}

.logo-banner .big-paragraph.top-space {
  margin-top: 4rem;
}

.logo-wrapper.player-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  align-items: center;
  gap: 2.5rem 2rem;
}

.logo-wrapper.player-grid .logo-in-banner {
  height: 24px;
  width: auto;
  max-width: 100%;
}

/* ============ Sections ============ */

.section {
  padding: 6rem 0;
}

.section.light-grey {
  background-color: var(--color-light-grey);
}

.section.small-top-padding {
  padding-top: 3rem;
}

.section.darck {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section.navy {
  background-color: #14112b;
  color: var(--color-white);
}

.section.yellow {
  background-color: var(--color-yellow);
  color: var(--color-black);
}

.section.blue {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* ============ Video tabs (ad formats) ============ */

.video-tabs {
  width: 100%;
  max-width: 1100px;
  margin-top: 1rem;
}

.tabs-content-main {
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-black);
  aspect-ratio: 16 / 9;
}

.tabs-content-main .tab-pane {
  display: none;
  height: 100%;
}

.tabs-content-main .tab-pane.active {
  display: block;
}

.tabs-content-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TV-style bezel around the ad format videos (experience library) */

.tabs-content-main.in-frame {
  border-radius: 0;
  border: 10px solid #000;
  background-color: #000;
  box-shadow: 0 0 #0000, 1px 1.8px 3px #00000014, 2px 3.7px 6px #00000019,
    3.1px 5.7px 9.1px #0000001c, 4.4px 7.9px 12.2px #0000001e,
    5.9px 10.7px 15.5px #0000001f, 7.8px 14.2px 19px #00000020,
    10.5px 19px 22.9px #00000021, 14.5px 26.3px 27.6px #0002,
    21.3px 38.6px 33.8px #00000023, 35.3px 64px 43.9px #00000026;
}

.tabs-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tab-link {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--color-black);
  border-radius: 100px;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-link:hover {
  background-color: rgba(24, 24, 24, 0.06);
}

.tab-link.active {
  background-color: var(--color-black);
  color: var(--color-yellow);
}

/* Icon tabs (experience library ad formats) */

.tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
  padding: 0 0 0.35rem;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.tab-button:hover {
  font-weight: 800;
}

.tab-button.active {
  border-bottom-color: var(--color-black);
  font-weight: 800;
}

.icon-tab {
  height: 30px;
  max-height: 36px;
}

.icon-tab .path {
  color: var(--color-white);
}

/* Side layout: vertical tab menu on the left, video on the right */

.video-tabs.side-layout {
  display: grid;
  grid-template-columns: 23.25rem 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1240px;
  margin-top: 2rem;
}

.video-tabs.side-layout .tabs-menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
}

.video-tabs.side-layout .tab-link {
  display: grid;
  grid-template-columns: 0 1fr;
  align-items: center;
  text-align: left;
  min-width: 0;
  width: 100%;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.15;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--color-black);
  border-radius: 0;
  background: none;
  /* currentColor transparent hides the icon tile on inactive tabs */
  color: transparent;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
}

.video-tabs.side-layout .tab-link:hover {
  background: none;
}

.video-tabs.side-layout .tab-link:last-child {
  border-bottom: none;
}

.video-tabs.side-layout .tab-link.active {
  grid-template-columns: 48px 1fr;
  color: var(--color-black);
  font-weight: 700;
  background: none;
}

.video-tabs.side-layout .tab-link .tab-text {
  color: var(--color-black);
  white-space: nowrap;
}

.video-tabs.side-layout .icon-tab {
  width: 36px;
  height: 26px;
}

.tab-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-grey);
}

.video-tabs.side-layout .tab-link:has(+ .tab-group-incontent) {
  border-bottom: none;
}

.tab-group-incontent {
  position: relative;
  display: block;
  border-top: 1px solid var(--color-black);
  padding: 1rem 0 0;
  margin-top: 0.25rem;
}

.tab-group-incontent .tab-group-label {
  position: absolute;
  left: -2.25rem;
  top: 1rem;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.15rem;
  border-right: 1px solid rgba(24, 24, 24, 0.15);
}

.tab-group-items {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.video-tabs.side-layout .tab-group-items .tab-link {
  min-width: 0;
  font-size: 1.5rem;
  padding: 0.65rem 0;
}

.video-tabs.side-layout .tab-group-items .tab-link:last-child {
  border-bottom: none;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
  margin-top: 1.5rem;
}

.category-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-black);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.category-nav-link .h4 {
  font-size: 1rem;
}

/* IAB Tech Lab logo + standardized formats row (ITG Demand page) */

.demand-standards {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
}

.demand-standards .iab-logo {
  width: 140px;
  flex-shrink: 0;
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  flex: 1;
}

.format-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 12px;
}

.format-card .icon-tab {
  align-self: flex-start;
}

.format-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.format-card .read-more {
  margin-top: auto;
  padding-top: 0.75rem;
}

.unit-category-block {
  scroll-margin-top: 88px;
}

.unit-category-block + .unit-category-block {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid #eee;
}

.section.light-grey .unit-category-block + .unit-category-block {
  border-top-color: #ddd;
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--color-black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.capability-card p {
  color: #555;
  line-height: 1.6;
}

.capability-card .read-more {
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
}

/* ============ Partners logo slider ============ */

.logo-slider {
  overflow: hidden;
  margin-top: 2.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}

.logo-track img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Shared page components ============ */

.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-grey);
}

.h4 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
}

.top-space {
  margin-top: 1.25rem;
}

.big-gap {
  gap: 6rem;
}

.container.narrow {
  max-width: 900px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--color-black);
}

.tool-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
}

.tool-card .h4 {
  color: var(--color-yellow);
}

.tool-card p {
  margin-top: 0.75rem;
  color: #ccc;
  line-height: 1.6;
}

.code-block {
  margin-top: 1.5rem;
  background-color: var(--color-black);
  color: var(--color-yellow);
  font-family: monospace;
  font-size: 1rem;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
}

.cta-section {
  text-align: center;
}

/* ============ Format descriptions (experience library) ============ */

.format-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.format-descriptions {
  text-align: left;
}

.format-text {
  display: none;
}

.format-text.active {
  display: block;
  animation: fade-in 0.3s ease;
}

.format-text p {
  margin-top: 0.75rem;
  color: #555;
  line-height: 1.6;
}

/* ============ Icon grid ============ */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.icon-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.icon-item img {
  height: 56px;
  width: auto;
}

.icon-item p {
  color: #ccc;
  line-height: 1.5;
}

.icon-item.light {
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem;
}

.icon-item.light p {
  color: #555;
}

.icon-item .grey-text {
  color: #555;
}

.yellow-icon {
  color: var(--color-yellow);
  width: 56px;
  height: 56px;
}

.invert-logo {
  filter: invert(1);
  opacity: 0.75;
  height: 17px;
}

.itgs-section {
  background-image: linear-gradient(135deg, #14112b 0%, #241b4d 55%, #3a2470 100%);
}

.itgs-title {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.itgs-title-intro {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.itgs-title-word {
  color: var(--color-yellow);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  /* cancel the glyph's left side bearing so the F lines up with INTRODUCING */
  margin-left: -0.042em;
}

.diagram-image {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.diagram-image.wide {
  max-width: 1100px;
}

.clients-diagram {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.feather-icon {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%) rotate(90deg) scaleX(-1);
  width: clamp(22px, 3vw, 34px);
  height: auto;
  color: var(--color-black);
}

.programmatic-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 5rem;
  margin-top: 2rem;
}

.programmatic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.programmatic-item img {
  height: 48px;
  width: auto;
}

.partner-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 820px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.55);
}

/* Maturity badge next to format eyebrows (Ad Units page) */

.status-badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.partner-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
  width: 100%;
}

.partner-logo-row .partner-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.92;
}

.partner-logo-row .partner-logo--invert {
  filter: brightness(0) invert(1);
}

.partner-logo-row .partner-logo--iab {
  height: 40px;
  max-width: 56px;
  filter: brightness(0) invert(1);
}

.partner-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.programmatic-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin-top: 3rem;
  width: 100%;
}

.programmatic-capability {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.programmatic-capability .h4 {
  color: var(--color-yellow);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.programmatic-capability p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

.buying-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 1rem 0 1.5rem;
}

.buying-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
}

.buying-path-card .eyebrow {
  font-size: 0.8125rem;
}

.buying-path-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.buying-path-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.programmatic-cta {
  margin-top: 2.5rem;
  color: var(--color-yellow);
  text-decoration: none;
}

.programmatic-cta:hover {
  text-decoration: underline;
}

/* ============ Blog ============ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.blog-card > img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--color-grey);
}

.blog-card-body p {
  color: #555;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.read-more {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
}

/* ============ Blog post ============ */

.post-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.post-header .h2 {
  margin-top: 1rem;
}

.back-link {
  display: inline-block;
  color: var(--color-grey);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-black);
}

.post-hero-image {
  width: 100%;
  max-width: 1100px;
  margin: 3rem auto 0;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body {
  max-width: 800px;
  margin: 3.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333;
}

.post-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  margin: 2.5rem 0 1rem;
}

.post-body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  margin: 2rem 0 0.75rem;
}

.post-body p {
  margin-bottom: 1.25rem;
}

.post-body ul,
.post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body blockquote {
  border-left: 4px solid var(--color-yellow);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-black);
}

.post-body a {
  color: var(--color-black);
  text-decoration: underline;
}

/* ============ Newsletter ============ */

.newsletter-form {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 520px;
}

.newsletter-form .text-field {
  flex: 1;
}

/* ============ What sets us apart (about) ============ */

.yellow-text {
  color: var(--color-yellow);
}

.white-text {
  color: var(--color-white);
}

.apart-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.apart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.apart-item img {
  width: 56px;
  height: auto;
}

.apart-item p {
  margin-top: 0.5rem;
  color: #ccc;
  line-height: 1.6;
}

/* ============ Team ============ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 2rem;
  margin-top: 3.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

.team-card img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.team-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-grey);
}

.team-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ============ Two column grids ============ */

.tow-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tow-column-grid.top-gap {
  margin-top: 2rem;
}

.rounded-image {
  border-radius: 16px;
  width: 100%;
}

.list {
  list-style: disc;
  padding-left: 1.25rem;
  font-size: var(--paragraph);
  line-height: 2;
}

/* AWS MediaTailor section (homepage) */

.aws-heading {
  font-size: clamp(1.625rem, 2.6vw, 2.375rem);
}

.list.checklist {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
}

.list.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
}

.list.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aws-power {
  font-size: var(--paragraph);
  line-height: 1.6;
}

.aws-logo {
  height: 44px;
  width: auto;
}

.editor-image {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 1590px;
}

/* ============ Dark feature tabs ============ */

.dark-tabs {
  width: 100%;
  margin-top: 2rem;
}

.tabs-menu-2 {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tabs-menu-2::-webkit-scrollbar {
  display: none;
}

.darck-tab-link {
  flex: 1 0 auto;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.75rem;
  background: none;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-grey);
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.darck-tab-link:hover {
  color: var(--color-white);
}

.darck-tab-link.active {
  color: var(--color-yellow);
  background-color: rgba(255, 255, 255, 0.05);
}

.tab-icon {
  width: 44px;
  height: 36px;
}

.tabs-content {
  margin-top: 3rem;
  width: 100%;
}

.tabs-content .tab-pane {
  display: none;
}

.tabs-content .tab-pane.active {
  display: block;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.h3-tab {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
}

.tabs-content img {
  border-radius: 16px;
  width: 100%;
}

/* ============ Stats ============ */

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.stat-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--color-black);
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-black);
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
}

.stat-text {
  margin-top: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Audience cards: Publishers / Brands / DSPs (homepage) */

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem;
}

.audience-card p {
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

.audience-card-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Case-study cards (homepage, dark section) */

.tow-column-grid > .case-study-card {
  align-self: stretch;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
}

.case-study-card p {
  color: #ccc;
  line-height: 1.6;
  flex-grow: 1;
}

.case-study-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 0.5rem;
}

.case-study-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case-study-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-yellow);
}

.case-study-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Proof cards (SDK page, navy section) */

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
}

.proof-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-yellow);
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
}

.proof-card p {
  color: #ccc;
  line-height: 1.6;
  flex-grow: 1;
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.proof-pill {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ============ Product cards (SDK / Mediation / ITG Demand) ============ */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2.5rem;
  text-decoration: none;
  color: var(--color-black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.product-card p {
  color: #555;
  line-height: 1.6;
}

.product-card .read-more {
  margin-top: auto;
}

.product-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-grey);
}

/* Homepage product stack (SDK / Mediation / ITG Demand) */

.section.products-feature {
  padding: 4.5rem 0;
}

.products-feature-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2.5rem;
}

.product-card--hero {
  flex: 1;
  min-width: 0;
  gap: 0.65rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-top: 4px solid var(--color-yellow);
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.06);
}

.product-card--hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 24, 24, 0.1);
  border-color: rgba(24, 24, 24, 0.14);
  border-top-color: var(--color-yellow);
}

.products-feature-note {
  max-width: 640px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(24, 24, 24, 0.72);
  text-align: center;
  margin: 0.75rem 0 0;
}

.product-card-title {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0;
}

.product-card-tagline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-black);
  margin: 0;
}

.product-card--hero > p:not(.product-card-tagline) {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.product-card-platforms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0.5rem 0 0.85rem;
}

.product-card-platforms img {
  height: 16px;
  width: auto;
  opacity: 0.65;
}

/* icon-shaped logo needs a bit more height to balance the wordmarks */
.product-card-platforms img[alt="HTML5"] {
  height: 20px;
}

.product-flow-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem;
  align-self: center;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(24, 24, 24, 0.35);
  user-select: none;
}

.products-combos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.products-combo-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(24, 24, 24, 0.5);
}

.products-combo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.products-combo-pill {
  background: var(--color-white);
  border: 1.5px solid rgba(24, 24, 24, 0.14);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.3;
}

.products-combo-pill strong {
  font-weight: 800;
}

.products-stack-note {
  max-width: 640px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(24, 24, 24, 0.72);
  text-align: center;
  margin: 0.5rem 0 0;
}

.products-stack-note a {
  color: var(--color-black);
  text-decoration: underline;
  font-weight: 600;
}

/* Numbered steps (mediation "how it works") */

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-black);
  font-size: 1.5rem;
  font-weight: 800;
}

/* Small attribution line under third-party research stats */

.source-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-grey);
  text-align: center;
}

/* ============ Demo form ============ */

.demo-grid {
  margin-top: 3.5rem;
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-field {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-black);
  transition: border-color 0.2s ease;
}

.text-field:focus {
  outline: none;
  border-color: var(--color-black);
}

.text-field.message {
  min-height: 140px;
  resize: vertical;
}

.form-done,
.form-fail {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
}

.form-done {
  background-color: #ddd;
}

.form-fail {
  background-color: #ffdede;
}

.two-column-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
}

.contact-list strong {
  font-size: 1.125rem;
}

.contact-list em {
  color: #777;
  font-style: italic;
  font-size: 0.9375rem;
}

.tin-text {
  color: var(--color-black);
  text-decoration: underline;
}

/* ============ Footer ============ */

.footer {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand img {
  width: 115px;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-yellow);
}

.social-widget {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.social-link img {
  width: 16px;
  height: 16px;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: var(--color-grey);
  text-align: center;
}

/* ============ Responsive ============ */

@media (max-width: 991px) {
  .container {
    padding: 0 1.5rem;
  }

  .about-info {
    flex-direction: column;
    gap: 2rem;
  }

  .about-info-bold,
  .about-info-text {
    width: auto;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--color-black);
    padding: 1rem 1.5rem 1.5rem;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-link {
    padding: 0.875rem 0;
    width: 100%;
  }

  .nav-menu .nav-button {
    margin-top: 1rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.875rem 0;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 0.5rem 1.25rem;
    background: none;
    border: none;
  }

  .nav-dropdown-link {
    padding: 0.625rem 0;
  }

  /* On mobile the dropdown opens on tap only, not hover */
  .nav-dropdown:not(.open):hover .nav-dropdown-menu {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .section {
    padding: 4rem 0;
  }

  .tow-column-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .video-tabs.side-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .format-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-tabs.side-layout .tab-link {
    min-width: 0;
    font-size: 1rem;
    padding: 0.6rem 0;
  }

  .video-tabs.side-layout .tab-link.active {
    grid-template-columns: 28px 1fr;
  }

  .video-tabs.side-layout .icon-tab {
    width: 24px;
    height: 17px;
  }

  .video-tabs.side-layout .tab-group-items .tab-link {
    font-size: 0.9375rem;
    padding: 0.5rem 0;
  }

  .tab-group-incontent .tab-group-label {
    left: -1.5rem;
  }

  .category-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .demand-standards {
    flex-direction: column;
    gap: 2rem;
  }

  .format-cards {
    width: 100%;
  }

  .three-column-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .products-feature-grid {
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .product-flow-plus {
    display: none;
  }

  .product-card--hero {
    padding: 1.5rem 1.35rem 1.35rem;
  }

  .product-card-title {
    font-size: 1.75rem;
  }

  .tow-column-grid.invert > img,
  .tow-column-grid.invert > video {
    order: 2;
  }

  .blog-grid,
  .icon-grid {
    grid-template-columns: 1fr;
  }

  .icon-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .programmatic-capabilities {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .buying-path-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo-row {
    gap: 2rem 2.5rem;
  }

  .partner-logo-row .partner-logo {
    height: 28px;
    max-width: 130px;
  }

  .partner-logo-row .partner-logo--iab {
    height: 36px;
    max-width: 50px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .big-gap {
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .tab-button {
    flex: none;
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
  }

  .icon-tab {
    height: 21px;
  }

  .tabs-content-main.in-frame {
    border-width: 3px;
  }

  .hero-about-heading {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 0;
  }

  .about-info-bold {
    font-size: 20px;
    line-height: 28px;
  }

  .about-info-text {
    font-size: 15px;
    line-height: 23px;
  }

  .logo-wrapper {
    gap: 1.5rem 2rem;
  }

  .logo-in-banner {
    height: 24px;
  }

  .logo-wrapper.one-row .logo-in-banner {
    max-width: 21%;
    max-height: 15px;
  }

  .logo-wrapper.one-row .logo-in-banner.hide-mob {
    display: none;
  }

  .logo-wrapper.player-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .logo-wrapper.player-grid .logo-in-banner {
    height: 17px;
  }

  .stat-card {
    padding: 1.75rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 1.25rem 2rem;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  .hero-stat-label {
    font-size: 0.8125rem;
  }

  .audience-card,
  .case-study-card,
  .proof-card {
    padding: 1.75rem;
  }

  .audience-card-title {
    font-size: 2rem;
  }

  .proof-number {
    font-size: 2.25rem;
  }

  .case-study-number {
    font-size: 2rem;
  }

  .two-column-contact-list {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-nav,
  .format-cards {
    grid-template-columns: 1fr;
  }

  .programmatic-capabilities {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .icon-grid.four {
    grid-template-columns: 1fr;
  }

  .partner-logo-row {
    gap: 1.5rem 2rem;
  }

  .partner-logo-row .partner-logo {
    height: 24px;
    max-width: 120px;
  }

  .partner-logo-row .partner-logo--iab {
    height: 32px;
    max-width: 44px;
  }
}
