:root {
  --ink: #10141f;
  --muted: #667085;
  --line: rgba(16, 20, 31, 0.12);
  --paper: #f7f4ed;
  --paper-deep: #ece7dc;
  --green: #47b881;
  --teal: #146c74;
  --coral: #d95f45;
  --gold: #d89b2b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 20, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 155, 43, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(20, 108, 116, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--paper), #fbfaf6 42%, #eef3f0);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(16, 20, 31, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 31, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

#constellation {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(16, 20, 31, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.site-nav,
.hero-actions,
.status-row,
.contact-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  box-shadow: 0 12px 24px rgba(20, 108, 116, 0.28);
}

.site-nav {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.site-nav a,
.header-action {
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 7px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.header-action:hover {
  color: var(--ink);
  background: rgba(20, 108, 116, 0.1);
}

.header-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 66px 0 34px;
}

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

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(4.6rem, 13vw, 10.8rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-lede {
  max-width: 620px;
  color: #344054;
  font-size: clamp(1.12rem, 2vw, 1.44rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(16, 20, 31, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.hero-panel {
  position: relative;
  min-height: 560px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at 30% 20%, rgba(71, 184, 129, 0.2), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-panel::before {
  width: 280px;
  height: 280px;
  right: -78px;
  top: -66px;
  border: 1px solid rgba(20, 108, 116, 0.24);
  background: repeating-radial-gradient(circle, rgba(20, 108, 116, 0.12) 0 1px, transparent 1px 18px);
}

.hero-panel::after {
  width: 190px;
  height: 190px;
  left: -58px;
  bottom: -50px;
  background: rgba(217, 95, 69, 0.15);
}

.status-row {
  position: relative;
  z-index: 1;
  gap: 10px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 800;
}

.signal {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(71, 184, 129, 0.16);
}

.stack-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 72px;
}

.stack-map span {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(16, 20, 31, 0.1);
  border-radius: 8px;
  color: #273142;
  background: rgba(255, 255, 255, 0.64);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 26px rgba(16, 20, 31, 0.08);
}

.stack-map span:nth-child(2),
.stack-map span:nth-child(5) {
  transform: translateY(18px);
}

.terminal {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px;
  border-radius: 8px;
  color: #e9fff5;
  background: rgba(16, 20, 31, 0.9);
  box-shadow: 0 20px 36px rgba(16, 20, 31, 0.24);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.terminal p {
  margin: 0 0 9px;
}

.terminal p:last-child {
  margin-bottom: 0;
}

.terminal span,
.success {
  color: #81f3b5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 90px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.metrics div {
  min-height: 132px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.62);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
}

.metrics span {
  color: #344054;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

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

.section-heading h2 {
  max-width: 820px;
}

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

.service-card,
.process-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 42px rgba(16, 20, 31, 0.08);
}

.service-card {
  min-height: 292px;
  padding: 28px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 1.35rem;
}

.service-card:nth-child(2) .card-icon {
  background: var(--coral);
}

.service-card:nth-child(3) .card-icon {
  background: var(--gold);
}

.service-card p,
.process-list p,
.feature-band p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.process {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px 18px;
  padding: 24px;
}

.process-list span {
  grid-row: span 2;
  color: var(--coral);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
}

.process-list h3,
.process-list p {
  margin-bottom: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 30px;
  align-items: end;
  margin: 70px 0 24px;
  padding: 42px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 20, 31, 0.94), rgba(20, 108, 116, 0.92)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
  box-shadow: var(--shadow);
}

.feature-band .eyebrow,
.feature-band p {
  color: rgba(255, 255, 255, 0.76);
}

.feature-band h2 {
  margin-bottom: 12px;
}

.contact-strip {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.contact-strip a {
  min-height: 52px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-strip a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact {
  max-width: 840px;
  padding-bottom: 110px;
}

.contact p {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: 1.12rem;
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .process,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .metrics,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-bottom: 46px;
  }
}

@media (max-width: 560px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    margin-top: 8px;
  }

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

  .header-action {
    display: none;
  }

  .site-nav a {
    flex: 1;
    padding: 9px 8px;
    text-align: center;
  }

  h1 {
    font-size: clamp(4.1rem, 24vw, 6.8rem);
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 540px;
    padding: 18px;
  }

  .stack-map {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 38px;
  }

  .stack-map span {
    min-height: 58px;
  }

  .stack-map span:nth-child(2),
  .stack-map span:nth-child(5) {
    transform: none;
  }

  .terminal {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: 0.78rem;
  }

  .section {
    padding: 58px 0;
  }

  .service-card,
  .feature-band {
    padding: 24px;
  }

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

  .process-list span {
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
