:root {
  --background: #24130e;
  --text: #fff3d5;
  --orange: #ff6b57;
  --pink: #ff9ba7;
  --blue: #83c9ff;
  --green: #b8df79;
  --yellow: #ffd35c;
  --muted: #d7cbaa;
  --content-width: 800px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 12px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(0);
}

header,
main,
footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

header {
  padding: 56px 0 46px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(4.25rem, 14vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

header h1 a {
  text-decoration: none;
}

header h1 span:first-child {
  color: var(--orange);
}

header h1 span:last-child {
  color: var(--pink);
}

.weather-notice {
  margin-bottom: 28px;
  padding: 20px 24px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: #3a2018;
  font-size: 1rem;
}

.weather-notice p {
  margin: 0;
}

.weather-notice p + p {
  margin-top: 12px;
}

.weather-notice strong {
  color: var(--orange);
}

article > h2 {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.75rem;
  font-weight: 700;
}

section {
  margin: 0 0 25px;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  text-transform: lowercase;
}

p {
  margin: 0 0 16px;
}

.stops {
  margin: 12px 0 22px;
  padding-left: 28px;
}

.stops li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.stops span {
  color: var(--muted);
  white-space: nowrap;
}

.stops .citibike-station {
  display: block;
  margin-top: 2px;
  white-space: normal;
}

section:nth-of-type(1) h3 {
  color: var(--pink);
}

section:nth-of-type(2) h3 {
  color: var(--blue);
}

section:nth-of-type(3) h3 {
  color: var(--green);
}

section:nth-of-type(4) h3 {
  color: var(--yellow);
}

section:nth-of-type(5) h3 {
  color: var(--orange);
}

section:nth-of-type(6) h3 {
  color: var(--pink);
}

footer {
  padding: 18px 0 56px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  header {
    padding: 42px 0 36px;
  }

  header h1 {
    font-size: clamp(3.5rem, 21vw, 6rem);
  }

  .stops span {
    display: block;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.weather-notice h2 {
  margin: 0 0 12px;
  color: var(--orange);
  font: 700 1.125rem/1.4 Arial, Helvetica, sans-serif;
}
