/*
 * One stylesheet for the whole site.
 *
 * No build step, no framework, no fonts fetched from anywhere. Four static
 * files that will still work in ten years and can be dropped on any host - which
 * matters when the only job this site has is to still be answering at the URL a
 * store listing points at.
 */

:root {
  --bg: #08090c;
  --panel: #101218;
  --border: #23262f;
  --text: #e8e9ee;
  --faint: #8b8f9c;
  --accent: #c8402c;
  --warn: #e0a63a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
  margin-bottom: 34px;
}

.title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 6px;
  margin: 0;
}

.tagline {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 11px;
  margin: 6px 0 0;
  text-transform: uppercase;
}

nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--faint);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

h2 {
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin: 38px 0 12px;
}

h3 {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--warn);
  margin: 26px 0 8px;
}

p, li { color: #c9ccd6; }

a { color: var(--text); }

.lede { font-size: 17px; color: var(--text); }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 22px 0;
}

.meta {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Used for the plain statement of what the app does with data - the one thing
   on the page a reader actually came for. */
.headline-claim {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 24px 0;
  font-size: 17px;
}

ul { padding-left: 20px; }
li { margin-bottom: 7px; }

code {
  background: #1a1d25;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
}

footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 12px;
}

footer a { color: var(--faint); }

@media (max-width: 520px) {
  .wrap { padding: 28px 18px 60px; }
  .title { font-size: 21px; letter-spacing: 4px; }
}
