@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Inter-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Moisette";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local("Moisette Medium Italic"), local("Moisette");
}

:root {
  --color-red: #ea482f;
  --color-red-contrast: #d5412a;
  --color-red-tint: #fad5ce;
  --color-black: #000;
  --color-white: #fff;
  --color-gray-70: #555;
  --color-gray-40: #aaa;
  --color-border: #ccc;
  --font-body: "Inter", Arial, sans-serif;
  --font-accent: "Moisette", Georgia, "Times New Roman", serif;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --content-max: 1440px;
  --grid-max: 1328px;
  --benefits-max: 1083px;
  --page-gutter: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-black);
}

body {
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: var(--color-white);
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

em {
  font-style: italic;
}

.brand-bar {
  width: 100%;
  background: var(--color-black);
  padding: 24px var(--page-gutter);
  color: var(--color-white);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  max-width: 100%;
}

.brand-lockup img:first-child {
  width: 132px;
  height: auto;
}

.brand-lockup img:last-child {
  width: 137px;
  height: auto;
}

.brand-lockup>span {
  width: 2px;
  height: 24px;
  background: var(--color-white);
  flex: 0 0 auto;
}

main {
  width: 100%;
}

.hero,
section,
footer {
  width: 100%;
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
  padding: 64px 0 0 var(--page-gutter);
  overflow: hidden;
}

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

.collab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.collab span:first-child {
  width: 100%;
}

.collab img {
  height: 20px;
  width: auto;
}

.brand-title {
  margin: -8px 0 0;
  color: var(--color-white);
  font-size: 64px;
  font-weight: 600;
  line-height: 72px;
  letter-spacing: 0;
}

.accent,
.section-heading span,
.image-card h3,
.process-list span,
.benefit-card h3 {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

.accent {
  color: var(--color-red);
}

.hero__claim {
  width: 100%;
  margin-top: -4px;
}

.hero__claim p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

.hero__claim p:last-child {
  color: var(--color-red);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

.hero__copy {
  width: 100%;
  margin: 0;
  color: var(--color-white);
  font-size: 16px;
  line-height: 24px;
}

.hero-video {
  position: relative;
  display: block;
  width: calc(100% + (var(--page-gutter) * 2));
  max-width: none;
  aspect-ratio: 1 / 1;
  justify-self: center;
  padding: 0;
  overflow: hidden;
  background: var(--color-black);
  color: var(--color-white);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(28% 16%, 28% 84%, 82% 50%);
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 16px;
  line-height: 24px;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.button svg {
  width: 24px;
  height: 8px;
  flex: 0 0 auto;
}

.button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button--secondary {
  border: 1px solid var(--color-red);
  color: var(--color-red);
}

.button:focus-visible,
.play-link:focus-visible,
.video-trigger:focus-visible,
.video-modal__close:focus-visible,
input:focus-visible,
.brand-lockup:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
}

.button--secondary:focus-visible,
input:focus-visible {
  outline-color: var(--color-red);
}

.button:hover {
  opacity: 0.88;
}

.capability-section,
.benefits {
  padding: 64px var(--page-gutter);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section-heading--center {
  align-items: center;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.section-heading span {
  color: var(--color-red);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: var(--grid-max);
  margin-top: 64px;
  margin-inline: auto;
}

.capability-callout {
  display: flex;
  max-width: 656px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 64px auto 0;
  color: var(--color-white);
  text-align: center;
}

.capability-callout svg {
  width: 49px;
  height: 15px;
  color: var(--color-red-contrast);
}

.capability-callout path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-callout h3 {
  margin: -16px 0 0;
  color: var(--color-red-contrast);
  font-family: var(--font-accent);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 36px;
}

.capability-callout p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.image-card {
  background: var(--color-red);
  color: var(--color-black);
}

.image-card img {
  width: 100%;
  height: 277px;
  object-fit: cover;
}

.image-card div {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.image-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 36px;
}

.image-card p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
}

.split__copy {
  min-height: 329px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  padding: 64px var(--page-gutter);
  background: var(--color-white);
  color: var(--color-black);
}

.split__copy .section-heading h2 {
  font-size: 24px;
  line-height: 36px;
}

.split__copy .section-heading span {
  color: var(--color-red-contrast);
}

.process-list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.process-list svg {
  width: 42px;
  height: 12px;
  transform: scaleY(-1);
}

.process-list path {
  fill: none;
  stroke: var(--color-red-contrast);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-list span {
  color: var(--color-red-contrast);
  font-size: 18px;
  line-height: 28px;
  white-space: nowrap;
}

.video-panel,
.gemini-panel,
.form-panel {
  position: relative;
  overflow: hidden;
}

.video-panel {
  min-height: 375px;
  background: var(--color-black);
}

.video-panel>img,
.form-panel>img,
.gemini-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-panel::after,
.gemini-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.play-link {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  color: var(--color-white);
}

.play-link[aria-disabled="true"] {
  pointer-events: none;
}

.play-link svg {
  width: 100%;
  height: 100%;
}

.play-link path {
  fill: currentColor;
}

.split--gemini {
  background: var(--color-black);
}

.gemini-panel {
  min-height: 512px;
  color: var(--color-white);
}

.gemini-panel::after {
  background: rgba(0, 0, 0, 0.39);
}

.gemini-panel__content {
  position: relative;
  z-index: 1;
  min-height: 512px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--page-gutter);
  text-align: center;
}

.google-wordmark {
  width: 91px;
  height: auto;
}

.gemini-panel h2 {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 36px;
}

.platform-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.platform-card {
  width: 181px;
  height: 181px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--color-red);
  color: var(--color-black);
}

.platform-card>img,
.vertex-icon {
  width: 96px;
  height: 96px;
}

.vertex-icon {
  position: relative;
}

.vertex-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vertex-icon img:last-child {
  inset: 13.23%;
  width: 73.54%;
  height: 73.54%;
}

.platform-card p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}

.plus {
  color: var(--color-white);
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
}

.split__copy--dark {
  min-height: 328px;
  background: var(--color-black);
  color: var(--color-white);
}

.split__copy--dark .section-heading span {
  color: var(--color-red);
}

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

.benefits .section-heading {
  max-width: 644px;
  margin: 0 auto;
}

.benefits .section-heading span {
  color: var(--color-red-contrast);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: var(--benefits-max);
  margin-top: 64px;
  margin-inline: auto;
}

.benefit-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--color-red);
  color: var(--color-black);
}

.benefit-card__title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}

.benefit-card__title svg {
  width: 18px;
  height: 48px;
}

.benefit-card__title path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card__title>span {
  font-family: var(--font-body);
  font-size: 40px;
  line-height: 40px;
}

.benefit-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
}

.benefit-card p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.benefit-card p+p {
  margin-top: -8px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-black);
  color: var(--color-white);
}

.contact-copy {
  display: flex;
  min-height: 328px;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  padding: 64px var(--page-gutter);
}

.contact-copy .section-heading h2 {
  font-size: 24px;
  line-height: 36px;
}

.collab--footer {
  align-items: flex-start;
}

.form-panel {
  min-height: 672px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--page-gutter);
}

.contact-form {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 544px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-black);
}

.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.field label {
  font-size: 12px;
  line-height: 18px;
}

.field input {
  width: 100%;
  border: 0;
  padding: 0;
  color: var(--color-black);
  background: transparent;
  font-size: 16px;
  line-height: 24px;
}

.field input::placeholder {
  color: var(--color-gray-70);
  opacity: 1;
}

.field input:focus {
  outline: 0;
}

.field:focus-within {
  border-color: var(--color-red);
}

.field.is-invalid {
  border-color: var(--color-red);
}

.consent-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  border-bottom: 0;
  padding-bottom: 0;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-red);
  cursor: pointer;
}

.consent-field label {
  color: var(--color-gray-70);
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
  text-transform: none;
}

.consent-field a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field.is-invalid label {
  color: var(--color-red-contrast);
}

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

.legal-page .brand-bar {
  max-width: none;
}

.legal-hero {
  background: var(--color-white);
  color: var(--color-black);
  padding: 48px var(--page-gutter) 20px;
}

.legal-hero__content,
.legal-content {
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  line-height: 40px;
  color: var(--color-black);
}

.legal-content {
  background: var(--color-white);
  padding: 0 var(--page-gutter) 88px;
}

.legal-content article {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-content article+article {
  margin-top: 36px;
}

.legal-content h2 {
  margin: 0;
  color: var(--color-black);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.legal-content p,
.legal-content li {
  color: var(--color-black);
  font-size: 16px;
  line-height: 24px;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  margin: 0;
  padding-left: 18px;
}

.legal-content li+li {
  margin-top: 8px;
}

.legal-content a:not(.button) {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.button--submit {
  margin-top: auto;
  background: var(--color-red-tint);
  color: var(--color-gray-40);
}

.button--submit.is-ready {
  background: var(--color-red);
  color: var(--color-black);
}

.button--submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-status {
  min-height: 20px;
  margin: -16px 0 0;
  color: var(--color-gray-70);
  font-size: 14px;
  line-height: 20px;
}

.form-status.is-error {
  color: var(--color-red-contrast);
}

.hidden-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip-path: inset(50%);
}

.brand-bar--footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--color-white);
  font-size: 16px;
  line-height: 24px;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 1024px) {
  .legal-hero {
    padding-top: 56px;
    padding-bottom: 24px;
  }

  .legal-hero h1 {
    font-size: 48px;
    line-height: 56px;
  }

  .legal-content {
    padding-bottom: 104px;
  }
}

.video-modal {
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  padding: 0;
  border: 0;
  background: transparent;
}

.video-modal.is-open {
  position: fixed;
  z-index: 60;
  inset: 50% auto auto 50%;
  display: block;
  transform: translate(-50%, -50%);
}

body.has-video-modal {
  overflow: hidden;
}

body.has-video-modal::before {
  content: "";
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.video-modal__panel {
  position: relative;
  background: var(--color-black);
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: var(--color-black);
}

.video-modal__close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: var(--color-white);
  font-size: 28px;
  line-height: 40px;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 32px;
  }

  .hero__content {
    width: min(100%, 560px);
  }

  .capability-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-gutter: clamp(64px, 4.45vw, 160px);
  }

  .brand-lockup img:first-child {
    width: 175px;
  }

  .brand-lockup img:last-child {
    width: 182px;
  }

  .brand-lockup>span {
    height: 32px;
  }

  .hero {
    gap: 80px;
    min-height: 624px;
    padding-block: 80px;
    flex-direction: row;
  }

  .hero-video {
    width: 100%;
    height: 454px;
  }

  .hero__content {
    width: 100%;
    gap: 32px;
  }

  .brand-title {
    font-size: 96px;
    line-height: 104px;
  }

  .hero__claim p {
    font-size: 32px;
    line-height: 40px;
  }

  .hero__copy {
    width: 422px;
  }

  .capability-section,
  .benefits {
    padding-block: 80px;
  }

  .section-heading {
    gap: 32px;
  }

  .section-heading--center {
    max-width: 730px;
    margin-inline: auto;
  }

  .section-heading h2 {
    font-size: 48px;
    line-height: 56px;
  }

  .capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 80px;
  }

  .capability-callout {
    margin-top: 80px;
  }

  .image-card img {
    height: 277px;
  }

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

  .collab span:first-child {
    width: auto;
  }

  .split__copy,
  .contact-copy,
  .form-panel {
    min-height: 704px;
    padding-block: 80px;
  }

  .split__copy .section-heading h2,
  .contact-copy .section-heading h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .process-list svg {
    width: 49px;
    height: 14px;
  }

  .process-list span {
    font-size: 24px;
    line-height: 36px;
  }

  .video-panel,
  .gemini-panel,
  .gemini-panel__content {
    min-height: 704px;
  }

  .split--gemini .gemini-panel {
    order: 0;
  }

  .split--gemini .split__copy {
    order: 1;
  }

  .gemini-panel h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .google-wordmark {
    width: 114px;
  }

  .platform-row {
    width: 100%;
    justify-content: space-between;
  }

  .benefits .section-heading h2 {
    font-size: 48px;
    line-height: 56px;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, 345px);
    justify-content: center;
    margin-top: 80px;
  }

  .benefit-card {
    min-height: 240px;
  }

  .contact-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    max-width: 560px;
    min-height: 544px;
    padding: 48px 24px;
  }

  .brand-bar--footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .brand-title {
    font-size: 128px;
    line-height: 134px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}