:root {
  color: #f5f7fa;
  background: #07111d;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #07111d;
  --surface: #0d1c2b;
  --surface-strong: #132334;
  --line: rgba(159, 182, 204, 0.22);
  --line-strong: rgba(240, 198, 83, 0.48);
  --text: #f5f7fa;
  --muted: #a6b5c5;
  --gold: #f0c653;
  --gold-dark: #b88b1e;
  --cyan: #57c7df;
  --green: #55d693;
  --coral: #f2867b;
  --header-height: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); }
body::selection { color: #07111d; background: var(--gold); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 14px; color: #07111d; background: var(--gold); }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(159, 182, 204, 0.18);
  background: rgba(5, 13, 22, 0.94);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.brand small { padding-left: 9px; border-left: 1px solid var(--line); color: var(--gold); font-size: 10px; font-weight: 800; }

.desktop-nav { justify-self: center; display: flex; gap: 28px; }
.desktop-nav a, .text-link { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .text-link:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: #08111c;
  background: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #f8d775; }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(87, 199, 223, 0.55); outline-offset: 3px; }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 12px; }
.button-secondary { color: var(--text); border-color: rgba(245, 247, 250, 0.38); background: rgba(6, 16, 27, 0.74); }
.button-secondary:hover { background: #132334; }

.menu-button { display: none; width: 42px; height: 42px; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.menu-button span { display: block; width: 18px; height: 1px; margin: 3px auto; background: var(--text); }
.mobile-menu { position: fixed; inset: var(--header-height) 0 auto; z-index: 45; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: #07111d; }
.mobile-menu a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }

.hero {
  position: relative;
  display: grid;
  min-height: calc(88svh - var(--header-height));
  margin-top: var(--header-height);
  align-items: center;
  overflow: hidden;
  background-image: url('/assets/bos-command-surface.webp');
  background-size: cover;
  background-position: center top;
}
.hero-scrim { position: absolute; inset: 0; background: rgba(2, 9, 17, 0.74); }
.hero-content { position: relative; z-index: 2; width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 66px 0 76px; }
.hero-content > * { max-width: 790px; }
.release-mark { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.release-mark i { width: 30px; height: 1px; background: var(--gold); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 22px 0 18px; font-size: 68px; line-height: 1.02; }
.hero-content > p { margin: 0; color: #c8d3de; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin: 48px 0 0; border-top: 1px solid rgba(245, 247, 250, 0.28); }
.hero-facts div { padding: 15px 18px 0 0; }
.hero-facts dt { color: #91a6b8; font-size: 10px; text-transform: uppercase; }
.hero-facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 750; }
.next-section { position: absolute; right: 24px; bottom: 18px; z-index: 3; color: var(--muted); font-size: 12px; text-decoration: none; }
.next-section span { padding-left: 8px; color: var(--gold); }

.system-band, .workspace-band, .client-band, .changelog-band, .waitlist-band, .site-footer { width: min(1380px, calc(100% - 48px)); margin-inline: auto; }
.system-band, .workspace-band, .client-band, .changelog-band, .waitlist-band { padding-block: 104px; }
.section-intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr); gap: 42px 80px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -26px; }
.section-intro h2 { margin: 0; }
.section-intro > p:last-child { margin: 0; }
.section-intro.compact { grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr); }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 11px; font-weight: 850; text-transform: uppercase; }
h2 { max-width: 820px; margin: 0; font-size: 42px; line-height: 1.15; }
h3 { margin: 0; font-size: 18px; }
.section-intro > p, .workspace-copy > p, .client-copy > p, .waitlist-copy > p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.system-grid article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-grid article > span { display: block; margin-bottom: 42px; color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.system-grid p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.workspace-band { display: grid; grid-template-columns: minmax(300px, 0.48fr) minmax(520px, 1.05fr); gap: 70px; align-items: center; border-top: 1px solid var(--line); }
.workspace-copy h2, .client-copy h2 { font-size: 38px; }
.workspace-copy ul { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; }
.workspace-copy li { position: relative; padding-left: 21px; color: #d8e0e8; font-size: 14px; }
.workspace-copy li::before { position: absolute; left: 0; color: var(--green); content: '✓'; }
.workspace-visual { margin: 0; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: #020b14; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32); }
.workspace-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.client-band { display: grid; grid-template-columns: minmax(260px, 0.48fr) minmax(420px, 0.9fr); gap: 90px; align-items: center; border-top: 1px solid var(--line); }
.client-visual { width: min(100%, 410px); height: 680px; justify-self: center; margin: 0; border: 1px solid rgba(87, 199, 223, 0.45); border-radius: 8px; overflow: hidden; background: #06101a; }
.client-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.client-facts { display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.client-facts div { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.client-facts span { color: var(--muted); font-size: 13px; }

.changelog-band { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.live-state { color: var(--muted); font-size: 12px; }
.live-state.ready { color: var(--green); }
.changelog-list { margin-top: 44px; border-top: 1px solid var(--line); }
.changelog-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 34px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.changelog-meta { display: grid; align-content: start; gap: 5px; }
.changelog-meta strong { color: var(--gold); font-size: 24px; }
.changelog-meta span { color: var(--muted); font-size: 12px; }
.changelog-copy h3 { font-size: 24px; }
.changelog-copy > p { margin: 8px 0 20px; color: var(--muted); line-height: 1.6; }
.changelog-copy ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 34px; margin: 0; padding: 0; list-style: none; }
.changelog-copy li { position: relative; padding-left: 16px; color: #d9e1e9; font-size: 13px; line-height: 1.5; }
.changelog-copy li::before { position: absolute; left: 0; color: var(--cyan); content: '•'; }
.loading-copy { padding: 24px 0; color: var(--muted); }

.waitlist-band { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(460px, 1fr); gap: 90px; border-top: 1px solid var(--line); }
.waitlist-copy h2 { font-size: 46px; }
.waitlist-assurance { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin-top: 20px; }
.waitlist-assurance span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); font-size: 10px; }
.waitlist-assurance p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.waitlist-form { display: grid; gap: 18px; padding: 30px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.waitlist-form label { display: grid; gap: 7px; color: #cbd5df; font-size: 12px; font-weight: 700; }
.waitlist-form input, .waitlist-form select, .waitlist-form textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 5px; padding: 11px 12px; color: var(--text); background: #07111d; }
.waitlist-form textarea { min-height: 112px; resize: vertical; }
.waitlist-form input:focus, .waitlist-form select:focus, .waitlist-form textarea:focus { border-color: var(--cyan); }
.consent-row { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.consent-row input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--gold); }
.website-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: 100%; }
.submit-button:disabled { cursor: wait; opacity: 0.65; }
.form-status { min-height: 20px; margin: -5px 0 0; color: var(--muted); font-size: 12px; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--coral); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; padding-block: 32px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand small { color: var(--muted); }
.site-footer p { margin: 0; font-size: 12px; text-align: center; }
.site-footer > div:last-child { display: flex; gap: 18px; }
.site-footer > div:last-child a { font-size: 12px; text-decoration: none; }

@media (max-width: 1000px) {
  .desktop-nav, .header-actions .text-link { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .header-actions { justify-self: end; }
  .menu-button { display: grid; }
  .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-band, .client-band, .waitlist-band { grid-template-columns: 1fr; gap: 52px; }
  .workspace-copy, .client-copy, .waitlist-copy { max-width: 760px; }
  .workspace-visual { order: 2; }
  .client-visual { height: 610px; }
}

@media (max-width: 700px) {
  :root { --header-height: 64px; }
  .site-header { gap: 10px; padding-inline: 16px; }
  .brand span { font-size: 22px; }
  .brand small { display: none; }
  .header-actions .button { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .hero { min-height: calc(86svh - var(--header-height)); background-position: 38% top; }
  .hero-content { width: min(100% - 32px, 1380px); padding: 48px 0 64px; }
  h1 { margin-top: 17px; font-size: 44px; }
  .hero-content > p { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 32px; }
  .hero-facts div { display: grid; grid-template-columns: 120px 1fr; padding-top: 10px; }
  .hero-facts dd { margin: 0; }
  .next-section { display: none; }
  .system-band, .workspace-band, .client-band, .changelog-band, .waitlist-band, .site-footer { width: min(100% - 32px, 1380px); }
  .system-band, .workspace-band, .client-band, .changelog-band, .waitlist-band { padding-block: 72px; }
  .section-intro, .section-intro.compact { grid-template-columns: 1fr; gap: 18px; }
  .section-intro .eyebrow { grid-column: auto; margin-bottom: -4px; }
  h2, .workspace-copy h2, .client-copy h2, .waitlist-copy h2 { font-size: 32px; }
  .system-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .system-grid article { min-height: 0; padding: 22px; }
  .system-grid article > span { margin-bottom: 24px; }
  .workspace-band, .client-band, .waitlist-band { gap: 38px; }
  .client-visual { width: min(100%, 360px); height: 550px; }
  .client-facts div { grid-template-columns: 1fr; gap: 5px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .changelog-entry { grid-template-columns: 1fr; gap: 18px; }
  .changelog-copy ul { grid-template-columns: 1fr; }
  .waitlist-form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { text-align: left; }
}

@media (max-width: 390px) {
  .header-actions { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .menu-button { justify-self: end; }
  h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
