:root {
  --bg: #03060d;
  --panel: rgba(12, 20, 34, .82);
  --text: #eef6ff;
  --muted: #a9b8c8;
  --cyan: #36d8ff;
  --amber: #ffb23f;
  --line: rgba(125, 210, 255, .24);
  --radius: 8px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 4%, rgba(54, 216, 255, .18), transparent 30rem),
    radial-gradient(circle at 84% 12%, rgba(255, 78, 95, .14), transparent 26rem),
    linear-gradient(180deg, #03060d, #07101d 48%, #020409);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.38) 1px, transparent 1px), linear-gradient(rgba(54,216,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(54,216,255,.035) 1px, transparent 1px);
  background-size: 130px 130px, 54px 54px, 54px 54px;
  opacity: .42;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { position: relative; z-index: 1; }
.container { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(3, 6, 13, .82); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.brand-mark { width: 34px; height: 34px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(54,216,255,.26), rgba(255,178,63,.18)); clip-path: polygon(50% 0, 100% 28%, 88% 100%, 12% 100%, 0 28%); box-shadow: 0 0 32px rgba(54,216,255,.22); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(54,216,255,.08); color: var(--text); cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 5px auto; background: var(--cyan); box-shadow: 0 0 18px rgba(54,216,255,.4); transition: transform .2s ease, opacity .2s ease; }
.nav-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 800; }
.nav-links a:hover { color: var(--cyan); }
.article-hero { padding: 70px 0 36px; }
.eyebrow { color: var(--amber); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; }
h1 { max-width: 920px; margin: 14px 0 18px; font-size: clamp(2.6rem, 8vw, 5.8rem); line-height: .9; text-transform: uppercase; letter-spacing: 0; }
.dek { max-width: 780px; color: #d7e4f2; font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.75; }
.hero-image { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: 0 24px 80px rgba(0,0,0,.36), 0 0 32px rgba(54,216,255,.16); }
.hero-image img { width: 100%; max-height: 620px; aspect-ratio: 1 / 1; object-fit: contain; padding: 18px; background: radial-gradient(circle at 50% 42%, rgba(54,216,255,.14), rgba(3,6,13,.9) 64%); filter: drop-shadow(0 0 22px rgba(54,216,255,.16)); }
.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; padding: 38px 0 76px; }
article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: clamp(22px, 4vw, 44px); backdrop-filter: blur(14px); }
article h2 { margin: 34px 0 12px; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.05; text-transform: uppercase; }
article h2:first-child { margin-top: 0; }
article p, article li { color: var(--muted); font-size: 1.02rem; line-height: 1.78; }
article strong { color: var(--text); }
ul { padding-left: 20px; }
.sidebar { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 20, 34, .72); padding: 20px; position: sticky; top: 94px; }
.sidebar h2 { margin: 0 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.sidebar p { color: var(--muted); line-height: 1.62; margin: 0 0 16px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 16px; border-radius: var(--radius); border: 1px solid rgba(255,178,63,.42); color: var(--text); background: rgba(255,178,63,.08); text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; }
.related { margin-top: 18px; display: grid; gap: 10px; }
.related a { color: var(--cyan); text-decoration: none; font-weight: 800; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 34px 0 44px; }
footer p { line-height: 1.66; margin: 0; }
.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(54,216,255,.5); background: rgba(3,6,13,.82); color: var(--cyan); box-shadow: 0 0 32px rgba(54,216,255,.22); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (max-width: 820px) {
  .nav { align-items: stretch; flex-direction: row; flex-wrap: wrap; padding: 14px 0; }
  .brand { flex: 1; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 10px 0 2px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; border-top: 1px solid rgba(125,210,255,.14); font-size: .74rem; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
