* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  background: #040604;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.page {
  --acc: oklch(0.82 0.18 150);
  --bg: #040604;
  --panel: #080c08;
  --panel2: #0a0e0a;
  --line: rgba(120, 235, 160, .16);
  --line2: rgba(120, 235, 160, .28);
  --dim: #5e766a;
  --txt: #a6ccb4;
  --bright: #e2f7ea;
  --red: oklch(0.7 0.2 25);
  --amber: oklch(0.84 0.13 82);
  background: var(--bg);
  color: var(--txt);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14.5px;
  line-height: 1.72;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  text-shadow: 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent);
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
  animation: flick 6s steps(60) infinite;
}
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 59;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 45%, transparent 58%, rgba(0, 0, 0, .55) 100%);
}
@keyframes flick {
  0%, 97%, 100% { opacity: .5; }
  98% { opacity: .32; }
  99% { opacity: .6; }
}
.page.grid {
  background-image:
    linear-gradient(rgba(120, 235, 160, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 235, 160, .028) 1px, transparent 1px);
  background-size: 8.6px 20px;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
a {
  color: inherit;
}
::selection {
  background: var(--acc);
  color: #04130c;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line2);
  background: var(--bg);
}
.navin {
  height: 52px;
}
.brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--bright);
}
.brand .pmt {
  color: var(--acc);
}
.navlinks {
  font-size: 12.5px;
}
.navlinks a {
  color: var(--dim);
  text-decoration: none;
  padding: 6px 0;
}
.navlinks a::before {
  content: "\2022 ";
  color: var(--line2);
}
.navlinks a:hover {
  color: var(--acc);
}
.navlinks a:hover::before {
  color: var(--acc);
}

.sect {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.mt24 { margin-top: 24px; }
.mt28 { margin-top: 28px; }
.mt32 { margin-top: 32px; }
.mt40 { margin-top: 40px; }
.atk .f1 {
  min-width: 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acc);
}
.shead {
  font-size: 13px;
  letter-spacing: .5px;
  color: var(--dim);
}
.shead b {
  color: var(--acc);
  font-weight: 600;
}
.h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -.5px;
  color: var(--bright);
  margin: 18px 0 0;
  text-shadow: 0 0 14px color-mix(in srgb, var(--acc) 24%, transparent);
}
.h2 {
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.3px;
  color: var(--bright);
  margin: 14px 0 0;
  text-shadow: 0 0 10px color-mix(in srgb, var(--acc) 18%, transparent);
}
.h2::before {
  content: "> ";
  color: var(--acc);
}
.h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--bright);
  margin: 0;
}
.lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt);
  max-width: 700px;
}
.p {
  max-width: 700px;
  color: var(--txt);
  font-size: 14px;
}
.dim { color: var(--dim); }
.bright { color: var(--bright); }
.acc { color: var(--acc); }
.red { color: var(--red); }
.amber { color: var(--amber); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  color: var(--dim);
}
.chip::before { content: "["; color: var(--acc); }
.chip::after { content: "]"; color: var(--acc); }
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.tag {
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 0;
  border: 1px solid currentColor;
  font-weight: 600;
}
.tag::before { content: "["; }
.tag::after { content: "]"; }
.tag.bad { color: var(--red); }
.tag.ok { color: var(--acc); }
.tag.warn { color: var(--amber); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 0;
}

.cb {
  background: #050a06;
  border: 1px solid var(--line2);
  border-radius: 0;
  overflow: hidden;
  margin: 0;
}
.cbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line2);
  background: #070d08;
}
.cbar .lt {
  display: none;
}
.cbar .fn {
  font-size: 11.5px;
  color: var(--dim);
}
.cbar .fn::before {
  content: "\2500\2500 ";
  color: var(--line2);
}
.cbody {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.85;
  overflow-x: auto;
  white-space: pre;
  color: var(--txt);
}
.cmd {
  color: var(--bright);
}
.cmd::before {
  content: "$ ";
  color: var(--acc);
}
.cmd.root::before {
  content: "# ";
  color: var(--red);
}
.cmd.plain::before {
  content: "";
}
.cmt { color: #4f6459; }
.out { color: var(--dim); }
.bad { color: var(--red); }
.ok { color: var(--acc); }
.amb { color: var(--amber); }

.num {
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  border: 1px solid var(--line2);
  border-radius: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.atk {
  padding: 26px 0;
  border-top: 1px dashed var(--line2);
}
.atk:first-child {
  border-top: none;
}

.flow {
  font-size: 12.5px;
  color: var(--dim);
  line-height: 2;
}
.flow b {
  color: var(--acc);
  font-weight: 600;
}
.kb {
  font-size: 12.5px;
  background: #0a0f0a;
  border: 1px solid var(--line2);
  border-radius: 0;
  padding: 1px 7px;
  color: var(--bright);
}
.li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 700px;
}
.li .mk {
  color: var(--acc);
  flex: none;
  line-height: 1.62;
}

.demo {
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.seg {
  display: flex;
  font-size: 12.5px;
}
.seg-btn {
  flex: 1;
  text-align: center;
  color: var(--dim);
  padding: 11px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.verdict {
  font-size: 12.5px;
  padding: 12px 16px;
  border-top: 1px solid var(--line2);
  gap: 10px;
  align-items: center;
}

.foot {
  padding: 48px 0;
  border-top: 1px solid var(--line2);
  font-size: 12.5px;
  color: var(--dim);
}
.cur {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  background: var(--acc);
  vertical-align: -2px;
  margin-left: 2px;
  box-shadow: 0 0 8px var(--acc);
  animation: bl 1.1s steps(1) infinite;
}
@keyframes bl {
  50% { opacity: 0; }
}
.glowtop {
  display: none;
}

/* atomics: Claude Design injects these utility classes live at design time via an empty
   <helmet data-dc-atomics> placeholder that isn't captured on export, so they're hand-written here */
.fx { display: flex; }
.ac { align-items: center; }
.jb { justify-content: space-between; }
.gap24 { gap: 24px; }
.gap16 { gap: 16px; }
.gap12 { gap: 12px; }
.gap10 { gap: 10px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.mb12 { margin-bottom: 12px; }
.posrel { position: relative; }
.f1 { flex: 1; }
.grid { display: grid; }

/* pipe/file demo toggle: radios drive visibility via sibling combinators, no JS */
.seg-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
#demo-file:checked ~ .seg label[for="demo-file"],
#demo-pipe:checked ~ .seg label[for="demo-pipe"] {
  color: var(--bright);
  border-bottom-color: var(--acc);
  background: rgba(120, 235, 160, .05);
}
.lines-file, .lines-pipe, .verdict-file, .verdict-pipe {
  display: none;
}
#demo-file:checked ~ .cbody .lines-file { display: block; }
#demo-file:checked ~ .verdict-file { display: flex; }
#demo-pipe:checked ~ .cbody .lines-pipe { display: block; }
#demo-pipe:checked ~ .verdict-pipe { display: flex; }

@media (max-width: 760px) {
  .page { font-size: 14px; }
  .wrap { padding: 0 18px; }
  .navin { height: 48px; }
  .navlinks { gap: 16px !important; font-size: 11.5px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 21px; }
  .lead { font-size: 15px; }
  .sect { padding: 64px 0; }
  .grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .cbody { font-size: 12px; padding: 12px 13px; }
  .atk { gap: 12px !important; }
  .num { width: 28px; height: 28px; font-size: 12px; }
  .hero-pad { padding-top: 64px !important; padding-bottom: 60px !important; }
}

@media (max-width: 520px) {
  .navlinks { display: none; }
  .h1 { font-size: 25px; }
  .h2 { font-size: 19px; }
  .sect { padding: 52px 0; }
  .atk { flex-direction: column; gap: 8px !important; }
  .seg-btn { font-size: 11px; padding: 9px 6px; }
  .foot .fx { flex-direction: column; align-items: flex-start !important; }
}
