:root {
  color-scheme: dark;
  --bg: #080b0f;
  --panel: #11171c;
  --panel-2: #162118;
  --text: #f6f7f1;
  --muted: #b8c2b4;
  --line: rgba(246, 247, 241, 0.14);
  --cyan: #76e4f7;
  --lime: #b7f66b;
  --amber: #f4b860;
  --clay: #dd7b57;
  --ink: #080b0f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.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: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(246, 247, 241, 0.1);
  background: rgba(8, 11, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(246, 247, 241, 0.28);
  background: #050607;
  object-fit: cover;
}

.brand strong {
  display: block;
  line-height: 1.1;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86svh;
  padding: 124px clamp(20px, 5vw, 64px) 68px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(8, 11, 15, 0.4), var(--bg) 96%),
    radial-gradient(circle at 72% 28%, rgba(118, 228, 247, 0.18), transparent 32%),
    #080b0f;
}

#agent-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(246, 247, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 247, 241, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-content {
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 980px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #d7ded1;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
}

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

.button.secondary {
  background: rgba(246, 247, 241, 0.08);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 46px auto 0;
  border: 1px solid rgba(246, 247, 241, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(246, 247, 241, 0.1);
}

.hero-stats div {
  padding: 18px;
  background: rgba(8, 11, 15, 0.64);
}

.hero-stats dt {
  color: var(--cyan);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ops-strip {
  display: grid;
  grid-template-columns: 1.3fr repeat(6, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: -22px auto 0;
  padding: 0 clamp(20px, 4vw, 0px);
  position: relative;
  z-index: 5;
}

.ops-strip > * {
  min-height: 70px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #11171c;
  color: #dce6d8;
  font-size: 0.86rem;
  text-align: center;
}

.signal {
  gap: 10px;
  justify-content: flex-start;
}

.signal span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(183, 246, 107, 0.12);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px clamp(20px, 4vw, 0px);
}

.section.dark {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: #101113;
}

.section.dark > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 0px);
  padding-right: clamp(20px, 4vw, 0px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.split p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.service-grid,
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article,
.blueprint-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.service-grid article {
  min-height: 238px;
}

.number {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

h3 {
  margin: 18px 0 12px;
  font-size: 1.22rem;
  line-height: 1.2;
}

article p {
  color: var(--muted);
  line-height: 1.65;
}

.blueprint-grid article {
  background: #151a17;
}

.blueprint-grid .tag {
  margin-bottom: 22px;
  color: var(--cyan);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 18px;
  background: #101713;
}

.timeline article span {
  grid-row: span 2;
  color: var(--clay);
  font-weight: 900;
}

.timeline h3 {
  margin: 0;
}

.timeline p {
  margin-bottom: 0;
}

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
}

.proof ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.proof li {
  padding: 16px 18px;
  border-left: 3px solid var(--lime);
  background: #11171c;
  color: #dfe8da;
}

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px clamp(20px, 4vw, 0px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact h2 {
  max-width: 820px;
  margin-bottom: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.5fr));
  gap: clamp(28px, 5vw, 72px);
  padding: 42px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p,
.site-footer h2 {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-brand p,
.footer-links p {
  line-height: 1.65;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .hero-stats,
  .section-heading,
  .service-grid,
  .blueprint-grid,
  .split,
  .proof-grid,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .ops-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    padding-top: 16px;
  }

  .signal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-bottom: 84px;
  }

  h1 {
    font-size: clamp(2.4rem, 17vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats div {
    padding: 14px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline article span {
    grid-row: auto;
  }
}
