:root {
  --ink: #101312;
  --muted: #5c665f;
  --paper: #f3efe4;
  --paper-deep: #e0d5bd;
  --field: #1f332c;
  --field-light: #345548;
  --signal: #ff6b35;
  --signal-soft: #ffd5bd;
  --line: rgba(16, 19, 18, 0.14);
  --shadow: 0 28px 70px rgba(25, 38, 32, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 107, 53, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(52, 85, 72, 0.22), transparent 26rem),
    linear-gradient(135deg, #f8f0dc 0%, var(--paper) 42%, #d8c9ad 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 19, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 18, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand,
.nav nav,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper);
  background: var(--field);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--signal);
}

.nav nav {
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.nav a:not(.brand) {
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:not(.brand):hover {
  background: var(--signal-soft);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.hero {
  min-height: 660px;
  padding: 76px 0 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 960px;
  font-size: clamp(3.35rem, 7.6vw, 7.2rem);
}

h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 54px;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 7px 7px 0 var(--signal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.24);
}

.console-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  color: #dff5e9;
  background:
    linear-gradient(150deg, rgba(255, 107, 53, 0.18), transparent 34%),
    linear-gradient(145deg, var(--field) 0%, #101a17 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.console-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  content: "";
  background: var(--signal);
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-top span {
  width: 12px;
  height: 12px;
  background: var(--signal);
  border-radius: 50%;
}

.console-top span:nth-child(2) {
  background: #f3c969;
}

.console-top span:nth-child(3) {
  background: #74d9a4;
}

.console-top p {
  margin: 0 0 0 auto;
  color: rgba(223, 245, 233, 0.65);
  font-size: 0.78rem;
}

.console-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 48px 28px 28px;
}

.console-body p {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.console-body span {
  color: var(--signal-soft);
  font-weight: 700;
}

.status-pill {
  justify-self: start;
  margin-top: 18px;
  padding: 12px 16px;
  color: var(--field);
  background: #b7f5cb;
  border-radius: 999px;
  font-weight: 700;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 34px 0 120px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.proof-strip div {
  min-height: 170px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.28);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.proof-strip span,
.service-card p,
.cta p,
.timeline li {
  color: var(--muted);
  line-height: 1.65;
}

.services,
.process,
.cta {
  padding: 92px 0;
}

.section-heading {
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  min-height: 340px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line);
  border-radius: 30px;
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  background: var(--signal-soft);
}

.card-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 76px;
  place-items: center;
  color: var(--paper);
  background: var(--field);
  border-radius: 50%;
  font-weight: 700;
}

.service-card p {
  margin: 18px 0 0;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding: 26px 26px 26px 72px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--line);
  border-radius: 24px;
  counter-increment: steps;
}

.timeline li::before {
  position: absolute;
  top: 28px;
  left: 24px;
  color: var(--signal);
  font-weight: 700;
  content: "0" counter(steps);
}

.timeline span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.cta {
  margin: 80px 0 48px;
  padding: 64px;
  color: var(--paper);
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 107, 53, 0.45), transparent 22rem),
    var(--field);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 920px;
}

.cta p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(243, 239, 228, 0.78);
  font-size: 1.1rem;
}

.cta .button.primary {
  margin-top: 22px;
  color: var(--ink);
  background: var(--signal-soft);
  box-shadow: 7px 7px 0 var(--signal);
}

.reveal {
  animation: rise-in 700ms ease both;
}

.card-grid .reveal:nth-child(2),
.proof-strip div:nth-child(2) {
  animation-delay: 100ms;
}

.card-grid .reveal:nth-child(3),
.proof-strip div:nth-child(3) {
  animation-delay: 200ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav,
  .section-grid,
  .proof-strip,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
    gap: 22px;
  }

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

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

  .console-card {
    min-height: 420px;
  }

  .proof-strip {
    margin-bottom: 72px;
  }

  .services,
  .process,
  .cta {
    padding: 62px 0;
  }

  .cta {
    padding: 38px 24px;
  }
}

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

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .nav nav {
    gap: 2px;
    padding: 6px;
  }

  .nav a:not(.brand) {
    padding: 9px 10px;
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

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

  .console-body {
    padding: 32px 16px 20px;
  }

  .proof-strip div,
  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .card-number {
    margin-bottom: 46px;
  }

  .timeline li {
    padding-right: 18px;
  }
}
