:root {
  --bg: #0b0b0f; --card: #15161c; --line: #262833; --text: #f3f4f8; --muted: #a2a6b5;
  --accent: #ffc400; --accent-ink: #1a1400; --radius: 16px; --max: 1040px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fafafa; --card: #ffffff; --line: #e6e7ec; --text: #111319; --muted: #5a5f70; --accent: #f5b800; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: .2px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a { text-decoration: none; color: var(--muted); margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--text); }
.hero { padding: 72px 0 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.5px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hero .icon { width: min(260px, 60vw); border-radius: 56px; box-shadow: 0 30px 80px rgba(0,0,0,.35); justify-self: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); margin-left: 10px; }
.pill { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .glyph { font-size: 26px; }
h2.section { font-size: 28px; margin: 56px 0 8px; letter-spacing: -.3px; }
.muted { color: var(--muted); }
article.legal { max-width: 760px; padding: 48px 0 72px; }
article.legal h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -.4px; }
article.legal h2 { font-size: 22px; margin: 36px 0 10px; }
article.legal h3 { font-size: 17px; margin: 22px 0 6px; }
article.legal p, article.legal li { color: var(--text); font-size: 16px; }
article.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
article.legal th, article.legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
article.legal th { color: var(--muted); font-weight: 600; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0 28px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; display: inline-block; margin: 2px 14px 2px 0; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--text); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: left; }
  .hero .icon { order: -1; width: 140px; border-radius: 32px; justify-self: start; }
  nav a { margin-left: 12px; font-size: 14px; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}
