:root {
  color: #17232d;
  background: #f3f5f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-width: 320px; }

a { color: inherit; text-decoration: none; }

.topbar {
  align-items: center;
  color: #f9faf8;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(22px, 5vw, 72px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.brand, .health-link { align-items: center; display: inline-flex; gap: 9px; }

.brand { font-size: 19px; font-weight: 700; }

.brand small { color: #c8d0d4; font-size: 12px; font-weight: 500; }

.brand-mark {
  background: #f37561;
  border-radius: 50% 50% 50% 0;
  display: inline-block;
  height: 15px;
  transform: rotate(-45deg);
  width: 15px;
}

.health-link {
  background: rgba(16, 28, 37, .46);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  padding: 8px 11px;
}

.status-dot { background: #d5a64d; border-radius: 50%; height: 7px; width: 7px; }
.status-dot.is-online { background: #82ca9c; }
.status-dot.is-offline { background: #f37561; }

.hero { color: #fff; min-height: 720px; overflow: hidden; position: relative; }

.hero-image {
  background: url("/assets/rainbrief-commute-hero.png") center / cover no-repeat;
  inset: 0;
  position: absolute;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(9, 19, 27, .88) 0%, rgba(9, 19, 27, .56) 44%, rgba(9, 19, 27, .07) 78%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 620px;
  padding: 210px clamp(22px, 10vw, 150px) 150px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #c8d0d4;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow-dark { color: #5c7077; }

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

h1 { font-size: clamp(62px, 8vw, 118px); font-weight: 700; line-height: .94; margin-bottom: 24px; }

.hero-copy { font-size: clamp(23px, 2.35vw, 34px); line-height: 1.35; margin-bottom: 14px; }

.hero-detail { color: #d5dbdd; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }

.hero-availability { display: flex; flex-wrap: wrap; gap: 0; }

.hero-availability span {
  border-left: 1px solid rgba(255, 255, 255, .45);
  font-size: 13px;
  padding: 2px 14px;
}

.hero-availability span:first-child { border-left: 0; padding-left: 0; }

.scroll-cue {
  bottom: 30px;
  font-size: 13px;
  left: clamp(22px, 5vw, 72px);
  position: absolute;
  z-index: 1;
}

.moments, .signal { padding: 104px clamp(22px, 10vw, 150px); }

.moments { background: #f3f5f1; display: grid; gap: 72px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.14; margin: 0; }

.moment-list { border-top: 1px solid #c5cfca; }

.moment { border-bottom: 1px solid #c5cfca; display: grid; gap: 20px; grid-template-columns: 46px minmax(100px, .58fr) 1fr; padding: 26px 0; }

.moment-index { color: #e05f4b; font-size: 13px; margin: 3px 0 0; }
.moment h3 { font-size: 18px; margin: 0; }
.moment p:last-child { color: #526269; font-size: 15px; line-height: 1.7; margin: 0; }

.signal { align-items: end; background: #d7e2de; display: grid; gap: 80px; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); }

.timeline { border-top: 1px solid #607378; padding-top: 14px; }
.timeline-head, .timeline-foot { color: #53666b; display: flex; font-size: 12px; justify-content: space-between; }
.timeline-track { background: #b9cbc5; height: 8px; margin: 30px 0 14px; position: relative; }
.rain-window { background: #e86955; height: 8px; left: 34%; position: absolute; right: 5%; }
.rain-point { background: #e86955; border: 3px solid #d7e2de; border-radius: 50%; height: 18px; position: absolute; top: -5px; width: 18px; }
.rain-point.one { left: 33%; }.rain-point.two { left: 61%; }.rain-point.three { right: 4%; }
.timeline-foot strong { color: #17232d; font-size: 15px; }

footer { align-items: center; background: #17232d; color: #e7eeea; display: flex; font-size: 13px; justify-content: space-between; padding: 26px clamp(22px, 5vw, 72px); }
footer span:last-child { color: #aab7b7; }
footer nav { display: flex; gap: 18px; }
footer nav a { color: #c8d0d4; }
footer nav a:hover { color: #fff; }

@media (max-width: 720px) {
  .topbar { padding: 18px 20px; }
  .brand, .health-link { flex: 0 0 auto; white-space: nowrap; }
  .hero { min-height: 680px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9, 19, 27, .88) 0%, rgba(9, 19, 27, .5) 100%); }
  .hero-content { padding: 176px 22px 124px; }
  .moments, .signal { padding: 72px 22px; }
  .moments, .signal { gap: 48px; grid-template-columns: 1fr; }
  .moment { gap: 12px; grid-template-columns: 38px 1fr; }
  .moment p:last-child { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px; }
}

@media (max-width: 400px) {
  .brand small { display: none; }
  .health-link { font-size: 12px; }
  .hero-availability span { font-size: 12px; padding: 2px 9px; }
}
