:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --surface-alt: #e8eeea;
  --text: #13212a;
  --muted: #56636d;
  --line: #d6dde0;
  --blue: #1567b0;
  --teal: #0d8a84;
  --green: #4d8f58;
  --orange: #d58a28;
  --shadow: 0 18px 40px rgba(16, 33, 42, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 245, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 221, 224, 0.8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 700;
}

.brand-name {
  font-weight: 700;
}

.brand-sub,
.footer-note,
.nav-links a,
.hero-text,
.section-head p,
.feature-card p,
.text-panel p,
.case-copy p,
.cta-box p,
table td,
.config-card li {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid,
.split-grid,
.control-grid,
.cta-box {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.hero-head,
.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-head {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto 10px;
}

.hero-head .eyebrow {
  margin-bottom: 12px;
}

.hero-head h1,
.section-head h2,
.text-panel h2,
.cta-box h2 {
  margin: 0;
  line-height: 1.08;
}

.hero-head h1 {
  margin-inline: auto;
  max-width: 1100px;
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
  line-height: 1.08;
}

.hero-head h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  padding-top: 2px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.hero-text {
  max-width: 62ch;
  margin: 0;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
}

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

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 1px solid transparent;
}

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

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li,
.mini-points span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-height: 84px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}

.hero-media img,
.image-panel img,
.control-panel-frame img,
.case-card img {
  border-radius: 8px;
}

.hero-media img {
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}

.image-panel {
  background: linear-gradient(180deg, #eef2f3, #f7f9fa);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: transparent;
}

.application-fit-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  align-items: stretch;
}

.application-fit-shot {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(214, 221, 224, 0.9);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 33, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 520px;
}

.application-fit-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  padding: 18px;
  filter: contrast(1.02) saturate(0.97);
}

.front-shot img {
  padding: 20px 22px;
}

.side-shot img {
  padding: 18px 22px;
}

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

.hero-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 118px;
}

.metric-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
}

.metric-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(232, 238, 234, 0.75), rgba(243, 245, 246, 0.35));
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head-wide {
  max-width: 1120px;
}

.section-head-wide p:not(.eyebrow) {
  max-width: 860px;
}

.section-head h2,
.text-panel h2,
.cta-box h2 {
  font-size: clamp(1.56rem, 2.08vw, 2.42rem);
  line-height: 1.1;
  font-weight: 800;
}

.section-head-wide h2 {
  white-space: nowrap;
}

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

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.feature-card,
.spec-card,
.config-card,
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 20px;
  min-height: 188px;
}

.feature-card h3,
.spec-card h3,
.config-card h3,
.case-copy h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

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

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(77, 143, 88, 0.16);
}

.spec-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.spec-duo {
  display: grid;
  gap: 16px;
}

.spec-card {
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table th {
  width: 42%;
  padding-right: 16px;
  font-weight: 600;
}

table tr:last-child th,
table tr:last-child td {
  border-bottom: 0;
}

.control-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

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

.control-panel-frame {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.config-card {
  padding: 20px;
  min-height: 100%;
}

.config-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.capability-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 245, 246, 0.2));
}

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

.capability-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.capability-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: #f6f8f9;
}

.capability-custom-stack {
  object-fit: contain;
  object-position: center center;
  padding: 16px;
  background: #f8f9fb;
}

.capability-cell-voltage {
  object-position: center center;
}

.capability-copy {
  padding: 16px 18px 18px;
}

.capability-copy h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.capability-copy p {
  margin: 0;
  color: var(--muted);
}

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

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.case-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f6f8f9;
}

.case-site {
  object-position: 44% 82%;
}

.case-rd {
  object-position: 48% 40%;
}

.case-shipment {
  object-position: 50% 52%;
}

.case-loading {
  object-position: 50% 42%;
}

.case-packaged {
  object-position: center center;
  object-fit: contain;
  width: 72%;
  margin: 0 auto;
  padding: 28px 0 34px;
  background: #f6f8f9;
}

.case-copy {
  padding: 16px;
  min-height: 132px;
}

.cta-section {
  padding-bottom: 80px;
}

.cta-box {
  grid-template-columns: 1fr auto;
  padding: 28px;
  background: linear-gradient(135deg, #10212a, #204760);
  color: #fff;
  border-radius: 8px;
}

.cta-box p,
.cta-box .eyebrow,
.site-footer p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-details p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.contact-details strong {
  min-width: 92px;
  color: #fff;
}

.contact-details a {
  color: #fff;
}

.site-footer {
  padding: 20px 0 44px;
  background: #10212a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .control-grid,
  .spec-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .metric-grid,
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .application-fit-gallery {
    grid-template-columns: 1fr;
  }

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

  .application-fit-shot {
    min-height: 460px;
  }

  .hero-head h1,
  .section-head-wide h2 {
    white-space: normal;
  }

  .hero-head h1 span {
    white-space: normal;
  }

  .hero-metric-grid {
    margin-top: 28px;
  }

  .hero-copy {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-points,
  .metric-grid,
  .feature-grid,
  .config-grid,
  .mini-points,
  .cases-grid {
    grid-template-columns: 1fr;
  }

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

  .application-fit-gallery {
    padding: 16px;
    gap: 14px;
  }

  .application-fit-shot {
    min-height: 320px;
  }

  .case-packaged {
    width: 82%;
    padding: 20px 0 24px;
  }
}
