:root {
  --bg: #07080c;
  --bg2: #0c0e15;
  --card: #0e111a;
  --line: #1b2030;
  --line2: #262d40;
  --text: #edf1f8;
  --muted: #9aa4b8;
  --frost: #6ea8ff;
  --violet: #a78bfa;
  --cyan: #65d9f4;
  --ink: #07111f;
  --ok: #86d9aa;
  --bad: #f08a9a;
  --warn: #e6c47a;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--frost); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #92beff; }
:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; border-radius: 6px; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .9em; color: #c9d6ee; }
kbd {
  display: inline-block; min-width: 1.9em; padding: .05em .45em; text-align: center;
  font-size: .82em; line-height: 1.6; color: var(--text); white-space: nowrap;
  background: linear-gradient(#1a1f2d, #121622); border: 1px solid var(--line2);
  border-bottom-width: 2px; border-radius: 7px;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--frost); margin-bottom: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); background: rgba(7, 8, 12, .72); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; }
.nav li a:hover { color: var(--text); background: rgba(255,255,255,.06); }
@media (max-width: 560px) { .hide-sm { display: none; } }

/* hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none; width: 900px; height: 700px; right: -240px; top: -200px;
  background: radial-gradient(closest-side, rgba(110,168,255,.28), transparent 70%), radial-gradient(closest-side at 70% 70%, rgba(167,139,250,.24), transparent 70%);
  filter: blur(20px);
}
.hero-in { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.3fr 1fr; gap: 24px; } .hero { padding: 104px 0 72px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(14,17,26,.7); color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.grad { background: linear-gradient(100deg, var(--frost) 10%, var(--cyan) 45%, var(--violet) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { color: var(--ink); background: linear-gradient(100deg, var(--frost), #8fb8ff 50%, var(--violet)); box-shadow: 0 8px 30px -8px rgba(110,168,255,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 10px 40px -6px rgba(140,150,255,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-text small { font-weight: 500; font-size: 12.5px; opacity: .85; }
.btn-ghost { color: var(--text); border: 1px solid var(--line2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.07); }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.sha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.sha-label { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.sha code { font-size: 12px; color: #b9c4d8; overflow-wrap: anywhere; word-break: break-all; user-select: all; -webkit-user-select: all; min-width: 0; }
.copy { font: 500 12px/1 var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.06); }
.copied { color: var(--ok); font-size: 12px; }

.hero-stage { position: relative; height: 300px; }
@media (min-width: 960px) { .hero-stage { height: 520px; } }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 45% 45%, rgba(110,168,255,.30), transparent 45%), radial-gradient(circle at 60% 60%, rgba(167,139,250,.26), transparent 48%);
  transition: opacity .8s ease; }
.stage-fallback img { width: 150px; height: 150px; filter: drop-shadow(0 20px 50px rgba(110,168,255,.45)); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.hero-stage.live #hero-canvas { opacity: 1; }
.hero-stage.live .stage-fallback { opacity: 0; }

/* product window */
.product { padding: 24px 0 96px; }
.window { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: #0b1220;
  box-shadow: 0 40px 120px -40px rgba(110,168,255,.35), 0 0 0 1px rgba(255,255,255,.03) inset; }
.titlebar { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; background: #0e1828; border-bottom: 1px solid #26364d; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #3a465a; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; color: #9aaec7; }
.win-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .win-body { grid-template-columns: 170px minmax(0, 1fr) 420px; } }
@media (min-width: 720px) and (max-width: 999px) { .win-body { grid-template-columns: minmax(0, 1fr) 340px; } }
.sidebar { display: none; background: #0e1828; border-right: 1px solid #26364d; padding: 14px 10px; font-size: 13px; position: relative; }
@media (min-width: 1000px) { .sidebar { display: block; } }
.side-h { color: #9aaec7; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 0 8px 8px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 7px; color: #cdd9eb; }
.sidebar li.on { background: #1d3353; color: #eaf2ff; }
.hand { font-size: 12px; filter: hue-rotate(-10deg); }
.spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(101,217,244,.25); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin, .cursor { animation: none !important; } }
.side-foot { position: absolute; bottom: 12px; left: 18px; color: #9aaec7; font-size: 12px; }
.term { display: flex; flex-direction: column; min-width: 0; background: #0b1220; }
.tabs { display: flex; align-items: center; gap: 2px; padding: 6px 8px; background: #111c2e; border-bottom: 1px solid #26364d; font-size: 12.5px; overflow: hidden; }
.tab { padding: 4px 12px; border-radius: 6px; color: #9aaec7; white-space: nowrap; position: relative; }
.tab.on { background: #1d3353; color: #eaf2ff; }
.tab.waiting::after { content: ""; position: absolute; right: 3px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #e6a55a; }
.chip { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: #19273d; color: #9aaec7; font: 11.5px var(--mono); white-space: nowrap; }
@media (max-width: 420px) { .chip { display: none; } }
.tty { flex: 1; margin: 0; padding: 16px 18px; font-size: 13px; line-height: 1.65; color: #eaf2ff; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width: 720px) { .tty { min-height: 360px; } }
@media (max-width: 480px) { .tty { font-size: 12px; padding: 14px; } }
.tabs.split { border-top: 1px solid #26364d; }
.tty2 { flex: 0 0 auto; min-height: 0; }
.tty .p { color: var(--frost); } .tty .a { color: var(--cyan); } .tty .u { color: #cdd9eb; }
.tty .m { color: #9aaec7; } .tty .g { color: var(--ok); } .tty .r { color: var(--bad); }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #a6c9ff; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.statusbar { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 7px 14px; border-top: 1px solid #26364d; background: #0e1828; font: 11.5px var(--mono); color: #9aaec7; }
.ctx { display: inline-flex; align-items: center; gap: 5px; }
.ctx i { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--frost) 37%, #26364d 0); }
.insp { background: #0b1220; border-top: 1px solid #26364d; padding: 12px; position: relative; }
@media (min-width: 720px) { .insp { border-top: 0; border-left: 1px solid #26364d; } }
.insp input { position: absolute; opacity: 0; pointer-events: none; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid #26364d; border-radius: 10px; background: #0e1828; margin-bottom: 10px; }
.seg label { text-align: center; padding: 6px 0; border-radius: 7px; font-size: 13px; color: #9aaec7; cursor: pointer; border: 1px solid transparent; }
.seg label:hover { color: #eaf2ff; }
#t-session:checked ~ .seg [for=t-session], #t-git:checked ~ .seg [for=t-git], #t-tools:checked ~ .seg [for=t-tools] { background: #1d3353; color: #eaf2ff; border-color: var(--frost); }
#t-session:focus-visible ~ .seg [for=t-session], #t-git:focus-visible ~ .seg [for=t-git], #t-tools:focus-visible ~ .seg [for=t-tools] { outline: 2px solid var(--frost); outline-offset: 2px; }
.shots { height: 700px; }
@media (max-width: 719px) { .shots { height: 520px; } }
.shot { display: none; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
#t-session:checked ~ .shots .shot-session, #t-git:checked ~ .shots .shot-git, #t-tools:checked ~ .shots .shot-tools { display: block; }
.caption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* features */
.features { padding: 40px 0 96px; }
.features h2 { max-width: 16em; margin-bottom: 40px; }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } .span2 { grid-column: span 2; }  }
@media (min-width: 720px) and (max-width: 999px) { .span2 { grid-column: span 2; } }
.card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 40%), var(--card); overflow: hidden; transition: border-color .25s ease; }
.card:hover { border-color: var(--line2); }
.card h3 { margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.card b { color: var(--text); font-weight: 600; margin-right: 4px; }
.card.tall::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; background: radial-gradient(closest-side, rgba(167,139,250,.22), transparent); pointer-events: none; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--frost), var(--violet)); }
.panes { margin-top: 20px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 46px 46px; gap: 6px; }
.panes i { border: 1px solid #26364d; border-radius: 8px; background: #0b1220; }
.panes i:first-child { grid-row: span 2; border-color: rgba(110,168,255,.6); box-shadow: 0 0 24px -6px rgba(110,168,255,.5) inset; }
.panes i:nth-child(4) { display: none; }
.swatches { display: flex; gap: 8px; margin-top: 16px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.04); }

/* shortcuts */
.keys { padding: 0 0 96px; }
.keylist { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.keylist li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; color: var(--muted); }

/* install */
.install { padding: 0 0 96px; }
.two { display: grid; gap: 48px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.3fr 1fr; } }
.install h2 { margin-bottom: 28px; }
.steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--text); border: 1px solid var(--line2); background: var(--card); }
.steps a { overflow-wrap: anywhere; }
.reqs { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.reqs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.reqs div:first-child { border-top: 0; }
.reqs dt { color: var(--muted); }
.reqs dd { margin: 0; text-align: right; }

/* privacy */
.privacy { padding: 0 0 96px; }
.privacy-card { padding: 36px; background: radial-gradient(600px 200px at 0% 0%, rgba(110,168,255,.12), transparent), var(--card); }
.privacy-card h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.privacy-card p { max-width: 46em; font-size: 17px; color: var(--muted); }
@media (max-width: 480px) { .privacy-card { padding: 24px; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot-in p { display: flex; align-items: center; gap: 8px; }
