.s3 {
  background: var(--section);
  padding: 48px 48px 120px;
}

.s3-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  column-gap: 56px;
  align-items: center;
}

.s3-copy {
  max-width: 480px;
  padding-right: 12px;
}

.s3-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.s3-eyebrow-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.s3-copy h2 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.s3-lead {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.s3-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.s3-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.s3-step-num {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding-top: 3px;
}

.s3-step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.s3-step-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.s3-stage {
  position: relative;
  min-height: 620px;
}

.s3-glow {
  position: absolute;
  left: 18%;
  top: 12%;
  width: 64%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(213, 166, 85, 0.07) 0%,
    rgba(213, 166, 85, 0.02) 42%,
    rgba(14, 18, 24, 0) 70%
  );
  pointer-events: none;
}

.s3-phones {
  position: relative;
  height: 620px;
}

.s3-device {
  position: absolute;
  margin: 0;
}

.s3-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.s3-bezel {
  background: #0a0a0c;
  border: 3px solid #2a2c31;
  border-radius: 38px;
  padding: 10px 9px 12px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.s3-bezel img,
.s3-placeholder {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: 50% 0;
}

.s3-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: rgba(213, 166, 85, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.s3-device--back {
  width: 214px;
  left: 4%;
  top: 72px;
  z-index: 1;
}

.s3-device--center {
  width: 286px;
  left: 26%;
  top: 18px;
  z-index: 2;
}

.s3-device--front {
  width: 230px;
  right: 2%;
  top: 56px;
  z-index: 3;
}

.s3-device--back .s3-placeholder,
.s3-device--back .s3-bezel img {
  height: 420px;
}

.s3-device--center .s3-placeholder,
.s3-device--center .s3-bezel img {
  height: 560px;
}

.s3-device--front .s3-placeholder,
.s3-device--front .s3-bezel img {
  height: 452px;
}

@media (max-width: 1180px) {
  .s3 {
    padding: 40px 40px 96px;
  }

  .s3-inner {
    column-gap: 36px;
  }

  .s3-copy h2 {
    font-size: 34px;
  }

  .s3-stage,
  .s3-phones {
    min-height: 540px;
    height: 540px;
  }

  .s3-device--back {
    width: 180px;
    left: 0;
    top: 64px;
  }

  .s3-device--center {
    width: 240px;
    left: 24%;
    top: 20px;
  }

  .s3-device--front {
    width: 192px;
    right: 0;
    top: 52px;
  }

  .s3-device--back .s3-placeholder,
  .s3-device--back .s3-bezel img {
    height: 352px;
  }

  .s3-device--center .s3-placeholder,
  .s3-device--center .s3-bezel img {
    height: 470px;
  }

  .s3-device--front .s3-placeholder,
  .s3-device--front .s3-bezel img {
    height: 376px;
  }
}

@media (max-width: 860px) {
  .s3 {
    padding: 24px 20px 52px;
  }

  .s3-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .s3-copy {
    max-width: none;
    padding-right: 0;
  }

  .s3-copy h2 {
    font-size: 28px;
  }

  .s3-lead {
    margin-bottom: 36px;
  }

  .s3-stage,
  .s3-phones {
    min-height: 0;
    height: auto;
  }

  .s3-phones {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .s3-device {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    min-width: 0;
  }

  .s3-device--back,
  .s3-device--front {
    width: 26%;
    flex: 0 1 auto;
    max-width: 118px;
  }

  .s3-device--center {
    width: 38%;
    flex: 0 1 auto;
    max-width: 168px;
  }

  .s3-device--back .s3-placeholder,
  .s3-device--back .s3-bezel img,
  .s3-device--front .s3-placeholder,
  .s3-device--front .s3-bezel img,
  .s3-device--center .s3-placeholder,
  .s3-device--center .s3-bezel img {
    height: auto;
  }

  .s3-bezel {
    border-radius: 28px;
    padding: 8px 7px 10px;
  }

  .s3-bezel img,
  .s3-placeholder {
    border-radius: 20px;
  }
}
