.gs-steps-guide {
  padding: 72px 0 64px;
  background: rgba(var(--bg-c), 1);
}

.gs-steps-guide__header {
  max-width: 980px;
  margin: 0 auto 72px;
  text-align: center;
}

.gs-steps-guide__eyebrow {
  margin-bottom: 20px;
  color: rgba(var(--cl-f), 1);
  font: 700 14px/16px var(--font-family);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gs-steps-guide__heading {
  margin: 0;
  color: rgba(var(--cl-d), 1);
  font: 800 clamp(34px, 4.5vw, 52px)/1.14 var(--font-family2);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.gs-steps-guide__description {
  margin-top: 22px;
  color: rgba(var(--cl-d), 1);
  font: 400 20px/1.5 var(--font-family);
}

.gs-steps-guide__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

.gs-steps-guide__step {
  position: relative;
  min-width: 0;
}

.gs-steps-guide__card {
  height: 100%;
  min-height: 250px;
  padding: 48px 34px 30px;
  border: 1px solid var(--br-a);
  border-radius: 28px;
  background: rgba(var(--bg-a), 1);
}

.gs-steps-guide__number {
  position: absolute;
  z-index: 1;
  top: -18px;
  left: -10px;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(var(--bg-c), 1);
  border-radius: 50%;
  background: rgba(var(--bg-f), 1);
  color: rgba(var(--cl-a), 1);
  font: 600 22px/1 var(--font-family);
}

.gs-steps-guide__icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  color: rgba(var(--cl-f), 1);
}

.gs-steps-guide__icon svg,
.gs-steps-guide__icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gs-steps-guide__icon svg {
  overflow: visible;
}

.gs-steps-guide__step-title {
  margin: 0;
  color: rgba(var(--cl-d), 1);
  font: 600 24px/1.25 var(--font-family);
}

.gs-steps-guide__step-description {
  margin-top: 14px;
  color: rgba(var(--cl-d), .86);
  font: 400 18px/1.55 var(--font-family);
}

.gs-steps-guide__button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

.gs-steps-guide .gs-steps-guide__button {
  position: relative;
  background: rgba(var(--bg-a), 1);
  color: rgba(var(--cl-f), 1);
  border-color: var(--br-b);
}

.gs-steps-guide .gs-steps-guide__button:hover,
.gs-steps-guide .gs-steps-guide__button:focus-visible {
  background: rgba(var(--bg-f), 1);
  color: rgba(var(--cl-a), 1);
  border-color: var(--br-b);
}

.gs-steps-guide .gs-steps-guide__button::after {
  content: '\2192';
  display: inline-block;
  flex: none;
  width: .75em;
  text-align: center;
  opacity: 0;
  margin-left: 6px;
  margin-right: calc(-.75em - 6px);
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease, margin-right .18s ease;
}

.gs-steps-guide .gs-steps-guide__button::before {
  content: '';
  display: inline-block;
  flex: none;
  margin-left: 0;
  transition: margin-left .18s ease;
}

.gs-steps-guide .gs-steps-guide__button:hover::after,
.gs-steps-guide .gs-steps-guide__button:focus-visible::after {
  opacity: 1;
  margin-right: calc(-.375em - 3px);
  transform: translateX(0);
}

.gs-steps-guide .gs-steps-guide__button:hover::before,
.gs-steps-guide .gs-steps-guide__button:focus-visible::before {
  margin-left: calc(-.375em - 3px);
}

@media (1200px <= width < 1366px) {
  .gs-steps-guide__steps:has(> :nth-child(5):last-child) {
    column-gap: 20px;
  }
}

@media (max-width: 900px) {
  .gs-steps-guide__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gs-steps-guide {
    padding: 52px 0 48px;
  }

  .gs-steps-guide__header {
    margin-bottom: 52px;
  }

  .gs-steps-guide__description {
    font-size: 18px;
  }

  .gs-steps-guide__steps {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 8px;
  }

  .gs-steps-guide__card {
    min-height: 0;
    padding: 44px 26px 28px;
  }

  .gs-steps-guide__step-title {
    font-size: 21px;
  }

  .gs-steps-guide__step-description {
    font-size: 16px;
  }

  .gs-steps-guide__button-wrap {
    margin-top: 48px;
  }
}

/* Layout "phases" (install timeline): one card, two groups of steps, a dark bar under it. */
.gs-steps-guide--phases .gs-steps-guide__header {
  margin-bottom: 48px;
}

.gs-steps-guide__phases {
  display: flex;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  padding: 30px 32px 36px;
  border: 1px solid var(--br-a);
  border-radius: 28px;
  background: rgba(var(--bg-a), 1);
}

.gs-steps-guide__phase {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
}

.gs-steps-guide__phase--w2 { flex-grow: 2; }
.gs-steps-guide__phase--w3 { flex-grow: 3; }
.gs-steps-guide__phase--w4 { flex-grow: 4; }
.gs-steps-guide__phase--w5 { flex-grow: 5; }
.gs-steps-guide__phase--w6 { flex-grow: 6; }

.gs-steps-guide__phase-label {
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
  color: rgba(var(--cl-f), 1);
  font: 700 12px/16px var(--font-family);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gs-steps-guide__phase--before .gs-steps-guide__phase-label {
  color: #0F766E;
}

.gs-steps-guide__phase-steps {
  display: flex;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gs-steps-guide__phase-step {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  padding-right: 12px;
}

.gs-steps-guide__phase-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 21px;
  right: -8px;
  left: 52px;
  height: 2px;
  background: #E2E8F0;
}

.gs-steps-guide__phase-number {
  position: relative;
  z-index: 1;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--bg-f), 1);
  color: rgba(var(--cl-a), 1);
  font: 700 18px/1 var(--font-family);
}

.gs-steps-guide__phase--before .gs-steps-guide__phase-number {
  background: #0F766E;
}

.gs-steps-guide__phase-title {
  margin: 14px 0 0;
  color: #1E293B;
  font: 700 20px/1.3 var(--font-family2);
  letter-spacing: -.015em;
}

.gs-steps-guide__phase-text {
  margin-top: 8px;
  color: rgba(var(--cl-d), .9);
  font: 400 16px/1.45 var(--font-family);
}

.gs-steps-guide__bar {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 40px;
  padding: 20px 28px;
  border-radius: 20px;
  background: #1E293B;
}

.gs-steps-guide__bar-text {
  min-width: 0;
  flex: 1 1 320px;
}

.gs-steps-guide__bar-title {
  margin: 0;
  color: rgba(var(--cl-a), 1);
  font: 700 20px/1.3 var(--font-family2);
  letter-spacing: -.015em;
}

.gs-steps-guide__bar-sub {
  margin: 4px 0 0;
  color: #CBD5E1;
  font: 400 15px/1.45 var(--font-family);
}

.gs-steps-guide .gs-steps-guide__bar-button {
  width: auto;
  flex: none;
  margin: 0 0 0 auto;
  padding: 12px 24px;
  border-color: rgba(var(--bg-a), 1);
  background: rgba(var(--bg-a), 1);
  color: #1E293B;
  font: 600 16px/1.25 var(--font-family);
  text-align: center;
}

.gs-steps-guide .gs-steps-guide__bar-button:hover,
.gs-steps-guide .gs-steps-guide__bar-button:focus-visible {
  border-color: rgba(var(--bg-h), 1);
  background: rgba(var(--bg-h), 1);
  color: #1E293B;
}

@media (max-width: 900px) {
  .gs-steps-guide--phases .gs-steps-guide__phases {
    flex-direction: column;
    gap: 28px;
    padding: 24px 22px 28px;
  }

  .gs-steps-guide--phases .gs-steps-guide__phase {
    flex: 1 1 auto;
  }

  .gs-steps-guide__phase-steps {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .gs-steps-guide__phase-step {
    min-height: 36px;
    flex: none;
    padding: 0 0 0 52px;
  }

  .gs-steps-guide__phase-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .gs-steps-guide__phase-title {
    margin-top: 6px;
    font-size: 18px;
  }

  .gs-steps-guide__phase-step:not(:last-child)::after {
    top: 40px;
    right: auto;
    bottom: -16px;
    left: 17px;
    width: 2px;
    height: auto;
  }

  .gs-steps-guide__bar {
    margin-top: 24px;
    padding: 20px 22px;
  }

  .gs-steps-guide--phases .gs-steps-guide__header {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .gs-steps-guide__bar-text {
    flex-basis: 100%;
  }

  .gs-steps-guide .gs-steps-guide__bar-button {
    width: 100%;
    margin-left: 0;
  }
}

/* 2026-12-02 (as on the review site): warning bar, guide link, and the order timeline layout */
.gs-steps-guide__warning {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 14px 18px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  font: 500 16px/1.45 var(--font-family);
}

.gs-steps-guide__warning-icon { flex: 0 0 auto; color: #ea580c; }

.gs-steps-guide__button-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }

.gs-steps-guide__guide-link {
  color: rgba(var(--cl-f), 1);
  font: 600 16px/1.3 var(--font-family);
  text-decoration: none;
}

.gs-steps-guide__guide-link:hover { text-decoration: underline; }

.gs-steps-guide--timeline .gs-steps-guide__steps {
  display: grid;
  grid-template-columns: repeat(var(--gs-steps-n, 4), minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  list-style: none;
}

.gs-steps-guide--timeline .gs-steps-guide__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gs-steps-guide--timeline .gs-steps-guide__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  left: calc(50% + 54px);
  right: calc(-50% + 42px);
  border-top: 2px dashed rgba(var(--cl-f), .35);
}

.gs-steps-guide--timeline .gs-steps-guide__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.gs-steps-guide--timeline .gs-steps-guide__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(var(--cl-f), .25);
  color: rgba(var(--cl-f), 1);
}

.gs-steps-guide--timeline .gs-steps-guide__icon svg,
.gs-steps-guide--timeline .gs-steps-guide__icon img { width: 34px; height: 34px; }

.gs-steps-guide--timeline .gs-steps-guide__number {
  position: absolute;
  top: -6px;
  left: calc(50% + 22px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 50%;
  background: rgba(var(--cl-f), 1);
  color: #fff;
  font: 700 14px/1 var(--font-family);
}

.gs-steps-guide--timeline .gs-steps-guide__step-title { margin: 4px 0 0; font-size: 22px; line-height: 28px; }
.gs-steps-guide--timeline .gs-steps-guide__step-description { max-width: 280px; font-size: 15px; line-height: 24px; }

@media (max-width: 900px) {
  .gs-steps-guide--timeline .gs-steps-guide__steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gs-steps-guide--timeline .gs-steps-guide__step:not(:last-child)::after { display: none; }
}
