:root {
    color-scheme: dark;
    --bg: #07101f;
    --bg-raised: #0d1a2e;
    --surface: #142540;
    --text: #f5f7fa;
    --muted: #a7b4c7;
    --subtle: #8698af;
    --accent: #b6ff45;
    --border: rgba(167, 180, 199, .2);
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --body: 'Bricolage Grotesque', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.65; }
a { color: inherit; }

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(7, 16, 31, .9);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    min-height: 76px;
    padding: 12px max(24px, calc((100vw - 1180px) / 2));
    position: sticky;
    top: 0;
    z-index: 10;
}
.brand img { display: block; height: 40px; width: auto; }
.header-actions, .languages { align-items: center; display: flex; gap: 14px; }
.languages { border-right: 1px solid var(--border); padding-right: 14px; }
.languages a { color: var(--subtle); font: 700 12px var(--mono); text-decoration: none; }
.languages a.active { color: var(--accent); }
.login { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }

.button {
    align-items: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 7px;
    color: #07101f;
    display: inline-flex;
    font-weight: 800;
    gap: 16px;
    justify-content: center;
    padding: 14px 22px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.button:hover { box-shadow: 0 12px 32px rgba(182, 255, 69, .18); transform: translateY(-2px); }
.button-small { font-size: 14px; padding: 9px 15px; }

article { overflow: hidden; position: relative; }
.hero-glow { background: radial-gradient(circle, rgba(182, 255, 69, .15), transparent 68%); height: 520px; position: absolute; right: -160px; top: -180px; width: 620px; }
.article-shell, .section-shell { margin: 0 auto; max-width: 980px; padding: 0 28px; position: relative; }
.breadcrumbs { color: var(--subtle); display: flex; font: 500 12px var(--mono); gap: 10px; padding-top: 36px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.article-header { max-width: 850px; padding: 76px 0 54px; }
.eyebrow { color: var(--accent); font: 700 12px var(--mono); letter-spacing: .14em; margin: 0 0 16px; text-transform: uppercase; }
h1 { font-family: 'Anton', Impact, sans-serif; font-size: clamp(48px, 8vw, 88px); font-weight: 400; letter-spacing: -.02em; line-height: .98; margin: 0; max-width: 900px; text-transform: uppercase; }
.intro { color: #c9d3e1; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.55; margin: 30px 0 0; max-width: 820px; }
.article-content, .faq-list { border-top: 1px solid var(--border); padding: 24px 0 76px; }
.article-content section { display: grid; gap: 18px 48px; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.6fr); padding: 44px 0; }
.article-content section + section, .faq-list section + section { border-top: 1px solid var(--border); }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0; }
.article-content p, .article-content ul { grid-column: 2; margin: 0; }
.article-content p + p { margin-top: -6px; }
.article-content ul { color: var(--muted); list-style: none; padding: 4px 0 0; }
.article-content li { padding: 5px 0 5px 26px; position: relative; }
.article-content li::before { color: var(--accent); content: '✓'; font-weight: 800; left: 0; position: absolute; }
.article-content p, .faq-list p { color: var(--muted); font-size: 17px; }

.faq-list section { padding: 32px 0; }
.faq-list h2 { font-size: 25px; margin-bottom: 12px; }
.faq-list p { margin: 0; max-width: 760px; }

.guide-index { background: var(--bg-raised); border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); padding: 72px 0; }
.guide-index h2 { color: var(--muted); font-size: 19px; font-weight: 500; }
.guide-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.guide-grid a { align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; display: grid; gap: 15px; grid-template-columns: auto 1fr auto; padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-grid a:hover { border-color: rgba(182, 255, 69, .55); transform: translateY(-2px); }
.guide-grid a.current { background: rgba(182, 255, 69, .06); border-color: rgba(182, 255, 69, .38); }
.guide-grid span { color: var(--accent); font: 700 11px var(--mono); }
.guide-grid strong { font-size: 16px; }
.guide-grid i { color: var(--accent); font-style: normal; }

.cta { align-items: center; display: flex; gap: 40px; justify-content: space-between; margin: 0 auto; max-width: 1036px; padding: 82px 28px; }
.cta h2 { font-size: clamp(30px, 5vw, 48px); max-width: 680px; }
.cta p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 680px; }
.cta .button { flex: 0 0 auto; }

footer { border-top: 1px solid var(--border); color: var(--subtle); display: flex; font: 500 12px var(--mono); gap: 20px; justify-content: space-between; margin: 0 auto; max-width: 1180px; padding: 28px; }
footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 720px) {
    .site-header { min-height: 64px; padding: 10px 18px; }
    .brand img { height: 32px; }
    .login, .button-small { display: none; }
    .languages { border: 0; padding: 0; }
    .article-shell, .section-shell { padding-left: 20px; padding-right: 20px; }
    .article-header { padding: 54px 0 40px; }
    .article-content section { display: block; padding: 34px 0; }
    .article-content h2 { margin-bottom: 18px; }
    .article-content p + p { margin-top: 14px; }
    .article-content ul { margin-top: 16px; }
    .guide-grid { grid-template-columns: 1fr; }
    .cta { align-items: flex-start; flex-direction: column; padding: 60px 20px; }
    footer { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
}
