:root {
  --bg: #071014;
  --bg-soft: #0b171c;
  --bg-panel: #0e1d24;
  --bg-panel-strong: #11272f;
  --line: #203640;
  --line-bright: #2e5c69;
  --text: #edf8fb;
  --muted: #9db1b8;
  --muted-strong: #c2d3d8;
  --green: #3ee08f;
  --green-deep: #159760;
  --blue: #38bdf8;
  --blue-deep: #1c79ad;
  --warning: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max-width: 1160px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 143, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(56, 189, 248, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(62, 224, 143, 0.07), transparent 42%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  font-family: var(--font-body);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 760;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.section-tight {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: #03100a;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(46, 92, 105, 0.5);
  background: rgba(7, 16, 20, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(62, 224, 143, 0.5);
  border-radius: 7px;
  color: var(--green);
  background: linear-gradient(135deg, rgba(62, 224, 143, 0.11), rgba(56, 189, 248, 0.1));
  font-family: var(--font-mono);
  font-size: 0.86rem;
  box-shadow: inset 0 0 22px rgba(62, 224, 143, 0.08);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.58rem 0.72rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  border-color: rgba(56, 189, 248, 0.28);
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: rgba(14, 29, 36, 0.9);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 224, 143, 0.7), rgba(56, 189, 248, 0.7), transparent);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.55rem;
}

.page-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 29, 36, 0.76), rgba(7, 16, 20, 0.1));
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero .container {
  display: grid;
  gap: 1.35rem;
}

.eyebrow,
.card-kicker {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 68ch;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.78rem 1rem;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  border-color: rgba(62, 224, 143, 0.45);
  color: #02100a;
  background: linear-gradient(135deg, var(--green), #7df6bd);
  box-shadow: 0 14px 34px rgba(62, 224, 143, 0.18);
}

.button-secondary {
  border-color: rgba(56, 189, 248, 0.36);
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}

.signal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 92, 105, 0.88);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.35rem);
  background:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 143, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(17, 39, 47, 0.95), rgba(10, 23, 29, 0.94));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow);
}

.signal-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 12%, rgba(62, 224, 143, 0.14) 46%, transparent 58%);
  transform: translateX(-70%);
  animation: scan 7s linear infinite;
  content: "";
}

@keyframes scan {
  to {
    transform: translateX(78%);
  }
}

.panel-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(46, 92, 105, 0.8);
  padding-bottom: 1rem;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(62, 224, 143, 0.9);
}

.signal-flow {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem 0;
}

.signal-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-left-color: rgba(62, 224, 143, 0.7);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(7, 16, 20, 0.72);
}

.node-label {
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 850;
}

.node-value {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.signal-line {
  width: 1px;
  height: 18px;
  margin-left: 1.2rem;
  background: linear-gradient(var(--green), var(--blue));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  border-top: 1px solid rgba(46, 92, 105, 0.8);
  padding-top: 1rem;
}

.metric-grid div {
  border: 1px solid rgba(46, 92, 105, 0.72);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(7, 16, 20, 0.72);
}

.metric-value {
  display: block;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 1.16rem;
  font-weight: 850;
}

.metric-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split > div:first-child {
  display: grid;
  gap: 1rem;
}

.split p {
  font-size: 1.05rem;
}

.stacked-copy {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.services-grid,
.content-grid,
.values-grid,
.roadmap,
.process-strip {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.values-grid,
.roadmap,
.process-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.feature-card,
.service-card,
.text-panel,
.deliverables,
.contact-card,
.values-grid > div,
.roadmap > div,
.process-strip > div {
  border: 1px solid rgba(46, 92, 105, 0.78);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(14, 29, 36, 0.9), rgba(8, 18, 23, 0.92));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.feature-card,
.service-card,
.text-panel,
.values-grid > div,
.roadmap > div,
.process-strip > div {
  display: grid;
  align-content: start;
  gap: 0.82rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.feature-card,
.service-card {
  min-height: 230px;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.feature-card:hover,
.feature-card:focus-visible,
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 224, 143, 0.5);
  outline: none;
}

.service-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.62rem);
}

.text-panel {
  gap: 1.1rem;
}

.text-panel h2,
.deliverables h2,
.contact-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 1.5rem;
  padding-left: 1.75rem;
  color: var(--muted-strong);
}

.check-list li::before {
  position: absolute;
  top: 0.18rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(62, 224, 143, 0.65);
  border-radius: 4px;
  background: rgba(62, 224, 143, 0.12);
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 0.42rem;
  left: 0.27rem;
  width: 0.46rem;
  height: 0.24rem;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
  content: "";
}

.cta-band {
  border-top: 1px solid rgba(46, 92, 105, 0.75);
  border-bottom: 1px solid rgba(46, 92, 105, 0.75);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(90deg, rgba(13, 34, 41, 0.92), rgba(10, 22, 27, 0.72));
}

.cta-content {
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-content div {
  display: grid;
  max-width: 760px;
  gap: 0.75rem;
}

.cta-content h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.process-strip > div,
.roadmap > div,
.values-grid > div {
  min-height: 190px;
}

.step-number {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 900;
}

.assessment-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.assessment-copy {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.assessment-copy h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
}

.deliverables,
.contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  color: var(--muted-strong);
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(46, 92, 105, 0.92);
  border-radius: 7px;
  padding: 0.9rem 0.95rem;
  color: var(--text);
  background: rgba(7, 16, 20, 0.85);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 224, 143, 0.12);
  outline: none;
}

select {
  color-scheme: dark;
}

textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(46, 92, 105, 0.75);
  padding: 2rem 0;
  background: rgba(5, 12, 15, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-nav a,
.footer-contact span {
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--green);
  outline: none;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 0.5rem;
    font-size: 0.84rem;
  }

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

@media (max-width: 860px) {
  body.nav-open {
    overflow: hidden;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - 78px);
    overflow: auto;
    border-bottom: 1px solid var(--line-bright);
    padding: 1rem;
    background: rgba(7, 16, 20, 0.98);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.95rem;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .content-grid,
  .assessment-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .values-grid,
  .roadmap,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    border-top: 1px solid rgba(46, 92, 105, 0.5);
    padding-top: 1rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .hero-actions,
  .cta-content,
  .button {
    width: 100%;
  }

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

  .signal-node {
    align-items: flex-start;
    flex-direction: column;
  }

  .node-value {
    text-align: left;
  }
}
