:root {
  color-scheme: dark;
  --bg: #0d0f1a;
  --surface: #171a2a;
  --surface-2: #211b3e;
  --lime: #c7ff4a;
  --purple: #8b5cf6;
  --coral: #ff5c6c;
  --text: #f7f7fb;
  --muted: #969aad;
  --line: rgba(255,255,255,.08);
  --shell: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(139,92,246,.18), transparent 28rem),
    radial-gradient(circle at 4% 42%, rgba(199,255,74,.07), transparent 25rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lime); text-underline-offset: .2em; }
a:hover { color: #dcff8c; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(13,15,26,.83);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 850; font-size: 1.08rem; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 8px 28px rgba(139,92,246,.24); }
.header-actions, nav { display: flex; align-items: center; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a[aria-current="page"] { color: var(--lime); }
.language select {
  min-height: 40px; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 34px 0 12px; font: inherit; font-size: .86rem;
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--lime); color: var(--bg); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
main { padding-block: 72px 96px; }
.hero { min-height: 58vh; display: grid; align-content: center; padding-block: 60px; }
.eyebrow { color: var(--lime); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; margin: 14px 0 20px; font-size: clamp(2.7rem, 7vw, 5.7rem); }
.doc-title { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.meta { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.accent { color: var(--lime); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.link-card, .support-card, .doc-section, .contact-card {
  border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(33,27,62,.82), rgba(23,26,42,.92));
  box-shadow: 0 24px 64px rgba(0,0,0,.24);
}
.link-card { display: block; min-height: 220px; padding: 28px; color: var(--text); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.link-card:hover { transform: translateY(-4px); border-color: rgba(199,255,74,.45); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(199,255,74,.12); color: var(--lime); font-size: 1.35rem; }
.link-card h2 { margin: 32px 0 8px; font-size: 1.35rem; }
.link-card p { margin: 0; color: var(--muted); }
.doc-header { max-width: 850px; margin-bottom: 54px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; align-items: start; }
.doc-content { display: grid; gap: 16px; }
.doc-section { padding: clamp(22px, 4vw, 36px); }
.doc-section h2 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.section-number { flex: 0 0 auto; color: var(--lime); font-size: .78rem; letter-spacing: .08em; padding-top: .35em; }
.doc-section p:last-child, .doc-section ul:last-child { margin-bottom: 0; }
.doc-section p, .doc-section li { color: #c9cad4; }
.doc-section ul { padding-left: 1.2rem; }
.doc-section li + li { margin-top: 8px; }
.toc { position: sticky; top: 104px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(23,26,42,.72); }
.toc strong { display: block; margin-bottom: 12px; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.toc a:hover { color: var(--lime); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.support-card { padding: 28px; }
.support-card h2 { margin: 0 0 10px; font-size: 1.2rem; }
.support-card p { margin: 0; color: var(--muted); }
.contact-card { margin-top: 28px; padding: clamp(26px, 5vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-color: rgba(199,255,74,.28); }
.contact-card h2 { margin: 0 0 8px; }
.contact-card p { margin: 0; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 15px; background: var(--lime); color: var(--bg); font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 34px rgba(199,255,74,.14); }
.button:hover { color: var(--bg); background: #d7ff7c; }
footer { border-top: 1px solid var(--line); background: rgba(9,10,18,.7); }
.footer-inner { min-height: 116px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; padding-block: 14px; }
  .header-actions { align-items: flex-end; flex-direction: column-reverse; gap: 8px; }
  nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  nav a { font-size: .8rem; }
  .language select { min-height: 34px; }
  main { padding-block: 48px 72px; }
  .card-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 0; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-card, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding-block: 28px; }
}
@media (max-width: 470px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .brand span { display: none; }
  .header-inner { min-height: 70px; }
  nav { gap: 9px; }
  h1 { font-size: 2.55rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
