@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@500;600;700;800&family=Inter:wght@400;700&family=Roboto+Mono:wght@500;700&display=swap");

:root {
  --navy: #0a0f17;
  --navy-soft: #151b25;
  --navy-card: #171d27;
  --ink: #ffffff;
  --paper: #ffffff;
  --text: #080f1a;
  --body: #3d4350;
  --muted: rgba(255, 255, 255, 0.74);
  --accent: #6164fa;
  --accent-soft: #e8e7ff;
  --header-height: 116px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: "Figtree", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
}

.header-shell {
  width: min(1120px, calc(100% - 64px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 190px;
  height: auto;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.site-nav a:not(.button) {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px 0 16px;
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.04);
  outline: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 26px;
  border: 2px solid transparent;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--small {
  min-height: 48px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--navy);
  font-size: 1.2rem;
  border-radius: 10px;
}

.site-nav .button:hover,
.site-nav .button:focus-visible {
  transform: none;
}

.button--primary {
  min-width: 354px;
  min-height: 64px;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.6rem;
  border-radius: 10px;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--navy);
}

.button--secondary,
.button--light {
  background: var(--ink);
  color: var(--navy);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 176px 0 96px;
  background: var(--navy);
}

.hero__video,
.hero__gradient,
.hero__fade {
  position: absolute;
  pointer-events: none;
}

.hero__video {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
}

.hero__gradient {
  z-index: 1;
  top: -123px;
  right: -124px;
  width: 115%;
  height: auto;
  aspect-ratio: 1.50209 / 1;
  object-fit: cover;
  opacity: 0.49;
}

.hero__fade {
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 15, 23, 0) 50%, var(--navy) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1210px;
  text-align: center;
}

.hero h1 {
  font-size: 8.7rem;
  line-height: 0.93;
  font-weight: 800;
  letter-spacing: 0;
}

.title-mobile {
  display: none;
}

.hero p {
  max-width: 790px;
  margin: 24px auto 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
  line-height: 1.35;
}

.clients {
  background: var(--navy);
  padding: 12px 0 116px;
}

.clients .container {
  width: min(1120px, calc(100% - 64px));
}

.clients h2 {
  color: var(--ink);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  margin-bottom: 52px;
}

.client-ribbon {
  --ribbon-distance: 1196px;
  position: relative;
  left: 50%;
  width: 100vw;
  height: 112px;
  margin-left: -50vw;
  overflow: hidden;
}

.logo-strip {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 65px;
  animation: logo-ribbon 20s linear infinite;
  will-change: transform;
}

.logo-strip img {
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.9;
}

.logo-channel {
  width: 77px;
  height: 81px;
}

.logo-deeligence {
  width: 215px;
  height: 109px;
}

.logo-givvable {
  width: 168px;
  height: 74px;
}

.logo-art {
  width: 184px;
  height: 99px;
}

.logo-hearsay {
  width: 227px;
  height: 100px;
}

@keyframes logo-ribbon {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--ribbon-distance) * -1));
  }
}

.section {
  position: relative;
  padding: 104px 0 116px;
}

.eyebrow {
  color: var(--accent);
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section h2,
.cta h2 {
  font-size: 3.75rem;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.blog-copy > p:not(.eyebrow),
.cta__content > p:not(.eyebrow) {
  color: var(--body);
  font-size: 1.48rem;
  line-height: 1.32;
}

.section-copy h2 + p,
.section-heading h2 + p,
.blog-copy h2 + p,
.cta h2 + p {
  margin-top: 24px;
}

.section-copy,
.section-heading {
  max-width: 790px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-grid {
  display: block;
}

.approach {
  background: var(--paper);
  color: var(--text);
  padding-top: 100px;
}

.approach .section-copy > p:not(.eyebrow) {
  color: rgba(15, 24, 37, 0.8);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.feature-card {
  height: 300px;
  padding: 34px;
  border: 3px solid var(--accent-soft);
  border-radius: 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  transition:
    background-color 240ms ease-out,
    border-color 240ms ease-out,
    gap 640ms cubic-bezier(0.12, 0.23, 0.5, 1) 180ms;
}

.feature-card img {
  width: 75px;
  height: 75px;
  flex: 0 0 auto;
  object-fit: contain;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    height 640ms cubic-bezier(0.12, 0.23, 0.5, 1) 180ms,
    opacity 180ms ease-out,
    transform 440ms cubic-bezier(0.12, 0.23, 0.5, 1) 180ms;
}

.feature-card h3 {
  color: #0f1825;
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  transform: translateY(0);
  transition:
    color 240ms ease-out 160ms,
    transform 640ms cubic-bezier(0.12, 0.23, 0.5, 1) 180ms;
}

.feature-card p {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 720ms cubic-bezier(0.12, 0.23, 0.5, 1) 220ms,
    opacity 320ms ease-out 260ms,
    transform 720ms cubic-bezier(0.12, 0.23, 0.5, 1) 220ms;
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  outline: none;
}

.feature-card:hover,
.feature-card:focus-visible {
  gap: 10px;
}

.feature-card:hover img,
.feature-card:focus-visible img {
  height: 0;
  opacity: 0;
  transform: translateY(-8px) scale(0.86);
}

.feature-card:hover h3,
.feature-card:focus-visible h3 {
  color: var(--ink);
  transform: translateY(-2px);
}

.feature-card:hover p,
.feature-card:focus-visible p {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.services {
  overflow: hidden;
  background: var(--navy);
  color: var(--ink);
  padding: 100px 0 120px;
}

.services::before,
.blog::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 46% 0%, rgba(97, 100, 250, 0.14), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(180, 179, 252, 0.1), transparent 24%);
}

.services__divider {
  display: none;
}

.services .section-heading,
.testimonials .section-heading,
.blog .section-heading {
  position: relative;
  z-index: 1;
}

.services .section-heading > p:not(.eyebrow),
.testimonials .section-heading > p:not(.eyebrow),
.blog-copy > p:not(.eyebrow),
.cta__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

.services-layout {
  position: relative;
  z-index: 1;
  width: min(930px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 330px minmax(0, 530px);
  gap: 54px;
  align-items: center;
}

.service-categories {
  display: grid;
  gap: 56px;
  justify-items: start;
  text-align: left;
}

.service-categories button {
  appearance: none;
  display: inline-block;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 2.1rem;
  line-height: 0.98;
  font-weight: 800;
  text-align: inherit;
  transition: color 180ms ease;
}

.service-categories button:hover,
.service-categories button:focus-visible {
  color: rgba(255, 255, 255, 0.72);
}

.service-categories button:focus-visible {
  outline: 3px solid rgba(97, 100, 250, 0.72);
  outline-offset: 8px;
}

.service-categories .is-active {
  position: relative;
  color: var(--ink);
}

.service-categories .is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 134px;
  height: 4px;
  background: var(--accent);
}

.service-panels {
  position: relative;
  min-width: 0;
  width: min(530px, 100%);
  aspect-ratio: 1;
  justify-self: start;
  overflow: hidden;
  border-radius: 40px;
  background: var(--navy-card);
  clip-path: inset(0 round 40px);
  transform: translateZ(0);
}

.services-layout.is-carousel-ready .service-panels {
  isolation: isolate;
}

.service-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 44px 36px;
}

.services-layout:not(.is-carousel-ready) .service-panel:not(.is-active) {
  display: none;
}

.services-layout.is-carousel-ready .service-panel {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.services-layout.is-carousel-ready .service-panel.is-active {
  z-index: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-layout.is-carousel-ready .service-panel.is-exiting {
  z-index: 2;
  visibility: visible;
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .services-layout.is-carousel-ready .service-panel {
    transition: none;
  }

  .testimonial-track {
    transition: none;
  }
}

.service-card {
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.service-card + .service-card {
  padding-top: 24px;
}

.service-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.service-title img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-card h3 {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.05;
  font-weight: 800;
}

.service-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.28;
}

.use-cases {
  background: var(--paper);
  color: var(--text);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.usecase-card {
  --usecase-image-height: 334px;
  --usecase-body-height: 102px;
  --usecase-hover-body-height: 276px;
  height: 436px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(10, 15, 23, 0.12);
  transition:
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.usecase-card:nth-child(3) {
  --usecase-hover-body-height: 162px;
  grid-column: 1 / -1;
}

.usecase-card > img:first-child {
  width: 100%;
  height: var(--usecase-image-height);
  object-fit: cover;
  transform: none;
}

.usecase-card:nth-child(3) > img:first-child {
  height: var(--usecase-image-height);
}

.usecase-card:hover,
.usecase-card:focus-visible {
  background: #111827;
  box-shadow: 0 24px 54px rgba(10, 15, 23, 0.22);
}

.usecase-card:focus-visible {
  outline: 3px solid rgba(97, 100, 250, 0.72);
  outline-offset: 4px;
}

.usecase-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--usecase-body-height);
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: var(--navy);
  transition:
    height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease;
}

.usecase-card:hover .usecase-card__body,
.usecase-card:focus-visible .usecase-card__body {
  background: #111827;
  height: var(--usecase-hover-body-height);
}

.usecase-card__heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.usecase-card h3 {
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1.12;
  font-weight: 800;
  transition: color 220ms ease;
}

.usecase-card:hover h3,
.usecase-card:focus-visible h3 {
  color: #f3f4ff;
}

.usecase-card p {
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 320ms ease,
    margin-top 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.usecase-card:hover p,
.usecase-card:focus-visible p {
  max-height: 180px;
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
}

.usecase-card__heading img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 220ms ease;
}

.usecase-card:hover .usecase-card__heading img,
.usecase-card:focus-visible .usecase-card__heading img {
  transform: rotate(90deg);
}

@media (hover: none) {
  .usecase-card {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .usecase-card__body {
    position: static;
    height: auto;
  }

  .usecase-card p {
    max-height: none;
    margin-top: 14px;
    opacity: 1;
    transform: none;
  }
}

.testimonials {
  background: var(--navy);
  color: var(--ink);
  overflow: hidden;
}

.testimonials .section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.testimonials .section-heading h2 + p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.35;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(97, 100, 250, 0.8);
  border-radius: 999px;
  background: var(--accent);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(97, 100, 250, 0.28);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: #7779ff;
  border-color: #898bff;
  transform: translateY(-2px);
}

.carousel-controls img {
  width: 50px;
  height: 50px;
}

.testimonial-track {
  --testimonial-card-width: min(1040px, calc(100vw - 220px));
  --testimonial-gap: 44px;
  width: max-content;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  gap: var(--testimonial-gap);
  padding: 0 calc((100vw - var(--testimonial-card-width)) / 2);
  overflow: visible;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-track.is-resetting {
  transition: none;
}

.testimonial-card {
  flex: 0 0 var(--testimonial-card-width);
  min-height: 500px;
  padding: 58px 70px;
  border: 0;
  border-radius: 22px;
  background: var(--navy-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-logo {
  width: auto;
  height: auto;
  max-width: 230px;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 28px;
}

.stars {
  display: none;
}

.testimonial-card blockquote {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.42;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.person img {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  object-fit: cover;
}

.person strong,
.person span {
  display: block;
}

.person strong {
  font-size: 1rem;
  line-height: 1.25;
}

.person span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.blog {
  position: relative;
  background: var(--navy);
  color: var(--ink);
  padding-top: 110px;
  padding-bottom: 90px;
}

.blog-grid {
  position: relative;
  z-index: 1;
  width: min(1130.5px, calc(100% - 64px));
  min-height: 498px;
  display: grid;
  grid-template-columns: 509.25px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 44px;
  border-radius: 32px;
  background: var(--navy-card);
}

.blog-image {
  width: 509.25px;
  height: 410px;
  overflow: hidden;
  border-radius: 18px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-copy h2 {
  font-size: 2.7rem;
  line-height: 1.02;
  font-weight: 800;
}

.blog-copy .button {
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 9px;
  font-size: 24px;
  font-weight: 800;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 56px 0 126px;
  background: var(--navy);
  color: var(--ink);
}

.cta__glow {
  position: absolute;
  pointer-events: none;
  width: 980px;
  height: 980px;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  background: url("../images/gradient-orb.png") center / cover no-repeat;
  opacity: 0.5;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.cta h2 {
  font-size: 4.1rem;
}

.cta__content > p:not(.eyebrow) {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 44px;
  background: var(--navy);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

address {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-contact a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--navy);
}

.footer-contact svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-contact p {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.footer-logo {
  width: 286px;
  height: auto;
  margin: 54px auto 0;
  opacity: 0.95;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.error-shell {
  width: min(560px, 100%);
  text-align: center;
}

.error-shell .brand {
  justify-content: center;
  margin-bottom: 56px;
}

.error-shell .brand img {
  width: 188px;
}

.error-shell h1 {
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 20px;
}

.error-shell p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 32px;
}

@media (max-width: 1079px) {
  .container {
    width: min(calc(100% - 48px), 920px);
  }

  .site-header {
    top: 28px;
  }

  .header-shell {
    width: min(calc(100% - 48px), 920px);
  }

  .brand img {
    width: 166px;
  }

  .site-nav {
    gap: 34px;
    font-size: 1rem;
  }

  .button--small {
    font-size: 1rem;
  }

  .hero {
    min-height: 700px;
    padding: 124px 0 78px;
  }

  .hero h1 {
    font-size: 5.35rem;
  }

  .section h2,
  .cta h2 {
    font-size: 3.1rem;
  }

  .approach-grid {
    gap: 28px;
  }

  .feature-card {
    height: 240px;
    padding: 24px;
    gap: 16px;
  }

  .feature-card img {
    width: 50px;
    height: 50px;
  }

  .feature-card h3 {
    font-size: 1.375rem;
  }

  .feature-card p {
    font-size: 0.875rem;
  }

  .services-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
  }

  .service-categories button {
    font-size: 1.7rem;
  }

  .usecase-grid {
    gap: 28px;
  }

  .testimonial-track {
    --testimonial-card-width: min(900px, calc(100vw - 170px));
  }

}

@media (max-width: 900px) {
  .container,
  .header-shell {
    width: min(calc(100% - 32px), 1120px);
  }

  .site-header {
    top: 18px;
  }

  .header-actions {
    display: flex;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    min-height: 100vh;
    padding: 112px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    background: rgba(10, 15, 23, 0.97);
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a:not(.button) {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.5rem;
  }

  .site-nav .button {
    margin-top: 18px;
  }
}

@media (max-width: 809px) {
  .container,
  .header-shell {
    width: min(calc(100% - 32px), 1120px);
  }

  .site-header {
    top: 18px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    min-height: 100vh;
    padding: 112px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    background: rgba(10, 15, 23, 0.97);
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a:not(.button) {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.5rem;
  }

  .site-nav .button {
    margin-top: 18px;
  }

  .hero {
    min-height: 580px;
    padding: 112px 0 54px;
  }

  .hero h1 {
    font-size: 3.55rem;
    line-height: 0.96;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: inline;
  }

  .hero p {
    margin: 20px auto 28px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .button--primary {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
  }

  .clients {
    padding: 36px 0 78px;
  }

  .clients .container {
    width: min(calc(100% - 32px), 1120px);
  }

  .clients h2 {
    font-size: 2rem;
    margin-bottom: 34px;
  }

  .hero__gradient {
    top: -40px;
    right: -390px;
    width: 188%;
    opacity: 0.49;
  }

  .client-ribbon {
    --ribbon-distance: 854px;
    height: 90px;
  }

  .logo-strip {
    gap: 45px;
    animation-duration: 18s;
  }

  .logo-channel {
    width: 47px;
    height: 50px;
  }

  .logo-deeligence {
    width: 154px;
    height: 79px;
  }

  .logo-givvable {
    width: 121px;
    height: 54px;
  }

  .logo-art {
    width: 143px;
    height: 77px;
  }

  .logo-hearsay {
    width: 164px;
    height: 72px;
  }

  .section {
    padding: 78px 0;
  }

  .section h2,
  .blog-copy h2 {
    font-size: 2.45rem;
  }

  .section-copy > p:not(.eyebrow),
  .section-heading > p:not(.eyebrow),
  .blog-copy > p:not(.eyebrow),
  .cta__content > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .approach .section-copy > p:not(.eyebrow) {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .approach-grid,
  .usecase-grid,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    height: 240px;
  }

  .services-layout {
    margin-top: 42px;
  }

  .service-categories {
    gap: 28px;
    justify-items: center;
    text-align: center;
  }

  .service-categories .is-active::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-panels {
    border-radius: 28px;
    clip-path: inset(0 round 28px);
  }

  .service-panel {
    padding: 32px 26px;
  }

  .service-card h3 {
    font-size: 1.45rem;
  }

  .service-card p {
    font-size: 18px;
  }

  .usecase-card:nth-child(3) {
    grid-column: auto;
  }

  .usecase-card {
    height: auto;
  }

  .usecase-card > img:first-child,
  .usecase-card:nth-child(3) > img:first-child {
    height: 240px;
  }

  .usecase-card__body {
    position: static;
    height: auto;
    min-height: 86px;
    padding: 24px 22px;
  }

  .usecase-card h3 {
    font-size: 1.45rem;
  }

  .usecase-card p {
    font-size: 0.95rem;
  }

  .testimonial-track {
    --testimonial-card-width: calc(100vw - 64px);
    --testimonial-gap: 18px;
  }

  .testimonial-card {
    min-height: 0;
    padding: 40px 28px;
  }

  .testimonial-card blockquote {
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .blog-grid {
    padding: 44px;
    border-radius: 28px;
  }

  .cta {
    padding: 70px 0 94px;
  }

  .cta h2 {
    font-size: 3.05rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-grid {
    display: block;
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
    margin-top: 26px;
  }

  .footer-contact p {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .blog-image {
    width: 100%;
    height: auto;
    aspect-ratio: 509.25 / 410;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: clamp(124px, 38vw, 150px);
  }

  .header-shell {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.88rem;
    border-radius: 8px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .section h2,
  .blog-copy h2 {
    font-size: 2.08rem;
  }

  .eyebrow {
    font-size: 0.875rem;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-card img {
    width: 44px;
    height: 44px;
  }

  .feature-card h3 {
    font-size: 1.125rem;
  }

  .feature-card p {
    font-size: 0.8125rem;
  }

  .cta h2 {
    font-size: 2.55rem;
  }

  .button {
    width: 100%;
    padding: 0 18px;
  }

  .header-cta {
    width: auto;
    flex: 0 0 auto;
    padding: 0 10px;
  }
}
