:root {
  --ink: #080a0c;
  --muted: #68707b;
  --line: #e4e6e2;
  --paper: #fdfdfb;
  --wash: #e8ebe7;
  --soft: #f4f6f2;
  --accent: #0d9f73;
  --accent-soft: #dff5ec;
  --shadow: rgba(13, 21, 19, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(135deg, #eef1ed 0%, #dfe4df 55%, #f5f6f2 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page {
  min-height: 100dvh;
  padding: 28px;
}

.shell {
  min-height: calc(100dvh - 56px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 26px 90px var(--shadow);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 42px;
  background: rgba(253, 253, 251, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 22px;
  font-weight: 850;
}

/* 字标是一整张图，徽标本身就是首字母：写成「徽标＋Sayborne」等于把 S 说两遍；图里徽标后面接的是 ayborne。
   高度定死、宽度随比例，缩放时不会把造型压变形。 */
.brand-wordmark {
  display: block;
  width: auto;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: #62666e;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.locale-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 4px 5px 4px 14px;
  color: #4d545e;
  font-size: 12px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.locale-select select {
  min-width: 122px;
  height: 30px;
  padding: 0 30px 0 12px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
}

.locale-select select:focus {
  outline: 2px solid #bfc5cf;
  outline-offset: 2px;
}

/* ---------- Hero: one idea, centered ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 32px 96px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 30px;
  color: #69717b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 34px;
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 930;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

body[data-locale="zh-CN"] .hero h1,
body[data-locale="zh"] .hero h1,
body[data-locale="zh-TW"] .hero h1,
body[data-locale="zh-HK"] .hero h1,
body[data-locale="ja"] .hero h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.12;
}

body[data-locale="ru"] .hero h1,
body[data-locale="fr"] .hero h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.02;
}

.lead {
  max-width: 560px;
  margin: 0 0 44px;
  color: #4e5862;
  font-size: 21px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 850;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(8, 10, 12, 0.18);
}

.button-primary:hover {
  background: #11161a;
  box-shadow: 0 16px 34px rgba(8, 10, 12, 0.22);
}

.button-link {
  color: #262c35;
}

/* ---------- Demo: the product, nothing else ---------- */

.demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: 0 32px 150px;
}

.mode-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 360px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(13, 21, 19, 0.08);
}

.mode-switch button {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.mode-switch button.active {
  color: white;
}

.mode-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--ink);
  border-radius: 999px;
  transition: none;
}

body.ready .mode-thumb {
  transition: transform 0.26s ease;
}

.mode-switch[data-active="translate"] .mode-thumb {
  transform: translateX(100%);
}

.device-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 302px);
  margin: 0 auto;
}

.device-wrap::before {
  position: absolute;
  width: 360px;
  height: 520px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(13, 21, 19, 0.14), rgba(13, 21, 19, 0) 68%);
  border-radius: 999px;
  filter: blur(24px);
}

.phone-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1440 / 3120;
  background: var(--ink);
  border: 12px solid var(--ink);
  border-radius: 48px;
  box-shadow:
    0 24px 64px rgba(13, 21, 19, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  color: #15181b;
  background: #efeee9;
  border-radius: 36px;
}

.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 1.4em 0.3em;
  font-size: 1.05em;
  font-weight: 800;
  background: #fff;
}

.ph-status-r {
  display: inline-flex;
  gap: 0.4em;
  align-items: center;
}

.ph-head {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.5em 1.1em 0.8em;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ph-back {
  font-size: 1.7em;
  color: #3c434c;
}

.ph-avatar {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  font-size: 1.1em;
  font-weight: 800;
  border-radius: 999px;
}

.phone-screen[data-mode="polish"] .ph-avatar {
  color: #2f7a4f;
  background: #cfe8d6;
}

.phone-screen[data-mode="translate"] .ph-avatar {
  color: #3a56b0;
  background: #d6ddf5;
}

.ph-who {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.2;
}

.ph-who b {
  font-size: 1.25em;
  font-weight: 800;
}

.ph-who i {
  font-style: normal;
  font-size: 0.95em;
  color: #1aa15f;
}

.ph-head-r {
  display: inline-flex;
  gap: 0.9em;
  color: #3c434c;
}

.ph-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7em;
  padding: 0.9em 1em 0.7em;
  overflow: hidden;
}

.ph-today {
  align-self: center;
  padding: 0.25em 0.9em;
  color: #6d757f;
  font-size: 0.92em;
  font-weight: 700;
  background: #fff;
  border-radius: 999px;
}

.ph-msg {
  max-width: 84%;
  margin: 0;
  padding: 0.65em 0.85em;
  font-size: 1.08em;
  border-radius: 1.1em;
}

.ph-msg.out {
  align-self: flex-end;
  margin-top: auto;
  background: #d7f0c6;
  border-bottom-right-radius: 0.3em;
}

.ph-msg.in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 0.3em;
}

.ph-draft {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.6em 0.7em;
  background: #fff;
  border: 1px solid #e6e6e1;
  border-radius: 1.2em;
  box-shadow: 0 3px 10px rgba(20, 24, 27, 0.06);
}

.ph-smiley {
  flex: none;
  color: #9aa0a8;
}

.ph-draft p {
  flex: 1;
  margin: 0;
  font-size: 1.08em;
  line-height: 1.35;
}

.ph-send {
  display: grid;
  flex: none;
  place-items: center;
  width: 2em;
  height: 2em;
  background: #16a34a;
  border-radius: 999px;
}

.ph-kb {
  display: flex;
  flex-direction: column;
  padding: 0.9em 0.9em 1em;
  background: #f2f2f5;
}

.ph-kb-top {
  display: flex;
  align-items: center;
  width: 100%;
}

.ph-kb-left {
  display: inline-flex;
  gap: 0.55em;
  align-items: center;
}

/* 键盘上那一格是徽标，不是一个字母 S。用真徽标，示意图才和实际界面对得上。 */
.ph-kb-mark {
  display: block;
  width: 1.5em;
  height: 1.5em;
}

.ph-wave {
  display: inline-flex;
  gap: 0.18em;
  align-items: flex-end;
  height: 1.1em;
}

.ph-wave i {
  width: 0.2em;
  background: #6a6a70;
  border-radius: 0.1em;
}

.ph-wave i:nth-child(1) { height: 0.45em; }
.ph-wave i:nth-child(2) { height: 0.95em; }
.ph-wave i:nth-child(3) { height: 0.65em; }
.ph-wave i:nth-child(4) { height: 1em; }
.ph-wave i:nth-child(5) { height: 0.4em; }

.ph-scene-label {
  color: #55555c;
  font-size: 1.05em;
}

.ph-seg {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0.25em;
  background: #e6e6ea;
  border-radius: 999px;
}

.ph-seg-item {
  padding: 0.35em 0.9em;
  color: #55555c;
  font-size: 1em;
  white-space: nowrap;
  border-radius: 999px;
}

.ph-seg-more {
  padding: 0.35em 0.65em;
  color: #55555c;
  font-size: 1em;
  letter-spacing: 0.04em;
}

.phone-screen[data-mode="polish"] #phChipAuto,
.phone-screen[data-mode="translate"] #phChipEn {
  color: #111;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ph-kb-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 16.4em;
  padding: 0.8em 0 0.2em;
}

.ph-mic {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  align-items: center;
  justify-content: center;
  width: 8.4em;
  height: 8.4em;
  background: radial-gradient(120% 90% at 50% 12%, #3a3a40 0%, #1a1a1b 46%, #121214 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 5px rgba(12, 12, 16, 0.28),
    0 10px 22px rgba(12, 12, 16, 0.22);
}

.ph-mic-icon {
  position: relative;
  width: 0.85em;
  height: 1.25em;
  margin-bottom: 0.5em;
  background: #fff;
  border-radius: 999px;
}

.ph-mic-icon::after {
  position: absolute;
  bottom: -0.55em;
  left: 50%;
  width: 0.9em;
  height: 0.55em;
  content: "";
  border: 0.14em solid #fff;
  border-top: 0;
  border-radius: 0 0 0.9em 0.9em;
  transform: translateX(-50%);
}

.ph-mic small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95em;
}

.ph-send-pill {
  margin-top: 1.6em;
  padding: 0.55em 3em;
  color: #fff;
  font-size: 1.05em;
  font-weight: 700;
  background: #1a1a1b;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(12, 12, 16, 0.22);
}

.ph-rail {
  position: absolute;
  top: 50%;
  right: 0.7em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}

.ph-key {
  display: grid;
  place-items: center;
  width: 3.8em;
  height: 3.8em;
  color: #2c2c30;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ph-key-at {
  font-size: 1.45em;
  font-weight: 500;
}

.ph-rail-gap-s {
  height: 1.2em;
}

.ph-rail-gap-l {
  height: 3.1em;
}

.progress-track {
  display: none;
}

.progress-bar {
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.progress-bar.running {
  animation: fill-progress 5.5s linear both;
}

.demo-caption {
  max-width: 560px;
  text-align: center;
}

.demo-caption h2 {
  margin: 0 0 14px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.demo-caption p {
  margin: 0 0 18px;
  color: #5e6570;
  font-size: 17px;
  line-height: 1.6;
}

.phone-note {
  margin: 0;
  color: #8a929c;
  font-size: 12px;
  line-height: 1.35;
}

@keyframes fill-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mode-thumb,
  .phone-frame img {
    transition: none;
  }

  .progress-bar.running {
    animation: none;
    transform: scaleX(1);
  }

  .desk-caret {
    animation: none;
  }
}

/* ---------- Sections: one idea per screen ---------- */

.section {
  padding: 150px 32px;
  border-top: 1px solid var(--line);
}

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

.kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 920;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.section-lead {
  max-width: 620px;
  margin: 26px auto 0;
  color: #5e6570;
  font-size: 19px;
  line-height: 1.62;
}

code {
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--accent-soft);
  border-radius: 5px;
}

/* ---------- Polish: before / after bubbles ---------- */

.polish {
  background: linear-gradient(180deg, #fdfdfb 0%, #f6f8f4 100%);
}

.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.pair-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(24, 34, 31, 0.06);
}

.example-label {
  margin: 0 0 6px;
  color: #8a929c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bubble {
  position: relative;
  max-width: 88%;
  padding: 15px 20px;
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
  border-radius: 20px;
}

.bubble.rough {
  align-self: flex-start;
  color: #6d757f;
  background: var(--soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble.final {
  align-self: flex-end;
  color: #fff;
  font-weight: 700;
  background: var(--ink);
  border-bottom-right-radius: 6px;
}

.bubble.final::after {
  position: absolute;
  top: -26px;
  right: 6px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  content: "↓";
}

/* ---------- Translate: picker as the demo ---------- */

.language-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  max-width: 800px;
  margin: 0 auto;
}

.language-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.language-picker button {
  padding: 11px 15px;
  color: #303741;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.language-picker button:hover {
  border-color: #b9c1ba;
}

.language-picker button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.language-preview {
  display: grid;
  gap: 13px;
  width: 100%;
  max-width: 620px;
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(24, 34, 31, 0.06);
}

.language-preview span {
  color: #68707a;
  font-size: 13px;
  font-weight: 850;
}

.language-preview b {
  font-size: 24px;
  line-height: 1.08;
}

.language-preview p {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 780;
  line-height: 1.3;
}

.language-preview small {
  color: #747c87;
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Flow: a real sequence ---------- */

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  max-width: 960px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
}

.flow-steps li {
  counter-increment: step;
  text-align: center;
}

.flow-steps li::before {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  place-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  content: counter(step);
  background: var(--accent-soft);
  border-radius: 999px;
}

.flow-steps b {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.flow-steps span {
  display: block;
  max-width: 250px;
  margin: 0 auto;
  color: #68707a;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Download ---------- */

.download {
  background: linear-gradient(180deg, #f7f9f4 0%, #eef2ee 100%);
}

.download-card {
  display: grid;
  gap: 28px;
  max-width: 640px;
  padding: 40px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(24, 34, 31, 0.1);
}

.download-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
}

.download-card-head b {
  display: block;
  margin-bottom: 9px;
  font-size: 28px;
  line-height: 1;
}

.download-card-head p {
  max-width: 360px;
  margin: 0;
  color: #4f5a54;
  font-size: 16px;
}

.platform-icon {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 42px;
  border: 4px solid var(--ink);
  border-radius: 7px;
}

.platform-icon::after {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--ink);
  border-radius: 999px;
  transform: translateX(-50%);
}

.availability-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  background: var(--accent-soft);
  border-radius: 999px;
}

.store-links {
  display: grid;
  gap: 14px;
}

.store-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  min-height: 72px;
  align-content: center;
  padding: 14px 28px;
  color: white;
  text-align: left;
  cursor: not-allowed;
  background: #1b1717;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(27, 23, 23, 0.16);
}

.store-link span {
  color: #d7d8d4;
  font-size: 12px;
  font-weight: 850;
}

.store-link b {
  color: white;
  font-size: 23px;
  line-height: 1.04;
}

.store-link em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #bfc4bf;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.release-meta div {
  padding: 21px 18px;
  border-right: 1px solid var(--line);
}

.release-meta div:last-child {
  border-right: 0;
}

.release-meta dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

.release-meta dd {
  margin: 0;
  color: #6c756f;
  font-size: 13px;
  line-height: 1.38;
}

/* ---------- Desktop: the HUD floats over any app ---------- */

.desktop {
  background: linear-gradient(180deg, #fdfdfb 0%, #eef2ee 100%);
}

.desktop-stage {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.desktop-stage::before {
  position: absolute;
  width: 74%;
  height: 72%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(13, 21, 19, 0.13), rgba(13, 21, 19, 0) 70%);
  filter: blur(30px);
}

.desktop-window {
  position: relative;
  width: min(100%, 720px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(13, 21, 19, 0.2);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

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

.window-dots i {
  width: 11px;
  height: 11px;
  background: #cfd4cd;
  border-radius: 999px;
}

.window-title {
  color: #8a929c;
  font-size: 13px;
  font-weight: 850;
}

.window-body {
  min-height: 384px;
  padding: 34px 40px 150px;
}

.desk-to {
  margin: 0 0 22px;
  color: #8a929c;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.desk-compose {
  position: relative;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 34, 31, 0.06);
}

.desk-compose::before {
  position: absolute;
  top: -13px;
  left: 22px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  content: "\2193";
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(13, 159, 115, 0.34);
}

.desk-landed {
  display: inline;
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 640;
  line-height: 1.5;
}

.desk-caret {
  display: inline-block;
  width: 2px;
  height: 20px;
  margin-left: 3px;
  vertical-align: -3px;
  background: var(--accent);
  animation: blink-caret 1.1s step-end infinite;
}

@keyframes blink-caret {
  50% {
    opacity: 0;
  }
}

.desktop-hud {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(86%, 360px);
  padding: 16px 18px 18px;
  background: rgba(253, 253, 251, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(13, 21, 19, 0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.hud-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-globe {
  width: 22px;
  height: 22px;
  background:
    radial-gradient(circle at center, transparent 6px, #b7bfb8 6px, #b7bfb8 7.5px, transparent 7.5px),
    #fff;
  border: 2px solid #b7bfb8;
  border-radius: 999px;
}

.hud-chip {
  padding: 7px 13px;
  color: #4d545e;
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hud-chip.active {
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.hud-mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow:
    0 12px 26px rgba(8, 10, 12, 0.28),
    0 0 0 6px rgba(13, 159, 115, 0.12);
}

.hud-mic-icon {
  position: relative;
  width: 12px;
  height: 17px;
  background: #fff;
  border-radius: 999px;
}

.hud-mic-icon::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 12px;
  height: 8px;
  content: "";
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.hud-status {
  margin: 0;
  color: #747c87;
  font-size: 12px;
  font-weight: 800;
}

.platform-icon-desktop {
  width: 44px;
  height: 34px;
  border: 4px solid var(--ink);
  border-radius: 7px;
}

.platform-icon-desktop::after {
  bottom: -9px;
  width: 16px;
  height: 5px;
  background: var(--ink);
  border-radius: 2px;
}

.download-card + .download-card {
  margin-top: 22px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 26px 0;
  font-size: 20px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 0 28px;
  color: #5e6570;
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 72px 32px 60px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-legal a {
  color: #6c757e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer small {
  color: #8a929c;
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .pair-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 12px;
  }

  .nav {
    height: 66px;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    gap: 10px;
    font-size: 20px;
  }

  .locale-select {
    gap: 7px;
    padding-left: 10px;
    font-size: 11px;
  }

  .locale-select select {
    min-width: 86px;
    max-width: 92px;
    padding-left: 9px;
    font-size: 11px;
  }

  .hero {
    padding: 72px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  body[data-locale="zh-CN"] .hero h1,
  body[data-locale="zh"] .hero h1,
  body[data-locale="zh-TW"] .hero h1,
  body[data-locale="zh-HK"] .hero h1,
  body[data-locale="ja"] .hero h1,
  body[data-locale="ru"] .hero h1,
  body[data-locale="fr"] .hero h1 {
    font-size: clamp(30px, 8.6vw, 40px);
  }

  .lead {
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.55;
  }

  .button-link {
    display: none;
  }

  .demo {
    padding: 0 20px 88px;
    gap: 26px;
  }

  .mode-switch,
  .progress-track {
    max-width: 276px;
  }

  .device-wrap {
    width: min(100%, 236px);
  }

  .phone-frame {
    border-width: 9px;
    border-radius: 36px;
  }

  .phone-screen {
    font-size: 9.5px;
  }

  .demo-caption h2 {
    font-size: 22px;
  }

  .demo-caption p {
    font-size: 15px;
  }

  .section {
    padding: 84px 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .pair-card {
    padding: 24px;
  }

  .bubble {
    max-width: 94%;
    font-size: 16px;
  }

  .language-panel {
    gap: 32px;
  }

  .language-preview {
    padding: 24px;
  }

  .language-preview p {
    font-size: 21px;
  }

  .window-body {
    min-height: 320px;
    padding: 24px 20px 132px;
  }

  .desk-landed {
    font-size: 16px;
  }

  .desktop-hud {
    bottom: 16px;
    width: min(92%, 320px);
  }

  .download-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .download-card-head {
    grid-template-columns: auto 1fr;
  }

  .availability-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .store-link {
    grid-template-columns: 1fr;
    min-height: 76px;
    padding: 14px 22px;
  }

  .store-link em {
    display: none;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }

  .release-meta div {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-meta div:last-child {
    border-bottom: 0;
  }

  summary {
    padding: 20px 0;
    font-size: 17px;
  }
}
