.reseller-page {
  --layout-footer-margin-top: 20px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.reseller-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 10vw, 124px) 0 32px;
  font-family: var(--layout-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.reseller-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: min(660px, calc(100vh - 130px));
  padding-bottom: clamp(34px, 5vw, 64px);
}

.reseller-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-desc {
  max-width: 720px;
  margin: 22px 0 0;
  color: #515154;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

@media (min-width: 901px) {
  .reseller-copy h1 {
    font-size: clamp(40px, 4.8vw, 60px);
  }
}

.contact-label {
  width: 100%;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 113, 227, .16);
  transition: transform .18s ease, background .18s ease;
}

.contact-btn:hover {
  background: #0077ed;
  transform: translateY(-1px);
}

.contact-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.contact-btn svg path,
.contact-btn svg rect {
  fill: currentColor;
}

.contact-btn.gmail svg rect,
.contact-btn.gmail svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel,
.nameserver-box {
  border: 1px solid #e5e5ea;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .07);
}

.hero-panel {
  padding: clamp(22px, 3vw, 30px);
}

.panel-logo {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
}

.panel-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.hero-panel h2,
.reseller-block h2,
.dns-panel h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-panel p,
.dns-panel p,
.reseller-note p {
  margin: 14px 0 0;
  color: #515154;
  font-size: 16px;
  line-height: 1.58;
}

.reseller-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(36px, 5vw, 62px) 0;
  border-top: 1px solid #e5e5ea;
}

.reseller-block {
  min-width: 0;
}

.simple-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.simple-list li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: #515154;
  font-size: 16px;
  line-height: 1.55;
}

.simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0071e3;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 0 0 0 32px;
  color: #515154;
  font-size: 15px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 6px rgba(52, 199, 89, .12);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .52em;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.compact-check-list {
  gap: 10px;
}

.compact-check-list li {
  font-size: 14px;
}

.requirements-note {
  margin-top: 14px !important;
  color: #6e6e73 !important;
  font-size: 14px !important;
  font-style: italic;
}

.numbered-list {
  counter-reset: reseller-step;
}

.numbered-list li {
  counter-increment: reseller-step;
}

.numbered-list li::before {
  content: counter(reseller-step);
  top: .16em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #1d1d1f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.dns-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(36px, 5vw, 62px) 0;
  border-top: 1px solid #e5e5ea;
}

.nameserver-box {
  padding: clamp(18px, 2.8vw, 26px);
}

.nameserver-box code {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 15px;
  border: 1px solid rgba(0, 113, 227, .16);
  border-radius: 12px;
  background: #f5faff;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.nameserver-box code:first-child {
  margin-top: 0;
}

.box-note {
  margin: 14px 0 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.5;
}

.reseller-note {
  max-width: 900px;
  padding-top: clamp(10px, 2vw, 18px);
}

.reseller-note h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .reseller-main {
    width: min(100% - 32px, 1120px);
    padding-top: 104px;
  }

  .reseller-hero,
  .reseller-band,
  .dns-panel {
    grid-template-columns: 1fr;
  }

  .reseller-hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .reseller-main {
    width: min(100% - 24px, 1120px);
    padding-top: 108px;
  }

  .reseller-copy h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px;
  }

  .contact-label {
    text-align: center;
  }

  .contact-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-panel,
  .nameserver-box {
    border-radius: 18px;
  }

  .reseller-band,
  .dns-panel {
    padding: 34px 0;
  }
}
