/* How it works — numbers from gen.js on how-it-works (13:347) and how-it-works-mobile (44:313). */

/* ── hero + navigator ─────────────────────────────────────────────────── */
.whero { display: flex; gap: 32px; align-items: flex-start; padding: 80px 64px; background: var(--color-dark); color: var(--color-ink); }
.whero__bento { display: flex; flex-direction: column; gap: 40px; flex: 1; min-width: 0; padding: 48px; border-radius: 24px; background: var(--color-brand); }
.whero__head { display: flex; flex-direction: column; gap: 16px; }
.whero__eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; text-transform: uppercase; }
.whero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: var(--font-display); text-transform: uppercase; color: var(--color-dark); }
.whero__l1 { font-size: 72px; line-height: 65px; }
.whero__l2 { font-size: 64px; line-height: 64px; padding: 8px 16px; border-radius: 8px; background: var(--color-dark); color: var(--color-brand); }
.whero__text { font-size: 18px; line-height: 29px; }
.whero__ctas { display: flex; align-items: center; gap: 16px; }
.whero__btn { padding: 12px 24px; border-radius: 4px; border-color: var(--color-gold); background: var(--color-dark); color: var(--color-brand); font-weight: 700; letter-spacing: 0; }
.whero__btn:hover { background: var(--color-dark-hover); }
.whero__link { padding: 12px 16px; font-size: 14px; line-height: 18px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--color-dark); transition: opacity var(--dur-fast) var(--ease); }
.whero__link:hover { opacity: .7; }
.navigator { display: flex; flex-direction: column; gap: 24px; width: 440px; flex: none; padding: 40px; border-radius: 24px; background: var(--color-dark-2); box-shadow: inset 0 0 0 1px #343027; }
.navigator__eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; text-transform: uppercase; color: var(--color-gold); }
.navigator__steps { display: flex; flex-direction: column; gap: 12px; }
.nstep { display: flex; align-items: center; gap: 16px; min-height: 74px; padding: 16px; border-radius: 12px; background: var(--color-dark); box-shadow: inset 0 0 0 1px #343027; color: var(--color-white); }
.nstep--on { background: var(--color-brand); box-shadow: none; color: var(--color-dark); }
.nstep__num { font-family: var(--font-display); font-size: 28px; line-height: 42px; color: var(--color-gold); }
.nstep--on .nstep__num { color: var(--color-dark); }
.nstep__body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nstep__title { font-size: 14px; line-height: 18px; font-weight: 700; }
.nstep__sub { font-size: 12px; line-height: 16px; color: #a5a090; }
.nstep--on .nstep__sub { color: var(--color-dark); }

/* ── process ──────────────────────────────────────────────────────────── */
.process { display: flex; flex-direction: column; gap: 56px; padding: 96px 64px; background: var(--color-bg); color: var(--color-dark); }
.process__head { display: flex; flex-direction: column; gap: 16px; }
.process__eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; text-transform: uppercase; color: #000; }
.process__title { font-family: var(--font-display); font-size: 48px; line-height: 72px; text-transform: uppercase; }
.timeline { border-top: 2px solid var(--color-dark); }
.timeline__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 32px 0 0; }   /* the frame is 247 tall: the bottom padding is clipped */
.tcard { border-radius: 16px; }
.tcard__link {
  display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 24px; border-radius: 16px;
  background: var(--color-cream); box-shadow: inset 0 0 0 1px #e2dec9; text-decoration: none; color: inherit;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.tcard__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card), inset 0 0 0 1px #e2dec9; }
.tcard__link:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
.tcard__num { font-family: var(--font-display); font-size: 36px; line-height: 54px; color: var(--color-ink); }
.tcard__arrow { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.tcard__link:hover .tcard__arrow { transform: translateX(4px); }
.tcard__title { font-size: 16px; line-height: 21px; font-weight: 800; text-transform: uppercase; }
.tcard__text { font-size: 13px; line-height: 20px; color: var(--color-ink); }

/* ── mobile (390 frame, M1) ───────────────────────────────────────────── */
@media (max-width: 1199px) {
  .whero { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .whero__bento { gap: 24px; padding: 32px 16px; border-radius: 0; }
  .whero__head { gap: 24px; }
  .whero__eyebrow { font-size: 11px; line-height: 14px; letter-spacing: .1em; color: var(--color-dark-2); }
  .whero__title { gap: 8px; }
  .whero__l1 { font-size: 44px; line-height: 42px; }
  .whero__l2 { font-size: 36px; line-height: 36px; padding: 6px 12px; border-radius: 6px; }
  .whero__text { font-size: 14px; line-height: 21px; }
  .whero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .whero__btn { min-height: 48px; border-radius: 6px; border-color: transparent; font-weight: 800; }
  .whero__link { min-height: 42px; text-align: center; font-weight: 800; }
  .navigator { width: auto; gap: 16px; padding: 28px 16px; border-radius: 0; box-shadow: none; }
  .navigator__eyebrow { font-size: 11px; line-height: 14px; letter-spacing: .1em; color: var(--color-brand); }
  .navigator__steps { gap: 8px; }
  .nstep { min-height: 64px; padding: 14px; border-radius: 10px; }
  .nstep__num { font-size: 24px; line-height: 36px; }
  .nstep__sub { color: var(--color-muted); }

  .process { gap: 32px; padding: 40px 16px; }
  .process__head { gap: 8px; }
  .process__eyebrow { font-size: 11px; line-height: 14px; letter-spacing: .1em; color: var(--color-dark-2); }
  .process__title { font-size: 36px; line-height: 36px; color: var(--color-ink); }
  .timeline { border-top-color: var(--color-dark-2); }
  .timeline__steps { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .timeline { padding-top: 32px; }
  .tcard__link { gap: 12px; padding: 20px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--color-gold); }
  .tcard__top { min-height: 42px; }
  .tcard__num { font-size: 28px; line-height: 42px; }
  .tcard__title { font-size: 14px; line-height: 18px; }
  .tcard__text { font-size: 13px; line-height: 18px; }
}
@media (min-width: 600px) and (max-width: 1199px) {
  .timeline__steps { grid-template-columns: 1fr 1fr; }
}
