/* How it works — geometry from millennialbet-how-it-works (1440) / -mobile (390) */

/* ============ hero ============ */
.hiw-hero { background: var(--ink); }
.hiw-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 579px;
  padding-block: 80px;
}
.hiw-hero__left { display: flex; flex-direction: column; gap: 24px; width: 740px; flex: none; }
.hiw-hero__eyebrow { display: flex; align-items: center; gap: 8px; }
.hiw-hero__slash { font-size: 14px; font-weight: 500; line-height: 18.2px; color: var(--slate); }
.hiw-hero__steps { font-size: 14px; font-weight: 600; line-height: 18.2px; color: var(--slate); }
.hiw-hero__title {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 68px;
  letter-spacing: -.02em;
  color: var(--white);
}
.hiw-hero__lede { font-size: 18px; line-height: 27px; color: var(--slate); }
.hiw-hero__badges { display: flex; align-items: center; gap: 12px; }
.hiw-hero__badge-text { font-size: 14px; font-weight: 700; line-height: 18.2px; letter-spacing: 1px; color: var(--white); }

.journey {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 480px;
  flex: none;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--r-24);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.journey__title { margin-bottom: 16px; }
.journey__title-x {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 13.06px;
  letter-spacing: 1.5px;
  color: var(--red-text);
}
.journey__step { display: flex; align-items: center; gap: 16px; min-height: 63px; padding-block: 12px; }
.journey__link { width: 100%; height: 24px; position: relative; }
.journey__link::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--line-dark);
  transform: rotate(90deg);
}
.journey__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--white);
}
.journey__num--on { background: var(--red); }
.journey__text { display: flex; flex-direction: column; gap: 2px; }
.journey__step-title { font-size: 15px; font-weight: 700; line-height: 20px; color: var(--white); }
.journey__text { gap: 2px; }
.journey__step-sub { font-size: 13px; line-height: 17px; color: var(--slate); }

/* ============ steps ============ */
.step { position: relative; overflow: hidden; }
.step__inner { display: flex; align-items: flex-start; gap: 64px; padding-block: 96px; }
.step__inner--tight { gap: 48px; }
.step__side { display: flex; flex-direction: column; gap: 24px; width: 440px; flex: none; }
.step--03 .step__side { width: 500px; gap: 32px; }
.step--04 .step__side { width: 373px; }
.step__num { font-family: var(--font-display); font-size: 110px; line-height: 99px; color: var(--red); }
.step__num--ink { color: var(--ink); opacity: .35; }
.step__head { display: flex; flex-direction: column; gap: 8px; }
.step__kicker {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 15.23px;
  letter-spacing: 1.5px;
  color: var(--grey);
}
.step__kicker--ink { color: var(--white); }
.step__kicker--slate { color: var(--slate); }
.step__title { font-family: var(--font-display); font-size: 36px; line-height: 39.17px; color: var(--ink-soft); }
.step__title--ink { color: var(--ink); }
.step__title--light { color: var(--white); }
.step__body { font-size: 15px; line-height: 24px; color: var(--grey); }
.step__body--ink { color: var(--white); }
.step__body--slate { color: var(--slate); }
.step__principle {
  padding: 16px;
  background: rgba(9, 10, 15, .55);
  border-left: 3px solid var(--ink);
  border-radius: var(--r-8);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
  color: var(--white);
}
.step__path {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.step__path-title {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 12px;
  letter-spacing: 1px;
  color: var(--red-text);
}
.step__path-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--grey); }
.step__path-current { color: var(--ink-soft); }
.step__checklist { display: flex; flex-direction: column; gap: 10px; }
.step__checklist div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  box-shadow: inset 0 -1px 0 var(--line-dark);
}
.step__checklist dt { font-family: var(--font-display); font-size: 11px; letter-spacing: 1px; color: var(--slate); }
.step__checklist dd { font-size: 14px; font-weight: 600; color: var(--white); }
.step__watermark {
  position: absolute;
  right: 0;
  top: 20px;
  font-family: var(--font-display);
  font-size: 220px;
  line-height: 239px;
  color: #000;
  opacity: .15;
  pointer-events: none;
  user-select: none;
}
.step__inner--reverse { flex-direction: row; }

/* ============ walk panels ============ */
.walk {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
  padding: 32px;
  border-radius: var(--r-24);
}
.walk--light { background: var(--white); box-shadow: inset 0 0 0 1px var(--line-light); color: var(--ink-soft); }
.walk--dark { background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--white); }
.walk--slip { gap: 16px; background: var(--bone); color: var(--ink-soft); }
.walk--ticket { flex: none; width: 439px; gap: 20px; padding: 32px; background: var(--white); border-radius: var(--r-20); box-shadow: inset 0 0 0 1px var(--line-light); }
.walk--submit { flex: none; width: 440px; gap: 16px; padding: 32px; background: var(--ink); color: var(--white); border-radius: var(--r-20); }
.walk__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.walk__kicker { font-family: var(--font-display); font-size: 13px; line-height: 14.14px; letter-spacing: 1px; color: var(--grey); }
.walk--dark .walk__kicker--red, .walk__kicker--red { color: var(--red-text); }

.walk__meta { font-size: 14px; line-height: 18.2px; color: var(--slate); }
.walk--light .walk__meta,
.walk--slip .walk__meta { color: var(--grey); }
.walk__event { display: flex; flex-direction: column; gap: 4px; }
.walk__when { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--red-text); }
.walk__match { font-family: var(--font-display); font-size: 24px; line-height: 26.11px; }
.walk__match--lg { font-size: 32px; line-height: 35px; color: var(--white); }
.walk__match--ink { color: var(--ink-soft); }
.walk__market { font-size: 14px; font-weight: 600; line-height: 18px; color: var(--grey); }
.walk__cue { font-size: 13px; font-weight: 700; line-height: 17px; color: var(--red-text); }
.walk__more { padding-block: 12px; }
.walk__label {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 12px;
  letter-spacing: 1px;
  color: var(--grey);
}
.walk__odds, .walk__picks { display: flex; gap: 16px; }
.walk-odd, .walk-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-height: 60px;
  padding: 20px;
  border-radius: var(--r-8);
  background: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--t), box-shadow var(--t), color var(--t);
}
.walk-odd:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.walk-odd.is-picked { background: var(--red); color: var(--white); box-shadow: none; }
.walk-odd__price { font-family: var(--font-display); font-size: 16px; }
.walk-pick { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--white); }
.walk-pick--on { background: var(--red); box-shadow: none; }
.walk__confirm {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--green-bright);
}
.walk__confirm-note { margin-left: auto; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.walk__hint { font-size: 11px; line-height: 15px; color: #5b6472; }
.walk__hint--center { text-align: center; }
.walk__facts { display: flex; flex-direction: column; gap: 8px; }
.walk__facts div { display: flex; gap: 8px; font-size: 12px; line-height: 16px; }
.walk__facts dt { font-weight: 800; color: var(--grey); }
.walk__facts dd { color: var(--ink-soft); }
.walk__slip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.walk__slip-name { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.walk__slip-remove { font-size: 12px; font-weight: 500; color: var(--grey); }
.walk__slip-odds { font-family: var(--font-display); font-size: 20px; color: var(--red-text); }
.walk__stake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: 18px;
  font-weight: 700;
}
.walk__quick { display: flex; gap: 8px; }
.walk__quick span {
  flex: 1;
  padding: 8px;
  text-align: center;
  background: var(--white);
  border-radius: var(--r-6);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: 12px;
  font-weight: 700;
}
.walk__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.walk__row--big { font-size: 16px; }
.walk__row--big span:last-child { font-family: var(--font-display); font-size: 20px; color: var(--red-text); }
.walk--slip .rule { background: var(--line-light); }
.ticket-checks { display: flex; flex-direction: column; gap: 12px; }
.ticket-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.ticket-checks__tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(16, 185, 129, .12);
  color: var(--green);
  font-size: 12px;
}
.walk__submit-title { font-family: var(--font-display); font-size: 22px; line-height: 24px; color: var(--white); }

/* ============ summary ============ */
.hiw-summary {
  background: var(--ink);
  box-shadow: inset 0 1px 0 var(--line-dark), inset 0 -1px 0 var(--line-dark);
}
.hiw-summary__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 116px;
  padding-block: 40px;
}
.hiw-summary__step { display: flex; align-items: center; gap: 16px; }
.hiw-summary__num { font-family: var(--font-display); font-size: 20px; line-height: 22px; color: var(--red-text); }
.hiw-summary__text { display: flex; flex-direction: column; gap: 2px; }
.hiw-summary__title { font-size: 14px; font-weight: 700; line-height: 18.2px; color: var(--white); }
.hiw-summary__sub { font-size: 12px; line-height: 16px; color: var(--slate); }
.hiw-summary__arrow { color: var(--line-dark); font-size: 18px; }

/* ============ mobile ============ */
@media (max-width: 1199px) {
  .hiw-hero__inner { flex-direction: column; align-items: stretch; gap: 24px; min-height: 0; padding-block: 32px; }
  .hiw-hero__left { width: auto; gap: 16px; }
  .hiw-hero__title { font-size: 40px; line-height: 42px; }
  .hiw-hero__lede { font-size: 15px; line-height: 24px; }
  .journey { width: auto; padding: 24px; }
  .journey__link { width: 100%; }

  .step__inner,
  .step__inner--reverse { flex-direction: column; gap: 24px; padding-block: 32px; }
  .step__inner--reverse { flex-direction: column-reverse; }
  .step__side,
  .step--03 .step__side,
  .step--04 .step__side { width: auto; gap: 16px; }
  .step__num { font-size: 64px; line-height: 60px; }
  .step__title { font-size: 28px; line-height: 30.5px; }
  .step__watermark { font-size: 120px; line-height: 130px; top: 8px; }
  .walk, .walk--ticket, .walk--submit { width: auto; padding: 20px; gap: 16px; }
  .walk__odds, .walk__picks { flex-direction: column; gap: 12px; }
  .walk__match--lg { font-size: 24px; line-height: 26px; }

  .hiw-summary__inner { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding-block: 24px; }
  .hiw-summary__arrow { display: none; }
}

.walk--submit .walk__hint { color: var(--slate); }
