:root {
  --bg: #14121C;
  --surface: #1E1A2B;
  --surface2: #2A2440;
  --text: #F0EADC;
  --muted: #A79FB4;
  --gold: #E3B558;
  --gold-deep: #B08544;
  --outline: #4A4360;
  --amber: #F2BC45; --sapphire: #5E87F0; --ruby: #E96670; --emerald: #43BD84;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F7F2E7;
    --surface: #FFFBF2;
    --surface2: #ECE4D2;
    --text: #241F1A;
    --muted: #5C5346;
    --gold: #9A742A;
    --gold-deep: #7A5C20;
    --outline: #CDC2AB;
    --amber: #E8A926; --sapphire: #3E6DE0; --ruby: #D94B55; --emerald: #2FA26E;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.sans { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 22px; }
header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--outline);
}
header.site .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
header.site a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: bold; font-size: 1.05rem; letter-spacing: .4px; }
header.site nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
header.site nav a:hover { color: var(--gold); }
.hero { text-align: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: normal; }
.hero .online { letter-spacing: .55em; text-indent: .55em; color: var(--gold); font-size: .95rem; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; margin-top: 6px; }
.hero p.tag { color: var(--muted); margin-top: 18px; font-size: 1.15rem; font-style: italic; }
.trust { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: .95rem; }
.trust span::before { content: "◆ "; color: var(--gold); font-size: .8em; }
.cta { display: inline-block; margin-top: 34px; padding: 14px 34px; border-radius: 16px; background: var(--gold); color: #2A1E06; text-decoration: none; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; }
.cta.soon { background: var(--surface2); color: var(--muted); cursor: default; border: 1px solid var(--outline); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 40px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: 16px; padding: 22px; }
.card h3 { color: var(--gold); font-weight: 600; font-size: 1.02rem; margin-bottom: 8px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.card p { color: var(--muted); font-size: .95rem; }
main.doc { padding: 48px 0 72px; }
main.doc h1 { font-weight: normal; font-size: 2rem; margin-bottom: 4px; }
main.doc p.updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main.doc h2 { color: var(--gold); font-size: 1.15rem; margin: 34px 0 10px; font-weight: 600; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main.doc p, main.doc li { color: var(--text); font-size: 1.02rem; }
main.doc ul { padding-left: 22px; margin: 10px 0; }
main.doc a { color: var(--gold); }
footer.site { border-top: 1px solid var(--outline); padding: 26px 0 40px; color: var(--muted); font-size: .88rem; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
footer.site .wrap { display: flex; gap: 12px 26px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--gold); }
.emblem { width: 34px; height: 34px; }
.hero .emblem { width: 108px; height: 108px; }
