:root {
  color-scheme: light;
  --bg: #f7f8f7;
  --paper: #ffffff;
  --ink: #111816;
  --muted: #60706b;
  --line: #e3e9e6;
  --teal: #2fb7a6;
  --teal-dark: #08796f;
  --red: #d95c4f;
  --gold: #c89232;
  --soft: #eef7f4;
  --shadow: 0 24px 70px rgba(17, 24, 22, 0.1);
  --radius: 10px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 0%, rgba(47, 183, 166, 0.12), transparent 34vw),
    linear-gradient(180deg, rgba(47, 183, 166, 0.055), transparent 520px),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(17, 24, 22, 0.07);
  background: rgba(247, 248, 247, 0.88);
  box-shadow: 0 10px 30px rgba(17, 24, 22, 0.055);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 750;
  color: #31403c;
}

.nav-links a,
.header-action,
.button {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: calc(var(--radius) - 3px);
  background: transparent;
  color: #52615d;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 22, 0.14);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 24, 22, 0.18);
}

.contact-label {
  position: relative;
  z-index: 1;
  color: #fff;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 22, 0.42);
  backdrop-filter: blur(10px);
}

.contact-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(223, 231, 227, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 90px rgba(17, 24, 22, 0.24);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.contact-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.08;
  font-weight: 950;
}

.contact-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.contact-email {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(0, 168, 150, 0.24);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 64px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100svh - 132px);
  margin: 0 auto;
  padding: 22px 0 54px;
}

.hero-content {
  position: relative;
  z-index: 2;
  order: 1;
}

.hero-scene {
  position: relative;
  order: 2;
  min-height: 520px;
  border: 1px solid rgba(17, 24, 22, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(17, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(210deg, rgba(47, 183, 166, 0.16), transparent 44%),
    linear-gradient(145deg, #ffffff 0%, #eff8f5 56%, #fff7f5 100%);
  background-size: 32px 32px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(17, 24, 22, 0.06);
  border-radius: 14px;
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(66px, 9.5vw, 118px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin: 30px 0 0;
  color: #273330;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.68;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 183, 166, 0.26);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: rgba(0, 168, 150, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 48px 0 0;
}

.hero-stats div {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.spectrum {
  position: absolute;
  inset: auto;
  opacity: 0.85;
}

.spectrum-a {
  right: -34px;
  top: 54px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(47, 183, 166, 0.2);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(47, 183, 166, 0.16) 0 2px, transparent 2px 18px);
}

.spectrum-b {
  left: 28px;
  bottom: 40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, rgba(232, 77, 61, 0.58), rgba(0, 168, 150, 0.12), rgba(217, 154, 34, 0.48), rgba(232, 77, 61, 0.58));
  filter: blur(0.2px);
}

.wave-lines {
  position: absolute;
  left: 54px;
  right: 54px;
  top: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}

.wave-lines span {
  width: 10px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), rgba(0, 168, 150, 0.15));
}

.voice-studio {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 42px;
  border: 1px solid rgba(17, 24, 22, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 64px rgba(17, 24, 22, 0.16);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.voice-studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #2a3633;
  font-size: 13px;
  font-weight: 900;
}

.voice-studio-top span {
  color: var(--teal-dark);
  font-size: 12px;
}

.voice-studio-body {
  padding: 24px;
}

.voice-script {
  padding: 18px;
  border-radius: var(--radius);
  background: #101716;
  color: #e9fffb;
}

.voice-script span {
  display: block;
  margin-bottom: 8px;
  color: #91ddd4;
  font-size: 12px;
  font-weight: 900;
}

.voice-script p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 750;
}

.voice-equalizer {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 108px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(47, 183, 166, 0.08), transparent),
    #fbfdfc;
}

.voice-equalizer i {
  flex: 1;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--teal));
}

.voice-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.voice-cards span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #33413d;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.quality-panel {
  position: absolute;
  top: 48px;
  left: 48px;
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 22, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(17, 24, 22, 0.1);
  backdrop-filter: blur(14px);
}

.quality-panel strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.quality-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.model-copy h2,
.community-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 900;
}

.section-heading p,
.model-copy p,
.community-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.feature-grid,
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article,
.deploy-grid article,
.dialect-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-grid article {
  min-height: 238px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(17, 24, 22, 0.03);
}

.icon-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--teal-dark);
}

.icon-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid h3,
.deploy-grid h3,
.dialect-panel h3 {
  margin: 28px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-grid p,
.deploy-grid p,
.dialect-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.language-band {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: #111816;
  color: #f4fbf9;
}

.language-band .section-heading p {
  color: #b8c7c2;
}

.language-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
}

.language-map {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  min-height: 360px;
}

.language-map span {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  font-size: clamp(18px, 3vw, 36px);
  font-weight: 850;
}

.language-side {
  display: grid;
  gap: 14px;
}

.language-visual {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 46%, rgba(47, 183, 166, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.coverage-field {
  position: relative;
  height: 120px;
  margin-bottom: 18px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.14) 18% 19%, transparent 19% 38%, rgba(255, 255, 255, 0.14) 38% 39%, transparent 39% 58%, rgba(255, 255, 255, 0.14) 58% 59%, transparent 59% 78%, rgba(255, 255, 255, 0.14) 78% 79%, transparent 79%);
}

.coverage-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8ff3e4;
  box-shadow: 0 0 0 8px rgba(143, 243, 228, 0.12);
}

.language-visual strong {
  display: block;
  color: #f4fbf9;
  font-size: 26px;
  line-height: 1;
}

.language-visual p {
  margin: 12px 0 0;
  color: #b8c7c2;
  font-size: 14px;
  line-height: 1.6;
}

.language-map span:nth-child(3n) {
  color: #8ff3e4;
}

.language-map span:nth-child(4n) {
  color: #ffb1a8;
}

.dialect-panel {
  padding: 28px;
  background: #f7fbfa;
  color: var(--ink);
}

.dialect-wave {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 88px;
  margin-top: 26px;
}

.dialect-wave span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--red), var(--teal));
}

.dialect-wave span:nth-child(1) { height: 40%; }
.dialect-wave span:nth-child(2) { height: 78%; }
.dialect-wave span:nth-child(3) { height: 52%; }
.dialect-wave span:nth-child(4) { height: 92%; }
.dialect-wave span:nth-child(5) { height: 61%; }
.dialect-wave span:nth-child(6) { height: 84%; }

.model-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: center;
}

.model-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.model-copy li {
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: #fff;
  color: #34423e;
  line-height: 1.58;
}

.model-figure {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.model-figure img {
  border-radius: var(--radius);
}

.model-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.deploy-section {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: #edf6f3;
}

.deploy-grid {
  grid-template-columns: repeat(3, 1fr);
}

.deploy-grid article {
  padding: 28px;
}

.deploy-grid a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal-dark);
  font-weight: 850;
}

.community-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.footer-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logos img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.docs-body {
  background: #fbfdfc;
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(223, 231, 227, 0.86);
  background: rgba(251, 253, 252, 0.88);
  backdrop-filter: blur(18px);
}

.docs-topnav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #33413d;
  font-size: 14px;
}

.docs-topnav a:hover,
.docs-sidebar a:hover,
.docs-toc a:hover {
  color: var(--teal-dark);
}

.docs-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 196px;
  gap: 36px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 98px;
  align-self: start;
}

.docs-sidebar {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.docs-sidebar-title {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.docs-sidebar nav,
.docs-toc {
  display: grid;
  gap: 6px;
}

.docs-sidebar a,
.docs-toc a {
  border-radius: var(--radius);
  color: #4d5c58;
  font-size: 14px;
  line-height: 1.4;
}

.docs-sidebar a {
  padding: 9px 11px;
}

.docs-sidebar a.is-current {
  background: var(--soft);
  color: var(--teal-dark);
  font-weight: 850;
}

.docs-toc {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.docs-toc strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
}

.docs-toc a {
  padding: 5px 0;
}

.docs-main {
  min-width: 0;
}

.docs-hero {
  padding: 52px 0 46px;
  border-bottom: 1px solid var(--line);
}

.docs-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
}

.docs-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 950;
}

.docs-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #34423e;
  font-size: 19px;
  line-height: 1.72;
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px 0 12px;
}

.docs-card-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.docs-card-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.docs-card-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.docs-section {
  width: auto;
  margin: 0;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.docs-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
}

.docs-section h3 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.docs-section p,
.docs-section li {
  color: #3d4b47;
  font-size: 16px;
  line-height: 1.78;
}

.docs-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.docs-section p code,
.docs-section li code {
  padding: 0.15em 0.36em;
  border-radius: 5px;
  background: #eef7f4;
  color: #0a665e;
  font-size: 0.92em;
}

.docs-section pre {
  margin: 18px 0 22px;
  padding: 22px;
  border-radius: 12px;
  background: #111816;
  color: #d9fff8;
  overflow: auto;
  box-shadow: 0 18px 50px rgba(17, 24, 22, 0.12);
}

.docs-section pre code {
  font-size: 14px;
  line-height: 1.7;
}

.docs-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(0, 168, 150, 0.28);
  border-radius: var(--radius);
  background: #eef7f4;
}

.docs-callout strong {
  color: var(--teal-dark);
}

.docs-callout p {
  margin: 8px 0 0;
}

.docs-table-wrap {
  overflow-x: auto;
}

.docs-section table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.docs-section th,
.docs-section td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.docs-section th {
  background: #eef7f4;
  color: #23302c;
  font-size: 14px;
}

.docs-section td {
  color: #3d4b47;
  font-size: 15px;
  line-height: 1.65;
}

.docs-list {
  padding-left: 20px;
}

.docs-footer {
  padding-top: 28px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .model-section,
  .community-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-content,
  .hero-scene {
    order: initial;
  }

  .hero-content {
    order: 1;
  }

  .hero-scene {
    order: 2;
  }

  .hero-scene {
    min-height: 460px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .language-layout,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

  .docs-header {
    grid-template-columns: auto auto;
  }

  .docs-topnav {
    display: none;
  }

  .docs-shell {
    grid-template-columns: 1fr;
  }

  .docs-sidebar,
  .docs-toc {
    position: static;
    padding: 0;
    border: 0;
  }

  .docs-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .docs-sidebar a {
    border: 1px solid var(--line);
    background: #fff;
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero,
  section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand img {
    width: 136px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 13px;
  }

  .header-tools {
    gap: 7px;
  }

  .language-switch button {
    min-width: 34px;
    height: 32px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-stats,
  .feature-grid,
  .docs-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    min-height: 420px;
    border-radius: 12px;
  }

  .voice-studio {
    left: 18px;
    right: 18px;
    bottom: 30px;
  }

  .wave-lines {
    left: 22px;
    right: 22px;
  }

  .voice-cards {
    grid-template-columns: 1fr 1fr;
  }

  .quality-panel {
    left: 18px;
    right: 18px;
    width: auto;
    top: 24px;
  }

  .language-map span {
    font-size: 20px;
  }

  .community-actions,
  .hero-actions {
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .docs-header {
    padding-inline: 14px;
  }

  .docs-shell {
    width: min(100% - 28px, 1180px);
    gap: 22px;
    padding-top: 22px;
  }

  .docs-hero {
    padding-top: 32px;
  }

  .docs-hero h1 {
    font-size: 48px;
  }

  .docs-section pre {
    padding: 16px;
  }
}
