:root {
  color-scheme: dark;
  --bg: #050a14;
  --surface: #0d1629;
  --elevated: #14233d;
  --border: #1e3857;
  --cyan: #00c8ff;
  --cyan-soft: rgba(0, 200, 255, 0.18);
  --purple: #4a1a8a;
  --red: #ff3b3b;
  --text: #b8deff;
  --white: #f4fbff;
  --subtext: #7fa7cf;
  --dim: #385680;
  --steel: #8fa7bd;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(30, 56, 87, 0.72);
  background: rgba(5, 10, 20, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--subtext);
  font-size: 0.94rem;
}

nav a {
  transition: color 160ms ease, border-color 160ms ease;
}

nav a:hover {
  color: var(--white);
}

.nav-action {
  padding: 9px 13px;
  border: 1px solid rgba(0, 200, 255, 0.46);
  border-radius: 7px;
  color: var(--white);
  background: rgba(0, 200, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.98) 0%, rgba(5, 10, 20, 0.9) 36%, rgba(5, 10, 20, 0.42) 100%),
    radial-gradient(circle at 70% 24%, rgba(0, 200, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #050a14 0%, #08101f 58%, #050a14 100%);
}

.hero-art {
  position: absolute;
  right: max(-90px, calc((100vw - var(--max)) / 2 - 30px));
  top: 62px;
  width: min(62vw, 760px);
  max-height: 82vh;
  object-fit: contain;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.06);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 710px;
  padding-top: 26px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--subtext);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.hero-actions,
.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
button {
  color: #03101a;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.22);
}

.secondary {
  color: var(--white);
  border-color: rgba(143, 167, 189, 0.34);
  background: rgba(13, 22, 41, 0.68);
}

.hero-status {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(30, 56, 87, 0.8);
  background: var(--border);
}

.hero-status div {
  min-width: 0;
  padding: 18px;
  background: rgba(5, 10, 20, 0.78);
}

.status-label {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-status strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.25;
}

.section {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--border);
}

.strip-item {
  padding: 30px;
  background: var(--surface);
}

.strip-item span,
.roadmap-lanes span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.strip-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.16rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(30, 56, 87, 0.9);
  border-radius: 8px;
  background: #05080f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 28px 80px rgba(0, 0, 0, 0.32);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: #0a1220;
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--dim);
}

.terminal-bar span:first-child {
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: var(--steel);
}

.terminal-bar span:nth-child(3) {
  background: var(--cyan);
}

pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: var(--text);
  font: 0.98rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.workflow {
  background: #08101f;
}

.section-heading {
  margin-bottom: 34px;
}

.workflow-grid,
.roadmap-lanes,
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-grid article,
.roadmap-lanes article,
.download-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(30, 56, 87, 0.82);
  border-radius: 8px;
  background: rgba(13, 22, 41, 0.74);
}

.roadmap-lanes {
  grid-template-columns: repeat(3, 1fr);
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-grid p {
  flex: 1;
}

.early-access {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(74, 26, 138, 0.24), transparent 38%),
    #050a14;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signup {
  padding: 24px;
  border: 1px solid rgba(30, 56, 87, 0.88);
  border-radius: 8px;
  background: var(--surface);
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 800;
}

input {
  min-width: 0;
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(143, 167, 189, 0.26);
  border-radius: 7px;
  color: var(--white);
  background: #07101f;
  font: inherit;
}

input:focus {
  outline: 2px solid var(--cyan-soft);
  border-color: var(--cyan);
}

.signup p {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--dim);
  background: #03060c;
}

.release-notes {
  min-height: 100vh;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--bg);
}

.release-notes h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.release-notes p {
  max-width: 720px;
  font-size: 1.1rem;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 260px;
  }

  .hero-art {
    right: -130px;
    top: auto;
    bottom: 46px;
    width: 560px;
    max-width: none;
    opacity: 0.42;
  }

  .hero-status,
  .product-strip,
  .split,
  .workflow-grid,
  .download-grid,
  .roadmap-lanes,
  .early-access {
    grid-template-columns: 1fr;
  }

  .hero-status {
    bottom: 16px;
  }

  .hero-status div {
    padding: 14px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .workflow-grid article,
  .roadmap-lanes article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 330px;
  }

  .hero-actions .button,
  .input-row button,
  .input-row input {
    width: 100%;
  }

  .hero-status {
    gap: 1px;
  }

  h1 {
    font-size: 4.15rem;
  }
}
