:root {
  color-scheme: dark;
  --bg: #07110f;
  --panel: #101917;
  --panel-2: #17211f;
  --ink: #edf7f2;
  --muted: #a7b8b1;
  --line: rgba(237, 247, 242, 0.14);
  --teal: #39d6bd;
  --green: #9de16f;
  --amber: #f3bd63;
  --coral: #ff7b6e;
  --blue: #7ab7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 15, 0.4), #07110f 68%),
    radial-gradient(circle at 12% 20%, rgba(57, 214, 189, 0.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(243, 189, 99, 0.12), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.78);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #05100e;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 720;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--ink);
  color: #07110f;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(237, 247, 242, 0.06);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: end;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 90px 0 72px;
}

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

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

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.product-band p,
.contact-section p,
.work-list p,
.service-grid p {
  color: var(--muted);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.signal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 33, 31, 0.88), rgba(16, 25, 23, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.signal-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.signal-header span:nth-child(2) {
  background: var(--amber);
}

.signal-header span:nth-child(3) {
  background: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row strong {
  color: var(--amber);
}

.metric-row span {
  color: #dce9e3;
}

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

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

.trust-strip div {
  padding: 24px;
  background: rgba(16, 25, 23, 0.86);
}

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

.trust-strip strong {
  margin-bottom: 6px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 104px 0 0;
}

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

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

.service-grid article,
.work-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 25, 23, 0.84);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.service-grid article {
  min-height: 245px;
  padding: 24px;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

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

.work-list article {
  padding: 26px;
}

.product-band,
.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 104px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(57, 214, 189, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(23, 33, 31, 0.92), rgba(16, 25, 23, 0.88));
}

.product-band p,
.contact-section p {
  max-width: 690px;
  margin-bottom: 0;
}

.contact-card {
  min-width: 330px;
  padding: 24px;
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 780;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hero,
  .split-section,
  .product-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .contact-card {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 76px;
  }

  .product-band,
  .contact-section {
    margin-top: 76px;
    padding: 26px;
  }

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