/* Slipstream Viewer -- site styles. Brand: blue #99BAEA, white #EDF2F7,
   purple #A579D6, tile #10151E. No external dependencies. */
:root {
  --bg: #0b0f16;
  --bg-2: #10151e;
  --panel: #141b27;
  --line: #222c3b;
  --text: #edf2f7;
  --muted: #9aa7b8;
  --blue: #99baea;
  --purple: #a579d6;
  --radius: 14px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); border: 1px solid var(--line);
       padding: .1em .35em; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .2px; }
.brand img { width: 30px; height: 30px; }
.brand:hover { text-decoration: none; }
nav.links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a:hover, nav.links a.active { color: var(--text); text-decoration: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(165,121,214,.22), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -20%; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(153,186,234,.16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); border: 1px solid color-mix(in srgb, var(--purple) 45%, transparent);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
h1 .grad { background: linear-gradient(90deg, var(--blue), var(--text) 55%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 0 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #0b0f16; border: 0; }
.btn.primary:hover { filter: brightness(1.08); }
.hero-art img { width: 100%; max-width: 420px; display: block; margin-left: auto;
  filter: drop-shadow(0 30px 60px rgba(153,186,234,.18)); animation: drift 9s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(6px, -8px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* sections */
section { padding: 84px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--bg-2); }
h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 44em; margin: 0 0 40px; font-size: 17px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .k { display: inline-block; width: 34px; height: 4px; border-radius: 4px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--blue), var(--purple)); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.compare .card.new { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.stat { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.stat div { min-width: 160px; }
.stat b { display: block; font-size: 40px; line-height: 1.1;
  background: linear-gradient(90deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* prose (about page) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; }
.prose p, .prose li { color: #cfd8e3; }
.prose ul { padding-left: 20px; }

/* download */
.dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl .card h3 { display: flex; align-items: center; justify-content: space-between; }
.tag { font-size: 12px; color: var(--purple); border: 1px solid color-mix(in srgb, var(--purple) 45%, transparent);
  border-radius: 999px; padding: 2px 8px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art img { max-width: 260px; margin: 0 auto; }
  .grid, .grid.two, .compare, .dl { grid-template-columns: 1fr; }
  nav.links { gap: 14px; }
}
@media (max-width: 560px) { nav.links a.opt { display: none; } }
