:root {
  --bg-deep: #041014;
  --bg-slate: #0b1f26;
  --bg-highlight: linear-gradient(135deg, #0d2b36, #103b46 45%, #145357 80%);
  --accent-amber: #ffb347;
  --accent-cyan: #5ff3e6;
  --accent-lime: #c7ff4d;
  --text-main: #f2f5f7;
  --text-muted: #94a8b2;
  --card-dark: rgba(7, 24, 29, 0.88);
  --stroke: rgba(255, 255, 255, 0.08);
  font-family: 'Space Grotesk', 'Newsreader', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: radial-gradient(circle at top, #114556 0%, #041014 55%);
  color: var(--text-main);
  min-height: 100vh;
  padding: 2.5rem clamp(1rem, 5vw, 4rem) 4rem;
  position: relative;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Crect width='100%25' height='100%25' fill='rgba(0,0,0,0)'/%3E%3Cg fill='rgba(255,255,255,0.02)'%3E%3Crect width='1' height='1' x='10' y='40'/%3E%3Crect width='1' height='1' x='90' y='10'/%3E%3Crect width='1' height='1' x='60' y='120'/%3E%3Crect width='1' height='1' x='140' y='80'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.logo {
  font-family: 'Newsreader', serif;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent-cyan);
}

.site-nav .pill {
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3rem;
  border: 1px solid var(--stroke);
  border-radius: 2rem;
  background: var(--bg-highlight);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 35ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent-amber);
  color: #1f1400;
  box-shadow: 0 15px 35px rgba(255, 179, 71, 0.3);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
}

.btn:hover {
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats span {
  font-size: 1.5rem;
  color: var(--accent-lime);
}

.hero-panel {
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: rgba(4, 16, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-panel__label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.hero-panel__stat {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--stroke);
}

.hero-panel__stat strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.2rem;
}

.hero-panel__pulse {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-lime));
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scaleX(0.2);
    opacity: 0.3;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.2);
    opacity: 0.3;
  }
}

.section-heading {
  max-width: 720px;
  margin: 4rem auto 2rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.services {
  margin-top: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-grid article {
  background: var(--card-dark);
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tag {
  align-self: flex-start;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.service-grid ul {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-grid li + li {
  margin-top: 0.4rem;
}

.case-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--stroke);
  background: rgba(5, 18, 24, 0.92);
  align-items: center;
}

.metric {
  font-size: 2.5rem;
  color: var(--accent-lime);
}

.metric-label {
  color: var(--text-muted);
}

.case-card a {
  color: var(--accent-cyan);
  text-decoration: none;
  justify-self: start;
}

.approach-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
}

.approach-steps li {
  background: var(--card-dark);
  border-radius: 1.3rem;
  padding: 1.4rem;
  border: 1px solid var(--stroke);
  position: relative;
}

.approach-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 0.85rem;
  color: var(--accent-amber);
}

.cta {
  margin: 4rem 0;
  padding: 3rem;
  border-radius: 2rem;
  border: 1px solid var(--stroke);
  background: rgba(3, 13, 18, 0.9);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.cta-form {
  display: grid;
  gap: 1.2rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

input,
textarea {
  background: rgba(4, 15, 19, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: inherit;
}

textarea {
  min-height: 120px;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }

  .hero,
  .cta {
    padding: 2rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .hero-stats {
    flex-direction: column;
  }
}
