:root {
  --bg: #07090d;
  --bg-2: #0d1118;
  --panel: #12171f;
  --panel-2: #171d27;
  --line: #232a36;
  --text: #f5f7fb;
  --muted: #9aa3b5;
  --soft: #c9d0dc;
  --lime: #b6e600;
  --lime-2: #c8f51a;
  --orange: #ff8a1a;
  --radius: 22px;
  --header: 72px;
  --sidebar: 268px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 12px; top: 12px; z-index: 80; background: #fff; color: #000; padding: 8px; }

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  background: rgba(7, 9, 13, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #11161e;
}
.logo { justify-self: start; }
.logo img { height: 42px; width: auto; }
.header-right { justify-self: end; }
.top-nav {
  display: flex; gap: 6px;
  background: #0b0f15;
  border-radius: 999px;
  padding: 4px;
}
.top-nav a {
  color: var(--soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.top-nav a.is-active { background: #1c2430; color: #fff; }
.header-right { display: flex; align-items: center; gap: 10px; }
.chip {
  width: 42px; height: 42px; border-radius: 999px;
  background: #1a212c; color: var(--soft);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  border: 1px solid #2a3342;
}
.chip.locale { width: auto; padding: 0 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px;
  font-weight: 800; letter-spacing: .01em;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary {
  background: var(--lime);
  color: #111;
  box-shadow: 0 8px 22px rgba(182, 230, 0, .22);
}
.btn-secondary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 138, 26, .22);
}
.btn-ghost {
  background: #1c2430;
  color: #fff;
}
.btn-md { height: 42px; padding: 0 22px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.menu-btn {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: #1a212c; border: 1px solid #2a3342; color: #fff;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  min-height: calc(100vh - var(--header));
}
.sidebar {
  position: sticky; top: var(--header);
  height: calc(100vh - var(--header));
  overflow: auto;
  padding: 18px 14px 40px;
  border-right: 1px solid #12171f;
  background: #090c11;
}
.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}
.side-brand { display: flex; gap: 10px; align-items: center; }
.avatar {
  width: 38px; height: 38px; border-radius: 999px;
  background: linear-gradient(145deg, #ffb347, #ff7a18);
  display: grid; place-items: center; font-weight: 800;
}
.side-brand strong { display: block; font-size: 14px; }
.side-brand span { color: var(--muted); font-size: 12px; }
.progress {
  margin-top: 12px; height: 7px; background: #1c2430; border-radius: 99px; overflow: hidden;
}
.progress b { display: block; height: 100%; width: 72%; background: var(--lime); }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 14px;
  color: var(--soft); font-size: 14px; font-weight: 600;
}
.side-nav a:hover, .side-nav a.is-active { background: #151b24; color: #fff; }
.side-nav svg { opacity: .8; flex: 0 0 auto; }

.main { padding: 22px 28px 80px; max-width: 1080px; }
.hero, .card, .cta-box, .faq details, .info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero { padding: 34px 36px 32px; }
.kicker { display: none !important; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
h2 { font-size: 28px; line-height: 1.2; margin: 8px 0 14px; letter-spacing: -.02em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead, .prose p, .prose li { color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.banner {
  margin-top: 18px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.banner img { width: 100%; height: auto; object-fit: cover; }

.section { margin-top: 28px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li { margin: 6px 0; }
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.info-card { padding: 20px; }
.info-card p { color: var(--muted); }

.faq details { padding: 4px 18px; margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-weight: 700; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "▾"; color: var(--muted); }
.faq details[open] summary:after { transform: rotate(180deg); }
.faq details p { color: var(--soft); padding: 0 0 16px; }

.cta-box { padding: 28px; text-align: center; }
.cta-box p { color: var(--muted); margin-bottom: 16px; }

.footer {
  border-top: 1px solid #151b24;
  background: #080b10;
  padding: 28px 28px 40px;
}
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer h4 { margin-bottom: 12px; font-size: 15px; }
.footer a, .footer p { color: var(--muted); font-size: 14px; display: block; margin: 7px 0; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  background: #151b24; display: grid; place-items: center; color: #fff;
}
.legal { margin-top: 22px; color: #7e8696; font-size: 13px; }

.overlay, .cookie {
  position: fixed; z-index: 60;
}
.overlay {
  inset: 0; background: rgba(0,0,0,.62);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.overlay.show { display: flex; }
.modal {
  width: min(460px, 100%);
  background: #151b26;
  border: 1px solid #2a3342;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
}
.modal img { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 22px; }
.modal p { color: var(--soft); margin: 10px 0 20px; }
.modal-actions { display: flex; justify-content: center; gap: 10px; }

.cookie {
  left: 16px; right: 16px; bottom: 16px;
  background: #151b24;
  border: 1px solid #2a3342;
  border-radius: 22px;
  padding: 16px 18px;
  display: none;
  align-items: center; justify-content: space-between; gap: 16px;
}
.cookie.show { display: flex; }
.cookie p { color: var(--soft); font-size: 14px; }
.cookie a { color: var(--lime); text-decoration: underline; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; position: fixed; z-index: 35; inset: var(--header) 0 0 auto; width: min(320px, 88vw); border-left: 1px solid var(--line); }
  .sidebar.open { display: block; }
  .menu-btn { display: grid; place-items: center; }
  .top-nav { display: none; }
  .main { padding: 16px 14px 70px; }
  .hero { padding: 22px 18px; }
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
}
