:root {
  --bg: #0d0b18;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ecebf5;
  --text2: #a5a3bd;
  --accent: #e94560;
  --accent2: #8576ff;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1000px 600px at 15% -10%, rgba(133, 118, 255, 0.16), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(233, 69, 96, 0.12), transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px max(20px, calc((100% - 1040px) / 2)); /* full-width bar, content-width inside */
  border-bottom: 1px solid var(--border);
  background: rgba(13, 11, 24, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--text2); font-weight: 600; font-size: 14px; }
.site-header nav a:hover { color: var(--text); background: var(--surface); }

main { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
main.index { max-width: 1080px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
.lede { font-size: 18px; color: var(--text2); margin-top: 14px; max-width: 680px; }
.meta { font-size: 13px; color: var(--text2); margin-top: 16px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--text2); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.answer {
  margin: 28px 0 8px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(133, 118, 255, 0.35);
  background: linear-gradient(150deg, rgba(133, 118, 255, 0.16), rgba(133, 118, 255, 0.04));
}
.answer strong { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #b9b0ff; margin-bottom: 6px; }
.answer p { font-size: 16px; }

.prose { margin-top: 28px; font-size: 17px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; margin: 38px 0 12px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent2); }
.prose a { color: #c6bfff; text-decoration-color: rgba(198, 191, 255, 0.4); text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text2); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 36px 0; padding: 22px; border-radius: 18px; border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(233, 69, 96, 0.18), rgba(133, 118, 255, 0.14));
}
.cta strong { display: block; font-size: 18px; }
.cta span { color: var(--text2); font-size: 14px; }
.cta-btn { padding: 12px 20px; border-radius: 999px; background: #fff; color: #14121f; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta-btn:hover { transform: translateY(-1px); }

.faq { margin-top: 40px; }
.faq h2, .related h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text2); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: var(--text2); }

.related { margin-top: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 28px; }
.related .cards { margin-top: 0; }
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; text-decoration: none;
  border: 1px solid var(--border); background: var(--surface); transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.card-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card h2 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.card p { color: var(--text2); font-size: 14px; flex: 1; }
.card-meta { font-size: 12px; color: var(--text2); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 30px 20px 40px;
  border-top: 1px solid var(--border); font-size: 14px; color: var(--text2);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .prose { font-size: 16px; }
  .lede { font-size: 16px; }
  .cta { flex-direction: column; align-items: flex-start; }
}

.related .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
