@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #07111f;
  --blue: #0874f9;
  font-family: Inter, Arial, sans-serif;
  color: #fff;
  background: #dfe4ea;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #dfe4ea; }
button, a { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.partners {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(500px, 1.05fr);
  overflow: hidden;
  background: var(--ink);
}

.partners-copy {
  padding: 74px clamp(34px, 4vw, 58px);
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #71b1ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.partners-copy h2 {
  margin: 0;
  font-size: clamp(54px, 5.8vw, 74px);
  line-height: .88;
  letter-spacing: -.075em;
}

.partners-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 28px;
  color: #aab7c8;
  font-size: 14px;
  line-height: 1.55;
}

.category-tabs {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #344154;
}

.category-tabs button {
  min-width: 0;
  min-height: 46px;
  padding: 0 7px;
  border: 0;
  border-right: 1px solid #344154;
  color: #a9b5c5;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.category-tabs button:last-child { border-right: 0; }
.category-tabs button.is-active { color: var(--ink); background: #fff; }

.apply-action {
  min-height: 54px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.apply-action:hover { background: #0065df; }

.social-stage {
  min-height: 660px;
  padding: 18px 0 12px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .07);
  background: #07111f;
  perspective: 1100px;
}

.phone-scene {
  width: min(100%, 390px);
  min-height: 610px;
  display: grid;
  place-items: center;
  perspective: 1050px;
}

.phone-wrap {
  --rx: 3deg;
  --ry: -7deg;
  position: relative;
  z-index: 2;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform .36s cubic-bezier(.2, .75, .25, 1);
  will-change: auto;
}

.phone-wrap::after {
  content: "";
  width: 82%;
  height: 42px;
  position: absolute;
  z-index: -1;
  bottom: -29px;
  left: 9%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  filter: blur(18px);
  transform: translateZ(-64px) rotateX(78deg);
}

.phone-button {
  width: 4px;
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .17);
  background: linear-gradient(#4b5664, #0b0f16 45%, #2c3542);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .42);
  transform: translateZ(-2px);
}

.phone-button-volume { height: 74px; top: 120px; left: -4px; border-radius: 3px 0 0 3px; }
.phone-button-power { height: 62px; top: 150px; right: -4px; border-radius: 0 3px 3px 0; }

.phone-wrap.is-tracking { transition-duration: .08s; will-change: transform; }

.phone-shell {
  width: 300px;
  height: 590px;
  padding: 9px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 48px;
  background: linear-gradient(125deg, #657180 0, #161c25 12%, #05070b 48%, #313b48 84%, #0a0d13 100%);
  box-shadow:
    18px 26px 48px rgba(0, 0, 0, .5),
    5px 7px 0 #030508,
    inset 1px 1px 0 rgba(255, 255, 255, .24),
    inset -2px -2px 0 rgba(0, 0, 0, .65);
  transform: translateZ(18px);
  transform-style: preserve-3d;
}

.phone-speaker {
  width: 82px;
  height: 20px;
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 50%;
  border-radius: 20px;
  background: #05070a;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 39px;
  color: #111722;
  background: #fff;
  transform: translateZ(3px);
}

.phone-top {
  height: 44px;
  padding: 21px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f4;
  font-size: 10px;
}

.phone-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.profile-summary {
  padding: 9px 11px 0;
  transition: opacity .16s ease, transform .16s ease;
}

.profile-overview {
  height: 55px;
  display: grid;
  grid-template-columns: 54px repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
}

.phone-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 850;
  box-shadow: 0 0 0 2px #e94a78, 0 0 0 3px #f2b94b;
}

.profile-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-stat strong { max-width: 100%; overflow: hidden; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.profile-stat small { margin-top: 2px; color: #687385; font-size: 7px; }

.profile-bio { padding-top: 5px; }
.profile-bio strong { display: block; font-size: 10px; }
.profile-bio span { display: block; margin-top: 2px; color: #0874f9; font-size: 8px; font-weight: 700; }
.profile-bio p { margin: 3px 0 0; color: #505b6b; font-size: 8.5px; line-height: 1.35; }

.profile-actions {
  height: 29px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 31px;
  gap: 5px;
}
.profile-actions span {
  display: block;
  padding-top: 7px;
  border-radius: 5px;
  color: #1a2432;
  background: #edf0f4;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}

.profile-highlights {
  height: 54px;
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}
.profile-highlights span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.profile-highlights i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dde5;
  border-radius: 50%;
  color: #0874f9;
  background: #f8fafc;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}
.profile-highlights small { color: #536071; font-size: 7px; }

.profile-grid-tabs {
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  border-top: 1px solid #e7eaf0;
  border-bottom: 1px solid #e7eaf0;
  color: #919ba8;
  font-size: 14px;
  text-align: center;
}
.profile-grid-tabs span { height: 100%; padding-top: 5px; }
.profile-grid-tabs .is-active { color: #101722; border-bottom: 1px solid #101722; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
  transition: opacity .16s ease, transform .16s ease;
}
.profile-grid img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; transition: opacity .18s ease; }
.phone-screen.is-changing .profile-summary { opacity: .32; transform: translateY(2px); }
.phone-screen.is-changing .profile-grid { opacity: .2; transform: translateY(2px); }

.phone-bottom {
  height: 39px;
  padding: 0 14px;
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e3e7ed;
  color: #111722;
  background: rgba(255, 255, 255, .96);
  font-size: 16px;
}
.phone-bottom b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 8px; }

button:focus-visible,
a:focus-visible { outline: 3px solid #88beff; outline-offset: 2px; }

@media (min-width: 1200px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .partners-copy { padding-left: max(58px, calc((100vw - 1260px) / 2)); }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .partners {
    min-height: 620px;
    grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr);
  }
  .partners-copy { padding: 46px 28px; }
  .partners-copy h2 { font-size: clamp(46px, 5.6vw, 58px); }
  .partners-copy > p { margin: 19px 0 23px; font-size: 13px; }
  .social-stage { min-height: 620px; padding: 14px 0 8px; }
  .phone-scene { width: min(100%, 360px); min-height: 575px; }
  .phone-shell { width: 286px; height: 560px; padding: 8px; border-radius: 45px; }
  .phone-screen { border-radius: 36px; }
}

@media (max-width: 820px) {
  .partners { grid-template-columns: 1fr; }
  .partners-copy { padding: 58px 30px 38px; }
  .partners-copy h2 { font-size: 58px; }
  .social-stage { min-height: 640px; border-top: 1px solid rgba(255, 255, 255, .07); border-left: 0; }
  .phone-wrap { --rx: 3deg; --ry: -6deg; }
}

@media (max-width: 520px) {
  body { background: var(--ink); }
  .partners { min-height: 0; }
  .partners-copy { padding: 40px 20px 26px; }
  .partners-copy h2 { font-size: clamp(52px, 15vw, 60px); }
  .partners-copy > p { margin: 19px 0 24px; font-size: 13px; }
  .category-tabs button { min-height: 44px; padding-inline: 5px; }
  .apply-action { min-height: 52px; }
  .social-stage { min-height: 600px; padding: 20px 0 14px; gap: 9px; }
  .phone-scene { min-height: 555px; }
  .phone-shell {
    width: min(272px, calc(100vw - 56px));
    height: 548px;
    padding: 8px;
    border-radius: 42px;
    box-shadow: 16px 23px 42px rgba(0, 0, 0, .48), 5px 6px 0 #030508, inset 1px 1px 0 rgba(255, 255, 255, .22), inset -2px -2px 0 rgba(0, 0, 0, .62);
  }
  .phone-speaker { width: 72px; height: 17px; top: 15px; }
  .phone-screen { border-radius: 34px; }
  .phone-top { height: 43px; padding: 20px 13px 6px; font-size: 9px; }
  .profile-summary { padding-inline: 10px; }
  .profile-overview { grid-template-columns: 52px repeat(3, minmax(0, 1fr)); }
  .phone-avatar { width: 46px; height: 46px; }
  .profile-highlights i { width: 31px; height: 31px; }
}

@media (max-width: 350px) {
  .partners-copy { padding-inline: 16px; }
  .category-tabs button { font-size: 9px; }
  .phone-shell { width: min(258px, calc(100vw - 46px)); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-wrap { --rx: 2deg; --ry: -4deg; transition: none; }
  .profile-summary,
  .profile-grid,
  .profile-grid img { transition: none; }
}
