/* Adventure Coin - shared stylesheet for legal & info pages
   Warm cream design system. System fonts only (no third-party font load). */

:root {
  --primary: #6366F1;
  --primary-dark: #4338CA;
  --secondary: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --background: #F4F1EA;
  --background-alt: #EDE7DB;
  --surface: #FFFFFF;
  --surface-light: #F8F6F1;
  --border: #E5DFD0;
  --text: #1E1B2E;
  --text-secondary: #5B5670;
  --text-muted: #8B8499;
  --shadow: rgba(30, 27, 46, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }

.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text-secondary); font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--primary); text-decoration: none; }

/* ---------- Content ---------- */
.page-wrap { max-width: 880px; margin: 0 auto; padding: 16px 24px 70px; }

.doc-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 26px;
  padding: 52px;
  box-shadow: 0 8px 24px var(--shadow);
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.doc-card h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.doc-meta {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 6px;
}

.doc-card h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--text);
}

.doc-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 22px;
  margin-bottom: 6px;
  color: var(--text);
}

.doc-card p { color: var(--text-secondary); margin-bottom: 13px; }
.doc-card ul { margin: 0 0 14px 22px; color: var(--text-secondary); }
.doc-card li { margin-bottom: 7px; }
.doc-card strong { color: var(--text); font-weight: 700; }

.lead { font-size: 17px; color: var(--text-secondary); margin-bottom: 16px; }

/* ---------- Callout box ---------- */
.callout {
  background: var(--surface-light);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Q&A blocks (support / faq) ---------- */
.qa { border-top: 1.5px solid var(--border); padding: 22px 0; }
.qa:first-of-type { border-top: none; padding-top: 8px; }
.qa h3 { margin-top: 0; font-size: 17px; }
.qa p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

/* ---------- Press assets grid ---------- */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.asset-grid figure {
  background: var(--surface-light);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.asset-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}
.asset-grid figcaption {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--background-alt);
  border-top: 1.5px solid var(--border);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--primary); text-decoration: none; }
.footer-note { color: var(--text-muted); font-size: 13px; max-width: 360px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .doc-card { padding: 30px 22px; border-radius: 20px; }
  .doc-card h1 { font-size: 28px; }
  .site-nav { gap: 14px; }
  .site-header { padding: 16px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
