:root {
  --ink: #153a43;
  --muted: #5b7379;
  --deep-water: #075665;
  --river: #0b7881;
  --foam: #e7f6f0;
  --mist: #f2f8f7;
  --sun: #f0b846;
  --coral: #e9765c;
  --lilac: #e8e2f3;
  --line: rgba(21, 58, 67, 0.16);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  background: var(--mist);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--mist);
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  min-height: 76px;
  padding: 14px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand img { border-radius: 10px; }

nav { display: flex; gap: 20px; }

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--deep-water);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  background: var(--foam);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 82px 24px 0;
  text-align: center;
}

.hero > h1,
.hero-copy,
.hero > .eyebrow,
.hero > .value-list,
.hero > .store-button {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--river);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1,
h2 {
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.16;
}

h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-copy {
  color: var(--muted);
  font-size: 18px;
  max-width: 650px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.value-list li {
  border-right: 1px solid var(--line);
  color: var(--deep-water);
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
}

.value-list li:last-child { border-right: 0; }

.store-button {
  align-items: center;
  background: #101f22;
  border: 1px solid #101f22;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  text-decoration: none;
}

.store-button:hover,
.store-button:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
}

.hero-screens {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1fr) minmax(0, 0.83fr);
  margin: 58px auto 0;
  max-width: 830px;
}

.screen { margin: 0; }

.screen img {
  border: 7px solid #102d33;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 32px rgba(11, 86, 101, 0.18);
  width: 100%;
}

.screen-primary { z-index: 1; }
.screen-secondary img,
.screen-tertiary img { filter: saturate(0.94); }

.story-band,
.card-band,
.waters-band,
.species-band {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 112px 24px;
}

.story-band { background: var(--mist); }
.card-band { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.section-copy { max-width: 500px; }

.section-copy > p:not(.eyebrow),
.water-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.story-image,
.card-image {
  justify-self: center;
  max-width: 310px;
  width: 100%;
}

.story-image .screen img,
.card-image .screen img {
  border-bottom: 7px solid #102d33;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(11, 86, 101, 0.17);
}

.listen-band {
  background: var(--lilac);
  border-bottom: 1px solid rgba(86, 62, 124, 0.16);
  border-top: 1px solid rgba(86, 62, 124, 0.16);
  padding: 84px 24px;
}

.listen-band > div {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}

.listen-band p:not(.eyebrow) {
  color: #645e70;
  font-size: 17px;
  margin-bottom: 0;
}

.waters-band {
  align-items: start;
  background: #fff;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
}

.water-list {
  display: grid;
  gap: 1px;
  width: 100%;
}

.water-link {
  align-items: baseline;
  background: var(--mist);
  border-left: 4px solid var(--river);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 0.38fr) minmax(0, 1fr);
  min-height: 78px;
  padding: 18px 20px;
  text-decoration: none;
}

.water-link:hover,
.water-link:focus-visible { background: var(--foam); }

.water-link span {
  font-size: 18px;
  font-weight: 700;
}

.water-link small {
  color: var(--muted);
  font-size: 14px;
}

.water-creek { border-color: #5fa85a; }
.water-lake { border-color: #4489bd; }
.water-mountain { border-color: #967cbb; }
.water-river { border-color: #e9765c; }
.water-ocean { border-color: #0b7881; }

.download-band {
  background: var(--deep-water);
  color: #fff;
  padding: 82px 24px;
  text-align: center;
}

.download-band h2 { color: #fff; }

.download-band .value-list li {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.store-button-light {
  background: #fff;
  border-color: #fff;
  color: var(--deep-water);
}

.store-button-light:hover,
.store-button-light:focus-visible {
  background: var(--sun);
  border-color: var(--sun);
  color: #192e30;
}

.site-footer {
  color: var(--muted);
  display: grid;
  gap: 24px 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 50px 24px;
}

.site-footer strong { color: var(--ink); }

.site-footer p {
  font-size: 14px;
  margin: 7px 0 0;
  max-width: 520px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a,
.site-footer small,
.site-footer small a {
  color: var(--muted);
  font-size: 13px;
}

.site-footer small { grid-column: 1 / -1; }

.water-index-hero,
.water-hero {
  background: var(--foam);
  border-bottom: 1px solid var(--line);
  padding: 100px 24px 82px;
  text-align: center;
}

.water-index-hero > p:last-child,
.water-hero > p:last-child {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.waters-index-band {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 72px 24px 112px;
}

.water-hero { text-align: left; }

.water-hero > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-width);
}

.back-link {
  color: var(--river);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 36px;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.species-band { align-items: start; }

.species-list {
  column-count: 3;
  column-gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.species-list li {
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  color: var(--ink);
  font-size: 15px;
  padding: 10px 0;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  nav { gap: 13px; }
  nav a { font-size: 13px; }
  .brand span { display: none; }
  .hero { padding: 62px 18px 0; }
  .hero-copy { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }

  .hero-screens {
    gap: 8px;
    margin-top: 42px;
  }

  .screen img {
    border-width: 3px;
    border-radius: 12px 12px 0 0;
  }

  .story-band,
  .card-band,
  .waters-band,
  .species-band {
    gap: 38px;
    grid-template-columns: 1fr;
    padding: 68px 18px;
  }

  .card-band { background: #fff; }
  .card-image { grid-row: 2; }

  .story-image,
  .card-image { max-width: 255px; }

  .story-image .screen img,
  .card-image .screen img {
    border-width: 4px;
    border-radius: 16px;
  }

  .section-copy > p:not(.eyebrow),
  .water-hero > p:not(.eyebrow),
  .listen-band p:not(.eyebrow) { font-size: 16px; }

  .waters-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .water-link {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .download-band,
  .listen-band { padding: 64px 18px; }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .footer-links { flex-wrap: wrap; }

  .water-index-hero,
  .water-hero { padding: 72px 18px 62px; }

  .water-hero > * { max-width: none; }
  .species-list { column-count: 2; }
}

@media (max-width: 400px) {
  nav { gap: 9px; }
  nav a { font-size: 12px; }

  .value-list li {
    font-size: 13px;
    padding: 0 9px;
  }
}
