:root {
  --red: #b4152b;
  --red-dark: #74111e;
  --ink: #1f242b;
  --muted: #64707d;
  --line: #dfe5eb;
  --soft: #f5f7f9;
  --steel: #25313d;
  --blue: #0f6b8f;
  --green: #36795c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: min(220px, 42vw);
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 700;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-nav a {
  padding: 0.55rem 0.7rem;
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  white-space: nowrap;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100vh - 126px);
  padding: clamp(1.25rem, 4vw, 3rem) 0;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--steel);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 1rem;
  color: var(--steel);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.2;
}

.lead {
  max-width: 610px;
  margin: 1.1rem 0 0;
  color: #394653;
  font-size: 1.15rem;
}

.hero-actions,
.section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border-color: var(--steel);
  color: var(--steel);
}

.button.light {
  background: var(--white);
  color: var(--red);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(circle at 50% 40%, #ffffff 0, #eef2f5 62%, #dfe5eb 100%);
  border: 1px solid var(--line);
}

.hero-media img {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 26px 28px rgba(30, 38, 48, 0.2));
}

.media-stat {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(220px, calc(100% - 2rem));
  padding: 0.9rem;
  background: var(--steel);
  color: var(--white);
  border-left: 5px solid var(--red);
}

.media-stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.media-stat span {
  display: block;
  margin-top: 0.3rem;
  color: #d8e1e8;
  font-size: 0.86rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 1rem;
  background: var(--steel);
  color: var(--white);
}

.strip div {
  min-height: 130px;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

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

.strip strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.strip span {
  display: block;
  margin-top: 0.55rem;
  color: #d8e1e8;
  font-size: 0.9rem;
}

.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: start;
}

.included-box,
.price-panel,
.feature-stack article,
.option-grid article,
.video-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.included-box {
  margin-top: 1.4rem;
  padding: 1.2rem;
}

.included-box ul,
.feature-stack ul {
  margin: 0;
  padding-left: 1.2rem;
}

.included-box li,
.feature-stack li {
  margin: 0.35rem 0;
}

.price-panel {
  padding: 1.3rem;
  border-top: 7px solid var(--red);
}

.panel-label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--red);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.price-panel p {
  margin: 0.7rem 0 0;
}

.price-panel small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.price-panel hr {
  height: 1px;
  margin: 1.1rem 0;
  border: 0;
  background: var(--line);
}

.tech-layout,
.option-grid,
.reference-grid {
  display: grid;
  gap: 0.75rem;
}

.tech-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.tech-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.tech-table th,
.tech-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tech-table th {
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.tech-table td:first-child {
  font-weight: 800;
}

.tech-table th:nth-child(1),
.tech-table td:nth-child(1) {
  width: 58%;
}

.tech-table th:nth-child(2),
.tech-table td:nth-child(2) {
  width: 17%;
}

.tech-table th:nth-child(3),
.tech-table td:nth-child(3) {
  width: 25%;
}

.table-note {
  margin: 0;
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.feature-stack article,
.option-grid article {
  padding: 1.15rem;
}

.feature-stack p,
.option-grid p,
.video-card p,
.install p {
  margin: 0;
  color: var(--muted);
}

.component-blocks {
  display: grid;
  gap: 0.9rem;
}

.component-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--line);
}

.component-card.reverse .component-media {
  order: 2;
}

.component-media {
  display: grid;
  place-items: center;
  min-height: 300px;
  background: #eef2f5;
  overflow: hidden;
}

.component-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
}

.component-copy ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.component-copy li {
  margin: 0.35rem 0;
}

.install {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}

.reference-accordion {
  display: grid;
  gap: 0.55rem;
}

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

.option-grid article {
  display: flex;
  min-height: 210px;
  flex-direction: column;
}

.option-grid strong {
  display: block;
  margin-top: auto;
  color: var(--red);
  align-self: flex-end;
  text-align: right;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.text-link {
  color: var(--red);
  font-weight: 800;
}

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

.video-card {
  overflow: hidden;
}

.photo-reference {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  overflow: hidden;
}

.photo-reference summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.85rem 3rem 0.85rem 1rem;
  color: var(--steel);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.photo-reference summary::-webkit-details-marker {
  display: none;
}

.photo-reference summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1;
}

.photo-reference[open] summary {
  border-bottom: 1px solid var(--line);
}

.photo-reference[open] summary::after {
  content: "-";
}

.ref-images {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  align-items: stretch;
}

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

.ref-images figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  min-width: 0;
  background: #eef2f5;
  line-height: 0;
  overflow: hidden;
}

.ref-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ref-images figure:first-child img {
  object-position: center center;
}

.ref-images figcaption {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  padding: 0.18rem 0.45rem;
  background: rgba(37, 49, 61, 0.88);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111820;
  object-fit: cover;
}

.video-card h3 {
  padding: 0.9rem 0.95rem 0;
}

.video-card p {
  padding: 0 0.95rem 1rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 2rem;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: var(--red);
  color: var(--white);
}

.cta-band .eyebrow,
.cta-band h2 {
  color: var(--white);
}

.cta-band h2 {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 3.5rem);
  background: var(--steel);
  color: #eaf0f4;
  font-size: 0.9rem;
}

.site-footer div,
.site-footer span {
  display: block;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .component-card,
  .cta-band,
  .site-footer {
    display: block;
  }

  .site-header {
    gap: 0.75rem;
  }

  .top-nav {
    margin-top: 0;
    margin-left: auto;
    justify-content: flex-end;
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }

  .top-nav a {
    min-width: 0;
    margin: 0;
    text-align: center;
    white-space: nowrap;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .price-panel {
    margin-top: 1.2rem;
  }

  .strip,
  .option-grid,
  .feature-stack,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .component-card.reverse .component-media {
    order: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }
}

@media (max-width: 820px) {
  main {
    padding: 0.85rem;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    width: 100%;
  }

  .brand img {
    width: clamp(170px, 54vw, 220px);
  }

  .top-nav {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    max-width: 100%;
  }

  .top-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.62rem 0.82rem;
    font-size: 0.88rem;
    text-align: center;
    white-space: nowrap;
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.35rem);
  }

  .hero,
  .hero-copy,
  .section,
  .cta-band {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 320px;
    overflow: hidden;
  }

  .strip,
  .tech-layout,
  .option-grid,
  .feature-stack,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .ref-images,
  .ref-images.two-images {
    grid-template-columns: 1fr;
  }

  .tech-table {
    font-size: 0.86rem;
  }

  .tech-table th,
  .tech-table td {
    padding: 0.58rem 0.5rem;
  }

  .strip div {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}
