@font-face {
  font-family: "MiSans";
  src: url("./assets/fonts/MiSans-VF.subset.woff2?v=2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 900;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("./assets/fonts/SourceHanSerifCN-Medium.subset.woff2?v=2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Source Han Serif SC";
  src: url("./assets/fonts/SourceHanSerifCN-Bold.subset.woff2?v=2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --bg: #ffffff;
  --ink: #0b0b0b;
  --card-bg: #ffffff;
  --muted: #686f7c;
  --soft: #f5f7fb;
  --soft-2: #e9edf5;
  --line: #dde3ee;
  --brand: #2458f5;
  --brand-strong: #1747df;
  --button-ink: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.88);
  --card-shadow: 0 18px 54px rgba(15, 23, 42, 0.07);
  --ui-font: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --brand-font: "Source Han Serif SC", "MiSans", "Songti SC", SimSun, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080a0f;
    --ink: #f4f7ff;
    --card-bg: #10141d;
    --muted: #9aa4b7;
    --soft: #121722;
    --soft-2: #1a2130;
    --line: #252d3c;
    --brand: #5d7dff;
    --brand-strong: #7f99ff;
    --button-ink: #ffffff;
    --header-bg: rgba(8, 10, 15, 0.82);
    --card-shadow: 0 18px 56px rgba(0, 0, 0, 0.38);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui-font);
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.section-shell {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 16px 32px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 560;
}

.try-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--button-ink);
}

.try-link:hover {
  background: var(--brand-strong);
}

html:not([lang^="zh"]) .icp-link {
  display: none;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 64px;
  align-items: center;
  width: min(1160px, calc(100% - 64px));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 82px 0 96px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.meta {
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 20px;
}

.hero-copy h1,
.brand-title {
  max-width: 740px;
  font-family: var(--brand-font);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 520;
  line-height: 1.45;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 430;
  line-height: 1.7;
}

.voice-panel {
  display: grid;
  place-items: center;
  min-width: 0;
}

.voice-window {
  width: min(100%, 430px);
  aspect-ratio: 0.86;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 34%, rgba(36, 88, 245, 0.12), transparent 34%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
}

.window-top {
  display: flex;
  gap: 8px;
}

.window-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--soft-2);
}

.recording-state {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 62px 0 42px;
  text-align: center;
}

.pulse-ring {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(36, 88, 245, 0.1);
  box-shadow: 0 0 0 18px rgba(36, 88, 245, 0.045);
}

.mic-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 16px 32px rgba(36, 88, 245, 0.24);
}

.recording-state p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.transcript-lines {
  display: grid;
  gap: 12px;
}

.transcript-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--soft-2);
}

.transcript-lines span:nth-child(1) {
  width: 86%;
}

.transcript-lines span:nth-child(2) {
  width: 72%;
}

.transcript-lines span:nth-child(3) {
  width: 54%;
}

.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-row strong {
  color: var(--brand);
  font-weight: 650;
}

.trust-section,
.platform-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.trust-section {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 56px;
}

.trust-section h2,
.platform-section h2 {
  max-width: 680px;
  font-family: var(--brand-font);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

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

.trust-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-bg);
}

.trust-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
}

.trust-grid h3 {
  margin-top: 58px;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.32;
}

.trust-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 430;
  line-height: 1.65;
}

.platform-section h2 {
  max-width: 760px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.platform-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer > span {
  color: var(--ink);
  font-family: var(--brand-font);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.18;
}

.footer-slogan em {
  color: var(--brand);
  font-style: normal;
}

.site-footer > .footer-made-by {
  color: var(--muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-footer a,
.site-footer div span {
  color: var(--muted);
}

.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.language-icon,
.language-icon svg {
  width: 18px;
  height: 18px;
}

.language-icon {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}

.language-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-select::after {
  content: "";
  position: absolute;
  right: 13px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  pointer-events: none;
  transform: rotate(45deg);
}

.language-select select {
  min-height: 32px;
  min-width: 128px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
}

@media (max-width: 980px) {
  .site-header,
  .product-hero,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 18px;
  }

  .nav {
    justify-content: center;
  }

  .product-hero {
    gap: 44px;
    min-height: auto;
    padding: 76px 0 84px;
  }

  .voice-window {
    width: min(100%, 420px);
    aspect-ratio: 1;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .language-select {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .product-hero {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    grid-template-columns: auto 1fr;
    padding: 14px 16px;
  }

  .nav {
    justify-content: end;
    gap: 18px;
    font-size: 13px;
  }

  .header-actions {
    display: none;
  }

  .product-hero {
    padding: 56px 0 72px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

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

  .trust-section,
  .platform-section {
    padding: 64px 0;
  }
}
