:root {
  color-scheme: dark;
  --bg: #020611;
  --bg-soft: #061120;
  --panel: rgba(8, 24, 39, 0.86);
  --panel-strong: rgba(11, 32, 52, 0.96);
  --text: #f7fbff;
  --muted: #aab8ca;
  --quiet: #6f8196;
  --line: rgba(81, 229, 244, 0.22);
  --line-strong: rgba(81, 229, 244, 0.46);
  --cyan: #22f2ff;
  --sky: #55b7ff;
  --gold: #ffd56b;
  --jade: #4ee6a6;
  --rose: #ff6f8c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(34, 242, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 0% 24%, rgba(85, 183, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #01040b 0%, var(--bg) 56%, #01040b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 60px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-wordmark,
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.01em;
  color: var(--text);
  text-shadow: 0 0 24px rgba(34, 242, 255, 0.18);
}

.oo-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.035em;
  margin: 0 0.015em;
}

.brand-o {
  position: relative;
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border: 0.085em solid rgba(34, 242, 255, 0.98);
  border-radius: 32%;
  background: linear-gradient(180deg, rgba(34, 242, 255, 0.22), rgba(85, 183, 255, 0.08));
  box-shadow:
    0 0 16px rgba(34, 242, 255, 0.46),
    inset 0 0 10px rgba(34, 242, 255, 0.18);
  transform: translateY(0.055em);
  flex: 0 0 auto;
}

.o-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.16em;
  height: 0.16em;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 242, 255, 0.9);
  transform: translate(-50%, -50%);
}

.desktop-nav,
.mobile-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover,
.mobile-nav a[aria-current="page"],
.mobile-nav a:hover {
  border-color: var(--line);
  background: rgba(34, 242, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 24, 39, 0.92);
  color: var(--text);
  font-size: 22px;
}

.mobile-nav {
  display: none;
}

.hero,
.card,
.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 42, 65, 0.92), rgba(4, 14, 25, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  min-height: 440px;
  padding: clamp(28px, 6vw, 56px);
  border-radius: 30px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -48% 36%;
  height: 360px;
  background: radial-gradient(circle, rgba(34, 242, 255, 0.22), transparent 58%);
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand,
h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.brand-wordmark {
  letter-spacing: -0.075em;
}

.brand-wordmark .hero-eye {
  font-size: 0.78em;
  margin: 0 0.04em;
}

.accent {
  color: var(--cyan);
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(34, 242, 255, 0.10);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 0 24px rgba(34, 242, 255, 0.12);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.board {
  position: relative;
  width: min(360px, 84vw);
  aspect-ratio: 1;
  transform: rotateX(58deg) rotateZ(45deg);
  transform-style: preserve-3d;
}

.tile {
  position: absolute;
  width: 17%;
  height: 17%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, #1a293d, #09111d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 26px rgba(0, 0, 0, 0.22);
}

.tile.goal {
  border-color: rgba(78, 230, 166, 0.64);
  background: linear-gradient(145deg, rgba(78, 230, 166, 0.34), #0a1621);
}

.diamond {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, white, var(--cyan) 50%, var(--sky));
  box-shadow: 0 0 22px rgba(34, 242, 255, 0.86);
  transform: rotate(45deg);
  animation: pulse 2.4s ease-in-out infinite;
}

.robot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, white, #b9c6d8);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.40), 0 0 16px rgba(34, 242, 255, 0.18);
}

.robot::after {
  content: "";
  position: absolute;
  inset: 11px 8px;
  border-radius: 999px;
  background: #06111d;
  box-shadow: inset 7px 0 0 rgba(34, 242, 255, 0.85), inset -7px 0 0 rgba(34, 242, 255, 0.85);
}

.laser {
  position: absolute;
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #ff613d);
  box-shadow: 0 0 18px rgba(255, 111, 55, 0.84);
}

@keyframes pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.55); }
}

.section {
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 38px 0 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.panel {
  padding: 24px;
  border-radius: var(--radius);
}

.card h2,
.card h3,
.panel h2,
.panel h3 {
  margin: 0 0 10px;
  line-height: 1.22;
}

.card p,
.panel p,
.card li,
.panel li {
  color: var(--muted);
}

.metric {
  color: var(--cyan);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.meta,
.eyebrow {
  color: var(--quiet);
  font-size: 14px;
}

.eyebrow {
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.toc a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.toc a:hover {
  background: rgba(34, 242, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}

details {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 900;
}

details p,
details ul {
  margin: 0;
  padding: 0 18px 18px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 4px 0;
  color: rgba(170, 184, 202, 0.78);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

ul {
  padding-left: 22px;
}

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

code {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 780px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    inset: 66px 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(4, 13, 24, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 260px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 8px;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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