:root {
  --background: #071018;
  --surface: #0d1924;
  --surface-light: #132333;
  --text: #f3f7fa;
  --muted: #9eb0bf;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #65e1ff;
  --accent-strong: #2ec5ef;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(39, 146, 190, 0.16), transparent 30rem),
    var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0;
  background: rgba(7, 16, 24, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

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

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
  padding-top: 70px;
}

.eyebrow,
.section-number,
.product-index {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 680px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.18rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #a0efff;
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button.disabled {
  cursor: default;
  opacity: 0.62;
}

.hero-brand-visual {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.hero-brand-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

.section-text {
  max-width: 660px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.products {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 60px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 60px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 48%),
    var(--surface);
}

.product-tagline {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 650;
}

.product-copy > p:not(.product-index):not(.product-tagline) {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0;
}

.tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cde6ef;
  font-size: 0.78rem;
}

.product-details {
  margin: 30px 0 34px;
}

.product-details > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.product-details > div:last-child {
  border-bottom: 1px solid var(--line);
}

.product-details dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.product-details dd {
  margin: 0;
  font-size: 0.9rem;
}

.media-area {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.media-frame {
  min-width: 0;
  margin: 0;
}

.media-frame a {
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.media-frame figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.media-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(150px, 0.65fr);
  gap: 14px;
}

.product-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-light);
}

.gallery-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.inspector-image {
  object-fit: contain;
  background: #202020;
}

.product-video {
  grid-column: 1 / -1;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.video-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.video-heading .product-index {
  margin-bottom: 8px;
}

.video-heading h4 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.button.secondary:not(.disabled):hover,
.button.secondary:not(.disabled):focus-visible {
  border-color: rgba(101, 225, 255, 0.55);
  color: var(--accent);
  background: rgba(101, 225, 255, 0.08);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 700px;
  margin-bottom: 24px;
}

.contact p:not(.section-number) {
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 850px) {
  .hero,
  .about,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 45px;
  }

  .hero-brand-visual {
    width: min(100%, 760px);
    justify-self: center;
  }

  .about {
    gap: 12px;
  }

  .section-text {
    margin-top: 20px;
  }

  .media-gallery {
    grid-template-columns: minmax(0, 1.55fr) minmax(130px, 0.65fr);
  }
}

@media (max-width: 580px) {
  .site-header {
    align-items: center;
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 0.78rem;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 45px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .product-card {
    gap: 36px;
    border-radius: 22px;
  }

  .product-video {
    padding-top: 28px;
  }

  .video-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .gallery-image {
    height: auto;
    max-height: 360px;
  }

  .product-details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}

