:root {
  --ink: #20282f;
  --ink-2: #2c3740;
  --muted: #667583;
  --paper: #f5f6f1;
  --section-light: #f8f9f5;
  --section-tint: #e8efed;
  --white: #ffffff;
  --line: #d9e2e3;
  --teal: #b6e31d;
  --service-green: #aee018;
  --teal-dark: #7ba212;
  --blue: #235f9f;
  --amber: #c78b35;
  --red: #b85d4b;
  --shadow: 0 26px 80px rgba(8, 19, 31, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

img,
svg {
  display: block;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(12, 23, 32, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 13px clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 42px rgba(8, 19, 31, 0.1);
}

.brand-logo {
  height: 58px;
  object-fit: contain;
  width: 112px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a,
.nav-item > a {
  color: #263746;
  font-size: 14px;
  font-weight: 760;
}

.nav-item {
  align-items: center;
  display: flex;
  min-height: 44px;
  position: relative;
}

.nav-item::after {
  content: "";
  height: 18px;
  left: -16px;
  position: absolute;
  right: -16px;
  top: 100%;
}

.submenu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(12, 23, 32, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(8, 19, 31, 0.12);
  display: grid;
  gap: 2px;
  left: 50%;
  min-width: 238px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.submenu a {
  border-radius: 6px;
  color: var(--ink);
  padding: 10px 12px;
  white-space: nowrap;
}

.submenu a:hover {
  background: rgba(182, 227, 29, 0.18);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-social {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  justify-content: center;
}

.header-social a {
  align-items: center;
  background: rgba(8, 13, 18, 0.04);
  border: 1px solid rgba(8, 13, 18, 0.12);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 880;
  height: 24px;
  justify-content: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  width: 24px;
}

.social-icon {
  fill: none;
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 13px;
}

.instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.header-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 820;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
}

.nav-cta,
.button.primary {
  background: var(--teal);
  border: 0;
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(182, 227, 29, 0.28);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 0;
  width: 44px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 24px;
}

.mobile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 88px 22px 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-nav a {
  border-top: 1px solid var(--line);
  display: block;
  font-weight: 780;
  padding: 14px 0;
}

.mobile-submenu {
  border-top: 1px solid var(--line);
  padding: 4px 0 8px 18px;
}

.mobile-submenu a {
  border-top: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
  padding: 9px 0;
}

.mobile-nav.is-open {
  display: block;
}

.hero {
  background: var(--teal);
  color: var(--white);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-scrim {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  animation: heroMediaDrift 18s ease-in-out infinite alternate;
  filter: saturate(1) contrast(0.98) brightness(0.84);
  object-fit: cover;
  opacity: 1;
  transform: scale(1.04);
}

.hero-scrim {
  background:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%);
}

@keyframes heroMediaDrift {
  from {
    object-position: 48% 50%;
    transform: scale(1.04);
  }

  to {
    object-position: 58% 48%;
    transform: scale(1.09);
  }
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 410px;
  min-height: 640px;
  padding: 122px clamp(20px, 5vw, 70px) 50px;
  position: relative;
  z-index: 1;
}

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

.hero-copy-block .eyebrow {
  color: var(--white);
}

.hero-copy-block .eyebrow,
.hero-copy-block h1,
.hero-copy-block p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

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

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

h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  letter-spacing: 0;
  line-height: 0.97;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(31px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.16;
}

.hero-copy-block p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 26px;
  max-width: 540px;
}

.hero .button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-actions,
.section-heading-row {
  align-items: center;
  display: flex;
  gap: 14px;
}

.hero-social {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 22px;
}

.hero-social .header-social {
  justify-content: flex-start;
}

.hero-social .header-social a {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.control-panel {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(8, 13, 18, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(8, 19, 31, 0.12);
  color: var(--ink);
  padding: 22px;
}

.panel-header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.panel-header strong {
  flex: 1;
}

.panel-header small {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-shadow: none;
  white-space: nowrap;
}

.status-dot {
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(182, 227, 29, 0.18);
  height: 10px;
  width: 10px;
}

.readiness-meter {
  background: rgba(8, 13, 18, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.readiness-meter span {
  background: linear-gradient(90deg, var(--teal), #d8ff55);
  display: block;
  height: 100%;
  width: var(--level);
}

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

.panel-grid div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 13, 18, 0.1);
  border-radius: 7px;
  padding: 14px;
}

.panel-grid span,
.panel-route button {
  color: #5a6c78;
  display: block;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-grid strong {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

.panel-route {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.panel-route button {
  background: rgba(8, 13, 18, 0.06);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 7px 0;
  text-align: center;
}

.panel-route button.is-active {
  background: var(--teal);
  color: var(--ink);
}

.panel-route button:hover {
  border-color: rgba(8, 13, 18, 0.18);
}

.panel-cta {
  align-items: center;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 820;
  justify-content: center;
  margin-top: 16px;
  min-height: 42px;
}

.panel-cta:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.metric-band {
  background: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 70px);
}

.metric-band div {
  border-left: 1px solid var(--line);
  padding: 26px 24px;
}

.metric-band div:last-child {
  border-right: 1px solid var(--line);
}

.metric-band strong {
  color: var(--ink);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 9px;
}

.metric-band span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  max-width: 320px;
}

.section {
  padding: 76px clamp(20px, 5vw, 70px);
}

.section-lede {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-lede p:not(.eyebrow),
.section-heading-row > p,
.brief-copy p {
  color: var(--muted);
  font-size: 17px;
  max-width: 610px;
}

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

.service-card {
  background: var(--service-green);
  border: 1px solid rgba(8, 13, 18, 0.08);
  border-radius: var(--radius);
  color: inherit;
  display: block;
  min-height: 360px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), transparent 48%);
  content: "";
  height: 150px;
  position: absolute;
  right: -46px;
  top: -46px;
  transform: rotate(16deg);
  width: 150px;
}

.service-card.selected {
  background: var(--service-green);
  border-color: rgba(8, 13, 18, 0.08);
  box-shadow: var(--shadow);
}

.service-card h3,
.service-card .card-label {
  color: var(--white);
  position: relative;
  text-shadow: 0 1px 10px rgba(8, 13, 18, 0.18);
  z-index: 1;
}

.service-card .card-label {
  margin: 0 0 12px;
}

.service-card p {
  color: var(--ink);
  font-weight: 650;
  position: relative;
  z-index: 1;
}

.service-card:hover,
.sub-card:hover,
.resource-card:hover {
  transform: translateY(-3px);
}

.service-card,
.sub-card,
.resource-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card-label {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin: 26px 0 14px;
  text-transform: uppercase;
}

.service-image {
  border-radius: 7px;
  display: block;
  height: 148px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.service-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.capability-section {
  background: #e7eeee;
  overflow: hidden;
}

.capability-shell {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(420px, 0.92fr) minmax(444px, 1fr);
}

.capability-copy {
  max-width: 520px;
}

.capability-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 500px;
}

.capability-grid {
  height: 284px;
  justify-self: center;
  max-width: 624px;
  position: relative;
  width: 100%;
}

.capability-grid span {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(12, 23, 32, 0.08);
  border-radius: 7px;
  color: #243644;
  display: flex;
  font-size: 13px;
  font-weight: 740;
  justify-content: center;
  line-height: 1.25;
  min-height: 84px;
  padding: 11px 12px;
  position: absolute;
  text-align: center;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: 144px;
  z-index: 1;
}

.capability-grid::before {
  content: none;
}

.capability-grid::after {
  content: none;
}

.capability-grid span::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
  transition: height 180ms ease;
}

.capability-grid span:nth-child(1) {
  left: 80px;
  top: 0;
}

.capability-grid span:nth-child(2) {
  left: 240px;
  top: 0;
}

.capability-grid span:nth-child(3) {
  left: 400px;
  top: 0;
}

.capability-grid span:nth-child(4) {
  left: 0;
  top: 100px;
}

.capability-grid span:nth-child(5) {
  left: 160px;
  top: 100px;
}

.capability-grid span:nth-child(6) {
  left: 320px;
  top: 100px;
  transform: none;
}

.capability-grid span:nth-child(7) {
  left: 480px;
  top: 100px;
}

.capability-grid span:nth-child(8) {
  left: 80px;
  top: 200px;
}

.capability-grid span:nth-child(9) {
  left: 240px;
  top: 200px;
}

.capability-grid span:nth-child(10) {
  left: 400px;
  top: 200px;
}

.capability-grid span:hover,
.process-rail article:hover {
  box-shadow: 0 18px 54px rgba(8, 19, 31, 0.08);
  transform: translateY(-3px);
}

.capability-grid span:hover {
  background: rgba(255, 255, 255, 0.86);
}

.capability-grid span:hover::before {
  height: 8px;
}

.process-rail article:hover::before {
  height: 8px;
}

.section-heading-row {
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading-row h2 {
  max-width: 720px;
}

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

.launch-route-rail {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-rail article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  display: block;
  min-height: 210px;
  padding: 20px;
  position: relative;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.process-rail article::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
  transition: height 180ms ease;
}

.process-rail span {
  color: var(--teal-dark);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 26px;
}

.process-rail p,
.case-card p,
.tab-panel p {
  color: var(--muted);
}

.proof-section {
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  display: block;
  gap: 44px;
  overflow: hidden;
}

.proof-visual {
  display: none;
}

.proof-visual::before {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 13, 18, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  position: absolute;
}

.device-card,
.pcb-card,
.floating-note {
  position: absolute;
}

.large-device {
  background: linear-gradient(145deg, #eff5f5, #aebfc4);
  border-radius: 30px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  height: 250px;
  left: 8%;
  padding: 30px;
  top: 54px;
  width: 280px;
}

.large-device span {
  background: #0f1b25;
  border-radius: 22px;
  display: block;
  height: 102px;
  margin: 0 auto 34px;
  width: 102px;
}

.pcb-card {
  background: #6f9810;
  border: 1px solid #d8ff55;
  border-radius: 8px;
  bottom: 42px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  height: 158px;
  padding: 24px;
  right: 9%;
  transform: rotate(-8deg);
  width: 224px;
}

.pcb-card i {
  background: #0e2b31;
  border-radius: 5px;
}

.floating-note {
  background: var(--teal);
  border-radius: 7px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 14px;
  font-weight: 840;
  left: 28%;
  padding: 14px 16px;
  top: 328px;
}

.proof-copy .eyebrow,
.proof-copy h2 {
  color: var(--ink);
}

.proof-copy .eyebrow {
  color: var(--teal);
}

.case-slider {
  display: grid;
  grid-auto-columns: minmax(280px, 420px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) rgba(8, 13, 18, 0.12);
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  overflow: hidden;
  padding: 20px;
  position: relative;
  scroll-snap-align: start;
}

.case-card::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
  transition: height 180ms ease;
}

.case-card:hover::before {
  height: 8px;
}

.case-card span {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.case-card .case-thumb {
  border-radius: 7px;
  height: 150px;
  margin: 12px 0 16px;
  overflow: hidden;
}

.case-card .case-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.case-card:hover .case-thumb img {
  transform: scale(1.04);
}

.audience-tabs {
  display: grid;
  gap: 18px;
  grid-template-columns: 320px 1fr;
}

.section-lede.compact {
  margin-bottom: 28px;
}

.tab-list {
  display: grid;
  gap: 10px;
}

.tab-button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #263746;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  min-height: 62px;
  padding: 0 18px;
  text-align: left;
}

.tab-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tab-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(8, 19, 31, 0.08);
  display: none;
  min-height: 230px;
  padding: 34px;
}

.tab-panel.is-active {
  display: block;
}

.brief-section {
  background: #e8eeee;
  display: grid;
  gap: 46px;
  grid-template-columns: 0.9fr 1.1fr;
}

.newsletter-section {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  padding-bottom: 30px;
  padding-top: 30px;
}

.newsletter-copy {
  padding-top: 2px;
}

.newsletter-copy .eyebrow {
  margin-bottom: 5px;
}

.newsletter-copy h2 {
  font-size: 28px;
  letter-spacing: 0;
  margin: 0 0 4px;
}

.newsletter-copy p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.newsletter-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(190px, 1.25fr) auto;
}

.newsletter-form label {
  font-size: 12px;
  gap: 5px;
}

.newsletter-form input,
.newsletter-form .button {
  min-height: 46px;
}

.newsletter-form .button {
  white-space: nowrap;
}

.newsletter-form .form-response {
  grid-column: 1 / -1;
  margin: 0;
}

.newsletter-consent {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 11px !important;
  font-weight: 500;
  gap: 8px !important;
  grid-column: 1 / -1;
  line-height: 1.45;
}

.newsletter-consent input {
  accent-color: var(--teal-dark);
  flex: 0 0 auto;
  height: 16px;
  margin: 1px 0 0;
  min-height: 16px;
  padding: 0;
  width: 16px;
}

.newsletter-consent a,
.privacy-note a {
  color: var(--teal-dark);
  font-weight: 740;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-note {
  color: var(--muted);
  font-size: 11px;
  grid-column: 1 / -1;
  line-height: 1.5;
  margin: -5px 0 0;
}

.turnstile-field {
  display: none;
  grid-column: 1 / -1;
  min-height: 65px;
}

.turnstile-field.is-enabled {
  display: block;
}

.privacy-content {
  margin: 0 auto;
  max-width: 980px;
}

.privacy-content h2 {
  font-size: 28px;
  letter-spacing: 0;
  margin: 42px 0 12px;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.privacy-content a {
  color: var(--teal-dark);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-updated {
  margin-bottom: 28px;
}

.newsletter-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.unsubscribe-page {
  background: var(--section-soft);
  min-height: 100vh;
}

.unsubscribe-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 18px;
}

.unsubscribe-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 620px;
  padding: clamp(28px, 5vw, 54px);
  width: 100%;
}

.unsubscribe-brand {
  display: inline-flex;
  margin-bottom: 34px;
}

.unsubscribe-brand img {
  height: 42px;
  width: auto;
}

.unsubscribe-card h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 18px;
}

.unsubscribe-card p {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

.unsubscribe-card form {
  display: grid;
  gap: 16px;
}

.unsubscribe-card label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.unsubscribe-card input {
  background: #f7faf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
}

.updates-section {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.updates-section .section-heading-row p {
  color: var(--teal);
}

.slider-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.section-control-cta {
  align-items: center;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 840;
  height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.section-center-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.icon-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  line-height: 1;
  width: 46px;
}

.updates-slider {
  display: grid;
  gap: 18px;
  grid-auto-columns: minmax(290px, 380px);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) rgba(8, 13, 18, 0.12);
}

.update-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 388px;
  padding: 18px;
  scroll-snap-align: start;
}

.instagram-card {
  border-color: rgba(12, 23, 32, 0.14);
  border-radius: 8px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.update-card h3,
.update-card p {
  margin-bottom: 12px;
}

.update-card p {
  color: var(--muted);
}

.instagram-card strong {
  color: var(--teal);
  font-size: 14px;
  font-weight: 840;
}

.update-tag {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.instagram-card .update-tag {
  display: none;
}

.update-visual {
  border-radius: 7px;
  height: 170px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.instagram-thumb {
  aspect-ratio: 1;
  background: #f2f4f3;
  border-radius: 0;
  height: auto;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.instagram-thumb img,
.instagram-thumb video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.instagram-thumb video {
  display: block;
}

.instagram-post-header {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 36px 1fr auto;
  min-height: 58px;
  padding: 9px 13px;
}

.instagram-post-avatar {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  height: 34px;
  object-fit: cover;
  padding: 0;
  width: 34px;
}

.instagram-post-header strong,
.instagram-post-header small {
  display: block;
  line-height: 1.25;
}

.instagram-post-header strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.instagram-post-header small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.instagram-post-more {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 1px;
}

.instagram-post-actions {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 27px;
  justify-content: space-between;
  line-height: 1;
  min-height: 48px;
  padding: 7px 13px 5px;
  user-select: none;
}

.instagram-actions-left {
  align-items: center;
  display: flex;
  gap: 14px;
}

.instagram-post-caption {
  color: var(--ink) !important;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 !important;
  overflow: hidden;
  padding: 0 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.instagram-post-caption strong {
  color: var(--ink);
  font-size: inherit;
  font-weight: 780;
}

.instagram-post-date {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 10px 13px 15px;
  text-transform: uppercase;
}

.case-card,
.review-slider article,
.update-card,
.blog-card {
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.case-card:hover,
.review-slider article:hover,
.update-card:hover,
.blog-card:hover {
  box-shadow: 0 18px 54px rgba(8, 19, 31, 0.08);
  transform: translateY(-3px);
}

.update-visual::before,
.update-visual::after {
  content: "";
  position: absolute;
}

.visual-pcb {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    #44650b;
  background-size: 24px 24px;
}

.visual-pcb::before {
  background: var(--teal);
  border-radius: 10px;
  height: 78px;
  left: 30px;
  top: 38px;
  width: 118px;
}

.visual-pcb::after {
  background: #101820;
  border-radius: 6px;
  height: 64px;
  right: 38px;
  top: 72px;
  width: 92px;
}

.visual-factory {
  background:
    linear-gradient(135deg, rgba(182, 227, 29, 0.24), transparent),
    #182633;
}

.visual-factory::before {
  background: rgba(255, 255, 255, 0.2);
  bottom: 32px;
  height: 86px;
  left: 28px;
  width: 70px;
  box-shadow: 90px -30px 0 rgba(255, 255, 255, 0.14), 180px 8px 0 rgba(255, 255, 255, 0.18);
}

.visual-factory::after {
  background: var(--teal);
  height: 8px;
  left: 28px;
  right: 28px;
  top: 56px;
}

.visual-design {
  background: #eef4e8;
}

.visual-design::before {
  border: 3px solid var(--ink);
  border-radius: 24px;
  height: 108px;
  left: 48px;
  top: 38px;
  width: 150px;
}

.visual-design::after {
  background: var(--teal);
  border-radius: 999px;
  height: 72px;
  right: 52px;
  top: 58px;
  width: 72px;
}

.visual-testing {
  background:
    linear-gradient(90deg, rgba(182, 227, 29, 0.18), transparent),
    #101820;
}

.visual-testing::before {
  background: var(--teal);
  border-radius: 999px;
  height: 92px;
  left: 44px;
  top: 48px;
  width: 92px;
}

.visual-testing::after {
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  height: 86px;
  right: 46px;
  top: 50px;
  width: 122px;
}

.updates-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  margin: 14px 0 0;
  max-width: 760px;
}

.trust-section,
.blog-section {
  background: var(--paper);
}

.review-slider,
.blog-slider {
  display: grid;
  grid-auto-columns: minmax(290px, 390px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) rgba(8, 13, 18, 0.12);
}

.review-slider article,
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  padding: 24px;
  scroll-snap-align: start;
}

.review-slider article {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 360px;
}

.client-avatar {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.client-avatar.has-photo {
  background: #ffffff;
  overflow: hidden;
}

.client-avatar.has-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.review-slider p {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  margin: 0;
}

.review-author {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.review-author > div:last-child {
  min-width: 0;
}

.review-slider strong,
.review-slider span,
.blog-card span,
.blog-card strong {
  display: block;
}

.review-slider strong {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}

.review-slider span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.customers-section {
  background: #e8eeee;
  overflow: hidden;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-track {
  animation: logoMarquee 56s linear infinite;
  display: flex;
  gap: 12px;
  width: max-content;
}

.logo-track span,
.logo-track a {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  font-size: 15px;
  font-weight: 820;
  justify-content: center;
  height: 96px;
  min-width: 240px;
  padding: 12px 20px;
  text-align: center;
}

.logo-track img {
  display: block;
  height: 76px;
  width: 196px;
  object-fit: contain;
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.blog-card img {
  border-radius: 7px;
  height: 142px;
  margin-bottom: 18px;
  object-fit: cover;
  width: 100%;
}

.blog-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 24px;
}

.blog-card strong {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 840;
  margin-top: auto;
}

.instagram-card .instagram-post-header strong,
.instagram-card .instagram-post-caption strong {
  color: var(--ink);
  margin-top: 0;
}

.blog-index-grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

.learning-search-grid [data-learning-card][hidden] {
  display: none !important;
}

.learning-search-grid .resource-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.learning-search-grid .resource-card h3 {
  margin-bottom: 14px;
}

.learning-search-grid .learning-type {
  color: var(--teal-dark);
}

.learning-search-grid .resource-card p {
  margin-bottom: 24px;
}

.learning-search-grid .resource-card strong {
  color: var(--teal-dark);
  display: block;
  font-size: 14px;
  font-weight: 840;
  margin-top: auto;
}

.learning-search {
  margin: 0 0 24px;
  max-width: 760px;
}

.learning-search input {
  background: var(--white);
  border: 1px solid rgba(18, 31, 42, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 58px;
  padding: 0 18px;
  width: 100%;
}

.learning-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(180, 236, 15, 0.2);
  outline: none;
}

.learning-type {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.learning-empty {
  color: var(--muted);
  display: none;
  font-size: 18px;
  margin-top: 18px;
}

.learning-empty.is-visible {
  display: block;
}

.blog-article {
  background: #e8eeee;
  max-width: none;
  width: 100%;
}

.blog-article-hero {
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  display: block;
  margin-bottom: 34px;
  max-width: 980px;
  object-fit: cover;
  width: 100%;
}

.blog-article-body {
  color: var(--soft-ink);
  display: grid;
  font-family: inherit;
  font-size: 1.08rem;
  gap: 18px;
  line-height: 1.75;
  max-width: 980px;
}

.blog-article-body * {
  font-family: inherit !important;
}

.blog-article-body p,
.blog-article-body li,
.blog-article-body span,
.blog-article-body div {
  color: inherit !important;
  font-size: inherit !important;
}

.blog-article-body h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin: 18px 0 0;
}

.blog-article-body p {
  margin: 0;
}

.blog-article-body figure {
  margin: 12px 0;
}

.blog-article-body figure:has(p),
.blog-article-body figure:has(figure) {
  display: contents;
}

.blog-article-body img {
  border-radius: 8px;
  display: block;
  height: auto;
  max-width: 100%;
}

.blog-article-body figure img {
  width: 100%;
}

.blog-article-body .image-size-small {
  max-width: 36%;
}

.blog-article-body .image-size-medium {
  max-width: 58%;
}

.blog-article-body .image-size-large {
  max-width: 78%;
}

.blog-article-body .image-size-full {
  max-width: 100%;
}

.brief-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 30px;
}

.brief-form .wide-field,
.brief-form .button,
.form-response {
  grid-column: 1 / -1;
}

label {
  color: #263746;
  display: grid;
  font-size: 13px;
  font-weight: 840;
  gap: 8px;
}

select,
input,
textarea {
  background: #fbfcfc;
  border: 1px solid #cbd7d8;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
}

select:disabled {
  background: rgba(182, 227, 29, 0.12);
  border-color: rgba(123, 162, 18, 0.34);
  color: var(--ink);
  opacity: 1;
}

textarea {
  resize: vertical;
}

.brief-form .button {
  cursor: pointer;
  justify-self: start;
}

.form-response {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 820;
  margin: -4px 0 0;
  min-height: 20px;
}

.form-response.is-error {
  color: #b85d4b;
}

.site-footer {
  align-items: start;
  background: rgba(255, 255, 255, 0.93);
  border-top: 1px solid rgba(12, 23, 32, 0.08);
  color: var(--muted);
  display: grid;
  gap: 36px;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 54px clamp(20px, 5vw, 70px) 28px;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column h3 {
  color: var(--ink);
  font-size: 14px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-column a {
  color: #626f7b;
  font-size: 14px;
  font-weight: 720;
}

.company-column p,
.footer-bottom p {
  margin: 0;
}

.company-column p,
.company-column a {
  color: #626f7b;
  font-size: 14px;
  font-weight: 720;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(12, 23, 32, 0.08);
  display: flex;
  gap: 20px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-top: 24px;
}

.social-links {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.company-column .social-links {
  margin-top: 8px;
}

.social-links a {
  align-items: center;
  background: rgba(8, 13, 18, 0.04);
  border: 1px solid rgba(8, 13, 18, 0.12);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 860;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.social-links .social-icon {
  height: 18px;
  width: 18px;
}

.social-links a:hover {
  background: var(--teal);
  color: var(--ink);
}

.footer-logo {
  height: 64px;
  object-fit: contain;
  width: 124px;
}

.footer-logo-wrap {
  background: var(--white);
  border-radius: 7px;
  flex: 0 0 auto;
  justify-self: start;
  padding: 8px 12px;
}

.subpage-main {
  padding-top: 76px;
}

.subpage-hero {
  background:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("assets/mezz-hero-engineering.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 90px clamp(20px, 5vw, 70px) 78px;
}

.subpage-hero.overview-page-hero {
  display: flex;
  flex-direction: column;
  height: 416px;
  justify-content: center;
  padding-bottom: 40px;
  padding-top: 40px;
}

.subpage-hero.overview-page-hero .breadcrumb {
  margin-bottom: 18px;
}

.subpage-hero.overview-page-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 18px;
}

.subpage-hero.overview-page-hero p {
  margin-bottom: 0;
}

.subpage-hero.service-bg,
.subpage-hero.case-bg,
.subpage-hero.resource-bg {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("../assets/mezz-hero-engineering.png");
}

.subpage-hero.service-bg.services-page-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(13, 18, 8, 0.18) 0%, rgba(13, 18, 8, 0.145) 40%, rgba(13, 18, 8, 0.03) 68%, rgba(13, 18, 8, 0) 100%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.34) 0%, rgba(8, 13, 18, 0.24) 40%, rgba(8, 13, 18, 0.08) 68%, rgba(8, 13, 18, 0) 100%),
    url("../assets/services-journey-hero-v6.webp");
  background-position: center;
  background-size: cover;
}

.subpage-hero.case-bg.services-page-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.16) 0%, rgba(8, 13, 18, 0.1) 42%, rgba(8, 13, 18, 0) 76%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.9) 0%, rgba(182, 227, 29, 0.72) 33%, rgba(182, 227, 29, 0.34) 58%, rgba(182, 227, 29, 0) 86%),
    url("../assets/case-studies-portfolio-hero.png");
  background-position: center;
  background-size: cover;
}

.subpage-hero.service-bg.about-merto-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.16) 0%, rgba(8, 13, 18, 0.1) 42%, rgba(8, 13, 18, 0) 76%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.9) 0%, rgba(182, 227, 29, 0.72) 33%, rgba(182, 227, 29, 0.34) 58%, rgba(182, 227, 29, 0) 86%),
    url("../assets/about-merto-hero.png");
  background-color: #e7efde;
  background-position: center, center, center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover, contain;
}

.subpage-hero.resource-bg.learning-center-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.16) 0%, rgba(8, 13, 18, 0.1) 42%, rgba(8, 13, 18, 0) 76%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.92) 0%, rgba(182, 227, 29, 0.78) 40%, rgba(182, 227, 29, 0.44) 64%, rgba(182, 227, 29, 0) 92%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.92) 0%, rgba(182, 227, 29, 0.82) 46%, rgba(182, 227, 29, 0.58) 58%, rgba(182, 227, 29, 0.26) 72%, rgba(182, 227, 29, 0) 90%),
    url("../assets/learning-center-hero.png");
  background-color: #e7efde;
  background-position: center, center, center, center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover, cover, auto 112%;
}

.subpage-hero.service-bg.contact-shenzhen-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.16) 0%, rgba(8, 13, 18, 0.1) 42%, rgba(8, 13, 18, 0) 76%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.94) 0%, rgba(182, 227, 29, 0.86) 52%, rgba(182, 227, 29, 0.58) 72%, rgba(182, 227, 29, 0.12) 94%, rgba(182, 227, 29, 0) 100%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.96) 0%, rgba(182, 227, 29, 0.92) 50%, rgba(182, 227, 29, 0.72) 62%, rgba(182, 227, 29, 0.38) 78%, rgba(182, 227, 29, 0.08) 94%, rgba(182, 227, 29, 0) 100%),
    url("../assets/contact-shenzhen-hero.jpg");
  background-color: #e7efde;
  background-position: center, center, center, center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover, cover, auto 140%;
}

.subpage-hero.service-bg.services-page-hero h1 {
  max-width: 650px;
}

.subpage-hero.service-bg.services-page-hero p {
  max-width: 620px;
}

.subpage-hero.service-bg.product-development-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("../assets/product-development-rover-hero.png");
  background-position: center;
  background-size: cover;
}

.subpage-hero.service-bg.prototype-manufacturing-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("../assets/prototype-to-manufacturing-hero.png");
  background-position: center;
  background-size: cover;
}

.subpage-hero.service-bg.quality-control-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("../assets/quality-control-certification-hero.png");
  background-position: center;
  background-size: cover;
}

.subpage-hero.service-bg.supplier-rescue-hero {
  background-image:
    radial-gradient(circle at 78% 40%, rgba(216, 255, 85, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.58) 40%, rgba(182, 227, 29, 0.08) 68%, rgba(182, 227, 29, 0) 100%),
    url("../assets/supplier-rescue-hero.png");
  background-position: center;
  background-size: cover;
}

.subpage-hero.case-study-hero {
  background-image:
    linear-gradient(90deg, rgba(94, 134, 0, 0.9) 0%, rgba(123, 162, 18, 0.72) 38%, rgba(123, 162, 18, 0.26) 68%, rgba(123, 162, 18, 0.02) 100%),
    var(--case-hero-image);
  background-position: center;
  background-size: cover;
}

.subpage-hero.blog-post-hero {
  background-image:
    linear-gradient(90deg, rgba(94, 134, 0, 0.9) 0%, rgba(123, 162, 18, 0.72) 38%, rgba(123, 162, 18, 0.26) 68%, rgba(123, 162, 18, 0.02) 100%),
    var(--blog-hero-image);
  background-position: center;
  background-size: cover;
}

.subpage-hero .breadcrumb {
  color: var(--white);
}

.breadcrumb {
  color: var(--teal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 840;
  margin-bottom: 24px;
}

.subpage-hero h1 {
  max-width: 850px;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 720px;
}

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

.sub-card,
.resource-card,
.feature-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(8, 19, 31, 0.08);
  padding: 26px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
}

.services-grid .service-index-card {
  min-height: 235px;
  overflow: hidden;
  position: relative;
}

.services-grid .service-index-card::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
  transition: height 180ms ease;
}

.services-grid .service-index-card:hover::before {
  height: 8px;
}

.sub-card .card-label,
.resource-card .card-label {
  margin-top: 0;
}

.sub-card p,
.resource-card p,
.feature-panel p,
.ordered-list li,
.check-list li {
  color: var(--muted);
}

.page-split {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.85fr 1.15fr;
}

.feature-list,
.ordered-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.feature-list li,
.ordered-list li,
.check-list li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 13, 18, 0.08);
  border-radius: 7px;
  list-style: none;
  padding: 15px 16px;
}

.manufacturing-readiness-list li {
  overflow: hidden;
  padding-top: 28px;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.manufacturing-readiness-list li::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: 0;
  transition: height 180ms ease;
}

.manufacturing-readiness-list li:hover {
  border-color: rgba(123, 162, 18, 0.38);
  box-shadow: 0 18px 46px rgba(8, 19, 31, 0.1);
  transform: translateY(-3px);
}

.manufacturing-readiness-list li:hover::before {
  height: 8px;
}

.best-fit-list li {
  overflow: hidden;
  padding-top: 20px;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.best-fit-list li::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: 0;
  transition: height 180ms ease;
}

.best-fit-list li:hover {
  border-color: rgba(123, 162, 18, 0.38);
  box-shadow: 0 16px 42px rgba(8, 19, 31, 0.09);
  transform: translateY(-3px);
}

.best-fit-list li:hover::before {
  height: 8px;
}

.capability-tag-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 24px;
}

.capability-tag-list span {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(123, 162, 18, 0.24);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 760;
  justify-content: center;
  padding: 9px 13px;
  text-align: center;
}

.capability-tag-list span:nth-child(1),
.capability-tag-list span:nth-child(2),
.capability-tag-list span:nth-child(3) {
  grid-column: span 2;
}

.capability-tag-list span:nth-child(4),
.capability-tag-list span:nth-child(5) {
  grid-column: span 3;
}

.service-capability-section {
  background: #e8efed;
}

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

.service-capability-grid span {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(8, 13, 18, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(8, 19, 31, 0.06);
  color: var(--ink);
  display: flex;
  font-weight: 760;
  justify-content: center;
  min-height: 112px;
  overflow: hidden;
  padding: 22px 14px;
  position: relative;
  text-align: center;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-capability-grid span::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
  transition: height 180ms ease;
}

.service-capability-grid span:hover {
  border-color: rgba(123, 162, 18, 0.38);
  box-shadow: 0 18px 46px rgba(8, 19, 31, 0.1);
  transform: translateY(-3px);
}

.service-capability-grid span:hover::before {
  height: 8px;
}

.deliverables-grid .sub-card {
  overflow: hidden;
  padding-top: 30px;
  position: relative;
}

.deliverables-grid .sub-card::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
  transition: height 180ms ease;
}

.deliverables-grid .sub-card:hover::before {
  height: 8px;
}

.ordered-list {
  counter-reset: page-step;
}

.ordered-list li {
  counter-increment: page-step;
}

.ordered-list li::before {
  color: var(--teal-dark);
  content: counter(page-step, decimal-leading-zero);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 8px;
}

.page-cta {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.page-cta .button.ghost {
  white-space: nowrap;
}

.page-cta.light-page-cta {
  background: #e8efed;
  color: var(--ink);
}

.page-cta.light-page-cta p {
  color: var(--muted);
}

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

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

.case-study-grid .case-card {
  min-width: 0;
}

.resource-card {
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
  transition: height 180ms ease;
}

.resource-card:hover {
  transform: translateY(-4px);
}

.resource-card:hover::before {
  height: 8px;
}

.resource-card-thumb {
  aspect-ratio: 16 / 8;
  border-radius: 7px;
  display: block;
  margin: 8px 0 18px;
  object-fit: cover;
  width: 100%;
}

.faq-section {
  background: var(--section-tint);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 20px 34px 20px 0;
}

.faq-list details p {
  color: var(--muted);
  margin: 0;
  padding: 0 0 22px;
}

.download-section {
  background: #e8efed;
}

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

.download-card,
.download-empty {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(8, 19, 31, 0.07);
  display: flex;
  gap: 14px;
  min-height: 104px;
  padding: 22px;
}

.download-card {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.download-card:hover {
  border-color: rgba(123, 162, 18, 0.42);
  box-shadow: 0 18px 48px rgba(8, 19, 31, 0.1);
  transform: translateY(-3px);
}

.download-icon {
  align-items: center;
  background: var(--teal);
  border-radius: 7px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.file-type-pdf { background: #ef5c55; color: #ffffff; }
.file-type-doc,
.file-type-docx { background: #3978d7; color: #ffffff; }
.file-type-xls,
.file-type-xlsx { background: #2f9c66; color: #ffffff; }
.file-type-ppt,
.file-type-pptx { background: #df6b38; color: #ffffff; }

.download-card strong,
.download-empty strong {
  display: block;
  line-height: 1.2;
}

.download-card small,
.download-empty p {
  color: var(--muted);
  display: block;
  margin: 5px 0 0;
}

.download-empty {
  grid-column: 1 / -1;
 }

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.mini-nav a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
  padding: 8px 12px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
}

.contact-info-column,
.contact-map-column {
  display: grid;
  gap: 20px;
}

.contact-info-column > p {
  color: var(--muted);
  margin-bottom: 4px;
  max-width: 560px;
}

.contact-info-column h2,
.contact-map-column h2 {
  margin-bottom: 0;
}

.contact-map-column > div:first-child p:last-child {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 560px;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-method {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(8, 19, 31, 0.08);
  padding: 19px 20px;
}

.contact-method span {
  color: var(--teal-dark);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-method a,
.contact-method strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 840;
}

.address-block {
  color: var(--muted);
  font-size: 15px;
  margin: 10px 0 0;
}

.map-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.map-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(8, 19, 31, 0.08);
  overflow: hidden;
}

.map-canvas {
  background: #eef4e8;
  height: 157px;
  overflow: hidden;
  position: relative;
}

.baidu-map-preview {
  background: #eef3fa;
}

.map-canvas iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.baidu-map-preview iframe {
  height: calc(100% + 70px);
  transform: translateY(-70px);
}

.map-card-content {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  padding: 20px;
}

.map-card-content .button {
  flex: 1 1 0;
  padding: 0 12px;
}

.button.map-secondary {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--ink);
}

.map-provider {
  color: var(--teal-dark);
  display: block;
  font-size: 12px;
  font-weight: 880;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.map-card-content h3 {
  margin-bottom: 10px;
}

.map-card-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

main:not(.subpage-main) > .section:nth-of-type(odd),
.subpage-main > .section:nth-of-type(even) {
  background: var(--section-light);
}

main:not(.subpage-main) > .section:nth-of-type(even),
.subpage-main > .section:nth-of-type(odd) {
  background: var(--section-tint);
}

main > .section.page-cta {
  color: var(--ink);
}

main > .section.page-cta p {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-social,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-social .header-social {
    display: flex;
  }

  .hero-grid,
  .capability-shell,
  .proof-section,
  .audience-tabs,
  .newsletter-section,
  .brief-section,
  .contact-layout,
  .page-split,
  .page-cta {
    grid-template-columns: 1fr;
  }

  .control-panel {
    max-width: 520px;
  }

  .service-board,
  .process-rail,
  .metric-band,
  .page-grid,
  .resource-grid,
  .case-study-grid,
  .download-grid,
  .map-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .capability-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
    justify-items: stretch;
  }

  .capability-grid::before,
  .capability-grid::after {
    display: none;
  }

  .capability-grid span {
    bottom: auto;
    left: auto;
    min-height: 56px;
    position: relative;
    right: auto;
    top: auto;
    inset: auto;
    transform: none;
    width: auto;
  }

  .capability-grid span:nth-child(n) {
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .capability-grid span:nth-child(n):hover {
    transform: translateY(-3px);
  }

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

  .capability-tag-list span:nth-child(n) {
    grid-column: auto;
  }

  .contact-map-column .map-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid .service-index-card {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand-logo {
    height: 50px;
    width: 96px;
  }

  .hero,
  .hero-grid {
    min-height: 750px;
  }

  .subpage-hero.overview-page-hero {
    height: auto;
    min-height: 336px;
    padding-bottom: 54px;
    padding-top: 68px;
  }

  .hero-grid {
    align-items: start;
    padding: 106px 20px 38px;
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 88% 38%, rgba(216, 255, 85, 0.04), transparent 24%),
      linear-gradient(90deg, rgba(182, 227, 29, 0.84) 0%, rgba(182, 227, 29, 0.52) 52%, rgba(182, 227, 29, 0.06) 100%);
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-social {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-social .header-social {
    display: flex;
  }

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

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

  .slider-actions {
    align-self: flex-start;
  }

  .control-panel {
    display: none;
  }

  .metric-band,
  .newsletter-form,
  .brief-form,
  .service-board,
  .process-rail,
  .page-grid,
  .resource-grid,
  .case-study-grid,
  .download-grid,
  .map-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .capability-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    justify-items: stretch;
    max-width: none;
    width: 100%;
  }

  .capability-grid span {
    bottom: auto;
    font-size: 12px;
    left: auto;
    min-height: 56px;
    position: relative;
    right: auto;
    top: auto;
    inset: auto;
    transform: none;
    width: auto;
  }

  .capability-grid span:nth-child(n) {
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .contact-layout {
    gap: 32px;
  }

  .contact-map-column .map-preview-grid {
    grid-template-columns: 1fr;
  }

  .contact-method a,
  .contact-method strong {
    font-size: 17px;
  }

  .map-canvas {
    height: 170px;
  }

  .metric-band {
    padding: 0 20px;
  }

  .metric-band div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0;
  }

  .metric-band div:last-child {
    border-right: 0;
  }

  .section {
    padding: 68px 20px;
  }

  .service-card,
  .process-rail article {
    min-height: auto;
  }

  .proof-visual {
    min-height: 420px;
  }

  .large-device {
    height: 230px;
    left: 0;
    top: 48px;
    width: 240px;
  }

  .large-device span {
    height: 86px;
    width: 86px;
  }

  .pcb-card {
    bottom: 28px;
    right: 0;
    width: 210px;
  }

  .floating-note {
    left: 20px;
    top: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }
}
