* {
  box-sizing: border-box;
}

body.guide-page {
  margin: 0;
  padding: 8px 24px 24px;
  background:
    radial-gradient(circle at top left, rgba(22, 101, 52, 0.05), transparent 34rem),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 28rem, #f7f9fc 100%);
  color: #111827;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.guide-main {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.guide-main {
  margin-bottom: 48px;
}

.guide-hero {
  margin-top: 18px;
  padding-top: 18px;
}

.guide-hero-copy {
  max-width: 780px;
}

.guide-kicker,
.section-kicker,
.tour-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf7f1;
  color: #166534;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 760px;
  margin: 14px 0 14px;
  color: #0a2342;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.guide-hero-copy p,
.section-heading p,
.guide-thesis p,
.tour-panel p,
.benefit-rows p,
.workflow-steps p,
.guide-cta p {
  color: #5f6b7d;
  font-size: 15px;
  line-height: 1.66;
}

.guide-hero-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 15px;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.guide-btn:hover {
  transform: translateY(-1px);
}

.guide-btn-primary {
  color: #ffffff;
  background: #111827;
  border: 1px solid #111827;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.guide-btn-secondary {
  color: #24364f;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

.guide-btn-secondary:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.guide-hero-actions {
  align-items: center;
  gap: 26px;
}

.guide-coach-link.guide-btn-primary,
.guide-coach-link.guide-btn-secondary {
  position: relative;
  gap: 4px;
  min-height: 50px;
  padding: 2px 12px 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-family: "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-1.2deg);
}

.guide-coach-link.guide-btn-secondary {
  color: #355421;
  transform: rotate(1deg);
}

.guide-coach-link:hover {
  transform: rotate(-1.2deg) translateY(-1px);
}

.guide-coach-link.guide-btn-secondary:hover {
  border-color: transparent;
  box-shadow: none;
  transform: rotate(1deg) translateY(-1px);
}

.guide-coach-link span {
  position: relative;
}

.guide-coach-link span::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  height: 8px;
  border-radius: 999px;
  background: rgba(203, 162, 88, 0.28);
  transform: rotate(-1deg);
}

.guide-coach-link-map span::after {
  background: rgba(111, 138, 70, 0.24);
}

.guide-coach-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 30px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
  transform: scaleX(-1) rotate(-3deg);
  transform-origin: center;
}

.guide-coach-link-map .guide-coach-arrow {
  transform: scaleX(-1) rotate(8deg);
}

.guide-coach-link:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.65);
  outline-offset: 6px;
}

.guide-stage {
  position: relative;
  height: clamp(520px, 50vw, 720px);
  margin-top: 22px;
  overflow: hidden;
}

.stage-shot {
  position: absolute;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.stage-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
}

.stage-shot figcaption {
  display: none;
}

.stage-list {
  left: 2%;
  top: 48px;
  z-index: 4;
  width: 73%;
}

.stage-detail {
  right: 2%;
  top: 86px;
  z-index: 3;
  width: 56%;
}

.stage-map {
  right: 1%;
  top: 282px;
  z-index: 2;
  width: 76%;
  opacity: 0.96;
}

.stage-alerts {
  left: 0;
  bottom: 40px;
  z-index: 5;
  width: min(12.5%, 170px);
}

.stage-wallet {
  right: 0.5%;
  bottom: 44px;
  z-index: 5;
  width: min(12%, 164px);
}

.guide-thesis {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  margin-top: 34px;
  padding: 34px 0;
  border-top: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
}

.guide-thesis h2,
.section-heading h2,
.guide-cta h2 {
  margin: 0;
  color: #0a2342;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.guide-thesis h2 {
  max-width: 720px;
  margin-top: 12px;
}

.thesis-lines {
  display: grid;
  align-content: center;
}

.thesis-lines p {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid #e5eaf1;
}

.thesis-lines p:first-child {
  border-top: 0;
}

.thesis-lines strong {
  color: #111827;
}

.guide-tour,
.guide-map-story,
.guide-benefits,
.guide-decisions {
  margin-top: 38px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 920px;
  margin-top: 10px;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
}

.tour-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 310px;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.tour-nav {
  display: grid;
  align-content: start;
  padding: 14px;
  border-right: 1px solid #e5eaf1;
  background: #fbfcfe;
}

.tour-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  min-height: 70px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  text-align: left;
  cursor: pointer;
}

.tour-tab + .tour-tab {
  margin-top: 4px;
}

.tour-tab span {
  grid-row: span 2;
  color: #9aa7b8;
  font-size: 12px;
  font-weight: 900;
}

.tour-tab strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.2;
}

.tour-tab em {
  color: #7a879a;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.tour-tab.is-active {
  background: #111827;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.tour-tab.is-active span,
.tour-tab.is-active strong,
.tour-tab.is-active em {
  color: #ffffff;
}

.tour-screen {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.95)),
    #eef2f7;
}

.tour-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tour-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.tour-image-phone {
  object-fit: contain;
  object-position: center top;
  padding: 26px;
}

.tour-copy {
  display: grid;
  align-content: center;
  padding: 26px;
  border-left: 1px solid #e5eaf1;
  background: #ffffff;
}

.tour-panel {
  display: none;
}

.tour-panel.is-active {
  display: block;
}

.tour-panel h3 {
  margin: 14px 0 10px;
  color: #111827;
  font-size: 23px;
  line-height: 1.16;
}

.tour-panel p {
  margin: 0;
}

.guide-map-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.map-story-copy h2 {
  max-width: 520px;
  margin: 12px 0 12px;
  color: #0a2342;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.map-story-copy > p,
.map-story-points p,
.map-story-main figcaption {
  color: #5f6b7d;
  font-size: 15px;
  line-height: 1.66;
}

.map-story-copy > p {
  max-width: 560px;
  margin: 0;
}

.map-story-points {
  margin-top: 18px;
  border-top: 1px solid #e5eaf1;
}

.map-story-points p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e5eaf1;
}

.map-story-points strong {
  color: #111827;
}

.map-story-stage {
  position: relative;
  min-height: 520px;
}

.map-story-main,
.map-story-inset {
  position: absolute;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

.map-story-main {
  inset: 0 10% 76px 0;
  overflow: hidden;
}

.map-story-main img,
.map-story-inset img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  object-fit: cover;
}

.map-story-main img {
  object-position: center center;
}

.map-story-main figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.map-story-inset {
  z-index: 2;
  overflow: hidden;
}

.map-story-inset-na {
  right: 0;
  top: 64px;
  width: 34%;
  height: 185px;
}

.map-story-inset-city {
  right: 5%;
  bottom: 0;
  width: 46%;
  height: 230px;
}

.benefit-rows,
.workflow-steps {
  border-top: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
}

.benefit-rows article,
.workflow-steps p {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid #e5eaf1;
}

.benefit-rows article:first-child,
.workflow-steps p:first-child {
  border-top: 0;
}

.benefit-rows article > span,
.workflow-steps strong {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.benefit-rows h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
}

.benefit-rows p {
  max-width: 920px;
  margin: 0;
}

.workflow-steps p {
  grid-template-columns: 34px minmax(0, 1fr);
}

.workflow-steps strong {
  display: inline-block;
  color: #166534;
  letter-spacing: 0;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 24px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 247, 241, 0.92), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.guide-cta h2 {
  max-width: 760px;
  margin-top: 10px;
}

.guide-cta p {
  max-width: 680px;
  margin: 8px 0 0;
}

@media (max-width: 1180px) {
  .guide-thesis,
  .guide-map-story,
  .tour-shell {
    grid-template-columns: 1fr;
  }

  .tour-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }

  .tour-tab {
    grid-template-columns: 1fr;
    min-height: 78px;
  }

  .tour-tab span {
    grid-row: auto;
  }

  .tour-tab + .tour-tab {
    margin-top: 0;
  }

  .tour-copy {
    border-left: 0;
    border-top: 1px solid #e5eaf1;
  }

  .map-story-stage {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .guide-stage {
    display: flex;
    gap: 12px;
    height: auto;
    margin-right: -12px;
    margin-left: -12px;
    padding: 4px 12px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .stage-shot {
    position: static;
    flex: 0 0 min(86vw, 430px);
    width: auto;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  }

  .stage-shot img {
    height: min(62vh, 520px);
    object-fit: cover;
    object-position: left top;
  }

  .stage-detail img,
  .stage-map img {
    object-position: center top;
  }

  .stage-wallet img,
  .stage-alerts img {
    object-fit: contain;
    background: #f8fafc;
  }

  .stage-shot figcaption {
    display: block;
    padding: 10px 12px 12px;
    border-right: 1px solid #dbe3ee;
    border-bottom: 1px solid #dbe3ee;
    border-left: 1px solid #dbe3ee;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    color: #5f6b7d;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
  }

  .guide-cta {
    display: block;
  }

  .guide-cta .guide-actions {
    margin-top: 18px;
  }

  .guide-map-story {
    padding: 18px;
  }

  .map-story-stage {
    min-height: 0;
    display: grid;
    gap: 12px;
  }

  .map-story-main,
  .map-story-inset {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .map-story-main img,
  .map-story-inset img {
    height: auto;
  }

  .map-story-main figcaption {
    position: static;
    border-top: 0;
    border-right: 1px solid #dbe3ee;
    border-bottom: 1px solid #dbe3ee;
    border-left: 1px solid #dbe3ee;
    border-radius: 0 0 8px 8px;
    backdrop-filter: none;
  }
}

@media (max-width: 720px) {
  body.guide-page {
    padding: 8px 12px 18px;
  }

  .guide-main {
    margin-bottom: 34px;
  }

  .guide-hero {
    margin-top: 12px;
    padding-top: 10px;
  }

  .guide-hero h1 {
    font-size: 30px;
  }

  .guide-hero-copy p {
    font-size: 14px;
  }

  .guide-hero-actions {
    gap: 12px 20px;
  }

  .guide-coach-link.guide-btn-primary,
  .guide-coach-link.guide-btn-secondary {
    flex: 0 1 auto;
    min-height: 42px;
    font-size: 24px;
  }

  .guide-coach-arrow {
    width: 38px;
    height: 26px;
  }

  .guide-thesis {
    gap: 18px;
    margin-top: 24px;
    padding: 24px 0;
  }

  .tour-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .tour-tab {
    flex: 0 0 148px;
    min-height: 72px;
  }

  .tour-screen {
    min-height: 330px;
  }

  .tour-image-phone {
    padding: 12px;
  }

  .tour-copy {
    padding: 18px;
  }

  .tour-panel h3 {
    font-size: 22px;
  }

  .guide-btn {
    flex: 1 1 100%;
  }

  .guide-hero-actions .guide-coach-link {
    flex: 0 1 auto;
  }
}
