:root {
  color-scheme: dark;
  --bg: #090a1b;
  --surface: #13162f;
  --fg: #f5f2ff;
  --muted: #bcb9d3;
  --accent: #c5adff;
  --edge: #aca2de32;
  --wrap: 1180px;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; color: var(--fg); background: var(--bg); font-size: 16px; line-height: 1.65; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button,summary { cursor: pointer; }
:focus-visible { outline: 2px solid #dccaff; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 12; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 12px; background: var(--surface); }
.skip:focus { transform: none; }
.top { position: relative; z-index: 2; border-bottom: 1px solid #cec0ff1c; background: #090a1bf2; }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; letter-spacing: -.055em; font-weight: 720; }
.brand img { border-radius: 10px; border: 1px solid var(--edge); }
.nav nav { display: flex; gap: clamp(20px,4vw,52px); color: var(--muted); font-size: 14px; }
.nav nav a:hover,.footer-link:hover { color: var(--fg); }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 11px; font-weight: 670; line-height: 1.35; transition: background .2s,border-color .2s,box-shadow .2s; }
.nav-download { min-height: 40px; padding: 8px 17px; font-size: 14px; }
.button-primary { color: #170b32; background: linear-gradient(110deg,#e4d0ff,#b4a6ff); box-shadow: 0 5px 32px #a883fd28; }
.button-primary:hover { box-shadow: 0 6px 34px #a883fd58; background: #e9daff; }
.button-outline { border-color: #bdade64b; background: #181a34ae; }
.button-outline:hover { background: #302a51; border-color: #c9afff8a; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--edge); background: #090a1b; }
.hero-art { position: absolute; z-index: -1; inset: 0; background:
  linear-gradient(90deg,#090a1b 0%,#090a1b 4%,#090a1bf0 20%,#090a1b28 49%,transparent 66%),
  linear-gradient(0deg,#090a1b 1%,#090a1b00 29%),
  url("assets/night-hero.webp") center 56% / cover no-repeat; }
.hero-layout { display: grid; align-content: center; min-height: 690px; position: relative; padding: 70px 0 126px; }
.hero-copy { max-width: 570px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 14px; font-weight: 660; letter-spacing: .17em; }
.spark { font-size: 19px; text-shadow: 0 0 15px var(--accent); }
.hero h1 { font-size: clamp(3.35rem,6.3vw,6.25rem); letter-spacing: -.075em; font-weight: 790; line-height: 1.13; margin: 20px 0 24px; }
.hero h1 span { background: linear-gradient(120deg,#e0d2ff 5%,#a998ff 68%,#7d8ffd); color: #c5adff; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-deck { color: #d4d0e8; max-width: 410px; line-height: 1.9; font-size: clamp(1rem,1.35vw,1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.hero-footer { width: 100%; align-items: center; display: flex; gap: 15px; position: absolute; bottom: 24px; color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.hero-signal { flex: 1; height: 1px; position: relative; background: linear-gradient(90deg,#c7acec1c 0,#c7acec73 46%,#baa1ff36 100%); }
.hero-signal::after { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #dfc8ff; box-shadow: 0 0 13px #caaaef; }
.section { padding-block: clamp(64px,8.5vw,120px); }
.section h2,.download h2 { margin: 13px 0 18px; font-size: clamp(2rem,3.5vw,3.5rem); line-height: 1.23; letter-spacing: -.065em; font-weight: 760; }
.section-copy>p:not(.eyebrow) { color: var(--muted); max-width: 405px; }
.report-layout,.recording,.faq { display: grid; grid-template-columns: 4fr 6fr; align-items: center; gap: clamp(22px,5.5vw,86px); }
.report-card { min-width: 0; padding: clamp(18px,2.6vw,32px); border: 1px solid var(--edge); border-radius: 23px; background: radial-gradient(ellipse at 100% 0,#302252 0,transparent 63%),linear-gradient(145deg,#181c38,#15162f 63%,#13152b); box-shadow: 0 34px 90px #0005; }
.report-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.report-kicker,.report-metrics small { color: var(--muted); font-size: 14px; }
.report-header h3 { margin-top: 3px; font-size: clamp(24px,3vw,34px); font-variant-numeric: tabular-nums; line-height: 1.25; letter-spacing: -.03em; }
.report-header h3 span { color: var(--accent); }
.demo-tag { white-space: nowrap; color: #e0ccff; border-radius: 8px; padding: 4px 9px; border: 1px solid #b9a0f450; background: #9674d41b; font-size: 13px; }
.report-metrics { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; margin: 23px 0 18px; padding: 16px 0; border-block: 1px solid var(--edge); }
.report-metrics strong { display: block; font-size: clamp(17px,2vw,25px); margin-top: 4px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.report-metrics .score { color: #d7c1ff; }
.report-metrics strong span { font-size: 13px; color: var(--muted); font-weight: 500; }
.demo-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 13px; }
.demo-modes button { border: 1px solid var(--edge); border-radius: 9px; padding: 8px 12px; background: #181933; color: var(--muted); font-size: 14px; }
.demo-modes button[aria-pressed=true] { background: #372952; border-color: #c7aeff7a; color: #efdcff; }
.section-copy>.small-note { font-size: 13px; }
.demo-view { min-height: 139px; }
.bars { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: clamp(3px,1vw,13px); min-height: 136px; }
.bar-item { display: grid; grid-template-rows: 108px 25px; gap: 3px; min-width: 0; text-align: center; }
.bar-item time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.bar-item button { display: flex; align-items: flex-end; justify-content: center; min-width: 0; padding: 0 2px; background: none; border: 0; border-bottom: 1px solid var(--edge); }
.bar-item button span { display: block; width: min(23px,100%); min-height: 2px; height: calc(var(--height) * 1%); border-radius: 5px 5px 1px 1px; background: linear-gradient(#bd98ff,#5f55bc); }
.bar-item button[aria-pressed=true] span,.bar-item button:hover span { background: linear-gradient(#f2d5ff,#b092fb); box-shadow: 0 0 16px #d1adff60; }
.sound-list { display: grid; gap: 8px; }
.sound-list button { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; text-align: left; gap: 8px; width: 100%; min-height: 43px; border: 1px solid var(--edge); border-radius: 8px; padding: 5px 10px; background: #a388e113; font-size: 14px; }
.sound-list button[aria-pressed=true] { border-color: #c7aeff7a; background: #a388e128; }
.sound-list small { color: var(--muted); font-size: 13px; }
.demo-selection { border-top: 1px solid var(--edge); margin-top: 12px; padding-top: 11px; color: var(--muted); font-size: 14px; min-height: 36px; }
.recording { border-top: 1px solid var(--edge); }
.mode-list { display: grid; gap: 9px; }
.mode-list article { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 15px; padding: 18px; border: 1px solid var(--edge); border-radius: 14px; background: linear-gradient(110deg,#161a34,#101327); }
.mode-icon { display: grid; place-items: center; width: 44px; height: 44px; font-size: 22px; border-radius: 11px; background: #8973df26; color: var(--accent); }
.mode-list h3 { font-size: 18px; margin-bottom: 4px; }
.mode-list p,.download p { color: var(--muted); }
.download { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(23px,5vw,68px); border: 1px solid #b89de94d; border-radius: 23px; background: radial-gradient(ellipse at 90% 10%,#3d2868 0,#1c193c 45%,#12152e 80%); }
.download img { border-radius: 15px; border: 1px solid var(--edge); }
.download h2 { margin-bottom: 9px; }
.download-actions { flex-shrink: 0; text-align: center; }
.download-actions .hero-meta { justify-content: center; }
.faq { align-items: start; }
.faq-list { border-top: 1px solid var(--edge); }
details { border-bottom: 1px solid var(--edge); padding-block: 14px; }
summary { display: flex; list-style: none; justify-content: space-between; gap: 12px; font-weight: 630; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 19px; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 9px 22px 3px 0; }
.footer { border-top: 1px solid var(--edge); color: var(--muted); }
.footer-row { min-height: 90px; display: flex; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; }
.footer .brand { color: var(--fg); font-size: 21px; }
@media(max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .hero-layout { min-height: 610px; }
  .hero-art { background-position: center,center,55% center; }
}
@media(max-width: 730px) {
  .nav { height: 62px; }
  .nav nav { display: none; }
  .wrap { width: calc(100% - 36px); }
  .hero-layout { min-height: auto; padding-block: 40px 318px; }
  .hero h1 { font-size: clamp(3rem,9.9vw,4.7rem); margin: 11px 0 16px; }
  .hero-art { inset: auto 0 0; height: 390px; background:
    linear-gradient(180deg,#090a1b 0%,#090a1b00 37%,#090a1b00 78%,#090a1b 100%),
    url("assets/night-hero.webp") 78% center / auto 100% no-repeat; }
  .hero-actions { margin-top: 20px; gap: 8px; }
  .hero-actions .button { padding-inline: 12px; }
  .report-layout,.recording,.faq { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .section h2 { margin-block: 9px 11px; }
  .section-copy>p:not(.eyebrow) { max-width: none; }
  .download { display: grid; justify-content: stretch; }
  .download-actions { text-align: left; }
  .download-actions .hero-meta { justify-content: start; }
}
@media(max-width: 415px) {
  .bar-item:nth-child(even) time { visibility: hidden; }
  .bar-item:last-child time { visibility: visible; }
  .footer-row { flex-wrap: wrap; padding-block: 19px; gap: 10px 15px; min-height: auto; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
