:root {
  color-scheme: dark;
  --walk-bg: #050609;
  --walk-ink: #f8f4ea;
  --walk-muted: rgba(248, 244, 234, .7);
  --walk-line: rgba(248, 244, 234, .16);
  --walk-panel: rgba(10, 14, 18, .86);
  --walk-cyan: #67e8f9;
  --walk-pink: #ff7ab8;
  --walk-gold: #ffd166;
  --walk-green: #a7f3a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.walkthrough-body {
  min-height: 100vh;
  margin: 0;
  color: var(--walk-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, #050609, #0f1517 46%, #09070c);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.walkthrough-topline {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(16px);
}

.walkthrough-brand {
  display: inline-grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  color: var(--walk-ink);
  text-decoration: none;
}

.walkthrough-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.walkthrough-brand strong,
.walkthrough-brand small {
  display: block;
}

.walkthrough-brand small,
.walkthrough-nav a,
.lede,
.path-card p,
.room-grid span,
.guide-panel p,
.guide-panel li {
  color: var(--walk-muted);
}

.walkthrough-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.walkthrough-nav a,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--walk-line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--walk-ink);
  background: rgba(255, 255, 255, .07);
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #041114;
  background: var(--walk-cyan);
  border-color: transparent;
}

.button.secondary:hover,
.walkthrough-nav a:hover,
.path-card:hover {
  border-color: rgba(103, 232, 249, .46);
  background: rgba(103, 232, 249, .1);
}

.walkthrough-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 80px;
}

.walkthrough-hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: center;
}

.walkthrough-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.micro {
  margin: 0;
  color: var(--walk-cyan);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.walkthrough-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: 3.35rem;
  line-height: 1.02;
}

.lede {
  max-width: 660px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.walkthrough-actions,
.guide-panel-actions,
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.walkthrough-live {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .64fr);
  gap: 16px;
  align-items: stretch;
  min-height: 610px;
}

.screen-stage,
.guide-panel,
.path-card,
.room-grid a {
  border: 1px solid var(--walk-line);
  border-radius: 8px;
  background: var(--walk-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  backdrop-filter: blur(16px);
}

.screen-stage {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  perspective: 1200px;
}

.screen-stage:before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(103, 232, 249, .14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, .08) 1px, transparent 1px),
    linear-gradient(rgba(255, 209, 102, .06) 1px, transparent 1px);
  background-size: 38px 38px;
}

.screen-card {
  position: absolute;
  top: 72px;
  left: 50%;
  width: min(480px, calc(100% - 72px));
  min-height: 340px;
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid rgba(248, 244, 234, .18);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)),
    #10161a;
  transform-origin: 50% 70%;
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1), opacity 520ms cubic-bezier(.16, 1, .3, 1), filter 520ms cubic-bezier(.16, 1, .3, 1);
}

.screen-card.is-active {
  border-color: rgba(103, 232, 249, .62);
  filter: saturate(1.08);
}

.screen-card span {
  color: var(--walk-gold);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.screen-card strong {
  font-size: 2rem;
  line-height: 1.05;
}

.screen-meter,
.screen-row i,
.screen-grid i,
.screen-form i,
.screen-tracks i,
.screen-timeline i,
.screen-bars i {
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
}

.screen-meter {
  height: 88px;
  background: linear-gradient(90deg, var(--walk-cyan), var(--walk-pink), var(--walk-gold));
}

.screen-row,
.screen-grid,
.screen-form,
.screen-tracks,
.screen-timeline,
.screen-bars {
  display: grid;
  gap: 10px;
}

.screen-row {
  grid-template-columns: repeat(3, 1fr);
}

.screen-row i,
.screen-grid i {
  min-height: 74px;
}

.screen-grid {
  grid-template-columns: repeat(2, 1fr);
}

.screen-form i {
  height: 44px;
}

.screen-tracks i {
  height: 34px;
}

.screen-tracks i:nth-child(1) {
  width: 82%;
  background: var(--walk-cyan);
}

.screen-tracks i:nth-child(2) {
  width: 68%;
  background: var(--walk-pink);
}

.screen-tracks i:nth-child(3) {
  width: 90%;
  background: var(--walk-gold);
}

.screen-tracks i:nth-child(4) {
  width: 58%;
  background: var(--walk-green);
}

.screen-drop,
.screen-price {
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(103, 232, 249, .58);
  border-radius: 8px;
  color: var(--walk-cyan);
  font-weight: 950;
}

.screen-price {
  color: #041114;
  background: var(--walk-gold);
  border: 0;
  font-size: 3rem;
}

.screen-timeline {
  grid-template-columns: 1fr 1fr 1fr;
}

.screen-timeline i {
  min-height: 180px;
}

.screen-bars {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  min-height: 210px;
}

.screen-bars i:nth-child(1) { height: 42%; background: var(--walk-cyan); }
.screen-bars i:nth-child(2) { height: 72%; background: var(--walk-pink); }
.screen-bars i:nth-child(3) { height: 58%; background: var(--walk-gold); }
.screen-bars i:nth-child(4) { height: 88%; background: var(--walk-green); }

.guide-pin {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 2px solid var(--walk-cyan);
  border-radius: 999px;
  box-shadow: 0 0 0 12px rgba(103, 232, 249, .12), 0 0 38px rgba(103, 232, 249, .44);
  transform: translate(-50%, -50%);
  transition: left 520ms cubic-bezier(.16, 1, .3, 1), top 520ms cubic-bezier(.16, 1, .3, 1);
}

.guide-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
}

.guide-panel h2,
.section-head h2,
.path-card h2 {
  margin: 0;
  line-height: 1.1;
}

.guide-panel p {
  margin: 0;
  line-height: 1.58;
}

.guide-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.guide-panel-actions {
  margin-top: auto;
  justify-content: space-between;
}

.guide-panel-actions span {
  color: var(--walk-gold);
  font-weight: 900;
}

.walkthrough-map,
.room-grid {
  display: grid;
  gap: 14px;
}

.walkthrough-map {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 32px;
}

.path-card,
.room-grid a {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--walk-ink);
  text-decoration: none;
}

.path-card {
  cursor: pointer;
}

.path-card.is-active {
  border-color: rgba(103, 232, 249, .72);
  background: rgba(103, 232, 249, .12);
}

.path-card span {
  color: var(--walk-gold);
  font-weight: 900;
}

.path-card p,
.room-grid span {
  margin: 0;
  line-height: 1.5;
}

.walkthrough-library {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.section-head {
  justify-content: space-between;
}

.room-grid {
  grid-template-columns: repeat(4, 1fr);
}

.room-grid a strong {
  font-size: 1.08rem;
}

@media (max-width: 1180px) {
  .walkthrough-hero,
  .walkthrough-live {
    grid-template-columns: 1fr;
  }

  .walkthrough-map,
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .walkthrough-live {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .walkthrough-topline {
    grid-template-columns: 1fr;
  }

  .walkthrough-nav {
    justify-content: flex-start;
  }

  .walkthrough-copy h1 {
    font-size: 2.35rem;
  }

  .walkthrough-map,
  .room-grid {
    grid-template-columns: 1fr;
  }

  .screen-stage {
    min-height: 500px;
  }

  .screen-card {
    top: 58px;
    width: calc(100% - 42px);
    min-height: 300px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .screen-card,
  .guide-pin {
    transition: none;
  }
}
