/* =========================================================
   SpeechKey — Premium Realtime Translation Platform
   Design system + global styles
   ========================================================= */

:root {
  /* Surface palette — deep dark, blue-black cast */
  --bg-0: #0F1117;
  --bg-1: #13161F;
  --bg-2: #1A1E28;
  --bg-3: #21263A;
  --surface: rgba(255, 255, 255, 0.030);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* Text */
  --fg: #F5F7FB;
  --fg-soft: #C2C9D6;
  --fg-mute: #9CA3B5;
  --fg-dim: #6B7385;

  /* Accent — brand blue from icon #2F6BFF */
  --accent: #2F6BFF;
  --accent-bright: #4D87FF;
  --accent-deep: #1A5BD8;
  --accent-glow: rgba(47, 107, 255, 0.45);
  --accent-soft: rgba(47, 107, 255, 0.14);

  /* Coral — icon center bar */
  --coral: #FF6B5C;
  --coral-soft: rgba(255, 107, 92, 0.15);

  /* Status */
  --ok: #2DD36F;
  --warn: #FFB800;
  --bad: #FF453A;

  /* Geometry */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 500px at 50% -8%, rgba(47,107,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 85% 20%, rgba(77,135,255,0.06), transparent 70%),
    linear-gradient(180deg, #141720 0%, #0F1117 60%);
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: white; }

/* Language switch */
.lang-switch {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  vertical-align: middle;
}
.lang-switch button {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-mute);
  padding: 4px 11px; border-radius: 999px; transition: all 0.18s var(--ease);
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.lang-switch button:hover[aria-pressed="false"] { color: var(--fg); }

/* =========================================================
   Type
   ========================================================= */

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
h4 { font-size: 16px; font-weight: 500; }

p { margin: 0; line-height: 1.55; color: var(--fg-soft); text-wrap: pretty; }

.mono { font-family: var(--font-mono); font-feature-settings: "ss01", "ss02"; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  border-radius: 50%;
}

.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #cfe0fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-text {
  background: linear-gradient(120deg, #ffffff 0%, #60a5fa 55%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Layout primitives
   ========================================================= */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; padding: 120px 0; }
section.tight { padding: 80px 0; }

/* Clear the fixed nav when jumping to an anchor (native hash nav / deep links) */
section[id], header[id], [id="enterprise"] { scroll-margin-top: 90px; }

@media (max-width: 720px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 20px; }
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--fg-soft); max-width: 580px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 0;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  color: white;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 0 0 1px rgba(96,165,250, 0.4),
    0 18px 40px -12px rgba(58, 100, 240, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 0 0 1px rgba(96,165,250, 0.55),
    0 22px 50px -10px rgba(58, 100, 240, 0.65);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--border-strong); }
.btn-quiet { color: var(--fg-soft); padding: 0 14px; }
.btn-quiet:hover { color: var(--fg); }

.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1180px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 22px;
  background: rgba(8, 11, 21, 0.65);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: top 0.3s var(--ease), background 0.3s;
}
.nav.scrolled { background: rgba(8, 11, 21, 0.85); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-mark {
  width: 26px; height: 26px;
  display: block;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 2px 10px rgba(47,107,255,0.35);
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-name { font-size: 15px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--fg-soft);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,0.04); }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta .btn { height: 38px; font-size: 13.5px; padding: 0 16px; white-space: nowrap; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav { padding: 8px 10px 8px 18px; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 130px 0 80px; }
}
@media (max-width: 720px) {
  .hero { padding: 118px 0 64px; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-soft);
  margin-bottom: 28px;
}
.hero-tag .pill {
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid rgba(96,165,250, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  max-width: 540px;
  margin-bottom: 36px;
  color: var(--fg-soft);
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.hero-actions .btn-quiet { font-size: 14px; }

.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-feats {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fg-soft);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.feat-pill svg { color: var(--accent-bright); }
.hero-meta .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-mute);
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Phone mockup */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
}
.hero-glow {
  position: absolute; inset: -40px;
  background:
    radial-gradient(400px 400px at 50% 50%, rgba(59,130,246, 0.25), transparent 70%),
    radial-gradient(300px 300px at 30% 70%, rgba(96,165,250, 0.15), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.phone {
  position: relative;
  width: 340px;
  height: 680px;
  background: linear-gradient(165deg, #1a0f2c 0%, #0e0820 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 46px;
  padding: 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 60px 120px -30px rgba(0,0,0,0.7),
    0 30px 60px -20px rgba(58, 100, 240, 0.35);
  z-index: 1;
}
.phone::before {
  content: "";
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #13161e;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(600px 400px at 50% -100px, rgba(59,130,246, 0.25), transparent 70%),
    linear-gradient(180deg, #0e0822 0%, #13161e 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-soft);
}
.phone-status .icons { display: flex; gap: 5px; align-items: center; }

.phone-top {
  padding: 50px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-soft);
}
.phone-lang .flag {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}
.swap-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg-mute);
}

.phone-body {
  flex: 1;
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.bubble {
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.4;
  position: relative;
  animation: bubbleIn 0.6s var(--ease) both;
}
.bubble.them {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  align-self: flex-start;
  max-width: 84%;
}
.bubble.me {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: white;
  align-self: flex-end;
  max-width: 84%;
  box-shadow: 0 10px 30px -10px rgba(58, 100, 240, 0.6);
}
.bubble .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}
.bubble.translating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-mute);
  font-size: 12px;
}
.bubble.translating .typing {
  display: inline-flex; gap: 3px;
}
.bubble.translating .typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: typing 1.2s ease-in-out infinite;
}
.bubble.translating .typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.translating .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.phone-foot {
  padding: 14px 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.mic-btn {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 10px 30px -8px rgba(58, 100, 240, 0.7);
}
.mic-btn::after {
  content: "";
  position: absolute; inset: -10px;
  border: 1.5px solid rgba(96,165,250, 0.4);
  border-radius: 50%;
  animation: micPulse 2s ease-out infinite;
}
@keyframes micPulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 36px;
  padding: 0 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.waveform .bar {
  width: 2.5px;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
  border-radius: 999px;
  animation: wave 1s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 22px; }
}

/* Side floating cards */
.float-card {
  position: absolute;
  background: rgba(12, 17, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--fg);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.float-card .icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-bright);
  flex-shrink: 0;
}
.float-card .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); }
.float-card .value { font-size: 13px; color: var(--fg); }
.float-card-1 { top: 20%; left: -30px; }
.float-card-2 { bottom: 18%; right: -30px; animation-delay: 1.5s; }
.float-card-3 { top: 58%; left: -50px; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 980px) {
  .float-card-1 { left: 10px; }
  .float-card-2 { right: 10px; }
  .float-card-3 { display: none; }
}
@media (max-width: 540px) {
  .float-card-1, .float-card-2 { display: none; }
  .phone { width: 300px; height: 600px; }
  .hero-stage { min-height: 580px; }
}

/* Logo strip */
.logos {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logos-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.logo-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--fg-soft);
  font-size: 14px;
  transition: all 0.25s var(--ease);
}
.logo-chip:hover { border-color: var(--border-strong); color: var(--fg); transform: translateY(-2px); }
.logo-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* =========================================================
   Problem section — comparison
   ========================================================= */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.compare-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.compare-card .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.compare-card.bad .badge { background: rgba(239, 68, 68, 0.1); color: var(--bad); border: 1px solid rgba(239, 68, 68, 0.25); }
.compare-card.good .badge { background: rgba(96,165,250, 0.12); color: var(--accent-bright); border: 1px solid rgba(96,165,250, 0.3); }
.compare-card h3 { margin-bottom: 8px; }

.connection-vis {
  margin: 20px 0;
  padding: 24px 16px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  position: relative;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problem-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-soft);
}
.problem-list .ico {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 11px;
}
.bad .ico { background: rgba(239, 68, 68, 0.12); color: var(--bad); }
.good .ico { background: rgba(34, 197, 94, 0.12); color: var(--ok); }

/* =========================================================
   Solution — flow visualization
   ========================================================= */

.flow-stage {
  margin-top: 36px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(59,130,246, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  position: relative;
  overflow: hidden;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}
@media (max-width: 880px) {
  .flow-row { grid-template-columns: 1fr; }
  .flow-row .arrow-cell { display: none; }
}

.flow-node {
  padding: 18px 16px;
  background: rgba(12, 17, 32, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  text-align: center;
  position: relative;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.flow-node .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-bright);
}
.flow-node .label { font-size: 13px; color: var(--fg); font-weight: 500; }
.flow-node .sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--fg-mute); text-transform: uppercase; }

.arrow-cell {
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-mute);
}
.arrow-cell .line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.arrow-cell .line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -30%;
  width: 30%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  filter: blur(3px);
  animation: flowDot 2.4s linear infinite;
}
@keyframes flowDot {
  to { left: 100%; }
}

/* =========================================================
   China stable mode — globe
   ========================================================= */

.china-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .china-grid { grid-template-columns: 1fr; gap: 36px; } }

.globe-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(59,130,246, 0.1), transparent 60%);
  border-radius: 50%;
  display: grid; place-items: center;
}
.globe-stage svg { width: 100%; height: 100%; }

.china-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.china-feat {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  align-items: flex-start;
}
.china-feat .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-bright);
  flex-shrink: 0;
}
.china-feat h4 { font-size: 15px; margin-bottom: 4px; }
.china-feat p { font-size: 14px; color: var(--fg-mute); }

/* =========================================================
   BYOK
   ========================================================= */

.byok-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .byok-grid { grid-template-columns: 1fr; } }

.byok-card {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(59,130,246, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.byok-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.byok-head .title {
  display: flex; gap: 12px; align-items: center;
  font-weight: 500;
}
.byok-head .icon-box {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(96,165,250, 0.12);
  color: var(--accent-bright);
  display: grid; place-items: center;
}
.byok-head .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
}
.byok-head .status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
}

.providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.provider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.provider:hover { border-color: var(--border-strong); }
.provider.active {
  border-color: rgba(96,165,250, 0.4);
  background: rgba(96,165,250, 0.06);
  box-shadow: 0 0 0 1px rgba(96,165,250, 0.2) inset;
}
.provider-logo {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
}
.provider-body { flex: 1; }
.provider-name { font-size: 14px; font-weight: 500; color: var(--fg); }
.provider-key { font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-mute); margin-top: 2px; }
.provider-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: transparent;
}
.provider.active .provider-check {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.byok-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--fg-mute);
}
.byok-foot .pri { color: var(--accent-bright); }

.byok-points { display: flex; flex-direction: column; gap: 22px; }
.byok-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.byok-point .num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
  background: rgba(96,165,250, 0.06);
}
.byok-point h4 { font-size: 17px; margin-bottom: 4px; }
.byok-point p { font-size: 15px; color: var(--fg-soft); }

/* =========================================================
   Use cases
   ========================================================= */

.usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .usecases { grid-template-columns: 1fr; } }

.usecase {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease);
  cursor: default;
}
.usecase:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-3px);
}
.usecase h4 { font-size: 17px; margin-bottom: 4px; }
.usecase p { font-size: 13.5px; color: var(--fg-mute); }
.usecase .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: grid; place-items: center;
  margin-bottom: 18px;
}

/* =========================================================
   Simplicity
   ========================================================= */

.simple-stage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .simple-stage { grid-template-columns: 1fr; } }

.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 18px; align-items: flex-start; cursor: pointer; transition: all 0.2s; padding: 14px; border-radius: var(--radius); border: 1px solid transparent; }
.step:hover { background: var(--surface); border-color: var(--border); }
.step .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(96,165,250, 0.1);
  color: var(--accent-bright);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
}
.step.active .num {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 0 6px rgba(59,130,246, 0.15);
}
.step h4 { font-size: 18px; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--fg-mute); }

/* =========================================================
   Feature grid
   ========================================================= */

.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  min-height: 220px;
}
.feat:hover { border-color: var(--border-strong); background: var(--surface-strong); }
.feat h3 { font-size: 19px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--fg-mute); }
.feat .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feat.span-6 { grid-column: span 6; }
.feat.span-4 { grid-column: span 4; }
.feat.span-3 { grid-column: span 3; }
.feat.span-8 { grid-column: span 8; }

.feat-vis {
  margin-top: 20px;
  height: 100px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (max-width: 980px) {
  .feat.span-6, .feat.span-4, .feat.span-3, .feat.span-8 { grid-column: span 12; }
}

/* =========================================================
   Trust
   ========================================================= */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 780px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.trust-card .stat {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1;
}
.trust-card .stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 16px; }
.trust-card p { font-size: 14.5px; color: var(--fg-soft); }

/* =========================================================
   Pricing
   ========================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 780px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  padding: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  background:
    radial-gradient(600px 400px at 50% -100px, rgba(59,130,246, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(96,165,250, 0.04), rgba(255,255,255,0.01));
  border-color: rgba(96,165,250, 0.35);
  box-shadow:
    0 0 0 1px rgba(96,165,250, 0.1) inset,
    0 30px 80px -20px rgba(58, 100, 240, 0.25);
}
.price-card.muted { background: var(--surface); }
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 18px;
}
.price-card.featured .tier { color: var(--accent-bright); }
.price-card .price {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .price small { font-size: 16px; color: var(--fg-mute); font-weight: 400; letter-spacing: 0; }
.price-card h3 { margin: 18px 0 8px; font-size: 22px; }
.price-card p.lead { font-size: 15px; color: var(--fg-soft); margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card li {
  display: flex; align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg-soft);
}
.price-card li .check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(96,165,250, 0.12);
  color: var(--accent-bright);
  display: grid; place-items: center;
}
.price-card.muted .price { color: var(--fg-mute); }

/* =========================================================
   Final CTA
   ========================================================= */

.final {
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(59,130,246, 0.2), transparent 70%);
  pointer-events: none;
}
.final h2 {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 24px;
  position: relative;
}
.final p { font-size: 19px; max-width: 540px; margin: 0 auto 40px; position: relative; }
.final .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =========================================================
   Footer
   ========================================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-col p { font-size: 14px; color: var(--fg-mute); margin-top: 12px; max-width: 280px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}

/* =========================================================
   Tweaks panel — minimal additions
   ========================================================= */

.tweaks-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  padding: 10px 16px;
  background: rgba(12, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  display: none;
}

/* =========================================================
   App UI — recreation of the real SpeechKey screen
   ========================================================= */

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0a0c14;
  padding: 12px 12px 16px;
  gap: 10px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #131722;
  border-radius: 14px;
}
.app-logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1c2742;
  display: grid; place-items: center;
  color: #3b82f6;
  flex-shrink: 0;
}
.app-header .nm { font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }
.app-header .sb { font-size: 10.5px; color: #6b7388; margin-top: 1px; }

.app-chips {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 2px;
}
.app-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.app-chip.ok { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.18); }
.app-chip.live { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.22); }
.app-chip .d { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.app-chip.muted { opacity: 0; transform: translateX(-4px); transition: all 0.4s var(--ease); }
.app-chip.muted.on { opacity: 1; transform: none; }

.app-bars {
  display: flex; gap: 4px; flex: 1; justify-content: flex-end; align-items: center;
}
.app-bars i {
  display: block; width: 12px; height: 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  transition: background 0.25s var(--ease);
}
.app.live .app-bars i { background: #3b82f6; }

.app-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #131722;
  border-radius: 14px;
}
.app-mic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #8c93a8;
  display: grid; place-items: center;
  transition: all 0.4s var(--ease);
  flex-shrink: 0;
}
.app.live .app-mic {
  background: rgba(59,130,246,0.18);
  color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.06);
}
.app-status .col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-status .lbl { font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em; transition: color 0.3s; }
.app-status .sub { font-size: 10.5px; color: #6b7388; transition: color 0.3s; }
.app-status .right { margin-left: auto; text-align: right; }
.app-status .right .lbl { color: #34d399; }
.app-status .dots {
  display: flex; gap: 3px; justify-content: flex-end; margin-top: 4px;
}
.app-status .dots i {
  display: block; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.25s var(--ease);
}
.app.live .app-status .dots i { background: #3b82f6; }
.app.live .app-status .dots i:nth-child(3) { background: rgba(59,130,246,0.4); }

.app-card {
  flex: 1;
  background: #131722;
  border-radius: 14px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  gap: 10px;
}
.app-card-head {
  display: flex; gap: 9px; align-items: flex-start;
}
.app-card-head .ic {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
  display: grid; place-items: center; flex-shrink: 0;
}
.app-card-head .meta {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; color: #6b7388; font-weight: 600;
}
.app-card-head .ttl {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2; margin-top: 1px;
}

.app-card-body {
  flex: 1; min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2px 4px;
  position: relative;
}
.app-empty {
  color: #6b7388; font-size: 13.5px; line-height: 1.35;
  transition: opacity 0.4s var(--ease);
}
.app-text {
  font-size: 16.5px; line-height: 1.32; letter-spacing: -0.01em;
  color: #f5f7fb; font-weight: 500;
}
.app-text .l {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.app-text .l.in { opacity: 1; transform: none; }
.app-text .l + .l { margin-top: 6px; color: #c2c9d6; font-size: 14.5px; }
.caret {
  display: inline-block; width: 6px; height: 16px; vertical-align: -2px;
  background: #60a5fa; margin-left: 2px;
  animation: caret 0.9s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.scroll-pill {
  position: absolute;
  right: 8px; bottom: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: #60a5fa;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.app.live .scroll-pill { opacity: 1; }

.app-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 9px;
  height: 48px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.app-cta.start {
  background: linear-gradient(180deg, #60a5fa, #3a5ef0);
  color: white;
  box-shadow: 0 10px 24px -8px rgba(58,100,240,0.55);
}
.app-cta.stop {
  background: rgba(239,68,68,0.06);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.45);
  box-shadow: none;
}

.app-tabs {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  align-self: center;
  margin-top: -2px;
}
.app-tab {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  color: #6b7388;
  font-weight: 500;
}
.app-tab.on { background: rgba(59,130,246,0.14); color: #60a5fa; }
.app-tab svg { opacity: 0.85; }

/* =========================================================
   Languages & Voices section
   ========================================================= */

.prov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1080px) { .prov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prov-grid { grid-template-columns: 1fr; } }

.prov-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s var(--ease);
}
.prov-card:hover { border-color: var(--border-strong); background: var(--surface-strong); }
.prov-card .head {
  display: flex; align-items: center; gap: 12px;
}
.prov-card .logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.prov-card .name { font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.prov-card .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  margin-top: 3px;
  text-transform: uppercase;
}
.prov-card p { font-size: 13.5px; color: var(--fg-mute); flex: 1; line-height: 1.5; }
.prov-card .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.prov-strong { display: flex; gap: 5px; flex-wrap: wrap; }
.prov-strong span {
  font-family: var(--font-mono); font-size: 10.5px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(96,165,250,0.08); color: var(--accent-bright);
  border: 1px solid rgba(96,165,250,0.18);
  letter-spacing: 0.04em;
}

.lang-table {
  margin: 56px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.lang-table .lh {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.lang-table .lh h3 { font-size: 17px; letter-spacing: -0.01em; }
.lang-table .lh .legend {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.lang-table .lh .legend span { display: inline-flex; align-items: center; gap: 6px; }
.lang-table .lh .legend i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.lang-table .lh .legend .full i { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.lang-table .lh .legend .strong i { background: white; box-shadow: 0 0 8px white; }
.lang-table .lh .legend .partial i { background: var(--fg-mute); opacity: 0.6; }
.lang-table .lh .legend .none i { background: var(--fg-dim); opacity: 0.5; }

.lang-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}
.lang-row:last-child { border-bottom: 0; }
.lang-row.head {
  background: rgba(255,255,255,0.02);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-mute); font-weight: 600;
  padding: 12px 24px;
}
.lang-row > div:not(:first-child) { text-align: center; }
.lang-row > div:first-child { color: var(--fg); display: flex; align-items: center; gap: 10px; }
.lang-row .flag {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}
.lang-cell {
  display: inline-flex; align-items: center; justify-content: center;
}
.lang-cell.full { color: var(--accent-bright); }
.lang-cell.full::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}
.lang-cell.strong { color: white; }
.lang-cell.strong::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: white; box-shadow: 0 0 10px rgba(255,255,255,0.6);
  position: relative;
}
.lang-cell.strong::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: white; box-shadow: 0 0 10px rgba(255,255,255,0.4);
  margin-left: -4px;
}
.lang-cell.partial { color: var(--fg-mute); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.lang-cell.none { color: var(--fg-dim); opacity: 0.4; font-family: var(--font-mono); font-size: 11px; }

@media (max-width: 720px) {
  .lang-row { padding: 12px 16px; grid-template-columns: 1.3fr repeat(4, 0.8fr); font-size: 12px; }
  .lang-row.head { padding: 10px 16px; }
  .lang-table .lh { padding: 14px 16px; }
}

.arch-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 980px) { .arch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .arch-grid { grid-template-columns: 1fr; } }

.arch-card {
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
  transition: all 0.25s var(--ease);
}
.arch-card:hover { border-color: var(--border-strong); }
.arch-fn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.arch-eng { font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.arch-eng .accent { color: var(--accent-bright); }

/* utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ADDED: hero USP, BYOK-USP lead, provider groups, voices,
   setup link
   ========================================================= */

/* Hero USP line */
.hero-usp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 15px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(96,165,250,0.25);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.hero-usp .key-ico {
  display: inline-grid; place-items: center;
  color: var(--accent-bright);
  flex-shrink: 0;
}

/* BYOK USP lead section */
#byok-usp .usp-compare {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 760px) { #byok-usp .usp-compare { grid-template-columns: 1fr; } }
.usp-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 26px 28px;
}
.usp-card.mine {
  border-color: rgba(96,165,250,0.4);
  background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(59,130,246,0.02));
  box-shadow: 0 0 0 1px rgba(59,130,246,0.12), 0 20px 60px -30px var(--accent-glow);
}
.usp-head { margin-bottom: 18px; }
.usp-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.usp-tag.accent { color: var(--accent-bright); }
.usp-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.usp-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15.5px; color: var(--fg-soft); letter-spacing: -0.01em;
}
.usp-card.mine .usp-list li { color: var(--fg); font-weight: 500; }
.usp-list .ico {
  width: 20px; height: 20px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
}
.usp-list .ico.bad { background: rgba(239,68,68,0.12); color: var(--bad); }
.usp-list .ico.good { background: rgba(96,165,250,0.16); color: var(--accent-bright); }

/* Provider groups in BYOK card */
.provider-group-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 18px 0 10px;
}
.provider-group-label:first-of-type { margin-top: 4px; }

/* Voices block (section 05) */
.voices-block {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 26px 28px;
}
.voices-head { margin-bottom: 18px; }
.voices-head h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 5px; }
.voices-head p { font-size: 14px; color: var(--fg-mute); }
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .voices-grid { grid-template-columns: 1fr; } }
.voice-card {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-2, rgba(255,255,255,0.02));
  padding: 18px 20px;
}
.voice-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.voice-card .logo {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.voice-card .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.voice-card .tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.04em; color: var(--accent-bright);
  margin-top: 2px;
}
.voice-card p { font-size: 13.5px; color: var(--fg-soft); line-height: 1.5; }

/* Setup guide link (section 07) */
.setup-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: 15px; font-weight: 500;
  color: var(--accent-bright);
  letter-spacing: -0.01em;
  transition: gap 0.25s var(--ease);
}
.setup-link:hover { gap: 12px; }
.setup-link .arrow { transition: transform 0.25s var(--ease); }
