:root {
  --font-sans: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, "Hiragino Sans GB", "Heiti SC", Arial, "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --bg: #fbfaf8;
  --alt: #f3f1ed;
  --surface: #ffffff;
  --ink: #191919;
  --muted: #6d6d72;
  --line: rgba(20, 20, 22, 0.09);
  --accent: #e5484d;
  --accent-ink: #ffffff;
  --shadow-lg: 0 30px 50px -24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 28px -14px rgba(0, 0, 0, 0.26);
  --radius: 16px;
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --alt: #16161a;
    --surface: #1c1c20;
    --ink: #f4f4f6;
    --muted: #a0a0a7;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #f2555a;
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75);
    --shadow-md: 0 16px 32px -14px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 7px 15px; font-size: 14px; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { opacity: 0.9; }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 8px; }
.head-nav { display: flex; gap: 26px; margin-right: auto; }
.head-nav a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color 0.15s ease; }
.head-nav a:hover { color: var(--ink); }
.head-cta { display: flex; gap: 10px; }
.head-cta .btn { white-space: nowrap; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.burger span { transition: transform 0.2s ease; }

.drawer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 24px 20px;
}
.drawer a {
  display: block;
  padding: 11px 2px;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer a:last-child { border-bottom: 0; }
.drawer .drawer-dl { color: var(--accent); font-weight: 600; }

.hero { padding: 88px 0 76px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7fr);
  align-items: center;
  gap: 44px;
}
.hero-icon { border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 6vw, 66px); line-height: 1.04; letter-spacing: -0.035em; }
.hero-line { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; margin-top: 10px; letter-spacing: -0.01em; }
.hero-lead { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { color: var(--muted); font-size: 13.5px; margin-top: 20px; font-variant-numeric: tabular-nums; }

.device-trio { position: relative; aspect-ratio: 1702 / 979; }
.device-trio img { position: absolute; }
.dev-mac { top: 0; left: -4%; width: 100%; filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.2)); }
.dev-ipad { right: 14%; bottom: 0; width: 54%; z-index: 1; filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.3)); }
.dev-phone { right: 2%; bottom: 0; width: 21%; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.34)); }

.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding-block: 20px; }
.strip-label { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; }
.strip ul { display: flex; flex-wrap: wrap; gap: 12px 38px; }
.strip li { font-size: 16.5px; font-weight: 600; }

.kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.showcase { padding: 112px 0; }
.show-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 60px;
}
.show-grid-platforms { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 40px; }
.show-grid-platforms .show-copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.show-grid-lyrics { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; }
.show-grid-lyrics .show-copy { order: 2; }
.show-copy h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.14; letter-spacing: -0.025em; }
.show-copy > p:not(.kicker):not(.fine) { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 30em; }
.show-copy .fine { color: var(--muted); font-size: 13px; margin-top: 20px; }
.nw { white-space: nowrap; }

.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 14.5px;
  font-weight: 600;
}
.pills i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

.show-phones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.show-phones img { width: 100%; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.26)); }

.live-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.live { position: relative; aspect-ratio: 752 / 1492; }
.live-clip {
  position: absolute;
  left: 5.984%;
  top: 1.944%;
  width: 87.899%;
  height: 96.113%;
  object-fit: cover;
  border-radius: 14.675% / 6.764%;
  background: #000;
}
.live-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.26));
}

.section { padding: 100px 0; }
.section-alt { background: var(--alt); border-block: 1px solid var(--line); }
.sec-head { max-width: 620px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 38px); line-height: 1.22; }
.sec-head > p:last-child { color: var(--muted); font-size: 16.5px; margin-top: 12px; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.feat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 16%, transparent); }
.feat-ico {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}
.feat-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 17.5px; letter-spacing: -0.01em; }
.feat p { color: var(--muted); font-size: 14.8px; margin-top: 7px; }

.shot-tabs {
  display: flex;
  gap: 2px;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 7px 20px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tab-hint { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 36px; font-variant-numeric: tabular-nums; }

.pane { display: grid; gap: 26px 18px; }
.grid-phone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pane figure { margin: 0; }
.pane img { width: 100%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16)); }
.pane figcaption { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 10px; }
.pane .wide { grid-column: 1 / -1; }
.pane .wide img { max-width: 720px; margin: 0 auto; }

.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.install-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.install-card h3 { font-size: 21px; }
.install-meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.install-card ol { margin: 18px 0 24px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.install-card li + li { margin-top: 8px; }
.install-card code {
  font: inherit;
  font-size: 0.94em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--alt);
  color: var(--ink);
}
.install-card .btn { margin-top: auto; align-self: flex-start; }

.voice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.voice {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.voice-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}
.voice-who { display: flex; flex-direction: column; gap: 1px; }
.voice-name { font-size: 14.5px; font-weight: 600; }
.voice time {
  color: var(--muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.voice-text { color: var(--muted); font-size: 15px; margin-top: 14px; }

.site-foot { padding: 32px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.foot-brand img { border-radius: 6px; }
.foot-in p { margin-right: auto; }
.foot-links { display: flex; gap: 20px; margin-right: 64px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 980px) {
  .head-nav { display: none; }
  .head-cta { margin-left: auto; }
  .burger { display: flex; }
  .hero { padding: 56px 0 52px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; text-align: center; }
  .hero-icon { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .showcase { padding: 80px 0; }
  .show-grid, .show-grid-platforms, .show-grid-lyrics { grid-template-columns: minmax(0, 1fr); gap: 44px; text-align: center; }
  .show-grid-lyrics .show-copy { order: 0; }
  .show-copy > p:not(.kicker):not(.fine) { margin-inline: auto; }
  .pills { justify-content: center; }
  .show-phones { max-width: 660px; margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
}

@media (max-width: 660px) {
  .wrap { padding: 0 16px; }
  .head-in { gap: 12px; }
  .head-cta .btn-line { display: none; }
  .hero-icon { width: 76px; height: 76px; }
  .device-trio { margin-inline: 0; }
  .dev-mac { left: 0; }
  .dev-phone { right: 0; }
  .strip-in { gap: 12px; justify-content: center; text-align: center; }
  .strip-label { width: 100%; }
  .strip ul { justify-content: center; gap: 8px 22px; }
  .strip li { font-size: 15px; }
  .show-phones {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .show-phones::-webkit-scrollbar { display: none; }
  .show-phones img { flex: 0 0 106px; width: 106px; scroll-snap-align: center; }
  .live-trio { gap: 8px; }
  .feat-grid, .install-grid, .grid-wide { grid-template-columns: minmax(0, 1fr); }
  .voice-list { grid-template-columns: minmax(0, 1fr); }
  .feat, .install-card, .voice { padding: 22px; }
  .pane { gap: 22px 14px; }
  .sec-head { margin-bottom: 40px; }
  .foot-in { gap: 14px; }
  .foot-in p { margin-right: 0; width: 100%; order: 3; }
  .foot-links { width: 100%; order: 4; margin-right: 0; }
}

.err-wrap {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 96px 0;
  text-align: center;
}
.err-code {
  font-size: clamp(72px, 14vw, 132px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--ink) 14%, transparent);
}
.err-wrap h1 { font-size: clamp(22px, 3vw, 30px); margin-top: 12px; }
.err-wrap p { color: var(--muted); margin-top: 12px; }
.err-wrap .btn { margin-top: 28px; }
