* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #ffffff;
  color: #202316;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

.product-nav {
  position: relative;
  z-index: 10;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #202316;
  text-decoration: none;
  white-space: nowrap;
}

.product-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.product-nav nav,
.product-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.product-nav nav a {
  color: #3c4430;
  font-size: 0.92rem;
  text-decoration: none;
}

.product-nav nav a[aria-current="page"] {
  color: #202316;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.product-hero {
  position: relative;
  min-height: min(82svh, 820px);
  display: flex;
  align-items: flex-end;
  background: #0b1d26 url("assets/offline-hiking-map-hero.jpg") center 46% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.product-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 21, 0.52);
}

.product-hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 72px;
}

.app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.product-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 4.7rem;
  line-height: 1.06;
  word-break: keep-all;
}

.product-hero p {
  max-width: 660px;
  margin: 20px 0 30px;
  font-size: 1.35rem;
}

.app-store-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
}

.app-store-link-dark {
  flex: 0 0 auto;
  border-color: #202316;
  background: #202316;
  color: #fff;
}

.feature-band {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: center;
  border-bottom: 1px solid rgba(32, 35, 22, 0.14);
}

.feature-band-reverse .feature-copy {
  order: 2;
}

.feature-band img {
  width: min(100%, 410px);
  max-height: 680px;
  justify-self: center;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.feature-copy h2 {
  margin: 6px 0 18px;
  font-size: 2.6rem;
}

.feature-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: #454a36;
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
}

.eyebrow {
  margin: 0;
  color: #5f6922;
  font-size: 0.78rem;
  font-weight: 750;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.download-band {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid rgba(32, 35, 22, 0.14);
}

.download-band h2 {
  margin: 4px 0 10px;
  font-size: 2.3rem;
}

.download-band p {
  max-width: 660px;
  margin: 0;
  color: #454a36;
}

.feature-page-hero {
  position: relative;
  min-height: min(72svh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #0b1d26;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.feature-page-hero-offline {
  background-image: url("assets/offline-hiking-map-hero.jpg");
}

.feature-page-hero-route {
  background-image: url("assets/planned-route-map.jpg");
}

.feature-page-hero-rain {
  background-image: url("assets/rain-cloud-map.jpg");
}

.feature-page-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 21, 0.58);
}

.feature-page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.feature-page-hero h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  font-size: 4.1rem;
  line-height: 1.12;
}

.feature-page-hero-content > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 1.25rem;
}

.feature-article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 68px;
}

.feature-article section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(32, 35, 22, 0.12);
}

.feature-article h2 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.feature-article p,
.feature-list {
  color: #454a36;
  font-size: 1.05rem;
}

.feature-list {
  padding-left: 1.4em;
}

.product-links {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0;
}

.product-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.product-footer {
  padding: 24px 20px 40px;
  color: #6a6f58;
  text-align: center;
}

.product-footer nav {
  justify-content: center;
}

.page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.site-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(95, 105, 49, 0.22);
}

h1,
h2 {
  line-height: 1.3;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.25rem;
}

p,
li {
  font-size: 1rem;
}

a {
  color: #5f6922;
  font-weight: 650;
}

.lead {
  margin: 0;
  color: #5a6044;
}

.notice {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid rgba(126, 141, 50, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.meta {
  color: #6a6f58;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(95, 105, 49, 0.18);
  color: #6a6f58;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .product-nav {
    width: min(100% - 28px, 1120px);
    min-height: 64px;
  }

  .product-brand span {
    display: none;
  }

  .product-nav nav {
    gap: 14px;
  }

  .product-nav nav a {
    font-size: 0.82rem;
  }

  .product-hero {
    min-height: 76svh;
    background-position: 58% top;
  }

  .product-hero-content {
    padding: 56px 0 48px;
  }

  .product-hero h1 {
    font-size: 2.35rem;
  }

  .product-hero p {
    font-size: 1.05rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
    padding: 54px 0;
  }

  .feature-band-reverse .feature-copy {
    order: 0;
  }

  .feature-band img {
    width: min(100%, 360px);
  }

  .feature-copy h2,
  .download-band h2 {
    font-size: 1.85rem;
  }

  .download-band {
    align-items: stretch;
    flex-direction: column;
  }

  .app-store-link-dark {
    width: 100%;
  }

  .feature-page-hero {
    min-height: 68svh;
  }

  .feature-page-hero-content {
    padding: 56px 0 48px;
  }

  .feature-page-hero h1 {
    font-size: 2.45rem;
  }

  .feature-page-hero-content > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .feature-article h2 {
    font-size: 1.55rem;
  }
}
