:root {
  color-scheme: light;
  --canvas: #f8f7f3;
  --paper: #fffefa;
  --ink: #252525;
  --muted: #605e55;
  --line: #e1ddd2;
  --soft: #f1eee5;
  --stage: #eee8d9;
  --stage-glow: #f8ecc7;
  --ring: #a894642b;
  --accent: #e8aa24;
  --accent-strong: #f5b82e;
  --highlight: #f9e9ac;
  --focus: #8d5a10;
  --button: #262623;
  --button-text: #fffefa;
  --shadow: #46381823;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #201f1c;
  --paper: #2a2823;
  --ink: #f2f0e8;
  --muted: #cbc4b6;
  --line: #464139;
  --soft: #26241f;
  --stage: #322c21;
  --stage-glow: #483a21;
  --ring: #bba67930;
  --accent: #f2b63b;
  --accent-strong: #f5bd47;
  --highlight: #5c461c;
  --focus: #f1ba50;
  --button: #f0ebda;
  --button-text: #28251e;
  --shadow: #0006;
}
*, ::before, ::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem / 1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, select, input { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 3; top: .6rem; left: .6rem; translate: 0 -160%; padding: .55rem .9rem; border-radius: 7px; background: var(--paper); }
.skip:focus { translate: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.head-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; min-height: 74px; }
.brand, .nav, .header-tools, .foot-inner nav { display: flex; align-items: center; }
.brand { justify-self: start; gap: .48rem; text-decoration: none; }
.brand-icon { width: 36px; border-radius: 9px; }
.brand picture { display: block; width: 96px; }
.nav { gap: clamp(.9rem, 2.6vw, 2.1rem); }
.nav a, .foot-inner a { font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.nav a { display: grid; place-items: center; min-height: 44px; color: var(--muted); }
.nav a:hover, .nav a[aria-current], .foot-inner a:hover { color: var(--ink); text-decoration: underline; }
.header-tools { justify-self: end; gap: .5rem; }
.header-menu { position: relative; z-index: 2; }
.header-menu > summary { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: .35rem .73rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .875rem; line-height: 1.2; white-space: nowrap; list-style: none; }
.header-menu > summary::-webkit-details-marker { display: none; }
.header-menu > summary:hover, .header-menu[open] > summary { background: var(--soft); }
.locale-menu > summary { gap: .6rem; }
.locale-menu > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.locale-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.header-menu > .icon-control { width: 40px; padding: 0; }
.theme-icon { width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
html[data-theme="dark"] .theme-icon { rotate: 180deg; }
.menu-icon { width: 14px; height: 1px; border-radius: 1px; background: currentColor; box-shadow: 0 -4px currentColor, 0 4px currentColor; }
.menu-panel { position: absolute; top: calc(100% + .45rem); right: 0; display: grid; min-width: 8.5rem; margin: 0; padding: .3rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 10px 22px var(--shadow); }
.header-menu:not([open]) > .menu-panel { display: none; }
.menu-panel a, .menu-panel label { padding: .43rem .64rem; border-radius: 7px; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.menu-panel a:hover, .menu-panel a[aria-current], .menu-panel label:hover { background: var(--soft); }
.menu-panel a[aria-current] { font-weight: 680; }
.theme-options label { display: flex; align-items: center; gap: .42rem; cursor: pointer; }
.theme-options input { margin: 0; accent-color: var(--focus); }
.mobile-menu { display: none; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(2rem, 5.2vw, 5.05rem); align-items: center; padding-block: clamp(4rem, 7.8vw, 7.3rem); }
.eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--muted); font-size: .875rem; font-weight: 650; letter-spacing: .11em; }
.accent-dot { display: inline-block; flex: none; width: .49rem; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.hero h1 { margin: 1.12rem 0 1.65rem; font-size: clamp(3.02rem, 5.72vw, 5.35rem); line-height: 1.11; letter-spacing: -.080em; font-weight: 800; }
html[lang="en"] .hero h1 { font-size: clamp(2.58rem, 4.72vw, 4.5rem); letter-spacing: -.05em; }
.underlined { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.underlined::after { content: ""; position: absolute; z-index: -1; left: .015em; right: .52em; bottom: -.098em; height: .205em; border-top: .087em solid var(--accent); border-radius: 50% 60% 0 0; rotate: -1.8deg; }
.hero-lead { max-width: 20em; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.19rem); line-height: 1.78; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .62rem 1.13rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 660; white-space: nowrap; }
.button:hover { border-color: var(--focus); }
.button.primary { color: var(--button-text); background: var(--button); border-color: var(--button); }
.button.primary:hover { opacity: .87; }
.hero .button { margin-top: 1.58rem; min-width: 118px; }
.play-mark { display: inline-block; width: 12px; height: 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); background: currentColor; }
.hero .button .play-mark { width: 10px; height: 11px; color: var(--accent-strong); }
html[data-theme="dark"] .hero .button .play-mark { color: #79520c; }
.availability { display: flex; align-items: center; gap: .55rem; margin-top: .98rem; color: var(--muted); font-size: .875rem; }
.availability span { width: 3px; aspect-ratio: 1; border-radius: 50%; background: currentColor; }

.demo-stage { display: grid; align-content: center; gap: 1.15rem; position: relative; isolation: isolate; min-width: 0; min-height: 479px; padding: clamp(1.25rem, 4.1vw, 3.55rem); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(ellipse at 78% 12%, var(--stage-glow), transparent 74%), var(--stage); }
.demo-stage::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(var(--ring) 1px, transparent 1px), linear-gradient(90deg, var(--ring) 1px, transparent 1px); background-size: 28px 28px; opacity: .48; mask-image: linear-gradient(135deg, black, transparent 88%); }
.stage-rings { position: absolute; z-index: -1; top: -50%; right: -36%; width: 113%; aspect-ratio: 1; border: 1px solid var(--ring); border-radius: 50%; pointer-events: none; }
.stage-rings::before, .stage-rings::after { content: ""; position: absolute; inset: 9%; border: inherit; border-radius: inherit; }
.stage-rings::after { inset: 18%; }
.stage-caption, .stage-bottom { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .875rem; }
.stage-caption { font-weight: 660; }
.stage-bottom { min-height: 24px; justify-content: space-between; }
.reader-sheet { position: relative; min-width: 0; padding: clamp(1rem, 2.55vw, 2.15rem); background: var(--paper); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 19px 43px var(--shadow); }
.reader-sheet h2 { margin: 0 0 .94rem; font: 750 clamp(1.55rem, 3vw, 2.2rem) / 1.2 var(--serif); letter-spacing: -.035em; }
.sentence-list { display: grid; gap: .18rem; }
.sentence { justify-self: start; position: relative; padding: .42rem .62rem; margin-left: -.62rem; border: 0; border-radius: 6px; background: transparent; color: var(--ink); opacity: .83; font: 550 clamp(1rem, 1.45vw, 1.17rem) / 1.47 var(--serif); text-align: left; }
.sentence:not(:disabled):hover { background: var(--soft); }
.sentence:disabled { cursor: auto; }
.sentence[aria-current="true"], .sentence[aria-current="true"]:hover { opacity: 1; background: var(--highlight); }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: center; margin-top: 1.19rem; padding-top: .96rem; border-top: 1px solid var(--line); }
.player-toggle { display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 0; border-radius: 100%; background: var(--accent-strong); color: #262116; }
.player-toggle .play-mark { translate: 1px 0; }
.demo-stage.is-playing .player-toggle .play-mark { clip-path: polygon(0 0, 34% 0, 34% 100%, 0 100%, 0 0, 66% 0, 100% 0, 100% 100%, 66% 100%, 66% 0); translate: none; }
.player-toggle:hover { filter: brightness(1.07); }
.player-progress { min-width: 0; }
.player-progress input { display: block; width: 100%; height: 19px; margin: 0; accent-color: var(--focus); cursor: pointer; }
.player-time { display: flex; justify-content: space-between; color: var(--muted); font-size: .77rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rate-picker { position: relative; }
.rate-picker select { min-height: 36px; padding: .25rem 1.45rem .25rem .52rem; appearance: none; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); font-size: .84rem; }
.rate-picker > span:last-child { position: absolute; top: 42%; right: .58rem; width: 6px; height: 6px; rotate: 45deg; border: solid var(--muted); border-width: 0 1px 1px 0; pointer-events: none; }
.demo-error { margin-top: .65rem; font-size: .875rem; }
.reader-sheet audio { display: block; width: 100%; margin-top: .95rem; }
.wave { display: flex; align-items: center; height: 23px; gap: 3px; color: var(--focus); }
.wave i { width: 2px; height: 39%; border-radius: 10px; background: currentColor; }
.wave i:nth-child(3n) { height: 80%; }
.wave i:nth-child(4n) { height: 57%; }
.wave i:nth-child(5n) { height: 96%; }
.wave i:first-child, .wave i:last-child { height: 20%; }
.is-playing .wave i { animation: wave .66s ease-in-out infinite alternate; }
.is-playing .wave i:nth-child(3n) { animation-delay: -.36s; }
.is-playing .wave i:nth-child(2n) { animation-delay: -.22s; }
@keyframes wave { from { scale: 1 .48; } to { scale: 1 1; } }

.feature-section { padding-block: clamp(3.6rem, 7.5vw, 6.25rem); background: var(--soft); border-block: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 1rem 2.2rem; margin-bottom: 2.05rem; }
.section-heading h2, .document h1 { font-size: clamp(2rem, 4.55vw, 3.7rem); line-height: 1.16; font-weight: 780; letter-spacing: -.073em; }
html[lang="en"] .section-heading h2, html[lang="en"] .document h1 { letter-spacing: -.045em; }
.section-heading p, .feature p, .home-support p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2.2vw, 1.45rem); }
.feature { min-width: 0; padding: clamp(1.15rem, 2.7vw, 2rem); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.feature h3 { margin: 1.05rem 0 .55rem; line-height: 1.36; font-size: clamp(1.13rem, 1.72vw, 1.45rem); letter-spacing: -.035em; }
.feature-mark { position: relative; display: grid; place-content: center; width: 54px; height: 46px; border-radius: 9px; color: var(--focus); background: var(--highlight); }
.lines-mark { gap: 4px; }
.lines-mark i { display: block; width: 19px; height: 2px; border-radius: 3px; background: currentColor; }
.lines-mark i:last-child { width: 13px; }
.voice-mark { display: flex; align-items: center; justify-content: center; gap: 3px; }
.voice-mark i { width: 2px; height: 8px; border-radius: 3px; background: currentColor; }
.voice-mark i:nth-child(2n) { height: 13px; }
.voice-mark i:nth-child(3) { height: 20px; }
.devices-mark i { width: 20px; height: 14px; margin-right: 5px; border: 1.5px solid currentColor; border-radius: 2px; }
.devices-mark i:last-child { position: absolute; top: 20px; left: 29px; width: 9px; height: 14px; background: var(--highlight); }
.home-support { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 2.4vw, 1.75rem); padding-block: clamp(2.8rem, 5vw, 4.6rem); }
.home-support img { border-radius: 17px; }
.home-support h2 { margin-bottom: .2rem; font-size: clamp(1.36rem, 2.25vw, 1.95rem); letter-spacing: -.045em; line-height: 1.28; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.foot-inner { min-height: 83px; padding-block: 1rem; font-size: .86rem; }
.foot-inner nav { flex-wrap: wrap; gap: .65rem 1.25rem; }
.footer-wordmark { display: block; padding: clamp(.8rem, 2.6vw, 2.4rem) 0 clamp(1.3rem, 4.8vw, 4rem); }
.footer-wordmark img { width: 100%; }

.document { width: min(760px, calc(100% - 5rem)); padding: clamp(3.4rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); }
.document-heading { padding-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.document h1 { margin: .55rem 0 .82rem; }
.document-date { color: var(--muted); font-size: .875rem; }
.intro { margin-top: 1.02rem; font-size: 1.06rem; line-height: 1.85; }
.document-body section { margin-top: 2.05rem; }
.document-body h2 { margin-bottom: .55rem; font-size: 1.35rem; line-height: 1.35; letter-spacing: -.025em; }
.document-body p { color: var(--muted); line-height: 1.86; }
.document-body p + p { margin-top: .66rem; }
.document a:not(.button) { overflow-wrap: anywhere; }
.support-body details { padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.support-body details + details { margin-top: .55rem; }
.support-body summary { font-weight: 630; }
.support-body details p { margin-top: .5rem; }
.support-body .button { margin-top: 1rem; }

@media (max-width: 980px) {
  .wrap { width: min(860px, calc(100% - 3.25rem)); }
  .document { width: min(760px, calc(100% - 3.25rem)); }
  .hero { gap: clamp(1.4rem, 3.2vw, 2.2rem); }
  .demo-stage { min-height: 400px; }
}
@media (max-width: 745px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero { grid-template-columns: 1fr; gap: 2.15rem; padding-block: 3.05rem 3.6rem; }
  .hero h1 { font-size: clamp(2.75rem, 9.45vw, 4.4rem); }
  .demo-stage { min-height: 365px; padding: clamp(1rem, 5vw, 2rem); }
  .reader-sheet { padding: clamp(1.06rem, 4.55vw, 1.95rem); }
  .section-heading { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature p { max-width: 38em; }
  .home-support { grid-template-columns: auto minmax(0, 1fr); }
  .home-support img { width: 53px; border-radius: 13px; }
  .home-support .actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .head-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; gap: .55rem; }
  .nav { display: none; }
  .mobile-menu { display: block; }
  .brand-icon { width: 33px; border-radius: 8px; }
  .brand picture { width: 86px; }
}
@media (max-width: 515px) {
  .foot-inner { align-items: flex-start; flex-direction: column; gap: .4rem; }
}
@media (max-width: 400px) {
  .brand { gap: .37rem; }
  .brand-icon { width: 32px; }
  .brand picture { width: 75px; }
  .header-tools { gap: .3rem; }
  .header-menu > summary { min-height: 36px; }
  .header-menu > .icon-control { width: 36px; }
  .locale-menu > summary { gap: .43rem; padding-inline: .52rem; font-size: .84rem; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 1.75rem); }
  .stage-bottom .wave { display: none; }
  .sentence { font-size: .96rem; }
  .player { gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) { .is-playing .wave i { animation: none; } }
