:root {
  color-scheme: dark;
  --background: #050506;
  --panel: #101114;
  --line: #272a30;
  --text: #f5f6f7;
  --muted: #aeb4be;
  --accent: #b9e5ff;
  --pad: clamp(1rem, 5vw, 4rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }

.container {
  width: 100%;
  max-width: 88rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 0;
  transform: translateY(-150%);
  padding: .85rem 1rem;
  color: #040506;
  background: var(--accent);
}

.skip-link:focus { top: .7rem; transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner { min-height: 6.1rem; }
.brand { display: block; flex: 0 1 14.5rem; }
.brand img { width: 100%; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 3vw, 2.4rem);
}

nav a, .footer-inner > a:last-child {
  display: grid;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover, .footer-inner > a:last-child:hover { color: var(--text); }

.hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 76% 43%, #122334 0%, #0a1018 30%, transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.4fr);
  gap: clamp(1.6rem, 5vw, 5.1rem);
  align-items: center;
  padding-block: clamp(3.4rem, 7vw, 7.2rem);
}

.hero-copy { padding-bottom: 1rem; }

h1 {
  font-size: clamp(3rem, 4.65vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 750;
}

.hero-copy > p {
  max-width: 25rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  font-size: .92rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary { background: var(--accent); color: #0a1722; }
.primary:hover { background: #ddf2ff; }
.secondary { border-color: #464d56; background: #0d1014; color: var(--text); }
.secondary:hover { background: #1a2028; border-color: #728092; }

.screenshot {
  display: block;
  position: relative;
  cursor: zoom-in;
}

.hero-screenshot {
  border: 1px solid #4b6176;
  border-radius: .6rem;
  box-shadow: 0 1.5rem 4rem #000a, 0 0 3rem #7ecaff16;
}

.hero-screenshot img { width: 100%; border-radius: inherit; }

.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .45rem 1rem;
  padding-top: .85rem;
  font-size: .875rem;
  color: var(--muted);
}

.hero-figure figcaption span:first-child { color: var(--text); font-weight: 600; }

.section { padding-block: clamp(3rem, 6.6vw, 6.25rem); }
.section-heading { margin-bottom: clamp(1.35rem, 3vw, 2.5rem); }

h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  letter-spacing: -.065em;
  line-height: 1.05;
}

.section-heading p { color: var(--muted); margin-top: .65rem; font-size: 1rem; }

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

.product {
  --glow: #67abc832;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .55rem;
}

.product-filter { --glow: #d9934835; }
.product-drumre { --glow: #ac854f37; }
.product-night { --glow: #6bbed333; }

.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.92;
  padding: clamp(.85rem, 2.7vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  border-radius: .55rem .55rem 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--glow), transparent 75%), #090b0e;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 .7rem 1.1rem #000b);
}

.product-image:hover { border-bottom-color: #637387; }
.product-copy { display: grid; justify-items: start; gap: .55rem; padding: clamp(1.1rem, 2.5vw, 1.65rem); }
.product-copy > p { color: var(--muted); line-height: 1.55; }
.product-copy > .product-type { color: var(--accent); font-size: .875rem; font-weight: 650; }
h3 { font-size: clamp(1.35rem, 2.45vw, 1.85rem); letter-spacing: -.035em; line-height: 1.15; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-underline-offset: .23em; }

.filter-performance { border-top: 1px solid var(--line); }
.filter-performance .section-heading p { max-width: 42rem; line-height: 1.55; }

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.performance-image {
  border-bottom: 1px solid var(--line);
  border-radius: .55rem .55rem 0 0;
}

.performance-image img { width: 100%; border-radius: inherit; }
.performance-image:hover { border-color: #8c6c43; }

.demos-section { background: #08090b; border-block: 1px solid var(--line); }

.demo-set + .demo-set { margin-top: clamp(2.25rem, 5vw, 4rem); }
.demo-set > h3 { margin-bottom: 1rem; }

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

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 3.5rem);
}

.demo-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: .55rem;
  border: 1px solid var(--line);
  background: #000;
}

.demo-video p, .demo-audio > p {
  color: var(--muted);
  line-height: 1.55;
  margin-top: .65rem;
}

.demo-audio {
  padding: clamp(1rem, 3vw, 1.8rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .55rem;
}

.demo-audio h4 { font-size: 1.2rem; line-height: 1.25; }

.clip {
  display: grid;
  gap: .75rem;
  padding-top: 1.15rem;
  margin-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.clip h5 { font-size: .95rem; }
.clip audio { width: 100%; min-width: 0; }

.site-footer { padding-block: 1.6rem; }
.footer-inner .brand { flex-basis: 10rem; }
.image-viewer {
  width: min(96vw, 83rem);
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: .9rem;
  overflow: auto;
  border: 1px solid #47515d;
  border-radius: .55rem;
  background: #0d0f12;
  color: var(--text);
}
.image-viewer::backdrop { background: #000d; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.image-viewer img { width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; }

@media (max-width: 62rem) {
  .desktop-break { display: none; }
  .performance-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 35.01rem) and (max-width: 62rem) {
  .performance-mode {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }

  .performance-image {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    border-radius: .55rem 0 0 .55rem;
  }
}

@media (max-width: 48rem) {
  .header-inner { min-height: 4.6rem; }
  .brand { flex-basis: 12rem; }
  .hero-grid, .demo-grid, .filter-demo-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero { background-position: center bottom; }
  .hero-grid { gap: 2rem; }
  .hero-copy > p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
}

@media (max-width: 35rem) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .brand { flex-basis: 9.8rem; }
  .footer-inner .brand { flex-basis: 8.5rem; }
}
