:root {
  color-scheme: dark;
  --bg: #08090b;
  --ink: #f7f4ea;
  --muted: #b9b1a2;
  --soft: rgba(247, 244, 234, 0.72);
  --line: rgba(247, 244, 234, 0.15);
  --panel: rgba(18, 19, 18, 0.72);
  --panel-strong: rgba(25, 26, 24, 0.88);
  --cyan: #57d5d8;
  --green: #a8e25a;
  --amber: #f3b84a;
  --red: #ff6b5e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(87, 213, 216, 0.16), transparent 34rem),
    radial-gradient(circle at 10% 70%, rgba(168, 226, 90, 0.12), transparent 30rem),
    linear-gradient(135deg, #08090b 0%, #11100d 46%, #090b0b 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(247, 244, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 234, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

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

.spacefield {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.page-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 12px;
  color: var(--ink);
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(87, 213, 216, 0.52);
  border-radius: var(--radius);
  background: rgba(87, 213, 216, 0.11);
  color: var(--cyan);
  font-size: 0.82rem;
}

.nav-links {
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 11, 0.58);
}

.nav-links a {
  min-width: 76px;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(247, 244, 234, 0.08);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 0 104px;
}

.hero-copy {
  max-width: 780px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.3rem, 12vw, 9.2rem);
  font-weight: 820;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-weight: 780;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.16;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.9vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1.15;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #07100e;
  box-shadow: 0 14px 42px rgba(87, 213, 216, 0.24);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(247, 244, 234, 0.07);
  color: var(--ink);
}

.signal-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.signal-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 680;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(168, 226, 90, 0.84);
}

.signal-grid {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
}

.signal-grid div {
  display: grid;
  gap: 4px;
}

dt {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

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

.proof-strip div {
  min-height: 148px;
  padding: 22px;
  background: var(--panel-strong);
}

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

.proof-strip strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.13rem;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: 118px 0 0;
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 32px;
}

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

.service-card {
  min-height: 330px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 20, 18, 0.72);
}

.service-index {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
}

.service-card p,
.outcome-list p,
.contact p {
  color: var(--muted);
}

.outcome-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.outcome-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  background: rgba(13, 14, 13, 0.82);
}

.outcome-list p {
  margin: 0;
  font-size: 1.05rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 92px;
}

.contact-copy p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

.contact-button {
  align-self: end;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .signal-panel {
    align-self: auto;
  }

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

  .outcome-list article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-button {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-links a {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
  }

  .hero {
    padding: 42px 0 78px;
  }

  h1 {
    font-size: clamp(3.6rem, 20vw, 5.5rem);
  }

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

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

  .service-card {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 24px;
  }

  .section {
    padding-top: 84px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .spacefield {
    opacity: 0.36;
  }
}

