:root {
  --navy: #11284f;
  --sea: #2f6fed;
  --paper: #f7f9fc;
  --line: #d7dfeb;
  --ink: #1b2940;
  --muted: #617088;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Trebuchet MS", "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
.page { width: min(1880px, calc(100vw - 48px)); margin: 0 auto; padding: 1.2rem 0 3rem; }
.lang-block { display: none; }
.lang-block.active { display: block; }
.hero { border-radius: 28px; padding: 2rem 1.8rem 1.6rem; background: linear-gradient(135deg, rgba(16,33,65,0.94), rgba(23,65,141,0.92) 60%, rgba(143,179,255,0.90)); color: white; box-shadow: 0 28px 60px rgba(17, 40, 79, 0.24); }
.topline { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.brand { display: inline-flex; gap: .65rem; align-items: center; margin-bottom: 1rem; }
.brand img { border-radius: .55rem; }
.language-picker { display: inline-flex; gap: .45rem; align-items: center; color: white; }
.language-picker select { border: 1px solid rgba(255,255,255,.35); border-radius: .55rem; padding: .35rem .45rem; }
.badge { display: inline-block; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 4vw, 3.4rem); }
p, li { line-height: 1.65; }
.hero a { color: white; }
.hero-side { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25rem .75rem; margin: 1rem 0; padding: .9rem; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(10,18,36,.25); }
.section-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.section-nav a { display: inline-flex; align-items: center; padding: .45rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: white; text-decoration: none; }
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.card, .entry { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; box-shadow: 0 14px 30px rgba(17, 40, 79, .08); }
.wide { grid-column: 1 / -1; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .68rem .95rem; border-radius: .7rem; background: var(--sea); color: white; text-decoration: none; font-weight: 700; }
.meta { color: var(--muted); }
code { font-family: Consolas, "Courier New", monospace; background: #eef3fb; padding: .12rem .35rem; border-radius: .35rem; word-break: break-all; }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--line); padding: .55rem; text-align: left; vertical-align: top; }
pre { white-space: pre-wrap; background: #eef3fb; padding: 1rem; border-radius: .7rem; overflow: auto; }
footer { margin-top: 1.2rem; color: var(--muted); }
@media (max-width: 900px) { .page { width: calc(100vw - 24px); } .stack { grid-template-columns: 1fr; } .hero-side { grid-template-columns: 1fr; } }
