:root {
  color-scheme: dark;
  --background: #020817;
  --foreground: #e2e8f0;
  --muted-foreground: #94a3b8;
  --card: #0b1220;
  --card-border: #1f2937;
  --brand: #f59e0b;
  --brand-hover: #fbbf24;
  --accent-sky: #38bdf8;
  --max: 720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 82% 8%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 75% at 6% 40%, rgba(56, 189, 248, 0.08) 0%, transparent 58%);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.back-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--brand-hover);
}

.page-title {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-sub {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.updated {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  margin-top: 8px;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

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

.card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-sky);
  flex: none;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.925rem;
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  color: var(--muted-foreground);
  font-size: 0.925rem;
  padding-left: 20px;
  margin-bottom: 10px;
}

.card li {
  margin-bottom: 4px;
}

.card strong {
  color: var(--foreground);
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-hover);
}

/* FAQ (help page) */
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: var(--foreground);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted-foreground);
  font-size: 1.25rem;
  line-height: 1;
  flex: none;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq summary span {
  pointer-events: none;
}

.faq .answer {
  color: var(--muted-foreground);
  font-size: 0.925rem;
  margin-top: 12px;
}

.foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  color: var(--muted-foreground);
  font-size: 0.825rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.foot a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.foot a:hover {
  color: var(--brand-hover);
}

.foot .spacer {
  flex: 1;
}
