@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;800&display=swap");

:root {
  --indigo-deep: #1b1957;
  --indigo: #37348c;
  --indigo-light: #8d8ad9;
  --coral: #ff6b5b;
  --graphite: #17152a;
  --gray-indigo: #6e6b85;
  --snow: #dedcea;
  --snow-light: #f6f5fa;
  --white: #ffffff;
  --dark-bg: #12112b;
  --dark-surface: #1e1c42;
  --dark-border: #2e2c5c;
  --dark-text: #edecf7;
  --bg: var(--snow-light);
  --surface: var(--white);
  --border: var(--snow);
  --text: var(--graphite);
  --text-secondary: var(--gray-indigo);
  --text-muted: #858197;
  --accent: var(--indigo);
  --accent-soft: rgba(55, 52, 140, 0.08);
  --max-width: 1180px;
  --radius: 8px;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  color: var(--indigo-light);
}

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 20px;
  overflow: hidden;
  border: 1px solid var(--indigo);
  border-radius: 6px;
  background: transparent;
  color: var(--indigo);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 180ms ease, transform 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--indigo);
  outline: none;
  transform: translateY(-1px);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}

.btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 220ms ease;
}

.btn:hover .btn-label,
.btn:focus-visible .btn-label {
  color: var(--white);
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
}

.btn-on-dark::before {
  background: var(--white);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  border-color: var(--white);
}

.btn-on-dark:hover .btn-label,
.btn-on-dark:focus-visible .btn-label {
  color: var(--indigo-deep);
}

.btn-coral {
  border-color: var(--coral);
  color: var(--white);
}

.btn-coral::before {
  background: var(--coral);
}

.btn-coral:hover,
.btn-coral:focus-visible {
  border-color: var(--coral);
}

.btn-coral:hover .btn-label,
.btn-coral:focus-visible .btn-label {
  color: var(--indigo-deep);
}

.arrow {
  transition: transform 180ms ease;
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(3px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--snow-light);
  border-bottom: 1px solid var(--snow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: 232px;
  height: auto;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  padding: 8px 0 7px;
  border-bottom: 1px solid transparent;
  color: var(--gray-indigo);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--graphite);
  border-bottom-color: var(--indigo);
  outline: none;
}

.btn-header {
  min-height: 40px;
  padding: 8px 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--snow);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 9px;
  background: var(--indigo-deep);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--indigo-deep);
  color: var(--white);
}

.hero-flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-flow-row {
  position: absolute;
  left: -10%;
  width: 120%;
  transform: rotate(-7deg);
  opacity: 0.72;
}

.hero-flow-row-one {
  top: 14%;
}

.hero-flow-row-two {
  top: 48%;
}

.hero-flow-row-three {
  top: 82%;
}

.hero-flow-track,
.hero-flow-set {
  display: flex;
  align-items: center;
  flex: none;
  width: max-content;
}

.hero-flow-row-one .hero-flow-track {
  animation: hero-flow-left 32s linear infinite;
}

.hero-flow-row-two .hero-flow-track {
  transform: translate3d(-50%, 0, 0);
  animation: hero-flow-right 40s linear infinite;
}

.hero-flow-row-three .hero-flow-track {
  animation: hero-flow-left 36s linear infinite;
}

.hero-flow-set span {
  position: relative;
  display: block;
  flex: none;
  width: clamp(220px, 28vw, 430px);
  height: 1px;
  margin-right: 72px;
  background: rgba(237, 236, 247, 0.14);
}

.hero-flow-set span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--indigo-light);
  border-radius: 50%;
  background: var(--indigo-deep);
  transform: translateY(-50%);
}

.hero-flow-set span:nth-child(3n)::after {
  border-color: var(--coral);
}

@keyframes hero-flow-left {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes hero-flow-right {
  to {
    transform: translate3d(0, 0, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  column-gap: 72px;
  row-gap: 70px;
  padding-top: 82px;
  padding-bottom: 0;
}

.hero-copy {
  padding-bottom: 10px;
}

.hero-copy h1 {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-text {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--dark-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 1;
}

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

.hero-process {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-top: 1px solid rgba(237, 236, 247, 0.28);
}

.hero-process li {
  min-height: 138px;
  padding: 24px 30px 30px;
  border-left: 1px solid rgba(237, 236, 247, 0.2);
}

.hero-process li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-process span {
  display: block;
  margin-bottom: 7px;
  color: var(--indigo-light);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-process strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-process p {
  color: #c9c7dc;
  font-size: 0.88rem;
}

/* Shared sections */
.features,
.about,
.differentials,
.partners {
  padding: 104px 0;
}

.features,
.differentials {
  background: var(--white);
}

.features {
  padding-bottom: 156px;
}

.about,
.partners {
  background: var(--snow-light);
  border-top: 1px solid var(--snow);
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 680px;
  color: var(--graphite);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  max-width: none;
  gap: 80px;
}

.section-head-split > p {
  max-width: 480px;
  color: var(--gray-indigo);
  font-size: 1rem;
  line-height: 1.75;
}

.section-head-left {
  text-align: left;
}

/* Solutions */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  --stage-progress: 0;
  position: relative;
  min-width: 0;
  min-height: 258px;
  padding: 24px 18px 28px;
  border-top: 1px solid var(--snow);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--indigo);
  transform: scaleX(var(--stage-progress));
  transform-origin: left center;
  will-change: transform;
}

.feature-item-decision::before {
  background: var(--coral);
}

.feature-item .item-number {
  display: block;
  margin-bottom: 34px;
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 500;
}

.feature-item-decision .item-number {
  color: var(--coral);
}

.feature-item h3 {
  min-height: 3.2rem;
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.feature-item p {
  color: var(--gray-indigo);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: start;
  gap: 100px;
}

.about-inner .section-head {
  margin-bottom: 0;
}

.about-copy {
  padding-top: 34px;
  border-top: 1px solid var(--indigo);
}

.about-copy p {
  color: var(--gray-indigo);
  font-size: 1rem;
  line-height: 1.8;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-cases-cta {
  margin-top: 28px;
}

/* Differentials */
.differentials {
  border-top: 1px solid var(--snow);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--graphite);
}

.diff-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 30px 28px 4px;
  border-left: 1px solid var(--snow);
}

.diff-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.diff-item > span {
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 500;
}

.diff-item h3 {
  margin-bottom: 10px;
  color: var(--graphite);
  font-size: 1.05rem;
  font-weight: 800;
}

.diff-item p {
  color: var(--gray-indigo);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Partners */
.partners-heading-row {
  margin-bottom: 38px;
}

.partners-heading-row .section-head {
  margin-bottom: 0;
}

.partner-marquees {
  display: grid;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partner-marquee-row {
  overflow: hidden;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  animation: partners-marquee-left 34s linear infinite;
  will-change: transform;
}

.partner-marquee-row--reverse .partner-marquee-track {
  animation-name: partners-marquee-right;
  animation-duration: 44s;
}

.partner-marquee-row:hover .partner-marquee-track,
.partner-marquee-row:focus-within .partner-marquee-track {
  animation-play-state: paused;
}

.partner-marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
}

.partner-item {
  display: flex;
  flex: 0 0 220px;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--snow);
  border-radius: var(--radius);
  background: var(--white);
}

.partner-logo-placeholder {
  color: var(--gray-indigo);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.partner-logo {
  width: auto;
  max-width: 172px;
  max-height: 68px;
  object-fit: contain;
}

.partner-link {
  transition: border-color 180ms ease, background 180ms ease;
}

.partner-link:hover,
.partner-link:focus-visible {
  border-color: var(--indigo);
  background: var(--snow-light);
  outline: none;
}

@keyframes partners-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes partners-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* CTA */
.cta {
  padding: 76px 0;
  background: var(--indigo-deep);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.cta h2 {
  max-width: 620px;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.cta-action {
  padding-top: 22px;
  border-top: 1px solid rgba(237, 236, 247, 0.28);
}

.cta-action p {
  max-width: 480px;
  margin-bottom: 24px;
  color: #c9c7dc;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(237, 236, 247, 0.18);
  background: var(--indigo-deep);
  color: var(--dark-text);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  justify-self: start;
}

.footer-logo {
  width: 258px;
  height: auto;
}

.footer-legal {
  color: #b7b4ce;
  font-size: 0.86rem;
  transition: color 180ms ease;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: var(--white);
  outline: none;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  color: #b7b4ce;
  transition: color 180ms ease, border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--indigo-light);
  color: var(--white);
  outline: none;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

/* Cases */
.cases-page {
  background: var(--snow-light);
}

.cases-cover {
  padding: 42px 0 104px;
  background: var(--white);
}

.cases-edition-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 10px 0;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  color: var(--gray-indigo);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
}

.cases-edition-row span:nth-child(2) {
  color: var(--graphite);
}

.cases-edition-row span:last-child {
  text-align: right;
}

.cases-masthead {
  padding: 54px 0 48px;
  text-align: center;
}

.cases-masthead .eyebrow {
  margin-bottom: 4px;
}

.cases-masthead h1 {
  color: var(--indigo-deep);
  font-size: clamp(5rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.cases-masthead > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--gray-indigo);
  font-size: 1rem;
}

.cases-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 64px;
  border-top: 4px solid var(--indigo-deep);
  border-bottom: 1px solid var(--graphite);
}

.cases-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 18px 22px;
  column-gap: 16px;
  transition: background 180ms ease, color 180ms ease;
}

.cases-index a + a {
  border-left: 1px solid var(--graphite);
}

.cases-index a:hover,
.cases-index a:focus-visible {
  background: var(--snow-light);
  color: var(--indigo);
  outline: none;
}

.cases-index span {
  grid-row: 1 / 3;
  color: var(--coral);
  font-size: 0.75rem;
}

.cases-index strong {
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 800;
}

.cases-index small {
  color: var(--gray-indigo);
  font-size: 0.78rem;
}

.cases-front-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 48px;
}

.case-lead {
  min-width: 0;
}

.case-heading {
  padding-top: 18px;
  border-top: 1px solid var(--graphite);
}

.case-kicker {
  margin-bottom: 13px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-heading h2 {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--graphite);
  font-size: 3.45rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
}

.case-deck {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--gray-indigo);
  font-size: 1.12rem;
  line-height: 1.65;
}

.case-lead-figure {
  margin-bottom: 34px;
}

.case-lead-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.case-lead-figure figcaption {
  padding: 9px 0;
  border-bottom: 1px solid var(--snow);
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.case-story-copy {
  column-count: 2;
  column-gap: 44px;
  column-rule: 1px solid var(--snow);
}

.case-story-copy p {
  break-inside: avoid;
  color: var(--graphite);
  font-size: 0.93rem;
  line-height: 1.82;
}

.case-story-copy p + p {
  margin-top: 18px;
}

.case-story-copy p:first-child::first-letter {
  float: left;
  margin: 9px 9px 0 0;
  color: var(--indigo);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 0.7;
}

.cases-sidebar {
  display: grid;
  gap: 34px;
  padding-left: 30px;
  border-left: 1px solid var(--graphite);
}

.case-side-story,
.case-side-notes,
.case-pullquote {
  padding-top: 17px;
  border-top: 4px solid var(--indigo-deep);
}

.case-side-story h2 {
  margin-bottom: 16px;
  color: var(--graphite);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.18;
}

.case-side-story > p:not(.case-kicker) {
  margin-bottom: 18px;
  color: var(--gray-indigo);
  font-size: 0.88rem;
  line-height: 1.7;
}

.case-text-link {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--indigo);
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 800;
}

.case-side-notes dl {
  display: grid;
}

.case-side-notes dl > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--snow);
}

.case-side-notes dt {
  margin-bottom: 4px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
}

.case-side-notes dd {
  color: var(--gray-indigo);
  font-size: 0.8rem;
  line-height: 1.6;
}

.case-pullquote {
  color: var(--indigo-deep);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
}

.case-secondary {
  padding: 104px 0;
  border-top: 1px solid var(--snow);
  background: var(--snow-light);
}

.case-secondary-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 4px solid var(--indigo-deep);
}

.case-big-number {
  color: var(--coral);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 0.8;
}

.case-secondary-head h2 {
  max-width: 670px;
  color: var(--graphite);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.08;
}

.case-secondary-deck {
  color: var(--gray-indigo);
  font-size: 0.94rem;
  line-height: 1.7;
}

.case-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  padding: 54px 0;
}

.case-secondary-story p {
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.85;
}

.case-secondary-story p + p {
  margin-top: 20px;
}

.case-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--graphite);
}

.case-process > div {
  padding: 20px;
  border-left: 1px solid var(--graphite);
}

.case-process > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-process span {
  display: block;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 0.72rem;
}

.case-process strong {
  display: block;
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 1rem;
  font-weight: 800;
}

.case-process p {
  color: var(--gray-indigo);
  font-size: 0.8rem;
  line-height: 1.65;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}

.case-facts > div {
  min-height: 180px;
  padding: 25px 26px;
  border-left: 1px solid var(--graphite);
}

.case-facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-facts span {
  display: block;
  margin-bottom: 32px;
  color: var(--indigo);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-facts strong {
  display: block;
  margin-bottom: 7px;
  color: var(--graphite);
  font-size: 1.2rem;
  font-weight: 800;
}

.case-facts p {
  color: var(--gray-indigo);
  font-size: 0.82rem;
  line-height: 1.6;
}

.cases-editor-note {
  padding: 76px 0;
  background: var(--white);
}

.cases-editor-note-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: start;
  gap: 42px;
  padding-top: 24px;
  border-top: 4px solid var(--coral);
}

.cases-editor-note-inner > p:not(.case-kicker) {
  max-width: 720px;
  color: var(--gray-indigo);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Legal pages */
.legal-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--snow-light);
}

.legal-page main {
  flex: 1;
}

.legal-header-inner {
  min-height: 82px;
}

.legal-back-link {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  color: var(--gray-indigo);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease, border-color 180ms ease;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  color: var(--graphite);
  border-bottom-color: var(--indigo);
  outline: none;
}

.legal-main {
  padding: 76px 0 104px;
}

.legal-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.legal-intro h1 {
  margin-bottom: 16px;
  color: var(--graphite);
  font-size: 3.15rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.legal-intro-text {
  max-width: 680px;
  color: var(--gray-indigo);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 52px;
}

.legal-sidebar {
  position: sticky;
  top: 108px;
  padding: 18px;
  border: 1px solid var(--snow);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-sidebar-title {
  margin-bottom: 12px;
  color: var(--gray-indigo);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.legal-product-nav {
  display: grid;
  gap: 6px;
}

.legal-product-nav a,
.legal-product-nav button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--gray-indigo);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-product-nav a:hover,
.legal-product-nav a:focus-visible,
.legal-product-nav a[aria-current="page"],
.legal-product-nav button:hover,
.legal-product-nav button:focus-visible,
.legal-product-nav button[aria-selected="true"] {
  border-color: var(--indigo);
  background: var(--accent-soft);
  color: var(--indigo-deep);
  outline: none;
}

.legal-content {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.legal-inline-product,
.legal-product {
  max-width: 860px;
  min-width: 0;
}

.legal-inline-product[hidden] {
  display: none;
}

.legal-product-head {
  margin-bottom: 28px;
}

.legal-product-head .eyebrow {
  margin-bottom: 7px;
}

.legal-product-head h1,
.legal-product-head h2 {
  color: var(--graphite);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.legal-document {
  padding-top: 26px;
  border-top: 1px solid var(--snow);
}

.legal-document + .legal-document {
  margin-top: 34px;
}

.legal-document h2,
.legal-document h3 {
  margin-bottom: 14px;
  color: var(--indigo);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
}

.legal-privacy-notice h3:not(:first-child),
.legal-privacy-notice h4 {
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--graphite);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.legal-document p {
  max-width: 76ch;
  color: var(--gray-indigo);
  font-size: 0.94rem;
  line-height: 1.78;
}

.legal-document p + p {
  margin-top: 14px;
}

.legal-document strong {
  color: var(--graphite);
  font-weight: 800;
}

.legal-document a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  color: var(--gray-indigo);
  font-size: 0.94rem;
  line-height: 1.72;
  list-style: disc;
}

.legal-list li + li {
  margin-top: 9px;
}

.legal-table-wrap {
  max-width: 100%;
  margin: 18px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--snow);
  border-radius: var(--radius);
  background: var(--white);
  scrollbar-color: var(--indigo) var(--snow-light);
}

.legal-table-wrap:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--gray-indigo);
  font-size: 0.82rem;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border-right: 1px solid var(--snow);
  border-bottom: 1px solid var(--snow);
  text-align: left;
  vertical-align: top;
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: var(--snow-light);
  color: var(--graphite);
  font-weight: 800;
}

.legal-alert,
.legal-note {
  padding-left: 16px;
  border-left: 2px solid var(--indigo);
}

.legal-alert {
  border-left-color: var(--coral);
}

.legal-version,
.legal-document .legal-version {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--snow);
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* Responsive */
@media (max-width: 980px) {
  .brand-logo {
    width: 215px;
  }

  .nav-wrapper {
    gap: 16px;
  }

  .nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .btn-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    column-gap: 40px;
  }

  .hero-copy h1 {
    font-size: 3.35rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 50px;
  }

  .feature-item h3 {
    min-height: auto;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

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

@media (max-width: 820px) {
  .nav-wrapper {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 28px 22px;
    border-bottom: 1px solid var(--snow);
    background: var(--snow-light);
  }

  .site-header.nav-open .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header.nav-open .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom-color: var(--snow);
  }

  .site-header.nav-open .header-cta {
    justify-content: center;
    margin-top: 12px;
  }

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

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

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

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 38px;
    padding-top: 66px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-visual {
    justify-self: start;
    width: 300px;
  }

  .section-head-split,
  .about-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-copy {
    padding-top: 26px;
  }

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

  .diff-item,
  .diff-item:first-child {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--snow);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 20px;
  }

  .header-inner,
  .legal-header-inner {
    min-height: 74px;
  }

  .brand-logo {
    width: 205px;
  }

  .hero-inner {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-flow-row {
    left: -24%;
    width: 148%;
    opacity: 0.58;
  }

  .hero-flow-set span {
    width: 180px;
    margin-right: 48px;
  }

  .hero-process {
    grid-template-columns: 1fr;
  }

  .hero-process li,
  .hero-process li:first-child {
    min-height: auto;
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(237, 236, 247, 0.2);
  }

  .features,
  .about,
  .differentials,
  .partners {
    padding: 76px 0;
  }

  .features {
    padding-bottom: 104px;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .feature-item .item-number {
    margin-bottom: 24px;
  }

  .partner-item {
    flex-basis: 196px;
    min-height: 100px;
  }

  .cta {
    padding: 64px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand,
  .footer-legal,
  .footer-social {
    justify-self: start;
  }

  .footer-logo {
    width: 230px;
  }

  .legal-main {
    padding: 56px 0 76px;
  }

  .legal-intro h1 {
    font-size: 2.35rem;
  }

  .legal-product-head h1,
  .legal-product-head h2 {
    font-size: 1.9rem;
  }

  .legal-product-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .cases-front-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(240px, 0.8fr);
    gap: 34px;
  }

  .case-heading h2 {
    font-size: 2.8rem;
  }

  .case-secondary-head {
    grid-template-columns: auto 1fr;
  }

  .case-secondary-deck {
    grid-column: 2;
  }

  .case-secondary-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cases-editor-note-inner {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .cases-editor-note-inner .btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .cases-cover,
  .case-secondary {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .cases-masthead {
    padding: 42px 0 38px;
  }

  .cases-index,
  .cases-front-grid {
    grid-template-columns: 1fr;
  }

  .cases-index a + a {
    border-top: 1px solid var(--graphite);
    border-left: 0;
  }

  .cases-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 38px;
    padding-left: 0;
    border-top: 1px solid var(--graphite);
    border-left: 0;
  }

  .case-pullquote {
    grid-column: 1 / -1;
  }

  .case-process,
  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-process > div,
  .case-process > div:first-child,
  .case-facts > div,
  .case-facts > div:first-child {
    min-height: auto;
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .case-process span,
  .case-facts span {
    margin-bottom: 14px;
  }
}

@media (max-width: 620px) {
  .cases-edition-row {
    grid-template-columns: 1fr auto;
  }

  .cases-edition-row span:first-child {
    display: none;
  }

  .cases-masthead h1 {
    font-size: 4.2rem;
  }

  .cases-masthead > p:last-child {
    font-size: 0.9rem;
  }

  .case-heading h2,
  .case-secondary-head h2 {
    font-size: 2.15rem;
  }

  .case-story-copy {
    column-count: 1;
  }

  .cases-sidebar {
    grid-template-columns: 1fr;
  }

  .case-pullquote {
    grid-column: auto;
  }

  .case-secondary-head {
    grid-template-columns: 1fr;
  }

  .case-big-number {
    font-size: 3.5rem;
  }

  .case-secondary-deck {
    grid-column: auto;
  }

  .cases-editor-note-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cases-editor-note-inner .btn {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  section[id] {
    scroll-margin-top: 74px;
  }

  .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand-logo {
    width: 188px;
  }

  .nav-toggle {
    flex: 0 0 40px;
  }

  .site-header.nav-open .nav-wrapper {
    max-height: calc(100vh - 74px);
    padding: 8px 18px 20px;
    overflow-y: auto;
    box-shadow: 0 14px 28px rgba(27, 25, 87, 0.12);
  }

  .site-header.nav-open .nav-link {
    padding: 11px 0;
    font-size: 0.88rem;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
  }

  .hero .btn,
  .about-cases-cta,
  .cta .btn,
  .cases-editor-note .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-inner {
    row-gap: 38px;
    padding-top: 44px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .hero-text {
    margin-bottom: 26px;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .hero-visual {
    display: none;
  }

  .hero-flow-row {
    left: -34%;
    width: 168%;
    opacity: 0.42;
  }

  .hero-flow-row-one {
    top: 22%;
  }

  .hero-flow-row-two {
    top: 66%;
  }

  .hero-flow-row-three {
    display: none;
  }

  .hero-process li,
  .hero-process li:first-child {
    display: grid;
    grid-template-columns: 28px 78px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    padding: 16px 0;
  }

  .hero-process li:last-child {
    border-bottom: 0;
  }

  .hero-process span,
  .hero-process strong,
  .hero-process p {
    margin-bottom: 0;
  }

  .hero-process p {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .features,
  .about,
  .differentials,
  .partners {
    padding: 64px 0;
  }

  .features {
    padding-bottom: 92px;
  }

  .section-head,
  .partners-heading-row {
    margin-bottom: 36px;
  }

  .section-head-split,
  .about-inner,
  .cta-inner {
    gap: 24px;
  }

  .section-head h2,
  .cta h2 {
    font-size: 1.85rem;
    line-height: 1.17;
  }

  .section-head-split > p,
  .about-copy p {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .feature-grid {
    row-gap: 24px;
  }

  .feature-item {
    min-height: 0;
    padding: 20px 0 12px;
  }

  .feature-item .item-number {
    margin-bottom: 16px;
  }

  .feature-item h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .feature-item p,
  .diff-item p {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .about-copy {
    padding-top: 22px;
  }

  .about-cases-cta {
    margin-top: 24px;
  }

  .diff-item,
  .diff-item:first-child {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 22px 0;
  }

  .diff-item h3 {
    margin-bottom: 7px;
    font-size: 1rem;
  }

  .partner-marquees {
    gap: 10px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  }

  .partner-marquee-set {
    gap: 10px;
    padding-right: 10px;
  }

  .partner-item {
    flex-basis: 168px;
    min-height: 88px;
    padding: 16px;
  }

  .partner-logo {
    max-width: 138px;
    max-height: 58px;
  }

  .cta {
    padding: 56px 0;
  }

  .cta-action {
    padding-top: 18px;
  }

  .cta-action p {
    margin-bottom: 20px;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 28px 0;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-logo {
    width: 210px;
  }

  .legal-layout {
    gap: 32px;
  }

  .legal-sidebar {
    padding: 14px;
  }

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

  .legal-intro {
    margin-bottom: 36px;
  }

  .legal-intro h1 {
    font-size: 2rem;
  }

  .legal-product-head h1,
  .legal-product-head h2 {
    font-size: 1.7rem;
  }

  .cases-cover {
    padding: 28px 0 64px;
  }

  .cases-edition-row {
    font-size: 0.64rem;
  }

  .cases-masthead {
    padding: 36px 0 32px;
  }

  .cases-masthead h1 {
    font-size: 3.55rem;
  }

  .cases-index {
    margin-bottom: 44px;
  }

  .cases-index a {
    padding: 15px 8px;
    column-gap: 12px;
  }

  .cases-front-grid {
    gap: 34px;
  }

  .case-heading h2,
  .case-secondary-head h2 {
    font-size: 1.9rem;
    line-height: 1.12;
  }

  .case-deck {
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .case-lead-figure {
    margin-bottom: 26px;
  }

  .case-story-copy p,
  .case-secondary-story p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .cases-sidebar {
    gap: 28px;
    padding-top: 32px;
  }

  .case-pullquote {
    font-size: 1.2rem;
  }

  .case-secondary {
    padding: 64px 0;
  }

  .case-secondary-head {
    gap: 18px;
    padding-bottom: 28px;
  }

  .case-big-number {
    font-size: 3rem;
  }

  .case-secondary-grid {
    gap: 32px;
    padding: 36px 0;
  }

  .cases-editor-note {
    padding: 56px 0;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 174px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-process li,
  .hero-process li:first-child {
    grid-template-columns: 26px 70px minmax(0, 1fr);
    gap: 6px;
  }

  .legal-product-nav {
    grid-template-columns: 1fr;
  }
}

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

  .btn::before,
  .btn-label,
  .btn .arrow {
    transition-duration: 0.01ms;
  }

  .hero-flow-track {
    animation: none !important;
  }

  .partner-marquees {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partner-marquee-row {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .partner-marquee-row::-webkit-scrollbar {
    display: none;
  }

  .partner-marquee-track,
  .partner-marquee-row--reverse .partner-marquee-track {
    animation: none;
    transform: none;
  }

  .partner-marquee-set[aria-hidden="true"] {
    display: none;
  }
}
