.reseller-hero {
  background: radial-gradient(ellipse at 93% 5%, #223028 0%, transparent 58%), #0d141a;
  border-bottom: 1px solid var(--line);
  padding-block: 62px;
}
.reseller-hero-layout {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(27px, 5vw, 76px);
}
.reseller-hero h1 { font-size: clamp(3.1rem, 6.4vw, 6.1rem); }
.reseller-intro { color: #cbd7d9; max-width: 445px; margin-top: 23px; font-size: 1.12rem; }
.reseller-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.reseller-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #41554c;
  border-radius: 15px;
  background: #111d24;
  aspect-ratio: 1.45;
}
.reseller-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reseller-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, #080e13 0%, #080e1399 30%, transparent 66%);
}
.reseller-visual-note {
  position: absolute;
  z-index: 1;
  left: clamp(14px, 2.4vw, 27px);
  bottom: clamp(14px, 2.4vw, 26px);
  display: grid;
  gap: 4px;
  padding: 9px 0 9px 15px;
  border-left: 2px solid var(--lime);
  color: #e1e7e8;
  font-size: .89rem;
}
.reseller-visual-note strong {
  color: var(--lime);
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
  letter-spacing: -.06em;
  line-height: 1;
}
.reseller-pack-grid .price { margin-top: 15px; }
.reseller-pack-grid .button { white-space: normal; }

.reseller-planner-section, .reseller-faq-section { background: #0c1218; border-block: 1px solid var(--line); }
.reseller-planner-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(23px, 5vw, 75px); align-items: start; }
.reseller-credit-rules { display: grid; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 23px 0 0; }
.reseller-credit-rules > div { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px 0; }
.reseller-credit-rules dd { color: var(--lime); margin: 0; font-weight: 720; }
.reseller-form {
  padding: clamp(19px, 3vw, 36px);
  background: linear-gradient(145deg, #18231c, #131d25 76%);
  border: 1px solid #41544e;
  border-radius: 14px;
}
.reseller-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reseller-fields label:last-child { grid-column: 1 / -1; }
.reseller-form label { display: grid; gap: 6px; font-size: .94rem; font-weight: 700; }
.reseller-form :is(select, input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #4b5b61;
  border-radius: 7px;
  font: inherit;
  color: var(--paper);
  background: var(--page);
}
.reseller-form select {
  appearance: none;
  padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.reseller-estimate { margin-block: 20px 17px; padding-block: 13px; border-block: 1px solid #3a4b43; }
.reseller-estimate p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1.13rem; font-weight: 700; }
.reseller-estimate strong { color: var(--lime); font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1; letter-spacing: -.05em; }
#reseller-credit-detail, .reseller-message-panel p { margin-block: 7px; color: var(--muted); }
.reseller-form > .button { margin-top: 9px; }
.reseller-message-panel { padding-top: 17px; margin-top: 17px; border-top: 1px solid #3a4b43; }
.reseller-message-panel textarea { margin-top: 6px; resize: vertical; }
.reseller-message-panel .button { margin-top: 8px; }

.reseller-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
}
.reseller-steps li { padding: 21px; border: 1px solid var(--line); border-top: 2px solid #789747; border-radius: 10px; background: var(--surface); }
.reseller-steps h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.reseller-steps p { color: var(--muted); margin-top: 7px; }

@media (max-width: 900px) {
  .reseller-hero { padding-block: 45px; }
  .reseller-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
}
@media (max-width: 700px) {
  .reseller-hero-layout, .reseller-planner-layout, .reseller-steps { grid-template-columns: 1fr; }
  .reseller-hero h1 { font-size: clamp(2.35rem, 8.3vw, 3.9rem); }
  .reseller-intro { font-size: 1rem; margin: 17px auto 0; }
  .reseller-actions { justify-content: center; }
  .reseller-visual { aspect-ratio: 1.62; }
  .reseller-estimate p:first-child { justify-content: center; }
  .reseller-steps { gap: 10px; }
}
@media (max-width: 400px) {
  .reseller-actions > .button { width: 100%; }
  .reseller-fields { grid-template-columns: 1fr; }
}
