:root {
  --bg: #14171c;
  --fg: #ecedef;
  --muted: rgba(236, 237, 239, 0.62);
  --accent: #ffd56b;
  --accent-2: #ffb84d;
  --card: #1c1f26;
  --border: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fffaf0;
    --fg: #14213d;
    --muted: rgba(20, 33, 61, 0.6);
    --card: #fff;
    --border: rgba(20, 33, 61, 0.08);
  }
}

* { box-sizing: border-box; }

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

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 22px 60px;
}

.container--prose {
  max-width: 680px;
}

.breadcrumb {
  margin: 0 0 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

h1 {
  font-size: 2rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

h2 {
  margin: 32px 0 10px;
  font-size: 1.2rem;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

p, ul, ol {
  margin: 0 0 14px;
}

a {
  color: var(--accent-2);
}

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

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

/* Hero (landing-style page) */
.hero { margin-bottom: 28px; }
.hero__title { font-size: 2.4rem; margin-bottom: 4px; }
.hero__tag { font-size: 1.05rem; opacity: 0.8; margin: 0; }

.block { margin: 36px 0; }

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
}

/* CTA */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1d24;
}
.btn--primary[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Tip jar */
.tip-jar {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.tip-jar__button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: #ffdd00;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e6c700;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.tip-jar__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.tip-jar__note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.footer {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__nav { margin-bottom: 8px; }
.footer__nav a {
  color: inherit;
  text-decoration: none;
  margin: 0 8px;
}
.footer__nav a:hover { text-decoration: underline; }
.footer__credit { margin: 0; }
