:root {
  color-scheme: dark;
  --paper: #080e17;
  --ink: #e6f0f5;
  --muted: #a1b2c1;
  --line: #263545;
  --accent: #5bf1d5;
  --white: #0c1823;
  --pink: #f47dd0;
  --mono: Consolas, "Cascadia Code", "SFMono-Regular", monospace;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}
body {
  background: radial-gradient(ellipse at 82% 12%, #12333740, transparent 38%),
              radial-gradient(ellipse at 0 44%, #35203a24, transparent 28%), #080e17;
}
::selection { background: #5bf1d5; color: #080e17; }
.skip { background: var(--accent); color: #071b1a; }
.shell { max-width: 1296px; padding: 0 56px; }
header { padding: 23px 0; position: relative; }
header::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 70px; height: 2px; background: var(--accent); box-shadow: 0 0 15px #5bf1d540; }
.wordmark { font: 700 18px var(--mono); gap: 0; letter-spacing: .02em; }
.wordmark .domain { color: #7f94a6; }
.monogram { width: 33px; height: 36px; border-radius: 0; margin-right: 12px; font: 700 23px var(--mono); border-color: var(--accent); color: var(--accent); clip-path: polygon(0 0,76% 0,100% 23%,100% 100%,0 100%); background: #5bf1d50a; }
nav { gap: 33px; }
nav a { color: #b4c5d1; font-size: 14px; transition: color .2s; }
nav a:hover { color: var(--accent); }
.nav-github { gap: 10px; }
.hero { position: relative; grid-template-columns: 1.25fr 1fr; gap: 55px; align-items: center; padding: 85px 0 76px; }
.hero-main { min-width: 0; }
.intro-label { display: flex; align-items: center; gap: 10px; color: #9fb7c1; font-size: 13px; letter-spacing: .06em; margin-bottom: 26px; }
.signal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #5bf1d55c; flex-shrink: 0; }
.hero h1 { font: 800 clamp(74px,7.5vw,108px)/1 var(--mono); letter-spacing: -.075em; color: #edf5fa; margin: 0 0 21px; white-space: nowrap; text-shadow: 3px 0 #f47dd02a, -2px 0 #5bf1d53d; }
.cursor { color: var(--accent); text-shadow: 0 0 24px #5bf1d530; animation: cursor-pulse 2.6s ease-in-out infinite; }
.hero-statement { font-size: clamp(25px,2.6vw,36px); font-weight: 650; letter-spacing: .015em; line-height: 1.5; margin: 0 0 23px; }
.hero .lede { font-size: 15px; line-height: 1.95; max-width: 540px; color: #a1b2c1; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 30px 0; }
.button { min-height: 47px; padding: 13px 22px; border: 1px solid #3b5763; background: #101f2a; font-size: 14px; color: #d8e6ee; gap: 18px; }
.button:hover { background: #193340; border-color: var(--accent); color: var(--accent); }
.button.primary { color: #071b1a; background: var(--accent); border-color: var(--accent); font-weight: 650; box-shadow: 0 3px 25px #5bf1d50c; clip-path: polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px)); }
.button.primary:hover { background: #a1ffeb; color: #071b1a; box-shadow: 0 0 24px #5bf1d52c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 13px var(--mono); color: #afc2ce; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.hero-principle { display: flex; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: #9ab0be; }
.hero-principle .small { font: 12px var(--mono); letter-spacing: .055em; color: var(--accent); }
.hero-aside { padding: 0; min-width: 0; }
.neural-board { position: relative; border: 1px solid #304450; background: linear-gradient(145deg,#12222caa,#0b1621ee); box-shadow: 0 20px 65px #00000035; }
.neural-board::before { content: ""; position: absolute; width: 35px; height: 3px; right: -1px; top: -2px; background: var(--pink); box-shadow: 0 0 18px #f47dd040; }
.neural-board::after { content: ""; position: absolute; inset: 48px 0 44px; pointer-events: none; background: repeating-linear-gradient(0deg,transparent 0,transparent 3px,#5bf1d504 3px,#5bf1d504 4px); }
.board-header, .board-footer { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; font: 12px/1.7 var(--mono); color: #a5bec8; }
.board-header { border-bottom: 1px solid #273b47; }
.board-header span:last-child { color: var(--accent); font-size: 17px; }
.system-map { display: block; width: 100%; height: auto; }
.board-footer { border-top: 1px solid #273b47; justify-content: flex-start; gap: 9px; }
.board-code { margin-left: auto; color: var(--accent); }
.aside-copy { padding-top: 14px; border: 0; font-size: 12px; text-align: right; color: #91a8b8; }
.section { padding: 32px 0 66px; }
.section-head { align-items: center; margin-bottom: 28px; }
.section h2 { font: 650 27px/1.4 "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: .01em; }
.section-head h2::before { content: "/"; font: 26px var(--mono); color: var(--accent); margin-right: 12px; }
.meta { color: #9bafbd; font-size: 13px; }
.project-grid { gap: 24px; }
.project { position: relative; border: 1px solid var(--line); background: #101a26; padding: 10px; transition: border-color .25s, background .25s, transform .25s; }
.project:hover { border-color: #5bf1d578; background: #11222c; transform: translateY(-4px); box-shadow: 0 12px 38px #0004,0 0 22px #5bf1d508; }
.project::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 16px; height: 16px; border-right: 2px solid #4a6e78; border-bottom: 2px solid #4a6e78; transition: border-color .25s; }
.project:hover::after { border-color: var(--accent); }
.art { aspect-ratio: 1.85; border: 1px solid #233644; background: #0c1823; }
.art img { object-fit: cover; opacity: .97; }
.project-copy { padding: 21px 16px 15px; }
.tag { color: var(--accent); font-size: 12px; }
.project:nth-child(2) .tag { color: #f6c66d; }
.project:nth-child(3) .tag { color: #9bb3ff; }
.project:nth-child(4) .tag { color: var(--pink); }
.project h3 { font: 600 27px/1.3 var(--mono); margin: 10px 0 13px; letter-spacing: -.035em; }
.project p { font-size: 15px; line-height: 1.9; color: #a8b9c7; }
.project-bottom { padding-top: 16px; border-top: 1px solid #263746; margin-top: 22px; color: #9eb3c2; font-size: 12px; }
.project-bottom span:first-child { font-family: var(--mono); }
.read { color: #b3f9e9; text-decoration: none; }
.read::after { content: " ↗"; padding-left: 5px; }
.about { grid-template-columns: 1fr 1.7fr; gap: 70px; padding-top: 48px; }
.about h2 { margin-bottom: 14px; }
.about p { font-size: 16px; color: #a8b9c7; }
.principles div { background: #101e2a; padding: 18px 16px; border-top: 1px solid #3e5965; }
.principles strong { color: #dceaf2; font-size: 14px; }
.principles span { color: #a3b7c7; }
.contact { padding: 35px 0; }
.contact p { font-weight: 550; font-size: 25px; }
footer { color: #9eb2c1; font-size: 12px; }
footer a { color: #a8bdc9; }
.breadcrumb { color: #9fb3c1; }
.breadcrumb a { color: #8fe6d5; }
.detail-hero { padding-top: 23px; gap: 50px; }
.detail-hero h1 { font: 650 clamp(39px,5vw,66px)/1.12 var(--mono); letter-spacing: -.05em; color: #edf6fb; }
.detail-hero .subtitle { color: #aec3d0; }
.facts { padding: 10px 20px; border: 1px solid #2c414e; background: #101f2b; }
.facts div { gap: 14px; }
.facts div:first-child { border-top: 0; }
.facts span { color: #9fb7c5; white-space: nowrap; }
.detail-art { border: 1px solid #2c414e; background: #0c1823; }
.caption { color: #99aebd; }
.detail-body { gap: 65px; }
.detail-body h2 { font: 600 25px/1.5 "Segoe UI","Microsoft YaHei",sans-serif; }
.detail-body h3 { color: #b6f6e8; }
.detail-body p { color: #a8bdcb; }
.steps { border-color: #35505d; background: #101f2a; }
.steps div { border-color: #35505d; }
.steps small { color: var(--accent); font-family: var(--mono); }
.notice { background: #121e2a; border: 1px solid #30424f; color: #a8bdcb; }
.related { color: #afe9de; }
@media(min-width:1450px) { .hero { padding-top: 96px; } }
@media(max-width:1050px) {
  .shell { padding: 0 32px; }
  .hero { grid-template-columns: 1.15fr 1fr; gap: 30px; padding: 68px 0; }
  .hero h1 { font-size: clamp(63px,8vw,86px); }
  .hero-actions { gap: 16px; }
  .hero .lede { font-size: 14px; }
  .text-link { font-size: 12px; }
  .desktop-break { display: none; }
  .project h3 { font-size: 24px; }
  .about, .detail-body { gap: 35px; }
}
@media(max-width:760px) {
  .hero { grid-template-columns: 1fr; padding: 55px 0 42px; gap: 35px; }
  .hero h1 { font-size: clamp(66px,11vw,90px); }
  .hero-statement { font-size: 30px; }
  .hero .lede { font-size: 16px; }
  .hero-aside { display: block; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-principle { font-size: 13px; }
  .project h3 { font-size: 22px; }
  .about, .detail-hero, .detail-body { grid-template-columns: 1fr; gap: 26px; }
  .detail-hero h1 { font-size: 52px; }
}
@media(max-width:580px) {
  .shell { padding: 0 21px; }
  header { padding: 14px 0; }
  .wordmark { font-size: 14px; }
  .monogram { width: 25px; height: 28px; font-size: 17px; margin-right: 7px; }
  nav { gap: 15px; }
  nav a { font-size: 12px; }
  .nav-github { gap: 4px; }
  .hero { padding: 45px 0 34px; }
  .intro-label { font-size: 12px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(54px,16.4vw,84px); margin-bottom: 20px; }
  .hero-statement { font-size: clamp(24px,6.8vw,31px); line-height: 1.5; margin-bottom: 18px; }
  .hero .lede { font-size: 16px; }
  .hero-actions { margin: 24px 0; gap: 14px 22px; }
  .text-link { font-size: 12px; }
  .hero-principle { gap: 10px; }
  .hero-principle .small { font-size: 11px; }
  .hero-aside { display: block; }
  .board-header,.board-footer { padding: 11px 13px; font-size: 11px; }
  .aside-copy { padding: 11px 0 0; font-size: 12px; }
  .section { padding: 27px 0 40px; }
  .section-head { flex-direction: row; align-items: baseline; margin-bottom: 21px; }
  .section h2 { font-size: 23px; }
  .section-head h2::before { font-size: 23px; margin-right: 8px; }
  .section-head .meta { font-size: 12px; max-width: 140px; text-align: right; }
  .project-grid { gap: 22px; }
  .project { padding: 7px; }
  .art { aspect-ratio: 1.6; }
  .project-copy { padding: 18px 12px 13px; }
  .project h3 { font-size: 26px; }
  .project p { font-size: 16px; }
  .project-bottom span:first-child { max-width: 190px; }
  .about { padding-top: 32px; }
  .principles div { grid-template-columns: 106px 1fr; padding: 15px; }
  .principles strong { font-size: 13px; }
  .contact { padding: 30px 0; }
  .contact p { font-size: 23px; }
  footer { gap: 7px; padding-bottom: 19px; }
  .detail-hero { gap: 23px; }
  .detail-hero h1 { font-size: 41px; overflow-wrap: anywhere; }
  .facts { padding: 8px 14px; }
  .detail-body { padding: 28px 0 35px; }
  .detail-body h2 { font-size: 23px; }
  .related { font-size: 13px; }
}
@keyframes cursor-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
