:root {
  color-scheme: dark;
  --bg: #121317;
  --panel: #1b1d23;
  --line: #26282f;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --gold: #f5a524;
  --gold-soft: #ffd66e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold); }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 19, 23, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; height: 62px; padding: 0 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 800; font-size: 18px;
}
.brand img { border-radius: 8px; }
.brand:hover { color: var(--gold-soft); }
nav.main { margin-left: auto; display: flex; gap: 2px; }
nav.main a {
  color: var(--muted); text-decoration: none; padding: 7px 13px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
}
nav.main a:hover { color: var(--text); background: var(--panel); }
nav.main a[aria-current="page"] {
  color: var(--text); background: var(--panel); box-shadow: inset 0 -2px 0 var(--gold);
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 64px 20px 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 270px at 50% 0%, rgba(245, 165, 36, .10), transparent 70%);
}
.hero .logo {
  width: 120px; height: 120px; border-radius: 26px; position: relative;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 214, 110, .18);
}
.hero h1 { font-size: 44px; margin: 20px 0 4px; letter-spacing: .5px; position: relative; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .tagline {
  color: var(--gold-soft); font-weight: 700; letter-spacing: 3px; font-size: 12.5px;
  text-transform: uppercase; margin: 0 0 12px; position: relative;
}
.hero p.lede {
  color: var(--muted); max-width: 620px; margin: 0 auto 26px; font-size: 17px; position: relative;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 26px; border-radius: 10px; font-size: 15px; }
.btn-gold {
  background: linear-gradient(180deg, #ffc94d, #eda01c); color: #221500;
  box-shadow: 0 8px 24px rgba(245, 165, 36, .28);
}
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { border-color: #3a3d47; }

/* ---------- content blocks ---------- */
section.block { padding: 42px 0; border-top: 1px solid var(--line); }
.block-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.block-head h2 { margin: 0; font-size: 24px; }
.block-head span { color: var(--muted); font-size: 14px; }
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; text-decoration: none; color: var(--text); display: block;
  transition: transform .15s, border-color .15s;
}
a.card:hover { transform: translateY(-2px); border-color: rgba(245, 165, 36, .45); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245, 165, 36, .4);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 10px;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .soon { color: var(--muted); font-size: 12.5px; font-style: italic; margin-top: 10px; }

/* ---------- subpage heads ---------- */
.page-head { padding: 40px 0 6px; }
.page-head h1 { margin: 0 0 8px; font-size: 34px; }
.page-head p { color: var(--muted); margin: 0; max-width: 720px; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line); margin-top: 60px; padding: 32px 20px 26px; background: #0f1013;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.foot-brand img { border-radius: 6px; }
.foot-brand span { color: var(--muted); font-weight: 600; }
.foot-note { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 640px; }
.foot-nav { display: flex; gap: 18px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.foot-nav a:hover { color: var(--text); }
.copy { color: #6b7280; font-size: 12.5px; margin: 0; }