:root {
  --bg: #0b1224;
  --bg-2: #111a33;
  --card: #16213f;
  --line: #26335a;
  --ink: #e8edf7;
  --mute: #9aa6c0;
  --pink: #f472b6;
  --blue: #60a5fa;
  --grad: linear-gradient(120deg, #f472b6, #a78bfa 50%, #60a5fa);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8; font-size: 16px;
}
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,18,36,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.brand small { display: block; font-size: 10px; letter-spacing: .2em; color: var(--pink); line-height: 1; }
.site-header nav { display: flex; gap: 18px; font-size: 14px; }
.site-header nav a { color: var(--mute); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .site-header nav a:not(.nav-cta) { display: none; } }
.nav-cta { color: #0b1224 !important; background: var(--pink); padding: 6px 14px; border-radius: 999px; font-weight: 700; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--mute); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
footer a { color: var(--mute); }

main.wrap { max-width: 820px; padding-top: 38px; padding-bottom: 56px; overflow-wrap: anywhere; }
h1 { font-size: clamp(26px, 5vw, 42px); line-height: 1.35; margin: 6px 0 12px; }
h2 { margin: 44px 0 12px; scroll-margin-top: 76px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
h3 { margin: 24px 0 6px; }
p { margin: 0 0 14px; }
li + li { margin-top: 6px; }
ul, ol { padding-inline-start: 1.5em; }
.eyebrow { color: var(--pink); font-weight: 700; margin-bottom: 6px; }
.meta, .source, figcaption { color: var(--mute); font-size: 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
ol.panel { padding-inline-start: 2.6em; }
.panel p, .panel ul { margin: 0; }
figure { margin: 20px 0; }
figure img { display: block; width: 100%; height: auto; max-width: 600px; }
figcaption { margin-top: 6px; }
.article-list { list-style: none; padding: 0; }
.article-list h2 { margin-top: 0; border: 0; }
