/* Shared stylesheet for the static trust pages (about, privacy, terms, faq,
   contacts). Kept deliberately tiny — no Tailwind, no fonts beyond system
   stack, no JS — so the pages are fully crawlable and render instantly even
   if the React landing fails to load. Visual language mirrors the landing:
   soft gray background, white card, Inter-ish weight scale, indigo accent. */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f7;
  color: #18181b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  body { background: #131315; color: #e2e2e5; }
  .card { background: #1d1d20 !important; }
  .muted { color: #92929a !important; }
  h1, h2, h3 { color: #e2e2e5 !important; }
  hr { border-color: #36363c !important; }
  .pill { background: #2a2a2f !important; color: #c0c0c6 !important; }
  .nav a { color: #c0c0c6 !important; }
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.nav a {
  color: #52525b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover { color: #18181b; }

.nav .brand {
  font-weight: 800;
  font-size: 18px;
  color: #18181b;
  letter-spacing: -0.01em;
}

.lang { font-size: 12px; }
.lang a { padding: 4px 10px; border-radius: 999px; }
.lang a.active { background: #18181b; color: #fff; }

.card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (min-width: 640px) {
  .card { padding: 40px 36px; }
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 8px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 4px;
}

p { margin: 0 0 12px; }

a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.muted { color: #71717a; font-size: 13px; }

.updated {
  display: inline-block;
  background: #f4f4f5;
  color: #71717a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

hr {
  border: 0;
  border-top: 1px solid #e4e4e7;
  margin: 32px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f5;
  color: #3f3f46;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pill:hover { text-decoration: none; background: #e4e4e7; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e7;
  font-size: 12px;
  color: #a1a1aa;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

footer a { color: #71717a; }

details {
  border-top: 1px solid #e4e4e7;
  padding: 14px 0;
}
details > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: "+";
  color: #a1a1aa;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
details[open] > summary::after { content: "–"; }
details > div { padding-top: 8px; color: #52525b; font-size: 14px; }
