:root {
  --bg: #090b10;
  --panel: #10151d;
  --panel-2: #151b24;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f7fb;
  --muted: #9aa8b7;
  --cyan: #16d5e8;
  --green: #8ff05a;
  --amber: #ffb845;
  --coral: #ff6b5f;
  --ink: #05070a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, Arial, Helvetica, system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  z-index: -1;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(9, 11, 16, 0.78);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  left: 0;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 48px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  color: var(--ink);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-text {
  font-size: 1.02rem;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav-action,
.button,
.contact-panel button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.nav-action {
  background: var(--cyan);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100svh - 72px);
  padding: clamp(44px, 8vw, 92px) 24px 44px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

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

h1 {
  font-size: clamp(3rem, 6.4vw, 6.35rem);
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.06;
  margin-bottom: 0;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.24;
}

.hero-lead {
  color: #c3ccd8;
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.78;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.button.primary {
  background: var(--green);
  color: var(--ink);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  padding-top: 24px;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 6px;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
}

.hero-visual::before {
  background: var(--amber);
  height: 96px;
  left: -22px;
  top: -22px;
  width: 96px;
  z-index: -1;
}

.hero-visual::after {
  background: var(--coral);
  bottom: 72px;
  height: 128px;
  right: -18px;
  width: 18px;
}

.signal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 178px;
  padding: 16px;
  position: absolute;
}

.signal-card span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.signal-card strong {
  font-size: 1rem;
}

.signal-card-a {
  bottom: 80px;
  left: -22px;
}

.signal-card-b {
  bottom: 14px;
  right: 28px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(64px, 9vw, 112px) 24px;
}

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

.section-heading.split {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  max-width: none;
}

.section-heading.split p:last-child {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 4px;
}

.intro-grid,
.service-grid,
.proof {
  display: grid;
  gap: 18px;
}

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

.intro-grid article,
.service-card,
.proof-card,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.intro-grid article {
  min-height: 260px;
  padding: 28px;
}

.tile-icon {
  align-items: center;
  background: var(--cyan);
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  margin-bottom: 36px;
  width: 48px;
}

.intro-grid p,
.service-card p,
.service-card li,
.module-panel p,
.timeline p,
.backend-copy p,
.proof-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
}

.service-code {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
}

.status {
  border: 1px solid var(--line);
  color: #c8d2dd;
  font-size: 0.72rem;
  padding: 6px 8px;
}

.service-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.service-card li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.accent-card {
  background: #142019;
  border-color: rgba(143, 240, 90, 0.28);
}

.lab-layout {
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 460px;
}

.module-list {
  border-right: 1px solid var(--line);
  display: grid;
}

.module-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  padding: 28px;
  text-align: left;
}

.module-item span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.module-item strong {
  font-size: 1.12rem;
}

.module-item.active {
  background: var(--green);
  color: var(--ink);
}

.module-item.active span {
  color: rgba(5, 7, 10, 0.65);
}

.module-panel {
  display: none;
  padding: clamp(34px, 6vw, 70px);
}

.module-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-header {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-header span {
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
  padding: 12px 14px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.feature-row span,
.backend-tags span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #d7e0ea;
  padding: 10px 12px;
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.timeline article {
  border-top: 2px solid var(--cyan);
  min-height: 230px;
  padding: 24px 12px 0 0;
}

.timeline span {
  color: var(--coral);
  display: block;
  font-weight: 900;
  margin-bottom: 42px;
}

.backend {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
}

.backend-copy {
  max-width: 560px;
}

.backend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dashboard-preview {
  background: #0f1319;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 420px;
  overflow: hidden;
}

.dash-sidebar {
  background: #111820;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 28px 0;
  align-content: start;
}

.dash-sidebar span {
  background: rgba(255, 255, 255, 0.12);
  height: 34px;
  width: 34px;
}

.dash-sidebar span:first-child {
  background: var(--green);
}

.dash-main {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.dash-header,
.metric-grid,
.chart-bars,
.table-lines {
  border: 1px solid var(--line);
}

.dash-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.dash-header span {
  color: #dce6ef;
  font-weight: 800;
}

.dash-header strong {
  background: var(--coral);
  color: var(--ink);
  padding: 6px 8px;
}

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

.metric-grid div {
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.metric-grid strong,
.proof-number {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.chart-bars {
  align-items: end;
  display: flex;
  gap: 14px;
  height: 156px;
  padding: 18px;
}

.chart-bars span {
  background: var(--cyan);
  flex: 1;
  min-width: 18px;
}

.chart-bars span:nth-child(even) {
  background: var(--green);
}

.table-lines {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.table-lines span {
  background: rgba(255, 255, 255, 0.12);
  height: 14px;
}

.table-lines span:nth-child(2) {
  width: 78%;
}

.table-lines span:nth-child(3) {
  width: 88%;
}

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

.proof-card {
  min-height: 190px;
  padding: 28px;
}

.proof-number {
  color: var(--amber);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.contact {
  align-items: center;
  background: var(--green);
  color: var(--ink);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 420px;
  margin-bottom: 72px;
  padding: clamp(42px, 6vw, 70px);
}

.contact .eyebrow {
  color: rgba(5, 7, 10, 0.68);
}

.contact-panel {
  background: var(--ink);
  color: var(--text);
  padding: 26px;
}

.contact-panel a {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.contact-panel button {
  background: var(--cyan);
  color: var(--ink);
  margin-top: 10px;
  width: 100%;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 28px 24px;
}

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

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .intro-grid,
  .service-grid,
  .timeline,
  .proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-layout {
    grid-template-columns: 1fr;
  }

  .module-list {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    padding: 36px 16px 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .hero-stats,
  .intro-grid,
  .service-grid,
  .timeline,
  .proof,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    position: static;
    margin-top: 12px;
  }

  .hero-visual::before {
    left: 0;
    top: 0;
  }

  .hero-visual::after {
    right: 0;
  }

  .section {
    padding: 58px 16px;
  }

  .service-card,
  .intro-grid article {
    min-height: auto;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-main {
    padding: 16px;
  }

  .chart-bars {
    gap: 8px;
  }

  .contact {
    margin-bottom: 48px;
    padding: 34px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
