:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: #060606;
  --ink: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.68);
  --soft: rgba(247, 247, 242, 0.42);
  --line: rgba(247, 247, 242, 0.22);
  --line-strong: rgba(247, 247, 242, 0.34);
  --accent: #d8ff86;
  --accent-deep: #93c950;
  --blue: #72a4d5;
  --black: #000000;
  --white: #ffffff;
  --card-bg: rgba(13, 18, 28, 0.75);
  --border-cyan: rgba(0, 240, 255, 0.25);
  --neon-cyan: #00f0ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

section {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 44px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.contact-actions,
.hero-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  font-size: 1rem;
  font-weight: 650;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  padding: 4px;
}

.nav {
  gap: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  transition: color 160ms ease;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
}

.header-action {
  padding: 0 20px;
  color: var(--black);
  background: var(--accent);
}

.panel-frame {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--panel);
  overflow: hidden;
}

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

h1,
h2 {
  font-weight: 430;
  letter-spacing: 0;
}

h1 {
  max-width: 1180px;
  margin-bottom: 54px;
  font-size: 7.4rem;
  line-height: 0.95;
}

h2 {
  font-size: 5.3rem;
  line-height: 1.04;
}

h3 {
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.1;
}

p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.52;
}

strong {
  color: var(--ink);
}

.section-label {
  margin-bottom: 36px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.hero {
  min-height: 100vh;
  margin: 20px 28px 0;
  padding: 88px 48px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.38fr);
  align-items: center;
  gap: 48px;
}

.particle-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.46) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 8%, rgba(255, 255, 255, 0.26) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 80%, rgba(255, 255, 255, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 65% 72%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.08), transparent 38%);
  background-size: 19px 19px, 31px 31px, 23px 23px, 37px 37px, 100% 100%;
  opacity: 0.78;
}

.particle-field::before,
.particle-field::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at center, transparent 0 42%, rgba(255, 255, 255, 0.45) 43%, transparent 44%),
    radial-gradient(ellipse at center, transparent 0 54%, rgba(255, 255, 255, 0.22) 55%, transparent 56%);
  transform: rotate(72deg) skewX(-18deg);
  opacity: 0.36;
}

.particle-field::after {
  transform: rotate(26deg) skewX(12deg);
  opacity: 0.18;
}

.stream {
  position: absolute;
  width: 42%;
  height: 120%;
  border-radius: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  filter: blur(0.2px);
}

.stream-a {
  left: 42%;
  top: -22%;
  transform: rotate(-18deg);
}

.stream-b {
  left: 58%;
  top: -18%;
  transform: rotate(16deg);
}

.stream-c {
  left: 22%;
  top: 18%;
  transform: rotate(38deg);
  opacity: 0.46;
}

.hero-copy,
.logo-stage,
.hero-footer,
.work-title,
.work-content,
.products > h2,
.products > .section-label,
.product-grid,
.contact > * {
  position: relative;
  z-index: 2;
}

.hero-copy p {
  margin-bottom: 88px;
  color: var(--ink);
  font-size: 2.1rem;
  line-height: 1.2;
}

.round-link,
.accent-check,
.mini-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.round-link {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
}

.round-link::before,
.accent-check::before,
.mini-check::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.logo-stage {
  justify-self: end;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: transparent;
}

.logo-stage img {
  width: 68%;
  height: 68%;
}

.hero-footer {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 36px;
  z-index: 3;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.95rem;
}

.hero-footer span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--ink);
}

.hero-footer span:first-child::before {
  border-radius: 50%;
}

.mission {
  min-height: 92vh;
  padding: 42px 42px 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mission-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 47% 48%, rgba(255, 255, 255, 0.54), transparent 8%),
    radial-gradient(ellipse at 47% 52%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(ellipse at 72% 48%, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 28% 54%, rgba(255, 255, 255, 0.12), transparent 30%),
    repeating-radial-gradient(ellipse at 47% 50%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 8px),
    var(--black);
  filter: grayscale(1);
  opacity: 0.82;
}

.mission-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 42%, rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.mission .section-label {
  position: relative;
  z-index: 2;
}

.mission h2 {
  position: relative;
  z-index: 2;
  max-width: 1540px;
  margin-bottom: 0;
  font-size: 4.8rem;
}

.mission h2 span {
  color: var(--accent);
}

.work {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  padding: 0 42px;
}

.work::before,
.work::after {
  content: "";
  position: absolute;
  background: var(--line-strong);
}

.work::before {
  left: 42px;
  right: 42px;
  top: 32px;
  height: 1px;
}

.work::after {
  top: 32px;
  bottom: 32px;
  left: 46%;
  width: 1px;
}

.orbital-body {
  position: absolute;
  width: 78vw;
  height: 78vw;
  max-width: 1220px;
  max-height: 1220px;
  right: -12vw;
  bottom: -48vw;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.17) 18%, rgba(0, 0, 0, 0.7) 48%, #030303 70%),
    radial-gradient(circle at 32% 34%, rgba(216, 255, 134, 0.08), transparent 30%);
  box-shadow: inset 42px 62px 100px rgba(255, 255, 255, 0.18);
  opacity: 0.9;
}

.work-title {
  padding-top: 72px;
}

.work-title h2 {
  font-size: 6.9rem;
}

.work-content {
  align-self: center;
  display: grid;
  grid-template-columns: 56px minmax(0, 760px);
  gap: 34px;
  padding-top: 70px;
}

.accent-check {
  width: 46px;
  height: 46px;
  color: var(--black);
  background: var(--accent);
}

.work-content p {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.28;
}

.products {
  min-height: 80vh;
  padding: 42px 42px 72px;
}

.products h2 {
  margin-bottom: 110px;
  font-size: 3.8rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.product-item {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 52px 46px;
  border-right: 1px solid var(--line-strong);
}

.product-item:last-child {
  border-right: 0;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 66px;
}

.product-top > span:first-child {
  color: var(--accent);
  font-size: 6.2rem;
  line-height: 0.85;
  font-weight: 500;
}

.mini-check {
  width: 42px;
  height: 42px;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.product-item h3 {
  margin-bottom: auto;
  font-size: 1.8rem;
}

.product-item p {
  max-width: 460px;
  margin: 36px 0 0;
  color: var(--soft);
  font-size: 1rem;
}

.font-display {
  font-family: "Chakra Petch", sans-serif;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

.products .section-label,
.products h2,
.products h3,
.products h4,
.products p {
  margin-top: 0;
}

.products h2 {
  margin-bottom: 0;
}

.products .product-grid {
  border: 0;
}

.products .product-item {
  min-height: auto;
  border-right: 0;
}

.products .product-top {
  margin-bottom: 1rem;
}

.products .product-top > span:first-child {
  font-size: 0.75rem;
  line-height: 1rem;
}

.products .product-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.products .product-item p {
  max-width: none;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
}

.cyber-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.cyber-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), transparent 60%, rgba(168, 85, 247, 0.3));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.cyber-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow:
    0 0 25px rgba(0, 240, 255, 0.15),
    inset 0 0 15px rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

.cyber-corner-tl,
.cyber-corner-br {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.cyber-corner-tl {
  top: -2px;
  left: -2px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
}

.cyber-corner-br {
  right: -2px;
  bottom: -2px;
  border-right: 2px solid var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.accordion-content.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-inner {
  overflow: hidden;
}

.scanline {
  position: absolute;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.8), transparent);
  opacity: 0.6;
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

.contact {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  align-items: end;
  gap: 50px;
  padding: 72px 42px;
}

.products + .contact {
  margin-top: 0;
}

.investors,
.careers {
  min-height: 72vh;
  padding: 72px 42px;
}

.section-kicker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 54px;
}

.section-kicker span {
  width: 46px;
  height: 1px;
  background: var(--accent);
}

.section-kicker .section-label {
  margin-bottom: 0;
}

.split-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: 58px;
  align-items: start;
}

.split-section h2 {
  max-width: 1040px;
  font-size: 5.3rem;
}

.section-copy > p {
  color: var(--ink);
  font-size: 1.35rem;
}

.update-list,
.role-grid {
  display: grid;
  gap: 1px;
  margin: 42px 0 0;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.update-list article,
.role-grid article {
  min-height: 170px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(216, 255, 134, 0.06), transparent 48%),
    var(--panel);
}

.update-list span {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 0.85;
  font-weight: 500;
}

.update-list h3,
.role-grid h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.update-list p,
.role-grid p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.98rem;
}

.careers .button {
  margin-top: 34px;
}

.contact h2 {
  max-width: 980px;
}

.contact p:not(.section-label) {
  max-width: 660px;
  color: var(--ink);
  font-size: 1.35rem;
}

.contact-actions {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
}

.button.primary {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 5.3rem;
  }

  h2,
  .mission h2 {
    font-size: 3.8rem;
  }

  .work-title h2 {
    font-size: 5rem;
  }

  .hero,
  .work,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 116px;
  }

  .logo-stage {
    justify-self: start;
    max-width: 460px;
  }

  .work {
    gap: 80px;
    padding-bottom: 78px;
  }

  .work::after {
    display: none;
  }

  .work-content {
    align-self: start;
    padding-top: 0;
  }

  .split-section h2 {
    font-size: 3.8rem;
  }

  .orbital-body {
    right: -38vw;
    bottom: -24vw;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-item {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .product-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px;
  }

  .brand span {
    max-width: 128px;
    line-height: 1.05;
  }

  .nav {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero {
    min-height: 100svh;
    margin: 0;
    padding: 96px 16px 92px;
    gap: 34px;
  }

  h1 {
    margin-bottom: 34px;
    font-size: 3.35rem;
  }

  h2,
  .mission h2 {
    font-size: 2.75rem;
  }

  .work-title h2 {
    font-size: 3.4rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .hero-copy p {
    margin-bottom: 48px;
    font-size: 1.55rem;
  }

  .logo-stage {
    max-width: none;
  }

  .hero-footer {
    left: 16px;
    right: 16px;
    bottom: 24px;
    font-size: 0.78rem;
  }

  .hero-footer span:nth-child(2) {
    display: none;
  }

  .mission,
  .products,
  .investors,
  .careers,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mission {
    min-height: 82vh;
    padding-top: 34px;
  }

  .section-label {
    margin-bottom: 28px;
    font-size: 1.28rem;
  }

  .work {
    padding: 0 16px 64px;
  }

  .work::before {
    left: 16px;
    right: 16px;
  }

  .work-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-content p {
    font-size: 1.14rem;
    line-height: 1.42;
  }

  .orbital-body {
    width: 115vw;
    height: 115vw;
    right: -70vw;
    bottom: -10vw;
  }

  .investors,
  .careers {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .split-section {
    gap: 34px;
  }

  .split-section h2 {
    font-size: 2.75rem;
  }

  .section-copy > p {
    font-size: 1.08rem;
  }

  .update-list,
  .role-grid {
    margin-top: 30px;
  }

  .update-list article,
  .role-grid article {
    min-height: auto;
    padding: 24px;
  }

  .products h2 {
    margin-bottom: 56px;
    font-size: 3rem;
  }

  .product-item {
    min-height: 300px;
    padding: 34px 0;
  }

  .product-top {
    margin-bottom: 46px;
  }

  .product-top > span:first-child {
    font-size: 4.8rem;
  }

  .contact {
    grid-template-columns: 1fr;
    min-height: 70vh;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .contact p:not(.section-label) {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }
}

.products .product-grid {
  display: grid;
  gap: 1.5rem;
  border: 0;
}

.products h2 {
  margin-bottom: 0;
}

.products .product-item {
  min-height: auto;
  padding: 1.5rem;
  border-right: 1px solid var(--border-cyan);
  border-bottom: 1px solid var(--border-cyan);
}

.products .product-top {
  margin-bottom: 1rem;
}

.products .product-top > span:first-child {
  font-size: 0.75rem;
  line-height: 1rem;
}

.products .product-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.products .product-item p {
  max-width: none;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
}

.products .product-item:last-child {
  border-right: 1px solid var(--border-cyan);
  border-bottom: 1px solid var(--border-cyan);
}

@media (min-width: 768px) {
  .products .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero h1,
.mission h2,
.work-title h2,
.split-section h2,
.contact h2 {
  font-weight: 430;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 7.4rem;
  line-height: 0.95;
}

.mission h2 {
  font-size: 4.8rem;
  line-height: 1.04;
}

.work-title h2 {
  font-size: 6.9rem;
  line-height: 1.04;
}

.contact h2 {
  font-size: 5.3rem;
  line-height: 1.04;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 5.3rem;
  }

  .mission h2,
  .split-section h2,
  .contact h2 {
    font-size: 3.8rem;
  }

  .work-title h2 {
    font-size: 5rem;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .mission h2,
  .split-section h2,
  .contact h2 {
    font-size: 2.75rem;
  }

  .work-title h2 {
    font-size: 3.4rem;
  }
}
