/* Private label and custom products page (page-private-label-custom-products.php) */

.hs-private__hero {
  padding-bottom: clamp(44px, 5vw, 68px);
}

.hs-private__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 62ch;
  margin: 24px 0 0;
}

.hs-private__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Buttons keep a 44px touch target at every width */
.hs-private__hero-actions .hs-btn,
.hs-private__cta-actions .hs-btn {
  min-height: 44px;
}

.hs-private__section {
  border-bottom: 1px solid var(--hs-mist);
}

/* Section intro: heading left, note right (house pattern) */
.hs-private__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 48px;
}

.hs-private__h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0;
}

.hs-private__intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 56ch;
  margin: 0;
}

.hs-private__intro-text a {
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-private__kicker--tight {
  margin-bottom: 8px;
}

.hs-private__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 76ch;
  margin: 20px 0 0;
}

/* 01 / The customisation path */
.hs-private__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.hs-private__step {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 28px 48px;
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--hs-mist);
}

.hs-private__step:first-child {
  padding-top: 0;
  border-top: 0;
}

.hs-private__step-head {
  min-width: 0;
}

.hs-private__step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--hs-blue);
  margin-bottom: 10px;
}

.hs-private__step-name {
  font-size: 24px;
  margin: 0 0 10px;
}

.hs-private__step-rail {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hs-navy);
  margin: 0 0 10px;
}

.hs-private__step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  margin: 0 0 16px;
}

/* Status: a dot plus a word, never colour alone */
.hs-private__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--hs-slate);
}

.hs-private__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--hs-blue);
}

.hs-private__status--ok .hs-private__dot {
  background-color: var(--hs-success);
}

.hs-private__status--ok .hs-private__status-word {
  color: var(--hs-success);
}

.hs-private__status--info .hs-private__dot {
  background-color: var(--hs-blue);
}

.hs-private__status--info .hs-private__status-word {
  color: var(--hs-blue);
}

.hs-private__status--scope .hs-private__dot {
  background-color: var(--hs-slate);
}

.hs-private__status--scope .hs-private__status-word {
  color: var(--hs-slate);
}

/* Step rows: what you confirm, what is recorded */
.hs-private__step-rows {
  background-color: var(--hs-white);
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0;
}

.hs-private__step-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 22px;
  border-top: 1px solid var(--hs-mist);
}

.hs-private__step-row:first-child {
  border-top: 0;
}

.hs-private__step-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-slate);
  padding-top: 3px;
}

.hs-private__step-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hs-ink);
  overflow-wrap: break-word;
}

/* Hand-off link on a step: an inline 44px touch target */
.hs-private__step-link {
  margin: 12px 0 0;
}

.hs-private__step-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 02 / Specification panel — a local variant of the shared .hs-page__panel */
.hs-private__spec-panel {
  position: relative;
  max-width: none;
  padding: clamp(24px, 3vw, 40px);
}

/* Small orange accent: the panel's opening rule */
.hs-private__spec-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: clamp(24px, 3vw, 40px);
  width: 56px;
  height: 3px;
  background-color: var(--hs-orange);
}

.hs-private__spec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hs-mist);
}

.hs-private__spec-title {
  font-size: 20px;
  margin: 0;
}

.hs-private__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--hs-slate);
}

.hs-private__badge .hs-private__dot {
  background-color: var(--hs-slate);
}

.hs-private__spec-rows {
  margin: 0;
}

.hs-private__spec-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hs-mist);
}

.hs-private__spec-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-navy);
  padding-top: 3px;
}

.hs-private__spec-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-ink);
  overflow-wrap: break-word;
}

.hs-private__spec-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hs-slate);
  max-width: 82ch;
}

/* 03 / Approval checkpoints — report-style definition list */
.hs-private__checkpoints {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
}

.hs-private__checkpoint {
  padding: 20px 0;
  border-top: 1px solid var(--hs-mist);
  min-width: 0;
}

.hs-private__checkpoint:first-child,
.hs-private__checkpoint:nth-child(2) {
  padding-top: 0;
  border-top: 0;
}

.hs-private__checkpoint-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 8px;
}

.hs-private__checkpoint-name {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.hs-private__checkpoint-gates {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-slate);
  margin: 0 0 12px;
}

.hs-private__checkpoint-who {
  font-size: 13px;
  line-height: 1.6;
  color: var(--hs-ink);
  margin: 0;
}

.hs-private__checkpoint-who-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-slate);
  margin-right: 6px;
}

/* 04 / Field evidence figures */
.hs-private__figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
}

.hs-private__fig {
  margin: 0;
}

.hs-private__fig-img {
  display: block;
  width: 100%;
  border: 1px solid var(--hs-mist);
  border-radius: var(--radius-card);
}

.hs-private__fig-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hs-slate);
}

.hs-private__fig-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-blue);
}

.hs-private__fig-text {
  flex: 1 1 auto;
}

.hs-private__fig-size {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--hs-slate);
}

/* Closing call to action */
.hs-private__cta {
  border-bottom: 0;
}

.hs-private__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hs-private__cta-copy {
  min-width: 0;
}

.hs-private__cta-title {
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--hs-white);
  max-width: 32ch;
  margin: 0 0 12px;
}

.hs-private__cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: #c4d5e2;
  max-width: 62ch;
  margin: 0;
}

.hs-private__cta-text a {
  color: var(--hs-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-private__cta-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Focus states */
.hs-private__intro-text a:focus-visible,
.hs-private__step-link a:focus-visible,
.hs-private__hero-actions a:focus-visible,
.hs-private__cta-actions a:focus-visible {
  outline: 3px solid var(--hs-blue);
  outline-offset: 2px;
}

.hs-section--navy .hs-private__cta-actions a:focus-visible,
.hs-section--navy .hs-private__cta-text a:focus-visible {
  outline: 3px solid var(--hs-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hs-private__page .hs-btn,
  .hs-private__fig-img {
    transition: none;
  }

  .hs-private__page .hs-btn:hover {
    transform: none;
  }
}

/* Responsive: single column on small screens */
@media (max-width: 1024px) {
  .hs-private__figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-private__checkpoints {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hs-private__checkpoint:nth-child(2) {
    padding-top: 20px;
    border-top: 1px solid var(--hs-mist);
  }
}

@media (max-width: 900px) {
  .hs-private__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .hs-private__step {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hs-private__spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hs-private__spec-row dt {
    padding-top: 0;
  }

  .hs-private__cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hs-private__figs {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hs-private__step-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hs-private__step-row dt {
    padding-top: 0;
  }

  .hs-private__hero-actions,
  .hs-private__cta-actions {
    width: 100%;
  }

  .hs-private__hero-actions .hs-btn,
  .hs-private__cta-actions .hs-btn,
  .hs-private__step-link a {
    width: 100%;
    min-height: 44px;
  }

  .hs-private__step-link a {
    justify-content: flex-start;
  }
}