:root {
  --ink: #15242c;
  --muted: #5d6d76;
  --line: #d9e4e7;
  --paper: #f5f8f7;
  --white: #ffffff;
  --teal: #087f8c;
  --green: #6f9f3a;
  --steel: #406172;
  --gold: #c79b42;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  min-height: 74px;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(245, 248, 247, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--steel);
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 58px;
  line-height: 1.04;
}

h2 {
  font-size: 34px;
  line-height: 1.18;
}

h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

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

.hero-panel {
  min-height: 520px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(19, 42, 50, 0.10);
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #edf5f4;
}

.hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.device-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 127, 140, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(111, 159, 58, 0.20), transparent 45%),
    #edf5f4;
}

.ring,
.chip,
.pulse {
  position: absolute;
  display: block;
}

.ring {
  border: 18px solid rgba(8, 127, 140, 0.22);
  border-radius: 8px;
  transform: rotate(20deg);
}

.ring-a {
  width: 220px;
  height: 132px;
  left: 54px;
  top: 72px;
}

.ring-b {
  width: 170px;
  height: 104px;
  right: 52px;
  bottom: 56px;
  border-color: rgba(199, 155, 66, 0.28);
}

.chip {
  width: 92px;
  height: 92px;
  left: calc(50% - 46px);
  top: calc(50% - 46px);
  border-radius: 8px;
  background: var(--ink);
  box-shadow:
    0 -22px 0 -18px var(--gold),
    0 22px 0 -18px var(--gold),
    -22px 0 0 -18px var(--gold),
    22px 0 0 -18px var(--gold);
}

.pulse {
  width: 78px;
  height: 78px;
  right: 86px;
  top: 64px;
  border-radius: 50%;
  background: var(--green);
}

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

.metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics dt {
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
}

.metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px;
  border-top: 1px solid var(--line);
}

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

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

.capability-grid article,
.experience-list article,
.case-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-grid p,
.experience-list p,
.section-heading p,
.product-copy p,
.case-card p,
.contact p {
  color: var(--muted);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-copy {
  align-self: center;
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.feature-list.compact {
  margin: 0;
}

.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 2px;
}

.spec-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(8, 127, 140, 0.24);
  border-radius: 999px;
  background: rgba(8, 127, 140, 0.08);
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.product-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #edf5f4;
}

.product-media img:nth-child(2) {
  object-fit: contain;
  padding: 12px;
}

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

.product-detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-detail-grid article,
.mode-card,
.gallery-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-detail-grid p,
.mode-card p {
  color: var(--muted);
}

.mode-card {
  margin-top: 18px;
}

.gallery-card {
  margin-top: 18px;
}

.compact-heading {
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

.mode-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

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

.mode-table th {
  background: #edf5f4;
  color: var(--steel);
  font-size: 14px;
}

.mode-table tbody tr:last-child td {
  border-bottom: 0;
}

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

.product-gallery figure {
  margin: 0;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #edf5f4;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: contain;
}

.product-gallery .gallery-large {
  grid-row: span 2;
  min-height: 394px;
}

.product-gallery .gallery-large img {
  min-height: 394px;
}

.case-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.blackhead-case {
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
}

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

.case-media figure {
  margin: 0;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f7faf9;
}

.case-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: contain;
}

.case-media .case-large {
  grid-row: span 2;
  min-height: 454px;
}

.case-media .case-large img {
  min-height: 454px;
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
}

.experience-list {
  display: grid;
  gap: 16px;
}

address {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-style: normal;
}

address a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .nav,
  .hero-actions {
    align-items: flex-start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

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

  .hero,
  .product-feature,
  .product-detail-grid,
  .product-detail-grid.three,
  .case-card,
  .blackhead-case,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

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

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

  .case-media {
    grid-template-columns: 1fr;
  }

  .case-media .case-large,
  .case-media .case-large img {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-panel {
    min-height: 0;
    padding: 18px;
  }

  .hero-photo img {
    height: 260px;
  }

  .device-visual {
    min-height: 220px;
  }

  .metrics,
  .capability-grid,
  .product-media,
  .product-gallery,
  .case-media {
    grid-template-columns: 1fr;
  }

  .product-gallery .gallery-large,
  .product-gallery .gallery-large img,
  .case-media .case-large,
  .case-media .case-large img {
    min-height: 260px;
  }

  .product-feature {
    padding: 18px;
  }
}
