/* Life Map website (zip 7; zip 8 colours): one small stylesheet, no outside fonts or scripts. */
:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --text: #1f2a33;
  --muted: #5c6670;
  --brand: #2f6e6a;
  --brand-ink: #f6f4ef;
  --mist: #dcebe7;
  --line: #e2ddd3;
  --warn: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14191c; --card: #1e2528; --text: #e7e4de; --muted: #b5bdc3; --brand: #8cc7be; --brand-ink: #173f3c; --mist: #1f4a47; --line: #3a4348; --warn: #ffb4ab; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
header.site { max-width: 760px; margin: 0 auto; padding: 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
header.site a.brand { display: inline-flex; align-items: center; gap: 8px; }
header.site a.brand svg.mark { border-radius: 6px; flex: none; }
header.site a.brand { font-weight: 700; font-size: 20px; color: var(--brand); text-decoration: none; font-family: Georgia, "Times New Roman", serif; }
header.site nav { display: flex; gap: 14px; flex-wrap: wrap; }
a { color: var(--brand); }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
h2 { font-size: 20px; margin: 28px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin: 16px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.warn { color: var(--warn); }
button, .button { font: inherit; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--brand); color: var(--brand-ink); cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--line); }
button:disabled { opacity: .5; cursor: default; }
ul.stops { list-style: none; padding: 0; margin: 0; }
ul.stops li { padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.stops li > div { padding: 4px 10px; }
.stop-name { font-weight: 600; }
button.stop-button { display: block; width: 100%; text-align: left; background: transparent; color: var(--text); border-radius: 14px; padding: 8px 10px; min-height: 44px; }
button.stop-button:hover, button.stop-button:focus-visible { background: var(--mist); }
ul.stops li:last-child { border-bottom: 0; }
.stop-time { color: var(--muted); font-size: 14px; }
.map { position: relative; width: 100%; height: 360px; overflow: hidden; border-radius: 22px; background: #e9eee8; border: 1px solid var(--line); touch-action: none; cursor: grab; }
.map:active { cursor: grabbing; }
.map .tiles { position: absolute; inset: 0; }
.map img.tile { position: absolute; width: 256px; height: 256px; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.map svg { position: absolute; left: 0; top: 0; }
.map .attr { position: absolute; right: 6px; bottom: 4px; font-size: 11px; background: rgba(255,255,255,.85); color: #222; padding: 1px 6px; border-radius: 6px; }
.map .zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.map .zoom button { width: 44px; height: 44px; padding: 0; border-radius: 14px; background: rgba(255,255,255,.96); color: #1f2a33; border: 1px solid #d9d4c9; font-size: 22px; line-height: 1; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.photos img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
footer.site { max-width: 760px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: 14px; }

/* Zip 9: the privacy policy's table; on a phone each row becomes a card */
main table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
main th, main td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line, #D9D4C9); }
main th { font-weight: 600; }
@media (max-width: 640px) {
  main table, main thead, main tbody, main tr, main th, main td { display: block; }
  main thead { display: none; }
  main tr { border: 1px solid var(--line, #D9D4C9); border-radius: 12px; padding: 4px 12px; margin-bottom: 12px; }
  main td { border: none; padding: 6px 0; }
  main td:nth-child(1)::before { content: "What: "; font-weight: 600; }
  main td:nth-child(2)::before { content: "Goes to: "; font-weight: 600; }
  main td:nth-child(3)::before { content: "Why: "; font-weight: 600; }
  main td:nth-child(4)::before { content: "Kept for: "; font-weight: 600; }
}
