/* ============================================================
   HOW IT WORKS PAGE STYLES
   ============================================================ */

/* --- SECTION: Hero --- */
.hiw-hero {
  padding: 132px 24px 64px;
  background: linear-gradient(180deg, #18395f 0%, #1b4068 15%, #1e4a73 30%, #215580 50%, #2a6a8a 70%, #f8f9fc 100%);
}
.hiw-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}
.hiw-hero__eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  /* font-size: var(--fs-tiny); */
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(59, 191, 178, 0.15);
  border: 1px solid rgba(59, 191, 178, 0.3);
  margin-bottom: 16px;
}
.hiw-hero__headline {
  /* font-size: var(--fs-h1); */
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hiw-hero__subhead {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--lh-body);
  margin-bottom: 28px;
}
.hiw-hero__cta {
  display: inline-block;
  padding: 16px 36px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: white;
  background: var(--color-teal);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(59, 191, 178, 0.3);
}
.hiw-hero__cta:hover {
  background: #2fa898;
  transform: translateY(-2px);
}
.hiw-hero__image img {
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}

/* --- SECTION: Timeline --- */
.hiw-timeline {
  padding: 80px 0;
  background: #f8f9fc;
  position: relative;
}
.hiw-timeline__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.hiw-timeline__connector {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-teal) 0%, rgba(59, 191, 178, 0.15) 100%);
  transform: translateX(-50%);
}

.hiw-timeline__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
  position: relative;
}
.hiw-timeline__step:last-child {
  margin-bottom: 0;
}

.hiw-timeline__step--left .hiw-timeline__step-content {
  order: 1;
  text-align: right;
  padding-right: 40px;
}
.hiw-timeline__step--left .hiw-timeline__step-image {
  order: 2;
  padding-left: 40px;
}
.hiw-timeline__step--right .hiw-timeline__step-content {
  order: 2;
  text-align: left;
  padding-left: 40px;
}
.hiw-timeline__step--right .hiw-timeline__step-image {
  order: 1;
  padding-right: 40px;
}

.hiw-timeline__step-number {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--fs-tiny);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  color: var(--color-teal);
  background: rgba(59, 191, 178, 0.1);
  border: 1px solid rgba(59, 191, 178, 0.25);
  margin-bottom: 12px;
}
.hiw-timeline__step-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 10px;
}
.hiw-timeline__step-body {
  font-size: var(--fs-small);
  color: var(--color-gray);
  line-height: var(--lh-body);
}
.hiw-timeline__step-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- SECTION: What Changes on Day One (dark navy) --- */
.hiw-changes {
  padding: 80px 0;
  background: linear-gradient(180deg, #0f2238 0%, #142d4a 15%, #18395f 35%, #1b4068 55%, #1e4a73 75%, #18395f 100%);
  text-align: center;
}
.hiw-changes__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.hiw-changes__headline {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: 12px;
}
.hiw-changes__subhead {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-body);
  max-width: 600px;
  margin: 0 auto 48px;
}
.hiw-changes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hiw-changes__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  transition: all 0.2s ease;
}
.hiw-changes__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- SECTION: Urgency Close --- */
.hiw-close {
  padding: 80px 0;
  background: white;
  text-align: center;
}
.hiw-close__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.hiw-close__headline {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 16px;
}
.hiw-close__body {
  font-size: var(--fs-body);
  color: var(--color-gray);
  line-height: var(--lh-body);
  margin-bottom: 32px;
}
.hiw-close__cta {
  display: inline-block;
  padding: 16px 40px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: white;
  background: var(--color-teal);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(59, 191, 178, 0.3);
}
.hiw-close__cta:hover {
  background: #2fa898;
  transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hiw-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hiw-hero__headline {
    font-size: 32px;
  }
  .hiw-hero__image {
    order: -1;
  }
  .hiw-timeline__connector {
    display: none;
  }
  .hiw-timeline__step {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hiw-timeline__step--left .hiw-timeline__step-content,
  .hiw-timeline__step--right .hiw-timeline__step-content {
    order: 1;
    text-align: left;
    padding: 0;
  }
  .hiw-timeline__step--left .hiw-timeline__step-image,
  .hiw-timeline__step--right .hiw-timeline__step-image {
    order: 2;
    padding: 0;
  }
  .hiw-changes__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hiw-changes__grid {
    grid-template-columns: 1fr;
  }
}

/* --- SECTION: Video Embed --- */
.hiw-video {
  padding: 80px 0;
  background: #f8f9fc;
  text-align: center;
}
.hiw-video__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.hiw-video__headline {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: 32px;
}
.hiw-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hiw-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hiw-video__transcript {
  margin-top: 24px;
  text-align: left;
}
.hiw-video__transcript-toggle {
  display: inline-block;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-teal);
  list-style: none;
  user-select: none;
  padding: 8px 0;
}
.hiw-video__transcript-toggle::-webkit-details-marker {
  display: none;
}
.hiw-video__transcript-toggle::before {
  content: "▸ ";
}
.hiw-video__transcript[open] .hiw-video__transcript-toggle::before {
  content: "▾ ";
}
.hiw-video__transcript-body {
  margin-top: 12px;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.hiw-video__transcript-body p {
  font-size: var(--fs-small);
  color: var(--color-gray);
  line-height: var(--lh-body);
  margin-bottom: 16px;
}
.hiw-video__transcript-body p:last-child {
  margin-bottom: 0;
}
