:root {
  --bg: #07070a;
  --panel: rgba(16, 17, 22, 0.78);
  --panel-strong: rgba(22, 23, 30, 0.94);
  --text: #f2f2ef;
  --muted: #a7a6a0;
  --orange: #ff6a00;
  --orange-2: #ffb000;
  --red: #ff2d2d;
  --green: #7cffcb;
  --line: rgba(255, 106, 0, 0.35);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 22% 8%, rgba(255,106,0,.24), transparent 32rem),
    radial-gradient(circle at 80% 18%, rgba(124,255,203,.10), transparent 28rem),
    linear-gradient(120deg, #050509 0%, #101018 52%, #050505 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-2); }
.noise, .scanlines, .parallax-grid { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.noise { opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.scanlines { opacity: .14; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.08) 6px); mix-blend-mode: overlay; }
.parallax-grid {
  opacity: .35;
  background-image: linear-gradient(rgba(255,106,0,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,106,0,.14) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(58deg) translateY(22vh) scale(1.4);
  transform-origin: center bottom;
}
.orb { position: fixed; width: 32rem; height: 32rem; border-radius: 50%; filter: blur(62px); opacity: .18; z-index: -1; }
.orb-a { left: -12rem; top: 18rem; background: var(--orange); }
.orb-b { right: -12rem; top: 45rem; background: var(--green); }
.reader-toggle {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 20;
  border: 1px solid var(--line); color: var(--text); background: rgba(8,8,10,.78);
  backdrop-filter: blur(18px); border-radius: 999px; padding: .8rem 1rem; font: 700 .78rem var(--mono);
  text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 0 24px rgba(255,106,0,.20); cursor: pointer;
}
.toggle-led { display: inline-block; width: .6rem; height: .6rem; margin-right: .4rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.panel { border: 1px solid var(--line); background: var(--panel); box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 20px 80px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.hero { width: min(1160px, calc(100% - 2rem)); margin: 2rem auto 1rem; padding: 1.2rem; border-radius: 28px; position: relative; overflow: hidden; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,106,0,.16), transparent 35%, rgba(124,255,203,.06)); pointer-events: none; }
.unit-label, .section-kicker, .eyebrow { font-family: var(--mono); color: var(--orange-2); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; padding: 4.2rem clamp(1rem, 4vw, 3rem) 3rem; }
h1 { font-size: clamp(4rem, 12vw, 10rem); line-height: .82; margin: .5rem 0 1rem; letter-spacing: -.08em; text-transform: uppercase; font-weight: 900; text-shadow: 0 0 30px rgba(255,106,0,.25); }
.dek { max-width: 760px; color: #dfddd7; font-size: clamp(1.25rem, 2.6vw, 2.05rem); line-height: 1.16; font-weight: 800; letter-spacing: -.04em; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.links a, .repo-links a, .feature-card a { border: 1px solid var(--line); padding: .68rem .85rem; border-radius: 999px; background: rgba(255,106,0,.08); font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.status-card { align-self: end; background: rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 1rem; }
.status-row { display: grid; gap: .25rem; padding: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.status-row:last-child { border-bottom: 0; }
.status-row span { font: 700 .7rem var(--mono); color: var(--muted); letter-spacing: .12em; }
.status-row strong { font-size: .95rem; }
.shell { width: min(1160px, calc(100% - 2rem)); margin: 0 auto 3rem; display: grid; gap: 1rem; }
.shell > .panel { border-radius: 24px; padding: clamp(1.2rem, 3vw, 2.2rem); }
h2 { margin: .35rem 0 1rem; font-size: clamp(1.9rem, 5vw, 4rem); letter-spacing: -.06em; line-height: .92; }
p { color: #d7d4cd; line-height: 1.65; }
.chip-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip-grid span { border: 1px solid rgba(124,255,203,.23); background: rgba(124,255,203,.06); border-radius: 999px; padding: .55rem .7rem; font: 600 .78rem var(--mono); color: #dcfff3; }
.job { position: relative; padding: 1.4rem 0 1.4rem 1.6rem; border-left: 2px solid var(--line); }
.job:before { content: ""; position: absolute; left: -.44rem; top: 1.8rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.job-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
h3 { margin: 0; font-size: 1.15rem; }
.job-head span { color: var(--muted); font: 600 .8rem var(--mono); }
ul { margin: .9rem 0 0; padding-left: 1.1rem; color: #d8d6d0; }
li { margin: .55rem 0; line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.mini-card, .feature-card { border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.22); border-radius: 20px; padding: 1.2rem; }
.repo-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer { width: min(1160px, calc(100% - 2rem)); margin: 0 auto 2rem; color: var(--muted); font-family: var(--mono); font-size: .82rem; }
code { color: var(--orange-2); }
body.reader {
  background: #faf8f0; color: #1b1b1b;
}
body.reader .noise, body.reader .scanlines, body.reader .parallax-grid, body.reader .orb { display: none; }
body.reader .panel, body.reader .mini-card, body.reader .feature-card, body.reader .status-card {
  background: transparent; backdrop-filter: none; box-shadow: none; border-color: #dad2c1;
}
body.reader .shell, body.reader .hero, body.reader .site-footer { max-width: 850px; }
body.reader .hero-inner, body.reader .footer-panel, body.reader .cards { grid-template-columns: 1fr; }
body.reader h1 { font-size: clamp(3.2rem, 12vw, 6rem); text-shadow: none; }
body.reader p, body.reader li, body.reader .dek { color: #272727; }
body.reader .reader-toggle { color: #1b1b1b; background: #fffdf7; }
body.reader .chip-grid span, body.reader .links a, body.reader .repo-links a, body.reader .feature-card a { background: transparent; color: #1b1b1b; border-color: #c8bfae; }
@media (max-width: 820px) {
  .hero-inner, .cards, .footer-panel { grid-template-columns: 1fr; }
  .hero-inner { padding: 2.5rem 1rem 1.4rem; }
  .reader-toggle { right: .7rem; bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
