:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
  background: #0b1018;
  color: #edf3fb;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 15% 0, #17254a, transparent 34rem), #0b1018; }
main { width: min(920px, calc(100% - 32px)); margin: auto; padding: 64px 0; }
.language-switcher { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 22px; }
.language-switcher a { padding: 5px 9px; border: 1px solid #3b4b66; border-radius: 999px; color: #afbdd0; font-size: 13px; text-decoration: none; }
.language-switcher a.active { border-color: #7f9fff; background: #263b72; color: white; }
header { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
header img { width: 72px; height: 72px; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 54px); letter-spacing: -.04em; }
h2 { margin: 0 0 10px; font-size: 21px; }
p, li { color: #afbdd0; line-height: 1.75; }
.lede { margin: 8px 0 0; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { padding: 22px; border: 1px solid #2b3850; border-radius: 18px; background: rgba(20, 28, 41, .92); }
.card p { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 16px; border: 1px solid #537de4; border-radius: 11px; background: #365fc8; color: white; font-weight: 750; text-decoration: none; }
.button.secondary { border-color: #3b4b66; background: #1c2839; }
section + section { margin-top: 22px; }
footer { margin-top: 34px; color: #7f8da1; font-size: 13px; }
a { color: #9bb5ff; }
code { color: #c9d7ff; }
@media (max-width: 540px) { main { padding-top: 32px; } header { align-items: flex-start; } }
