:root {
  --ink: #171717;
  --muted: #666;
  --faint: #8a8a8a;
  --line: rgba(0, 0, 0, .09);
  --surface: #fff;
  --soft: #fafafa;
  --blue: #0a72ef;
  --pink: #de1d8d;
  --red: #ff5b4f;
  --green: #16a36a;
  --focus: #0072f5;
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 5px; }
code, pre, .kicker, .step, .eyebrow, .orbit-chip { font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); border-bottom: 1px solid rgba(0,0,0,.06); backdrop-filter: blur(18px); }
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; letter-spacing: -.35px; }
.brand-dev { color: #999; font-size: 11px; font-family: "Geist Mono", monospace; letter-spacing: .8px; }
.brand-mark { position: relative; width: 23px; height: 23px; background: var(--ink); border-radius: 6px; display: inline-grid; place-items: center; margin-right: 3px; overflow: hidden; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; width: 9px; height: 9px; border: 2px solid #fff; transform: rotate(45deg); }
.brand-mark::before { left: -4px; }
.brand-mark::after { right: -4px; }
.brand-mark span { width: 7px; height: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { color: #444; transition: color .2s ease; }
.nav-links a:hover { color: #000; }
.nav-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; box-shadow: 0 0 0 1px var(--line); border-radius: 6px; background: #fff; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8a8a8a; box-shadow: 0 0 0 4px rgba(138,138,138,.12); }
.nav-status.is-online .status-dot { background: #1db77a; box-shadow: 0 0 0 4px rgba(29,183,122,.12); }
.nav-status.is-offline .status-dot { background: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }

.hero { position: relative; min-height: 680px; padding-top: 116px; overflow: hidden; border-inline: 1px solid rgba(0,0,0,.055); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to right, black 0 62%, transparent 88%); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); color: #565656; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 500; letter-spacing: .35px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero h1 { margin: 24px 0 22px; max-width: 690px; font-size: clamp(58px, 7.2vw, 94px); line-height: .93; letter-spacing: clamp(-5px, -.055em, -3px); font-weight: 600; }
.hero-copy { max-width: 570px; margin: 0; color: #525252; font-size: 19px; line-height: 1.62; letter-spacing: -.25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 17px; border-radius: 7px; font-size: 14px; font-weight: 500; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 0 0 1px #171717, 0 7px 20px rgba(0,0,0,.12); }
.button-primary:hover { background: #303030; }
.button-secondary { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 2px rgba(0,0,0,.035); }
.button-secondary:hover { background: #fafafa; box-shadow: 0 0 0 1px rgba(0,0,0,.16), 0 4px 14px rgba(0,0,0,.06); }

.hero-orbit { position: absolute; width: 510px; height: 510px; top: 94px; right: 0; display: grid; place-items: center; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border: 1px solid rgba(0,0,0,.09); border-radius: 50%; }
.hero-orbit::before { width: 420px; height: 420px; }
.hero-orbit::after { width: 540px; height: 540px; border-color: rgba(0,0,0,.05); }
.orbit-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 40% 42%, rgba(10,114,239,.15), rgba(222,29,141,.07) 42%, transparent 70%); filter: blur(7px); }
.orbit-card { position: relative; z-index: 2; width: 340px; padding: 18px 19px 20px; border-radius: 11px; color: #e7e7e7; background: rgba(23,23,23,.96); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 24px 70px rgba(0,0,0,.24); transform: rotate(-3deg); font-family: "Geist Mono", monospace; }
.window-dots { display: flex; gap: 5px; margin-bottom: 24px; }
.window-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #4b4b4b; }
.terminal-line { display: block; margin-top: 9px; font-size: 12px; line-height: 1.4; }
.terminal-line b { color: var(--blue); }
.terminal-muted { color: #9d9d9d; }
.terminal-success { margin-top: 18px; color: #78dcae; }
.orbit-chip { position: absolute; z-index: 3; padding: 8px 10px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.10); font-size: 9px; font-weight: 600; letter-spacing: .5px; }
.chip-download { left: 17px; top: 138px; color: var(--blue); transform: rotate(-8deg); }
.chip-update { right: 1px; top: 105px; color: var(--pink); transform: rotate(7deg); }
.chip-hash { right: 18px; bottom: 104px; color: var(--green); transform: rotate(-4deg); }

.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 0 0 1px var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.pipeline article { min-height: 190px; padding: 30px; }
.pipeline article + article { border-left: 1px solid var(--line); }
.step { font-size: 10px; font-weight: 600; letter-spacing: .55px; }
.step-blue { color: var(--blue); }
.step-pink { color: var(--pink); }
.step-red { color: var(--red); }
.pipeline h2 { margin: 28px 0 9px; font-size: 20px; letter-spacing: -.7px; }
.pipeline p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.products { padding-block: 145px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.kicker { color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .8px; }
.section-heading h2, .update-copy h2 { margin: 14px 0 0; font-size: clamp(38px, 5vw, 56px); line-height: 1.03; letter-spacing: -2.8px; font-weight: 600; }
.section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--muted); line-height: 1.6; font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { position: relative; min-height: 320px; padding: 30px; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 2px 2px rgba(0,0,0,.035), 0 12px 24px -18px rgba(0,0,0,.25), inset 0 0 0 1px #fafafa; overflow: hidden; }
.product-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -55px; top: -65px; border-radius: 50%; background: radial-gradient(circle, rgba(10,114,239,.09), transparent 68%); }
.product-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.product-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -1px; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.version-badge { padding: 6px 9px; border-radius: 999px; background: #ebf5ff; color: #0068d6; font-family: "Geist Mono", monospace; font-size: 10px; font-weight: 500; }
.product-card h3 { margin: 28px 0 8px; font-size: 25px; letter-spacing: -1.1px; }
.product-summary { margin: 0; color: var(--muted); line-height: 1.58; font-size: 15px; }
.product-notes { margin: 14px 0 0; color: #8b8b8b; font-size: 13px; line-height: 1.5; }
.downloads { margin-top: auto; padding-top: 27px; display: flex; flex-wrap: wrap; gap: 9px; }
.download-button { min-height: 39px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 6px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 500; }
.download-button:hover { background: #333; }
.download-button-secondary { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.download-button-secondary:hover { background: #f8f8f8; }
.download-meta { font-family: "Geist Mono", monospace; font-size: 9px; opacity: .72; }
.empty-state { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; text-align: center; padding: 40px; border-radius: 10px; background: repeating-linear-gradient(-45deg, #fff, #fff 12px, #fbfbfb 12px, #fbfbfb 24px); box-shadow: 0 0 0 1px var(--line); }
.empty-state-inner { max-width: 470px; }
.empty-state-icon { width: 50px; height: 50px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #f2f2f2; font-family: monospace; }
.empty-state h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.8px; }
.empty-state p { margin: 0; color: var(--muted); line-height: 1.6; }
.product-error .empty-state-icon { color: #b42318; background: #fff0ee; }
.skeleton { border-radius: 6px; background: linear-gradient(90deg, #f1f1f1 25%, #f8f8f8 50%, #f1f1f1 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.skeleton-icon { width: 49px; height: 49px; }
.skeleton-title { width: 45%; height: 24px; margin-top: 38px; }
.skeleton-copy { width: 80%; height: 14px; margin-top: 16px; }
.skeleton-button { width: 135px; height: 39px; margin-top: auto; }
@keyframes shimmer { to { background-position: -200% 0; } }

.updates { padding-bottom: 135px; }
.update-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; padding: 68px; border-radius: 14px; color: #fff; background: #171717; box-shadow: 0 26px 60px -38px rgba(0,0,0,.6); }
.update-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle at 75% 45%, black, transparent 66%); }
.update-copy, .code-card { position: relative; z-index: 1; }
.kicker-light { color: #7fb8ff; }
.update-copy h2 { color: #fff; }
.update-copy p { max-width: 470px; margin: 22px 0 28px; color: #aaa; font-size: 15px; line-height: 1.7; }
.update-copy code { color: #e5e5e5; font-size: .9em; }
.button-light { color: #171717; background: #fff; }
.code-card { align-self: center; justify-self: end; width: min(100%, 440px); border-radius: 10px; color: #ddd; background: #0e0e0e; box-shadow: 0 0 0 1px rgba(255,255,255,.11), 0 25px 60px rgba(0,0,0,.28); overflow: hidden; }
.code-head, .code-result { min-height: 44px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: #777; font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: .45px; }
.code-head { border-bottom: 1px solid rgba(255,255,255,.08); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; color: #6bd8a3; }
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: #34c985; }
.code-card pre { margin: 0; padding: 28px 20px; overflow-x: auto; font-size: 12px; line-height: 1.9; }
.code-dim { color: #6f6f6f; }
.code-blue { color: #6baaff; }
.code-pink { color: #f175bd; }
.code-green { color: #6bd8a3; }
.code-result { border-top: 1px solid rgba(255,255,255,.08); color: #666; }
.code-result span:first-child { color: #6bd8a3; }

.footer { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.brand-small { color: var(--ink); }
.footer > div { display: flex; gap: 22px; }
.footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero { min-height: 820px; padding-top: 90px; }
  .hero-orbit { top: 410px; right: 50%; transform: translateX(50%) scale(.88); }
  .hero::before { mask-image: linear-gradient(to bottom, black, transparent 90%); }
  .update-panel { grid-template-columns: 1fr; gap: 55px; padding: 50px; }
  .code-card { justify-self: stretch; width: 100%; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 60px; }
  .nav-links > a:not(.nav-status) { display: none; }
  .nav-status { padding: 7px 9px; font-size: 12px; }
  .hero { min-height: 760px; padding-top: 68px; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-copy { font-size: 17px; }
  .hero-orbit { top: 395px; transform: translateX(50%) scale(.7); }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline article { min-height: auto; }
  .pipeline article + article { border-left: 0; border-top: 1px solid var(--line); }
  .products { padding-block: 100px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .section-heading h2, .update-copy h2 { letter-spacing: -2px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px; }
  .update-panel { padding: 34px 24px; min-height: auto; }
  .footer { padding-block: 34px; flex-direction: column; text-align: center; }
}

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