:root {
  color-scheme: dark;
  --bg: #080b0a;
  --panel: #0e1311;
  --panel-2: #111816;
  --ink: #edf7f1;
  --muted: #85928b;
  --line: #26312c;
  --acid: #b7ff36;
  --cyan: #62f5d2;
  --orange: #ff9d3d;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(#ffffff04 1px, transparent 1px),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 75% 8%, #5dffca12, transparent 30rem);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.prompt { color: var(--acid); }

.system-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  gap: 64px;
  padding: 92px 0 84px;
  overflow: hidden;
}

.kicker {
  display: flex;
  gap: 28px;
  margin: 0 0 24px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .16em;
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(62px, 8.4vw, 118px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.075em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px var(--acid);
  text-shadow: 7px 7px 0 #b7ff3613;
}

.intro {
  max-width: 620px;
  margin: 38px 0 0;
  color: #a7b2ac;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

.terminal {
  position: relative;
  z-index: 1;
  border: 1px solid #35423c;
  background: #080c0ad9;
  box-shadow: 18px 18px 0 #000, 18px 18px 0 1px #1e2823;
}

.terminal-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59635e;
}

.terminal-bar span:first-child { background: var(--orange); }
.terminal-bar span:nth-child(2) { background: #ffe15a; }
.terminal-bar span:nth-child(3) { background: var(--acid); }

.terminal-bar b {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.terminal-body {
  min-height: 290px;
  padding: 28px;
  font-size: 13px;
  line-height: 1.6;
}

.terminal-body p { margin: 0 0 7px; }
.terminal-body i { color: var(--acid); font-style: normal; }
.terminal-body .output { margin: 0 0 22px 18px; color: #95a29b; }
.terminal-body .ok { color: var(--cyan); }

.hero-index {
  position: absolute;
  right: -24px;
  bottom: -78px;
  color: #ffffff05;
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.1em;
}

.manifesto {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  padding: 18px 28px;
  color: var(--bg);
  background: var(--acid);
  border: 1px solid var(--acid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.manifesto p { margin: 0; }

.records { padding: 128px 0 48px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 30px;
}

.section-heading h2,
.site-scope h2 {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -.055em;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.record {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 38px;
  min-height: 360px;
  padding: 38px 32px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease;
}

.record:last-child { border-bottom: 1px solid var(--line); }
.record:hover { border-color: #55675e; background: #101512c4; }

.record-meta {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.record-no { color: var(--ink); font-weight: 800; }

.status {
  margin-top: auto;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-size: 9px;
  letter-spacing: .12em;
}

.status.success { color: var(--acid); }
.status.archived { color: #7f8c85; }

.record-main { position: relative; z-index: 1; max-width: 800px; }

.category {
  margin: 0 0 17px;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .14em;
}

.record h3 {
  margin: 0 0 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.record-main > p:not(.category) {
  max-width: 720px;
  margin: 0 0 30px;
  color: #9aa69f;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.85;
}

dl { margin: 0; }

dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed #28322e;
  font-size: 12px;
}

dt { color: var(--acid); }
dd { margin: 0; color: #a0aaa5; }

.record-mark {
  position: absolute;
  right: 18px;
  bottom: -44px;
  color: #ffffff05;
  font-size: 190px;
  font-weight: 900;
  line-height: 1;
}

.site-scope { padding: 124px 0 130px; }

.scope-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  margin-top: 46px;
}

.scope-grid > p {
  margin: 0;
  color: #a7b1ac;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.9;
}

.scope-grid ul { margin: 0; padding: 0; list-style: none; }

.scope-grid li {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: #a7b1ac;
  font-size: 12px;
  line-height: 1.6;
}

.scope-grid li:last-child { border-bottom: 1px solid var(--line); }
.scope-grid li span { color: var(--acid); }

footer {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer p { margin: 0; }
footer a { text-decoration-color: #526058; text-underline-offset: 4px; }
footer a:hover { color: var(--acid); }

@media (max-width: 820px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding: 70px 0; }
  .terminal { width: min(520px, calc(100% - 18px)); }
  .manifesto { overflow: hidden; justify-content: flex-start; white-space: nowrap; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .record { grid-template-columns: 110px minmax(0, 1fr); gap: 22px; padding-inline: 12px; }
  .scope-grid { grid-template-columns: 1fr; gap: 38px; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .system-state { font-size: 9px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(54px, 17vw, 80px); }
  .intro { font-size: 15px; }
  .terminal-body { padding: 22px 18px; font-size: 11px; }
  .manifesto { min-height: 62px; padding-inline: 16px; font-size: 10px; }
  .records { padding-top: 90px; }
  .record { grid-template-columns: 1fr; min-height: auto; padding: 30px 4px 38px; }
  .record-meta { flex-direction: row; align-items: center; }
  .status { margin: 0 0 0 auto; }
  .record h3 { font-size: 27px; }
  dl div { grid-template-columns: 48px 1fr; }
  .site-scope { padding: 90px 0; }
  .scope-grid > p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .record { transition: none; }
}
