:root {
  --bg: #10111b;
  --panel: #191b2a;
  --fg: #f8f8f2;
  --muted: #a0a5bd;
  --purple: #bd93f9;
  --pink: #ff79c6;
  --cyan: #8be9fd;
  --green: #50fa7b;
  --line: #303246;
  --section-space: 72px;
  --section-heading-space: 32px;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
::selection {
  background: #bd93f944;
}
.shell {
  max-width: 1240px;
  margin: auto;
  padding-inline: 40px;
}
.purple {
  color: var(--purple);
}
.pink {
  color: var(--pink);
}
.cyan {
  color: var(--cyan);
}
.green {
  color: var(--green);
}
.muted {
  color: var(--muted);
}
.gradient {
  background: linear-gradient(110deg, var(--purple) 10%, var(--pink) 95%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 12px;
  background: var(--purple);
  color: var(--bg);
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
header {
  height: 88px;
  padding: 0 max(40px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid #30324688;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #10111bea;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 21px var(--mono);
  letter-spacing: -1px;
}
nav {
  display: flex;
  gap: 30px;
  font: 11px var(--mono);
  color: var(--muted);
}
.nav-cta {
  border: 1px solid #bd93f955;
  border-radius: 6px;
  padding: 11px 17px;
  font: 12px var(--mono);
}
.nav-cta span {
  color: var(--purple);
  margin-left: 12px;
}
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 40%, #36235444, transparent 55%);
}
#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  padding-top: 91px;
  padding-bottom: 76px;
  pointer-events: none;
}
.hero-grid :is(a, button) {
  pointer-events: auto;
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1.7px;
  margin: 0 0 26px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 12px #50fa7b88;
}
h1 {
  font-size: clamp(48px, 5.2vw, 74px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -3.5px;
  margin: 0 0 28px;
}
p {
  line-height: 1.8;
}
.lead {
  font-size: 15px;
  color: #b7bbce;
  line-height: 1.85;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 32px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font: 600 12px var(--mono);
  padding: 17px 22px;
  border: 0;
  border-radius: 5px;
}
.primary {
  background: var(--purple);
  color: #181322;
}
.text-link {
  font: 11px var(--mono);
  color: #d7d8e5;
}
.text-link span {
  margin-left: 12px;
  color: var(--purple);
}
.hero-note {
  margin-top: 46px;
  font: 10px var(--mono);
  color: var(--muted);
}
.hero-note span {
  margin-right: 8px;
}
.hero-visual {
  align-self: center;
  padding-top: 12px;
}
.orbit-label,
.visual-footer {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 1.4px;
  color: var(--muted);
}
.orbital-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 650px;
}
.coordinate {
  position: absolute;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #bfc1d3;
  background: transparent;
  padding: 8px;
}
.c1 {
  left: 0;
  top: 86px;
}
.c2 {
  right: -12px;
  bottom: 104px;
}
.c3 {
  left: 50px;
  bottom: 40px;
}
.visual-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}
.theme-caption {
  white-space: nowrap;
}
.visual-footer {
  gap: 12px;
  letter-spacing: 0;
  font-size: 8px;
}
.hero-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #30324688;
  padding-top: 20px;
  padding-bottom: 20px;
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.section {
  padding-block: var(--section-space);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--section-heading-space);
  gap: 25px;
}
.section-heading p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 3px;
}
h2 {
  font-size: clamp(28px, 3.1vw, 43px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.6px;
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-grid article {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(150deg, #22233355, #191b2a33);
  position: relative;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.service-grid article:hover {
  border-color: #bd93f977;
  transform: translateY(-4px);
}
.service-icon {
  font: 22px var(--mono);
  display: block;
  margin-bottom: 37px;
}
.service-number {
  position: absolute;
  right: 26px;
  top: 32px;
  font: 10px var(--mono);
  color: #777c98;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.service-grid p {
  font-size: 13px;
  color: var(--muted);
  min-height: 95px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.tags span {
  font: 8px var(--mono);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 8px;
  color: #c2c5d7;
}
.lab {
  background: #151622;
  border-block: 1px solid #30324688;
}
.workspace {
  border: 1px solid #45465e;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 25px 70px #0003;
}
.window-bar {
  background: #242635;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font: 9px var(--mono);
  color: #b2b5cb;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  height: 7px;
  width: 7px;
  background: #ff7979;
  border-radius: 50%;
}
.window-dots i:nth-child(2) {
  background: #f1fa8c;
}
.window-dots i:nth-child(3) {
  background: #50fa7b;
}
.demo-badge {
  font-size: 7px;
  color: var(--muted);
  border: 1px solid #505267;
  padding: 4px 6px;
  border-radius: 3px;
}
.workspace-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}
.editor {
  background: #1c1e2c;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  background: #1c1e2c;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 12px 8px;
  min-width: 0;
  min-height: 44px;
  overflow-wrap: anywhere;
  font: 10px var(--mono);
  color: #a5a8be;
}
.tabs button[aria-selected='true'] {
  color: var(--purple);
  background: #bd93f90a;
  box-shadow: inset 0 -2px var(--purple);
}
pre {
  font: 11px/2 var(--mono);
  margin: 0;
  overflow: auto;
  white-space: pre;
  tab-size: 2;
}
#code-panel {
  padding: 22px;
  min-height: 315px;
}
#code-panel pre {
  overflow: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
#typed-code {
  color: #f8f8f2;
}
.token-keyword {
  color: var(--pink);
}
.token-string {
  color: #f1fa8c;
}
.token-number {
  color: var(--purple);
}
.token-comment {
  color: #8c99c0;
}
.token-function {
  color: var(--green);
}
.cursor {
  color: var(--pink);
  animation: blink 1s steps(1) infinite;
}
.editor-status {
  border-top: 1px solid var(--line);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  color: var(--muted);
}
.editor-status button {
  background: none;
  border: 0;
  color: var(--muted);
  font: 8px var(--mono);
}
.output {
  padding: 24px;
  background: #191b28;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.output-heading {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
}
.output-label {
  font-size: 12px;
  margin: 30px 0 15px;
  color: var(--muted);
}
#result {
  min-height: 120px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  font: 11px var(--mono);
  margin-bottom: 15px;
  color: #b8bbce;
}
.result-row.total {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: var(--fg);
}
.result-row.total b {
  color: var(--green);
  font-size: 23px;
}
.terminal {
  margin-top: 24px;
  padding: 14px 16px;
  background: #10111b;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 8px/1.6 var(--mono);
}
.terminal p {
  margin: 8px 0 0;
}
.demo-note {
  font: 9px/1.8 var(--mono);
  color: var(--muted);
  margin: 17px 0 0;
}
.origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.origin-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.origin-copy .lead {
  margin-top: 28px !important;
  font-size: 16px !important;
}
.origin-copy strong {
  color: var(--fg);
  font-weight: 500;
}
.origin-facts {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}
.origin-facts div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 9px var(--mono);
}
.origin-facts b {
  font-weight: 400;
  font-size: 11px;
}
.source-link {
  font: 9px var(--mono);
  color: var(--purple);
  border-bottom: 1px solid #bd93f944;
  padding-bottom: 5px;
}
.asteroid-panel {
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, #30264255, transparent 70%);
  border-radius: 9px;
  overflow: hidden;
}
.model-top {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
#asteroid {
  display: block;
  width: 100%;
  height: 335px;
  cursor: grab;
  touch-action: pan-y;
}
#asteroid.dragging {
  cursor: grabbing;
  touch-action: none;
}
.model-controls {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.model-controls button {
  border: 0;
  background: none;
  font: 8px var(--mono);
  color: var(--purple);
}
.model-note {
  font: 8px/1.8 var(--mono);
  padding: 0 20px 12px;
  color: var(--muted);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.process-grid span {
  font: 9px var(--mono);
  color: var(--purple);
}
.process-grid h3 {
  font-size: 15px;
  margin-top: 23px;
}
.process-grid p {
  font-size: 12px;
  color: var(--muted);
}
.contact {
  background: radial-gradient(ellipse at 15% 90%, #bd93f90c, transparent 60%), #151622;
  border-block: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact h2 {
  font-size: 42px;
}
.contact p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}
.email {
  font: 17px var(--mono);
  display: inline-block;
  margin-top: 18px;
  color: var(--purple);
}
.contact .location {
  font: 9px var(--mono);
  margin-top: 18px;
}
form {
  display: flex;
  flex-direction: column;
}
label {
  display: block;
  font: 9px var(--mono);
  color: #bec1d4;
  margin-bottom: 9px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #3b3d52;
  background: #10111b;
  border-radius: 4px;
  padding: 9px 11px;
  color: var(--fg);
  font: 11px/1.5 var(--mono);
  margin-bottom: 14px;
  min-width: 0;
}
input:not([type='checkbox']):not([type='radio']),
select {
  min-height: 40px;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
form .button {
  width: 100%;
}
.contact .form-note {
  font: 8px/1.8 var(--mono);
  margin: 12px 0 0;
}
footer {
  padding-block: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer > span,
footer > a:last-child {
  font: 8px var(--mono);
  color: var(--muted);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (min-width: 1500px) {
  .hero-grid {
    padding-top: 110px;
    padding-bottom: 95px;
  }
}
@media (max-width: 1000px) {
  header {
    padding-inline: 25px;
  }
  nav {
    gap: 18px;
  }
  .brand {
    font-size: 18px;
  }
  .shell {
    padding-inline: 25px;
  }
  .hero-grid {
    gap: 20px;
  }
  h1 {
    font-size: 55px;
  }
  .orbital-art {
    height: 340px;
  }
  .coordinate {
    font-size: 7px;
  }
  .origin {
    gap: 35px;
  }
  .contact-grid {
    gap: 40px;
  }
  .service-grid article {
    padding: 24px 20px;
  }
  .tabs button {
    padding: 14px 11px;
    font-size: 9px;
  }
  :root {
    --section-space: 56px;
  }
}
@media (max-width: 720px) {
  header {
    height: 72px;
    padding-inline: 20px;
  }
  nav {
    display: none;
  }
  .nav-cta {
    font-size: 10px;
    padding: 10px 12px;
  }
  .shell {
    padding-inline: 22px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 35px;
  }
  .hero-copy {
    max-width: 520px;
  }
  h1 {
    font-size: 56px;
    letter-spacing: -3px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .lead {
    font-size: 14px;
  }
  .hero-note {
    margin-top: 28px;
  }
  .hero-visual {
    max-width: 430px;
    width: 100%;
    justify-self: center;
    margin-top: 15px;
  }
  .orbital-art {
    height: 315px;
  }
  .hero-bottom {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  :root {
    --section-space: 40px;
    --section-heading-space: 24px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px !important;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid p {
    min-height: 0;
  }
  .service-icon {
    margin-bottom: 20px;
  }
  .tags {
    margin-top: 20px;
  }
  .workspace-body {
    grid-template-columns: 1fr;
  }
  .editor {
    border-right: 0;
  }
  .window-bar {
    padding-inline: 12px;
    font-size: 7px;
  }
  .window-dots {
    gap: 4px;
  }
  .window-dots i {
    width: 5px;
    height: 5px;
  }
  .demo-badge {
    font-size: 6px;
  }
  #code-panel {
    padding: 20px 14px;
    min-height: 285px;
  }
  pre {
    font-size: 10px;
  }
  .output {
    border-top: 1px solid var(--line);
    min-height: 330px;
  }
  .origin {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .origin-copy .lead {
    font-size: 15px !important;
  }
  #asteroid {
    height: 320px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-grid h3 {
    margin-top: 12px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact h2 {
    font-size: 35px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  footer > span {
    width: 100%;
    order: 3;
  }
  .actions {
    gap: 20px;
  }
  .text-link {
    font-size: 9px;
  }
  .button {
    font-size: 10px;
    padding: 16px 17px;
    gap: 20px;
  }
  .desktop {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1000px) {
  .tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Explicit popup colours prevent light native menus inheriting white hover text. */
select {
  color-scheme: dark;
}
select option,
select optgroup {
  background-color: var(--panel);
  color: var(--fg);
}

/* Quiet theme indicator, paired with its visible name. */
.theme-caption {
  --theme-dot-color: var(--purple);
}
[data-design='aurora'] .theme-caption {
  --theme-dot-color: var(--cyan);
}
[data-design='terminal'] .theme-caption {
  --theme-dot-color: var(--pink);
}
[data-design='eclipse'] .theme-caption {
  --theme-dot-color: #ffb86c;
}
.theme-caption::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--theme-dot-color);
  box-shadow: 0 0 8px var(--theme-dot-color);
}
