/* ============================================================
   HOW IT WORKS — Brenom Systems
   ============================================================ */

/* Full-width content container */
.hiw-wrap {
  width: 100%;
  padding: 0 40px;
}

.hiw-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
}

.hiw-accent {
  color: var(--orange);
}


/* ============================================================
   INTRO
   ============================================================ */

.hiw-intro {
  padding: 140px 0 96px;
}

.hiw-intro--hero {
  position: relative;
  overflow: hidden;
}

.hiw-intro--hero .hiw-wrap {
  position: relative;
  z-index: 2;
}

.hiw-intro--hero .hiw-intro__heading {
  color: var(--white);
}

.hiw-intro--hero .hiw-intro__lead {
  color: rgba(255, 255, 255, 0.85);
}

.hiw-intro--hero .hiw-intro__sub {
  color: rgba(255, 255, 255, 0.6);
}

.hiw-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
}

.hiw-intro__heading {
  font-family: var(--font-heading);
  font-size: 120px;
  line-height: 0.88;
  color: var(--dark);
}

.hiw-intro__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hiw-intro__lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.55;
}

.hiw-intro__sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-mid);
  line-height: 1.65;
}


/* ============================================================
   PROCESS STEPS
   ============================================================ */

.hiw-steps {
  padding: 0 0 96px;
}

/* Override stagger heights for how-it-works panels — longer content needs more height */
.process__panel[data-index="1"] { height: 580px; }
.process__panel[data-index="2"] { height: 780px; }
.process__panel[data-index="3"] { height: 980px; }
.process__panel[data-index="4"] { height: 1180px; }

.hiw-steps__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hiw-steps__heading {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--dark);
}

.hiw-steps__list {
  width: 100%;
  border: 1px solid var(--border-subtle);
}

.hiw-step {
  padding: 28px 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.hiw-step:last-child {
  border-bottom: none;
}

.hiw-step__row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hiw-step__num {
  font-size: 16px;
  font-weight: 600;
  color: #b8b8b8;
  font-family: var(--font-body);
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
  letter-spacing: 0.5px;
}

.hiw-step__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hiw-step__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1.2px;
  line-height: 1.3;
}

.hiw-step__desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.65;
}


/* ============================================================
   WHAT YOU DON'T HAVE TO DO
   ============================================================ */

.hiw-offload {
  padding: 0 0 96px;
}

.hiw-offload__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hiw-offload__heading {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--dark);
}

.hiw-offload__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-subtle);
}

.hiw-offload__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  border-bottom: 1px solid var(--border-subtle);
}

.hiw-offload__item:nth-child(odd) {
  border-right: 1px solid var(--border-subtle);
}

.hiw-offload__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.hiw-offload__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.hiw-offload__item--empty {
  background: #f5f5f5;
}

.hiw-offload__item--empty::before {
  display: none;
}


/* rfq layout override for hiw pages — allow text to wrap in cells */
.rfq .rfq__form-item-title {
  white-space: normal;
}


/* ============================================================
   TWO-COL CREAM VARIANT
   ============================================================ */

.hiw-two-col--dark {
  background: var(--cream);
}

/* higher specificity to override .hiw-two-col { padding: 0 0 96px } */
.hiw-two-col.hiw-two-col--dark {
  padding-top: 80px;
}

.hiw-two-col--dark .hiw-col__heading {
  font-size: 80px;
  color: var(--dark);
}

.hiw-two-col--dark .hiw-label {
  color: var(--orange);
}

.hiw-two-col--dark .hiw-col__body {
  font-size: 18px;
  color: var(--dark);
}

.hiw-two-col--dark .hiw-accent {
  color: var(--orange);
}

.hiw-two-col--dark .hiw-col__list-item {
  font-size: 18px;
  color: var(--dark);
  border-bottom-color: var(--border-mid);
}

.hiw-two-col--dark .hiw-col__list-item:first-child {
  border-top-color: var(--border-mid);
}

.hiw-two-col--dark .hiw-col__list-item::before {
  background: var(--orange);
}


/* ============================================================
   CTA STRIP
   ============================================================ */

.hiw-cta {
  background: var(--cream);
}

.hiw-cta .hiw-wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hiw-cta__text {
  font-family: var(--font-heading);
  font-size: 80px;
  line-height: 1;
  color: var(--dark);
  max-width: 70%;
}


/* ============================================================
   TWO-COLUMN SECTION (First Article page)
   ============================================================ */

.hiw-two-col {
  padding: 0 0 96px;
}

.hiw-two-col .hiw-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.hiw-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hiw-col__heading {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  color: var(--dark);
}

.hiw-col__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.65;
}

.hiw-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.hiw-col__list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hiw-col__list-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hiw-col__list-item::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}


