:root {
  --ink: #0c1b27;
  --muted: #5e7180;
  --paper: #ffffff;
  --soft: #f3f8fa;
  --line: #dce7ec;
  --nav: #062c40;
  --nav-deep: #041824;
  --cyan: #35c4e8;
  --blue: #087db7;
  --green: #2bb58a;
  --amber: #f0a23a;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(8, 31, 45, 0.12);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px clamp(20px, 5vw, 72px);
  color: #fff;
  background: rgba(6, 44, 64, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  width: 190px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

.main-nav .contact-link {
  color: #062c40;
  background: #fff;
}

.main-nav .contact-link:hover,
.main-nav .contact-link:focus-visible,
.main-nav .contact-link.active {
  color: #062c40;
  background: #dff7ff;
}

.language-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 96px clamp(22px, 7vw, 92px) 124px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.94), rgba(3, 20, 30, 0.66) 42%, rgba(3, 20, 30, 0.2)),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.hero.product-hero {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.72) 42%, rgba(3, 20, 30, 0.16)),
    url("assets/electradx-hero-edx-screen-v6.png") center / cover no-repeat;
}

.hero-content {
  width: min(700px, 100%);
}

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

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
}

.button.primary {
  color: #031c29;
  background: var(--cyan);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.section .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.statement-band {
  width: min(1180px, calc(100% - 40px));
  margin: -56px auto 0;
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.statement-band p {
  max-width: 980px;
  margin: 0;
  color: #082737;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

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

.section h2,
.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

.pillars-section {
  padding-bottom: 54px;
}

.solutions-home-section {
  border-top: 1px solid var(--line);
}

.solutions-home-section .section-heading {
  max-width: 860px;
}

.solutions-home-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
}

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

.feature-card,
.download-card,
.screenshot-card,
.timeline article,
.diagnostics-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 31, 45, 0.06);
}

.feature-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

.feature-card:hover,
.download-card:hover,
.feature-card:focus-visible,
.download-card:focus-visible {
  border-color: rgba(53, 196, 232, 0.65);
  transform: translateY(-2px);
  outline: none;
}

.feature-card span {
  color: var(--blue);
  font-weight: 900;
}

.feature-card h3,
.timeline h3 {
  margin: 0;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
}

.preview-section,
.two-column,
.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.screen-preview,
.screenshot-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-preview {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.product-render {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.page-hero {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 96px clamp(22px, 7vw, 92px) 124px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.92), rgba(3, 20, 30, 0.7)),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.platform-hero {
  min-height: calc(100vh - 74px);
  padding: 96px clamp(22px, 7vw, 92px) 124px;
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.72) 42%, rgba(3, 20, 30, 0.16)),
    url("assets/electradx-hero-edx-screen-v6.png") center / cover no-repeat;
}

.compact-hero {
  min-height: calc(100vh - 74px);
}

.device-hero {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.92), rgba(3, 20, 30, 0.55)),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.contact-hero {
  min-height: calc(100vh - 74px);
}

.specialty-hero {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.94), rgba(6, 44, 64, 0.8) 48%, rgba(6, 44, 64, 0.5)),
    radial-gradient(circle at 84% 18%, rgba(53, 196, 232, 0.22), transparent 28%),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.sensors-hero {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.78) 45%, rgba(3, 20, 30, 0.28)),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.diagnostics-hero {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.78) 45%, rgba(3, 20, 30, 0.28)),
    url("assets/bc-hero-lab.png") center / cover no-repeat;
}

.page-hero > * {
  max-width: 840px;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
}

.platform-hero h1 {
  max-width: 930px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.platform-hero p:not(.eyebrow) {
  max-width: 720px;
}

.edx-system-section {
  padding-bottom: 56px;
}

.edx-system-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.edx-system-card {
  position: relative;
  display: block;
  min-height: 340px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 31, 45, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.edx-system-card:hover,
.edx-system-card:focus-visible {
  border-color: rgba(53, 196, 232, 0.7);
  transform: translateY(-2px);
  outline: none;
}

.edx-system-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #edf5f8;
}

.platform-preview-card {
  background: #f2f8fb;
}

.platform-preview-card img {
  object-fit: contain;
  object-position: center top;
}

.edx-system-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(4, 24, 36, 0.34), rgba(4, 24, 36, 0));
  pointer-events: none;
}

.edx-system-card div {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(4, 24, 36, 0.78);
  backdrop-filter: blur(12px);
}

.edx-system-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.edx-device-features {
  padding-top: 28px;
  padding-bottom: 72px;
}

.download-panel {
  width: min(1492px, calc(100% - 96px));
  align-items: center;
}

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

.download-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.download-card strong {
  font-size: 1.2rem;
}

.download-card span {
  color: var(--muted);
}

.download-card.live {
  color: #fff;
  background: var(--nav);
  border-color: var(--nav);
}

.download-card.live span {
  color: rgba(255, 255, 255, 0.78);
}

.platform-intro {
  width: min(1492px, calc(100% - 96px));
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.platform-intro h2,
.download-panel h2 {
  max-width: 470px;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.08;
}

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

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

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

.advantage-grid article,
.advantage-list article {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 31, 45, 0.05);
}

.advantage-grid strong,
.advantage-list strong {
  font-size: 1.08rem;
}

.advantage-grid span,
.advantage-list span,
.mini-list span {
  color: var(--muted);
}

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

.mini-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #cfe8f1;
  border-radius: var(--radius);
  background: #f4fbfd;
  font-weight: 800;
}

.process-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-row span {
  min-height: 100px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #073047;
  background: #fff;
  font-weight: 900;
}

.process-row span:nth-child(even) {
  color: #fff;
  background: var(--blue);
}

.development-section .section-heading,
.workflow-section .section-heading,
.diagnostic-applications .section-heading {
  max-width: 760px;
}

.status-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.status-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 31, 45, 0.08);
}

.status-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.status-card p {
  margin: 0;
  color: var(--muted);
}

.icon-tile {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff5e8;
}

.icon-tile svg {
  width: 30px;
  height: 30px;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: auto;
  padding: 5px 12px;
  color: #8c5200;
  border-radius: 999px;
  background: #fff0d7;
  font-size: 0.78rem;
  font-weight: 900;
}

.flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 36px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 31, 45, 0.07);
}

.flow-panel article {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.flow-panel span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--nav);
  font-size: 1.1rem;
  font-weight: 900;
}

.flow-panel h3,
.flow-panel p {
  margin: 0;
}

.flow-panel p {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-panel i {
  color: var(--amber);
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 900;
}

.diagnostic-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.diagnostic-pipeline article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: #fff;
}

.diagnostic-pipeline span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.diagnostic-pipeline h3,
.diagnostic-pipeline p {
  margin: 0;
}

.diagnostic-pipeline p {
  color: var(--muted);
}

.diagnostic-pipeline article:nth-child(2),
.diagnostic-pipeline article:nth-child(4) {
  background: #f4fbfd;
}

.cta-band {
  width: min(1492px, calc(100% - 96px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 52px);
  color: #fff;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 20%, rgba(53, 196, 232, 0.24), transparent 30%),
    linear-gradient(135deg, var(--nav-deep), var(--nav));
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band h2 {
  max-width: 640px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.cta-band p {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.gallery-section {
  width: 100%;
  max-width: none;
  padding: 88px clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.gallery-section .section-heading,
.screenshot-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.screenshot-card {
  overflow: hidden;
}

.screenshot-card.wide {
  grid-column: span 2;
}

.screenshot-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.screenshot-card:not(.wide) img {
  aspect-ratio: 9 / 12;
}

.platform-gallery .screenshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-gallery .screenshot-card:not(.wide) img {
  aspect-ratio: 16 / 10;
}

.platform-showcase-image {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot-card div {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.screenshot-card span {
  color: var(--muted);
}

.device-illustration {
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fbfc, #e5f5f9 54%, #fff7e8);
}

.device-box {
  position: relative;
  width: min(430px, 82%);
  aspect-ratio: 1.75;
  display: grid;
  align-items: end;
  padding: 28px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #12344a, #061620);
  box-shadow: 0 30px 65px rgba(3, 20, 30, 0.28);
}

.device-box span {
  font-size: 1.25rem;
  font-weight: 900;
}

.device-box i {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 38px;
  height: 38px;
  border: 8px solid var(--cyan);
  border-radius: 50%;
}

.sensor-line {
  width: min(440px, 82%);
  height: 44px;
  margin-top: -70px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fff, #dff6ff, #fff);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.concept-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.concept-grid > img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.concept-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfc;
  box-shadow: var(--shadow);
}

.concept-gallery img.wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  min-height: 130px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.timeline span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: var(--radius);
  background: var(--blue);
  font-weight: 900;
}

.centered-heading {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.technology-section {
  width: 100%;
  max-width: none;
  padding: 88px clamp(20px, 5vw, 72px) 96px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff, #f6fafc),
    radial-gradient(circle at 12% 80%, rgba(53, 196, 232, 0.14), transparent 28%);
}

.technology-section h2 {
  color: #071f32;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.05;
}

.technology-grid {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.technology-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 31, 45, 0.08);
}

.technology-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.technology-grid article:hover img {
  transform: scale(1.015);
}

.tech-icon {
  width: 64px;
  height: 64px;
  color: #3c4652;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.tech-icon .accent {
  stroke: #f26722;
}

.tech-icon .accent-fill {
  fill: #f26722;
  stroke: #f26722;
}

.technology-grid span {
  color: #081f2f;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

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

.diagnostics-grid article {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.diagnostics-grid strong {
  font-size: 1.25rem;
}

.diagnostics-grid span {
  color: var(--muted);
}

.contact-section {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgba(8, 31, 45, 0.08);
}

.contact-form-card {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
}

.contact-form-card h2,
.contact-info-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

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

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  color: #4f6070;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfe;
  font: inherit;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-submit {
  cursor: pointer;
  border: 0;
}

.contact-info-card {
  padding: clamp(28px, 4vw, 36px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(53, 196, 232, 0.24), transparent 30%),
    linear-gradient(135deg, var(--nav-deep), var(--nav));
}

.contact-info-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.74);
}

.email-contact {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.email-contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: var(--blue);
}

.email-contact strong,
.email-contact span {
  display: block;
}

.email-contact span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.site-footer {
  color: #dbe4ee;
  background: var(--nav-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.8fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 56px clamp(20px, 5vw, 72px) 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: 220px;
  max-width: 100%;
}

.footer-brand p {
  max-width: 410px;
  margin: 18px 0 0;
  color: rgba(219, 228, 238, 0.68);
}

.footer-column h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  color: rgba(219, 228, 238, 0.7);
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--blue);
  outline: none;
}

.footer-email {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(219, 228, 238, 0.78);
}

.footer-email svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 5vw, 72px);
  color: rgba(219, 228, 238, 0.48);
  font-size: 0.9rem;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  background: var(--soft);
}

.redirect-page strong {
  font-size: 1.4rem;
}

@media (max-width: 1040px) {
  .brand {
    width: 190px;
  }

  .nav-toggle {
    width: 50px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    background: transparent;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--nav);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: space-between;
  }

  .language-toggle {
    width: 100%;
  }

  .feature-grid,
  .preview-section,
  .two-column,
  .download-panel,
  .download-grid,
  .diagnostics-grid,
  .platform-intro,
  .edx-system-grid,
  .advantage-grid,
  .advantage-list,
  .status-card-grid,
  .diagnostic-pipeline,
  .process-band,
  .concept-grid,
  .contact-grid,
  .form-row,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .flow-panel {
    grid-template-columns: 1fr;
  }

  .flow-panel i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .technology-grid {
    gap: 14px;
  }
}

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

  .brand {
    width: 174px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
    padding: 92px 20px 94px;
    background:
      linear-gradient(0deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.66) 62%, rgba(3, 20, 30, 0.25)),
      url("assets/bc-hero-lab.png") center / cover no-repeat;
  }

  .hero.product-hero {
    background:
      linear-gradient(0deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.7) 64%, rgba(3, 20, 30, 0.2)),
      url("assets/electradx-hero-edx-screen-v6.png") 62% center / cover no-repeat;
  }

  .platform-hero {
    min-height: 720px;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 92px 20px 94px;
    background:
      linear-gradient(0deg, rgba(3, 20, 30, 0.96), rgba(3, 20, 30, 0.7) 64%, rgba(3, 20, 30, 0.2)),
      url("assets/electradx-hero-edx-screen-v6.png") 62% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

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

  .statement-band,
  .section {
    width: calc(100% - 28px);
  }

  .section,
  .gallery-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-hero {
    min-height: 720px;
    justify-content: flex-end;
    padding: 92px 20px 94px;
  }

  .specialty-hero {
    padding-right: 28px;
  }

  .platform-hero {
    min-height: 720px;
    padding: 92px 20px 94px;
  }

  .sensors-hero,
  .diagnostics-hero {
    background:
      linear-gradient(0deg, rgba(3, 20, 30, 0.97), rgba(6, 44, 64, 0.76) 66%, rgba(6, 44, 64, 0.34)),
      url("assets/bc-hero-lab.png") 68% center / cover no-repeat;
  }

  .page-hero h1,
  .section h2 {
    width: min(100%, 330px);
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 7.2vw, 2.45rem);
  }

  .page-hero p:not(.eyebrow) {
    width: min(100%, 330px);
    overflow-wrap: anywhere;
  }

  .platform-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  .feature-card {
    min-height: 190px;
  }

  .edx-system-card {
    min-height: 240px;
  }

  .status-card {
    min-height: 250px;
  }

  .diagnostic-pipeline article {
    min-height: 210px;
  }

  .cta-band {
    width: calc(100% - 28px);
  }

  .contact-section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 24px;
  }

  .footer-top {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .footer-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .screenshot-grid,
  .screenshot-card.wide {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

  .screenshot-card:not(.wide) img {
    aspect-ratio: 4 / 5;
  }

  .platform-gallery .screenshot-card:not(.wide) img,
  .platform-gallery .screenshot-card.wide img {
    aspect-ratio: 16 / 10;
  }

  .timeline article {
    grid-template-columns: 48px 1fr;
  }

  .mini-list,
  .process-row {
    grid-template-columns: 1fr;
  }

  .process-row span {
    min-height: 70px;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
