:root {
  --bg: #071013;
  --bg-2: #0c191b;
  --surface: #101f22;
  --surface-2: #152a2d;
  --line: rgba(210, 255, 238, 0.13);
  --ink: #effbf7;
  --muted: #a7bbb8;
  --accent: #3ff4b6;
  --accent-2: #8fa7ff;
  --hot: #ffcf6b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #061113;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

#interactive-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(63, 244, 182, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(143, 167, 255, 0.13), transparent 32rem),
    linear-gradient(180deg, #071013 0%, #091719 48%, #061113 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 19, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.brand,
.desktop-nav,
.hero-actions,
.hero-proof,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.desktop-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(63, 244, 182, 0.38);
  border-radius: var(--radius);
  color: #061113;
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(38px, 7vw, 86px) 0 48px;
}

.hero-copy h1,
.section-heading h2,
.stack-band h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 850;
  box-shadow: 0 0 0 rgba(63, 244, 182, 0);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(63, 244, 182, 0.18);
}

.button.primary {
  color: #05100f;
  background: linear-gradient(135deg, var(--accent), #b8ffe6);
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.button.wide {
  width: 100%;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #cbe3de;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-proof span:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 244, 182, 0.32);
  background: rgba(63, 244, 182, 0.08);
}

.hero-panel {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(63, 244, 182, 0.2), transparent 17rem),
    radial-gradient(circle at 88% 86%, rgba(143, 167, 255, 0.14), transparent 18rem),
    #0a1518;
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 244, 182, 0.28);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.hero-brand-card {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(210, 255, 238, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e0ff93, #f7ffe8 58%, #dff7ee);
  overflow: visible;
}

.hero-brand-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.panel-group h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1;
}

.panel-group p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-grid div {
  min-height: 134px;
  padding: 18px;
  border: 1px solid rgba(210, 255, 238, 0.15);
  border-radius: var(--radius);
  background: rgba(4, 13, 15, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.panel-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 244, 182, 0.3);
  background: rgba(8, 28, 29, 0.82);
}

.panel-grid span,
.service-card li,
.site-footer {
  color: var(--muted);
}

.panel-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-grid strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 90px) 0;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  max-width: 1000px;
  margin: 0;
  color: #d9efea;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading.compact {
  display: block;
  max-width: 520px;
  margin: 0;
}

.section-heading h2,
.stack-band h2,
.contact-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading p,
.stack-band p,
.contact-copy p {
  max-width: 500px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  position: relative;
  min-height: 258px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 244, 182, 0.28);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.service-card:hover .service-bg-icon {
  opacity: 0.18;
  transform: scale(1.08) rotate(-4deg);
}

.service-card.featured {
  background:
    radial-gradient(circle at 86% 12%, rgba(63, 244, 182, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.06);
}

.card-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(63, 244, 182, 0.32);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(63, 244, 182, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.process-item h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 21px;
  line-height: 1.14;
}

.service-card p,
.process-item p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.service-bg-icon {
  position: absolute;
  right: -18px;
  bottom: -20px;
  width: 128px;
  height: 128px;
  opacity: 0.1;
  filter: saturate(1.1);
  pointer-events: none;
  transition: opacity 200ms ease, transform 220ms ease;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.service-card li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

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

.process-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.process-item:hover {
  transform: translateX(6px);
  border-color: rgba(63, 244, 182, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.process-item span {
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
}

.stack-band,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at 92% 0%, rgba(143, 167, 255, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stack-band:hover,
.contact:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 167, 255, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

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

.stack-logos span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: #dff7ee;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stack-logos span:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.stack-logos img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.stack-logos span:hover img,
.stack-logos span:hover .logo-monogram {
  transform: scale(1.12);
}

.logo-monogram {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 109, 169, 0.7);
  border-radius: 6px;
  color: #106da9;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact {
  margin-top: 72px;
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-action:hover {
  border-color: rgba(63, 244, 182, 0.26);
  background: rgba(0, 0, 0, 0.18);
}

.contact-action .button {
  max-width: 520px;
  min-height: 64px;
  font-size: 18px;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .hero,
  .section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    font-size: 40px;
  }

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

  .section-heading {
    display: block;
  }

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

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-grid div {
    min-height: 112px;
  }

  .process-item {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .stack-band,
  .contact {
    padding: 22px;
  }

  .stack-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
