/* RESET: This page also clears default element spacing. */
* {
  margin: 0;
  padding: 0;
}

body {
  background: #e8e8e3;
  color: #102d54;
}

.page {
  max-width: 430px;
  margin: 0 auto;
}

/* HEADER */
.header {
  border-bottom: 1px solid #eee;
}

.header h1 {
  font-size: 20px;
  font-weight: 700;
}

.menu {
  font-size: 28px;
  color: #102d54;
}

/* TOUR PROGRESS */
.tour-progress {
  padding: 18px 22px 12px;
  background: #f5f8fb;
}

.tour-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tour-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tour-count {
  font-size: 14px;
  color: #63758a;
}

.progress-bar {
  height: 7px;
  background: #dce6f0;
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  width: 7%;
  height: 100%;
  background: #1b568f;
}

.tour-map-button {
  min-height: 48px;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  background: #e7f1fa;
  color: #173d67;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.tour-map-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tour-map-chevron {
  font-size: 24px;
  line-height: 1;
}

.tour-map-button:hover {
  background: #d9eafa;
}

.tour-map-button:focus-visible {
  outline: 3px solid rgba(27, 86, 143, 0.35);
  outline-offset: 3px;
}

/* HERO */
.hero {
  background: #eef2f6;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #eef2f6;
  padding: 10px;
}

.hero img.stop-photo {
  object-fit: cover;
  padding: 0;
}

.hero .photo-credit {
  padding: 5px 12px;
  background: #eef2f6;
}

/* CONTENT */
.content {
  padding: 28px 22px 36px;
}

.stop-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stop-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #df704f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.content h2 {
  font-size: 32px;
  line-height: 1.1;
}

.subtitle {
  font-size: 19px;
  line-height: 1.4;
  color: #65758a;
  margin-bottom: 22px;
}

.description {
  color: #26384d;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* THINKING PROMPT */
.prompt {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 20px;
  padding: 22px 20px;
  background: #FFF7E1;
  border-radius: 10px;
}

.prompt-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prompt-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prompt-content {
  flex: 1;
}

.prompt-title {
  margin-bottom: 6px;
  color: #1B2430;
  font-size: 18px;
  font-weight: 700;
}

.prompt p {
  color: #3A424D;
  font-size: 16px;
  line-height: 1.45;
}

[hidden] {
  display: none !important;
}

/* EXPLORE MORE */
.explore-more {
  margin: 0 20px 30px;
  padding: 20px 18px 10px;
  background: #edf6ff;
  border: 1px solid #deebf7;
  border-radius: 14px;
}

.explore-more-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 4px 14px;
}

.explore-more-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9ebff;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.explore-more-icon img {
  display: block;
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.explore-more h3 {
  margin-bottom: 4px;
  color: #102d54;
  font-size: 19px;
  line-height: 1.2;
}

.explore-more-header p {
  color: #65758a;
  font-size: 16px;
  line-height: 1.4;
}

.explore-more-links {
  border-top: 1px solid #cbdced;
}

.explore-link {
  min-height: 52px;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  align-items: center;
  gap: 8px;
  color: #16549a;
  border-bottom: 1px solid #cbdced;
}

.explore-link:last-child {
  border-bottom: none;
}

.explore-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-align: center;
  flex-shrink: 0;
}

.explore-link-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.explore-link-text {
  font-size: 16px;
  line-height: 1.35;
}

.explore-link-arrow {
  color: #102d54;
  font-size: 30px;
  line-height: 1;
  text-align: right;
}

.explore-link:hover {
  color: #0e4275;
}

.explore-link:focus-visible {
  outline: 3px solid rgba(27, 86, 143, 0.28);
  outline-offset: 3px;
  border-radius: 6px;
}

/* NAVIGATION */
.tour-nav {
  display: flex;
  gap: 12px;
}

.tour-nav a {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-radius: 9px;
  font-weight: 700;
}

.previous {
  background: #e7f1fa;
  color: #173d67;
}

.next {
  background: #1b568f;
  color: white;
}

/* EXIT TOUR */
.exit-tour {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #61758a;
  font-size: 14px;
}

/* DESKTOP */

@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
  }

  .page {
    max-width: 900px;
    min-height: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  }

  .header {
    height: 85px;
    padding: 0 40px;
  }

  .header h1 {
    font-size: 26px;
  }

  .tour-progress {
    padding: 20px 40px 16px;
  }

  .hero img {
    height: 430px;
  }

  .content {
    padding: 40px;
  }

  .stop-heading {
    gap: 15px;
  }

  .stop-number {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .content h2 {
    font-size: 40px;
  }

  .description {
    font-size: 18px;
    line-height: 1.7;
  }

  .prompt {
    margin: 30px 0;
    padding: 24px;
  }

  .prompt-icon {
    width: 60px;
    height: 60px;
  }

  .prompt-title {
    font-size: 20px;
  }

  .explore-more {
    margin: 0 0 34px;
    padding: 22px 22px 12px;
  }

  .explore-more-icon {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .explore-more h3 {
    font-size: 21px;
  }

  .explore-link {
    min-height: 56px;
  }

  .tour-nav {
    max-width: 600px;
    margin: 35px auto 0;
  }

  .tour-nav a {
    padding: 18px;
    font-size: 17px;
  }

  .exit-tour {
    margin-top: 22px;
  }
}
