:root {
  --bg: #07111f;
  --panel: #0f1f35;
  --panel-soft: #132843;
  --primary: #38bdf8;
  --accent: #facc15;
  --text: #e5edf7;
  --muted: #9fb0c7;
  --border: rgba(255,255,255,.12);
  --shadow: 0 22px 60px rgba(0,0,0,.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(250,204,21,.14), transparent 34%),
    var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7,17,31,.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1040px, calc(100% - 32px));
  margin: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 150px;
  max-height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.article-wrap {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto 60px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.article-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px;
}

.article-label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.35);
  color: #bae6fd;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.article-card p {
  color: var(--muted);
  margin: 0 0 18px;
  text-align: justify;
}

.article-card h2 {
  font-size: 28px;
  margin: 34px 0 14px;
  line-height: 1.25;
}

.article-card ul {
  color: var(--muted);
  padding-left: 22px;
}

.article-card li {
  margin-bottom: 10px;
}

.note-box {
  margin: 28px 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(250,204,21,.08);
  border: 1px solid rgba(250,204,21,.28);
}

.note-box strong {
  color: var(--accent);
}

.related {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.related a {
  display: block;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}

.related a:hover {
  border-color: rgba(56,189,248,.45);
}

.back-home {
  display: inline-flex;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #7dd3fc);
  color: #07111f;
  font-weight: 800;
}

.site-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .article-card {
    padding: 26px;
  }

  h1 {
    letter-spacing: -1px;
  }
}