:root {
  --hx-green: #7ab541;
  --hx-green-dark: #2f7f22;
  --hx-grey: #4c4d4f;
  --hx-grey-dark: #333537;
  --bg-color: #f5f5f7;
  --surface-color: #ffffff;
  --border-color: rgba(76, 77, 79, 0.12);
  --shadow-soft: 0 18px 40px rgba(35, 38, 34, 0.08);
  --shadow-strong: 0 30px 80px rgba(35, 38, 34, 0.14);
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-accent: ui-serif, "New York", "Iowan Old Style", "Georgia Pro", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  background: var(--bg-color);
  color: var(--hx-grey);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

section[id] {
  scroll-margin-top: 112px;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 0 4%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(22px);
  transition: padding 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border-color);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-logo img {
  width: 56px;
  height: auto;
  transition: transform 0.3s var(--ease);
}

.header-logo:hover img {
  transform: scale(1.04);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(76, 77, 79, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 77, 79, 0.34);
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--hx-grey-dark);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.header-nav {
  display: flex;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 650;
}

.header-nav a {
  transition: color 0.25s var(--ease);
}

.header-nav a:hover {
  color: var(--hx-green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 750;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  border: 1px solid rgba(122, 181, 65, 0.42);
  background: var(--hx-green);
  color: var(--surface-color);
  box-shadow: 0 10px 28px rgba(122, 181, 65, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #629633;
  box-shadow: 0 18px 38px rgba(122, 181, 65, 0.32);
}

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(76, 77, 79, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--hx-grey-dark);
}

.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 77, 79, 0.42);
  background: var(--surface-color);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.header-contact {
  min-height: 40px;
  padding: 0 22px;
  font-size: 0.9rem;
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: rgba(47, 127, 34, 0.78);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 76vh;
  padding: 96px 0 34px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #cfd5d8 0%, #e6eaec 38%, #ffffff 100%);
  z-index: -2;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 7vw, 88px);
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 0 4%;
}

.hero-content {
  flex: 1;
  max-width: 690px;
}

.hero h1 {
  position: relative;
  margin-bottom: 28px;
  color: #3f4441;
  font-family: var(--font-heading);
  font-size: 4.7rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hx-green), rgba(122, 181, 65, 0.18));
}

.hero-title-line {
  display: block;
  color: #3f4441;
}

.hero-title-line-muted {
  color: var(--hx-green);
}

.hero p {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(76, 77, 79, 0.76);
  font-size: clamp(1.08rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}

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

.hero-logo-container {
  position: relative;
  display: flex;
  flex: 0 0 min(38vw, 470px);
  align-items: center;
  justify-content: center;
  width: min(38vw, 470px);
  height: min(38vw, 470px);
  min-width: 360px;
  min-height: 360px;
  perspective: 1600px;
  top: -18px;
  left: 18px;
}

.logo-backplate {
  display: none;
}

.logo-wrapper {
  position: relative;
  z-index: 4;
  transform-style: preserve-3d;
  animation: majesticFloat 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

.hero-floating-logo {
  width: min(390px, 31vw);
  filter: drop-shadow(0 28px 52px rgba(35, 38, 34, 0.1));
}

.logo-halo {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 181, 65, 0.1), rgba(122, 181, 65, 0.035) 42%, transparent 72%);
  filter: blur(34px);
  animation: breathe 8s ease-in-out infinite alternate;
}

@keyframes majesticFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.012);
  }
}

@keyframes breathe {
  from {
    opacity: 0.55;
    transform: scale(0.92);
  }
  to {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

.products {
  position: relative;
  padding: 100px 0;
  background: var(--surface-color);
}

#products {
  scroll-margin-top: 0;
}

.products-header {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.products-header h2,
.detail-copy h2,
.footer h2 {
  margin-bottom: 22px;
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 3.2vw, 3rem);
  font-weight: 720;
  line-height: 1.08;
}

.products-header p,
.detail-copy p {
  color: rgba(76, 77, 79, 0.72);
  font-size: 1.1rem;
  line-height: 1.68;
}

.solution-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: -28px auto 66px;
}

.solution-paths article {
  padding: 26px 26px 28px;
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 249, 0.78));
  box-shadow: 0 14px 34px rgba(35, 38, 34, 0.045);
}

.solution-paths span,
.section-subhead span {
  display: block;
  margin-bottom: 14px;
  color: rgba(47, 127, 34, 0.72);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.solution-paths h3,
.section-subhead h3 {
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
}

.solution-paths h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.solution-paths p {
  color: rgba(76, 77, 79, 0.68);
  font-size: 0.96rem;
  line-height: 1.5;
}

.section-subhead {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-subhead h3 {
  position: relative;
  display: inline-block;
  max-width: 880px;
  padding-bottom: 20px;
  font-family: var(--font-accent);
  font-size: 2.62rem;
  font-weight: 600;
  line-height: 1.04;
  font-optical-sizing: auto;
  color: transparent;
  background: linear-gradient(135deg, #2c302f 0%, #4c4d4f 48%, #737875 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
}

.section-subhead h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(156px, 30%);
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(76, 77, 79, 0), rgba(122, 181, 65, 0.36), rgba(76, 77, 79, 0));
}

.labs-subhead {
  margin-top: 62px;
  margin-bottom: 30px;
  scroll-margin-top: 104px;
}

.labs-subhead h3 {
  max-width: 760px;
  font-size: clamp(2.05rem, 3.2vw, 3.05rem);
}

.labs-subhead p {
  max-width: 690px;
  margin: 14px auto 0;
  color: rgba(76, 77, 79, 0.66);
  font-size: 1rem;
  line-height: 1.6;
}

.labs-home-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.42fr) minmax(220px, 0.32fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(76, 77, 79, 0.1);
  border-bottom: 1px solid rgba(76, 77, 79, 0.1);
  background: transparent;
}

.labs-home-copy span {
  display: block;
  margin-bottom: 10px;
  color: rgba(47, 127, 34, 0.8);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.labs-home-copy p {
  max-width: 680px;
  color: rgba(76, 77, 79, 0.7);
  font-size: 1.02rem;
  line-height: 1.68;
}

.labs-home-points {
  display: grid;
  gap: 10px;
}

.labs-home-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(76, 77, 79, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(51, 53, 55, 0.86);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.labs-home-mascot {
  display: grid;
  justify-items: center;
  text-align: center;
}

.labs-home-mascot img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: contrast(1.08) drop-shadow(0 18px 24px rgba(31, 37, 33, 0.14));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  position: relative;
}

.primary-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lab-product-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.product-grid:hover .product-card::before {
  opacity: 1;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 222px;
  align-items: center;
  justify-content: center;
  padding: 26px 16px;
  border: 1px solid rgba(76, 77, 79, 0.08);
  border-radius: 16px;
  background: rgba(245, 245, 247, 0.58);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.primary-product {
  min-height: 250px;
}

.lab-product {
  grid-column: span 3;
  min-height: 208px;
  align-items: stretch;
  justify-content: flex-start;
  padding: 20px;
  background: rgba(250, 250, 251, 0.82);
  text-align: left;
}

.lab-product .card-inner {
  align-items: flex-start;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(122, 181, 65, 0.045), transparent 44%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.card-border-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 2px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(122, 181, 65, 0.24), transparent 48%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  background: var(--surface-color);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.048);
}

.product-card:hover .card-border-glow {
  opacity: 1;
}

.card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
}

.product-icon {
  display: flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid rgba(76, 77, 79, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.055);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.lab-product .product-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
}

.attachment-icon {
  padding: 5px;
  overflow: hidden;
}

.attachment-icon img {
  border-radius: 13px;
}

.product-card:hover .product-icon {
  transform: scale(1.035) translateY(-2px);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.07);
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.enterprise-icon {
  padding: 5px;
  overflow: hidden;
}

.enterprise-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 13px;
}

.builder-preview {
  padding: 28px;
  background:
    linear-gradient(145deg, #f8f9fa, #eceff1);
}

.builder-preview::before {
  display: none;
}

.builder-window {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(35, 38, 34, 0.1);
}

.builder-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 18px;
  background: #172017;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
}

.builder-sidebar strong {
  margin-bottom: 14px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.04rem;
}

.builder-main {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.builder-topline,
.builder-stats,
.builder-timeline,
.builder-table {
  border: 1px solid rgba(76, 77, 79, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(35, 38, 34, 0.045);
}

.builder-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
}

.builder-topline span,
.builder-topline strong {
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: 0.93rem;
}

.builder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.builder-stats div {
  padding: 15px 12px;
  border-right: 1px solid rgba(76, 77, 79, 0.08);
}

.builder-stats div:last-child {
  border-right: 0;
}

.builder-stats strong,
.builder-stats span {
  display: block;
}

.builder-stats strong {
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.builder-stats span,
.builder-table span {
  color: rgba(76, 77, 79, 0.68);
  font-size: 0.84rem;
}

.builder-timeline {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.builder-timeline span {
  position: relative;
  overflow: hidden;
  padding: 9px 11px;
  border-radius: 999px;
  background: #f0f2f0;
  color: var(--hx-grey-dark);
  font-size: 0.82rem;
}

.builder-timeline span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: rgba(122, 181, 65, 0.22);
}

.builder-timeline span {
  isolation: isolate;
}

.builder-table {
  display: grid;
}

.builder-table span {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(76, 77, 79, 0.08);
}

.builder-table span:last-child {
  border-bottom: 0;
}

.letter-icon {
  color: var(--hx-green-dark);
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 9px;
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: 1.17rem;
  line-height: 1.14;
}

.product-card p {
  color: rgba(76, 77, 79, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lab-product h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lab-product p {
  max-width: 100%;
}

.lab-product-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--hx-green-dark);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.lab-product-link::after {
  content: "→";
  margin-left: 7px;
  transition: transform 0.25s var(--ease);
}

.product-card:hover .lab-product-link::after {
  transform: translateX(3px);
}

.platform-detail {
  padding: 110px 0;
  background: var(--bg-color);
}

.detail-alt {
  background: var(--surface-color);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(450px, 1fr);
  gap: 64px;
  align-items: center;
}

.detail-copy p {
  max-width: 680px;
}

.split-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.split-points > div {
  padding: 24px;
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(35, 38, 34, 0.045);
}

.split-points h3 {
  margin-bottom: 14px;
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.18;
}

.split-points ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.split-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(76, 77, 79, 0.72);
  font-size: 0.96rem;
  line-height: 1.48;
}

.split-points li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hx-green);
}

.detail-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--surface-color);
  box-shadow: var(--shadow-strong);
}

.detail-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 38px;
  background:
    radial-gradient(circle at 22px 50%, #ff6f61 0 4px, transparent 5px),
    radial-gradient(circle at 40px 50%, #f5c45e 0 4px, transparent 5px),
    radial-gradient(circle at 58px 50%, #7ab541 0 4px, transparent 5px),
    rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(76, 77, 79, 0.08);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  padding-top: 38px;
}

.services,
.resources {
  padding: 104px 0;
  background: var(--bg-color);
}

.implementation {
  background: var(--surface-color);
}

.compact-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.tools-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 77, 79, 0.06), transparent 34%),
    var(--bg-color);
}

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

.tool-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 250, 0.74));
  box-shadow: 0 18px 46px rgba(35, 38, 34, 0.055);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.tool-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 77, 79, 0.18);
  box-shadow: 0 26px 58px rgba(35, 38, 34, 0.08);
}

.tool-panel-main {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.tool-panel .product-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 0;
}

.tool-panel h3,
.implementation-step h3,
.resource-item h3 {
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
}

.tool-panel h3 {
  margin-bottom: 8px;
  font-size: 1.46rem;
  line-height: 1.14;
}

.tool-panel p {
  max-width: 420px;
  color: rgba(76, 77, 79, 0.7);
  font-size: 1rem;
  line-height: 1.5;
}

.tool-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.tool-capabilities span {
  position: relative;
  min-height: 40px;
  padding: 11px 12px 10px 28px;
  border: 1px solid rgba(76, 77, 79, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(76, 77, 79, 0.72);
  font-size: 0.9rem;
  line-height: 1.2;
}

.tool-capabilities span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hx-green);
  transform: translateY(-50%);
}

.implementation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(35, 38, 34, 0.055);
}

.implementation-step {
  position: relative;
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid rgba(76, 77, 79, 0.09);
}

.implementation-step:last-child {
  border-right: 0;
}

.implementation-step span {
  display: block;
  margin-bottom: 44px;
  color: rgba(122, 181, 65, 0.78);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
}

.implementation-step span::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 14px;
  background: rgba(122, 181, 65, 0.36);
}

.implementation-step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.implementation-step p {
  color: rgba(76, 77, 79, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

.resource-strip {
  padding: 82px 0;
}

.resource-list {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.resource-item {
  display: grid;
  grid-template-columns: 180px minmax(240px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(76, 77, 79, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(35, 38, 34, 0.035);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.resource-item:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 77, 79, 0.18);
  background: #ffffff;
}

.resource-item > span {
  color: var(--hx-green-dark);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.resource-item p {
  color: rgba(76, 77, 79, 0.68);
  font-size: 0.96rem;
  line-height: 1.48;
}

.services-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.services-grid.two-up {
  max-width: 1040px;
  margin: 0 auto;
}

.resource-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: block;
  min-height: 245px;
  padding: 42px 36px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--surface-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 181, 65, 0.45);
  box-shadow: 0 22px 46px rgba(122, 181, 65, 0.08);
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--hx-grey-dark);
  font-family: var(--font-heading);
  font-size: 1.58rem;
  line-height: 1.14;
}

.service-card p {
  color: rgba(76, 77, 79, 0.7);
  font-size: 1.03rem;
  line-height: 1.62;
}

.about {
  padding: 60px 0;
  background: var(--surface-color);
}

.about-inner {
  display: flex;
  gap: 42px;
  align-items: center;
  justify-content: center;
  max-width: 1040px;
}

.about-inner img {
  width: 178px;
  flex: 0 0 auto;
}

.about-inner p {
  color: rgba(76, 77, 79, 0.76);
  font-size: 1.15rem;
  line-height: 1.68;
}

.footer {
  padding: 96px 0 42px;
  background: var(--surface-color);
  text-align: center;
}

.footer h2 {
  margin-bottom: 34px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 76px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: rgba(76, 77, 79, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .labs-home-brief {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .labs-home-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .labs-home-points {
    justify-items: center;
  }

  .labs-home-points span {
    width: min(100%, 280px);
    justify-content: center;
  }

  .labs-home-mascot img {
    width: 160px;
    height: 160px;
  }

  .lab-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lab-product {
    grid-column: span 3;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

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

  .hero h1 {
    font-size: 4.15rem;
  }

  .hero h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero p,
  .detail-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-container {
    top: 0;
    left: 0;
    width: min(66vw, 430px);
    height: min(66vw, 430px);
    min-width: 0;
    min-height: 300px;
  }

  .hero-floating-logo {
    width: min(54vw, 350px);
  }

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

  .detail-alt .detail-media {
    order: 2;
  }

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

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

  .implementation-step:nth-child(2) {
    border-right: 0;
  }

  .implementation-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(76, 77, 79, 0.09);
  }

  .resource-item {
    grid-template-columns: 160px minmax(220px, 0.7fr) minmax(0, 1fr);
  }

  .split-points {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .solution-paths {
    grid-template-columns: 1fr;
    max-width: 820px;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    align-items: center;
    gap: 14px;
  }

  .header-logo img {
    width: 56px;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    margin-left: auto;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: calc(100% - 44px);
    margin: 10px auto 0;
    padding: 8px;
    border: 1px solid rgba(76, 77, 79, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(35, 38, 34, 0.08);
  }

  .nav-ready .mobile-nav {
    display: none;
  }

  .nav-ready .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 12px;
    color: var(--hx-grey-dark);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(122, 181, 65, 0.1);
    color: var(--hx-green-dark);
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-logo-container {
    width: min(76vw, 360px);
    height: min(76vw, 360px);
    min-height: 250px;
  }

  .hero-floating-logo {
    width: min(62vw, 320px);
  }

  .product-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-subhead h3 {
    font-size: 2.24rem;
    line-height: 1.08;
  }

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

  .lab-product {
    grid-column: auto;
  }

  .tool-rail,
  .implementation-flow {
    grid-template-columns: 1fr;
  }

  .implementation-step,
  .implementation-step:nth-child(2) {
    border-right: 0;
  }

  .implementation-step {
    min-height: 0;
    border-bottom: 1px solid rgba(76, 77, 79, 0.09);
  }

  .implementation-step:last-child {
    border-bottom: 0;
  }

  .implementation-step span {
    margin-bottom: 24px;
  }

  .resource-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .products,
  .platform-detail,
  .services,
  .resources {
    padding: 78px 0;
  }

  .builder-preview {
    padding: 18px;
  }

  .builder-window {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .builder-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 18px;
  }

  .builder-sidebar strong {
    width: 100%;
    margin-bottom: 2px;
  }

  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .split-points {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .container,
  .hero-container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding: 112px 0 48px;
  }

  .header-inner,
  .hero-container,
  .hero-content,
  .hero h1,
  .hero p,
  .hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-grid,
  .services-grid,
  .primary-product-grid,
  .lab-product-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 32px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

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

  .section-subhead h3 {
    font-size: 1.92rem;
    line-height: 1.1;
  }

  .primary-product {
    min-height: 220px;
  }

  .tool-panel {
    padding: 24px;
  }

  .tool-panel-main,
  .tool-capabilities {
    grid-template-columns: 1fr;
  }

  .tool-panel .product-icon {
    width: 76px;
    height: 76px;
  }

  .hero h1 {
    font-size: clamp(2.12rem, 11vw, 2.42rem);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero h1 {
    margin-bottom: 28px;
  }

  .hero p {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.56;
  }

  .hero-logo-container {
    width: 100%;
    height: 178px;
    min-height: 168px;
  }

  .hero-floating-logo {
    width: min(58vw, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
