:root {
  --s4-ink: #17243a;
  --s4-muted: #607089;
  --s4-purple: #6f52ca;
  --s4-purple-dark: #4f389e;
  --s4-orange: #ee8847;
  --s4-line: #dfe5ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--s4-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.stage4IndexBody {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0, rgba(255, 198, 119, .28), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(169, 151, 236, .24), transparent 30rem),
    #f6f7fb;
}

.stage4IndexHeader {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: min(1120px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 22px;
}

.stage4IndexHeader div small,
.stage4IndexHeader div strong { display: block; }
.stage4IndexHeader div small { margin-bottom: 2px; color: var(--s4-muted); font-size: 11px; }
.stage4IndexHeader div strong { font-size: 18px; }

.stage4IndexBack {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ded6f5;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: var(--s4-purple-dark);
  box-shadow: 0 8px 22px rgba(59, 47, 112, .09);
  font-size: 24px;
  text-decoration: none;
}

.stage4IndexCount {
  padding: 9px 14px;
  border: 1px solid #ded6f5;
  border-radius: 99px;
  background: #f1edff;
  color: #6552a7;
  font-size: 12px;
  font-weight: 800;
}

.stage4IndexShell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 22px 56px;
}

.stage4IndexHero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(255,255,255,.96), rgba(249,246,255,.9)),
    #fff;
  box-shadow: 0 22px 60px rgba(40, 52, 84, .11);
}

.stage4IndexKicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #d66f31;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stage4IndexHero h1 {
  margin: 0 0 13px;
  font: 800 clamp(38px, 5.5vw, 64px)/1.03 Georgia, serif;
  letter-spacing: -.04em;
}

.stage4IndexHero h1 em { color: var(--s4-purple); font-style: normal; }
.stage4IndexHero p {
  max-width: 680px;
  margin: 0;
  color: var(--s4-muted);
  font-size: 17px;
  line-height: 1.65;
}

.stage4IndexFlow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage4IndexFlow li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 50px;
  padding: 7px 12px 7px 8px;
  border: 1px solid #e6e0f7;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: #4e5e78;
  font-size: 13px;
  font-weight: 800;
}

.stage4IndexFlow b {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: #eee9fd;
  color: var(--s4-purple);
}

.stage4IndexCards { margin-top: 28px; }
.stage4IndexCards > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
  padding: 0 4px;
}
.stage4IndexCards > header span {
  color: var(--s4-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stage4IndexCards h2 { margin: 4px 0 0; font-size: 25px; }
.stage4IndexCards > header p { margin: 0; color: var(--s4-muted); font-size: 13px; }

.stage4IndexGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stage4IndexCard {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 236px;
  overflow: hidden;
  border: 1px solid var(--s4-line);
  border-radius: 22px;
  background: #fff;
  color: inherit;
  box-shadow: 0 13px 32px rgba(43, 54, 83, .07);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.stage4IndexCard:hover,
.stage4IndexCard:focus-visible {
  transform: translateY(-4px);
  border-color: #aa99e6;
  box-shadow: 0 20px 42px rgba(62, 49, 119, .14);
  outline: none;
}
.stage4IndexCard.is-preparing {
  border-style: dashed;
  background: #f7f7f5;
  box-shadow: none;
  cursor: default;
}
.stage4IndexCard.is-preparing:hover,
.stage4IndexCard.is-preparing:focus-visible {
  transform: none;
  border-color: var(--s4-line);
  box-shadow: none;
}
.stage4IndexCard.is-preparing .stage4CardVisual {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.6), transparent 4rem),
    linear-gradient(150deg, #e8e5df, #cbc7c0);
}
.stage4IndexCard.is-preparing .stage4CardVisual i {
  filter: grayscale(.7);
  opacity: .72;
}
.stage4IndexCard.is-preparing .stage4CardVisual b {
  color: #77736c;
}
.stage4IndexCard.is-preparing .stage4CardTop em {
  background: #eeeae0;
  color: #766b51;
}
.stage4IndexCard.is-preparing .stage4CardBody {
  opacity: .78;
}
.stage4IndexCard.is-preparing .stage4CardAction {
  color: #7d7668;
}
.stage4CardVisual {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.65), transparent 4rem),
    linear-gradient(150deg, #f9d9a7, #ef9f6d);
}
.stage4CardVisual i { font-size: 58px; filter: drop-shadow(0 8px 5px rgba(105, 54, 22, .16)); font-style: normal; }
.stage4CardVisual b {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,.82);
  color: #a65327;
  font-size: 11px;
}
.stage4CardBody { display: flex; flex-direction: column; padding: 20px; }
.stage4CardTop { display: flex; justify-content: space-between; gap: 12px; }
.stage4CardTop strong { display: block; font-size: 19px; line-height: 1.25; }
.stage4CardTop small { display: block; margin-top: 4px; color: var(--s4-purple); font-size: 12px; font-weight: 800; }
.stage4CardTop em {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 99px;
  background: #eee9fd;
  color: var(--s4-purple-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}
.stage4IndexCard.is-complete .stage4CardTop em { background: #eaf6e7; color: #39713a; }
.stage4CardDescription { margin-top: 13px; color: var(--s4-muted); font-size: 13px; line-height: 1.5; }
.stage4CardMeta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.stage4CardMeta i {
  padding: 5px 7px;
  border: 1px solid #e4e8f0;
  border-radius: 7px;
  background: #f8f9fc;
  color: #5c6b81;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.stage4CardAction {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  color: var(--s4-purple-dark);
  font-size: 12px;
  font-weight: 900;
}

.stage4ComingSoon {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px dashed #cbd3df;
  border-radius: 17px;
  color: var(--s4-muted);
  background: rgba(255,255,255,.5);
}
.stage4ComingSoon > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eef0f5;
  color: #7a8496;
  font-size: 21px;
}
.stage4ComingSoon p { margin: 0; font-size: 12px; line-height: 1.5; }
.stage4ComingSoon strong { color: #435169; }

@media (max-width: 780px) {
  .stage4IndexHero { grid-template-columns: 1fr; padding: 28px; }
  .stage4IndexFlow { grid-template-columns: repeat(2, 1fr); }
  .stage4IndexGrid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stage4IndexHeader { padding: 10px 12px; }
  .stage4IndexHeader div small { display: none; }
  .stage4IndexCount { padding: 8px 10px; font-size: 10px; }
  .stage4IndexShell { padding: 8px 11px 40px; }
  .stage4IndexHero { padding: 22px 18px; border-radius: 21px; }
  .stage4IndexHero h1 { font-size: 39px; }
  .stage4IndexHero p { font-size: 14px; }
  .stage4IndexFlow { grid-template-columns: 1fr; gap: 7px; }
  .stage4IndexCards > header { display: block; }
  .stage4IndexCards > header p { margin-top: 5px; }
  .stage4IndexCard { grid-template-columns: 88px minmax(0, 1fr); min-height: 255px; }
  .stage4CardVisual i { font-size: 43px; }
  .stage4CardVisual b { left: 9px; top: 9px; width: 30px; height: 30px; }
  .stage4CardBody { padding: 16px 14px; }
  .stage4CardTop { display: block; }
  .stage4CardTop em { display: inline-flex; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
