:root {
  --ink: #08120f;
  --ink-soft: #0f211b;
  --ink-card: #132820;
  --paper: #f1efe5;
  --paper-deep: #e6e2d4;
  --text: #f5f4ec;
  --muted: #a5b1aa;
  --accent: #b8ff6d;
  --accent-2: #65dec6;
  --line: rgba(255, 255, 255, .12);
  --dark-line: rgba(8, 18, 15, .14);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(184, 255, 109, .55); color: var(--text); font-weight: 800; letter-spacing: -.08em; }
.brand-mark span { color: var(--accent); }
.brand-name b { color: var(--accent); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); font-size: 13px; color: #c8d0cc; }
.site-nav > a:not(.nav-pill) { position: relative; }
.site-nav > a:not(.nav-pill)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--accent); transition: right .25s ease; }
.site-nav > a:not(.nav-pill):hover::after { right: 0; }
.nav-pill { border: 1px solid rgba(184, 255, 109, .4); padding: 9px 16px; color: var(--accent); transition: background .2s ease, color .2s ease; }
.nav-pill:hover { background: var(--accent); color: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 790px; overflow: hidden; background: var(--ink); }
.hero-grid { position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, black 18%, black 82%, transparent); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .2; }
.hero-glow-one { width: 520px; height: 520px; right: 4%; top: 10%; background: radial-gradient(circle, rgba(101,222,198,.35), transparent 68%); }
.hero-glow-two { width: 420px; height: 420px; left: -14%; bottom: -20%; background: radial-gradient(circle, rgba(184,255,109,.26), transparent 67%); }
.hero-inner { position: relative; z-index: 2; min-height: 790px; padding-top: 154px; padding-bottom: 92px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .82fr); align-items: center; gap: clamp(58px, 8vw, 112px); }
.eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 10px; color: var(--accent-2); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: var(--accent-2); }
.hero h1 { margin: 0; font-size: clamp(54px, 5.7vw, 84px); line-height: 1.08; letter-spacing: -.065em; font-weight: 670; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #b5c0ba; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 200px; padding: 14px 18px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); box-shadow: 0 12px 35px rgba(184,255,109,.11); }
.button-primary span { font-size: 18px; }
.text-link { color: #dbe1de; font-size: 13px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 7px; color: var(--accent-2); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.hero-stats { display: flex; gap: 0; margin: 58px 0 0; }
.hero-stats div { min-width: 115px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats dt { color: var(--text); font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 650; }
.hero-stats dd { margin: 2px 0 0; color: #7f8f87; font-size: 11px; }

.signal-panel { position: relative; border: 1px solid rgba(184,255,109,.22); background: rgba(10,27,21,.82); box-shadow: 0 40px 100px rgba(0,0,0,.34); backdrop-filter: blur(12px); transform: perspective(1200px) rotateY(-2deg); }
.signal-panel::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; z-index: -1; border: 1px solid rgba(101,222,198,.12); }
.panel-topbar { min-height: 48px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); color: #819089; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: .08em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #33453e; }
.window-dots i:first-child { background: var(--accent-2); }
.live-label { justify-self: end; display: flex; align-items: center; gap: 7px; color: var(--accent); }
.live-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(184,255,109,.1); }
.panel-body { padding: 28px 26px 24px; }
.metric-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.metric-row span { display: block; color: #76867e; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.metric-row strong { display: block; margin-top: 7px; font-size: 40px; line-height: 1; letter-spacing: -.05em; font-weight: 560; }
.metric-row strong small { color: var(--accent); font-size: 15px; }
.trend { text-align: right; }
.trend b { display: block; margin-top: 7px; color: var(--accent-2); font-size: 14px; font-weight: 600; }
.chart { height: 142px; margin-top: 26px; padding: 16px 0 0; display: flex; align-items: end; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 100% 33.333%; }
.chart span { flex: 1; min-width: 3px; background: linear-gradient(to top, rgba(101,222,198,.16), var(--accent-2)); opacity: .72; }
.chart span:nth-child(1) { height: 35%; }.chart span:nth-child(2) { height: 48%; }.chart span:nth-child(3) { height: 42%; }
.chart span:nth-child(4) { height: 63%; }.chart span:nth-child(5) { height: 55%; }.chart span:nth-child(6) { height: 74%; }
.chart span:nth-child(7) { height: 67%; }.chart span:nth-child(8) { height: 82%; }.chart span:nth-child(9) { height: 78%; }
.chart span:nth-child(10) { height: 92%; }.chart span:nth-child(11) { height: 84%; }.chart span:nth-child(12) { height: 96%; }
.chart span:nth-last-child(-n+3) { background: linear-gradient(to top, rgba(184,255,109,.2), var(--accent)); opacity: 1; }
.signal-list { margin-top: 20px; }
.signal-list > div { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #abb7b0; font-size: 11px; }
.signal-list > div > span { display: flex; align-items: center; gap: 9px; }
.signal-list b { color: #dbe3df; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 500; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot-green { background: var(--accent); }.dot-teal { background: var(--accent-2); }.dot-amber { background: #ffd673; }
.terminal-line { margin-top: 22px; padding: 11px 13px; background: rgba(0,0,0,.2); color: #798a81; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.terminal-line span { margin-right: 8px; color: var(--accent); }
.cursor { display: inline-block; width: 6px; height: 12px; margin-left: 5px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.panel-orbit { position: absolute; border: 1px solid rgba(184,255,109,.16); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 58px; height: 58px; top: -29px; right: -29px; }
.orbit-two { width: 14px; height: 14px; top: -7px; right: -7px; background: var(--accent); box-shadow: 0 0 25px rgba(184,255,109,.4); }
.scroll-note { position: absolute; z-index: 2; right: 28px; bottom: 110px; display: flex; align-items: center; gap: 12px; color: #5f7168; font-size: 8px; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-note span { display: block; width: 1px; height: 45px; background: linear-gradient(var(--accent), transparent); }

.articles-section { padding: 124px 0 136px; background: var(--paper); color: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-index { margin: 0 0 13px; color: #4b7c68; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.section-heading h2, .about-copy h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.15; letter-spacing: -.055em; }
.section-heading > p { max-width: 360px; margin: 0 0 7px; color: #59645e; font-size: 14px; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(330px, .76fr); gap: 22px; }
.featured-article { min-width: 0; display: grid; grid-template-rows: 280px auto; border: 1px solid var(--dark-line); background: #f7f5ed; transition: transform .25s ease, box-shadow .25s ease; }
.featured-article:hover { transform: translateY(-5px); box-shadow: 0 25px 60px rgba(8,18,15,.1); }
.article-visual { position: relative; overflow: hidden; background: var(--ink-soft); color: var(--text); }
.visual-observe { background-image: radial-gradient(circle at 75% 45%, rgba(101,222,198,.16), transparent 33%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 42px 42px, 42px 42px; }
.visual-label { position: absolute; top: 24px; left: 26px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .12em; }
.visual-code { position: absolute; right: 25px; bottom: 21px; color: #819089; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .12em; }
.radar { position: absolute; width: 184px; height: 184px; top: 50%; left: 50%; border: 1px solid rgba(184,255,109,.35); border-radius: 50%; transform: translate(-50%, -50%); }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(184,255,109,.2); }
.radar::before { left: 50%; top: -28px; bottom: -28px; width: 1px; }
.radar::after { top: 50%; left: -28px; right: -28px; height: 1px; }
.radar span { position: absolute; inset: 22%; border: 1px solid rgba(101,222,198,.24); border-radius: 50%; }
.radar span:nth-child(2) { inset: 40%; }
.radar span:nth-child(3) { inset: -18%; border-color: rgba(255,255,255,.06); }
.radar span:nth-child(4) { inset: 49%; background: var(--accent); border: 0; box-shadow: 0 0 18px var(--accent); }
.radar i { position: absolute; left: 50%; top: 50%; width: 50%; height: 1px; transform-origin: left center; transform: rotate(-34deg); background: linear-gradient(90deg, var(--accent), transparent); }
.featured-content { padding: 28px 30px 30px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #6f7973; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.article-meta span { padding: 4px 8px; background: #dfead9; color: #295642; font-weight: 700; }
.article-meta i { padding-left: 10px; border-left: 1px solid var(--dark-line); font-style: normal; }
.featured-content h3 { max-width: 650px; margin: 20px 0 13px; font-size: clamp(24px, 2.5vw, 35px); line-height: 1.32; letter-spacing: -.035em; }
.featured-content p { max-width: 640px; margin: 0; color: #59645e; font-size: 14px; }
.read-link { margin-top: 25px; display: inline-flex; align-items: center; gap: 9px; color: #205943; font-size: 12px; font-weight: 750; }
.read-link b { font-size: 16px; transition: transform .2s ease; }
.featured-article:hover .read-link b { transform: translate(3px, -3px); }
.article-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.article-card { position: relative; min-height: 260px; padding: 27px 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--dark-line); background: transparent; transition: background .25s ease, color .25s ease, transform .25s ease; }
.article-card:hover { background: var(--ink-soft); color: var(--text); transform: translateY(-4px); }
.article-number { color: #748078; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.article-card .article-meta span { background: #dfe6dc; }
.article-card:hover .article-meta { color: #89978f; }
.article-card:hover .article-meta span { background: rgba(184,255,109,.12); color: var(--accent); }
.article-card-body h3 { max-width: 440px; margin: 16px 35px 10px 0; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.article-card-body p { margin: 0 35px 0 0; color: #647069; font-size: 13px; }
.article-card:hover p { color: #9eaaa4; }
.card-arrow { position: absolute; right: 27px; bottom: 24px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--dark-line); font-size: 16px; transition: transform .2s ease, border-color .2s ease; }
.article-card:hover .card-arrow { transform: translate(3px, -3px); border-color: rgba(184,255,109,.35); color: var(--accent); }

.topics-section { padding: 124px 0 132px; background: #0b1914; }
.section-heading-dark > p { color: #8d9b94; }
.section-heading-dark .section-index { color: var(--accent-2); }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-card { position: relative; min-height: 350px; padding: 25px 25px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.topic-card:hover { background: rgba(184,255,109,.035); }
.topic-id { color: #66776e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.topic-icon { position: relative; width: 72px; height: 72px; margin: 48px 0 38px; border: 1px solid rgba(184,255,109,.28); }
.icon-brackets::before, .icon-brackets::after { position: absolute; top: 18px; color: var(--accent); font: 30px/1 ui-monospace, monospace; }
.icon-brackets::before { content: "<"; left: 13px; }.icon-brackets::after { content: ">"; right: 13px; }
.icon-brackets i { position: absolute; width: 1px; height: 38px; top: 16px; left: 35px; background: var(--accent-2); transform: rotate(18deg); }
.icon-cloud::before { content: ""; position: absolute; width: 38px; height: 20px; left: 16px; top: 26px; border: 1px solid var(--accent-2); border-radius: 20px; }
.icon-cloud i, .icon-cloud b { position: absolute; border-radius: 50%; background: var(--ink-soft); border: 1px solid var(--accent-2); }
.icon-cloud i { width: 23px; height: 23px; left: 23px; top: 17px; }.icon-cloud b { width: 16px; height: 16px; right: 16px; top: 25px; }
.icon-data i, .icon-data b, .icon-data em { position: absolute; left: 18px; width: 34px; height: 12px; border: 1px solid var(--accent); border-radius: 50%; }
.icon-data i { top: 15px; background: rgba(184,255,109,.1); }.icon-data b { top: 29px; }.icon-data em { top: 43px; }
.icon-pulse i { position: absolute; left: 9px; top: 33px; width: 52px; height: 1px; background: var(--accent-2); }
.icon-pulse i::after { content: ""; position: absolute; left: 16px; top: -12px; width: 20px; height: 20px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(135deg) skew(17deg, 17deg); }
.topic-card h3 { margin: 0 0 11px; font-size: 21px; letter-spacing: -.03em; }
.topic-card p { min-height: 48px; margin: 0; color: #8f9d95; font-size: 13px; }
.topic-card ul { margin: 25px 0 0; padding: 0; display: flex; gap: 8px; list-style: none; }
.topic-card li { padding: 4px 8px; border: 1px solid var(--line); color: #76877e; font: 8px/1.4 ui-monospace, monospace; text-transform: uppercase; }

.about-section { padding: 130px 0; background: var(--paper); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 10vw, 150px); align-items: center; }
.about-mark { position: relative; aspect-ratio: 1; max-width: 410px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(8,18,15,.18); background-image: radial-gradient(circle at center, rgba(8,18,15,.06) 1px, transparent 1px); background-size: 12px 12px; }
.about-mark::before, .about-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(8,18,15,.09); }
.about-mark::before { inset: 15%; }.about-mark::after { inset: 31%; background: var(--ink); }
.about-mark > span { position: relative; z-index: 2; color: var(--paper); font-size: clamp(52px, 7vw, 92px); font-weight: 800; letter-spacing: -.1em; }
.about-mark > i { position: absolute; z-index: 3; right: 1%; bottom: 15%; padding: 8px 11px; background: var(--accent); color: var(--ink); font: 700 8px/1.5 ui-monospace, monospace; letter-spacing: .1em; }
.about-copy .section-index { margin-bottom: 20px; }
.about-copy h2 { margin-bottom: 29px; }
.about-copy > p:not(.section-index) { max-width: 650px; color: #55615a; font-size: 15px; line-height: 1.9; }
.principles { margin-top: 35px; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--dark-line); }
.principles span { font-size: 11px; font-weight: 650; }
.principles b { display: block; margin-bottom: 8px; color: #4b7c68; font: 9px ui-monospace, monospace; }

.site-footer { padding: 64px 0 24px; background: #06100c; }
.footer-main { padding-bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-brand { margin-bottom: 13px; }
.footer-main p { margin: 0; color: #718178; font-size: 11px; letter-spacing: .08em; }
.footer-main nav { display: flex; gap: 32px; color: #a8b4ae; font-size: 12px; }
.footer-main nav a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #5f7067; font: 9px/1.5 ui-monospace, monospace; letter-spacing: .06em; }

/* Article pages */
.article-page { background: var(--paper); color: var(--ink); }
.article-page .site-header { position: relative; background: var(--ink); }
.article-page .article-hero { position: relative; overflow: hidden; padding: 100px 0 82px; background: var(--ink); color: var(--text); }
.article-page .article-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -80px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(101,222,198,.18), transparent 68%); }
.breadcrumb { position: relative; z-index: 2; margin: 0 0 34px; color: #7f9188; font: 10px ui-monospace, monospace; letter-spacing: .08em; }
.breadcrumb a { color: var(--accent-2); }
.article-title-wrap { position: relative; z-index: 2; max-width: 870px; }
.article-title-wrap .article-meta { color: #7f9188; }
.article-title-wrap .article-meta span { background: rgba(184,255,109,.1); color: var(--accent); }
.article-title-wrap h1 { margin: 24px 0 24px; font-size: clamp(40px, 6vw, 72px); line-height: 1.15; letter-spacing: -.055em; }
.article-title-wrap > p { max-width: 720px; margin: 0; color: #aebbb4; font-size: 17px; line-height: 1.85; }
.article-layout { padding: 80px 0 120px; display: grid; grid-template-columns: minmax(0, 740px) 220px; justify-content: space-between; gap: 80px; align-items: start; }
.article-prose { font-size: 16px; line-height: 1.95; }
.article-prose > p:first-child { margin-top: 0; font-size: 19px; color: #34453d; }
.article-prose h2 { margin: 58px 0 18px; font-size: 29px; line-height: 1.4; letter-spacing: -.035em; }
.article-prose h3 { margin: 35px 0 12px; font-size: 20px; }
.article-prose p { margin: 0 0 22px; color: #46544d; }
.article-prose ul, .article-prose ol { margin: 0 0 25px; padding-left: 22px; color: #46544d; }
.article-prose li { margin: 8px 0; padding-left: 5px; }
.article-prose code { padding: 2px 6px; background: #dfe5db; color: #174f3b; font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; }
.article-prose blockquote { margin: 36px 0; padding: 22px 26px; border-left: 3px solid #5b9079; background: #e7e5da; }
.article-prose blockquote p { margin: 0; color: #283a32; font-size: 17px; font-weight: 600; }
.code-block { margin: 30px 0; padding: 24px; overflow-x: auto; background: var(--ink-soft); color: #c5d2cb; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-block .code-accent { color: var(--accent); }
.article-aside { position: sticky; top: 28px; padding-left: 22px; border-left: 1px solid var(--dark-line); }
.article-aside strong { display: block; margin-bottom: 15px; color: #3c6352; font: 10px ui-monospace, monospace; letter-spacing: .1em; }
.article-aside a { display: block; margin: 11px 0; color: #68736d; font-size: 12px; }
.article-aside a:hover { color: #205943; }
.article-end { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--dark-line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.article-end p { margin: 0; color: #6c7771; font-size: 12px; }
.back-link { color: #205943; font-size: 12px; font-weight: 750; }
.article-page .site-footer { color: var(--text); }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: var(--ink); text-align: center; }
.error-wrap span { color: var(--accent); font: 700 12px ui-monospace, monospace; letter-spacing: .2em; }
.error-wrap h1 { margin: 15px 0 10px; font-size: clamp(70px, 18vw, 170px); line-height: 1; letter-spacing: -.08em; }
.error-wrap p { margin: 0 0 30px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr 390px; gap: 48px; }
  .hero h1 { font-size: clamp(50px, 6.2vw, 72px); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .article-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 50px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 680px); }
  .site-header { background: rgba(7,19,15,.94); }
  .header-inner { min-height: 72px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 72px; padding: 24px var(--shell-side, 18px); display: none; align-items: stretch; flex-direction: column; gap: 0; background: #0a1913; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 18px; }
  .nav-pill { margin-top: 8px; text-align: center; }
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { padding-top: 145px; padding-bottom: 105px; grid-template-columns: 1fr; }
  .signal-panel { max-width: 520px; width: 100%; transform: none; }
  .scroll-note { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .section-heading > p { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-mark { width: min(360px, 85vw); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100vw - 32px); }
  .brand-name { display: none; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .text-link { padding-left: 2px; }
  .hero-stats { justify-content: space-between; }
  .hero-stats div { min-width: 0; flex: 1; margin-right: 15px; padding-right: 15px; }
  .signal-panel::before, .panel-orbit { display: none; }
  .panel-body { padding: 23px 18px 20px; }
  .chart { gap: 5px; height: 115px; }
  .articles-section, .topics-section, .about-section { padding: 86px 0 92px; }
  .featured-article { grid-template-rows: 225px auto; }
  .featured-content { padding: 23px 21px 25px; }
  .article-stack { grid-template-columns: 1fr; }
  .article-card { min-height: 245px; padding: 23px 22px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 300px; }
  .topic-icon { margin: 37px 0 30px; }
  .principles { grid-template-columns: 1fr; }
  .principles b { display: inline-block; margin: 0 10px 0 0; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main .brand-name { display: inline; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .article-page .article-hero { padding: 72px 0 65px; }
  .article-title-wrap h1 { font-size: 40px; }
  .article-title-wrap > p { font-size: 15px; }
  .article-layout { padding: 58px 0 85px; }
  .article-prose { font-size: 15px; }
  .article-end { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .article-aside { display: none; }
  .article-page .article-hero { padding: 30px 0; background: #fff; color: #000; }
  .article-title-wrap > p { color: #333; }
  .article-layout { display: block; padding: 30px 0; }
}
