/* saferoutesgreaterwashington.org — School Route Notes.
   A field-notebook look: cool mint ground, deep green ink, a yellow marker for
   the "you are here" details. System fonts only, no third-party requests.
   Deliberately unlike the other sites on this host. */

:root {
  --ground: #eef3f0;
  --card: #ffffff;
  --ink: #17332a;
  --ink-mid: #40574e;
  --ink-soft: #6b7f76;
  --rule: #d3ded8;
  --green: #1f5b46;
  --green-deep: #153f30;
  --mark: #f4c542;
  --mark-soft: #fff6d6;
  --measure: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #101815; --card: #182219; --ink: #e8efea; --ink-mid: #b9c7bf; --ink-soft: #8ea198;
          --rule: #2b3a33; --green: #63b58f; --green-deep: #8ed0b0; --mark: #e6b93a; --mark-soft: #3a3418; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.65 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 5; }
.skip:focus { left: 8px; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: var(--measure); }

.masthead { border-bottom: 1px solid var(--rule); background: var(--card); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 17px; letter-spacing: -.01em; }
.brand-text small { font-size: 11px; color: var(--ink-soft); }
.topnav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.topnav a { text-decoration: none; color: var(--ink-mid); padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav a:hover, .topnav a[aria-current=page] { color: var(--ink); border-bottom-color: var(--mark); }

main { padding: 44px 0 64px; }
.kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 26px 0 8px; }
p, li { color: var(--ink-mid); }
p { margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink); margin-bottom: 22px; }
.stamp { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); margin: 0 0 26px; }
.stamp span + span::before { content: "·"; margin-right: 14px; }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 8px; }
strong { color: var(--ink); }

.note { border-left: 4px solid var(--mark); background: var(--mark-soft); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 22px 0; }
.note p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 18px 0 26px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin: 0; border-bottom: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--green); border-radius: 4px; }
.scroll { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--card); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

.grid { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tile { margin: 0; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.tile h3 { margin: 0 0 8px; font-size: 17px; }
.tile p { font-size: 14px; margin: 0 0 12px; }
.tile a { font-weight: 600; font-size: 14px; }
.hero { padding: 10px 0 8px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 56px); max-width: 16ch; }
.hero .lede { max-width: 34rem; }

.foot { border-top: 1px solid var(--rule); background: var(--card); padding: 30px 0 40px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.foot p { color: var(--ink-soft); margin: 0 0 10px; max-width: 60ch; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .masthead-row { min-height: 0; }
}
@media print {
  .masthead, .foot, .skip { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .checklist li::before { border-color: #000; }
  a { color: #000; text-decoration: none; }
}
