:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #5d6a78;
  --line: #d9e1ea;
  --soft: #f4f7fa;
  --panel: #ffffff;
  --brand: #176ca8;
  --brand-dark: #12324a;
  --accent: #f08a24;
  --green: #2c7a63;
  --shadow: 0 18px 45px rgba(21, 43, 64, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: 34px;
  padding: 6px clamp(18px, 4vw, 56px);
  background: #0b2235;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.top-strip a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(280px, 1.25fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  border: 2px solid var(--brand);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.site-search input {
  min-height: 42px;
  border: 0;
  padding: 9px 13px;
  font: inherit;
}

.site-search button {
  min-width: 92px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brand);
}

.category-nav {
  position: sticky;
  top: 69px;
  z-index: 19;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #cbd6e2;
  background: #eef4f8;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 12px 16px;
  color: #23364b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.category-nav a:hover {
  background: #fff;
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: 560px;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 5vw, 72px);
  background: linear-gradient(120deg, #f5f8fb 0%, #ffffff 58%, #edf5fa 100%);
}

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

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

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

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.partner-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #314154;
  font-size: 15px;
}

.hero-actions,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--brand-dark);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.trust-row div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.trust-row dt {
  font-weight: 800;
}

.trust-row dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-robot {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(26, 48, 72, 0.18));
}

.hero-robot.main {
  inset: 34px 5% auto auto;
  width: 84%;
}

.hero-robot.small {
  width: 38%;
  padding: 12px;
  border: 1px solid rgba(217, 225, 234, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-robot.one {
  left: 18px;
  bottom: 86px;
}

.hero-robot.two {
  right: 18px;
  bottom: 18px;
}

.quick-rfq-card {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 4px;
  width: 210px;
  padding: 14px;
  border: 1px solid #ffd5ad;
  border-radius: 8px;
  background: #fff6ed;
}

.quick-rfq-card strong {
  color: #9a470d;
}

.quick-rfq-card span {
  color: var(--muted);
  font-size: 13px;
}

.quick-rfq-card a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.catalog-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(18px, 3vw, 34px);
  background: #fff;
}

.catalog-strip a {
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
}

.catalog-strip span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.catalog-strip strong {
  font-size: 18px;
}

.catalog-strip small {
  color: var(--muted);
}

.cert-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(44px, 5vw, 64px);
  background: var(--brand-dark);
}

.cert-band div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.cert-band strong {
  color: #fff;
  font-size: 17px;
}

.cert-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: clamp(42px, 5vw, 68px) clamp(18px, 5vw, 72px);
}

.compact-section {
  padding-top: clamp(34px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 52px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brand-dark);
  color: #fff;
}

.intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.section-head {
  max-width: 880px;
  margin-bottom: 32px;
}

.product-section,
.resources,
.capabilities,
.inquiry-paths {
  background: var(--soft);
}

.product-grid,
.resource-grid,
.solution-list,
.capability-grid,
.project-grid,
.process-steps,
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.resource-grid article,
.solution-list article,
.capability-grid article,
.project-card,
.process-steps article,
.inquiry-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.capability-grid article,
.process-steps article,
.inquiry-grid article {
  box-shadow: 0 10px 24px rgba(21, 43, 64, 0.06);
}

.capability-grid span,
.project-card span,
.inquiry-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.capability-grid p,
.project-card p,
.process-steps p,
.inquiry-grid p {
  color: var(--muted);
}

.project-section {
  background: #fff;
}

.project-card {
  border-top: 4px solid #cbd6e2;
}

.project-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b2235;
  object-fit: cover;
}

.project-card.highlighted {
  grid-column: auto;
  border-top-color: var(--accent);
  background: #fffaf4;
}

.project-card ul,
.inquiry-grid ul {
  margin: 16px 0 20px;
  padding-left: 18px;
  color: #314154;
}

.process-section {
  background: #f8fbfd;
}

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

.compact-section .product-card,
.compact-section .process-steps article {
  padding: 18px;
}

.process-steps strong {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.inquiry-grid article {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--brand);
}

.inquiry-grid article:first-child {
  border-top-color: var(--accent);
}

.inquiry-grid .button {
  margin-top: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--brand);
  box-shadow: 0 10px 24px rgba(21, 43, 64, 0.06);
}

.product-card:hover {
  border-color: #b8c8d8;
  border-top-color: var(--accent);
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card p,
.solution-list p,
.resource-grid p,
.note {
  color: var(--muted);
}

.product-card ul {
  margin: 16px 0 18px;
  padding-left: 18px;
  color: #314154;
}

.product-card a {
  margin-top: auto;
  padding-top: 10px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.solutions {
  background: #fff;
}

.brands {
  background: var(--brand-dark);
  color: #fff;
}

.brands .note {
  max-width: 900px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-cloud span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 32px;
  background: #eef4f8;
}

.contact-copy {
  align-self: start;
}

.contact-methods a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rfq-form label {
  display: grid;
  gap: 6px;
  color: #344457;
  font-size: 13px;
  font-weight: 750;
}

.rfq-form label:nth-child(5),
.rfq-form label:nth-child(6),
.rfq-form label:nth-child(7),
.rfq-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

footer {
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .top-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .category-nav {
    top: 154px;
  }

  .hero,
  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .product-grid,
  .resource-grid,
  .solution-list,
  .capability-grid,
  .project-grid,
  .process-steps,
  .inquiry-grid,
  .cert-band,
  .catalog-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.highlighted {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .trust-row,
  .product-grid,
  .resource-grid,
  .solution-list,
  .capability-grid,
  .project-grid,
  .process-steps,
  .inquiry-grid,
  .cert-band,
  .catalog-strip,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .project-card.highlighted {
    grid-column: auto;
  }

  .category-nav {
    position: static;
  }

  .site-search {
    grid-template-columns: 1fr;
  }

  .site-search button {
    min-height: 40px;
  }

  .rfq-form label:nth-child(5),
  .rfq-form label:nth-child(6),
  .rfq-form label:nth-child(7),
  .rfq-form button,
  .form-note {
    grid-column: auto;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-robot.main {
    width: 90%;
    top: 82px;
  }

  .hero-robot.small {
    width: 42%;
  }

  .quick-rfq-card {
    width: calc(100% - 36px);
  }
}
