/* Think-PLC guided walkthrough - tp-tour.css
   Shared by every tool page in the Be a Better Designer Series.
   Palette matches the site: navy #0F2138, slate #465972, gold #CA9739. */

.tp-tour {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: #0F2138; color: #fff;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(15, 33, 56, .34);
  font-family: inherit; line-height: 1.45;
  transform: translateY(115%); transition: transform .28s ease;
}
body.tp-tour-on .tp-tour { transform: translateY(0); }
body.tp-tour-on { scroll-behavior: smooth; }
/* keep the last of the page reachable above the bar */
body.tp-tour-on { padding-bottom: 190px; }

.tp-tour-in { max-width: 900px; margin: 0 auto; }

.tp-tour-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.tp-tour-ttl {
  flex: 1 1 auto; font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #CA9739;
}
.tp-tour-num { flex: 0 0 auto; font-size: .7rem; font-weight: 700; color: #8A99AD; }

.tp-tour-cap { font-size: 1rem; color: #fff; min-height: 46px; }

.tp-tour-btns { display: flex; gap: 8px; margin-top: 12px; }
.tp-tour-btn {
  flex: 0 0 auto; min-width: 104px; padding: 10px 20px; border: 2px solid transparent;
  border-radius: 999px; font-family: inherit; font-size: .78rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  background: #CA9739; color: #0F2138; transition: filter .16s, background .16s;
}
.tp-tour-btn:hover { filter: brightness(1.07); }
.tp-tour-btn--ghost { background: transparent; border-color: #465972; color: #C8D2DE; }
.tp-tour-btn--ghost:hover { background: rgba(255, 255, 255, .06); }

.tp-tour-dots { display: flex; gap: 4px; margin-top: 12px; }
.tp-tour-dot { flex: 1 1 0; height: 3px; border-radius: 2px; background: #2B3B52; }
.tp-tour-dot.on { background: #CA9739; }
.tp-tour-dot.done { background: #5B6E88; }

/* the element the current step is talking about */
.tp-tour-spot {
  outline: 3px solid #CA9739 !important;
  outline-offset: 4px;
  border-radius: 10px;
  scroll-margin: 120px;
  animation: tpTourPulse 1.6s ease-in-out infinite;
}
@keyframes tpTourPulse {
  0%, 100% { outline-color: #CA9739; }
  50% { outline-color: rgba(202, 151, 57, .38); }
}

/* the button that launches a tour */
.tp-tour-launch {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .08); border: 2px solid rgba(202, 151, 57, .55);
  color: #fff; border-radius: 999px; padding: 11px 22px 11px 16px;
  font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; font-family: inherit; transition: background .18s, border-color .18s;
}
.tp-tour-launch:hover { background: rgba(202, 151, 57, .2); border-color: #CA9739; }
/* for a launcher sitting on a light section rather than the dark hero */
.tp-tour-launch--light {
  background: #fff; border-color: rgba(202, 151, 57, .7); color: #0F2138;
  box-shadow: 0 2px 10px rgba(15, 33, 56, .07);
}
.tp-tour-launch--light:hover { background: #FFFCF5; border-color: #CA9739; }
/* two classes so this beats the base .tp-tour-launch small further down the file */
.tp-tour-launch.tp-tour-launch--light small { color: #6B7684; }
.tp-tour-launch svg { flex: 0 0 auto; display: block; }
.tp-tour-launch small {
  display: block; font-size: .66rem; font-weight: 600; letter-spacing: .04em;
  text-transform: none; color: #C9D3E0; margin-top: 1px;
}
.tp-tour-launch .lbl { text-align: left; }

@media (max-width: 620px) {
  .tp-tour-cap { font-size: .92rem; }
  .tp-tour-btn { min-width: 0; flex: 1 1 0; padding: 10px 8px; }
  body.tp-tour-on { padding-bottom: 210px; }
}

@media print {
  .tp-tour, .tp-tour-launch { display: none !important; }
  .tp-tour-spot { outline: 0 !important; animation: none !important; }
}
