/* Customers page: the first PSD section sets the typography and spacing language. */

.customers-page {
  --cu-blue: #0054fe;
  --cu-blue-deep: #143d9b;
  --cu-ink: #16181c;
  --cu-body: #515a67;
  --cu-cream: #fdfbf8;
  --cu-peach: #fdf3e7;
  --cu-blue-wash: #edf3ff;
  --cu-line: #dedbd4;
  background: var(--cu-cream);
  color: var(--cu-ink);
}

.customers-page main {
  background: var(--cu-cream);
}

.customers-page .cu-shell {
  width: min(calc(100% - 128px), 1310px);
  margin-inline: auto;
}

.customers-page .cu-eyebrow {
  margin: 0 0 14px;
  color: var(--cu-blue);
  font-size: 15px;
  font-weight: 800;
}

/* PSD-authored opening */

.cu-intro {
  min-height: 860px;
  padding: 136px 0 88px;
  background: var(--cu-cream);
}

.cu-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 64px;
  color: #202226;
  font-size: 17px;
  font-weight: 700;
}

.cu-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.cu-intro__copy h1 {
  margin: 0;
  color: #000;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.08;
}

.cu-intro__copy h1 span {
  color: var(--cu-blue);
}

.cu-intro__copy > p {
  margin: 22px 0 0;
  color: #6d6d6d;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.cu-audience-head {
  margin-top: 62px;
}

.cu-audience-head h2 {
  margin: 0;
  color: #000;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.2;
}

.cu-audience-head p {
  max-width: 1050px;
  margin: 18px 0 0;
  color: #6d6d6d;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.65;
}

.cu-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--cu-line);
}

.cu-audience li {
  position: relative;
  min-height: 148px;
  padding: 31px 34px 28px 58px;
}

.cu-audience li + li {
  border-left: 1px solid var(--cu-line);
}

.cu-audience__no {
  position: absolute;
  top: 34px;
  left: 0;
  color: var(--cu-blue);
  font-size: 13px;
  font-weight: 850;
}

.cu-audience strong {
  display: block;
  color: var(--cu-ink);
  font-size: 19px;
  font-weight: 850;
}

.cu-audience p {
  margin: 11px 0 0;
  color: var(--cu-body);
  font-size: 15px;
  line-height: 1.65;
}

.customers-page .cu-beta-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #737b87;
  font-size: 13px;
  line-height: 1.5;
}

.customers-page .cu-beta-notice strong {
  flex: none;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--cu-blue-wash);
  color: var(--cu-blue-deep);
  font-size: 12px;
}

/* Story stage */

.cu-stories {
  padding: 126px 0 132px;
  background: #fff;
}

.cu-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: end;
  gap: 80px;
}

.cu-section-head h2,
.cu-voices__head h2,
.cu-change__head h2,
.cu-final h2 {
  margin: 0;
  color: var(--cu-ink);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
}

.cu-section-head > p,
.cu-voices__head > p {
  margin: 0 0 5px;
  color: var(--cu-body);
  font-size: 17px;
  line-height: 1.75;
}

.cu-story-tabs {
  display: flex;
  gap: 42px;
  margin-top: 58px;
  border-bottom: 1px solid #d8dbe2;
}

.cu-story-tabs button {
  position: relative;
  min-height: 54px;
  padding: 0 0 16px;
  border: 0;
  background: transparent;
  color: #8a9099;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.cu-story-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--cu-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1);
}

.cu-story-tabs button[aria-selected="true"] {
  color: var(--cu-ink);
}

.cu-story-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.cu-story-tabs button:focus-visible {
  outline: 3px solid rgba(0, 84, 254, .2);
  outline-offset: 5px;
}

.cu-story-stage {
  position: relative;
  min-height: 520px;
}

.cu-story-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(540px, 1.08fr);
  min-height: 520px;
  align-items: center;
  gap: 58px;
  animation: cu-panel-in 420ms cubic-bezier(.22, 1, .36, 1) both;
}

.cu-story-panel[hidden] {
  display: none;
}

.cu-story-panel__type {
  margin: 0 0 30px;
  color: var(--cu-blue);
  font-size: 15px;
  font-weight: 850;
}

.cu-story-panel blockquote {
  margin: 0;
  color: var(--cu-ink);
  font-size: 33px;
  font-weight: 780;
  line-height: 1.52;
}

.cu-story-panel__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 36px;
}

.cu-story-panel__meta strong {
  color: var(--cu-ink);
  font-size: 15px;
}

.cu-story-panel__meta span {
  color: #777f8a;
  font-size: 13px;
}

.cu-story-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--cu-blue-wash);
  box-shadow: 0 24px 46px rgba(34, 51, 88, .08);
}

.cu-story-visual::before {
  position: absolute;
  z-index: 1;
  inset: 22px;
  border: 1px solid rgba(0, 84, 254, .09);
  content: "";
  pointer-events: none;
}

.cu-story-visual img {
  position: absolute;
  display: block;
  height: auto;
}

.cu-story-visual__image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cu-story-disclosure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: #777f8a;
  font-size: 13px;
}

.cu-story-disclosure span {
  color: var(--cu-blue);
  font-weight: 850;
}

/* Actual early voices: open columns rather than nested cards. */

.cu-voices {
  padding: 116px 0 124px;
  background: #111722;
  color: #fff;
}

.cu-voices__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: end;
  gap: 80px;
}

.cu-voices .cu-eyebrow {
  color: #8fb1ff;
}

.cu-voices__head h2 {
  color: #fff;
}

.cu-voices__head > p {
  color: #aab5c6;
}

.cu-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 66px;
  border-block: 1px solid rgba(255, 255, 255, .15);
}

.cu-voice {
  min-height: 390px;
  padding: 42px 36px 38px;
}

.cu-voice + .cu-voice {
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.cu-voice__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cu-voice__person > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #1e2b57;
  color: #8fb1ff;
  font-size: 14px;
  font-weight: 850;
}

.cu-voice__person p {
  margin: 0;
}

.cu-voice__person strong,
.cu-voice__person small {
  display: block;
}

.cu-voice__person strong {
  color: #fff;
  font-size: 15px;
}

.cu-voice__person small {
  margin-top: 3px;
  color: #8c98aa;
  font-size: 12px;
}

.cu-voice blockquote {
  margin: 36px 0 0;
  color: #e8ecf4;
  font-size: 18px;
  line-height: 1.85;
}

.cu-voice blockquote::before {
  color: #6f94ff;
  content: "“";
  font-weight: 900;
}

.cu-voice__tags {
  margin: 34px 0 0;
  color: #91a5d8;
  font-size: 12px;
  font-weight: 700;
}

/* Before / after */

.cu-change {
  padding: 132px 0 142px;
  background: var(--cu-cream);
}

.cu-change__head {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.cu-change__head h2 {
  position: relative;
  z-index: 1;
  font-size: 50px;
}

.cu-change__head h2 strong {
  color: var(--cu-blue);
  font-weight: inherit;
}

.cu-change__result {
  white-space: nowrap;
}

.cu-change__head > img {
  position: absolute;
  right: -9px;
  bottom: -20px;
  width: 285px;
  height: auto;
  pointer-events: none;
}

.cu-change-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 88px;
  border-block: 1px solid var(--cu-line);
}

.cu-change-side {
  min-height: 330px;
  padding: 54px 50px;
}

.cu-change-side--after {
  background: var(--cu-blue-wash);
}

.cu-change-side__label {
  margin: 0 0 18px;
  color: #8a9099;
  font-size: 13px;
  font-weight: 850;
}

.cu-change-side--after .cu-change-side__label {
  color: var(--cu-blue);
}

.cu-change-side h3 {
  margin: 0;
  color: var(--cu-ink);
  font-size: 28px;
  font-weight: 850;
}

.cu-change-side ul {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.cu-change-side li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cu-body);
  font-size: 16px;
}

.cu-change-side li span {
  color: #9aa1ac;
  font-size: 22px;
  font-weight: 700;
}

.cu-change-side--after li span {
  color: #13834f;
}

.cu-change-arrow {
  display: grid;
  place-items: center;
  color: var(--cu-blue);
}

/* Final CTA is a full band, not a floating card. */

.cu-final {
  background: var(--cu-blue);
  color: #fff;
}

.cu-final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px 80px;
  min-height: 470px;
  padding-block: 92px;
}

.cu-final .cu-eyebrow {
  color: #dce8ff;
}

.cu-final h2 {
  color: #fff;
}

.cu-final__inner > div:first-child > p:last-child {
  max-width: 740px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.7;
}

.cu-final__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cu-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.cu-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.cu-button--light {
  background: #fff;
  color: var(--cu-blue-deep);
}

.cu-button--line {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.cu-final__fineprint {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.customers-page .footer-legal__laws {
  margin-top: var(--sd-space-3);
}

.customers-page .footer-legal__laws > span {
  display: block;
  margin-top: 4px;
  color: var(--sd-text-muted);
  font-size: var(--sd-text-caption);
}

@keyframes cu-panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Keep the PSD header proportions while allowing narrower desktop screens to fit. */
@media (min-width: 1121px) and (max-width: 1399px) {
  .customers-page .site-header .nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 71px;
    gap: 22px;
    padding-inline: 30px;
  }

  .customers-page .brand,
  .customers-page .nav__menu,
  .customers-page .nav__actions,
  .customers-page .nav__menu > li[data-aud="personal"] {
    position: static;
    inset: auto;
    margin: 0;
    transform: none;
  }

  .customers-page .nav__menu {
    display: grid;
    grid-template-columns: 155px 118px 171px 74px 103px;
    gap: 10px;
    width: auto;
    height: auto;
    justify-self: end;
  }

  .customers-page .nav__menu > li[data-aud="personal"] {
    width: auto;
    height: 34px;
  }

  .customers-page .nav__actions {
    position: relative;
    width: 71px;
    height: 34px;
  }
}

/* Compact glass header for tablet and mobile, with all primary controls available. */
@media (max-width: 1120px) {
  .customers-page .site-header,
  .customers-page .site-header--solid,
  .customers-page .site-header--solid.is-scrolled {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    padding: 10px 0 0;
    background: transparent;
  }

  .customers-page .site-header .container {
    width: 100%;
    padding-inline: 0;
  }

  .customers-page .site-header .nav,
  .customers-page .site-header--solid.is-scrolled .nav {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 71px;
    gap: 8px;
    width: min(calc(100% - 24px), 1040px);
    min-height: 64px;
    margin-inline: auto;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    box-shadow:
      0 12px 34px rgba(23, 56, 128, .12),
      inset 0 1px 0 rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
  }

  .customers-page .brand {
    position: static;
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
    min-height: 44px;
    justify-self: center;
    transform: none;
  }

  .customers-page .brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .customers-page .brand__word {
    display: block;
    font-size: 31px;
  }

  .customers-page .nav__menu {
    display: none !important;
  }

  .customers-page .nav__toggle {
    position: static;
    display: inline-flex !important;
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    place-self: center;
  }

  .customers-page .nav__actions {
    position: static;
    display: block !important;
    grid-column: 3;
    grid-row: 1;
    width: 71px;
    height: 40px;
    margin: 0;
    place-self: center;
  }

  .customers-page .nav__login,
  .customers-page .site-header--solid .nav__login,
  .customers-page .site-header--solid.is-scrolled .nav__login {
    position: static;
    display: flex;
    width: 71px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 18px;
  }

  .customers-page .mobile-menu {
    top: 84px;
    max-height: calc(100dvh - 98px);
  }
}

@media (max-width: 1120px) {
  .customers-page .cu-shell {
    width: min(calc(100% - 64px), 1040px);
  }

  .cu-intro__copy h1 {
    font-size: 62px;
  }

  .cu-audience-head h2,
  .cu-section-head h2,
  .cu-voices__head h2,
  .cu-change__head h2,
  .cu-final h2 {
    font-size: 46px;
  }

  .cu-story-panel {
    grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
    gap: 34px;
  }

  .cu-story-panel blockquote {
    font-size: 28px;
  }

}

@media (max-width: 860px) {
  .customers-page .cu-shell {
    width: min(calc(100% - 40px), 720px);
  }

  .cu-intro {
    min-height: auto;
    padding: 108px 0 72px;
  }

  .cu-breadcrumb {
    margin-bottom: 46px;
    font-size: 15px;
  }

  .cu-intro__copy h1 {
    font-size: 54px;
  }

  .cu-audience-head {
    margin-top: 52px;
  }

  .cu-audience-head h2,
  .cu-section-head h2,
  .cu-voices__head h2,
  .cu-change__head h2,
  .cu-final h2 {
    font-size: 40px;
  }

  .cu-audience {
    grid-template-columns: 1fr;
  }

  .cu-audience li {
    min-height: 0;
    padding: 25px 16px 25px 50px;
  }

  .cu-audience li + li {
    border-top: 1px solid var(--cu-line);
    border-left: 0;
  }

  .cu-audience__no {
    top: 28px;
    left: 2px;
  }

  .cu-section-head,
  .cu-voices__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cu-story-tabs {
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cu-story-tabs::-webkit-scrollbar {
    display: none;
  }

  .cu-story-tabs button {
    flex: none;
  }

  .cu-story-stage,
  .cu-story-panel {
    min-height: 0;
  }

  .cu-story-panel {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 50px;
  }

  .cu-story-visual {
    min-height: 0;
  }

  .cu-voice-grid {
    grid-template-columns: 1fr;
  }

  .cu-voice {
    min-height: 0;
    padding: 36px 12px;
  }

  .cu-voice + .cu-voice {
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-left: 0;
  }

  .cu-change-grid {
    grid-template-columns: 1fr;
  }

  .cu-change-arrow {
    min-height: 84px;
    transform: rotate(90deg);
  }

  .cu-final__inner {
    grid-template-columns: 1fr;
  }

  .cu-final__fineprint {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .customers-page .cu-shell {
    width: min(calc(100% - 36px), 520px);
  }

  .cu-intro {
    padding-top: 94px;
  }

  .cu-breadcrumb {
    margin-bottom: 42px;
    font-size: 13px;
  }

  .cu-intro__copy h1 {
    max-width: 340px;
    font-size: 44px;
    line-height: 1.16;
  }

  .cu-intro__copy > p {
    margin-top: 17px;
    font-size: 16px;
  }

  .cu-audience-head h2,
  .cu-section-head h2,
  .cu-voices__head h2,
  .cu-change__head h2,
  .cu-final h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .cu-audience-head p,
  .cu-section-head > p,
  .cu-voices__head > p {
    font-size: 15px;
  }

  .customers-page .cu-beta-notice {
    align-items: flex-start;
  }

  .cu-stories,
  .cu-voices,
  .cu-change {
    padding-block: 88px;
  }

  .cu-story-tabs {
    margin-top: 42px;
  }

  .cu-story-panel blockquote {
    font-size: 24px;
    line-height: 1.55;
  }

  .cu-story-panel__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 26px;
  }

  .cu-story-visual {
    aspect-ratio: 16 / 10;
  }

  .cu-story-visual::before {
    inset: 14px;
  }

  .cu-story-disclosure {
    align-items: flex-start;
    line-height: 1.55;
  }

  .cu-voice blockquote {
    font-size: 17px;
  }

  .cu-change__arrow-symbol {
    display: none;
  }

  .cu-change__result {
    display: block;
    margin-top: 5px;
    white-space: nowrap;
  }

  .cu-change__head > img {
    right: -4px;
    bottom: -21px;
    width: 214px;
  }

  .cu-change-grid {
    margin-top: 68px;
  }

  .cu-change-side {
    min-height: 0;
    padding: 40px 24px;
  }

  .cu-change-side h3 {
    font-size: 25px;
  }

  .cu-change-side li {
    font-size: 15px;
  }

  .cu-final__inner {
    min-height: 560px;
    padding-block: 78px max(78px, env(safe-area-inset-bottom));
  }

  .cu-final__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cu-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cu-story-panel {
    animation: none;
  }

  .cu-story-tabs button::after,
  .cu-button {
    transition: none;
  }
}
