body {
  background: #1c1c1c;
  color: #fff;
}

.client-page {
  padding: 72px 0 36px;
  background: #1c1c1c;
}

.client-page__container {
  max-width: 920px;
}

.client-region {
  margin-bottom: 18px;
  max-width: 360px;
}

.client-region__label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.client-region__select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #202226;
  color: #fff;
  font-size: 14px;
  padding: 0 12px;
}

.client-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background: #232323;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.client-apps-heading {
  margin: 4px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.client-alt-app {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: #232323;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.client-alt-app.is-hidden {
  display: none;
}

.client-alt-app__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.client-alt-app__title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.client-alt-app__text {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
}

.client-alt-app__button {
  margin-top: 0;
  min-width: 170px;
}

.client-hero__info {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
}

.client-hero__action {
  margin-top: 0;
  min-width: 230px;
  white-space: nowrap;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.client-hero__action::after {
  content: "▾";
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.client-hero__action[aria-expanded="true"] {
  background: #3a3a3a;
  color: #f1f1f1;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.client-hero__action[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.client-hero__action.is-hidden {
  display: none;
}

.client-steps.is-collapsed {
  display: none;
}

.client-hero__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.client-hero__title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.client-hero__subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

body.client-list-mode .client-hero {
  margin-top: 22px;
}

.client-steps {
  display: grid;
  gap: 14px;
}

.client-step {
  background: #232323;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 18px;
}

.client-step__title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.client-step__text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.4;
}

.client-step__button {
  margin-top: 14px;
  min-width: 240px;
}

.client-key-box {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1d22;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.client-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #d4ffe2;
  font-size: 14px;
  word-break: break-all;
}

.client-copy-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.client-copy-icon img {
  width: 16px;
  height: 16px;
  opacity: 0.95;
}

.client-copy-status {
  margin-top: 8px;
  font-size: 13px;
  color: #53fb83;
  min-height: 18px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.client-copy-status.is-visible {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .client-page {
    padding: 56px 0 24px;
  }

  .client-region {
    max-width: none;
    width: 100%;
  }

  .client-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-apps-heading {
    font-size: 20px;
  }

  .client-alt-app {
    grid-template-columns: 40px 1fr;
    row-gap: 8px;
  }

  .client-alt-app__title {
    font-size: 24px;
  }

  .client-alt-app__text {
    font-size: 15px;
  }

  .client-alt-app__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .client-hero__info {
    grid-template-columns: 40px 1fr;
  }

  .client-hero__action {
    width: 100%;
    min-width: 0;
  }

  .client-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .client-alt-app__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .client-hero__title {
    font-size: 24px;
  }

  .client-hero__subtitle {
    font-size: 15px;
  }

  .client-step {
    padding: 16px 14px;
  }

  .client-step__title {
    font-size: 18px;
  }

  .client-step__text {
    font-size: 14px;
  }

  .client-step__button {
    width: 100%;
    min-width: 0;
  }

}
