/* eysidisi.com: the app's design language (AGENTS.md section 12; spikes/rn-demo/src/theme.ts).
   Neutral tokens only: color on these pages never means a station status. */
:root {
  --background: #F4EFE6;
  --sheet: #FBF8F2;
  --surface: #FFFFFF;
  --border: #DDD5C8;
  --text-primary: #1E1C19;
  --text-secondary: #665F55;
  --line-strong: #BDB4A6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #131312;
    --sheet: #171716;
    --surface: #1D1D1B;
    --border: #30302D;
    --text-primary: #EDE7DC;
    --text-secondary: #A8A196;
    --line-strong: #4A4A45;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --background: #131312;
  --sheet: #171716;
  --surface: #1D1D1B;
  --border: #30302D;
  --text-primary: #EDE7DC;
  --text-secondary: #A8A196;
  --line-strong: #4A4A45;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font: 400 17px/1.55 'Overpass', system-ui, -apple-system, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 24px; }
header.top img { height: 40px; width: auto; display: block; }
nav { display: flex; gap: 18px; font-weight: 600; }
a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; }
h1, h2, h3 { font-family: 'Quicksand', 'Overpass', system-ui, sans-serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: 32px; margin: 8px 0 12px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 6px; }
p, li { color: var(--text-primary); }
.lead { font-size: 19px; color: var(--text-secondary); margin-top: 0; }
.meta { color: var(--text-secondary); font-size: 15px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; color: var(--text-secondary); }
.button {
  display: inline-block; min-height: 44px; padding: 11px 20px; border-radius: 22px;
  background: var(--text-primary); color: var(--background); font-weight: 600; text-decoration: none;
}
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; }
footer a { color: var(--text-secondary); }
@media (max-width: 480px) {
  h1 { font-size: 27px; }
  header.top { flex-wrap: wrap; }
  table { font-size: 14px; }
}
