/* Tool walkthrough pages (win-the-listing.html and the other nine). Site tokens only:
   gold = brand, ice = speech, hi = done. */
.walk { max-width: 56rem; }

.walk__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.walk__kicker span { color: var(--hi); }

/* progress rail: four real steps in a real order, so numbering means something */
.rail {
  display: flex; gap: 0.5rem; list-style: none;
  margin: 0 0 2.5rem; padding: 0;
}
.rail li { flex: 1; }
.rail button {
  width: 100%; display: flex; flex-direction: column; gap: 0.45rem;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: #6f685e;
}
.rail .bar { height: 3px; background: rgba(201, 173, 106, 0.2); }
.rail button[aria-current="step"] { color: var(--gold); }
.rail button[aria-current="step"] .bar { background: var(--hi); }
.rail button.done .bar { background: var(--gold); opacity: 0.5; }

.stage {
  display: grid; grid-template-columns: 16rem 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start;
}
.stage[hidden] { display: none; }

/* the phone */
.phone {
  background: #050608; border-radius: 26px; padding: 0.6rem;
  border: 1px solid rgba(201, 173, 106, 0.28);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.9);
}
.screen {
  background: #12151b; border-radius: 20px; min-height: 27rem;
  padding: 1rem 0.9rem 1.1rem; color: var(--ice);
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 0.875rem; line-height: 1.4;
}
.statusbar {
  display: flex; justify-content: space-between;
  font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.08em;
  color: #7d8794;
}
.scr__title {
  margin: 0; font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; line-height: 1.1; color: var(--ice);
}
.scr__sub { margin: -0.4rem 0 0; font-size: 0.75rem; color: #7d8794; }
.panel {
  background: #1b2028; border-radius: 10px; padding: 0.65rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.panel__label {
  font-family: var(--display); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.panel__row { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--ice); }
.panel__row small { color: #7d8794; font-size: 0.75rem; }
.tick { color: var(--hi); font-weight: 600; }
.figure {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  line-height: 1.1; color: var(--gold);
}
.scr__btn {
  margin-top: auto; padding: 0.65rem; border-radius: 8px; text-align: center;
  background: var(--gold); color: #0b0d11; font-weight: 600; font-size: 0.875rem;
}
.scr__btn--hi { background: var(--hi); }
.scr__note { margin: 0; font-size: 0.75rem; color: #7d8794; text-align: center; }

/* the two-in-one: agents' desk work happens on the issued tablet + keyboard. Generic on purpose,
   no maker's design or logo. The phone stays for field and client-side scenes. */
.stage--tablet { grid-template-columns: minmax(0, 27rem) 1fr; }
.tablet { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.75)); }
.tablet__body {
  background: #050608; border-radius: 14px; padding: 0.55rem;
  border: 1px solid rgba(201, 173, 106, 0.28);
}
/* fixed 16:10 like the real screen; panels pair up side by side and everything runs a size
   smaller than on the phone so each step fits without the screen growing taller */
.tablet .screen {
  border-radius: 8px; min-height: 0; aspect-ratio: 16 / 10; overflow: hidden;
  padding: 0.6rem 0.9rem; font-size: 0.8125rem; line-height: 1.3;
  display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 0.35rem 0.6rem;
}
.tablet .scr__title { font-size: 1.1rem; }
.tablet .panel { padding: 0.45rem 0.6rem; }
.tablet .shot { height: 3.25rem; }
.tablet .scr__btn { padding: 0.45rem; font-size: 0.8125rem; }
.tablet .screen > :not(.panel),
.tablet .screen:not(:has(.panel ~ .panel)) .panel { grid-column: 1 / -1; }
.tablet .scr__btn { margin-top: 0.25rem; }
.tablet__kb {
  height: 4.25rem; margin: 0.3rem 0.4rem 0;
  border-radius: 3px 3px 10px 10px; border: 1px solid rgba(201, 173, 106, 0.18);
  transform: perspective(36rem) rotateX(52deg); transform-origin: top;
  background-color: #0d0f13;
  background-image:
    linear-gradient(#171b22, #171b22),
    repeating-linear-gradient(180deg, transparent 0 9px, #0d0f13 9px 12px),
    repeating-linear-gradient(90deg, #1b2028 0 18px, #0d0f13 18px 21px);
  background-size: 34% 28%, 92% 62%, 92% 62%;
  background-position: 50% 92%, 50% 18%, 50% 18%;
  background-repeat: no-repeat;
}

/* a photo stand-in: flat panel and a horizon line, deliberately no building drawn */
.shot {
  height: 6.5rem; border-radius: 8px;
  background: linear-gradient(180deg, #2a3240 0%, #2a3240 58%, #3a3a36 58%, #2c2b28 100%);
  position: relative; overflow: hidden;
}
.shot__tag {
  position: absolute; left: 0.5rem; top: 0.5rem;
  padding: 0.15rem 0.45rem; background: var(--gold); color: #0b0d11;
  font-family: var(--display); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* drawn screen content, e.g. the floor plan on map-the-space.html */
.plan { display: block; width: 100%; height: auto; color: var(--gold); }
.plan text { fill: var(--ice); font-family: var(--display); font-size: 11px; letter-spacing: 0.04em; }

/* the words beside the phone */
.say h2 {
  margin: 0 0 1rem; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); line-height: 1.05;
  color: var(--ice);
}
.say p { margin: 0 0 1rem; max-width: var(--measure); }
.say .tool__io { margin-top: 1.5rem; }

.walk__nav {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 173, 106, 0.24);
}
.walk__nav button { font-family: var(--text); cursor: pointer; }
.walk__nav button:disabled { opacity: 0.35; cursor: default; }
.walk__count {
  margin-left: auto; font-family: var(--display); font-weight: 600;
  letter-spacing: 0.08em; color: #6f685e;
}
.walk__fine { margin: 1.5rem 0 0; font-size: 0.875rem; color: #6f685e; max-width: var(--measure); }

@media (max-width: 40rem) {
  .stage { grid-template-columns: 1fr; }
  .phone { max-width: 17rem; margin: 0 auto; width: 100%; }
  .tablet { max-width: 27rem; margin: 0 auto; width: 100%; }
  .rail button { font-size: 0.6875rem; }
}
