:root {
  --reseller-ink: #071224;
  --reseller-muted: #526176;
  --reseller-orange: #ff3d12;
  --reseller-blue: #1768ff;
  --reseller-green: #18a94b;
  --reseller-purple: #7b42ff;
  --reseller-line: #e6ebf2;
  --reseller-shadow: 0 18px 44px rgba(12, 24, 48, 0.08);
}

.reseller-page {
  color: var(--reseller-ink);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 46%, #fff 100%);
  overflow-x: hidden;
}

.reseller-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.reseller-hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(500px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 70px 0 38px;
}

.reseller-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 15px;
  border: 1px solid #ffc7b3;
  border-radius: 999px;
  color: var(--reseller-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reseller-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 4.9vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

.reseller-hero h1 span,
.reseller-orange,
.section-kicker {
  color: var(--reseller-orange);
}

.reseller-hero p {
  max-width: 590px;
  margin: 0 0 18px;
  color: #26344b;
  font-size: 17px;
  line-height: 1.68;
}

.reseller-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.reseller-actions,
.reseller-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.reseller-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 72px;
}

.reseller-feature {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--reseller-line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--tint), #fff);
  box-shadow: var(--reseller-shadow);
}

.reseller-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--accent, var(--reseller-orange));
  background: #fff;
}

.reseller-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reseller-feature h3,
.join-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.reseller-feature p,
.join-copy p,
.portfolio-copy p,
.model-card p,
.benefit-panel p,
.reseller-final p {
  margin: 0;
  color: var(--reseller-muted);
  line-height: 1.6;
}

.partner-fit {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: start;
  margin: 0 auto 78px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.join-card {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px 16px;
  border: 1px solid var(--reseller-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--reseller-shadow);
}

.portfolio-section {
  display: grid;
  grid-template-columns: 290px 1fr 300px;
  gap: 34px;
  align-items: stretch;
  margin: 0 auto 78px;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--reseller-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--reseller-shadow);
}

.portfolio-card ul,
.model-card ul,
.benefit-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-card li,
.model-card li,
.benefit-panel li {
  position: relative;
  padding-left: 24px;
  color: #27344a;
  line-height: 1.4;
}

.portfolio-card li::before,
.model-card li::before,
.benefit-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent, var(--reseller-orange));
  border-radius: 50%;
}

.portfolio-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--reseller-shadow);
}

.portfolio-image img,
.benefit-panel img,
.reseller-final img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.models-section {
  margin: 0 auto 78px;
  text-align: center;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  text-align: left;
}

.model-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--reseller-line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--tint), #fff);
  box-shadow: var(--reseller-shadow);
}

.model-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--accent, var(--reseller-orange));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.process-benefits {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: start;
  margin: 0 auto 86px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--reseller-orange);
  color: #fff;
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.process-step small {
  color: var(--reseller-muted);
  line-height: 1.5;
}

.benefit-panel {
  overflow: hidden;
  padding: 26px 26px 0;
  border: 1px solid var(--reseller-line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff5ef, #fff);
  box-shadow: var(--reseller-shadow);
}

.benefit-panel img {
  height: 130px;
  margin-top: 18px;
  object-fit: cover;
}

.reseller-final {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 26px;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 88px;
  padding: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff4ed, #fff);
  box-shadow: var(--reseller-shadow);
}

.reseller-final img {
  max-height: 150px;
  object-fit: contain;
}

.reseller-final h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}

@media (max-width: 1000px) {
  .reseller-hero,
  .partner-fit,
  .portfolio-section,
  .process-benefits,
  .reseller-final {
    grid-template-columns: 1fr;
  }

  .reseller-feature-strip,
  .join-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .reseller-container {
    width: min(100% - 28px, 1180px);
  }

  .reseller-hero {
    padding-top: 44px;
  }

  .reseller-feature-strip,
  .join-grid,
  .portfolio-card,
  .model-grid,
  .process-line {
    grid-template-columns: 1fr;
  }
}
