/* Happy Music Box: palette sampled from Shuai's mockup (432.jpg) */
:root {
  --cream: #FBF5E9;
  --cream-2: #F3EBDA;
  --sand: #EDE1CF;
  --terracotta: #E07358;
  --terracotta-d: #C95E44;
  --logo: #C8705A;
  --rust: #7A3420;
  --ink: #2B291D;
  --muted: #5F5649;
  --line: #E4D6C2;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(122, 52, 32, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font: 16px/1.5 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  /* the soft, sunlit room around the page */
  background:
    radial-gradient(60% 50% at 8% 20%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(40% 40% at 95% 85%, rgba(232, 214, 190, .9), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 60px, rgba(255, 255, 255, .16) 90px, rgba(255, 255, 255, 0) 120px) left / 34% 100% no-repeat,
    linear-gradient(180deg, #EFE6D6, #F2E9DA 60%, #E9DCC8);
  background-attachment: fixed;
}
a { color: var(--terracotta-d); }
img { max-width: 100%; height: auto; display: block; }
svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sheet {
  max-width: 960px;
  margin: 16px auto;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(90, 60, 30, .18);
  overflow: hidden;
}

/* ---------- header ---------- */
.top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  background: #FAF6E7;
}
.deco { position: absolute; width: 160px; height: 44px; color: #D9A08F; opacity: .55; pointer-events: none; }
.deco path { stroke-width: 1.2; }
.deco-tr { top: -6px; right: -10px; }
.deco-bl { bottom: -16px; left: 200px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; position: relative; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 11px; background: var(--terracotta);
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.logo-mark i { display: block; width: 2px; background: #fff; border-radius: 2px; }
.logo-word {
  font-weight: 500; font-size: 22px; line-height: .95; letter-spacing: .02em;
  text-transform: uppercase; color: var(--logo);
}

.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13.5px; position: relative; }
.nav a { color: var(--ink); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nav a:hover { color: var(--terracotta-d); }
.nav span { color: var(--ink); opacity: .7; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  background: var(--terracotta); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: var(--shadow); white-space: nowrap; flex: none; position: relative;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--terracotta-d); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: none; border: 1px solid var(--line); text-transform: none; font-size: 15px; }
.btn.ghost:hover { border-color: var(--terracotta); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 34px 24px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 72%, #FFF8EE 0%, rgba(255, 248, 238, 0) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 26px, rgba(255, 255, 255, .16) 26px 50px) left / 30% 100% no-repeat,
    linear-gradient(180deg, #E9DDCD 0%, #F0E4D3 55%, #E6D3BA 100%);
}
.hero-light {
  position: absolute; inset: -20% auto auto -10%; width: 55%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 252, 244, .9), transparent);
  pointer-events: none;
}
.hero h1 {
  position: relative; margin: 0 auto 10px; max-width: 900px;
  font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; font-weight: 700; color: var(--rust);
}
.h1-wave { display: inline-block; width: 40px; margin-right: 10px; color: var(--terracotta); vertical-align: -2px; }
.h1-wave svg { stroke-width: 2.4; }
.lede { position: relative; margin: 0 auto; max-width: 580px; font-size: clamp(16px, 2vw, 18.5px); line-height: 1.3; }

.stage { position: relative; width: min(330px, 74vw); margin: 0 auto; padding-bottom: 18px; }
.stage::before {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 46px; height: 26px;
  background: radial-gradient(closest-side, rgba(122, 82, 50, .28), transparent); filter: blur(4px);
}
.spot {
  position: absolute; left: 50%; top: 52%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, #fff 52%, rgba(255, 255, 255, .7) 66%, rgba(255, 255, 255, 0) 100%);
}
.cube {
  position: relative; width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}
.pill {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 252, 247, .94); border: 1.5px solid #E6B8A6;
  color: var(--rust); text-decoration: none; font-weight: 500; font-size: 14px; text-transform: uppercase;
  box-shadow: var(--shadow); transition: transform .15s;
}
.pill:hover { transform: translateX(-50%) translateY(-1px); }
.pill svg, .review-more svg { width: 16px; height: 16px; }

/* ---------- features ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 56px 8px; }
.feat { text-align: center; padding: 6px 18px 10px; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat-icon { display: inline-block; width: 40px; height: 40px; color: var(--terracotta); }
.feat-icon svg { stroke-width: 1.8; }
.feat h2 { margin: 6px 0 4px; font-size: 16.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.35; }

/* ---------- reviews + LED panel ---------- */
.voices { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: center; padding: 18px 56px 34px; }
.script {
  font-family: Caveat, "Comic Sans MS", cursive; font-weight: 600; font-size: 30px; line-height: 1;
  text-transform: uppercase; color: var(--terracotta); margin: 0 0 12px; letter-spacing: .01em;
  transform: skew(-6deg);
}
.cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.review {
  margin: 0; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 13.5px; display: flex; flex-direction: column; gap: 6px;
}
.review figcaption { display: flex; align-items: center; gap: 8px; }
.review figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #F0A48C, var(--terracotta));
}
.stars { color: #F2A33A; letter-spacing: 1px; font-size: 13px; }
.review blockquote { margin: 0; }
.review small { color: var(--muted); font-size: 12px; }
.review-more {
  align-items: center; justify-content: center; text-align: center;
  color: var(--rust); text-decoration: none; font-weight: 500; flex-direction: row;
}
.review-more:hover { color: var(--terracotta-d); }

.glow {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: #111; border: 6px solid #161616; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.glow-bars { position: absolute; inset: 0; display: flex; filter: blur(14px) saturate(1.2); transform: scale(1.15); }
.glow-bars i { flex: 1; animation: glow 14s linear infinite; }
.glow-bars i:nth-child(1) { background: #ff5a5a; animation-delay: 0s; }
.glow-bars i:nth-child(2) { background: #ff9a3c; animation-delay: -2s; }
.glow-bars i:nth-child(3) { background: #ffe14d; animation-delay: -4s; }
.glow-bars i:nth-child(4) { background: #46d38a; animation-delay: -6s; }
.glow-bars i:nth-child(5) { background: #3fb6ff; animation-delay: -8s; }
.glow-bars i:nth-child(6) { background: #6b6bff; animation-delay: -10s; }
.glow-bars i:nth-child(7) { background: #d35cff; animation-delay: -12s; }
@keyframes glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .45)); }
.glow-tag {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
}
@media (prefers-reduced-motion: reduce) { .glow-bars i { animation: none; opacity: .8; } html { scroll-behavior: auto; } }

/* ---------- lower sections ---------- */
.band { padding: 44px 56px; border-top: 1px solid var(--line); }
.band:nth-of-type(even) { background: #FDF9F1; }
.sec { margin: 0 0 8px; text-align: center; font-size: clamp(24px, 3vw, 30px); font-weight: 700; color: var(--rust); }
.sec-lede { margin: 0 auto 12px; max-width: 600px; text-align: center; color: var(--muted); }
.chip {
  display: table; margin: 0 auto 26px; padding: 5px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.sub { margin: 30px 0 14px; text-align: center; font-size: 18px; font-weight: 500; color: var(--rust); }
.sub.left { text-align: left; margin-top: 0; }

.freqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.freq { display: flex; flex-direction: column; align-items: center; padding: 22px 12px; border-radius: var(--radius); text-align: center; }
.freq-peach { background: linear-gradient(160deg, #FFE6DA, #FFF4EC); }
.freq-mint  { background: linear-gradient(160deg, #E2F6E6, #F4FBF2); }
.freq-lilac { background: linear-gradient(160deg, #ECE4FA, #F7F3FD); }
.freq-icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--terracotta); }
.freq-mint .freq-icon { color: #3E9B62; }
.freq-lilac .freq-icon { color: #7B5CC4; }
.freq strong { font-size: 30px; line-height: 1.1; margin-top: 8px; }
.freq-name { font-size: 19px; font-weight: 500; }
.freq-sub { font-size: 14px; color: var(--muted); }

.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.uses figure { margin: 0; text-align: center; }
.uses img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.uses figcaption { margin-top: 6px; font-weight: 500; color: var(--rust); }

.zig { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.zig + .zig { margin-top: 20px; }
.zig.rev .zig-img { order: 2; }
.zig-img { display: flex; justify-content: center; }
.zig-img img { max-width: 380px; width: 100%; }
.zig.rev .zig-img img { max-width: 260px; }
.zig-txt .sec { text-align: left; }
.fade {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mix-blend-mode: multiply;
}
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 4px 0 4px 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px;
  border: solid var(--terracotta); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

.support { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 10px rgba(122, 52, 32, .06); }
.boxshot { border-radius: 12px; margin-bottom: 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 7px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 32%; font-weight: 500; color: var(--rust); padding-right: 10px; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot.pink { background: #F6C3B0; }
.dot.blue { background: #8FCBEA; }
.help { margin: 0; font-size: 14.5px; color: var(--muted); }

.faq { max-width: 720px; margin: 18px auto 0; }
.faq details { background: #fff; border-radius: 12px; margin-bottom: 10px; padding: 0 18px; box-shadow: 0 2px 10px rgba(122, 52, 32, .06); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--terracotta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

.nf { text-align: center; padding: 80px 24px; }
.nf h1 { color: var(--rust); }

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px 32px; background: var(--cream-2); font-size: 12.5px; text-transform: uppercase;
}
.foot p { margin: 0; }
.foot a { color: var(--ink); }
.foot .legal { text-transform: none; max-width: 300px; font-size: 11.5px; line-height: 1.3; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top { flex-wrap: wrap; padding: 14px 20px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .btn { margin-left: auto; }
  .deco-bl { display: none; }
  .feats, .voices { padding-left: 24px; padding-right: 24px; }
  .band { padding: 36px 24px; }
}
@media (max-width: 760px) {
  .sheet { margin: 0; border-radius: 0; }
  .feats { grid-template-columns: 1fr; gap: 6px; }
  .feat + .feat { border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .voices { grid-template-columns: 1fr; }
  .freqs { grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .zig { grid-template-columns: 1fr; gap: 12px; }
  .zig.rev .zig-img { order: 0; }
  .support { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .logo-word { font-size: 18px; }
  .logo-mark { width: 38px; height: 38px; }
  .top .btn { padding: 9px 14px; font-size: 12.5px; }
  .h1-wave { display: none; }
  .cards { grid-template-columns: 1fr; }
}
