/* ==========================================================================
   AnyToSpeech 复刻版 · 设计系统
   真实站点取值：#fff3e9(奶油底) / #ff6b00(橙) / #1e293b(墨) / #64748b(灰蓝)
   圆角 18/14/16px，区块内边距 60–80px，标题 clamp(1.8rem,4vw,2.5rem)/800
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque.ttf") format("truetype-variations"),
       url("../fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --cream: #fff3e9;
  --cream-2: #fff8f2;
  --cream-3: #fff5ee;
  --orange: #ff6b00;
  --orange-hover: #ff8533;
  --orange-deep: #e05a00;
  --orange-ink: #c2540a;
  --ink: #1e293b;
  --ink-2: #0f172a;
  --slate: #64748b;
  --slate-2: #52606e;
  --muted: #94a3b8;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --card: #ffffff;
  --brand-terracotta: #d27d60;
  --footer: #1d1d1d;
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
  --container: 1140px;
  --font: "Bricolage Grotesque", "Bricolage", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-deep); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1320px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #ff8a3d, var(--orange));
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.28);
}
.brand__mark svg { width: 20px; height: 20px; color: #fff; }
.brand__name { font-size: 21px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { color: var(--ink); font-size: 15.5px; font-weight: 600; padding: 8px 6px; }
.header-link:hover { color: var(--orange-ink); }

.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.1); background: rgba(255, 255, 255, 0.6);
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { border-color: rgba(255, 107, 0, 0.35); color: var(--orange-ink); }
.lang-switch__flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 258px; max-height: 380px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 80;
}
.lang-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 9px;
  font-size: 14px; color: var(--ink);
}
.lang-menu a:hover { background: var(--cream-2); color: var(--orange-ink); }
.lang-menu img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }

.nav-burger {
  display: none; width: 40px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12); background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-burger span { display: block; width: 17px; height: 2px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: var(--cream);
  padding: 10px 24px 18px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 11px 4px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; padding: 11px 22px;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--orange); color: #fff !important; box-shadow: 0 6px 16px rgba(255, 107, 0, 0.24); }
.btn--primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 107, 0, 0.3); }
.btn--ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink) !important; border-color: rgba(15, 23, 42, 0.12); }
.btn--ghost:hover { border-color: rgba(255, 107, 0, 0.35); color: var(--orange-ink) !important; background: #fff; }
.btn--dark { background: var(--ink); color: #fff !important; }
.btn--dark:hover { background: var(--ink-2); }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--lg { padding: 15px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  padding: 68px 20px 64px;
  text-align: center;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800; color: var(--ink);
  line-height: 1.14; margin: 0 0 14px; letter-spacing: -0.01em;
}
.hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--slate-2); line-height: 1.5; margin: 0 auto 16px;
  max-width: 640px;
}
.hero-trust { max-width: 760px; margin: 4px auto 24px; padding: 0 12px; }
.hero-trust__metrics {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 8px 18px;
}
.hero-trust__metric { display: flex; align-items: center; gap: 2px; }
.hero-trust__laurel { width: 26px; height: 46px; color: #e8a070; flex-shrink: 0; }
.hero-trust__laurel--flip { transform: scaleX(-1); }
.hero-trust__body { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 96px; padding: 0 2px; }
.hero-trust__stars { display: flex; gap: 1px; line-height: 1; color: var(--orange); }
.hero-trust__stars svg { width: 15px; height: 15px; }
.hero-trust__value { font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
.hero-trust__label { font-size: 0.78rem; font-weight: 600; color: var(--slate); }
.hero-trust__headline { margin: 12px 0 0; font-size: clamp(1rem, 2.4vw, 1.05rem); font-weight: 700; color: var(--ink); }

.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff !important;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem); font-weight: 700;
  padding: 16px 34px; border-radius: 50px;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.28);
  transition: all 0.2s ease;
}
.hero__cta:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 107, 0, 0.34); }
.hero__or {
  display: flex; align-items: center; gap: 16px;
  max-width: 520px; margin: 18px auto 26px;
  color: #8a7d72; font-size: 0.92rem;
}
.hero__or::before, .hero__or::after { content: ""; flex: 1; height: 1px; background: rgba(107, 95, 86, 0.28); }
.hero__or span { white-space: nowrap; }

.hero-tabs {
  display: inline-flex; gap: 6px; background: rgba(255, 255, 255, 0.7);
  padding: 6px; border-radius: 50px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center;
}
.hero-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border: none; background: transparent;
  color: #6b5f56; font-size: 15.5px; font-weight: 700; border-radius: 50px;
  cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
.hero-tab:hover { color: var(--orange-ink); }
.hero-tab.is-active { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(255, 107, 0, 0.28); }
.hero-tab svg { width: 18px; height: 18px; }

.hero-panels { max-width: 860px; margin: 0 auto; }
.hero-panel { display: none; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-panel.is-active { display: flex; animation: fadeUp 0.28s ease both; }
.hero-tool {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eadbcd; border-radius: var(--radius);
  padding: 14px 22px; color: var(--ink); font-size: 15.5px; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: all 0.2s ease;
}
.hero-tool svg { width: 19px; height: 19px; color: var(--orange); flex-shrink: 0; }
.hero-tool:hover { border-color: var(--orange); color: var(--orange-ink); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 107, 0, 0.14); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Section primitives ---------- */
.section { padding: 72px 20px; }
.section--white { background: #fff; }
.section--cream { background: var(--cream-2); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--cream-2) 100%); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 20px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; text-align: center;
  margin: 0 0 12px; color: var(--ink); letter-spacing: -0.01em;
}
.section-subtitle {
  text-align: center; color: var(--slate); font-size: 1.02rem;
  margin: 0 auto 40px; max-width: 620px; line-height: 1.55;
}
.eyebrow {
  display: block; text-align: center; margin-bottom: 10px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-ink);
}
.section-head { text-align: center; margin-bottom: 38px; }
.section-head .section-title { margin-bottom: 10px; }
.section-head p { margin: 0 auto; max-width: 620px; color: var(--slate); line-height: 1.6; }

/* ---------- Voice cards ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 1060px; margin: 0 auto; }
.voice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.voice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.voice-card {
  background: #fff; border-radius: var(--radius-sm); padding: 13px 14px;
  border: 2px solid #e9ecef; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; min-width: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.voice-card:hover { border-color: var(--brand-terracotta); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.voice-card.is-playing { border-color: var(--brand-terracotta); background: #fff9f7; }
.voice-card__info { flex: 1; min-width: 0; }
.voice-card__name {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 0.9rem; font-weight: 700; color: #222; min-width: 0;
}
.voice-card__flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.voice-card__desc {
  font-size: 0.75rem; color: #888; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tag {
  font-size: 0.6rem; padding: 2px 6px; border-radius: 8px; font-weight: 600; line-height: 1.5;
}
.tag--male { background: #e3f2fd; color: #1565c0; }
.tag--female { background: #fce4ec; color: #c2185b; }
.tag--neutral { background: #f3e5f5; color: #7b1fa2; }
.tag--pro {
  background: #fff7ed; color: #b45309; font-size: 0.58rem;
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px; border-radius: 7px;
}
.voice-card__play {
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: #f0f0f0; color: #555; display: grid; place-items: center;
  cursor: pointer; flex-shrink: 0; transition: all 0.15s ease;
}
.voice-card__play svg { width: 13px; height: 13px; }
.voice-card__play:hover, .voice-card.is-playing .voice-card__play { background: var(--brand-terracotta); color: #fff; }
.voice-card.is-playing .voice-card__play svg { transform: scale(0.92); }

.voices-foot { text-align: center; margin-top: 22px; }
.voices-foot a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 700; color: var(--brand-terracotta);
}

/* equalizer bars inside playing card */
.eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.eq i { width: 2px; background: currentColor; border-radius: 1px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.eq i:nth-child(2) { height: 100%; animation-delay: -0.45s; }
.eq i:nth-child(3) { height: 65%; animation-delay: -0.1s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }

/* ---------- Analysis cards ---------- */
.analyze-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1140px; margin: 0 auto; }
.analyze-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 14px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: inherit; box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden; min-height: 100%;
}
.analyze-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255, 107, 0, 0.3); color: inherit; }
.analyze-mock {
  background: #fafafa; border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius); padding: 12px 12px 10px; min-height: 152px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.analyze-name { font-size: 0.98rem; font-weight: 800; color: var(--ink); }
.analyze-blurb { font-size: 0.8rem; color: var(--slate); line-height: 1.5; }

.mock-title { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #94a3b8; }
.mock-score { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.mock-score small { font-size: 0.6rem; color: var(--muted); font-weight: 600; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: #475569; font-weight: 600; }
.mock-bar { flex: 1; height: 5px; border-radius: 4px; background: #e8edf3; overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ffb27a, var(--orange)); }
.mock-chip-row { display: flex; flex-wrap: wrap; gap: 5px; }
.mock-chip { font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #eef2f7; color: #475569; }
.mock-chip--ok { background: #dcfce7; color: #15803d; }
.mock-chip--warn { background: #fef3c7; color: #b45309; }
.mock-word { font-size: 0.72rem; font-weight: 700; }
.mock-word--ok { color: #15803d; }
.mock-word--warn { color: #b45309; }
.mock-word--bad { color: #dc2626; }
.mock-spectrum { position: relative; height: 26px; }
.mock-spectrum__track { position: absolute; inset: 9px 0; border-radius: 999px; background: linear-gradient(90deg, #bfdbfe, #ddd6fe, #fbcfe8); }
.mock-spectrum__dot { position: absolute; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); transform: translateX(-50%); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.mock-spectrum__labels { display: flex; justify-content: space-between; font-size: 0.58rem; color: var(--muted); font-weight: 700; }

/* ---------- Clone section ---------- */
.clone-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; max-width: 1140px; margin: 0 auto; align-items: stretch; }
.clone-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 30px; box-shadow: var(--shadow-md);
}
.clone-card h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
.clone-card p { color: var(--slate); font-size: 0.96rem; line-height: 1.65; margin: 0 0 18px; }
.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9rem; color: #475569; font-weight: 600; }
.check-list svg { width: 17px; height: 17px; color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.stat-band div { padding: 20px 12px; text-align: center; background: #fff; }
.stat-band strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat-band span { font-size: 0.76rem; color: var(--slate); font-weight: 600; }

/* ---------- MCP ---------- */
.mcp-card {
  max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 22px;
  padding: 24px 28px; background: var(--cream); border: 1px solid rgba(255, 107, 0, 0.18);
  border-radius: var(--radius-lg);
}
.mcp-icon {
  width: 62px; height: 62px; border-radius: 16px; flex-shrink: 0;
  background: #fff; display: grid; place-items: center; color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.2);
}
.mcp-icon svg { width: 30px; height: 30px; }
.mcp-text { flex: 1; min-width: 0; }
.mcp-text .eyebrow { text-align: left; margin-bottom: 6px; }
.mcp-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.mcp-text p { margin: 0 0 14px; color: var(--slate-2); font-size: 0.94rem; line-height: 1.6; }
.mcp-clients { display: flex; flex-wrap: wrap; gap: 8px; }
.mcp-client {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 0.82rem; font-weight: 700;
}
.mcp-client:hover { border-color: rgba(255, 107, 0, 0.4); color: var(--orange-ink); }
.mcp-client svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Celebrity ---------- */
.celebrity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1140px; margin: 0 auto; }
.celebrity-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); color: inherit; box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.celebrity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255, 107, 0, 0.3); color: inherit; }
.celebrity-art {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #ffe8d8 0%, #fff5ee 55%, #ffe0cc 100%);
  display: grid; place-items: center;
}
.celebrity-art__initials {
  font-size: 2.6rem; font-weight: 800; color: rgba(194, 84, 10, 0.55);
  letter-spacing: -0.02em; user-select: none;
}
.celebrity-art__rings { position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 120%, rgba(255, 107, 0, 0.18), transparent 60%); }
.celebrity-play {
  position: absolute; right: 10px; bottom: 10px;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--orange);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: all 0.18s ease;
}
.celebrity-play:hover { background: var(--orange); color: #fff; transform: scale(1.06); }
.celebrity-play.is-playing { background: var(--orange); color: #fff; }
.celebrity-play svg { width: 16px; height: 16px; }
.celebrity-name { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.celebrity-blurb { font-size: 0.82rem; color: var(--slate); line-height: 1.55; flex: 1; }
.celebrity-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px; background: var(--cream);
  color: var(--orange-ink); font-size: 0.82rem; font-weight: 700;
  border: 1px solid rgba(255, 107, 0, 0.18);
}
.celebrity-cta:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1140px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 22px 24px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.price-card.is-popular { border: 2px solid var(--orange); box-shadow: 0 16px 40px rgba(255, 107, 0, 0.16); }
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.02em;
}
.price-card__name { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.price-card__price { display: flex; align-items: baseline; gap: 3px; margin: 0 0 4px; }
.price-card__price .cur { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.price-card__price .num { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.price-card__price .per { font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.price-card__note { font-size: 0.76rem; color: var(--muted); margin: 0 0 16px; min-height: 18px; }
.price-card__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; flex: 1; }
.price-card__list li { display: flex; gap: 8px; font-size: 0.83rem; color: #475569; line-height: 1.45; }
.price-card__list svg { width: 15px; height: 15px; color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.price-card__list b { color: var(--ink); font-weight: 800; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 22px; }

/* ---------- Quotes ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm); margin: 0;
}
.quote-stars { display: flex; gap: 2px; color: var(--orange); }
.quote-stars svg { width: 14px; height: 14px; }
.quote-text { font-size: 0.92rem; line-height: 1.7; color: #334155; margin: 0; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 10px; }
.quote-avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #ffe0cc, #ffc9a8); color: var(--orange-ink);
  font-weight: 800; font-size: 0.95rem;
}
.quote-name { font-size: 0.88rem; font-weight: 800; color: var(--ink); }
.quote-role { font-size: 0.76rem; color: var(--muted); }
.quotes-proof { text-align: center; margin-top: 26px; color: var(--slate); font-size: 0.9rem; }
.quotes-proof b { color: var(--orange); font-weight: 800; font-size: 1.05rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1140px; margin: 0 auto; }
.feature-card {
  background: #fff; border-radius: 16px; padding: 26px 24px; border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1); }
.feature-icon { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.feature-card h3 a { color: var(--orange) !important; }
.feature-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.feature-details { display: grid; gap: 6px; }
.feature-details p { font-size: 0.8rem; color: #64748b; margin: 0; padding-left: 14px; position: relative; }
.feature-details p::before { content: "•"; position: absolute; left: 2px; color: var(--orange); font-weight: 800; }

/* ---------- Free tools ---------- */
.free-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1140px; margin: 0 auto; }
.free-tool-card {
  display: flex; gap: 11px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: inherit; transition: all 0.18s ease;
}
.free-tool-card:hover { border-color: rgba(255, 107, 0, 0.35); transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.free-tool-icon { font-size: 1.1rem; line-height: 1.3; flex-shrink: 0; }
.free-tool-name { font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.free-tool-desc { font-size: 0.76rem; color: var(--slate); line-height: 1.45; margin-top: 2px; }
.more-tools { text-align: center; margin-top: 22px; }
.more-tools button {
  background: none; border: none; color: var(--orange-ink); font-weight: 700;
  font-size: 0.88rem; cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 18px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font-size: 0.96rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--orange); font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--slate); font-size: 0.9rem; line-height: 1.7; }
.faq details[open] summary { color: var(--orange-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.88); padding: 60px 0 30px; margin-top: 0; }
.site-footer .container { padding: 0 32px; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-col { min-width: 190px; }
.footer-col--grow { margin-left: auto; }
.site-footer h5 { font-size: 0.95rem; font-weight: 800; color: #fff; margin: 0 0 14px; letter-spacing: 0.02em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.85rem; }
.footer-links a:hover { color: #fff !important; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.5);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #fff; opacity: 0.8; display: grid; place-items: center; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 19px; height: 19px; }
.footer-appbadges { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.footer-appbadges span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
  padding: 6px 10px; font-size: .72rem; color: rgba(255,255,255,.8);
}

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  padding: 12px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
}
.chat-fab:hover { background: var(--ink-2); }
.chat-fab .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.chat-panel {
  position: fixed; right: 20px; bottom: 76px; width: 344px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24); z-index: 70;
  display: none; overflow: hidden;
}
.chat-panel.is-open { display: flex; flex-direction: column; animation: fadeUp 0.2s ease both; }
.chat-panel__head { background: var(--cream); padding: 14px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.chat-panel__head strong { font-size: 0.92rem; color: var(--ink); }
.chat-panel__head small { font-size: 0.72rem; color: #16a34a; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.chat-panel__body { padding: 14px 16px; max-height: 300px; overflow-y: auto; display: grid; gap: 9px; background: #fcfcfd; }
.chat-msg { font-size: 0.83rem; line-height: 1.55; padding: 9px 12px; border-radius: 12px; max-width: 88%; }
.chat-msg--bot { background: var(--cream-2); color: #334155; border-top-left-radius: 4px; }
.chat-msg--user { background: var(--orange); color: #fff; justify-self: end; border-top-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: #fcfcfd; }
.chat-quick button {
  border: 1px solid rgba(255, 107, 0, 0.24); background: #fff; color: var(--orange-ink);
  border-radius: 999px; padding: 6px 11px; font-size: 0.74rem; font-weight: 700; cursor: pointer;
}
.chat-quick button:hover { background: var(--cream); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 14px; font-size: 0.83rem; font-family: inherit; color: var(--ink);
}
.chat-form button { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--orange); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 600;
  padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(15,23,42,.28);
  animation: toastIn 0.22s ease both;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 11px 14px; font-size: 0.92rem; font-family: inherit; color: var(--ink);
  background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}
.textarea { resize: vertical; min-height: 150px; line-height: 1.65; }
.range { width: 100%; accent-color: var(--orange); }
.input-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: 46px 20px 40px; text-align: center; }
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.01em; }
.page-hero p { margin: 0 auto; max-width: 660px; color: var(--slate-2); font-size: 1rem; line-height: 1.6; }
.crumbs { font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.crumbs a { color: var(--slate); }
.crumbs span { margin: 0 6px; }

/* ---------- Voice library ---------- */
.library-toolbar {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
  display: grid; gap: 12px; position: sticky; top: 66px; z-index: 40;
}
.library-toolbar__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-wrap { position: relative; flex: 1 1 280px; min-width: 220px; }
.search-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search-wrap .input { padding-left: 38px; }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-strong); background: #fff; color: #475569;
  border-radius: 999px; padding: 7px 14px; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease;
}
.chip:hover { border-color: rgba(255, 107, 0, 0.4); color: var(--orange-ink); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.library-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: var(--slate); margin-bottom: 14px; font-weight: 600; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.library-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm); transition: all 0.18s ease; position: relative;
}
.library-card:hover { border-color: rgba(255, 107, 0, 0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.library-card.is-playing { border-color: var(--brand-terracotta); background: #fffaf7; }
.library-card__top { display: flex; align-items: center; gap: 10px; }
.avatar-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; color: #fff; flex-shrink: 0;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}
.library-card__name { font-size: 0.95rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.library-card__meta { font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
.library-card__desc { font-size: 0.79rem; color: var(--slate); line-height: 1.5; min-height: 34px; }
.library-card__tags { display: flex; gap: 5px; flex-wrap: wrap; }
.library-card__actions { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.fav-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.fav-btn svg { width: 15px; height: 15px; }
.fav-btn.is-on { color: #e11d48; border-color: rgba(225, 29, 72, 0.3); background: #fff1f4; }
.play-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; background: var(--cream); color: var(--orange-ink);
  border-radius: 10px; height: 34px; font-size: 0.79rem; font-weight: 800; cursor: pointer;
}
.play-btn:hover { background: var(--orange); color: #fff; }
.library-card.is-playing .play-btn { background: var(--orange); color: #fff; }
.play-btn svg { width: 13px; height: 13px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 11px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.pager button.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pager button[disabled] { opacity: 0.4; cursor: not-allowed; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--slate); }
.empty-state strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }

/* ---------- Studio ---------- */
.studio-shell { background: var(--cream-2); padding: 34px 20px 70px; }
.studio-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; max-width: 1140px; margin: 0 auto; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.panel__head h2 { margin: 0; font-size: 0.98rem; font-weight: 800; color: var(--ink); }
.panel__body { padding: 18px; }
.tool-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 14px 0; background: #fcfcfd; }
.tool-tab {
  border: 1px solid transparent; background: transparent; color: var(--slate);
  padding: 9px 14px; border-radius: 10px 10px 0 0; font-size: 0.86rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.tool-tab svg { width: 15px; height: 15px; }
.tool-tab.is-active { background: #fff; border-color: var(--line); border-bottom-color: #fff; color: var(--orange-ink); margin-bottom: -1px; }
.tool-panel { display: none; }
.tool-panel.is-active { display: block; }
.counter { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--muted); font-weight: 600; margin-top: 6px; }
.dropzone {
  border: 2px dashed #e2e8f0; border-radius: 14px; padding: 34px 18px; text-align: center;
  color: var(--slate); background: #fcfcfd; cursor: pointer; transition: all 0.18s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--orange); background: var(--cream-2); color: var(--orange-ink); }
.dropzone svg { width: 30px; height: 30px; color: var(--orange); margin: 0 auto 8px; }
.dropzone strong { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 3px; }
.dropzone small { font-size: 0.76rem; }
.doc-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.doc-list li { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: #475569; background: #f8fafc; border-radius: 9px; padding: 8px 11px; }
.doc-list svg { width: 14px; height: 14px; color: var(--orange); }
.speaker-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.speaker-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fcfcfd; }
.speaker-box span { font-size: 0.72rem; font-weight: 800; color: var(--orange-ink); text-transform: uppercase; letter-spacing: 0.08em; }
.player-box { background: var(--cream-2); border: 1px solid rgba(255, 107, 0, 0.16); border-radius: 14px; padding: 14px; margin-top: 4px; }
.player-box__row { display: flex; align-items: center; gap: 12px; }
.big-play {
  width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--orange);
  color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.28);
}
.big-play:hover { background: var(--orange-hover); }
.big-play svg { width: 18px; height: 18px; }
.player-meta { flex: 1; min-width: 0; }
.player-meta strong { display: block; font-size: 0.88rem; color: var(--ink); }
.player-meta small { font-size: 0.75rem; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; margin-top: 6px; }
.wave i { flex: 1; background: #e2d3c6; border-radius: 2px; height: 40%; }
.player-box.is-active .wave i { background: linear-gradient(180deg, #ffb27a, var(--orange)); animation: wave 0.9s ease-in-out infinite alternate; }
@keyframes wave { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.history li { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; }
.history strong { display: block; font-size: 0.84rem; color: var(--ink); font-weight: 700; margin-bottom: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history small { font-size: 0.72rem; color: var(--muted); }
.voice-picker { display: grid; gap: 8px; max-height: 232px; overflow-y: auto; padding-right: 4px; }
.voice-picker__item {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--line); cursor: pointer; background: #fff;
}
.voice-picker__item:hover { border-color: rgba(255, 107, 0, 0.35); }
.voice-picker__item.is-active { border-color: var(--orange); background: var(--cream-2); }
.voice-picker__item .n { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.voice-picker__item .d { font-size: 0.7rem; color: var(--muted); }

/* ---------- Analysis tool ---------- */
.analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1060px; margin: 0 auto; }
.analysis-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 12px;
}
.analysis-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.analysis-card p { margin: 0; font-size: 0.85rem; color: var(--slate); line-height: 1.6; }
.mic-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; background: var(--orange); color: #fff; border-radius: 999px;
  padding: 11px 20px; font-size: 0.86rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.24);
}
.mic-btn:hover { background: var(--orange-hover); }
.mic-btn.is-rec { background: #dc2626; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); } }
.analysis-result { display: none; gap: 12px; border-top: 1px dashed var(--line-strong); padding-top: 14px; }
.analysis-result.is-on { display: grid; }
.score-ring { display: flex; align-items: center; gap: 14px; }
.score-ring__num { font-size: 1.9rem; font-weight: 800; color: var(--orange); line-height: 1; }
.score-ring__num small { font-size: 0.7rem; color: var(--muted); font-weight: 700; }
.metric-list { display: grid; gap: 8px; }
.metric { display: grid; grid-template-columns: 74px 1fr 38px; align-items: center; gap: 8px; font-size: 0.78rem; color: #475569; font-weight: 700; }
.metric .bar { height: 6px; border-radius: 4px; background: #eef2f7; overflow: hidden; }
.metric .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ffb27a, var(--orange)); }
.metric b { text-align: right; color: var(--ink); font-weight: 800; }
.analysis-note { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }

/* ---------- Clone flow ---------- */
.clone-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1000px; margin: 0 auto; }
.clone-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.clone-step__num { width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--orange-ink); font-size: 0.78rem; font-weight: 800; display: grid; place-items: center; margin-bottom: 9px; }
.clone-step.is-done .clone-step__num { background: #dcfce7; color: #15803d; }
.clone-step h4 { margin: 0 0 6px; font-size: 0.92rem; font-weight: 800; color: var(--ink); }
.clone-step p { margin: 0 0 12px; font-size: 0.79rem; color: var(--slate); line-height: 1.55; min-height: 44px; }
.clone-progress { height: 8px; border-radius: 999px; background: #eef2f7; overflow: hidden; margin-top: 10px; }
.clone-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffb27a, var(--orange)); transition: width 0.3s ease; }

/* ---------- MCP page ---------- */
.mcp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
.mcp-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); }
.mcp-step h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.mcp-step p { margin: 0 0 12px; font-size: 0.85rem; color: var(--slate); line-height: 1.6; }
.code {
  background: var(--ink-2); color: #e2e8f0; border-radius: 12px; padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem;
  line-height: 1.65; overflow-x: auto; position: relative;
}
.code button {
  position: absolute; right: 8px; top: 8px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; border-radius: 7px; font-size: 0.68rem;
  padding: 4px 8px; cursor: pointer;
}

/* ---------- Flag chip ---------- */
.flag-chip {
  display: inline-grid; place-items: center; flex-shrink: 0;
  min-width: 22px; height: 15px; padding: 0 3px;
  border-radius: 3px; background: #eef2f7; color: #475569;
  font-size: 9px; font-weight: 800; letter-spacing: 0.04em; line-height: 1;
  vertical-align: middle;
}
.library-card__meta .flag-chip { margin-right: 4px; background: #f1f5f9; }

/* ---------- Utilities ---------- */
.u-center { text-align: center; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-hide { display: none !important; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 800;
  background: var(--cream); color: var(--orange-ink); border-radius: 999px; padding: 4px 10px;
}
.notice {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: 12px; padding: 11px 14px; font-size: 0.8rem; line-height: 1.55;
}

/* ---------- Responsive ----------
   断点与竞品 anytospeech.com 完全一致：
   Bootstrap 5 基础 576/768/992/1200/1400（容器 540/720/960/1140/1320）
   + 竞品自定义 1100/900/780/640/575/520/480/380
   ---------- */
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 769px)  { .container { padding-left: 30px; padding-right: 30px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

@media (max-width: 1100px) {
  .analyze-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .header-link { display: none; }
  .nav-burger { display: inline-flex; }
  .lang-switch > summary span { display: none; }
  .voice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clone-wrap { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; }
  .celebrity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) { .free-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .quotes-grid { grid-template-columns: 1fr; max-width: 520px; }
  .clone-steps { grid-template-columns: 1fr; }
  .library-toolbar { position: static; }
}
@media (max-width: 780px) {
  .analyze-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .container { padding: 0 15px; }
  .site-header__inner { padding: 14px 15px; }
  .hero { padding: 30px 15px 38px; }
}
@media (max-width: 767px) { .features-grid { grid-template-columns: 1fr; max-width: 500px; gap: 20px; } }
@media (max-width: 720px) { .mcp-card { flex-direction: column; align-items: flex-start; gap: 14px; } }
@media (max-width: 640px) {
  .voice-grid, .voice-grid--3, .voice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__title { font-size: clamp(1.5rem, 6.2vw, 1.95rem); margin-bottom: 8px; }
  .hero__cta { width: 100%; justify-content: center; }
  .section { padding: 48px 15px; }
  .analyze-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .celebrity-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { flex-direction: column; gap: 26px; }
  .footer-col--grow { margin-left: 0; }
  .site-footer .container { padding: 0 20px; }
  .speaker-row { grid-template-columns: 1fr; }
  .chat-panel { right: 10px; bottom: 70px; }
}
@media (max-width: 575px) { .free-tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .analyze-grid { grid-template-columns: 1fr; max-width: 340px; }
  .hero-tab { padding: 11px 15px; font-size: 0.86rem; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 18px; }
  .lang-switch > summary { padding: 8px 9px; }
}
@media (max-width: 380px) { .hero-tab { padding: 11px 15px; font-size: 0.86rem; } }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
/* =========================================================
   真实媒资：logo / 旗帜 / 角色头像 / 商店徽章
   ========================================================= */
.brand__logo { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }

.celebrity-art__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

img.flag-chip {
  display: inline-block; width: 20px; height: 14px; min-width: 0; padding: 0;
  object-fit: cover; border-radius: 2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  vertical-align: -2px;
}
.flag-chip--text { width: auto; height: 15px; padding: 0 3px; box-shadow: none; }

.lang-switch summary img,
.lang-menu a img {
  width: 20px; height: 14px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1); flex-shrink: 0;
}
.lang-switch summary img { margin-right: 7px; }
.lang-menu a { display: flex; align-items: center; gap: 8px; }

.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.footer-badges img { height: 44px; width: auto; display: block; }
.footer-badges__stores { display: flex; align-items: center; gap: 8px; }
.footer-badges__taaft { border-radius: 10px; }

.mock-chip--provider {
  background: #fff3e9; color: #c2540a; border: 1px solid rgba(255, 107, 0, 0.18);
}

@media (max-width: 640px) {
  .footer-badges img { height: 38px; }
}

.voice-picker__avatar {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0;
  background: #fff3e9;
}

.quote-avatar--img { object-fit: cover; border-radius: 50%; display: block; }
