:root {
  color-scheme: dark;
  --ink: #f0f2f4;
  --red: #7a1717;
  --accent: #f5a3a3;
  --border: #526879;
  --black: #080808;
  --navy: #081d2b;
  font: 100% / 1.6 Nunito, system-ui, sans-serif;
  color: var(--ink);
  background: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 3; background: var(--navy); padding: .6rem; }
.skip:focus { top: 1rem; }

header {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--ink);
  background: #080808f5;
  border-bottom: 1px solid var(--red);
  backdrop-filter: blur(12px);
}
nav, .nav-links, .brand, .actions, .retailers { display: flex; align-items: center; }
nav { min-height: 4.5rem; justify-content: space-between; gap: 1rem; }
.nav-links { gap: clamp(.75rem, 3vw, 2.5rem); font-size: .9rem; }
.nav-links a, .brand { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.brand { font-size: .86rem; letter-spacing: .14em; font-weight: 800; }

.hero, .videos {
  background: linear-gradient(90deg, var(--black), var(--navy));
}
.hero {
  border-bottom: 1px solid var(--red);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3rem; padding-block: clamp(3.5rem, 8vw, 8rem); }
.label { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .875rem; font-weight: 800; }
h1, h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}
h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  margin-block: .4rem 1.25rem;
}
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.intro { max-width: 34ch; color: #d0dae1; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions, .retailers { flex-wrap: wrap; gap: .75rem; }
.actions { margin-top: 1.8rem; }
.button {
  display: inline-block;
  padding: .7rem 1.2rem;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 800;
}
.button:hover { background: #ffffff16; }
.solid { background: var(--red); color: white; border-color: #aa5050; }
.solid:hover { background: #942e2e; }
.product { display: grid; justify-items: center; }
.product img { width: min(100%, 25rem); max-height: 31rem; object-fit: contain; filter: drop-shadow(0 1.4rem 1.6rem #000000b0); }

.details, .videos, .buy { padding-block: clamp(3.5rem, 7vw, 6rem); }
.details-grid, .buy-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.details p { max-width: 48ch; font-size: 1.15rem; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1rem; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--border); color: var(--accent); font-weight: 800; font-size: .9rem; }
.videos h2 { margin-bottom: 2rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.video { background: #102837; border: 1px solid var(--border); }
.video a { display: block; height: 100%; text-decoration: none; }
.video a:hover h3 { color: var(--accent); text-decoration: underline; }
.thumbnail { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--black); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #080808ec; color: white; border: 1px solid var(--border); }
.video-caption { padding: .9rem 1rem; }
.video-caption h3 { font-size: 1.1rem; }
.video-caption p { color: #b4c4d0; font-size: .9rem; }
.resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.resources section {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  background: #102837;
}
.resources h2 { font-size: clamp(1.75rem, 4.5vw, 4rem); margin-bottom: 1rem; }
.buy { background: var(--black); }
.retailers { justify-content: flex-end; }
footer { padding-block: 1.35rem; background: var(--black); color: var(--ink); border-top: 1px solid var(--red); }
footer .brand { width: fit-content; }

@media (min-width: 64rem) {
  .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 47rem) {
  .hero-grid, .details-grid, .buy-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .product img { width: min(80%, 20rem); }
  .retailers { justify-content: flex-start; }
}
@media (max-width: 32rem) {
  html { scroll-padding-top: 8rem; }
  h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .wrap { width: calc(100% - 2rem); }
  nav { align-items: flex-start; flex-direction: column; gap: .4rem; padding-block: .65rem; }
  .nav-links { flex-wrap: wrap; gap: .25rem .75rem; }
  .video-grid, .resources { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
