:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #1767d2;
  --blue-hover: #0f57b8;
  --blue-soft: #e8f0fc;
  --mis: #f5c73d;
  --mis-soft: #fff1c2;
  --mis-line: #d1a600;
  --miss: #d93a3a;
  --miss-soft: #fde4e4;
  --extra: #1f9a55;
  --extra-soft: #e1f5e9;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { margin: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 56px; padding: 0 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: #424245; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 500 13px var(--font); color: #424245; background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.lang:hover { background: rgba(0, 0, 0, 0.04); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 16px var(--font); border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(23, 103, 210, 0.28); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--blue); border-color: rgba(23, 103, 210, 0.3); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-small { height: 34px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn-block { width: 100%; }
.is-disabled { background: #c7d6ec; color: #fff; box-shadow: none; cursor: default; }
.is-disabled:hover { background: #c7d6ec; transform: none; }
.apple {
  width: 15px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hero */
.hero { max-width: 900px; margin: 0 auto; padding: 88px 20px 48px; text-align: center; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 15px; margin: 0 0 18px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; }
.lead { max-width: 680px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.45; }
.cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.fine { color: var(--faint); font-size: 13px; margin: 18px 0 0; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 110px 20px 0; }
.section-narrow { max-width: 820px; }
.section > h2, .final h2 {
  text-align: center; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700;
}
.sub { max-width: 640px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 19px; line-height: 1.5; }
.sub.left { text-align: left; margin: 18px 0 0; }
.kicker { color: var(--blue); font-weight: 600; font-size: 15px; margin: 0 0 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: 14px;
}
.step h3 { font-size: 21px; margin: 18px 0 8px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.panel { background: var(--surface); border-radius: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.split h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.split-art { min-width: 0; }

.kinds { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.kinds li { display: flex; gap: 14px; align-items: flex-start; }
.kinds b { display: block; font-size: 17px; }
.kinds span:not(.swatch) { color: var(--muted); font-size: 15px; }
.swatch { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.s-mis { background: var(--mis); }
.s-miss { background: var(--miss); }
.s-extra { background: var(--extra); }
.s-own { background: var(--blue); }

.sample {
  background: #fbfbfd; border: 1px solid var(--line); border-radius: 18px; padding: 44px 30px 30px;
  font-size: 20px; line-height: 2.5;
}
.sample p { margin: 0; }
/* Examples follow the page language. */
html:not([lang="zh-Hans"]) [data-sample="zh"],
html[lang="zh-Hans"] [data-sample="en"] { display: none !important; }

/* Inline marks, shared by the sample and the demo */
.m { position: relative; border-radius: 4px; transition: background 0.4s, color 0.4s, box-shadow 0.4s, opacity 0.4s; }
.m .heard {
  position: absolute; left: 50%; bottom: calc(100% + 1px); transform: translate(-50%, 4px);
  white-space: nowrap; font-size: 11px; line-height: 1; font-weight: 600; padding: 4px 7px; border-radius: 6px;
  background: var(--mis-soft); color: #5c4700; opacity: 0; transition: opacity 0.4s, transform 0.4s; pointer-events: none;
}
.m.mis.on { background: var(--mis-soft); text-decoration: underline wavy var(--mis-line); text-underline-offset: 4px; }
.m.mis.on .heard { opacity: 1; transform: translate(-50%, 0); }
.m.miss.on { background: var(--miss-soft); color: var(--miss); text-decoration: line-through; }
.m.extra { display: none; }
.m.extra.on {
  display: inline; color: var(--extra); font-style: italic; padding: 1px 6px; margin: 0 2px;
  background: var(--extra-soft); outline: 1.5px dashed var(--extra); outline-offset: -1px;
}

.fix { max-width: 760px; margin: 50px auto 0; background: #1d1d1f; color: #f5f5f7; border-radius: var(--radius); padding: 30px 34px; overflow-x: auto; }
.fix pre, .sheet pre { margin: 0; font: 14px/1.65 var(--mono); white-space: pre; }

.versions { background: #fbfbfd; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); }
.vrow { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; font-size: 15px; }
.vrow > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow.sel { background: var(--blue-soft); }
.vrow.muted { color: var(--blue); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.vtag { font-weight: 700; width: 26px; }
.vdur { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 14px; }
.vn { min-width: 24px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.v-bad { background: var(--mis-soft); color: #7a5d00; }
.v-ok { background: var(--extra-soft); color: var(--extra); }
.tick { color: var(--blue); font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.cell { background: var(--surface); border-radius: 18px; padding: 24px; }
.cell b { display: block; font-size: 17px; margin-bottom: 6px; }
.cell span { color: var(--muted); font-size: 15px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tcard { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.tcard h3 { font-size: 21px; margin-bottom: 10px; }
.tcard p { margin: 0; color: var(--muted); font-size: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 20px; margin-top: 56px; }
.plan { background: var(--surface); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; }
.plan-pro { box-shadow: 0 0 0 2px var(--blue), 0 24px 60px rgba(23, 103, 210, 0.12); }
.plan h3 { font-size: 19px; }
.price { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 14px; }
.price .cur { font-size: 28px; vertical-align: top; margin-right: 2px; line-height: 1.6; }
.price.soon { font-size: 32px; line-height: 1.75; color: var(--blue); }
.plan-note { color: var(--faint); font-size: 14px; margin: 6px 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* FAQ */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

.final { text-align: center; padding-bottom: 120px; }
.final-icon { margin: 0 auto 26px; filter: drop-shadow(0 14px 28px rgba(23, 103, 210, 0.22)); }

.footer { border-top: 1px solid var(--line); }
.mail { color: var(--blue); }
.mail:hover { text-decoration: underline; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 26px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* Scroll reveal, only when scripting is available */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Demo ===== */
.demo-section { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.demo {
  position: relative; border-radius: 30px; padding: 56px 56px 30px;
  background: linear-gradient(160deg, #cfe0fb 0%, #e6eefc 45%, #f6efe3 100%);
  box-shadow: 0 30px 80px rgba(23, 60, 120, 0.14);
}
.win {
  position: relative; background: #fff; border-radius: 14px; overflow: hidden; font-size: 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 30px 60px rgba(20, 40, 80, 0.22);
}
.win-bar { height: 44px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f6f6f8; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-title { flex: 1; text-align: center; font-weight: 600; font-size: 13px; color: #3a3a3c; }
.win-title .ver { transition: color 0.3s; }
.chev { color: var(--faint); font-size: 10px; }
.win-export { background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 7px; }

.wave { display: flex; align-items: center; gap: 12px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.play { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); position: relative; }
.play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.demo[data-step="4"] .play::after { left: 10px; top: 9px; width: 3px; height: 12px; border: 0; background: #fff; box-shadow: 6px 0 #fff; }
.wave-time { font: 12px var(--mono); color: var(--muted); width: 54px; }
.wave-track { position: relative; flex: 1; height: 58px; }
.wave-bars { position: absolute; inset: 6px 0; display: flex; align-items: center; gap: 2px; }
.wave-bars i { flex: 1; background: #b9c6db; border-radius: 2px; min-height: 2px; }
.mark-range, .pin, .listen-box { position: absolute; opacity: 0; transition: opacity 0.4s; }
.mark-range { top: 4px; bottom: 4px; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 4px; }
.r1 { background: rgba(245, 199, 61, 0.35); }
.r2 { background: rgba(217, 58, 58, 0.18); }
.r3 { background: rgba(31, 154, 85, 0.22); }
.pin {
  top: -6px; left: var(--a); transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; color: #fff;
}
.pin::after { content: ""; position: absolute; top: 18px; left: 8px; width: 2px; height: 46px; background: inherit; opacity: 0.8; }
.p1 { background: #d1a600; }
.p2 { background: var(--miss); }
.p3 { background: var(--extra); }
.listen-box { top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); border: 1.5px dashed #a1a1a6; border-radius: 6px; }
.playhead { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--blue); left: 19%; opacity: 0; }
.demo[data-step="4"] .playhead { opacity: 1; animation: play 3.2s linear forwards; }
@keyframes play { from { left: 19%; } to { left: 38%; } }

.win-body { display: grid; grid-template-columns: 1fr 300px; min-height: 330px; }
.script { position: relative; padding: 18px 30px 22px; border-right: 1px solid var(--line); font-size: 17px; line-height: 2.35; color: #1d1d1f; }
.script p { margin: 0 0 6px; }
.script-head { font-size: 12px; color: var(--faint); line-height: 1.4; margin-bottom: 6px; }
.script-head .dot { margin: 0 6px; }
.checking { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.72); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.checking-card { background: #fff; border-radius: 12px; padding: 16px 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); font-size: 14px; font-weight: 600; line-height: 1.4; min-width: 220px; }
.checking .bar { height: 6px; border-radius: 3px; background: #e5e5ea; margin-top: 12px; overflow: hidden; }
.checking .bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; }
.demo[data-step="1"] .checking { opacity: 1; }
.demo[data-step="1"] .checking .bar i { animation: fill 3s ease-in-out forwards; }
@keyframes fill { to { width: 100%; } }

.issues { background: #fafafb; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.issues-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 6px; }
.count { background: #e9e9ee; border-radius: 10px; font-size: 12px; padding: 1px 8px; color: var(--muted); }
.add { margin-left: auto; color: var(--blue); font-weight: 600; font-size: 13px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; transition: box-shadow 0.3s, border-color 0.3s, opacity 0.4s, transform 0.4s, max-height 0.4s, padding 0.4s, margin 0.4s; max-height: 220px; overflow: hidden; }
.card-top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.num { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; }
.c1 .num { background: #d1a600; }
.c2 .num { background: var(--miss); }
.c3 .num { background: var(--extra); }
.t { margin-left: auto; font: 12px var(--mono); color: var(--faint); }
.ok { color: var(--blue); opacity: 0; transition: opacity 0.3s; }
.card-more { display: none; padding-top: 10px; font-size: 13px; }
.ev { display: flex; gap: 10px; padding: 3px 0; }
.ev span { width: 50px; color: var(--faint); }
.btns { display: flex; gap: 6px; margin-top: 10px; }
.b { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 7px; padding: 5px 0; font-size: 12px; font-weight: 600; transition: background 0.3s, color 0.3s; }
.b.listen { color: var(--blue); }
.empty { display: none; color: var(--muted); font-size: 13px; text-align: center; padding: 40px 10px; }
.status { border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); padding: 8px 16px; background: #f6f6f8; }

.sheet { position: absolute; inset: 0; background: rgba(30, 30, 40, 0.25); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.sheet-card { background: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); transform: translateY(16px); transition: transform 0.5s cubic-bezier(.2, .7, .2, 1); max-width: 92%; overflow: hidden; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 12px; }
.copied { background: var(--extra-soft); color: var(--extra); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 10px; opacity: 0; transition: opacity 0.3s 1.2s; }
.sheet pre { font-size: 12.5px; color: #333; }
.demo[data-step="6"] .sheet { opacity: 1; }
.demo[data-step="6"] .sheet-card { transform: none; }
.demo[data-step="6"] .copied { opacity: 1; }

/* Steps 2+: marks visible */
.demo:not([data-step="1"]) .mark-range,
.demo:not([data-step="1"]) .pin { opacity: 1; }
.demo:not([data-step="1"]) .script .m.mis { background: var(--mis-soft); text-decoration: underline wavy var(--mis-line); text-underline-offset: 4px; }
.demo:not([data-step="1"]) .script .m.mis .heard { opacity: 1; transform: translate(-50%, 0); }
.demo:not([data-step="1"]) .script .m.miss { background: var(--miss-soft); color: var(--miss); text-decoration: line-through; }
.demo:not([data-step="1"]) .script .m.extra {
  display: inline; color: var(--extra); font-style: italic; padding: 1px 6px; margin: 0 2px;
  background: var(--extra-soft); outline: 1.5px dashed var(--extra); outline-offset: -1px;
}
.demo[data-step="1"] .card { opacity: 0.35; }

/* Steps 3–5: issue 1 selected */
.demo[data-step="3"] .c1, .demo[data-step="4"] .c1, .demo[data-step="5"] .c1 { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 103, 210, 0.15); }
.demo[data-step="3"] .c1 .card-more, .demo[data-step="4"] .c1 .card-more, .demo[data-step="5"] .c1 .card-more { display: block; }
.demo[data-step="3"] .script .i1, .demo[data-step="4"] .script .i1, .demo[data-step="5"] .script .i1 { box-shadow: 0 0 0 2px var(--blue); }
.demo[data-step="3"] .listen-box, .demo[data-step="4"] .listen-box { opacity: 1; }
.demo[data-step="4"] .b.listen { background: var(--blue); color: #fff; }

/* Step 5+: issue 1 confirmed, issue 3 dismissed */
.demo[data-step="5"] .b.confirm { background: var(--blue); color: #fff; }
.demo[data-step="5"] .c1 .ok, .demo[data-step="6"] .c1 .ok { opacity: 1; }
.demo[data-step="5"] .c3, .demo[data-step="6"] .c3 { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; border-width: 0; transform: translateX(20px); }
.demo[data-step="5"] .script .m.i3, .demo[data-step="6"] .script .m.i3 { display: none; }
.demo[data-step="5"] .r3, .demo[data-step="5"] .p3, .demo[data-step="6"] .r3, .demo[data-step="6"] .p3 { opacity: 0; }

/* Step 7: V2 checked, no differences */
.demo[data-step="7"] .win-title .ver { color: var(--blue); }
.demo[data-step="7"] .card { display: none; }
.demo[data-step="7"] .empty { display: block; }
.demo[data-step="7"] .mark-range, .demo[data-step="7"] .pin { opacity: 0; }
.demo[data-step="7"] .script .m { background: none !important; color: inherit !important; text-decoration: none !important; box-shadow: none !important; }
.demo[data-step="7"] .script .m .heard { opacity: 0 !important; }
.demo[data-step="7"] .script .m.extra { display: none !important; }

.caption {
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%;
  margin: 26px auto 0; background: rgba(255, 255, 255, 0.92); border-radius: 999px;
  padding: 8px 18px 8px 8px; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.step-badge { flex: none; background: var(--blue); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(23, 103, 210, 0.25); cursor: pointer; transition: width 0.3s, background 0.3s; }
.dots button[aria-selected="true"] { width: 24px; background: var(--blue); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .steps, .trio { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .split-art { order: 2; }
  .plans { grid-template-columns: minmax(0, 440px); }
  .demo { padding: 20px 14px 22px; border-radius: 22px; }
  .win-body { grid-template-columns: 1fr; }
  .script { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; font-size: 15px; }
  .caption { border-radius: 16px; font-size: 14px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .section { padding-top: 80px; }
  .grid { grid-template-columns: 1fr; }
  .wave-time { display: none; }
  .wave-bars { gap: 1px; }
  .wave-bars i:nth-child(odd) { display: none; }
  .sheet pre { white-space: pre-wrap; }
  .win-export { display: none; }
  .sample { font-size: 17px; padding: 36px 18px 20px; }
  .fix { padding: 22px 18px; }
  .fix pre { font-size: 12px; }
  .sheet pre { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .demo *, .demo *::after { transition: none !important; animation-duration: 0s !important; }
}
