:root {
  --paper: #F2F4F1;
  --paper-2: #E3E9E4;
  --ink: #18242C;
  --muted: #55636B;
  --rule: #C7D0CA;
  --lawn: #4E7F55;
  --lawn-tint: #D4E3D0;
  --signal: #E3B23C;
  --link: #2B5E3A;
  --sans: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131B20;
    --paper-2: #1D282E;
    --ink: #E6ECE8;
    --muted: #9CAAA3;
    --rule: #2E3C42;
    --lawn: #79A97E;
    --lawn-tint: #22362A;
    --signal: #E8BC50;
    --link: #9CCBA2;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
  font-family: var(--sans);
  z-index: 10;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 48rem) {
  .wrap { padding: 0 2rem; }
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 28px; height: 28px; flex: none; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* Type */

h1, h2, h3 {
  font-family: var(--sans);
  color: var(--ink);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  max-width: 13ch;
}

h2 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h3 {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

p { margin: 0 0 1rem; max-width: 38rem; }

/* Home: hero */

.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 3rem;
}
@media (min-width: 56rem) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 5rem 0 4.5rem;
  }
}

.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0;
}

/* Home: site plan drawing */

.plan {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  justify-self: center;
}
.plan .road { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.plan .lawn { fill: var(--lawn-tint); stroke: var(--lawn); stroke-width: 2; }
.plan .path { stroke: var(--paper); stroke-width: 9; stroke-linecap: round; }
.plan .tree { fill: var(--lawn); opacity: 0.5; }
.plan .stand { fill: var(--paper); stroke: var(--lawn); stroke-width: 2; }
.plan .stand-dot { fill: var(--signal); }
.plan .walk { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 5; }
.plan .plot rect { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.5; }
.plan .plot text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink);
}
.plan .plot.next rect { fill: none; stroke: var(--muted); stroke-dasharray: 6 5; }
.plan .plot.next text { fill: var(--muted); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .plan .path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.15s forwards;
  }
  .plan .path:nth-child(2) { animation-delay: 0.35s; }
  .plan .path:nth-child(3) { animation-delay: 0.55s; }
  .plan .plot { opacity: 0; animation: appear 0.5s ease-out forwards; }
  .plan .p1 { animation-delay: 0.9s; }
  .plan .p2 { animation-delay: 1.05s; }
  .plan .p3 { animation-delay: 1.2s; }
  .plan .p4 { animation-delay: 1.35s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Home: sections */

.block {
  border-top: 1px solid var(--rule);
  padding: 2.75rem 0;
}
@media (min-width: 56rem) {
  .block {
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: 2rem;
    padding: 3.5rem 0;
  }
}

.apps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.apps li {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.apps li:first-child { padding-top: 0.15rem; }
.apps li:last-child { border-bottom: 0; }
.apps p { margin: 0; }
@media (min-width: 40rem) {
  .apps li { grid-template-columns: 10rem 1fr; }
}

.status {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.35rem !important;
}

.facts {
  display: grid;
  gap: 0.15rem 2rem;
  margin: 1.5rem 0 0;
}
.facts dt {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  padding-top: 0.15rem;
}
.facts dd {
  margin: 0 0 0.75rem;
}
@media (min-width: 40rem) {
  .facts { grid-template-columns: 10rem 1fr; }
  .facts dd { margin: 0 0 0.5rem; }
}

/* Inner pages */

.page {
  padding: 3rem 0 3.5rem;
  max-width: 40rem;
}
@media (min-width: 56rem) {
  .page { padding: 4.5rem 0 4.5rem; }
}
.page h1 {
  font-size: clamp(2.1rem, 4.4vw, 2.9rem);
  max-width: none;
}
.page h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.75rem;
}
.updated {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
}

.contact {
  border-left: 3px solid var(--lawn);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.75rem 0 0.5rem;
}
.contact p { margin: 0 0 0.25rem; }

.app-help { scroll-margin-top: 1.5rem; }

.notices {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.notices li { margin-bottom: 0.4rem; }

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.site-footer a { color: var(--muted); }
