/* Streak Day — support site styles
   Mobile-first, no external dependencies. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1c1f22;
  --muted: #5b6770;
  --accent: #4f6d7a;
  --border: #e5e8eb;
  --radius: 14px;
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1c1f22;
    --text: #ececec;
    --muted: #9aa1a8;
    --accent: #8aa7b3;
    --border: #2a2e33;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
a:hover { opacity: 0.8; }

header.site, footer.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

header.site .brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  border: none;
  color: var(--text);
}
header.site .brand .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

header.site nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  border-bottom: none;
  color: var(--muted);
}
header.site nav a:hover { color: var(--text); }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: var(--text);
}
h1 { font-size: 2rem; margin-top: 0.2em; letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }

p, ul, ol { margin: 0.8em 0; }
ul, ol { padding-left: 1.4em; }
li { margin: 0.3em 0; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.2em;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+ ";
  color: var(--accent);
  font-weight: 700;
}
.faq details[open] summary::before { content: "− "; }
.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq details p { margin: 0 0 14px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
footer.site nav a {
  margin-left: 14px;
  border-bottom: none;
  color: var(--muted);
}
footer.site nav a:hover { color: var(--text); }

@media (max-width: 560px) {
  header.site { flex-direction: column; align-items: flex-start; }
  header.site nav a { margin: 0 14px 0 0; }
  footer.site { flex-direction: column; align-items: flex-start; }
  footer.site nav a { margin: 0 14px 0 0; }
}
