:root {
  --ink: #101820;
  --night: #071116;
  --panel: #14212a;
  --paper: #f5f2eb;
  --white: #ffffff;
  --muted: #65717a;
  --line: #d8dedb;
  --teal: #14b8a6;
  --teal-dark: #087d78;
  --amber: #e9a23a;
  --clay: #c6533f;
  --green: #247a5b;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(18px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 22, 0.86), rgba(7, 17, 22, 0));
}

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

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: clamp(190px, 22vw, 254px);
  height: auto;
}

.nav-links {
  gap: clamp(16px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 96vh;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 22, 0.96) 0%, rgba(7, 17, 22, 0.88) 36%, rgba(7, 17, 22, 0.48) 74%, rgba(7, 17, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 17, 22, 0.68) 0%, rgba(7, 17, 22, 0.05) 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.7fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  min-height: 96vh;
  padding: 116px clamp(18px, 4vw, 64px) 42px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.15rem, 7vw, 6.4rem);
  line-height: 0.94;
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.65vw, 1.28rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #041012;
  background: var(--teal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.portfolio-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 17, 22, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-header,
.arm-map > div,
.mini-metrics > div {
  padding: 18px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-header span,
.arm-map span,
.mini-metrics span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--amber);
}

.arm-map {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.arm-map > div {
  background: rgba(7, 17, 22, 0.78);
}

.arm-map strong,
.mini-metrics strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.mini-metrics > div {
  min-height: 108px;
  background: rgba(7, 17, 22, 0.78);
}

section:not(.hero) {
  padding: clamp(76px, 9vw, 128px) clamp(18px, 4vw, 64px);
}

.truth-section,
.services-section,
.method-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.truth-section h2,
.section-heading h2,
.services-copy h2,
.method-section h2,
.contact-section h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  line-height: 1;
}

.truth-section > p,
.services-copy > p,
.contact-section p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

.products-section {
  color: var(--white);
  background: var(--night);
}

.section-heading {
  margin-bottom: 38px;
}

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

.product-card {
  min-height: 540px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121f27;
}

.featured-product {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.28), rgba(18, 31, 39, 0.94)),
    #121f27;
}

.muted-product {
  background:
    linear-gradient(135deg, rgba(198, 83, 63, 0.18), rgba(18, 31, 39, 0.94)),
    #121f27;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 54px 0 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.product-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.66;
}

.product-card ul {
  margin-top: auto;
  padding-top: 34px;
  display: grid;
  gap: 12px;
}

.product-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.42;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--teal);
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 26px;
  color: var(--teal);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.services-section {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 32px;
  color: var(--teal-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.secondary-link {
  margin-left: 24px;
  color: var(--ink);
}

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

.service-list article {
  padding: 26px;
  border-left: 5px solid var(--teal);
  background: #f7faf8;
}

.service-list article:nth-child(2) {
  border-color: var(--amber);
}

.service-list article:nth-child(3) {
  border-color: var(--clay);
}

.service-list span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-list h3 {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.74rem);
  line-height: 1.2;
}

.customers-section {
  background: var(--paper);
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.customer-grid article {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.customer-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.customer-grid p {
  margin: 46px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.method-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 184, 166, 0.16), transparent 42%),
    var(--ink);
}

.method-rail {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.method-rail article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.method-rail span {
  color: var(--amber);
  font-weight: 900;
}

.method-rail h3 {
  margin: 12px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.method-rail p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.58;
}

.contact-section {
  align-items: center;
  background: var(--teal);
}

.contact-section .section-kicker {
  color: #073c38;
}

.contact-section p {
  color: rgba(4, 16, 18, 0.72);
}

.detail-page {
  background: var(--paper);
}

.solid-header {
  background: rgba(7, 17, 22, 0.96);
  box-shadow: 0 14px 48px rgba(7, 17, 22, 0.16);
}

.detail-hero {
  padding: 148px clamp(18px, 4vw, 64px) clamp(76px, 9vw, 118px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 17, 22, 0.94), rgba(7, 17, 22, 0.7)),
    url("assets/implement-ai-hero.png") center / cover;
}

.detail-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.detail-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.66;
}

.light-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.detail-section,
.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.detail-section h2,
.detail-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

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

.detail-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.detail-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.detail-grid p {
  margin: 34px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.detail-cta {
  align-items: center;
  background: var(--teal);
}

.detail-cta .section-kicker {
  color: #073c38;
}

@media (max-width: 1180px) {
  .hero-inner,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-panel {
    align-self: stretch;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner,
  .truth-section,
  .services-section,
  .method-section,
  .contact-section,
  .detail-section,
  .detail-cta,
  .product-grid,
  .customer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .portfolio-panel {
    max-width: 680px;
  }

  .product-card {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand-logo {
    width: 188px;
  }

  .hero-inner {
    padding: 98px 18px 28px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13.5vw, 4rem);
  }

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

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

  .mini-metrics > div {
    min-height: 0;
  }

  section:not(.hero) {
    padding: 64px 18px;
  }

  .product-card,
  .customer-grid article,
  .detail-grid article {
    min-height: 0;
  }

  .product-card h3 {
    margin-top: 38px;
  }

  .customer-grid p {
    margin-top: 28px;
  }

  .secondary-link {
    display: flex;
    width: fit-content;
    margin-left: 0;
  }

  .detail-hero {
    padding-top: 124px;
  }
}
