:root {
  --ink: #0A130E;
  --deep-green: #0F2B1C;
  --paper: #F4F6F4;
  --circuit-green: #2ECC71;
  --circuit-green-dim: #1E8449;
  --line: #22392C;
  --muted-dark: rgba(244, 246, 244, 0.68);
  --muted-light: #57685D;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--circuit-green);
  margin: 0 0 0.9rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); color: #fff; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

p { color: var(--muted-light); margin: 0 0 1rem; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 6vw;
  position: sticky;
  top: 0;
  background: rgba(10, 19, 14, 0.88);
  backdrop-filter: blur(6px);
  z-index: 20;
  border-bottom: 1px solid rgba(46, 204, 113, 0.18);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.logo em { color: var(--circuit-green); font-style: normal; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
}
.site-header nav a {
  text-decoration: none;
  color: rgba(244, 246, 244, 0.85);
}
.site-header nav a:hover { color: #fff; }

.nav-cta {
  background: var(--circuit-green);
  color: var(--ink) !important;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
}
.nav-cta:hover { background: #fff !important; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.7rem;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--circuit-green); color: var(--ink); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }

.btn-ghost { border: 1px solid rgba(244, 246, 244, 0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--circuit-green); color: var(--circuit-green); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-lines path {
  stroke: var(--circuit-green);
  stroke-opacity: 0.06;
  stroke-width: 1;
}

.tower path:not(.node-bolt) {
  stroke: rgba(244, 246, 244, 0.28);
  stroke-width: 1.6;
  fill: none;
}
.node-ring { fill: none; stroke: var(--circuit-green); stroke-width: 2.2; }
.node-bolt { fill: var(--circuit-green); }

.wire { stroke: var(--circuit-green); stroke-opacity: 0.35; stroke-width: 1.4; stroke-dasharray: 3 5; }
.pulse { fill: var(--circuit-green); }

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 6vw;
  max-width: 780px;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 52ch;
  color: var(--muted-dark);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* ---------- Section heads ---------- */

.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-head h2 { margin: 0; text-align: center; }
.section-head .rule {
  flex: 1;
  max-width: 90px;
  height: 2px;
  background: var(--circuit-green);
}

/* ---------- Layout blocks ---------- */

.services, .process, .about, .contact {
  padding: 5.5rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Services ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(15, 43, 28, 0.1);
  border-top: 3px solid var(--circuit-green);
  border-radius: 6px;
  padding: 2.1rem;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--circuit-green-dim);
  margin: 0 0 0.9rem;
}

.card h3 { font-size: 1.1rem; }
.card p:not(.card-index) { font-size: 0.95rem; margin: 0; }

/* ---------- Process ---------- */

.process { background: #EAEEEA; border-radius: 0; }

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-list li { display: flex; gap: 1.5rem; align-items: flex-start; }

.step-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--circuit-green-dim);
  min-width: 2.5rem;
}

.process-list h3 { margin-bottom: 0.35rem; font-size: 1.05rem; }
.process-list p { margin: 0; font-size: 0.95rem; }

/* ---------- About ---------- */

.about {
  background: var(--deep-green);
  color: var(--paper);
  border-radius: 10px;
  max-width: 1100px;
}
.about .eyebrow { color: var(--circuit-green); }
.about h2 { color: #fff; }
.about p { color: rgba(244, 246, 244, 0.75); max-width: 62ch; margin: 0; }

/* ---------- Contact ---------- */

.contact-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.contact .lede { margin: 0 auto 2rem; }

.contact-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--circuit-green-dim);
  margin-top: 1.3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2rem 6vw 3rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-light);
  background: var(--paper);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 1rem; font-size: 0.85rem; }
  .section-head { gap: 0.8rem; }
  .section-head .rule { max-width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse animateMotion { display: none; }
}
