@font-face {
  font-family: "Host Grotesk";
  src: url("../showcase/ab-graffius/assets/co3BmWBnlCJ3U42vbbfdwMjZpFjm.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  font-family: "Host Grotesk", Arial, sans-serif;
  color: #0b0b28;
  background: #fafaff;
  --gutter: clamp(16px, 3.5vw, 64px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  overflow-x: clip;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid #3224df;
  outline-offset: 5px;
}

.shell {
  width: 100%;
  padding-inline: var(--gutter);
}

.header {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dedfed;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: clamp(24px, 2vw, 30px);
  width: auto;
}

.intro {
  padding-block: clamp(38px, 6.5vw, 88px) clamp(28px, 4.5vw, 52px);
}

.eyebrow {
  color: #3831b0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .1em;
  margin: 0 0 12px;
}

h1, h2, h3 {
  letter-spacing: -.04em;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.lede {
  color: #4c5068;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.55;
  max-width: 62ch;
  margin: 18px 0 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.meta-row li {
  background: #fff;
  border: 1px solid #dedfed;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .86rem;
  color: #4c5068;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  background: #3224df;
  color: #fff;
  border-radius: 40px;
  padding: 10px 23px;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: #2418be;
}

.button.secondary {
  background: #fff;
  color: #0b0b28;
  border: 1px solid #dedfed;
}

.button.secondary:hover {
  border-color: #3224df;
  color: #3224df;
}

.section {
  padding-block: clamp(28px, 5vw, 56px);
}

.section-copy {
  color: #4c5068;
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 0 18px;
}

.section-list {
  color: #4c5068;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 68ch;
  margin: 0 0 22px;
  padding-left: 20px;
}

.section-list li + li {
  margin-top: 8px;
}

.cover-frame {
  margin: 0;
  background: #fff;
  border: 1px solid #dedfed;
  border-radius: 18px;
  overflow: hidden;
}

.cover-frame img,
.cover-frame video {
  width: 100%;
  height: auto;
  display: block;
}

.comparison,
.media-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.media-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 28px);
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 20px 0;
}

.metrics-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

figure,
.card {
  margin: 0;
  background: #fff;
  border: 1px solid #dedfed;
  border-radius: 16px;
  overflow: hidden;
}

.card {
  padding: 22px;
}

.card p {
  color: #4c5068;
  line-height: 1.55;
  margin: 0;
}

.metric-value {
  display: block;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #0b0b28;
  margin: 8px 0 6px;
}

.metric-card.lead {
  border-color: #3224df;
}

.metric-card.lead .metric-value {
  color: #3224df;
}

.metric-note {
  color: #4c5068;
  font-size: .9rem;
  margin: 10px 0 0;
}

figure img,
figure video {
  width: 100%;
  height: auto;
  display: block;
}

figure:has(img[alt*="mobile" i]),
figure:has(img[src*="mobile" i]),
figure.is-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5fb;
}

figure:has(img[alt*="mobile" i]) img,
figure:has(img[src*="mobile" i]) img,
figure.is-mobile img {
  width: auto;
  max-width: 100%;
  max-height: 60svh;
  height: auto;
  object-fit: contain;
  margin: 20px auto 8px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 11, 40, 0.12);
}

figure:has(img[alt*="mobile" i]) figcaption,
figure:has(img[src*="mobile" i]) figcaption,
figure.is-mobile figcaption {
  width: 100%;
  background: #fff;
  border-top: 1px solid #dedfed;
  justify-content: center;
  text-align: center;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 14px 18px;
  font-size: .94rem;
}

figcaption span,
.footer {
  color: #4c5068;
}

.video-wrap {
  background: #0b0b28;
  border: 1px solid #dedfed;
  border-radius: 16px;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-block: 24px;
  margin-top: 24px;
  border-top: 1px solid #dedfed;
  font-size: .9rem;
}

@media (max-width: 860px) {
  .change-grid,
  .metrics-grid,
  .metrics-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .comparison,
  .media-grid-2,
  .brief-grid,
  .change-grid,
  .metrics-grid,
  .metrics-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
