/* The app's Card Table palette (ios/CityHunt/CityHunt/Tokens.swift). */
:root {
  --ground: #f3e9d2;
  --surface: #fffbf2;
  --ink: #12261e;
  --secondary: #4a5248;
  --accent: #b5482a;
  --accent-text: #9a3a20;
  --deep: #143d2e;
  --rule: #d9ccae;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f2a20;
    --surface: #143d2e;
    --ink: #f3e9d2;
    --secondary: #b9c2b4;
    --accent: #d9693f;
    --accent-text: #f0a27f;
    --rule: #24503f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 600 20px/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
}

.brand img, .hero { border-radius: 22.5%; }

main { padding-top: 24px; padding-bottom: 48px; }

.hero { display: block; margin-bottom: 20px; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  text-wrap: balance;
}

h1 { font-size: 34px; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 40px 0 8px; }

.lede { font-size: 20px; color: var(--secondary); margin-top: 0; }

article p:first-of-type { color: var(--secondary); }

a { color: var(--accent-text); overflow-wrap: anywhere; }

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

ul { padding-left: 22px; }
li { margin: 6px 0; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--secondary);
}
