@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #050505;
  --ink: #f5f5f5;
  --muted: #8a8a8a;
  --card: #111111;
  --line: #1c1c1c;
  --accent: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body.studio {
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.5 Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 28px; color: #9a9a9a; font-size: 14px; }
.nav-links a:hover { color: #fff; }

.hero {
  position: relative;
  padding: 72px 0 36px;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 140%;
  height: 280px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 176, 66, .18), transparent 62%);
}
.intro {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  color: #cfcfcf;
  font-size: 13px;
  background: #0d0d0d;
}
h1 {
  margin: 22px auto 14px;
  max-width: 820px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
}
.lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}
.cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.btn, .ghost {
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.btn { background: #fff; color: #111; }
.ghost { border: 1px solid #2a2a2a; background: #0d0d0d; color: #fff; }

.password-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(420px, 100%);
  margin: 0 auto 28px;
  padding: 12px 14px;
  border: 1px solid #222;
  border-radius: 14px;
  background: #0d0d0d;
  text-align: left;
}
.password-label { display: block; margin-bottom: 3px; color: #6f6f6f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.password-value { font-weight: 700; letter-spacing: 1px; }
.btn-copy {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}
#dlHint { min-height: 18px; margin: 0 0 10px; color: #8a8a8a; font-size: 13px; }

.app {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 10px auto 0;
  border: 1px solid #222;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.app img { width: 100%; display: block; }
.app.ui {
  width: min(1040px, 100%);
  text-align: left;
  background: #0b0b0b;
}
.app:has(.ide)::before {
  content: "executor  ·  connected";
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid #1b1b1b;
  color: #7a7a7a;
  font-size: 12px;
  text-align: left;
}

.ui-win {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.ui-win i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a2a2a;
}
.ui-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-xeno-top, .ui-real-top, .ui-vel-top {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #171717;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 600;
}
.ui-xeno-top svg, .ui-real-top svg { width: 18px; height: 18px; margin-right: 8px; }
.ui-xeno-body {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 420px;
}
.ui-xeno-nav {
  padding: 10px 8px;
  border-right: 1px solid #171717;
  color: #8d8d8d;
  font-size: 13px;
}
.ui-xeno-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px 14px;
  color: #fff;
  font-weight: 600;
}
.ui-xeno-brand svg { width: 18px; height: 18px; }
.ui-xeno-nav div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
}
.ui-xeno-nav .on { color: #fff; background: #161616; }
.ui-xeno-main { padding: 28px 28px 24px; }
.ui-xeno-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.ui-xeno-card, .ui-xeno-updates {
  padding: 22px 16px;
  border-radius: 14px;
  background: #111;
  text-align: center;
}
.ui-xeno-card svg, .ui-xeno-updates svg { margin: 0 auto 12px; color: #ececec; }
.ui-xeno-card h4, .ui-xeno-updates h4 { font-size: 14px; font-weight: 600; }
.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #d0d0d0;
  font-size: 12px;
}
.ui-xeno-updates { padding: 22px 22px 18px; }
.ui-xeno-updates p { margin: 6px 0 18px; color: #7a7a7a; font-size: 12px; }
.ui-xeno-log { padding-top: 12px; border-top: 1px solid #1c1c1c; text-align: left; }
.ui-xeno-log b { display: block; margin-bottom: 6px; font-size: 13px; }
.ui-xeno-log span { color: #7a7a7a; font-size: 12px; }

.ui-real-shell, .ui-vel-shell {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 430px;
}
.ui-real-side, .ui-vel-side {
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  border-right: 1px solid #171717;
  background: #0c0c0c;
  color: #8a8a8a;
  font-size: 12px;
}
.ui-real-side .cap, .ui-vel-search {
  margin-bottom: 10px;
  color: #cfcfcf;
  font-weight: 600;
}
.ui-real-search, .ui-vel-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #141414;
  color: #6a6a6a;
  font-weight: 400;
}
.ui-real-side .row { display: flex; align-items: center; gap: 8px; padding: 7px 4px; }
.ui-real-foot { margin-top: auto; padding-top: 12px; }
.ui-real-main, .ui-vel-main { display: flex; flex-direction: column; min-width: 0; }
.ui-real-tools, .ui-vel-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-bottom: 1px solid #171717;
  color: #9a9a9a;
  font-size: 12px;
}
.ui-real-tools .on, .ui-vel-tools .on { color: #fff; }
.ui-code {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 12px 16px 16px 52px;
  overflow: hidden;
  background: #0e0e0e;
  color: #d6d6d6;
  font: 12.5px/1.7 "JetBrains Mono", ui-monospace, monospace;
}
.ui-code .ln {
  position: absolute;
  left: 0;
  top: 12px;
  width: 40px;
  color: #4d4d4d;
  text-align: right;
  user-select: none;
}
.ui-mark {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 180px;
  opacity: .08;
  pointer-events: none;
}
.ui-status, .ui-out {
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid #171717;
  color: #7a7a7a;
  font-size: 11px;
}
.ui-status span:last-child { margin-left: auto; }

.ui-vel-shell { grid-template-columns: 48px 1fr; }
.ui-vel-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-right: 1px solid #171717;
  color: #8a8a8a;
}
.ui-vel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid #171717;
  font-size: 12px;
  color: #9a9a9a;
}
.ui-vel-head .tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #151515;
  color: #fff;
}
.ui-vel-head .ver { margin-left: auto; color: #7a7a7a; }
.k { color: #c586c0; }
.f { color: #dcdcaa; }
.s { color: #ce9178; }
.n { color: #b5cea8; }
.cm { color: #6a9955; }
.t { color: #4ec9b0; }

.video .ui { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.ide {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  min-height: 340px;
  text-align: left;
  font-size: 12px;
}
.ide-side, .ide-code, .ide-con {
  padding: 16px;
}
.ide-side { border-right: 1px solid #1b1b1b; color: #8d8d8d; background: #0b0b0b; }
.ide-side .on { color: #fff; }
.ide-side div { padding: 6px 0; }
.ide-code {
  font-family: ui-monospace, Consolas, monospace;
  line-height: 1.7;
  color: #d7d7d7;
  background: #0e0e0e;
}
.ide-con { border-left: 1px solid #1b1b1b; color: #6f6f6f; font-family: ui-monospace, Consolas, monospace; }
.k { color: #82aaff; }
.s { color: #c3e88d; }
.c { color: #5c6370; }

.orbit {
  padding: 96px 0 40px;
  text-align: center;
}
.globe {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 36px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.16), transparent 34%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,.55), transparent 42%),
    #080808;
  box-shadow: inset -18px -12px 36px rgba(0,0,0,.7), 0 0 80px rgba(255,255,255,.04);
}
.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.72) 1px, transparent 1.15px);
  background-size: 11px 11px;
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 68%);
  animation: spin 36s linear infinite;
}
.globe::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.35) .8px, transparent 1px);
  background-size: 18px 10px;
  animation-duration: 54s;
  opacity: .7;
}
@keyframes spin { to { transform: rotate(360deg); } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 80px;
}
.stats b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; }
.stats span { color: #7a7a7a; font-size: 13px; }

.section { padding: 40px 0 80px; text-align: center; }
.kicker { color: #8a8a8a; font-size: 13px; margin-bottom: 10px; }
.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.04em;
}
.section > p { max-width: 520px; margin: 12px auto 36px; color: var(--muted); }

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}
.feat {
  padding: 22px;
  min-height: 150px;
  border-radius: 16px;
  background: var(--card);
}
.feat i, .feat svg { display: block; margin-bottom: 18px; color: #d0d0d0; width: 20px; height: 20px; }
.feat svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.video { position: relative; }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35));
  pointer-events: none;
}
.video-play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 18px;
  padding-left: 4px;
}
.feat h3 { margin-bottom: 8px; font-size: 1rem; }
.feat p { color: #8a8a8a; font-size: 14px; }

.video {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #222;
  background: #0a0a0a;
}
.video img { width: 100%; display: block; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-cap { margin-bottom: 18px; color: #9a9a9a; }

.faq { max-width: 720px; margin: 0 auto; text-align: left; }
.faq details {
  padding: 16px 0;
  border-bottom: 1px solid #1c1c1c;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; color: #8a8a8a; font-size: 14px; }

.foot {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 40px;
  color: #6a6a6a;
  font-size: 13px;
  border-top: 1px solid #161616;
}

body.studio .sf-orb-a { background: radial-gradient(circle, rgba(245,176,66,.16), transparent 68%); }
body.studio .sf-orb-b { background: radial-gradient(circle, rgba(255,255,255,.06), transparent 68%); }
body.studio .sf-orb-c { background: radial-gradient(circle, rgba(245,176,66,.08), transparent 68%); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .ide, .stats, .feats, .ui-xeno-cards { grid-template-columns: 1fr; }
  .ide-side, .ide-con, .ui-xeno-nav, .ui-real-side, .ui-vel-rail { display: none; }
  .ui-xeno-body, .ui-real-shell, .ui-vel-shell { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
}
