:root {
  color-scheme: light;
  --black: #030406;
  --ink: #111318;
  --muted: #6f737b;
  --soft: #f3f1ec;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.18);
  --blue: #1473ff;
  --cyan: #35d6d0;
  --gold: #d7a450;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 0;
}

body {
  background: var(--black);
  color: var(--ink);
  margin: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  color: var(--white);
  display: flex;
  height: 70px;
  justify-content: space-between;
  left: 0;
  padding: 0 7vw;
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  z-index: 30;
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 42px;
  min-width: 210px;
  position: relative;
  width: 214px;
}

.brand-image {
  height: 42px;
  left: 0;
  object-fit: contain;
  object-position: left center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
  width: 214px;
}

.brand-image-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-image-light,
.menu-open .brand-image-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-image-dark,
.menu-open .brand-image-dark {
  opacity: 1;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 650;
  opacity: 0.82;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  min-width: 210px;
}

.icon-button,
.menu-button,
.hero-arrow {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.icon-button {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.icon-button svg,
.hero-arrow svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 20px;
}

.buy-button {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  padding: 0 18px;
}

.menu-button {
  display: none;
  height: 38px;
  position: relative;
  width: 38px;
}

.menu-button span {
  background: currentColor;
  height: 2px;
  left: 10px;
  position: absolute;
  transition:
    top 180ms ease,
    transform 180ms ease;
  width: 18px;
}

.menu-button span:first-child {
  top: 14px;
}

.menu-button span:last-child {
  top: 22px;
}

.menu-open .menu-button span:first-child {
  top: 18px;
  transform: rotate(45deg);
}

.menu-open .menu-button span:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0) 24%),
    linear-gradient(110deg, rgba(96, 105, 122, 0.46), rgba(0, 0, 0, 0) 42%),
    linear-gradient(180deg, #11151b 0%, #040506 68%, #020202 100%);
  border-bottom: 14px solid var(--white);
  color: var(--white);
  min-height: 88vh;
  overflow: hidden;
  position: relative;
  transition: background 420ms ease;
}

.hero::before {
  background-image: var(--hero-bg);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 1;
  position: absolute;
  transition:
    background-image 420ms ease,
    opacity 220ms ease;
}

.hero[data-theme="boombox"] {
  --hero-bg: url("./assets/hero-scenes/boombox-integrated-2x.webp");
}

.hero[data-theme="cinema"] {
  --hero-bg: url("./assets/hero-scenes/soundbar-integrated-2x.webp");
}

.hero[data-theme="focus"] {
  --hero-bg: url("./assets/hero-scenes/lenyes-integrated-2x.webp");
}

.hero.is-changing::before {
  opacity: 0.72;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15) 34%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero[data-theme="focus"]::after {
  background:
    linear-gradient(180deg, rgba(18, 28, 38, 0.48), rgba(18, 28, 38, 0.26) 32%, rgba(18, 28, 38, 0.1) 56%, rgba(13, 19, 27, 0.58)),
    linear-gradient(90deg, rgba(13, 22, 31, 0.24), transparent 20%, transparent 76%, rgba(13, 20, 28, 0.28));
}

.hero-copy {
  left: 50%;
  max-width: 760px;
  padding: 0 24px;
  position: absolute;
  text-align: center;
  top: 118px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 4;
}

.kicker {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: 3.7rem;
  font-weight: 850;
  line-height: 0.98;
  margin: 0;
}

.hero-copy p:not(.kicker) {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 12px auto 0;
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.hero-actions a,
.launch-copy a,
.wide-copy a,
.gaming-copy a {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  min-width: 124px;
  padding: 0 18px;
}

.hero-actions a:nth-child(2) {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.hero-product-nav {
  bottom: 48px;
  left: 28vw;
  position: absolute;
  z-index: 5;
}

.hero-product-nav button {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: grid;
  font-size: 0.82rem;
  gap: 9px;
  min-width: 190px;
  padding: 0 0 0 22px;
  position: relative;
  text-align: left;
}

.hero-product-nav button::before {
  background: var(--white);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 50%;
  width: 10px;
}

.hero-product-nav strong {
  color: var(--white);
  font-size: 0.9rem;
}

.hero-arrow {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  height: 62px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  z-index: 5;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-arrow-left {
  left: 0;
}

.hero-arrow-right {
  right: 0;
}

.launch {
  min-height: 860px;
  overflow: hidden;
  position: relative;
}

.launch-dark {
  background:
    linear-gradient(180deg, #000 0%, #030303 45%, #000 100%);
  color: var(--white);
}

.soundbar-section {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.28) 72%, rgba(0, 0, 0, 0.72)),
    url("./assets/hero-scenes/soundbar-integrated.png") center / cover;
}

.soundbar-section .launch-copy {
  top: 84px;
}

.soundbar-section .launch-image {
  display: none;
}

.launch-light {
  background:
    linear-gradient(90deg, rgba(20, 115, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #f7f3ea 0%, #e8e1d5 100%);
  color: var(--ink);
}

.headphones-section {
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.86), rgba(250, 252, 255, 0.24) 36%, rgba(222, 232, 240, 0.18) 72%, rgba(20, 28, 38, 0.2)),
    url("./assets/hero-scenes/lenyes-integrated.png") center / cover;
  color: var(--ink);
}

.headphones-section .launch-copy {
  top: 86px;
}

.headphones-section .launch-image {
  display: none;
}

.headphones-section .launch-copy p:not(.kicker) {
  color: rgba(17, 19, 24, 0.68);
}

.launch-light .kicker,
.launch-light .launch-copy p {
  color: rgba(17, 19, 24, 0.66);
}

.launch-copy {
  left: 50%;
  max-width: 720px;
  padding: 0 24px;
  position: absolute;
  text-align: center;
  top: 92px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 2;
}

.launch-copy h2,
.wide-copy h2,
.gaming-copy h2,
.section-heading h2,
.support-band h2 {
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1;
  margin: 0;
}

.launch-copy p:not(.kicker),
.wide-copy p,
.gaming-copy p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.58;
  margin: 12px auto 0;
  max-width: 620px;
}

.launch-copy a {
  margin-top: 22px;
}

.launch-image {
  align-items: end;
  bottom: 0;
  display: flex;
  inset-inline: 0;
  justify-content: center;
  min-height: 610px;
  position: absolute;
}

.launch-image::before {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16), transparent 60%);
  bottom: 0;
  content: "";
  height: 380px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 80vw;
}

.launch-image img {
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.68));
  max-height: 520px;
  object-fit: contain;
  position: relative;
  width: min(1120px, 78vw);
}

.soundbar-image img {
  max-height: 560px;
  width: min(1120px, 82vw);
}

.headphones-image {
  justify-content: flex-end;
  padding-right: 8vw;
}

.headphones-image::before {
  background: linear-gradient(90deg, transparent, rgba(20, 115, 255, 0.16), transparent);
}

.headphones-image img {
  filter: drop-shadow(0 42px 60px rgba(30, 34, 38, 0.25));
  max-height: 600px;
  width: min(720px, 58vw);
}

.headphones-section .headphones-image {
  bottom: 0;
  justify-content: center;
  padding-right: 0;
}

.headphones-section .headphones-image img {
  max-height: 520px;
  transform: translate(16vw, 20px);
  width: min(620px, 46vw);
}

.party-image img {
  max-height: 660px;
  width: min(1320px, 92vw);
}

.party-section {
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.44), rgba(5, 7, 12, 0.04) 34%, rgba(6, 8, 12, 0.54) 82%, rgba(0, 0, 0, 0.88)),
    url("./assets/backgrounds/hopestar-rooftop-party.webp") center / cover;
}

.party-section::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 70%, #000);
  bottom: 0;
  content: "";
  height: 170px;
  inset-inline: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.party-section .launch-copy {
  z-index: 3;
}

.party-image {
  bottom: -34px;
}

.party-image::before {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.14), transparent 56%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  bottom: 70px;
}

.wide-feature {
  background: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 720px;
}

.wide-copy {
  align-self: center;
  padding: 80px 0 80px 7vw;
}

.wide-copy .kicker {
  color: var(--muted);
}

.wide-copy p {
  color: var(--muted);
  max-width: 520px;
}

.wide-copy a {
  margin-top: 26px;
}

.wide-media {
  align-items: center;
  background:
    linear-gradient(130deg, rgba(20, 115, 255, 0.18), transparent 46%),
    #f6f7fb;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 70px 7vw 70px 40px;
}

.wide-media img {
  filter: drop-shadow(0 36px 50px rgba(35, 45, 65, 0.18));
  max-height: 520px;
  object-fit: contain;
}

.gaming-feature {
  background:
    radial-gradient(circle at 50% 58%, rgba(20, 115, 255, 0.18), transparent 36%),
    linear-gradient(120deg, rgba(20, 115, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #fbfcff 0%, #eef3fb 58%, #f8f9fc 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 800px;
  overflow: hidden;
  padding: 104px 7vw 86px;
  position: relative;
}

.gaming-feature::before {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.74) 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 64%, rgba(20, 115, 255, 0.09));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gaming-feature::after {
  display: none;
}

.gaming-copy {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.gaming-copy .kicker {
  color: rgba(17, 19, 24, 0.58);
}

.gaming-copy h2 {
  margin-inline: auto;
  max-width: 640px;
}

.gaming-copy p:not(.kicker) {
  color: rgba(17, 19, 24, 0.68);
  margin-inline: auto;
  max-width: 520px;
}

.gaming-copy a {
  margin-top: 28px;
}

.gaming-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.gaming-specs span {
  border-top: 1px solid rgba(17, 19, 24, 0.22);
  color: rgba(17, 19, 24, 0.64);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0;
  min-width: 122px;
  padding-top: 13px;
}

.gaming-specs strong {
  color: var(--ink);
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
}

.gaming-media {
  align-items: center;
  display: block;
  height: 360px;
  margin: 54px auto 0;
  max-width: 1060px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.gaming-media::before {
  display: none;
}

.gaming-media::after {
  display: none;
}

.gaming-media img {
  filter: drop-shadow(0 28px 34px rgba(24, 36, 58, 0.14));
  object-fit: contain;
  position: absolute;
  z-index: 2;
}

.gaming-box {
  bottom: 26px;
  right: 8%;
  width: min(520px, 45vw);
}

.gaming-console {
  bottom: 38px;
  left: 9%;
  width: min(500px, 39vw);
  z-index: 3;
}

.catalog {
  background: #f4f1ea;
  padding: 104px 7vw;
}

.section-heading {
  margin-bottom: 38px;
  max-width: 860px;
}

.section-heading .kicker {
  color: var(--muted);
}

.section-heading p:not(.kicker) {
  color: rgba(17, 19, 24, 0.62);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 650px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 6px;
  box-shadow: 0 22px 55px rgba(21, 24, 30, 0.06);
  min-height: 432px;
  padding: 18px 18px 24px;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  box-shadow: 0 28px 70px rgba(21, 24, 30, 0.1);
  transform: translateY(-2px);
}

.product-visual {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid rgba(17, 19, 24, 0.05);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-card img {
  background: var(--white);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-card p {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.product-card h3 {
  font-size: 1.16rem;
  line-height: 1.14;
  margin: 0 0 12px;
}

.product-card strong {
  color: var(--muted);
  display: block;
  font-size: 0.96rem;
}

.support-band {
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 72px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 96px 7vw;
}

.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.support-grid article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.support-grid span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.support-grid h3 {
  font-size: 1.18rem;
  margin: 18px 0 0;
}

.support-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 12px 0 0;
}

.site-footer {
  align-items: center;
  background: #f7f5f0;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 32px 7vw;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a {
  color: rgba(17, 19, 24, 0.68);
  font-size: 0.86rem;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 24px;
  }

  .brand,
  .header-actions {
    min-width: 0;
  }

  .brand {
    width: 190px;
  }

  .brand-image {
    height: 38px;
    width: 190px;
  }

  .main-nav {
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 84px 24px 28px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    z-index: -1;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    border-bottom: 1px solid rgba(17, 19, 24, 0.1);
    font-size: 1.04rem;
    padding: 18px 0;
  }

  .menu-button {
    display: inline-flex;
  }

  .wide-feature,
  .support-band {
    grid-template-columns: 1fr;
  }

  .wide-copy {
    padding: 84px 24px 36px;
    text-align: center;
  }

  .wide-copy p {
    margin-inline: auto;
  }

  .wide-media {
    padding: 24px 24px 72px;
  }

  .gaming-feature {
    min-height: 820px;
    padding: 90px 24px 64px;
    text-align: center;
  }

  .gaming-copy {
    margin: 0 auto;
  }

  .gaming-copy p:not(.kicker) {
    margin-inline: auto;
  }

  .gaming-specs {
    justify-content: center;
  }

  .gaming-media {
    height: 340px;
    margin-top: 40px;
  }

  .gaming-media::before {
    width: 86vw;
  }

  .gaming-box {
    right: 2%;
    width: min(520px, 52vw);
  }

  .gaming-console {
    left: 2%;
    width: min(440px, 42vw);
  }

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

  .catalog,
  .support-band {
    padding: 84px 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 62px;
  }

  .brand {
    width: 158px;
  }

  .brand-image {
    height: 32px;
    width: 158px;
  }

  .icon-button {
    display: none;
  }

  .buy-button {
    height: 32px;
    padding: 0 14px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-copy {
    top: 92px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-copy p:not(.kicker) {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: min(100%, 260px);
  }

  .hero-product-nav {
    bottom: 28px;
    left: 24px;
  }

  .hero-arrow {
    display: none;
  }

  .launch {
    min-height: 760px;
  }

  .gaming-feature {
    min-height: 790px;
    padding: 76px 20px 54px;
  }

  .launch-copy {
    top: 72px;
  }

  .launch-copy h2,
  .wide-copy h2,
  .gaming-copy h2,
  .section-heading h2,
  .support-band h2 {
    font-size: 2.35rem;
  }

  .launch-image {
    min-height: 520px;
  }

  .launch-image img,
  .soundbar-image img,
  .party-image img {
    width: 96vw;
  }

  .headphones-image {
    justify-content: center;
    padding-right: 0;
  }

  .headphones-image img {
    width: 84vw;
  }

  .gaming-specs {
    gap: 10px;
    margin-top: 22px;
  }

  .gaming-specs span {
    min-width: 96px;
  }

  .gaming-media {
    height: 300px;
    margin-top: 30px;
  }

  .gaming-media::before {
    bottom: 18px;
    height: 210px;
    width: 98vw;
  }

  .gaming-media::after {
    bottom: 12px;
    width: 88vw;
  }

  .gaming-box {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(560px, 96vw);
  }

  .gaming-console {
    display: none;
  }

  .product-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 390px;
  }

  .product-visual {
    aspect-ratio: 1 / 1;
  }

  .site-footer {
    align-items: flex-start;
    display: grid;
    gap: 20px;
  }
}
