/* Partners page: same editorial system as the home page. */
.partner-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
}
.partner-hero .display {
  font-size: clamp(52px, 6.6vw, 100px);
}
.partner-hero .hero-lead {
  max-width: 30em;
}
.partner-hero::before {
  background: none;
}
.network {
  margin: 0;
}
.network svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.network figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
.net-links path,
.net-fan path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-opacity: 0.55;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: net-draw 900ms var(--ease-io) both;
  animation-delay: calc(900ms + var(--d) * 140ms);
}
.net-fan path {
  stroke-opacity: 0.38;
  animation-delay: calc(1700ms + var(--d) * 90ms);
}
.net-node,
.net-core,
.net-sellers circle {
  transform-box: fill-box;
  transform-origin: center;
}
.net-node {
  animation: net-pop 700ms var(--ease) both;
  animation-delay: calc(500ms + var(--d) * 120ms);
}
.net-node rect {
  fill: white;
  stroke: #0a102029;
}
.net-node use {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.net-node text,
.net-core text,
.net-sellers text {
  font-family: var(--body);
  fill: var(--ink);
}
.net-node text {
  font-size: 15px;
  font-weight: 650;
}
.net-core {
  animation: net-pop 800ms var(--ease) 700ms both;
}
.net-core circle {
  fill: white;
  stroke: var(--blue);
  stroke-width: 2;
  filter: drop-shadow(0 18px 24px #1769ff40);
}
.net-core text {
  font-size: 16px;
  font-weight: 750;
}
.net-sellers text {
  font-size: 13px;
  font-weight: 650;
  fill: var(--ink-2);
}
.net-sellers circle {
  fill: var(--blue);
  animation: net-pop 500ms var(--ease) both;
  animation-delay: calc(2100ms + var(--d) * 50ms);
}
.net-sellers circle:nth-of-type(3n + 2) {
  fill: var(--sky);
}
.net-sellers circle:nth-of-type(4n + 3) {
  fill: #7c6cff;
}
.net-sellers circle:nth-of-type(5n) {
  fill: #14b8a6;
}
.net-glow {
  animation: fade-in 1200ms ease 600ms both;
}
@keyframes net-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes net-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.audience-list li {
  position: relative;
  padding: 28px 0 36px;
  border-top: 2px solid var(--ink);
}
.audience-no {
  font: 700 13px var(--mono);
  color: var(--blue-600);
}
.audience-icon {
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.audience-icon .icon {
  width: 22px;
  height: 22px;
}
.audience-list h3 {
  margin-top: 44px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.audience-list p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.partner-process {
  padding-top: 40px;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.process-track::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  opacity: 0.45;
  transform-origin: left;
}
.process-track.reveal-pending::before {
  transform: scaleX(0);
}
.process-track.reveal-in::before {
  transition: transform 1400ms var(--ease) 250ms;
}
.process-track li {
  position: relative;
}
.process-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    inset 0 0 0 2px var(--blue),
    0 0 0 8px var(--paper);
  font: 700 15px var(--mono);
  color: var(--blue-600);
}
.process-track li:last-child .process-dot {
  background: var(--blue);
  color: white;
}
.process-track h3 {
  margin-top: 28px;
  font-size: 24px;
  letter-spacing: -0.015em;
}
.process-track p {
  margin-top: 10px;
  max-width: 24em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-3);
}
.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.process-tags em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}
.process-tags .icon {
  width: 15px;
  height: 15px;
  color: var(--blue-600);
}

.partner-product {
  background: white;
}
.partner-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 72px;
}
.partner-product-copy h2,
.partner-close h2 {
  margin-top: 22px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-feature-settings: "palt";
}
.partner-product-copy > p:not(.kicker) {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}
.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.module-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 12px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 14px;
  font-weight: 600;
}
.module-chips .icon {
  width: 17px;
  height: 17px;
  color: var(--blue-600);
}
.partner-product-copy .link-arrow {
  margin-top: 30px;
  color: var(--blue-600);
}
.partner-window {
  position: relative;
}
.partner-window .app-body {
  height: 400px;
}
.partner-window .demo-chip {
  position: absolute;
  right: 12px;
  bottom: -42px;
}

.partner-close-section {
  padding: 0 0 160px;
  background: white;
}
.partner-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 76px;
  border-radius: 36px;
  background:
    radial-gradient(640px 320px at 90% 0%, #1769ff66, transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: white;
  overflow: hidden;
}
.partner-close::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0a 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 30%, black 100%);
  pointer-events: none;
}
.partner-close-copy {
  position: relative;
}
.partner-close p:not(.kicker) {
  margin-top: 14px;
  font-size: 16px;
  color: #a9b6cc;
}
.partner-close .button {
  position: relative;
  flex: 0 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .audience-list li {
    transition: border-color 300ms ease;
  }
  .audience-list li:hover {
    border-top-color: var(--blue);
  }
  .audience-icon {
    transition:
      transform 400ms var(--ease),
      background-color 300ms ease,
      color 300ms ease;
  }
  .audience-list li:hover .audience-icon {
    transform: rotate(-8deg) scale(1.06);
    background: var(--blue);
    color: white;
  }
}
@media (max-width: 1023px) {
  .partner-hero .hero-inner,
  .partner-product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .network {
    max-width: 520px;
  }
  .audience-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }
  .audience-list h3 {
    margin-top: 28px;
  }
  .process-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: 640px;
    padding-left: 80px;
  }
  .process-track::before {
    left: 27px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    transform-origin: top;
    background: linear-gradient(180deg, var(--blue), var(--sky));
  }
  .process-track.reveal-pending::before {
    transform: scaleY(0);
  }
  .process-dot {
    position: absolute;
    left: -80px;
    top: 0;
  }
  .process-track h3 {
    margin-top: 12px;
  }
  .partner-close {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 48px;
  }
}
@media (max-width: 760px) {
  .partner-hero .display {
    font-size: min(13.6vw, 60px);
  }
  .net-node text {
    font-size: 17px;
  }
  .audience-list h3,
  .process-track h3 {
    font-size: 22px;
  }
  .process-track {
    padding-left: 66px;
  }
  .process-dot {
    left: -66px;
    width: 48px;
    height: 48px;
    font-size: 13px;
  }
  .process-track::before {
    left: 23px;
  }
  .partner-product-copy h2,
  .partner-close h2 {
    font-size: min(9.4vw, 36px);
  }
  .partner-window .app-body {
    height: 360px;
  }
  .partner-close-section {
    padding-bottom: 96px;
  }
  .partner-close {
    padding: 40px 24px;
    border-radius: 26px;
  }
  .partner-close .button {
    width: 100%;
  }
}
/* Between 1024 and 1199px the hero column is narrow enough to clip the final "。". */
@media (min-width: 1024px) and (max-width: 1199px) {
  .partner-hero .display {
    font-size: 5.9vw;
  }
}
