/* BaneySpaces product page: deep space, glass, and the icon's red. */
:root {
  --void: #05060c;
  --ink: #eef0f7;
  --muted: #a3a9bf;
  --faint: #6c7290;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(20, 23, 36, .62);
  --glass-strong: rgba(26, 29, 45, .86);
  --red: #e8434a;
  --red-soft: rgba(232, 67, 74, .16);
  --violet: #7c6cff;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.bs { margin: 0; min-height: 100vh; background: var(--void); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
svg { width: 1em; height: 1em; }
.bs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bs-skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .6rem 1rem; border-radius: 10px; background: var(--red); color: #fff; text-decoration: none; }
.bs-skip:focus { top: 1rem; }

/* The sky: a canvas of stars (drawn by the script) over two slow nebula glows. */
.bs-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
.bs-nebula { position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 12% 8%, rgba(150, 32, 58, .38), transparent 70%),
    radial-gradient(45% 40% at 92% 30%, rgba(74, 58, 190, .30), transparent 70%),
    radial-gradient(50% 45% at 50% 105%, rgba(40, 70, 170, .22), transparent 70%),
    var(--void);
  animation: bs-drift 60s ease-in-out infinite alternate; }
@keyframes bs-drift { to { transform: translate3d(2%, -3%, 0) scale(1.06); } }

/* Navigation */
.bs-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.5rem; padding: .85rem max(1.25rem, calc((100vw - 1200px) / 2)); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(5, 6, 12, .55); border-bottom: 1px solid var(--line); }
.bs-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.bs-logo { width: auto; height: auto; flex: none; filter: drop-shadow(0 0 10px rgba(232, 67, 74, .35)); }
.bs-nav nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .92rem; color: var(--muted); }
.bs-nav nav a { text-decoration: none; }
.bs-nav nav a:hover { color: var(--ink); }

/* Buttons and the install command */
.bs-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(180deg, #f05860, #d3363d); color: #fff; font-weight: 650; text-decoration: none; box-shadow: 0 8px 30px rgba(232, 67, 74, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s ease, box-shadow .15s ease; }
.bs-button:hover { transform: translateY(-1px); box-shadow: 0 12px 38px rgba(232, 67, 74, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.bs-button-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); box-shadow: none; color: var(--ink); }
.bs-button-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.bs-nav-cta { min-height: 38px; padding: .45rem 1rem; font-size: .9rem; }
.bs-command { display: flex; align-items: center; gap: .75rem; max-width: 100%; margin: 1.6rem 0 0; padding: .55rem .55rem .55rem 1rem; border-radius: 14px; background: rgba(8, 10, 18, .8); border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(232, 67, 74, .08), 0 20px 50px rgba(0, 0, 0, .35); }
.bs-prompt { color: var(--red); font: 600 .95rem var(--mono); }
.bs-command code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: .86rem/1.5 var(--mono); color: #d9dcea; scrollbar-width: none; }
.bs-command code::-webkit-scrollbar { display: none; }
.bs-copy-btn { display: inline-flex; align-items: center; gap: .4rem; flex: none; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--ink); font: 600 .82rem var(--sans); cursor: pointer; }
.bs-copy-btn:hover { background: rgba(255, 255, 255, .12); }
.bs-copy-btn .done-icon, .bs-copy-btn.is-done .copy-icon { display: none; }
.bs-copy-btn.is-done .done-icon { display: inline-flex; color: #5ee08a; }

/* Hero */
.bs-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 8vw, 6.5rem) 1.25rem clamp(2.5rem, 6vw, 5rem); }
.bs-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .82rem; letter-spacing: .02em; }
.bs-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232, 67, 74, .6); animation: bs-pulse 2.4s infinite; }
@keyframes bs-pulse { 70% { box-shadow: 0 0 0 9px rgba(232, 67, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 67, 74, 0); } }
.bs-hero h1 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.bs-hero h1 span { display: block; white-space: nowrap; }
.bs-hero h1 span:last-child { background: linear-gradient(100deg, #fff 10%, #ffb4b7 45%, #a99cff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-lede { max-width: 34rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; }
.bs-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.bs-meta { margin: 1.25rem 0 0; color: var(--faint); font-size: .84rem; }

/* The demo: a tiny Mac screen and the 3x3 workspace grid */
.bs-demo { margin: 0; }
.bs-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
  background: radial-gradient(120% 90% at 20% 0%, #23163a 0%, #0d1022 55%, #070912 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), 0 40px 90px rgba(0, 0, 0, .55), 0 0 120px rgba(124, 108, 255, .18); }
.bs-menubar { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; height: 26px; padding: 0 .75rem; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bs-menubar-dot { margin-right: auto; width: 34%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.bs-menubar-ws { display: grid; place-items: center; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 4px; background: #fff; color: #0b0d18; font: 700 .7rem var(--sans); }
.bs-windows { position: absolute; inset: 26px 0 0; }
.bs-window { position: absolute; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: rgba(28, 31, 48, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.bs-window.is-focused { border-color: rgba(232, 67, 74, .65); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 67, 74, .35); z-index: 2; }
.bs-window-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; background: rgba(255, 255, 255, .05); font-size: .68rem; color: var(--muted); }
.bs-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.bs-window-bar b { margin-left: 6px; color: var(--ink); font-weight: 600; }
.bs-window-body { flex: 1; padding: 10px; display: grid; gap: 6px; align-content: start; }
.bs-window-body span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.bs-window-body span:nth-child(1) { width: 70%; background: var(--accent, rgba(255, 255, 255, .2)); opacity: .75; }
.bs-window-body span:nth-child(2) { width: 90%; }
.bs-window-body span:nth-child(3) { width: 55%; }
.bs-window.is-entering { opacity: 0; transform: translateY(10px) scale(.97); }
.bs-empty { position: absolute; inset: 26px 0 0; display: grid; place-items: center; margin: 0; color: var(--faint); font-size: .9rem; }
.bs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(240px, 60%); margin: 1.1rem auto 0; }
.bs-cell { position: relative; aspect-ratio: 1.45; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); font: 600 .82rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.bs-cell:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.bs-cell.has-windows::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.bs-cell.is-current { background: var(--red-soft); border-color: var(--red); color: #fff; box-shadow: 0 0 22px rgba(232, 67, 74, .35); }
.bs-demo-hint { min-height: 1.4em; margin-top: .8rem; text-align: center; color: var(--muted); font-size: .86rem; }
.bs-tip-touch { display: none; }
@media (hover: none) { .bs-tip-keys { display: none; } .bs-tip-touch { display: inline; } }
.bs-demo-tip { margin: .4rem auto 0; max-width: 26rem; text-align: center; color: var(--faint); font-size: .82rem; }
.bs-glyph { display: inline-flex; vertical-align: -0.12em; }
.bs-glyph svg { width: .95em; height: .95em; stroke-width: 2; }
kbd { display: inline-block; min-width: 1.6em; padding: .1em .45em; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .16); border-bottom-width: 2px; background: rgba(255, 255, 255, .06); font: 600 .86em var(--sans); color: var(--ink); text-align: center; }

/* Sections */
.bs-section { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 8vw, 6.5rem) 1.25rem; }
.bs-kicker, .bs-copy .bs-kicker { margin: 0 0 .9rem; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bs-section h2, .bs-closing h2 { text-wrap: balance; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 750; }
.bs-copy p { color: var(--muted); max-width: 36rem; }
.bs-card { position: relative; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bs-card h2, .bs-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; letter-spacing: -.01em; }
.bs-card p { margin: 0; color: var(--muted); }
.bs-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 0; }
.bs-index { display: block; margin-bottom: 1.4rem; color: var(--red); font: 700 .8rem var(--mono); letter-spacing: .12em; }

.bs-contrast { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.bs-versus { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.bs-versus-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.bs-versus-label { flex-basis: 100%; color: var(--faint); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bs-step { padding: .35rem .75rem; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .18); color: var(--muted); font-size: .88rem; }
.bs-versus-row.is-bs kbd { font-size: 1.3rem; padding: .25em .6em; border-color: rgba(232, 67, 74, .6); box-shadow: 0 0 24px rgba(232, 67, 74, .35); }

.bs-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bs-feature.is-reversed { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); }
.bs-feature.is-reversed .bs-copy { order: 2; }
.bs-shot { position: relative; border-radius: 18px; padding: 6px; background: linear-gradient(140deg, rgba(232, 67, 74, .45), rgba(124, 108, 255, .35) 60%, rgba(255, 255, 255, .08)); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 90px rgba(124, 108, 255, .15); }
.bs-shot img { border-radius: 13px; }
.bs-shot-setup { max-width: 430px; justify-self: center; }
.bs-shot-deck { max-width: 300px; justify-self: center; }
.bs-points { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.bs-points li { display: flex; gap: .65rem; align-items: baseline; color: var(--ink); }
.bs-points span { color: var(--red); flex: none; transform: translateY(.12em); }

.bs-safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }

.bs-setup { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bs-steps { list-style: none; counter-reset: step; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.bs-steps li { counter-increment: step; position: relative; padding-left: 3.1rem; }
.bs-steps li::before { content: counter(step); position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid rgba(232, 67, 74, .55); background: var(--red-soft); color: #fff; font-weight: 700; font-size: .9rem; }
.bs-steps h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.bs-steps p { margin: 0; }
.bs-fine { font-size: .9rem; }
.bs-fine a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.bs-fine code { font: .85em var(--mono); padding: .1em .35em; border-radius: 5px; background: rgba(255, 255, 255, .07); }

.bs-table { margin-top: 1.8rem; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.bs-table table { width: 100%; border-collapse: collapse; }
.bs-table th, .bs-table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.bs-table th { color: var(--faint); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.bs-table tr:last-child td { border-bottom: 0; }
.bs-table td:first-child { white-space: nowrap; }

.bs-faq { max-width: 860px; }
.bs-faq details { border-bottom: 1px solid var(--line); }
.bs-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 600; }
.bs-faq summary::-webkit-details-marker { display: none; }
.bs-plus { flex: none; color: var(--red); transition: transform .2s ease; }
.bs-faq details[open] .bs-plus { transform: rotate(45deg); }
.bs-faq details p { margin: 0 0 1.3rem; color: var(--muted); max-width: 44rem; }

.bs-closing { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.25rem; text-align: center; }
.bs-closing p { color: var(--muted); font-size: 1.15rem; }
.bs-closing .bs-command { margin: 1.8rem auto 1.2rem; max-width: 640px; text-align: left; }
.bs-orbit { position: relative; display: inline-grid; place-items: center; width: 150px; height: 150px; margin-bottom: 1.5rem; }
.bs-orbit::before, .bs-orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(232, 67, 74, .35); animation: bs-spin 18s linear infinite; }
.bs-orbit::after { inset: -22px; border-color: rgba(124, 108, 255, .25); border-style: dashed; animation-duration: 30s; animation-direction: reverse; }
@keyframes bs-spin { to { transform: rotate(360deg); } }

.bs-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .88rem; }
.bs-footer p { margin: 0; }
.bs-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.bs-footer a { color: var(--muted); text-decoration: none; }
.bs-footer a:hover { color: var(--ink); }

/* Tablet and phone */
@media (max-width: 980px) {
  .bs-hero, .bs-contrast, .bs-feature, .bs-feature.is-reversed, .bs-setup { grid-template-columns: minmax(0, 1fr); }
  .bs-feature.is-reversed .bs-copy { order: 0; }
  .bs-pillars { grid-template-columns: minmax(0, 1fr); }
  .bs-safety-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.bs { font-size: 16px; }
  .bs-nav nav { display: none; }
  .bs-nav-cta { margin-left: auto; }
  .bs-safety-grid { grid-template-columns: minmax(0, 1fr); }
  .bs-hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .bs-command { flex-wrap: nowrap; }
  .bs-copy-btn .bs-copy-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bs-table td:first-child { white-space: normal; }
  .bs-grid { width: min(220px, 72%); }
}

/* Motion is decoration here; with reduced motion the page is complete and still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bs-nebula, .bs-pulse, .bs-orbit::before, .bs-orbit::after { animation: none; }
  .bs-window, .bs-cell, .bs-button, .bs-plus { transition: none; }
}
