/* Chirp & Hoot website. Plain CSS, no frameworks. Colors match the app. */
:root {
  color-scheme: light dark;
  --bg: #fffaf0;
  --card: #ffffff;
  --sun: #ffe37a;        /* ChirpYellow (light) */
  --accent: #b85900;     /* AccentColor (light) */
  --text: #2b2118;
  --muted: #6b5d50;
  --line: #f0e2c4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1712;
    --card: #2a231b;
    --sun: #6b5414;      /* ChirpYellow (dark) */
    --accent: #ff9f3b;   /* AccentColor (dark) */
    --text: #f7efe3;
    --muted: #c9b9a6;
    --line: #3d3328;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 680px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

header.site {
  background: var(--sun);
  padding: 14px 0;
}
header.site .wrap { display: flex; align-items: center; gap: 10px; }
header.site a.home {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

main { padding: 32px 0 48px; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.3rem; margin: 32px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 0.95rem; }

/* Home page */
.hero { text-align: center; padding: 24px 0 8px; }
.chirp {
  display: inline-grid;
  place-items: center;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--sun);
  font-size: 68px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 2.4rem; }
.tagline { font-size: 1.2rem; color: var(--muted); margin-bottom: 20px; }
.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.links {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 12px;
}
.links a {
  display: block;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.links a span { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.links a:hover { border-color: var(--accent); }

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }

.contact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  font-size: 0.9rem;
  color: var(--muted);
}
footer.site a { color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
