/* How It Works Page Styles */
.pg-hero {
  padding: 8rem 0 5rem;
  background: var(--n950);
  text-align: center;
}
.pg-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}
.pg-hero__h {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 800;
  color: var(--wh);
  line-height: 1.1;
  letter-spacing: -0.035em; word-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.pg-hero__sub {
  font-family: var(--fb);
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  margin: 0 auto;
}
.title-accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--t300) 0%, var(--t400) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Steps detailed */
.hiw-split-sections {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 2rem 0;
}
.hiw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hiw-split.reverse {
  direction: rtl;
}
.hiw-split.reverse > * {
  direction: ltr;
}
.hiw-text {
  max-width: 500px;
}
.hiw-split.reverse .hiw-text {
  margin-left: auto;
}
.hiw-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hiw-list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--n900);
  font-weight: 500;
}
.hiw-list svg {
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin-top: 2px;
}
.hiw-h {
  font-family: var(--fd);
  font-size: 2.2rem;
  color: var(--n900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hiw-p {
  font-size: 1.15rem;
  color: var(--g600);
  line-height: 1.7;
}
.hiw-visual {
  border-radius: var(--r2xl);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  aspect-ratio: 4/3;
  transition: transform var(--spring), box-shadow var(--ease);
}
.hiw-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}
.hiw-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .hiw-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hiw-split.reverse {
    direction: ltr;
  }
  .hiw-text {
    max-width: 100%;
  }
  .hiw-visual {
    order: -1;
  }
}

/* Architecture section */
.bg-cream {
  background: var(--cream);
}
.sec-hd {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.75rem;
}
.sems-schematic {
  max-width: 1000px;
  margin: 0 auto;
}
.schematic-ph {
  background: var(--wh);
  border: 2px dashed var(--g200);
  border-radius: var(--r2xl);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--g600);
  font-family: var(--fd);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .hiw-step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem;
  }
}
