:root {
  color-scheme: dark;
  --background: #080c16;
  --surface: #101524;
  --surface-raised: #141a2b;
  --text: #f5f7ff;
  --muted: #b6bdd1;
  --purple: #9275ff;
  --purple-light: #beaaff;
  --teal: #00dfd8;
  --line: #282f45;
  --max-width: 72rem;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); line-height: 1.65; }
h1, h2, h3 { font-weight: 730; }
h1, h2 { letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.65vw, 3.5rem); line-height: 1.04; }
h3 { font-size: 1.17rem; line-height: 1.3; letter-spacing: -.025em; }
section[id] { scroll-margin-top: 1.15rem; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}

.wrap { width: min(var(--max-width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 3;
  inset: .75rem auto auto .75rem;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--background);
  border-radius: .55rem;
}

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #1e2436;
  background: var(--background);
}

.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand { display: inline-block; width: 9.65rem; border-radius: .25rem; }
.brand img { width: 100%; height: auto; mix-blend-mode: screen; }
.main-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.35rem); }
.main-nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 600;
}

.main-nav a:hover, .site-footer nav a:hover { color: var(--text); }
.header-contact { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .95rem;
  font-weight: 710;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}

.button-small { min-height: 2.75rem; padding-inline: 1rem; font-size: .875rem; }
.button-primary {
  background: var(--purple);
  color: #080c16;
  box-shadow: 0 .45rem 1.55rem #7454f326;
}
.button-primary:hover { background: #b29aff; box-shadow: 0 .45rem 1.65rem #9275ff40; }
.button-outline { color: var(--text); border-color: #3b4260; background: #121827a6; }
.button-outline:hover { border-color: var(--purple); background: #1b2037; }

.hero {
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #1e2436;
  background: radial-gradient(ellipse at 78% 47%, #15152c, transparent 48%), var(--background);
}

.hero-inner {
  min-height: 35rem;
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  align-items: center;
  gap: clamp(0rem, 2vw, 2rem);
  padding-block: 5rem;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status-dot, .orbit-dot {
  width: .45rem;
  height: .45rem;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 .75rem #00dfd887;
}

.hero h1 {
  font-size: clamp(2.65rem, 5.35vw, 4.65rem);
  line-height: .99;
  margin: 1.35rem 0 1.6rem;
  text-wrap: initial;
}

.hero h1 span {
  color: var(--purple-light);
  background: linear-gradient(104deg, #bfadff 8%, #9c8bff 55%, #52e8e7);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description { max-width: 35ch; font-size: clamp(1.05rem, 1.65vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 1.13; }
.hero-grid {
  position: absolute;
  inset: -13% -15%;
  background-image: radial-gradient(#a799ee62 1px, transparent 1.4px);
  background-size: 1.5rem 1.5rem;
  mask-image: radial-gradient(ellipse, #0004 24%, #0009 42%, transparent 72%);
}

.hero-art img {
  position: relative;
  width: 107%;
  max-width: none;
  height: auto;
  margin-left: -4%;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 67% 68% at 50% 48%, #000 62%, transparent 94%);
}

.orbit {
  position: absolute;
  border: 1px solid #7776bf40;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbit-outer { width: 98%; height: 78%; }
.orbit-inner { width: 83%; height: 64%; border-color: #6e5ecd2c; }
.orbit-dot { position: absolute; z-index: 1; }
.orbit-dot-teal { right: 15%; bottom: 19%; }
.orbit-dot-violet { left: 16%; top: 23%; background: var(--purple-light); box-shadow: 0 0 .8rem var(--purple); }

.section { padding-block: clamp(4.2rem, 8vw, 7.5rem); }
.section-heading { max-width: 44rem; margin-bottom: 2.1rem; }
.section-heading h2, .demo-copy h2, .contact-panel h2 { margin-top: .75rem; }
.section-heading > p:last-child:not(.eyebrow), .demo-copy > p:not(.eyebrow), .contact-panel h2 + p {
  max-width: 50ch;
  margin-top: .95rem;
}

.service-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card {
  padding: clamp(1.25rem, 2.8vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(150deg, var(--surface-raised), #0d1220 83%);
}
.service-card h3 { margin: .9rem 0 .55rem; }
.service-icon {
  position: relative;
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid #8870ed4d;
  border-radius: .7rem;
  color: var(--purple-light);
  background: #9a7aff17;
}
.service-icon::before, .service-icon::after { content: ""; position: absolute; }
.icon-chat::before { inset: .74rem .65rem .84rem; border: 1.5px solid; border-radius: .28rem; }
.icon-chat::after { bottom: .7rem; left: .91rem; width: .3rem; height: .3rem; border-bottom: 1.5px solid; border-left: 1.5px solid; background: #292544; transform: skewY(-32deg); }
.icon-book::before { inset: .68rem .77rem; border: 1.5px solid; border-radius: .19rem; }
.icon-book::after { top: 1rem; left: 1.01rem; width: .5rem; height: .35rem; border-block: 1.5px solid; }
.icon-route::before { top: .7rem; right: .67rem; width: .8rem; height: .8rem; border-top: 1.5px solid; border-right: 1.5px solid; border-radius: .05rem; }
.icon-route::after { top: 1.26rem; left: .63rem; width: 1.24rem; border-top: 1.5px solid; transform: rotate(-45deg); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--purple-light);
  font-weight: 700;
  text-underline-offset: .22em;
}
.text-link:hover { color: var(--text); }
.service-section .text-link { margin-top: 1.15rem; }

.demo-section {
  border-block: 1px solid #242a3c;
  background: radial-gradient(ellipse at 82% 51%, #211845 0, transparent 55%), #0c1120;
}
.demo-layout { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2.2rem, 6.5vw, 5.5rem); align-items: center; }
.demo-copy .button { margin-top: 1.5rem; }
.demo-copy .demo-note { font-size: .9rem; max-width: 38ch; }

.demo-panel {
  border: 1px solid #40375b;
  border-radius: 1.12rem;
  background: #101625;
  box-shadow: 0 1.4rem 3rem #04061175;
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: #151a2d;
}
.panel-header img { border-radius: .55rem; }
.panel-title { color: var(--text); font-weight: 740; line-height: 1.3; }
.panel-caption { font-size: .875rem; }
.conversation { display: grid; gap: .85rem; align-content: start; min-height: 11.5rem; padding: 1.2rem; }
.bubble { width: fit-content; max-width: 94%; padding: .7rem .9rem; border: 1px solid #303850; border-radius: .75rem; font-size: .94rem; color: var(--text); line-height: 1.5; }
.question { justify-self: end; background: #2c2250; border-color: #4e3e7d; border-end-end-radius: .2rem; }
.answer { justify-self: start; background: #182336; border-end-start-radius: .2rem; }
.demo-options { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--line); padding: .8rem 1.2rem; }
.chip {
  min-height: 2.75rem;
  padding: .4rem .8rem;
  border: 1px solid #404465;
  border-radius: .5rem;
  background: #151a2b;
  color: var(--text);
  font-size: .875rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--purple-light); }
.chip[aria-pressed="true"] { border-color: var(--purple); color: #e0d7ff; background: #312653; }

.process-grid { padding: 0; margin: 0; list-style-position: inside; }
.process-grid li {
  padding: 1.2rem 1rem .55rem 0;
  border-top: 1px solid var(--line);
}
.process-grid li::marker { color: var(--teal); font-weight: 750; }
.process-grid h3 { display: inline; }
.process-grid p { margin-top: .65rem; }
.process-section { padding-bottom: clamp(2.8rem, 6vw, 5.5rem); }

.contact-section { padding-top: 0; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 5vw, 3.75rem);
  border: 1px solid #483b66;
  border-radius: 1.2rem;
  background: radial-gradient(ellipse at 100% 16%, #271c45, transparent 74%), var(--surface);
}
.contact-panel h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
.contact-action { align-self: center; }
.brief { margin-top: .85rem; }
.brief summary { width: fit-content; list-style: none; }
.brief summary::-webkit-details-marker { display: none; }
.brief summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  margin-left: .85rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.brief[open] summary::after { transform: translateY(2px) rotate(225deg); }
.brief-body { margin-top: .75rem; }

.site-footer { border-top: 1px solid #1e2436; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.footer-inner .brand { width: 8.2rem; }

@media (max-width: 900px) {
  .hero-inner { min-height: 31rem; }
  .service-card p { font-size: .96rem; }
}

@media (max-width: 700px) {
  .header-inner { grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-top: .45rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .5rem; }
  .main-nav a { justify-content: center; flex: 1; }
  .header-inner .brand { width: 8.6rem; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; padding-block: 3.1rem 1.1rem; }
  .hero h1 { font-size: clamp(2.7rem, 9.6vw, 4.6rem); }
  .hero-art { width: min(100%, 29rem); margin: .5rem auto 0; aspect-ratio: 1.49; }
  .hero-art img { width: 97%; margin-left: 0; }
  .orbit-outer { width: 92%; height: 89%; }
  .orbit-inner { width: 75%; height: 75%; }
  .service-grid, .process-grid, .demo-layout, .contact-panel { grid-template-columns: 1fr; }
  .conversation { min-height: 0; }
}

@media (max-width: 380px) {
  .actions { gap: .65rem; }
  .actions a { padding-inline: .85rem; }
  .footer-inner { flex-wrap: wrap; gap: .25rem; }
  .site-footer nav { gap: 1rem; }
}

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

@media (forced-colors: active) {
  .hero h1 span { background: none; -webkit-text-fill-color: currentColor; }
}
