:root {
  --bg: #050806;
  --bg-2: #080d09;
  --panel: #0b110c;
  --panel-2: #0e160f;
  --line: rgba(155, 229, 100, .14);
  --line-strong: rgba(155, 229, 100, .28);
  --green: #7ac74f;
  --green-2: #9be564;
  --green-3: #bff58e;
  --text: #e7f1e2;
  --muted: #92a48d;
  --muted-2: #6c7d68;
  --amber: #ffd479;
  --red: #ff7b72;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 600px at 78% -8%, rgba(52, 96, 39, .28), transparent 62%),
    radial-gradient(800px 500px at 8% 16%, rgba(29, 58, 26, .18), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(155, 229, 100, .28); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
code {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--green-3);
  background: rgba(122, 199, 79, .08);
  border: 1px solid rgba(122, 199, 79, .12);
  border-radius: 5px;
  padding: 1px 5px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .035;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 15px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(155, 229, 100, .08);
  background: rgba(5, 8, 6, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-cube { width: 31px; height: 35px; filter: drop-shadow(0 0 14px rgba(122, 199, 79, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-text b { font-size: 15px; letter-spacing: .08em; font-weight: 700; }
.brand-text small { font-family: var(--mono); font-size: 8px; letter-spacing: .3em; color: var(--muted-2); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 12.5px; color: var(--muted); padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green-2); }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.version-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 11px; font-family: var(--mono); font-size: 10px; color: var(--muted);
  background: rgba(11, 17, 12, .6);
}
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 3px rgba(155, 229, 100, .1); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 9px;
  padding: 11px 17px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--green-2); color: #071008; box-shadow: 0 8px 30px rgba(122, 199, 79, .18), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-primary:hover { background: var(--green-3); transform: translateY(-1px); box-shadow: 0 12px 38px rgba(122, 199, 79, .26); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(10, 16, 11, .5); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-2); transform: translateY(-1px); }
.btn-small { padding: 8px 13px; font-size: 11.5px; border-radius: 8px; }
.btn-large { padding: 14px 21px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 78px 0 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(155,229,100,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,229,100,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(800px 560px at 62% 40%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(800px 560px at 62% 40%, #000 20%, transparent 72%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 52px;
  width: min(var(--max), 90vw);
  margin: 0 auto;
}
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--muted);
  text-transform: uppercase;
}
.eyebrow { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; background: rgba(11,17,12,.65); }
.eyebrow .sep { color: var(--muted-2); }
.kicker { color: var(--green); margin-bottom: 18px; }
h1 {
  margin: 22px 0 22px;
  font-size: clamp(42px, 5.2vw, 71px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 800;
}
h1 span {
  color: transparent;
  background: linear-gradient(100deg, #dff7cf 0%, #9be564 48%, #5a9c3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.lede { max-width: 100%; margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.cta-row { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 30px; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(155,229,100,.1); }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--green-2); letter-spacing: -.06em; }
.hero-stats span { font-size: 10.5px; color: var(--muted-2); letter-spacing: .05em; }

.hero-visual { position: relative; min-height: 430px; min-width: 0; }
.glow { position: absolute; inset: 12% -8% 0; background: radial-gradient(closest-side, rgba(122,199,79,.22), transparent 72%); filter: blur(18px); }
.window {
  position: relative; z-index: 2; max-width: 100%;
  border: 1px solid rgba(155,229,100,.22);
  border-radius: 13px;
  background: #080d09;
  box-shadow: 0 35px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4), 0 0 60px rgba(122,199,79,.08);
  overflow: hidden;
  transform: perspective(1400px) rotateX(1.2deg) rotateY(-2.2deg);
  transition: transform .5s ease;
}
.window:hover { transform: perspective(1400px) rotateX(0) rotateY(0); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-bottom: 1px solid rgba(155,229,100,.1); background: #0b110c; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; } .dot.amber { background: #febc2e; } .dot.green { background: #28c840; }
.window-url { margin-left: 8px; font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); }
.window-tag { margin-left: auto; font-family: var(--mono); font-size: 8px; color: var(--green); border: 1px solid rgba(122,199,79,.2); border-radius: 4px; padding: 2px 5px; }
.window img { display: block; width: 100%; height: auto; }
.float-card {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 3px;
  min-width: 150px; padding: 11px 13px;
  border: 1px solid rgba(155,229,100,.24); border-radius: 9px;
  background: rgba(10, 17, 11, .88);
  box-shadow: 0 18px 45px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}
.float-a { top: -22px; right: -18px; max-width: calc(100vw - 40px); }
.float-b { bottom: 40px; left: -30px; animation-delay: -2.2s; max-width: calc(100vw - 40px); }
.float-c { right: -12px; bottom: -18px; animation-delay: -4.4s; min-width: 128px; }
.fc-label { font-family: var(--mono); font-size: 8px; letter-spacing: .13em; color: var(--muted-2); text-transform: uppercase; }
.float-card strong { font-size: 11px; font-weight: 600; color: var(--text); }
.fc-sub { font-family: var(--mono); font-size: 8.5px; color: var(--green); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid rgba(155,229,100,.1); border-bottom: 1px solid rgba(155,229,100,.1); background: rgba(8,13,9,.6); }
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 12px 0; animation: ticker 42s linear infinite; }
.ticker span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--muted-2); white-space: nowrap; }
.ticker b { color: rgba(122,199,79,.45); font-size: 7px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { width: min(var(--max), 90vw); margin: 0 auto; padding: 100px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-head.compact { align-items: center; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.04em; font-weight: 750; }
.section-head p { max-width: 390px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.kicker { display: flex; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bento-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 13px;
  padding: 24px 22px; background: linear-gradient(155deg, rgba(15,23,16,.9), rgba(8,13,9,.9));
  transition: border-color .25s, transform .25s;
}
.bento-card:hover { border-color: rgba(155,229,100,.34); transform: translateY(-2px); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.tall { min-height: 330px; }
.bento-card.accent { background: radial-gradient(550px 250px at 90% 0%, rgba(122,199,79,.13), transparent 70%), linear-gradient(155deg, #0e190f, #080d09); border-color: rgba(155,229,100,.22); }
.card-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(155,229,100,.22); border-radius: 8px; color: var(--green-2); font-size: 15px; margin-bottom: 18px; background: rgba(122,199,79,.05); }
.bento-card h3 { margin: 0 0 9px; font-size: 16px; letter-spacing: -.01em; }
.bento-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 17px; }
.chips span { font-family: var(--mono); font-size: 9px; color: var(--green); border: 1px solid rgba(122,199,79,.18); border-radius: 999px; padding: 3px 8px; }
.mini-hall { position: absolute; right: 22px; bottom: 21px; display: flex; gap: 8px; }
.mini-card { display: flex; flex-direction: column; gap: 5px; width: 98px; padding: 10px; border: 1px solid rgba(155,229,100,.16); border-radius: 8px; background: rgba(6,11,7,.75); }
.mini-card span { font-family: var(--mono); font-size: 7px; color: var(--muted-2); letter-spacing: .1em; }
.mini-card b { font-size: 13px; }
.mini-card small { font-size: 8px; color: var(--muted-2); }
.mini-card.on { border-color: rgba(155,229,100,.5); background: rgba(122,199,79,.09); }
.mini-card.on small { color: var(--green-2); }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.shot { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--panel); }
.shot.big { grid-row: span 2; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s ease; }
.shot.big img { aspect-ratio: 1.44 / 1; }
.shot:not(.big) img { aspect-ratio: 1.44 / .62; }
.shot:hover img { transform: scale(1.012); }
.shot figcaption {
  position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 4px;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, rgba(4,7,5,.94));
}
.shot figcaption b { font-size: 12.5px; }
.shot figcaption span { font-size: 10.5px; color: var(--muted); }

/* ---------- download ---------- */
.download-section { padding-top: 110px; }
.download-panel {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px;
  border: 1px solid rgba(155,229,100,.2); border-radius: 16px;
  padding: 42px; background:
    radial-gradient(600px 300px at 10% 0%, rgba(122,199,79,.12), transparent 70%),
    linear-gradient(145deg, #0c140d, #070b08);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.download-copy h2 { margin: 8px 0 14px; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; }
.download-copy > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.file-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.file-meta span + span::before { content: "·"; margin-right: 16px; color: var(--muted-2); }
.sha-row { display: flex; gap: 10px; align-items: start; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(155,229,100,.1); }
.sha-row > span { flex: 0 0 auto; font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); padding-top: 3px; }
.sha-row code { font-size: 9px; line-height: 1.7; word-break: break-all; color: var(--muted); border: 0; background: transparent; padding: 0; }
.download-steps { display: flex; flex-direction: column; gap: 0; border-left: 1px solid rgba(155,229,100,.12); padding-left: 32px; }
.step { display: flex; gap: 16px; padding: 0 0 23px; }
.step > span { font-family: var(--mono); font-size: 10px; color: var(--green); flex: 0 0 auto; padding-top: 3px; }
.step b { font-size: 12.5px; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.75; }
.step a { display: inline-block; margin-top: 5px; font-size: 10.5px; color: var(--green-2); }
.hint { margin-top: auto; border: 1px solid rgba(255,212,121,.15); background: rgba(255,212,121,.045); border-radius: 9px; padding: 12px 14px; }
.hint b { font-size: 10.5px; color: var(--amber); }
.hint p { margin: 5px 0 0; font-size: 10px; line-height: 1.7; color: var(--muted); }

/* ---------- faq ---------- */
.faq-section { padding-bottom: 20px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.faq details { border-bottom: 1px solid rgba(155,229,100,.12); padding: 17px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-family: var(--mono); font-size: 15px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.85; }

/* ---------- final cta / footer ---------- */
.final-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  width: min(var(--max), 90vw); margin: 90px auto 0; padding: 46px;
  border: 1px solid rgba(155,229,100,.18); border-radius: 16px;
  background: radial-gradient(500px 220px at 20% 50%, rgba(122,199,79,.13), transparent 70%), var(--panel);
}
.final-cta h2 { margin: 8px 0 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.final-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer { width: min(var(--max), 90vw); margin: 70px auto 0; padding: 36px 0 30px; border-top: 1px solid rgba(155,229,100,.1); display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand p { max-width: 260px; margin: 12px 0 0; color: var(--muted-2); font-size: 10.5px; line-height: 1.8; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols b { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 3px; }
.footer-cols a, .footer-cols span { font-size: 10.5px; color: var(--muted); }
.footer-cols a:hover { color: var(--green-2); }
.footer-bottom { grid-column: 1 / -1; display: flex; gap: 22px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(155,229,100,.07); font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  opacity: 0; pointer-events: none; z-index: 100;
  background: var(--green-2); color: #061006; font-size: 11.5px; font-weight: 700;
  padding: 10px 16px; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.4);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 56px; }
  .hero-visual { min-height: auto; width: 94%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.span-2 { grid-column: span 2; }
  .shots { grid-template-columns: 1fr; }
  .shot.big { grid-row: auto; }
  .shot.big img, .shot:not(.big) img { aspect-ratio: 1.44 / 1; }
  .download-panel { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .download-steps { border-left: 0; border-top: 1px solid rgba(155,229,100,.12); padding: 26px 0 0; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { padding: 13px 18px; gap: 12px; }
  .nav-right .version-pill { display: none; }
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 19px; }
  h1 { font-size: 42px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: auto; }
  .bento-card.tall { min-height: 0; padding-bottom: 150px; }
  .mini-hall { left: 22px; right: 22px; bottom: 20px; }
  .mini-card { flex: 1; width: auto; }
  .float-b { left: 0; }
  .float-a { right: 0; top: -18px; }
  .float-c { display: none; }
  .download-panel, .final-cta { padding: 24px 20px; }
  .final-cta { flex-direction: column; align-items: start; }
  .faq { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .file-meta span + span::before { content: ""; margin: 0; }
  .file-meta { gap: 6px 12px; }
  .window { transform: none; }
  .hero-inner { width: min(var(--max), 92vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
