/* District of Coffee website: the app's passport look. Cream paper, passport navy, espresso ink, Georgia for names and
   headings, a typewriter face for small labels. */
:root {
  --paper: #f6f1e2;
  --card: #fbf8f1;
  --navy: #1f3f8f;
  --espresso: #2b2118;
  --brown: #6b5a3e;
  --rule: #d8cbb0;
  --red: #a3322a;
  --muted: #6f6253;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1612;
    --card: #231d18;
    --navy: #9fb6cb;
    --espresso: #f3e9d8;
    --brown: #c9b896;
    --rule: #3d342b;
    --red: #e0857b;
    --muted: #b8ac9c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--espresso);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--navy); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; padding-top: 18px; padding-bottom: 14px; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: var(--espresso); text-decoration: none; }
.label { font-family: "Courier New", Courier, monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; line-height: 1.2; }
h1 { font-size: 40px; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 36px 0 8px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.hero { padding: 56px 0 28px; }
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.stamp {
  display: inline-block; border: 2px solid var(--red); color: var(--red); border-radius: 6px; padding: 2px 10px;
  font-family: "Courier New", Courier, monospace; font-weight: 700; font-size: 13px; letter-spacing: 0.16em;
  transform: rotate(-3deg); margin-bottom: 18px;
}
.button {
  display: inline-block; background: var(--navy); color: var(--paper); text-decoration: none; font-weight: 600;
  padding: 13px 22px; border-radius: 10px;
}
.button.secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); margin-left: 8px; }
.features { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 32px 0 8px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 18px; }
.feature h3 { margin-top: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.doc { padding: 36px 0 24px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: -4px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
footer.site { border-top: 1px solid var(--rule); margin-top: 48px; }
footer.site .wrap { padding-top: 18px; padding-bottom: 36px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 16px; }
footer.site a { color: var(--muted); }

/* The hero with the passport beside it on wide screens, below it on phones. */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 760px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.passport {
  width: 100%; max-width: 340px; height: auto; justify-self: center; border-radius: 10px;
  transform: rotate(2deg); box-shadow: 0 18px 40px rgba(43, 33, 24, 0.22);
}
.wrap:has(.hero-grid) { max-width: 980px; }
/* Claim your neighborhood. */
.territory { margin: 48px 0 8px; }
.territory h2 { margin-top: 6px; }
.territory > p { color: var(--muted); max-width: 36em; }
.titles { display: grid; gap: 14px; margin: 22px 0 10px; }
.title-card { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.title-card h3 { margin: 0 0 4px; }
.title-card p { margin: 0; color: var(--muted); font-size: 15px; }
.seal {
  flex: none; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg);
  font-family: "Courier New", Courier, monospace; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; line-height: 1.25;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--red);
}
.territory .note { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--espresso); }

/* More of the app, owners and questions. */
.screens { margin: 48px 0 8px; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 14px; scroll-snap-type: x mandatory; }
.shots img { flex: none; width: 200px; height: auto; border-radius: 22px; border: 1px solid var(--rule); scroll-snap-align: start; box-shadow: 0 10px 24px rgba(43, 33, 24, 0.15); }
.more { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 40px 0 8px; }
@media (min-width: 640px) { .more { grid-template-columns: 1fr 1fr; } }
.more-block h3 { margin: 6px 0 4px; }
.more-block p { margin: 0; color: var(--muted); font-size: 15px; }
.owners ul, .faq p { color: var(--espresso); }
.faq h3 { margin-bottom: 2px; }
.faq p { margin-top: 0; color: var(--muted); }
/* Hidden until the screenshots are added. */
.screens:has(.shots:empty) { display: none; }
