:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #171719;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f3ef;
  --muted: #9c9b98;
  --lime: #c9ff45;
  --lime-dark: #171d0b;
  --orange: #ff7657;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(18px);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -0.03em; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.github-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 60px; padding-block: 110px 90px; }
.eyebrow, .kicker { color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 16px var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-block: 24px; font-size: clamp(58px, 7vw, 98px); line-height: 0.94; letter-spacing: -0.07em; font-weight: 720; }
h1 em { color: var(--muted); font-style: normal; font-weight: 530; }
.lede { max-width: 680px; color: #b9b8b4; font-size: 19px; line-height: 1.65; }
.actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 700; transition: transform 0.2s, background 0.2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--lime); color: #0b0c08; border-color: var(--lime); }
.primary:hover { background: #d5ff70; }
.secondary { background: rgba(255,255,255,0.035); }
.secondary:hover { background: rgba(255,255,255,0.08); }
.install { width: min(100%, 480px); display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 14px 14px 17px; background: #0e0e10; border: 1px solid var(--line); border-radius: 9px; color: #d6d5d1; }
.install .prompt { color: var(--lime); }
.install code { flex: 1; font-size: 13px; }
.install button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; }
.hero-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-art img { position: relative; z-index: 3; width: 192px; filter: drop-shadow(0 22px 35px rgba(0,0,0,.55)); animation: hover 5s ease-in-out infinite; }
.glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(201,255,69,.12); filter: blur(45px); }
.orbit { position: absolute; border: 1px solid rgba(201,255,69,.18); border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; animation: spin 20s linear infinite; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.orbit-one::before { top: 38px; left: 48px; }
.orbit-two { width: 420px; height: 200px; transform: rotate(-24deg); animation: pulse 6s ease-in-out infinite; }
.orbit-two::before { right: 12px; top: 80px; background: var(--orange); box-shadow: 0 0 18px var(--orange); }

.proof { border-block: 1px solid var(--line); background: #0d0d0f; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { display: flex; flex-direction: column; gap: 5px; padding: 34px; border-left: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { font-size: 25px; letter-spacing: -0.04em; }
.proof-grid span { color: var(--muted); font-size: 12px; }

.section { padding-block: 130px; }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading h2, .cta h2 { margin-block: 16px 20px; font-size: clamp(42px, 5vw, 67px); line-height: 1.04; letter-spacing: -0.055em; }
.section-heading p { max-width: 560px; color: var(--muted); line-height: 1.7; font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 310px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.feature.featured { grid-column: span 2; min-height: 350px; background: radial-gradient(circle at 85% 20%, rgba(201,255,69,.1), transparent 32%), var(--surface); }
.feature-number { color: var(--lime); font-family: ui-monospace, monospace; font-size: 12px; }
.feature h3 { margin: 68px 0 16px; font-size: 24px; letter-spacing: -0.035em; }
.featured h3 { margin-top: 90px; font-size: 32px; }
.feature p { max-width: 510px; color: var(--muted); line-height: 1.65; }
.mini-flow { display: flex; align-items: center; gap: 12px; margin-top: 35px; color: var(--muted); font: 12px ui-monospace, monospace; }
.mini-flow span { padding: 8px 12px; border: 1px solid var(--line); background: #0d0d0f; border-radius: 6px; }
.mini-flow b { color: var(--lime); }

.code-section { background: #0d0d0f; border-block: 1px solid var(--line); }
.code-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.section-heading.compact { margin: 0; }
.text-link { display: inline-block; margin-top: 20px; color: var(--lime); font-size: 14px; font-weight: 700; }
.code-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: #080809; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.code-top { height: 46px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px ui-monospace, monospace; }
.code-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
pre { margin: 0; padding: 30px; overflow-x: auto; color: #d4d2cd; font: 13px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.kw { color: #ff8b72; } .str { color: #a5d6ff; } .fn { color: #d2a8ff; } .num { color: var(--lime); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit { padding: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fit h3 { font-size: 20px; }
.fit h3 span { display: inline-grid; width: 26px; height: 26px; place-items: center; margin-right: 8px; border-radius: 50%; }
.good h3 span { background: var(--lime-dark); color: var(--lime); }
.bad h3 span { background: rgba(255,118,87,.12); color: var(--orange); }
.fit ul { padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); }
.fit li { padding: 13px 0; border-top: 1px solid var(--line); }

.cta { margin-bottom: 100px; padding: 90px 30px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at 50% 25%, rgba(201,255,69,.11), transparent 38%), var(--surface); }
.cta img { border-radius: 22px; }
.cta p { color: var(--muted); font-size: 17px; }
.actions.centered { justify-content: center; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner a:hover { color: var(--text); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hover { 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes pulse { 50% { opacity: .5; transform: rotate(-20deg) scale(.96); } }

@media (max-width: 820px) {
  .nav-links a:not(.github-link) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-art { min-height: 340px; order: -1; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { border-bottom: 1px solid var(--line); }
  .code-layout { grid-template-columns: 1fr; gap: 55px; }
  .section { padding-block: 90px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-block: 60px; gap: 30px; }
  .hero-art { min-height: 270px; }
  .hero-art img { width: 150px; }
  .orbit-one { width: 250px; height: 250px; }
  .orbit-two { width: 290px; height: 150px; }
  h1 { font-size: 54px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 24px 18px; }
  .feature-grid, .fit-grid { grid-template-columns: 1fr; }
  .feature.featured { grid-column: span 1; }
  .mini-flow { flex-wrap: wrap; }
  .footer-inner { padding-block: 30px; flex-direction: column; gap: 18px; }
}

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