:root {
  color-scheme: dark;
  --bg: #f7f8f6;
  --text: #141817;
  --muted: #63706a;
  --border: #dde4de;
  --surface: #ffffff;
  --surface-soft: #eef2ee;
  --menu-surface: #ffffff;
  --accent: #18765e;
  --accent-strong: #0e533f;
  --blue: #265fbc;
  --hover-accent: #265fbc;
  --hover-text: #ffffff;
  --amber: #9a6a14;
  --shadow: 0 22px 60px rgba(20, 24, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ds-font-sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: 22px;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  isolation: isolate;
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    backdrop-filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 34%, transparent);
  background: color-mix(in srgb, var(--bg) 54%, transparent);
  content: "";
  pointer-events: none;
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.header-hidden:not(.is-menu-open) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 18px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
footer a:hover,
.legal-links a:hover {
  color: var(--accent);
}

body[data-brand="kimitalk"] main {
  position: relative;
  isolation: isolate;
}

.kimitalk-page-bg {
  --page-bg-y: 0px;
  position: absolute;
  top: clamp(-260px, -18vw, -180px);
  left: 50%;
  z-index: 0;
  display: block;
  width: 100vw;
  height: clamp(1680px, 190vh, 2600px);
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%) translate3d(0, var(--page-bg-y), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 62%, rgba(0, 0, 0, 0.88) 74%, rgba(0, 0, 0, 0.36) 94%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 62%, rgba(0, 0, 0, 0.88) 74%, rgba(0, 0, 0, 0.36) 94%, transparent 100%);
}

.kimitalk-page-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% top;
}

.kimitalk-page-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 21, 0.94) 0%, rgba(5, 13, 21, 0.78) 35%, rgba(5, 13, 21, 0.24) 72%, rgba(5, 13, 21, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 13, 21, 0.34) 0%, rgba(5, 13, 21, 0.08) 28%, rgba(5, 13, 21, 0.34) 48%, rgba(5, 13, 21, 0.52) 64%, rgba(5, 13, 21, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.hero {
  --hero-bg-y: 0px;
  --hero-structure-y: 0px;
  --hero-grid-y: 0px;
  --hero-ring-y: 0px;
  --hero-line-y: 0px;
  --hero-content-y: 0px;
  --bg: #08111a;
  --text: #eef8fc;
  --muted: #a8b9c5;
  --border: rgba(142, 201, 229, 0.2);
  --surface: rgba(17, 29, 41, 0.72);
  --surface-soft: rgba(11, 20, 30, 0.78);
  --accent: #8ee8ff;
  --accent-strong: #b9f3ff;
  --blue: #7aa8ff;
  --hover-accent: #b9f3ff;
  --hover-text: #041019;
  --glass-line: rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  z-index: 3;
  min-height: calc(100vh - 172px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 46px 0 58px;
  color: var(--text);
}

.hero::before {
  position: absolute;
  top: clamp(-260px, -18vw, -180px);
  bottom: clamp(-340px, -22vw, -220px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  background: linear-gradient(180deg, #0c1722 0%, #08111a 58%, #07101a 100%);
  content: none;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 82%, transparent 100%);
  transform: translateX(-50%);
  will-change: transform;
}

.hero > * {
  position: relative;
  z-index: 2;
  transform: translate3d(0, var(--hero-content-y), 0);
  will-change: transform;
}

.hero::after {
  position: absolute;
  top: clamp(-230px, -16vw, -150px);
  bottom: clamp(-320px, -20vw, -210px);
  left: 50%;
  z-index: 0;
  width: 100vw;
  background:
    radial-gradient(circle at 74% 38%, rgba(142, 232, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(122, 168, 255, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(6, 17, 27, 0) 0%, rgba(6, 17, 27, 0.42) 100%);
  background-position:
    center var(--hero-structure-y),
    center var(--hero-ring-y),
    center var(--hero-line-y);
  background-size:
    auto,
    auto,
    auto;
  content: "";
  opacity: 0.58;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
  transform: translateX(-50%) translate3d(0, var(--hero-structure-y), 0);
  will-change: transform;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(22px, 3.4vw, 44px);
  width: fit-content;
  max-width: 100%;
}

.hero-title-text {
  min-width: 0;
  width: max-content;
  max-width: 100%;
}

.hero-title-logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(112px, 11vw, 164px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(142, 232, 255, 0.18));
}

.rotating-word {
  display: inline-block;
  min-width: 8ch;
  color: var(--accent);
  will-change: opacity, transform;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-static {
  display: inline-block;
  color: var(--accent);
  font-size: 0.84em;
  line-height: 1.02;
}

.rotating-word.is-swapping {
  animation: wordSwap 0.44s ease;
}

.hero-title-lockup .rotating-word {
  min-width: 0;
}

/* .lead lives in design-system.css */

.subheadline {
  max-width: 760px;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.24;
  font-weight: 720;
}

.privacy-accent-word {
  color: #ff9447;
}

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

.hero .button.primary {
  color: #041019;
  box-shadow: 0 14px 34px rgba(94, 197, 255, 0.2);
}

.hero-actions .button:active:not([aria-disabled="true"]) {
  transform: scale(0.985) translateY(0);
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

/* Button styles live in design-system.css */

.brand img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.product-visual {
  display: none;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  text-align: center;
}

.product-visual img {
  width: min(180px, 44vw);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 22px 34px color-mix(in srgb, var(--accent) 20%, transparent));
}

.product-visual figcaption {
  max-width: 18rem;
  font-size: 0.95rem;
}

.section h2 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
  line-height: 1.22;
  font-weight: 760;
}

.section-heading p,
.plans p,
.faq-grid p,
.compact > p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 74px 0 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 28px;
}

.plans article {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.tier-comparison {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

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

.tier-summary article {
  position: relative;
  display: grid;
  min-height: 230px;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.tier-summary article::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--glass-line), transparent 38%),
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 16rem);
  content: "";
  opacity: 0.72;
}

.tier-summary article > * {
  position: relative;
  z-index: 1;
}

.tier-summary article.featured {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 56%),
    var(--surface);
  box-shadow: var(--shadow-glow);
}

.tier-summary article:hover,
.tier-summary article:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow: var(--shadow-glow);
}

.tier-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-summary h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  font-weight: 820;
}

.tier-summary p:not(.tier-label) {
  margin: 0;
  color: var(--muted);
}

.tier-summary strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.tier-matrix {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.2);
}

.tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(120px, 0.55fr) minmax(120px, 0.55fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 16px 20px;
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.tier-row:first-child {
  border-top: 0;
}

.tier-group {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 20px 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 11%, transparent), transparent 68%),
    color-mix(in srgb, var(--surface) 42%, transparent);
}

.tier-group:first-child,
.tier-head + .tier-group {
  border-top: 0;
}

.tier-group span {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-head {
  min-height: 52px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-row > span:first-child {
  color: var(--text);
  font-weight: 720;
}

.tier-row:not(.tier-head) > span:not(:first-child) {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 38px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--muted);
  font-size: 0;
  font-weight: 760;
  line-height: 1.1;
}

.tier-row [data-state]::after {
  font-size: 1rem;
  font-weight: 820;
  line-height: 1;
}

.tier-row [data-state="yes"] {
  border-color: color-mix(in srgb, #35d08a 54%, var(--border));
  background: color-mix(in srgb, #35d08a 14%, transparent);
  color: #35d08a;
}

.tier-row [data-state="yes"]::after {
  content: "✓";
}

.tier-row [data-state="no"] {
  color: color-mix(in srgb, var(--muted) 82%, var(--bg));
}

.tier-row [data-state="no"]::after {
  content: "–";
}

.feature-note-marker {
  position: relative;
  top: -0.25em;
  margin-left: 0.15em;
  color: var(--accent-strong);
  font-size: 0.72em;
  font-weight: 860;
  line-height: 0;
}

.tier-footnote {
  max-width: 920px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.tier-footnote span {
  color: var(--accent-strong);
  font-weight: 860;
}

.system-recommendation {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
  align-items: start;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 44%),
    color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.18);
}

.system-recommendation h2 {
  max-width: 560px;
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.system-recommendation-copy {
  display: grid;
  gap: 16px;
}

.system-recommendation-copy p {
  margin: 0;
  color: var(--muted);
}

.system-recommendation-copy strong {
  color: var(--text);
  font-weight: 860;
}

.system-recommendation-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-recommendation-list li {
  display: grid;
  grid-template-columns: minmax(92px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 48%, transparent);
}

.system-recommendation-list strong {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.system-recommendation-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.system-recommendation-note {
  margin-top: -2px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.system-recommendation-note span {
  color: var(--accent-strong);
  font-weight: 860;
}

.mac-advisor {
  display: grid;
  gap: 12px;
}

.mac-advisor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mac-advisor-header strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.mac-advisor-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mac-advisor-controls {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.mac-advisor-question {
  display: grid;
  gap: 3px;
}

.mac-advisor-question p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 840;
  line-height: 1.12;
}

.mac-advisor-question span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.mac-advisor-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mac-advisor-group legend {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mac-advisor-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mac-advisor-needs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mac-advisor-option,
.mac-advisor-need {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--bg) 52%, transparent)),
    color-mix(in srgb, var(--surface) 58%, transparent);
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font: inherit;
  font-size: 0.9rem;
  font-weight: 820;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.mac-advisor-need {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 3px;
  min-height: 82px;
  padding: 13px 14px;
  text-align: left;
}

.mac-advisor-need span {
  color: inherit;
  font-size: 0.98rem;
  font-weight: 860;
  line-height: 1.06;
}

.mac-advisor-need small {
  color: color-mix(in srgb, currentColor 66%, var(--muted));
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.25;
}

.mac-advisor-option:hover,
.mac-advisor-option:focus-visible,
.mac-advisor-need:hover,
.mac-advisor-need:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.mac-advisor-option.is-active,
.mac-advisor-option[aria-pressed="true"],
.mac-advisor-need.is-active,
.mac-advisor-need[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 78%, transparent);
  background:
    radial-gradient(circle at 22% 0%, color-mix(in srgb, white 34%, transparent), transparent 48%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, white 6%), color-mix(in srgb, var(--accent) 64%, var(--bg)));
  color: #07131c;
  box-shadow:
    0 16px 36px color-mix(in srgb, var(--accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.mac-advisor-need.is-locked {
  cursor: default;
}

.mac-advisor-need.is-locked:hover,
.mac-advisor-need.is-locked:focus-visible {
  transform: none;
}

.mac-advisor-result {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(16px, 2.3vw, 22px);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 8rem),
    linear-gradient(155deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--bg) 62%, transparent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.18);
}

.mac-advisor-result::before,
.mac-advisor-result::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mac-advisor-result::before {
  top: 18px;
  right: 18px;
  width: 88px;
  height: 88px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--accent) 5%, transparent),
    inset 0 0 22px color-mix(in srgb, var(--accent) 14%, transparent);
  opacity: 0.72;
}

.mac-advisor-result::after {
  inset: auto 18px 18px auto;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 68%, transparent), transparent);
  opacity: 0.64;
}

.mac-advisor-result p,
.mac-advisor-result h3,
.mac-advisor-result > span,
.mac-advisor-stack,
.mac-advisor-metrics {
  position: relative;
  z-index: 1;
}

.mac-advisor-result p {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mac-advisor-result h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.04;
}

.mac-advisor-result > span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.mac-advisor-stack {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 58%),
    color-mix(in srgb, var(--bg) 28%, transparent);
}

.mac-advisor-stack-row {
  display: grid;
  grid-template-columns: minmax(72px, 0.35fr) minmax(82px, 0.42fr) minmax(72px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mac-advisor-stack-row span,
.mac-advisor-stack-row strong {
  min-width: 0;
  line-height: 1.1;
}

.mac-advisor-stack-row span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mac-advisor-stack-row strong {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 0.82rem;
  font-weight: 830;
}

.mac-advisor-stack-row i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 46%, transparent);
}

.mac-advisor-stack-row i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 72%, var(--accent)));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent);
  content: "";
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mac-advisor-stack-row[data-stack="whisper"] i::before {
  width: var(--advisor-whisper, 44%);
}

.mac-advisor-stack-row[data-stack="gemma"] i::before {
  width: var(--advisor-gemma, 8%);
}

.mac-advisor-stack-row[data-stack="ram"] i::before {
  width: var(--advisor-ram, 54%);
}

.mac-advisor-signal {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mac-advisor-signal span {
  position: absolute;
  top: 46%;
  left: -24px;
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 74%, white 10%), transparent);
  opacity: 0;
  animation: macAdvisorSignal 2800ms ease-in-out infinite;
}

.mac-advisor-signal span:nth-child(2) {
  top: 54%;
  animation-delay: 360ms;
}

.mac-advisor-signal span:nth-child(3) {
  top: 62%;
  animation-delay: 720ms;
}

.mac-advisor-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.mac-advisor-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 0.76rem;
  font-weight: 820;
}

.mac-advisor[data-fit="caution"] .mac-advisor-header strong,
.mac-advisor[data-fit="caution"] .mac-advisor-metrics span:first-child {
  border-color: color-mix(in srgb, #ffd166 52%, transparent);
  background: color-mix(in srgb, #ffd166 12%, transparent);
}

.mac-advisor[data-fit="pro"] .mac-advisor-header strong,
.mac-advisor[data-fit="pro"] .mac-advisor-metrics span:first-child {
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 14%, transparent);
}

.mac-advisor[data-fit="limited"] .mac-advisor-header strong,
.mac-advisor[data-fit="limited"] .mac-advisor-metrics span:first-child {
  border-color: color-mix(in srgb, #ff8a8a 46%, transparent);
  background: color-mix(in srgb, #ff8a8a 12%, transparent);
}

.mac-advisor-privacy {
  color: color-mix(in srgb, var(--muted) 86%, var(--accent));
  font-size: 0.84rem;
  line-height: 1.45;
}

@keyframes macAdvisorSignal {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(0.3);
  }

  18% {
    opacity: 0.85;
  }

  62% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translateX(340px) scaleX(1);
  }
}

.model-proof-heading {
  max-width: 820px;
}

.model-proof-layout {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.model-proof-flow {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(44px, 0.28fr) minmax(180px, 1fr) minmax(44px, 0.28fr) minmax(140px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 16rem),
    color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.18);
}

.model-proof-node {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 100px;
  padding: 18px 14px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 24%, transparent);
  text-align: center;
}

.model-proof-node.is-model {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent),
    color-mix(in srgb, var(--bg) 24%, transparent);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 12%, transparent);
}

.model-proof-node span {
  color: var(--text);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 860;
  line-height: 1;
}

.model-proof-node small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
}

.model-proof-rail {
  position: relative;
  height: 2px;
  min-width: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 46%, var(--border));
}

.model-proof-rail::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 9px;
  height: 9px;
  border-top: 2px solid color-mix(in srgb, var(--accent) 74%, var(--text));
  border-right: 2px solid color-mix(in srgb, var(--accent) 74%, var(--text));
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

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

.model-proof-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 48%),
    color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.16);
}

.model-proof-stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.model-proof-stat strong {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 860;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.model-proof-stat span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-proof-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.model-proof-card p:not(.model-proof-stat),
.model-proof-sources {
  margin: 0;
  color: var(--muted);
}

.model-proof-card p:not(.model-proof-stat) {
  font-size: 0.95rem;
  line-height: 1.48;
}

.model-proof-sources {
  font-size: 0.84rem;
  line-height: 1.45;
}

.model-proof-sources a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: none;
}

.model-proof-sources a:hover,
.model-proof-sources a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.waitlist-section {
  --waitlist-grid-y: 0px;
  --bg: #08111a;
  --text: #eef8fc;
  --muted: #a8b9c5;
  --border: rgba(142, 201, 229, 0.2);
  --surface: rgba(17, 29, 41, 0.82);
  --surface-soft: rgba(11, 20, 30, 0.84);
  --accent: #8ee8ff;
  --accent-strong: #b9f3ff;
  --blue: #7aa8ff;
  --hover-accent: #b9f3ff;
  --hover-text: #041019;
  --glass-line: rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding-top: clamp(28px, 5vw, 58px);
  padding-bottom: clamp(18px, 3vw, 34px);
  color: var(--text);
}

.waitlist-section::before {
  position: absolute;
  top: clamp(-340px, -24vw, -230px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: clamp(620px, 46vw, 860px);
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 13, 21, 0.08) 18%, rgba(5, 13, 21, 0.36) 42%, rgba(5, 13, 21, 0.48) 58%, rgba(5, 13, 21, 0.18) 84%, transparent 100%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.waitlist-panel {
  --waitlist-tilt-x: 0deg;
  --waitlist-tilt-y: 0deg;
  --waitlist-glow-x: 50%;
  --waitlist-glow-y: 50%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 62px);
  overflow: hidden;
  padding: clamp(24px, 4.4vw, 46px);
  border: 1px solid rgba(142, 232, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 232, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 100%, rgba(122, 168, 255, 0.09), transparent 20rem),
    linear-gradient(135deg, rgba(12, 23, 34, 0.54), rgba(5, 12, 20, 0.64));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.38),
    0 26px 80px rgba(94, 197, 255, 0.12),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 62%, transparent);
  backdrop-filter: blur(26px) saturate(1.22);
  transform: perspective(1300px) rotateX(var(--waitlist-tilt-x)) rotateY(var(--waitlist-tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transform-origin: center;
  transition:
    transform 160ms var(--ds-ease-out),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.waitlist-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(142, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(122, 168, 255, 0.06) 1px, transparent 1px);
  background-position:
    center var(--waitlist-grid-y),
    center var(--waitlist-grid-y);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(110deg, black, transparent 72%);
  opacity: 0.42;
  pointer-events: none;
}

.waitlist-panel::after {
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--waitlist-glow-x) var(--waitlist-glow-y), rgba(142, 232, 255, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), transparent 36%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ds-ease-out);
}

.waitlist-panel.is-tilting {
  border-color: rgba(142, 232, 255, 0.34);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.42),
    0 32px 92px rgba(94, 197, 255, 0.16),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 76%, transparent);
}

.waitlist-panel.is-tilting::after {
  opacity: 0.66;
}

.waitlist-copy,
.waitlist-form {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 160ms var(--ds-ease-out);
}

.waitlist-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  transform: translateZ(28px);
}

.waitlist-copy > * {
  transform: translateZ(10px);
}

.waitlist-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 4.7vw, 4.15rem);
  font-weight: 860;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.waitlist-title-lines {
  max-width: 100%;
}

.waitlist-title-lines span {
  display: block;
  white-space: nowrap;
}

.waitlist-copy p:not(.eyebrow) {
  max-width: 50ch;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 620;
  line-height: 1.55;
}

.waitlist-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.waitlist-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 0.82rem;
  font-weight: 760;
  transform: translateZ(12px);
}

.waitlist-points li::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  content: "";
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.waitlist-form {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(142, 232, 255, 0.07), transparent 58%),
    rgba(4, 12, 20, 0.58);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--glass-line) 64%, transparent);
  backdrop-filter: blur(22px) saturate(1.2);
  transform: translateZ(46px);
}

.waitlist-form label {
  display: grid;
  gap: 11px;
  margin: 0;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.waitlist-form label small {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-size: 0.75em;
  font-weight: 720;
  letter-spacing: 0;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"],
.waitlist-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--text);
  font-family: var(--ds-font-sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
  font-size: 1rem;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 48%, transparent);
  font-weight: 500;
  opacity: 0.42;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  min-height: 48px;
  padding: 0 14px;
}

.waitlist-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 14px;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.waitlist-consent {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.45;
}

.waitlist-consent input {
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 6px;
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(142, 232, 255, 0.04);
  cursor: pointer;
  place-content: center;
  transition:
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.waitlist-consent input::before {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #041019;
  border-left: 2px solid #041019;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.waitlist-consent input:checked {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 0 0 4px rgba(142, 232, 255, 0.12);
}

.waitlist-consent input:active {
  transform: scale(0.94);
}

.waitlist-consent input:checked::before {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.waitlist-consent a {
  color: var(--accent-strong);
  font-weight: 780;
  text-decoration: none;
}

.waitlist-consent a:hover,
.waitlist-consent a:focus-visible {
  text-decoration: underline;
}

.waitlist-turnstile {
  min-height: 65px;
  margin-top: -2px;
}

.waitlist-turnstile:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.waitlist-form .button {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.waitlist-form .button.primary {
  color: #041019;
  box-shadow: 0 14px 34px rgba(94, 197, 255, 0.2);
}

.waitlist-form .button.primary:active:not(:disabled) {
  transform: scale(0.985) translateY(0);
  box-shadow: 0 8px 20px rgba(94, 197, 255, 0.16);
}

.waitlist-form .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.waitlist-status {
  min-height: 1.45em;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.45;
}

.waitlist-status[data-state="success"] {
  color: color-mix(in srgb, var(--accent-strong) 86%, var(--text));
}

.waitlist-status[data-state="error"] {
  color: #b83b16;
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-panel,
  .waitlist-panel::after,
  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form,
  .waitlist-form input,
  .waitlist-form textarea,
  .waitlist-consent input,
  .waitlist-consent input::before,
  .waitlist-form .button {
    transition: none !important;
  }

  .waitlist-panel,
  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form {
    transform: none !important;
  }
}

.waitlist-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-confirm-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 22rem),
    linear-gradient(145deg, #0c1722, #050b12);
}

.waitlist-confirm-card {
  width: min(520px, 100%);
  margin: 0;
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 15rem),
    color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 28px 90px color-mix(in srgb, #000 42%, transparent);
  display: grid;
  gap: 16px;
}

.waitlist-confirm-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 860;
  line-height: 0.98;
}

.waitlist-confirm-card p:not(.kicker) {
  margin: 0;
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  font-size: 1.05rem;
  font-weight: 620;
  line-height: 1.55;
}

.waitlist-confirm-card .button {
  justify-self: start;
  margin-top: 8px;
}

.ai-workflow-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(54px, 7vw, 92px);
  scroll-margin-top: 96px;
}

.ai-workflow-section > * {
  position: relative;
  z-index: 1;
}

.ai-workflow-heading {
  max-width: 820px;
}

.ai-workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: stretch;
  gap: clamp(20px, 4vw, 44px);
  margin-top: clamp(26px, 4vw, 42px);
}

.ai-workflow-demo,
.ai-workflow-copy {
  border: 1px solid var(--ds-panel-border);
  background: var(--ds-panel-bg);
  box-shadow: var(--ds-panel-shadow);
  backdrop-filter: blur(var(--ds-panel-blur)) saturate(var(--ds-panel-saturate));
}

.ai-workflow-demo,
.ai-workflow-copy {
  --ai-card-glow-x: 50%;
  --ai-card-glow-y: 50%;
  --ai-card-lift: 0px;
  --ai-card-scale: 1;
  --ai-card-tilt-x: 0deg;
  --ai-card-tilt-y: 0deg;
  outline: none;
  transform:
    perspective(1100px)
    translate3d(0, var(--ai-card-lift), 0)
    rotateX(var(--ai-card-tilt-x))
    rotateY(var(--ai-card-tilt-y))
    scale(var(--ai-card-scale));
  transform-style: preserve-3d;
  transition:
    transform 260ms var(--ds-ease),
    border-color 220ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
  will-change: transform;
}

.ai-workflow-demo::after,
.ai-workflow-copy::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--ai-card-glow-x) var(--ai-card-glow-y), color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 62%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.ai-workflow-demo:is(:hover, :focus-visible, .is-interacting),
.ai-workflow-copy:is(:hover, :focus-visible, .is-interacting) {
  --ai-card-lift: -2px;
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow:
    0 26px 74px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line, rgba(255, 255, 255, 0.12)) 72%, transparent);
}

.ai-workflow-demo:is(:hover, :focus-visible, .is-interacting)::after,
.ai-workflow-copy:is(:hover, :focus-visible, .is-interacting)::after {
  opacity: 1;
}

.ai-workflow-demo:active,
.ai-workflow-copy:active {
  --ai-card-scale: 0.996;
}

.ai-workflow-demo:focus-visible,
.ai-workflow-copy:focus-visible {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent),
    0 26px 74px rgba(0, 0, 0, 0.24);
}

.ai-workflow-demo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 3.2vw, 32px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 18rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface-soft) 58%, transparent));
}

.ai-workflow-demo::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(120deg, black, transparent 70%);
  opacity: 0.38;
  pointer-events: none;
}

.ai-workflow-window {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.ai-workflow-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 0.82rem;
  font-weight: 760;
}

.ai-workflow-window-top strong {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 42%, var(--border));
}

.window-dot:nth-child(2) {
  background: color-mix(in srgb, var(--amber) 42%, var(--border));
}

.window-dot:nth-child(3) {
  background: color-mix(in srgb, #62d98c 42%, var(--border));
}

.ai-workflow-stack {
  display: grid;
  gap: 10px;
}

.ai-workflow-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
  transform: translateZ(0);
}

.ai-workflow-card p,
.ai-workflow-card blockquote,
.ai-workflow-card div {
  margin: 0;
}

.ai-workflow-card p,
.ai-workflow-kicker {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.ai-workflow-card blockquote,
.ai-workflow-card div {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 660;
  line-height: 1.48;
}

.ai-workflow-card--output {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--border));
  background:
    radial-gradient(circle at 96% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 12rem),
    color-mix(in srgb, var(--surface) 74%, transparent);
}

.ai-workflow-card--output div {
  position: relative;
  font-family: var(--ds-font-mono, "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
}

.ai-workflow-card--output div::after {
  display: inline-block;
  width: 0.55ch;
  height: 1.08em;
  margin-left: 0.18ch;
  background: color-mix(in srgb, var(--accent-strong) 76%, var(--text));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent);
  content: "";
  opacity: 0;
  transform: translateY(0.18em);
}

.ai-workflow-demo:is(:hover, :focus-visible, .is-interacting) .ai-workflow-card--spoken,
.ai-workflow-section.is-visible .ai-workflow-card--spoken {
  opacity: 0.78;
  transform: translate3d(0, -2px, 16px);
}

.ai-workflow-demo:is(:hover, :focus-visible, .is-interacting) .ai-workflow-card--output,
.ai-workflow-section.is-visible .ai-workflow-card--output {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  box-shadow:
    0 18px 44px color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line, rgba(255, 255, 255, 0.12)) 68%, transparent);
  transform: translate3d(0, 2px, 28px);
}

.ai-workflow-section.is-visible .ai-workflow-card--output div::after {
  animation: workflowCaret 1.05s steps(2, end) infinite;
  opacity: 0.72;
}

.ai-workflow-transfer {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 34px;
  overflow: hidden;
}

.ai-workflow-transfer::before {
  width: 2px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 42%, transparent), transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
  content: "";
}

.ai-workflow-transfer span {
  position: absolute;
  top: -8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-strong) 82%, var(--text));
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent) 10%, transparent),
    0 0 22px color-mix(in srgb, var(--accent) 26%, transparent);
  opacity: 0;
}

.ai-workflow-transfer span:nth-child(2) {
  width: 5px;
  height: 5px;
  animation-delay: 0.45s;
}

.ai-workflow-transfer span:nth-child(3) {
  width: 4px;
  height: 4px;
  animation-delay: 0.9s;
}

.ai-workflow-section.is-visible .ai-workflow-transfer span {
  animation: workflowPacket 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.ai-workflow-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 24px;
}

.ai-workflow-copy > * {
  position: relative;
  z-index: 1;
}

.ai-workflow-copy h3,
.ai-workflow-copy p {
  margin: 0;
}

.ai-workflow-copy h3 {
  max-width: 15ch;
  color: var(--text);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
}

.ai-workflow-points {
  display: grid;
  gap: 10px;
}

.ai-workflow-points span {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  isolation: isolate;
  overflow: hidden;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 13%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 24%, transparent);
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.4;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.ai-workflow-points span::before {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.48em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent);
  content: "";
}

.ai-workflow-points span::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 30px;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 46%, transparent), transparent 72%);
  content: "";
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-workflow-copy:is(:hover, :focus-visible, .is-interacting) .ai-workflow-points span,
.ai-workflow-section.is-visible .ai-workflow-points span {
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  transform: translate3d(4px, 0, 18px);
}

.ai-workflow-copy:is(:hover, :focus-visible, .is-interacting) .ai-workflow-points span::after,
.ai-workflow-section.is-visible .ai-workflow-points span::after {
  opacity: 1;
  transform: scaleX(1);
}

.ai-workflow-points span > * {
  position: relative;
  z-index: 1;
}

.ai-workflow-section.is-visible .ai-workflow-demo {
  animation: workflowCardIn 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ai-workflow-section.is-visible .ai-workflow-copy {
  animation: workflowCardIn 620ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

.ai-workflow-section.is-visible .ai-workflow-points span:nth-child(2) {
  transition-delay: 45ms;
}

.ai-workflow-section.is-visible .ai-workflow-points span:nth-child(3) {
  transition-delay: 90ms;
}

@keyframes workflowCardIn {
  from {
    opacity: 0;
    transform:
      perspective(1100px)
      translate3d(0, 18px, 0)
      rotateX(var(--ai-card-tilt-x))
      rotateY(var(--ai-card-tilt-y))
      scale(0.988);
  }
  to {
    opacity: 1;
    transform:
      perspective(1100px)
      translate3d(0, var(--ai-card-lift), 0)
      rotateX(var(--ai-card-tilt-x))
      rotateY(var(--ai-card-tilt-y))
      scale(var(--ai-card-scale));
  }
}

@keyframes workflowPacket {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  18% {
    opacity: 0.86;
  }
  72% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(1);
  }
}

@keyframes workflowCaret {
  0%,
  46% {
    opacity: 0.78;
  }
  47%,
  100% {
    opacity: 0;
  }
}

.ai-tool-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.ai-tool-track {
  display: flex;
  width: max-content;
  opacity: 1;
  animation: aiToolMarquee 58s linear infinite;
  animation-play-state: paused;
}

.app-compat-section.is-visible .ai-tool-track {
  animation-play-state: running;
}

.app-compat-section.is-scrolly-controlled .ai-tool-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  animation: none;
  transition: none;
  will-change: transform;
}

.app-compat-section.is-scrolly-controlled {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: block;
  padding: 0;
  pointer-events: none;
  transform: none !important;
}

.voice-flow-section.is-viewport-locked {
  z-index: 6;
}

.app-compat-section.is-scrolly-controlled .app-compat-heading {
  opacity: 0;
}

.app-compat-section.is-scrolly-controlled .ai-tool-marquee {
  contain: layout style;
  position: absolute;
  inset: 0;
  height: 100svh;
  margin: 0;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.app-compat-section.is-scrolly-controlled .ai-tool-set {
  display: block;
  padding: 0;
}

.app-compat-section.is-scrolly-controlled .ai-tool-set[aria-hidden="true"] {
  display: block;
}

.app-compat-section.is-scrolly-controlled .ai-tool-chip {
  --tool-color: rgba(203, 229, 237, 0.86);
  backface-visibility: hidden;
  contain: layout paint style;
  position: absolute;
  top: 0;
  left: 0;
  min-width: auto;
  min-height: 34px;
  padding: 6px 10px 6px 6px;
  border: 1px solid color-mix(in srgb, #cbe5ed 16%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, #06111b 34%, transparent);
  color: color-mix(in srgb, #e8f6fb 74%, transparent);
  box-shadow:
    0 0 28px color-mix(in srgb, #8ed7ef 8%, transparent),
    0 1px 0 color-mix(in srgb, #ffffff 6%, transparent) inset;
  filter: grayscale(1) saturate(0.18);
  will-change: opacity, transform;
}

.app-compat-section.is-scrolly-controlled .ai-tool-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
}

.app-compat-section.is-scrolly-controlled .ai-tool-icon::before {
  width: 19px;
  height: 19px;
  background: color-mix(in srgb, #cbe5ed 82%, transparent);
  filter: drop-shadow(0 0 12px color-mix(in srgb, #8ed7ef 18%, transparent));
  opacity: 0.78;
}

.app-compat-section.is-scrolly-controlled .ai-tool-icon[data-initial]::before {
  width: 22px;
  height: 22px;
  border-color: color-mix(in srgb, #cbe5ed 28%, transparent);
  background: color-mix(in srgb, #cbe5ed 9%, transparent);
  color: color-mix(in srgb, #e8f6fb 68%, transparent);
  font-size: 0.58rem;
}

.app-compat-section.is-scrolly-controlled .ai-tool-chip strong {
  color: color-mix(in srgb, #e8f6fb 82%, transparent);
  font-size: clamp(0.78rem, 0.9vw, 0.94rem);
  font-weight: 760;
  text-shadow: 0 0 16px color-mix(in srgb, #8ed7ef 12%, transparent);
}

@media (max-width: 760px) {
  .app-compat-section.is-scrolly-controlled .ai-tool-chip {
    min-width: 42px;
    min-height: 42px;
    padding: 7px;
    border-radius: 13px;
  }

  .app-compat-section.is-scrolly-controlled .ai-tool-chip strong {
    display: none;
  }
}

.ai-tool-set {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding: 14px 6px;
  opacity: 1;
}

.ai-tool-chip {
  --tool-color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 142px;
  min-height: 50px;
  padding: 8px 13px 8px 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  opacity: 1;
  white-space: nowrap;
}

.ai-tool-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.ai-tool-icon::before {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--tool-color);
  content: "";
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--tool-color) 34%, transparent)) saturate(1.12) brightness(1.08);
  opacity: 1;
  -webkit-mask: var(--tool-icon-mask) center / contain no-repeat;
  mask: var(--tool-icon-mask) center / contain no-repeat;
}

.ai-tool-icon[data-initial]::before {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid color-mix(in srgb, var(--tool-color) 58%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--tool-color) 18%, rgba(255, 255, 255, 0.04));
  color: color-mix(in srgb, var(--tool-color) 72%, #ffffff);
  content: attr(data-initial);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--tool-color) 28%, transparent));
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0;
  -webkit-mask: none;
  mask: none;
}

.ai-tool-icon img {
  display: none;
}

.ai-tool-chip strong {
  min-width: 0;
  overflow: hidden;
  color: #eef8fc;
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.1;
  opacity: 1;
  text-shadow: 0 0 18px rgba(238, 248, 252, 0.16);
  text-overflow: ellipsis;
}

.tool-claude {
  --tool-color: #d97757;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/claude.svg");
}

.tool-chatgpt {
  --tool-color: #10a37f;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/openai.svg");
}

.tool-cursor {
  --tool-color: #9aa4b2;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/cursor.svg");
}

.tool-vscode {
  --tool-color: #2f8ad8;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/visualstudiocode.svg");
}

.tool-notion {
  --tool-color: #f1eee7;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/notion.svg");
}

.tool-slack {
  --tool-color: #9b4bd8;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/slack.svg");
}

.tool-gmail {
  --tool-color: #ea4335;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/gmail.svg");
}

.tool-linear {
  --tool-color: #8b7cf6;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/linear.svg");
}

.tool-protonmail {
  --tool-color: #6d4aff;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/protonmail.svg");
}

.tool-standard-notes {
  --tool-color: #2a68ff;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/standard-notes.svg");
}

.tool-tuta {
  --tool-color: #850122;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/tuta.svg");
}

.tool-signal {
  --tool-color: #3b45fd;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/signal.svg");
}

.tool-obsidian {
  --tool-color: #7c3aed;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/obsidian.svg");
}

.tool-tresorit {
  --tool-color: #00a7e1;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/tresorit.svg");
}

.tool-cryptomator {
  --tool-color: #49b04a;
  --tool-icon-mask: url("/images/apps/kimitalk-tool-icons/cryptomator.svg");
}

.tool-apple-mail { --tool-color: #4aa3ff; }
.tool-outlook { --tool-color: #2478d4; }
.tool-teams { --tool-color: #6b6ee9; }
.tool-discord { --tool-color: #5865f2; }
.tool-telegram { --tool-color: #2ca5e0; }
.tool-apple-notes { --tool-color: #f6c945; }
.tool-textedit { --tool-color: #9ba7b4; }
.tool-pages { --tool-color: #ff9f1a; }
.tool-word { --tool-color: #2b579a; }
.tool-google-docs { --tool-color: #4285f4; }
.tool-safari { --tool-color: #0a84ff; }
.tool-chrome { --tool-color: #34a853; }
.tool-xcode { --tool-color: #31a8ff; }
.tool-bear { --tool-color: #f59e0b; }
.tool-ulysses { --tool-color: #d8dee9; }
.tool-ia-writer { --tool-color: #e8edf3; }
.tool-drafts { --tool-color: #ff8a00; }

@keyframes aiToolMarquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .ai-workflow-layout {
    grid-template-columns: 1fr;
  }

  .ai-workflow-copy h3 {
    max-width: 18ch;
  }
}

@media (max-width: 560px) {
  .ai-workflow-demo,
  .ai-workflow-copy {
    border-radius: 20px;
  }

  .ai-tool-chip {
    min-width: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-workflow-section.is-visible .ai-workflow-demo,
  .ai-workflow-section.is-visible .ai-workflow-copy,
  .ai-workflow-section.is-visible .ai-workflow-transfer span,
  .ai-workflow-section.is-visible .ai-workflow-card--output div::after {
    animation: none !important;
  }

  .ai-workflow-demo,
  .ai-workflow-copy,
  .ai-workflow-card,
  .ai-workflow-card--output,
  .ai-workflow-points span,
  .ai-workflow-points span::after {
    transition: none !important;
    transform: none !important;
  }

  .ai-workflow-demo::after,
  .ai-workflow-copy::after {
    opacity: 0 !important;
  }

  .ai-tool-track {
    flex-wrap: wrap;
    width: auto;
    animation: none !important;
  }

  .ai-tool-set {
    flex-wrap: wrap;
  }

  .ai-tool-set[aria-hidden="true"] {
    display: none;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
  box-shadow: var(--shadow);
  padding: 32px 28px;
}

.price-card,
.faq-grid article {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.price-card:hover,
.price-card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  box-shadow: var(--shadow-glow);
}

/* Plan name — used as the heading of each price card so the section
   keeps a sensible document outline for screen readers. Visual style
   matches the previous .plan-label paragraph. */
h3.plan-label,
.plan-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Price — big figure + inline cadence. tabular-nums keeps numbers
   aligned across cards. */
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.price-figure {
  color: var(--text);
  font-size: clamp(2.4rem, 5.6vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.price-figure sup {
  font-size: 0.48em;
  font-weight: 700;
  vertical-align: baseline;
  position: relative;
  top: -0.7em;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  margin-left: 1px;
}

.price-card.featured .price-figure {
  font-size: clamp(2.8rem, 6.4vw, 4rem);
}

.price-cadence {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.price-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Segmented billing toggle inside the featured card */
.price-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  font-size: 0.82rem;
  width: max-content;
  max-width: 100%;
}

.price-toggle button {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 640;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.price-toggle button[aria-checked="true"] {
  background: var(--accent);
  color: var(--hover-text, var(--bg));
  font-weight: 740;
}

.price-toggle button:not([aria-checked="true"]):hover,
.price-toggle button:not([aria-checked="true"]):focus-visible {
  color: var(--text);
}

.price-card .button {
  margin-top: auto;
}

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

.faq-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.faq-grid h3 {
  margin: 0 0 10px;
}

.faq-section .section-heading {
  max-width: 760px;
}

.faq-accordion {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--glass-line) 72%, transparent), transparent 42%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.18);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.faq-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 18rem),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 44%);
  content: "";
  opacity: 0;
  transition: opacity 0.24s ease;
}

.faq-card:hover,
.faq-card:focus-within,
.faq-card.is-open {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  box-shadow: var(--shadow-glow);
}

.faq-card:hover {
  transform: translateY(-2px);
}

.faq-card.is-open::before {
  opacity: 0.86;
}

.faq-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
}

.faq-trigger {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -6px;
}

.faq-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 34%, transparent);
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.faq-trigger-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.faq-kicker {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.faq-question {
  color: var(--text);
  font-size: clamp(1.02rem, 1.8vw, 1.32rem);
  font-weight: 820;
  line-height: 1.08;
}

.faq-preview {
  color: color-mix(in srgb, var(--muted) 84%, var(--text));
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.28;
}

.faq-toggle {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 26%, transparent);
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-strong);
  content: "";
  transition: transform 0.24s ease, opacity 0.2s ease;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-card.is-open .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease;
}

.faq-card.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-panel p {
  max-width: 76ch;
  margin: 0;
  padding: 0 72px 22px 92px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 620;
  line-height: 1.56;
}

.buy-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0;
}

.compact {
  padding-bottom: 26px;
}

.legal-section {
  padding-top: 52px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
  color: color-mix(in srgb, var(--muted) 72%, var(--bg));
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-links a {
  opacity: 0.78;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  opacity: 1;
}

@media (min-width: 921px) {
  .top-lang-switch {
    margin-left: 2px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .top-lang-trigger {
    min-width: 42px;
    min-height: 36px;
    padding: 0 9px;
    color: var(--muted);
  }

  .top-lang-chevron {
    display: none;
  }

  .top-lang-options {
    top: calc(100% + 10px);
    min-width: 112px;
  }
}

/* Button styles live in design-system.css.
   Support-pills inherit the same hover lift as buttons. */
.support-pill {
  position: relative;
  transition:
    transform 200ms var(--ds-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.support-pill:hover,
.support-pill:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--hover-accent) 38%, var(--border));
  background: color-mix(in srgb, var(--hover-accent) 16%, var(--surface));
  color: var(--hover-accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .support-pill {
    transition: none !important;
  }
}

.site-footer {
  padding: clamp(54px, 7vw, 86px) 0 58px;
  border-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 20rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--bg) 78%, transparent));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 62%, transparent);
}

.site-footer-panel::after {
  position: absolute;
  right: -14%;
  bottom: -42%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  content: "";
  filter: blur(12px);
  pointer-events: none;
}

.site-footer-brand,
.site-footer-links,
.site-footer-bottom {
  position: relative;
  z-index: 1;
}

.site-footer-brand {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer-kicker,
.site-footer-links span {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer-brand strong {
  max-width: 12ch;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 860;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.site-footer-brand p {
  max-width: 42ch;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-weight: 620;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 3vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer-links div {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.site-footer a {
  width: max-content;
  max-width: 100%;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  text-decoration: none;
  opacity: 0.78;
  transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
  opacity: 1;
  outline: none;
  transform: translateX(2px);
}

.site-footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  color: color-mix(in srgb, var(--muted) 78%, transparent);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .site-footer-panel {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 44px;
  }

  .site-footer-panel {
    border-radius: 20px;
    padding: 24px;
  }

  .site-footer-links {
    grid-template-columns: 1fr;
  }
}

@keyframes wordSwap {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  nav {
    justify-content: flex-start;
  }

  .kimitalk-page-bg {
    top: clamp(-190px, -28vw, -130px);
    height: clamp(2700px, 330vh, 3800px);
  }

  .kimitalk-page-bg img {
    object-position: 72% top;
  }

  .kimitalk-page-bg::after {
    background:
      linear-gradient(90deg, rgba(5, 13, 21, 0.96) 0%, rgba(5, 13, 21, 0.9) 48%, rgba(5, 13, 21, 0.34) 100%),
      linear-gradient(180deg, rgba(5, 13, 21, 0.5) 0%, rgba(5, 13, 21, 0.3) 54%, rgba(5, 13, 21, 0.74) 100%);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 34px;
  }

  .hero::before {
    top: clamp(-190px, -28vw, -130px);
    bottom: clamp(-280px, -36vw, -190px);
  }

  .hero-title-lockup {
    gap: clamp(14px, 3vw, 24px);
    max-width: min(100%, 760px);
  }

  .hero-title-logo {
    width: clamp(72px, 14vw, 104px);
  }

  .tier-summary,
  .waitlist-panel,
  .plans,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form {
    transform: none;
  }

  .tier-summary article,
  .plans article,
  .faq-grid article {
    min-height: auto;
  }

  .faq-trigger {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 14px;
    padding: 16px;
  }

  .faq-panel p {
    padding: 0 58px 20px 78px;
  }

  .tier-row {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 0.45fr) minmax(100px, 0.45fr);
  }

  .system-recommendation {
    grid-template-columns: 1fr;
  }

  .mac-advisor-board {
    grid-template-columns: 1fr;
  }

  .model-proof-flow {
    grid-template-columns: 1fr;
  }

  .model-proof-rail {
    justify-self: center;
    width: 2px;
    height: 34px;
  }

  .model-proof-rail::after {
    top: auto;
    right: auto;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .model-proof-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 520px) {
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-title-lockup {
    display: block;
    width: 100%;
  }

  .hero-title-text {
    width: 100%;
  }

  .faq-trigger {
    grid-template-columns: 1fr 30px;
  }

  .faq-index {
    display: none;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-preview {
    font-size: 0.86rem;
  }

  .faq-panel p {
    padding: 0 16px 18px;
    font-size: 0.91rem;
  }

  .hero-title-lockup h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .subheadline,
  .lead {
    max-width: 100%;
  }

  .waitlist-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .waitlist-copy h2 {
    max-width: 12ch;
  }

  .waitlist-title-lines {
    max-width: none;
    font-size: clamp(2.3rem, 10.6vw, 3.05rem);
  }

  .waitlist-points {
    display: grid;
  }

  .hero-title-logo {
    display: none;
  }

  .button {
    width: 100%;
  }

  .tier-summary article {
    padding: 22px;
  }

  .tier-matrix {
    border-radius: 16px;
  }

  .tier-head {
    display: none;
  }

  .tier-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .tier-row > span:first-child {
    grid-column: 1 / -1;
  }

  .tier-row:not(.tier-head) > span:not(:first-child) {
    justify-self: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .tier-row:not(.tier-head) > span:not(:first-child)::before {
    margin-right: 8px;
    color: color-mix(in srgb, var(--muted) 78%, var(--bg));
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    content: "Basic";
  }

  .tier-row:not(.tier-head) > span:nth-child(3)::before {
    content: "Pro";
  }

  .tier-footnote {
    font-size: 0.82rem;
  }

  .system-recommendation {
    padding: 20px;
    border-radius: 16px;
  }

  .system-recommendation-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mac-advisor-options,
  .mac-advisor-needs {
    grid-template-columns: 1fr;
  }

  .mac-advisor-option,
  .mac-advisor-need {
    min-height: 44px;
  }

  .mac-advisor-result {
    min-height: 210px;
  }

  .model-proof-node {
    min-height: 86px;
  }

  .model-proof-card {
    min-height: auto;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-word.is-swapping {
    animation: none;
  }

  .faq-card,
  .faq-card::before,
  .faq-panel,
  .faq-toggle::before,
  .faq-toggle::after,
  .mac-advisor-option,
  .mac-advisor-signal span {
    animation: none;
    transition: none;
  }

}

/* KIMIKON liquid glass refresh */
:root {
  --bg: #08111a;
  --muted: #a8b9c5;
  --border: rgba(142, 201, 229, 0.2);
  --surface: rgba(17, 29, 41, 0.78);
  --surface-soft: rgba(11, 20, 30, 0.84);
  --menu-surface: rgba(12, 23, 34, 0.9);
  --accent: #8ee8ff;
  --accent-strong: #b9f3ff;
  --glass-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 24px 70px rgba(94, 197, 255, 0.14);
}

body {
  background:
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34rem),
    radial-gradient(circle at 85% 24%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 30rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 86%, var(--surface-soft)));
}

nav {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--menu-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.top-actions {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
  z-index: 1;
}

.top-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  overflow: visible;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--menu-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.top-nav-links a,
.top-nav-link {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.top-nav-links a:hover,
.top-nav-links a:focus-visible,
.top-nav-links a[aria-current="page"],
.top-nav-group.is-active > .top-nav-link {
  background: var(--accent);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.top-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-nav-group::before {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.top-nav-link {
  display: inline-flex;
  align-items: center;
}

.top-subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 900;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--menu-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.top-nav-group:hover .top-subnav,
.top-nav-group:focus-within .top-subnav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.top-subnav a {
  display: grid;
  gap: 1px;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--text);
  white-space: nowrap;
}

.top-subnav small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.25;
}

.top-subnav a:hover small,
.top-subnav a:focus-visible small,
.top-subnav a[aria-current="page"] small {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 921px) {
  .top-lang-switch {
    margin-left: 4px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .top-lang-trigger {
    min-width: 36px;
    min-height: 34px;
    padding: 0 7px;
    color: var(--muted);
    font-size: 0.78rem;
  }

  .top-lang-chevron {
    display: none;
  }

  .top-lang-options {
    top: calc(100% + 10px);
    min-width: 112px;
  }
}

.top-nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(24px) saturate(1.25);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.top-nav-toggle span {
  display: block;
  grid-area: 1 / 1;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.top-nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.top-nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.top-nav-toggle:hover,
.top-nav-toggle:focus-visible,
.top-nav-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  outline: none;
  transform: translateY(-1px);
}

.top-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.top-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.top-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.top-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: none;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 96px);
  padding: 12px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.top-mobile-menu-section {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-soft) 38%, transparent);
}

.top-mobile-menu-label {
  padding: 0 4px 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  text-transform: uppercase;
}

.top-mobile-menu-item,
.top-mobile-menu-language a {
  display: grid;
  gap: 1px;
  min-height: 40px;
  align-content: center;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.top-mobile-menu-item small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.top-mobile-menu-item:hover,
.top-mobile-menu-item:focus-visible,
.top-mobile-menu-item[aria-current="page"],
.top-mobile-menu-language a:hover,
.top-mobile-menu-language a:focus-visible,
.top-mobile-menu-language a[aria-current="page"] {
  background: var(--accent);
  color: #ffffff;
  outline: none;
}

.top-mobile-menu-item:hover small,
.top-mobile-menu-item:focus-visible small,
.top-mobile-menu-item[aria-current="page"] small {
  color: rgba(255, 255, 255, 0.72);
}

.top-mobile-menu-language > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.top-mobile-menu-language a {
  min-height: 36px;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.top-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.top-lang-trigger,
.top-lang-options a {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.top-lang-trigger {
  display: inline-flex;
  min-width: 62px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  cursor: pointer;
}

.top-lang-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.top-lang-switch.is-open .top-lang-chevron {
  transform: translateY(2px) rotate(225deg);
}

.top-lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 3px;
  min-width: 126px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.top-lang-switch.is-open .top-lang-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.top-lang-options a {
  display: flex;
  align-items: center;
  padding: 0 11px;
}

.top-lang-trigger:hover,
.top-lang-trigger:focus-visible,
.top-lang-trigger[aria-expanded="true"],
.top-lang-options a:hover,
.top-lang-options a:focus-visible,
.top-lang-options a[aria-current="page"] {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  outline: none;
}

.support-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    z-index: 90;
    backdrop-filter: blur(22px) saturate(1.25);
  }

  .brand {
    position: relative;
    z-index: 110;
  }

  .top-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .top-actions::before {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    background: var(--bg);
    content: "";
  }

  .top-actions.is-menu-open::before {
    display: block;
  }

  body.kimitalk-menu-open {
    background: var(--bg);
  }

  body.kimitalk-menu-open main,
  body.kimitalk-menu-open footer {
    visibility: hidden;
  }

  .top-nav-links,
  .top-lang-switch {
    display: none;
  }

  .top-nav-group {
    display: none;
  }

  .top-nav-toggle {
    position: relative;
    z-index: 110;
    display: grid;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .top-mobile-menu {
    display: grid;
    position: fixed;
    inset: 0;
    z-index: 100;
    width: auto;
    max-height: none;
    padding: 92px max(24px, env(safe-area-inset-right)) 40px max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
    backdrop-filter: none;
    transform: translateY(-20px);
    transform-origin: top center;
    transition: opacity 400ms ease, transform 400ms ease;
  }

  .top-actions.is-menu-open .top-mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .top-mobile-menu-section {
    width: min(760px, 100%);
    margin: 0 auto;
    gap: 6px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .top-mobile-menu-section:last-child {
    border-bottom: 0;
  }

  .top-actions.is-menu-open .top-mobile-menu-section {
    opacity: 1;
    transform: translateY(0);
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(1) {
    transition-delay: 50ms;
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(2) {
    transition-delay: 100ms;
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(3) {
    transition-delay: 150ms;
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(4) {
    transition-delay: 200ms;
  }

  .top-mobile-menu-label {
    padding: 0 0 4px;
    font-size: 0.76rem;
  }

  .top-mobile-menu-item,
  .top-mobile-menu-language a {
    min-height: auto;
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    color: var(--text);
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.08;
    justify-items: start;
  }

  .top-mobile-menu-item small {
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.35;
  }

  .top-mobile-menu-item:hover,
  .top-mobile-menu-item:focus-visible,
  .top-mobile-menu-item[aria-current="page"],
  .top-mobile-menu-language a:hover,
  .top-mobile-menu-language a:focus-visible,
  .top-mobile-menu-language a[aria-current="page"] {
    background: transparent;
    color: var(--accent);
  }

  .top-mobile-menu-language a[aria-current="page"] {
    font-weight: 820;
  }
}

.button.secondary {
  backdrop-filter: blur(18px) saturate(1.25);
}

.plans article,
.faq-grid article {
  border-color: var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.2);
}

.plans article,
.faq-grid article {
  position: relative;
  overflow: hidden;
}

.plans article::before,
.faq-grid article::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--glass-line), transparent 34%),
    radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 16rem);
  content: "";
  opacity: 0.72;
}

.plans article > *,
.faq-grid article > * {
  position: relative;
  z-index: 1;
}

.price-card.featured {
  box-shadow: var(--shadow-glow);
}

.legal-links {
  color: color-mix(in srgb, var(--muted) 72%, var(--bg));
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-links a {
  opacity: 0.78;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  opacity: 1;
}

:root {
  color-scheme: dark;
  --bg: #08111a;
  --text: #eef8fc;
  --muted: #a8b9c5;
  --border: rgba(142, 201, 229, 0.2);
  --surface: rgba(17, 29, 41, 0.78);
  --surface-soft: rgba(11, 20, 30, 0.84);
  --menu-surface: rgba(12, 23, 34, 0.9);
  --accent: #8ee8ff;
  --accent-strong: #b9f3ff;
  --blue: #8fc7ff;
  --hover-accent: #b9f3ff;
  --hover-text: #041019;
  --amber: #7aa8ff;
  --glass-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --shadow-strong: 0 34px 90px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 24px 70px rgba(94, 197, 255, 0.14);
}

/* Changelog / Release Notes */
.changelog-main {
  max-width: 780px;
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 144px);
}

.changelog-hero {
  margin-bottom: clamp(48px, 8vw, 80px);
}

.changelog-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.changelog-hero .lead {
  max-width: 54ch;
  margin-top: 18px;
}

.release-month + .release-month {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.release-month-heading {
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.release-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}

.release-entry {
  display: grid;
  gap: 10px;
  scroll-margin-top: 96px;
}

.release-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.release-date {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.release-tags {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.release-tags li {
  padding: 2px 10px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.release-headline {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 740;
  line-height: 1.22;
}

.release-headline a {
  color: var(--text);
  text-decoration: none;
  transition: color 180ms ease;
}

.release-headline a:hover,
.release-headline a:focus-visible {
  color: var(--accent);
}

.release-detail {
  margin: 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

/* Focus ring lives in design-system.css.
   Local tweak: larger offset for card-like elements. */
.price-card:focus-within {
  outline-offset: 4px;
}

/* Featured pricing card — emphasis comes from the asymmetric grid
   column width (see .plans grid-template-columns) and the larger
   .price-figure, not from a badge pill. */

/* Back-to-top floating button for long pages like the changelog */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 450;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover,
.to-top:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero-version-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hero-version-note a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-version-note a:hover,
.hero-version-note a:focus-visible {
  color: var(--accent);
}

.app-compat-section {
  position: relative;
  z-index: 0;
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2.5vw, 30px) 0 clamp(34px, 5vw, 62px);
  scroll-margin-top: 96px;
  will-change: opacity, transform;
}

.app-compat-heading {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 850;
  line-height: 1.02;
  text-align: center;
}

.app-compat-section .ai-tool-marquee {
  margin-top: 0;
}

/* Keep comparison checks visibly green inside the warm KimiTalk theme. */
.tier-row [data-state="yes"] {
  border-color: color-mix(in srgb, #39f29a 62%, var(--border));
  background: color-mix(in srgb, #39f29a 16%, transparent);
  color: #39f29a;
}

.tier-row [data-state="yes"]::after {
  color: #39f29a;
}

.speech-savings-section {
  scroll-margin-top: 96px;
  padding-bottom: 74px;
}

.speech-savings-heading {
  max-width: 820px;
}

.speech-savings-panel {
  --ds-panel-radius: 26px;
  --ds-panel-border: color-mix(in srgb, var(--accent) 24%, var(--border));
  --ds-panel-bg: linear-gradient(135deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--surface-soft) 56%, transparent));
  --ds-panel-shadow:
    0 32px 96px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 72%, transparent);
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  margin-top: 34px;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid var(--ds-panel-border);
  border-radius: var(--ds-panel-radius);
  background:
    radial-gradient(circle at 76% 6%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 20rem),
    radial-gradient(circle at 7% 20%, color-mix(in srgb, var(--blue) 11%, transparent), transparent 18rem),
    var(--ds-panel-bg);
  box-shadow: var(--ds-panel-shadow);
  backdrop-filter: blur(26px) saturate(1.18);
}

.speech-savings-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--glass-line), transparent 34%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 7%, transparent), transparent);
  content: "";
  opacity: 0.72;
  mask-image: linear-gradient(115deg, black, transparent 88%);
}

.speech-savings-panel.is-tilting {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  box-shadow:
    0 38px 116px rgba(0, 0, 0, 0.32),
    0 24px 72px color-mix(in srgb, var(--accent) 9%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 82%, transparent);
}

.speech-savings-panel > * {
  position: relative;
  z-index: 1;
}

.speech-savings-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.speech-savings-controls {
  display: grid;
  gap: 18px;
}

.speech-speed-card {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 20px);
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 48%, transparent), color-mix(in srgb, var(--bg) 14%, transparent)),
    color-mix(in srgb, var(--surface-soft) 38%, transparent);
}

.speech-speed-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 14px;
}

.speech-speed-head p,
.speech-speed-head > div > span,
.speech-speed-tabs button,
.speech-speed-options button,
.speech-speed-input-field span,
.speech-speed-input-field small,
.speech-speed-test-actions span {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.25;
}

.speech-speed-head p,
.speech-speed-input-field span,
.speech-speed-test-actions span:first-of-type {
  color: var(--muted);
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-speed-head > div > span {
  display: block;
  max-width: 34ch;
  margin-top: 3px;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
}

.speech-speed-head strong {
  display: grid;
  justify-items: end;
  color: var(--accent-strong);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 860;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.speech-speed-head strong small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.speech-speed-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 26%, transparent);
}

.speech-speed-tabs button {
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 820;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 160ms var(--ds-ease-out);
}

.speech-speed-tabs button:hover,
.speech-speed-tabs button:focus-visible {
  color: var(--text);
  outline: none;
}

.speech-speed-tabs button[aria-checked="true"] {
  background: var(--accent);
  color: var(--hover-text);
  transform: translateY(-1px);
}

.speech-speed-tabs button:active,
.speech-speed-options button:active,
.speech-preset-grid button:active,
.speech-period-toggle button:active,
.speech-speed-test-actions button:active {
  transform: translateY(0) scale(0.985);
}

.speech-speed-pane {
  min-width: 0;
}

.speech-speed-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.speech-speed-options button {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  padding: 10px 8px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 20%, transparent);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 160ms var(--ds-ease-out);
}

.speech-speed-options button span,
.speech-speed-options button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speech-speed-options button span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 820;
}

.speech-speed-options button small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 650;
  opacity: 0.78;
}

.speech-speed-options button:hover,
.speech-speed-options button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.speech-speed-options button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 78%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent),
    color-mix(in srgb, var(--bg) 28%, transparent);
}

.speech-speed-input-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 118px) max-content;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 20%, transparent);
}

.speech-speed-input-field input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 780;
  text-align: right;
}

.speech-speed-input-field input:focus {
  border-color: color-mix(in srgb, var(--accent) 74%, var(--border));
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.speech-speed-input-field small {
  color: var(--muted);
  font-weight: 700;
}

.speech-speed-prompt {
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 20%, transparent);
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 0.86rem;
  font-weight: 640;
  line-height: 1.45;
}

.speech-speed-pane textarea {
  display: block;
  width: 100%;
  min-height: 86px;
  resize: vertical;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
}

.speech-speed-pane textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 74%, var(--border));
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.speech-speed-pane textarea:disabled {
  color: color-mix(in srgb, var(--muted) 78%, var(--text));
  cursor: not-allowed;
  opacity: 0.72;
}

.speech-speed-test-actions {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.speech-speed-test-actions button {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--hover-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 830;
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.speech-speed-test-actions button:hover,
.speech-speed-test-actions button:focus-visible {
  background: var(--accent-strong);
  outline: none;
  transform: translateY(-1px);
}

.speech-speed-test-actions button:disabled {
  background: color-mix(in srgb, var(--muted) 58%, var(--bg));
  color: color-mix(in srgb, var(--text) 78%, var(--bg));
  cursor: wait;
  transform: none;
}

.speech-speed-test-actions [data-speed-test-result] {
  min-width: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-weight: 690;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.speech-scenario-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 30%, transparent);
}

.speech-scenario-toggle button {
  display: grid;
  gap: 1px;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.speech-scenario-toggle button span {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speech-scenario-toggle button small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  white-space: normal;
  opacity: 0.78;
}

.speech-scenario-toggle button:hover,
.speech-scenario-toggle button:focus-visible {
  color: var(--text);
  outline: none;
}

.speech-scenario-toggle button[aria-checked="true"] {
  background: var(--accent);
  color: var(--hover-text);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 25%, transparent);
  transform: translateY(-1px);
}

.speech-slider-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-slider-field strong {
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 840;
  letter-spacing: 0;
  text-transform: none;
}

.speech-word-slider {
  width: 100%;
  height: 34px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.speech-word-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent))),
    color-mix(in srgb, var(--surface-soft) 78%, transparent);
}

.speech-word-slider::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 2px solid var(--hover-text);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 36%, transparent);
  appearance: none;
}

.speech-word-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 78%, transparent);
}

.speech-word-slider::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent)));
}

.speech-word-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--hover-text);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 36%, transparent);
}

.speech-preset-group {
  display: grid;
  gap: 8px;
}

.speech-preset-group p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.speech-preset-grid button {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 22%, transparent);
  color: var(--muted);
  font: inherit;
  line-height: 1.15;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 160ms var(--ds-ease-out);
}

.speech-preset-grid button span,
.speech-preset-grid button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.speech-preset-grid button span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 820;
}

.speech-preset-grid button small {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 650;
  opacity: 0.78;
}

.speech-preset-grid button:hover,
.speech-preset-grid button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.speech-preset-grid button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 78%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent),
    color-mix(in srgb, var(--bg) 30%, transparent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 16%, transparent);
}

.speech-savings-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.speech-savings-stats > div {
  display: grid;
  gap: 2px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 22%, transparent);
}

.speech-savings-stats strong {
  color: var(--text);
  font-size: clamp(1.35rem, 3.6vw, 2.25rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.speech-savings-stats strong span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.speech-savings-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.28;
}

.speech-savings-stats .speech-primary-stat {
  grid-column: 1 / -1;
  min-height: 118px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
    color-mix(in srgb, var(--bg) 24%, transparent);
}

.speech-savings-stats .speech-primary-stat strong {
  color: var(--accent-strong);
  font-size: clamp(2.35rem, 6.4vw, 4.35rem);
}

.speech-savings-source {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--bg));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  line-height: 1.42;
}

.speech-savings-source a {
  color: var(--accent-strong);
  text-decoration: none;
}

.speech-savings-source a:hover,
.speech-savings-source a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.speech-savings-visual {
  container-type: inline-size;
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 14rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 58%, transparent), color-mix(in srgb, var(--surface-soft) 34%, transparent));
}

.speech-savings-quick-note {
  margin: -4px 0 0;
  max-width: 54ch;
  color: color-mix(in srgb, var(--text) 70%, var(--muted));
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.42;
}

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

.speech-story > div {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 118px;
  align-content: start;
  padding: 48px 12px 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 68%, transparent), color-mix(in srgb, var(--bg) 18%, transparent));
}

.speech-story > div::before {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent)));
  content: "";
  opacity: 0.7;
}

.speech-story > div > span {
  position: absolute;
  top: 10px;
  left: 11px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 860;
}

.speech-story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.speech-story strong {
  color: var(--text);
  font-size: clamp(0.86rem, 1.45vw, 0.96rem);
  font-weight: 840;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.speech-race-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.speech-race {
  display: grid;
  gap: 18px;
}

.speech-race-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.28fr) minmax(0, 1fr) 88px;
  align-items: center;
  gap: 12px;
}

.speech-race-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 780;
}

.speech-race-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  color: var(--accent-strong);
}

.speech-race-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.speech-race-row strong {
  width: 88px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  font-weight: 780;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.speech-race-track {
  position: relative;
  height: 34px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 10%, color-mix(in srgb, var(--border) 40%, transparent) 10% calc(10% + 1px)),
    color-mix(in srgb, var(--bg) 24%, transparent);
}

.speech-race-track::after {
  position: absolute;
  top: 4px;
  right: 8px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 58%, transparent);
  content: "";
  opacity: 0.5;
}

.speech-race-bar,
.speech-saved-zone {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 999px;
  transition:
    width 460ms var(--ds-ease-out),
    left 460ms var(--ds-ease-out);
}

.speech-race-bar {
  min-width: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.speech-race-bar::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  content: "";
  transform: translateY(-50%);
}

.speech-race-bar.typing {
  width: calc(100% - 10px);
  background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 78%, var(--bg)), color-mix(in srgb, var(--muted) 44%, var(--surface)));
}

.speech-race-bar.speech {
  width: max(28px, calc(var(--speech-ratio) - 10px));
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 28px color-mix(in srgb, var(--accent) 28%, transparent);
}

.speech-saved-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  left: max(34px, var(--speech-ratio));
  width: max(0px, calc(100% - var(--speech-ratio) - 8px));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--blue) 14%, transparent)),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 255, 255, 0.08) 8px 10px);
  opacity: 0.76;
}

.speech-saved-zone span {
  overflow: hidden;
  max-width: calc(100% - 16px);
  color: color-mix(in srgb, var(--accent-strong) 84%, var(--text));
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.speech-period-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(20px, 3.2vw, 28px);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 11rem),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%),
    color-mix(in srgb, var(--bg) 18%, transparent);
}

.speech-period-card > div:first-child {
  min-width: 0;
}

.speech-period-card p,
.speech-period-card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.speech-period-card strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--accent-strong);
  font-size: clamp(2.2rem, 5.4vw, 3.55rem);
  font-weight: 860;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.speech-period-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  justify-self: end;
  width: min(100%, 292px);
  min-width: 172px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
}

.speech-period-toggle button {
  min-width: 0;
  min-height: 34px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 160ms var(--ds-ease-out);
}

.speech-period-toggle button:hover,
.speech-period-toggle button:focus-visible {
  color: var(--text);
  outline: none;
}

.speech-period-toggle button[aria-checked="true"] {
  background: var(--accent);
  color: var(--hover-text);
  transform: translateY(-1px);
}

@container (max-width: 660px) {
  .speech-period-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .speech-period-card strong {
    font-size: clamp(2.1rem, 11cqw, 3.25rem);
  }

  .speech-period-toggle {
    justify-self: start;
    width: 100%;
    max-width: 360px;
    min-width: 0;
  }
}

.speech-factor-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at 9% 8%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 9rem),
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 7%, transparent), transparent 72%),
    color-mix(in srgb, var(--bg) 18%, transparent);
}

.speech-factor-card p,
.speech-factor-card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.speech-factor-card > div:first-child {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.speech-factor-card strong {
  display: block;
  color: var(--accent-strong);
  font-size: clamp(2rem, 4vw, 2.95rem);
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.speech-factor-card strong span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.speech-factor-card [data-savings-factor-caption] {
  display: block;
  max-width: 32ch;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 0.9rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.34;
  text-transform: none;
}

.speech-factor-scale {
  display: grid;
  grid-template-areas:
    "typing speech"
    "bar bar";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 9px 14px;
  min-width: 0;
}

.speech-factor-scale > span:first-child {
  grid-area: typing;
  justify-self: start;
}

.speech-factor-scale > span:last-child {
  grid-area: speech;
  justify-self: end;
}

.speech-factor-scale div {
  grid-area: bar;
  position: relative;
  height: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.speech-factor-scale div span {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc(var(--factor-ratio, 81%) - 4px);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 24px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: width 460ms var(--ds-ease-out);
}

.speech-savings-panel.is-updating .speech-period-card strong,
.speech-savings-panel.is-updating .speech-factor-card strong,
.speech-savings-panel.is-updating .speech-slider-field strong {
  animation: speechValuePulse 360ms var(--ds-ease-out);
}

.speech-savings-panel.is-updating .speech-race-bar::after {
  animation: speechDotPulse 520ms var(--ds-ease-out) 1;
}

.speech-savings-panel.is-updating .speech-saved-zone {
  animation: speechSavedSweep 520ms linear 1;
}

.voice-privacy-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(18px, 3vw, 28px);
  margin-top: 20px;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 22px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 38%),
    repeating-linear-gradient(135deg, transparent 0 16px, color-mix(in srgb, var(--border) 18%, transparent) 16px 17px),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 72%, transparent), color-mix(in srgb, var(--surface-soft) 46%, transparent));
  box-shadow: 0 22px 70px color-mix(in srgb, var(--text) 8%, transparent);
  isolation: isolate;
}

.voice-privacy-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
  content: "";
  opacity: 0.55;
  transform: translateX(-60%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.voice-privacy-card:hover::before,
.voice-privacy-card:focus-within::before {
  transform: translateX(42%);
}

.voice-privacy-copy {
  display: grid;
  align-content: start;
  gap: 15px;
  min-width: 0;
}

.voice-privacy-eyebrow,
.voice-privacy-copy h3,
.voice-privacy-copy p,
.voice-privacy-insights p,
.voice-privacy-insights strong,
.voice-privacy-insights span,
.voice-privacy-dashboard p,
.voice-privacy-dashboard strong,
.voice-privacy-dashboard span,
.voice-privacy-status {
  margin: 0;
}

.voice-privacy-eyebrow,
.voice-privacy-insights p,
.voice-privacy-dashboard p {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.voice-privacy-copy h3 {
  max-width: 11ch;
  color: var(--text);
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.95;
}

.voice-privacy-copy > p:not(.voice-privacy-eyebrow):not(.voice-privacy-study) {
  max-width: 54ch;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.48;
}

.voice-privacy-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: min(100%, 390px);
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 48%, transparent), color-mix(in srgb, var(--bg) 28%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.voice-privacy-toggle button {
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.voice-privacy-toggle button:hover,
.voice-privacy-toggle button:focus-visible {
  color: var(--text);
  outline: none;
}

.voice-privacy-toggle button[aria-checked="true"] {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, var(--amber)));
  color: var(--hover-text);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateY(-1px);
}

.voice-privacy-study {
  padding-top: 2px;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.48;
}

.voice-privacy-study a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: none;
}

.voice-privacy-study a:hover,
.voice-privacy-study a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.voice-privacy-visual {
  display: grid;
  align-content: stretch;
  gap: 12px;
  min-width: 0;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid color-mix(in srgb, var(--border) 66%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 68%, transparent), color-mix(in srgb, var(--bg) 18%, transparent)),
    repeating-linear-gradient(90deg, transparent 0 56px, color-mix(in srgb, var(--border) 16%, transparent) 56px 57px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.voice-privacy-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 6px 14px;
  min-width: 0;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 58%),
    color-mix(in srgb, var(--bg) 24%, transparent);
}

.voice-privacy-dashboard strong {
  grid-row: span 2;
  justify-self: end;
  color: var(--accent-strong);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.95;
  text-align: right;
  text-transform: none;
  white-space: nowrap;
}

.voice-privacy-dashboard > span {
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  font-size: 0.86rem;
  font-weight: 690;
  line-height: 1.28;
}

.voice-cloud-only,
.voice-privacy-card[data-mode="cloud"] .voice-local-only {
  display: none;
}

.voice-privacy-card[data-mode="cloud"] .voice-cloud-only {
  display: inline;
}

.voice-privacy-card[data-mode="cloud"] .voice-privacy-dashboard {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--amber) 18%, transparent), transparent 58%),
    color-mix(in srgb, var(--bg) 24%, transparent);
}

.voice-privacy-card[data-mode="cloud"] .voice-privacy-dashboard strong {
  color: var(--amber);
}

.voice-privacy-flow {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) minmax(34px, 0.44fr) minmax(88px, 1fr) minmax(34px, 0.44fr) minmax(82px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.voice-privacy-node {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 100px;
  align-content: center;
  justify-items: center;
  padding: 13px 10px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 24%, transparent);
  text-align: center;
  transition:
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.voice-privacy-node span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 860;
}

.voice-privacy-node strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 830;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-privacy-node small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.18;
}

.voice-privacy-line {
  position: relative;
  height: 12px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 64%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 30%, transparent);
  opacity: 0.48;
  transition:
    opacity 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.voice-privacy-line span {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: 0;
  animation: privacySignal 1.75s linear infinite;
}

.voice-privacy-card[data-mode="local"] .voice-privacy-line.is-local,
.voice-privacy-card[data-mode="cloud"] .voice-privacy-line {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  opacity: 1;
}

.voice-privacy-card[data-mode="local"] .voice-privacy-line.is-local span,
.voice-privacy-card[data-mode="cloud"] .voice-privacy-line span {
  opacity: 1;
}

.voice-privacy-card[data-mode="local"] .voice-privacy-node.is-mic,
.voice-privacy-card[data-mode="local"] .voice-privacy-node.is-mac,
.voice-privacy-card[data-mode="cloud"] .voice-privacy-node {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
    color-mix(in srgb, var(--bg) 24%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 10%, transparent);
  transform: translateY(-1px);
}

.voice-privacy-card[data-mode="local"] .voice-privacy-node.is-cloud {
  opacity: 0.44;
}

.voice-privacy-card[data-mode="cloud"] .voice-privacy-node.is-cloud {
  border-color: color-mix(in srgb, var(--amber) 68%, var(--border));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--amber) 12%, transparent);
}

.voice-privacy-status {
  display: flex;
  justify-content: center;
}

.voice-privacy-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.voice-privacy-status span::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
  content: "";
}

.voice-privacy-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

.voice-privacy-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 54px;
  align-content: center;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--border) 64%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 38%, transparent);
}

.voice-privacy-metrics b,
.voice-privacy-metrics em {
  overflow: hidden;
  font-style: normal;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-privacy-metrics b {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.voice-privacy-metrics em {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 830;
}

.voice-privacy-card[data-mode="cloud"] .voice-privacy-status span::before {
  background: var(--amber);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 16%, transparent);
}

.voice-privacy-insights {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 66%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 22%, transparent);
}

.voice-privacy-insights > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.voice-privacy-insights strong {
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 840;
  line-height: 1.08;
}

.voice-privacy-insights span {
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.38;
}

.voice-privacy-insight-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.voice-privacy-insight-buttons button {
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.voice-privacy-insight-buttons button:hover,
.voice-privacy-insight-buttons button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.voice-privacy-insight-buttons button.is-active {
  border-color: color-mix(in srgb, var(--accent) 76%, var(--border));
  background: var(--accent);
  color: var(--hover-text);
}

.voice-privacy-section {
  --privacy-bg-y: 0px;
  --privacy-bg-image-y: clamp(-340px, -16vw, -190px);
  position: relative;
  isolation: isolate;
  padding-top: clamp(84px, 9vw, 118px);
  will-change: opacity, transform;
}

.voice-privacy-section::before {
  position: absolute;
  top: clamp(-760px, -46vw, -560px);
  bottom: clamp(-480px, -34vw, -300px);
  left: 50%;
  z-index: -2;
  width: 100vw;
  background-image:
    linear-gradient(180deg, rgba(6, 17, 27, 0) 0%, rgba(6, 17, 27, 0.06) 22%, rgba(6, 17, 27, 0.18) 46%, rgba(6, 17, 27, 0.36) 76%, rgba(6, 17, 27, 0.86) 100%),
    image-set(
      url("/images/apps/kimitalk-web-graphics/apps-workflow-bg.webp?v=apps-bg-7") type("image/webp"),
      url("/images/apps/kimitalk-web-graphics/apps-workflow-bg.png?v=apps-bg-7") type("image/png")
    );
  background-position: center center, center var(--privacy-bg-image-y);
  background-size: cover, cover;
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform: translateX(-50%) translate3d(0, var(--privacy-bg-y), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.52) 52%, black 68%, black 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.52) 52%, black 68%, black 88%, transparent 100%);
}

.voice-privacy-section::after {
  position: absolute;
  top: clamp(-760px, -46vw, -560px);
  bottom: clamp(-480px, -34vw, -300px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  background:
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 30rem),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 58%, transparent) 38%, color-mix(in srgb, var(--bg) 22%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, color-mix(in srgb, var(--bg) 42%, transparent) 24%, color-mix(in srgb, var(--bg) 16%, transparent) 48%, transparent 64%, transparent 76%, color-mix(in srgb, var(--bg) 84%, transparent) 100%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%) translate3d(0, var(--privacy-bg-y), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.22) 36%, rgba(0, 0, 0, 0.62) 56%, black 72%, black 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.22) 36%, rgba(0, 0, 0, 0.62) 56%, black 72%, black 100%);
}

.voice-privacy-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.voice-privacy-heading h2,
.voice-privacy-heading p {
  margin: 0;
}

.voice-privacy-heading h2 {
  max-width: 13ch;
  color: var(--text);
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.96;
}

.voice-privacy-heading > p:last-child {
  max-width: 68ch;
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 620;
  line-height: 1.48;
}

.voice-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 42px);
  width: 100%;
  max-width: none;
  margin-top: clamp(30px, 5vw, 54px);
}

.voice-privacy-section .voice-privacy-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 680px;
}

.voice-privacy-kicker,
.voice-privacy-section .voice-privacy-copy h3,
.voice-privacy-section .voice-privacy-copy p,
.voice-privacy-points,
.voice-privacy-section .voice-privacy-study {
  margin: 0;
}

.voice-privacy-kicker,
.voice-privacy-insights p {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.voice-privacy-section .voice-privacy-copy h3 {
  max-width: 17ch;
  color: var(--text);
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
}

.voice-privacy-section .voice-privacy-copy > p:not(.voice-privacy-kicker) {
  max-width: 52ch;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.5;
}

.voice-privacy-points {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.voice-privacy-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.25;
}

.voice-privacy-points span::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
  content: "";
}

.voice-privacy-section .voice-privacy-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: 24px;
  min-width: 0;
  min-height: 360px;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 72%, transparent), color-mix(in srgb, var(--surface-soft) 48%, transparent)),
    repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--border) 18%, transparent) 18px 19px);
  box-shadow:
    0 24px 70px color-mix(in srgb, var(--text) 8%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.voice-privacy-section .voice-privacy-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 38%, transparent);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.voice-privacy-section .voice-privacy-flow {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(44px, 0.38fr) minmax(120px, 1fr) minmax(44px, 0.38fr) minmax(110px, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  min-width: 0;
}

.voice-privacy-section .voice-privacy-node {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 130px;
  align-content: center;
  justify-items: center;
  padding: 18px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--border));
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 5.5rem),
    color-mix(in srgb, var(--bg) 26%, transparent);
  text-align: center;
  box-shadow: 0 16px 42px color-mix(in srgb, var(--accent) 10%, transparent);
}

.voice-privacy-section .voice-privacy-node span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 880;
}

.voice-privacy-section .voice-privacy-node strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.voice-privacy-section .voice-privacy-node small {
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.2;
}

.voice-privacy-section .voice-privacy-line {
  position: relative;
  height: 13px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 54%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.voice-privacy-section .voice-privacy-line span {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: 44%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 34%, transparent);
  animation: privacySignal 1.65s linear infinite;
}

.voice-no-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 18px;
  width: min(100%, 410px);
  justify-self: center;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, var(--border));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
    color-mix(in srgb, var(--bg) 28%, transparent);
}

.voice-no-upload span,
.voice-no-upload small {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  line-height: 1.18;
  text-transform: uppercase;
}

.voice-no-upload strong {
  grid-row: span 2;
  color: var(--accent-strong);
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 0.9;
}

.voice-no-upload small {
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  text-transform: none;
  letter-spacing: 0;
}

.voice-privacy-section .voice-privacy-insights {
  --ds-tilt-glow-x: 50%;
  --ds-tilt-glow-y: 50%;
  --ds-tilt-x: 0deg;
  --ds-tilt-y: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-top: 0;
  padding: clamp(24px, 4.4vw, 46px);
  border: 1px solid rgba(142, 232, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 232, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 100%, rgba(122, 168, 255, 0.09), transparent 20rem),
    linear-gradient(135deg, rgba(12, 23, 34, 0.54), rgba(5, 12, 20, 0.64));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.38),
    0 26px 80px rgba(94, 197, 255, 0.12),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 62%, transparent);
  backdrop-filter: blur(26px) saturate(1.22);
  transform: perspective(1300px) rotateX(var(--ds-tilt-x)) rotateY(var(--ds-tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transform-origin: center;
  transition:
    transform 160ms var(--ds-ease-out),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.voice-privacy-section .voice-privacy-insights::after {
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--ds-tilt-glow-x) var(--ds-tilt-glow-y), rgba(142, 232, 255, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), transparent 36%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ds-ease-out);
}

.voice-privacy-section .voice-privacy-insights.is-interacting {
  border-color: rgba(142, 232, 255, 0.34);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.42),
    0 32px 92px rgba(94, 197, 255, 0.16),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 76%, transparent);
}

.voice-privacy-section .voice-privacy-insights.is-interacting::after {
  opacity: 0.66;
}

.voice-privacy-section .voice-privacy-insights > div:first-child {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.voice-privacy-section .voice-privacy-insights strong,
.voice-privacy-section .voice-privacy-insights span {
  margin: 0;
}

.voice-privacy-section .voice-privacy-insights strong {
  color: var(--text);
  font-size: clamp(1.18rem, 2.4vw, 1.65rem);
  font-weight: 840;
  line-height: 1.08;
}

.voice-privacy-section .voice-privacy-insights span {
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.42;
}

.voice-privacy-section .voice-privacy-insight-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.voice-privacy-section .voice-privacy-insight-buttons button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.voice-privacy-section .voice-privacy-insight-buttons button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  color: var(--text);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .voice-privacy-section .voice-privacy-insight-buttons button:hover {
    border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
    color: var(--text);
    transform: translateY(-1px);
  }

  .voice-privacy-section .voice-privacy-insight-buttons button:active {
    transform: scale(0.97);
  }
}

.voice-privacy-section .voice-privacy-insight-buttons button.is-active {
  border-color: color-mix(in srgb, var(--accent) 76%, var(--border));
  background: var(--accent);
  color: var(--hover-text);
  box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.voice-privacy-section .privacy-flow-panel {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: clamp(350px, 24vw, 390px);
  overflow: hidden;
}

.voice-privacy-section .privacy-flow-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(4.2em, auto) auto auto;
  align-items: start;
  gap: clamp(10px, 1.6vw, 16px);
  min-width: 0;
  padding-top: 0;
  border-top: 0;
}

.voice-privacy-section .privacy-flow-copy > p,
.voice-privacy-section .privacy-flow-copy > strong,
.voice-privacy-section .privacy-flow-copy > span,
.voice-privacy-section .privacy-trust-card-text,
.voice-privacy-section .privacy-trust-points,
.voice-privacy-section .privacy-feature-note {
  grid-column: 1;
}

.voice-privacy-section .privacy-flow-copy > p:first-child {
  grid-row: 2;
}

.voice-privacy-section .privacy-flow-copy > strong {
  grid-row: 3;
}

.voice-privacy-section .privacy-flow-copy > span {
  grid-row: 4;
  max-width: 62ch;
  min-height: 4.5em;
}

.voice-privacy-section .privacy-flow-copy > [data-privacy-insight-copy] {
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
}

.voice-privacy-section .privacy-trust-card-text {
  grid-row: 5;
  max-width: 62ch;
  min-height: 0;
  margin: 0;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.voice-privacy-section .privacy-trust-points {
  grid-row: 5;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 142px;
  margin-top: 0;
}

.voice-privacy-section .privacy-trust-points span {
  min-height: 34px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}

.voice-privacy-section .privacy-trust-points span[hidden],
.voice-privacy-section .privacy-flow-copy > span[hidden],
.voice-privacy-section .privacy-trust-card-text[hidden],
.voice-privacy-section .privacy-feature-note[hidden],
.voice-privacy-section .privacy-feature-note a[hidden] {
  display: none;
}

.voice-privacy-section .privacy-feature-note {
  grid-row: 6;
  max-width: 62ch;
  margin: -4px 0 0;
  color: color-mix(in srgb, var(--muted) 82%, var(--text));
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.voice-privacy-section .privacy-feature-note a {
  color: var(--accent);
  text-decoration: none;
}

.voice-privacy-section .privacy-feature-note a:hover,
.voice-privacy-section .privacy-feature-note a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.voice-privacy-section .privacy-flow-copy .voice-privacy-insight-buttons {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  align-content: start;
  margin-top: 0;
  margin-bottom: 8px;
}

.privacy-flow-stage {
  position: relative;
  min-height: clamp(230px, 22vw, 320px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 20px;
  background:
    radial-gradient(circle at 48% 52%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 11rem),
    linear-gradient(135deg, rgba(5, 13, 21, 0.74), rgba(8, 18, 31, 0.48));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 70%, transparent),
    0 24px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.voice-privacy-layout > .privacy-flow-stage {
  width: 100%;
  min-height: clamp(260px, 28vw, 350px);
}

.privacy-flow-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(142, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(122, 168, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: radial-gradient(circle at 55% 48%, black, transparent 72%);
  opacity: 0.7;
}

.privacy-flow-stage::after {
  position: absolute;
  inset: auto 8% 12% 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 42%, transparent), transparent);
  content: "";
  opacity: 0.74;
}

.privacy-flow-source,
.privacy-flow-boundary,
.privacy-flow-output,
.privacy-flow-cloud,
.privacy-content-chips {
  position: absolute;
  z-index: 2;
}

.privacy-flow-source {
  top: 50%;
  left: clamp(16px, 4vw, 40px);
  display: grid;
  gap: 10px;
  justify-items: center;
  transform: translateY(-50%);
}

.privacy-flow-source > span,
.privacy-flow-cloud,
.privacy-flow-boundary small {
  color: color-mix(in srgb, var(--muted) 82%, var(--accent));
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 48%, transparent);
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--accent) 5%, transparent),
    0 16px 42px color-mix(in srgb, var(--accent) 12%, transparent);
}

.privacy-wave i {
  display: block;
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 54%, transparent);
  animation: privacyWave 960ms ease-in-out infinite;
}

.privacy-wave i:nth-child(2) {
  height: 30px;
  animation-delay: -120ms;
}

.privacy-wave i:nth-child(3) {
  height: 42px;
  animation-delay: -240ms;
}

.privacy-wave i:nth-child(4) {
  height: 28px;
  animation-delay: -360ms;
}

.privacy-wave i:nth-child(5) {
  height: 16px;
  animation-delay: -480ms;
}

.privacy-flow-boundary {
  top: 50%;
  left: 47%;
  display: grid;
  place-items: center;
  width: clamp(116px, 12vw, 150px);
  height: clamp(116px, 12vw, 150px);
  border: 1px solid color-mix(in srgb, var(--accent) 44%, transparent);
  border-radius: 34px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    linear-gradient(145deg, rgba(7, 19, 31, 0.92), rgba(8, 18, 28, 0.52));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent),
    0 26px 72px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translate(-50%, -50%);
}

.privacy-boundary-ring {
  position: absolute;
  inset: -13px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 42px;
  animation: privacyBoundaryPulse 2.8s ease-in-out infinite;
}

.privacy-flow-boundary strong {
  color: var(--text);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  font-weight: 860;
  line-height: 1;
}

.privacy-flow-output small {
  color: color-mix(in srgb, var(--muted) 82%, var(--accent));
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.privacy-flow-output {
  top: 50%;
  right: clamp(18px, 4vw, 48px);
  display: grid;
  align-content: center;
  gap: 10px;
  width: clamp(120px, 18vw, 220px);
  min-height: 112px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 18px;
  background: rgba(5, 13, 21, 0.62);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
}

.privacy-flow-output span {
  display: block;
  width: var(--line-width, 100%);
  height: 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 72%, white);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 26%, transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform, opacity;
  animation: privacyTextWrite 4.4s steps(18, end) infinite;
}

.privacy-flow-output span:nth-child(1) {
  --line-width: 84%;
}

.privacy-flow-output span:nth-child(2) {
  --line-width: 64%;
  animation-delay: 320ms;
}

.privacy-flow-output span:nth-child(3) {
  --line-width: 74%;
  animation-delay: 640ms;
}

.privacy-flow-route {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.privacy-flow-route-local {
  top: 50%;
  right: 21%;
  left: 17%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 74%, transparent), transparent);
  transform: translateY(-50%);
}

.privacy-flow-route-local span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 7px;
  background: transparent;
  transform: translate3d(-8%, -50%, 0);
  will-change: transform, opacity;
  animation: privacySignalTravel 2.4s linear infinite;
}

.privacy-flow-route-local span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 74%, transparent);
  content: "";
  transform: translate3d(-50%, -50%, 0);
}

.privacy-flow-route-local span:nth-child(2) {
  animation-delay: -0.8s;
}

.privacy-flow-route-local span:nth-child(3) {
  animation-delay: -1.6s;
}

.privacy-flow-route-cloud {
  top: 20%;
  left: 16%;
  width: 34%;
  height: 34%;
  border-top: 1px solid color-mix(in srgb, var(--muted) 28%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
  border-top-right-radius: 90px;
  opacity: 0.22;
}

.privacy-flow-route-cloud span {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 11px;
  height: 11px;
  border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent);
  border-radius: 50%;
}

.privacy-flow-route-cloud::after {
  position: absolute;
  top: -10px;
  right: -9px;
  width: 22px;
  height: 2px;
  background: color-mix(in srgb, var(--accent) 58%, transparent);
  content: "";
  opacity: 0;
  transform: rotate(-38deg);
}

.privacy-flow-cloud {
  top: 10%;
  right: 10%;
  opacity: 0.24;
}

.privacy-content-chips {
  right: 8%;
  bottom: 9%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: min(330px, 48%);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.privacy-content-chips span {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 52%, transparent);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1;
}

.privacy-flow-copy.is-copy-swapping strong,
.privacy-flow-copy.is-copy-swapping [data-privacy-insight-copy] {
  animation: privacyCopySwap 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.voice-privacy-section .voice-privacy-study {
  max-width: none;
  margin-top: 20px;
}

.voice-privacy-section .voice-privacy-study a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: none;
}

.voice-privacy-section .voice-privacy-study a:hover,
.voice-privacy-section .voice-privacy-study a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.speech-calendar-wrap {
  display: grid;
  grid-template-columns: max-content minmax(160px, 1fr);
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.speech-calendar-wrap p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-calendar-wrap strong {
  display: inline-block;
  color: var(--accent-strong);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 840;
  line-height: 1.08;
  white-space: nowrap;
}

.speech-calendar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}

.speech-calendar span {
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--border) 64%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
  transform: scale(0.94);
  transition:
    background 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease,
    transform 320ms ease;
}

.speech-calendar span.is-active {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--border));
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--blue) 76%, var(--accent)));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: scale(1);
}

.speech-study-notes {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  margin-top: 14px;
  padding: 16px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.speech-study-notes p {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speech-study-notes ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
  list-style: none;
}

.speech-study-notes a {
  color: var(--accent-strong);
  text-decoration: none;
}

.speech-study-notes a:hover,
.speech-study-notes a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

@keyframes speechDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}

@keyframes speechSavedSweep {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 36px 0;
  }
}

@keyframes speechValuePulse {
  0% {
    opacity: 0.72;
    transform: translate3d(0, 2px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes privacySignal {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes privacySignalVertical {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(320%);
  }
}

@keyframes privacyWave {
  0%,
  100% {
    transform: scaleY(0.62);
  }
  50% {
    transform: scaleY(1.18);
  }
}

@keyframes privacyBoundaryPulse {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes privacySignalTravel {
  0% {
    opacity: 0;
    transform: translate3d(-8%, -50%, 0);
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(100%, -50%, 0);
  }
}

@keyframes privacySignalTravelVertical {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -8%, 0);
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, 100%, 0);
  }
}

@keyframes privacyTextWrite {
  0%,
  14% {
    opacity: 0;
    transform: scaleX(0);
  }
  20% {
    opacity: 1;
  }
  42%,
  84% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(0.98);
  }
}

@keyframes privacyFocusPop {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes privacyCopySwap {
  0% {
    opacity: 0.48;
    filter: blur(2px);
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .speech-savings-panel {
    grid-template-columns: 1fr;
  }

  .speech-savings-visual {
    order: -1;
    min-height: 360px;
  }

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

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

  .voice-privacy-section .privacy-flow-panel {
    grid-template-columns: 1fr;
  }

  .privacy-flow-stage {
    min-height: 430px;
  }

  .privacy-flow-source {
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
  }

  .privacy-wave {
    width: 64px;
    height: 64px;
  }

  .privacy-flow-boundary {
    top: 46%;
    left: 50%;
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .privacy-boundary-ring {
    border-radius: 34px;
  }

  .privacy-flow-output {
    top: auto;
    right: auto;
    bottom: 22px;
    left: 50%;
    width: min(178px, calc(100% - 44px));
    min-height: 88px;
    padding: 14px;
    transform: translateX(-50%);
  }

  .privacy-flow-route-local {
    top: 106px;
    right: auto;
    bottom: 112px;
    left: 50%;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 74%, transparent), transparent);
    transform: translateX(-50%);
  }

  .privacy-flow-route-local span {
    top: 0;
    left: 50%;
    width: 7px;
    height: 100%;
    transform: translate3d(-50%, -8%, 0);
    animation-name: privacySignalTravelVertical;
  }

  .privacy-flow-route-local span::before {
    top: 0;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }

  .privacy-flow-route-cloud {
    top: 58px;
    left: 52%;
    width: 34%;
    height: 28%;
  }

  .privacy-flow-cloud {
    top: 52px;
    right: 10%;
  }

  .privacy-content-chips {
    right: 14px;
    bottom: 18px;
    left: 14px;
    justify-content: center;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .speech-savings-heading h2 {
    max-width: 11.5ch;
  }

  .speech-savings-section,
  .speech-savings-panel,
  .speech-savings-copy,
  .speech-savings-visual {
    min-width: 0;
    max-width: 100%;
  }

  .speech-savings-panel {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
  }

  .voice-privacy-heading h2 {
    max-width: 10.5ch;
  }

  .voice-privacy-layout {
    gap: 24px;
    margin-top: 28px;
  }

  .voice-privacy-section .voice-privacy-visual {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .voice-privacy-section .voice-privacy-flow {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .voice-privacy-section .voice-privacy-node {
    min-height: 96px;
  }

  .voice-privacy-section .voice-privacy-line {
    width: 13px;
    height: 36px;
    justify-self: center;
  }

  .voice-privacy-section .voice-privacy-line span {
    inset: 2px 2px auto;
    width: auto;
    height: 46%;
    animation-name: privacySignalVertical;
  }

  .voice-privacy-section .voice-privacy-insights {
    grid-template-columns: 1fr;
  }

  .voice-privacy-section .privacy-flow-panel {
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .voice-privacy-section .privacy-flow-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .voice-privacy-section .privacy-flow-copy > span {
    min-height: 5.8em;
  }

  .voice-privacy-section .privacy-trust-card-text {
    min-height: 0;
  }

  .voice-privacy-section .privacy-trust-points {
    grid-template-columns: 1fr;
    min-height: 170px;
  }

  .voice-privacy-section .privacy-flow-copy > p,
  .voice-privacy-section .privacy-flow-copy > strong,
  .voice-privacy-section .privacy-flow-copy > span,
  .voice-privacy-section .privacy-flow-copy .voice-privacy-insight-buttons {
    grid-column: 1;
  }

  .voice-privacy-section .privacy-flow-copy .voice-privacy-insight-buttons {
    grid-row: 1;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .privacy-flow-stage {
    min-height: 430px;
  }

  .privacy-flow-source {
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
  }

  .privacy-wave {
    width: 64px;
    height: 64px;
  }

  .privacy-flow-boundary {
    top: 46%;
    left: 50%;
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .privacy-boundary-ring {
    border-radius: 34px;
  }

  .privacy-flow-output {
    top: auto;
    right: auto;
    bottom: 22px;
    left: 50%;
    width: min(178px, calc(100% - 44px));
    min-height: 88px;
    padding: 14px;
    transform: translateX(-50%);
  }

  .privacy-flow-route-local {
    top: 106px;
    right: auto;
    bottom: 112px;
    left: 50%;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 74%, transparent), transparent);
    transform: translateX(-50%);
  }

  .privacy-flow-route-local span {
    top: 0;
    left: 50%;
    width: 7px;
    height: 100%;
    transform: translate3d(-50%, -8%, 0);
    animation-name: privacySignalTravelVertical;
  }

  .privacy-flow-route-local span::before {
    top: 0;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }

  .privacy-flow-route-cloud {
    top: 58px;
    left: 52%;
    width: 34%;
    height: 28%;
  }

  .privacy-flow-cloud {
    top: 52px;
    right: 10%;
  }

  .privacy-content-chips {
    right: 14px;
    bottom: 18px;
    left: 14px;
    justify-content: center;
    max-width: none;
  }

  .voice-privacy-card {
    padding: 20px;
    border-radius: 20px;
  }

  .voice-privacy-copy h3 {
    max-width: 11ch;
  }

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

  .voice-privacy-dashboard strong {
    justify-self: start;
    text-align: left;
  }

  .voice-privacy-flow {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .voice-privacy-node {
    min-height: 92px;
  }

  .voice-privacy-line {
    width: 12px;
    height: 34px;
    justify-self: center;
  }

  .voice-privacy-line span {
    inset: 2px 2px auto;
    width: auto;
    height: 46%;
    animation-name: privacySignalVertical;
  }

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

  .speech-scenario-toggle {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .speech-scenario-toggle button {
    border-radius: 14px;
  }

  .speech-speed-head {
    grid-template-columns: 1fr;
  }

  .speech-speed-head strong {
    justify-items: start;
  }

  .speech-speed-input-field,
  .speech-speed-test-actions {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .speech-preset-grid,
  .speech-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speech-savings-stats {
    grid-template-columns: 1fr;
  }

  .speech-slider-field {
    display: grid;
    justify-content: start;
    gap: 4px;
  }

  .speech-slider-field strong {
    justify-self: start;
  }

  .speech-word-slider {
    min-width: 0;
  }

  .speech-race-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .speech-race-row {
    grid-template-columns: 1fr;
  }

  .speech-race-label {
    grid-column: auto;
  }

  .speech-race-row strong {
    width: auto;
    text-align: left;
  }

  .speech-race-track {
    min-width: 0;
  }

  .speech-period-card {
    grid-template-columns: 1fr;
  }

  .speech-period-toggle {
    width: 100%;
    min-width: 0;
  }

  .speech-factor-card {
    grid-template-columns: 1fr;
  }

  .speech-calendar-wrap,
  .speech-study-notes {
    grid-template-columns: 1fr;
  }

  .speech-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .speech-speed-tabs,
  .speech-speed-options,
  .speech-story {
    grid-template-columns: 1fr;
  }

  .voice-privacy-section .voice-privacy-insight-buttons {
    grid-template-columns: 1fr;
  }

  .voice-no-upload {
    grid-template-columns: 1fr auto;
  }

  .voice-privacy-toggle,
  .voice-privacy-insight-buttons {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

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

  .voice-privacy-toggle button,
  .voice-privacy-insight-buttons button {
    border-radius: 12px;
  }

  .speech-speed-tabs {
    border-radius: 16px;
  }

  .speech-speed-tabs button {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speech-race-bar,
  .speech-saved-zone,
  .speech-savings-panel.is-updating .speech-period-card strong,
  .speech-savings-panel.is-updating .speech-factor-card strong,
  .speech-savings-panel.is-updating .speech-slider-field strong,
  .voice-privacy-line span,
  .privacy-wave i,
  .privacy-boundary-ring,
  .privacy-flow-route-local span,
  .privacy-flow-output span,
  .privacy-flow-copy.is-copy-swapping strong,
  .privacy-flow-copy.is-copy-swapping [data-privacy-insight-copy],
  .speech-calendar span,
  .speech-scenario-toggle button {
    transition: none !important;
  }

  .speech-race-bar::after,
  .speech-saved-zone,
  .speech-savings-panel.is-updating .speech-period-card strong,
  .speech-savings-panel.is-updating .speech-factor-card strong,
  .speech-savings-panel.is-updating .speech-slider-field strong,
  .speech-savings-panel.is-updating .speech-race-bar::after,
  .voice-privacy-line span,
  .privacy-wave i,
  .privacy-boundary-ring,
  .privacy-flow-route-local span,
  .privacy-flow-output span,
  .privacy-flow-copy.is-copy-swapping strong,
  .privacy-flow-copy.is-copy-swapping [data-privacy-insight-copy] {
    animation: none !important;
  }

  .privacy-flow-output span {
    opacity: 1;
    transform: scaleX(1);
  }

  .privacy-flow-route-local span {
    opacity: 0;
  }
}

body[data-brand="kimitalk"] [data-nav-context="product"] {
  display: none;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] [data-nav-context="kimikon"] {
  display: none !important;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links[data-nav-context="product"] {
  display: inline-flex;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product {
  align-items: center;
  gap: 24px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transform-origin: center;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a:hover,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a:focus-visible,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a[aria-current="page"],
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link:hover,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link:focus-visible,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product.is-open > .top-nav-link {
  background: transparent;
  color: var(--text);
  outline: none;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translateY(-1px) scale(1.035);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a:hover::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a:focus-visible::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product > a[aria-current="page"]::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link:hover::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links--product .top-nav-link:focus-visible::after,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product.is-open > .top-nav-link::after {
  transform: scaleX(1);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product::before {
  top: 100%;
  right: -16px;
  left: -16px;
  height: 20px;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product {
  top: calc(100% + 14px);
  left: -18px;
  min-width: 320px;
  gap: 4px;
  padding: 10px;
  border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 17rem),
    linear-gradient(140deg, rgba(10, 24, 37, 0.98), rgba(4, 11, 18, 0.98));
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 68%, transparent);
  backdrop-filter: blur(18px) saturate(1.18);
  transform: translateY(8px);
  transition:
    opacity 200ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 200ms ease;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product:hover .top-subnav--product,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product:focus-within .top-subnav--product,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-group--product.is-open .top-subnav--product {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a {
  gap: 3px;
  padding: 12px 13px;
  border-left: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a span {
  font-size: 0.95rem;
  font-weight: 820;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a:hover,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a:focus-visible {
  border-left-color: var(--accent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-strong) 8%, transparent)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-strong) 13%, transparent);
  color: var(--text);
  outline: none;
  transform: translateX(3px);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a:hover small,
body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-subnav--product a:focus-visible small {
  color: color-mix(in srgb, var(--text) 76%, transparent);
}

body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-lang-switch {
  margin-left: 2px;
}

@media (max-width: 920px) {
  body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-nav-links[data-nav-context="product"] {
    display: none;
  }

  body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-mobile-menu-section[data-nav-context="product"] {
    display: grid;
  }
}

@media (min-width: 921px) {
  body[data-brand="kimitalk"][data-kimitalk-host-context="product"] .top-mobile-menu-section[data-nav-context="product"] {
    display: none;
  }
}

/* ============================================================================
   Voice-Flow Section — "Vom Sprechen zum Text"
   Animated demo placed under the hero.
   --kt-orange* / --kt-pill-* / --kt-mic-* are scoped to this section so
   they don't pollute the global token set.
   JS choreography lives in kimitalk/voice-flow.js.
   ============================================================================ */
.voice-flow-section {
  --vf-bg-y: 120px;
  --kt-orange: #ff7a1a;
  --kt-orange-bright: #ffa05a;
  --kt-orange-deep: #d94f00;
  --kt-mic-idle: var(--kt-orange);
  --kt-mic-active: var(--kt-orange);
  --kt-pill-bg: rgba(0, 0, 0, 0.96);
  position: relative;
  z-index: 2;
  margin: 0 0 96px;
  min-height: 420vh;
  padding: clamp(72px, 12vh, 120px) 0 clamp(90px, 18vh, 180px);
  color: #eef8fc;
  overflow: visible;
  clip-path: inset(0 -120vw -120vh -120vw);
  isolation: isolate;
  opacity: 1;
}

.voice-flow-section::before {
  position: absolute;
  top: clamp(-280px, -20vh, -160px);
  bottom: clamp(-320px, -22vh, -180px);
  left: 50%;
  z-index: -2;
  width: min(2200px, 170vw);
  background-image:
    linear-gradient(180deg, rgba(6, 17, 27, 0.82) 0%, rgba(6, 17, 27, 0.46) 34%, rgba(6, 17, 27, 0.34) 58%, rgba(6, 17, 27, 0.92) 100%),
    image-set(
      url("/images/apps/kimitalk-web-graphics/apps-workflow-bg.webp?v=apps-bg-7") type("image/webp"),
      url("/images/apps/kimitalk-web-graphics/apps-workflow-bg.png?v=apps-bg-7") type("image/png")
    );
  background-position: center center, center 58%;
  background-size: cover, max(2100px, 155vw) auto;
  content: "";
  opacity: 0.34;
  pointer-events: none;
  filter: saturate(0.9) contrast(0.9) blur(0.6px);
  transform: translateX(-50%) translate3d(0, var(--vf-bg-y), 0);
  will-change: transform;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.46) 68%, transparent 100%),
    radial-gradient(ellipse at 50% 50%, black 0%, rgba(0, 0, 0, 0.72) 38%, transparent 78%);
  mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.46) 68%, transparent 100%),
    radial-gradient(ellipse at 50% 50%, black 0%, rgba(0, 0, 0, 0.72) 38%, transparent 78%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.voice-flow-section.is-revealed {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  /* Never hide the section if motion is reduced — the loop is skipped, but
     the static end-state should still be visible without scrolling. */
  .voice-flow-section { opacity: 1; }
}

.voice-flow-stage {
  /* Pill sizing mirrors the native RecordingOverlayView.swift control. */
  --pill-h: 36px;
  --pill-w: 76px;
  --pill-collapsed: 36px;
  --pill-half: calc(var(--pill-w) / 2);
  --pill-collapsed-half: calc(var(--pill-collapsed) / 2);
  --window-a-w: 580px;
  --window-a-h: 280px;
  --window-b-w: 440px;
  --window-b-h: 240px;
  --output-h: var(--window-a-h);
  --titlebar-h: 28px;
  --window-bg: #1c1d20;
  --window-bg-2: #131418;
  --window-border: rgba(255, 255, 255, 0.08);
  --titlebar-bg-1: #2a2b2f;
  --titlebar-bg-2: #1f2024;
  --titlebar-border: rgba(0, 0, 0, 0.45);
	  --terminal-text: #d8d9da;
	  --terminal-mute: #8a8d92;
	  --vf-zoom: 1;
	  --vf-drift-y: 0px;
	  --vf-exit-y: 0px;
	  --vf-opacity: 1;
	  position: sticky;
	  top: calc(50svh - 200px);
  z-index: 1;
  height: 400px;
  width: 100%;
	  overflow: visible;
	  transform: translate3d(0, calc(var(--vf-drift-y) + var(--vf-exit-y)), 0) scale(var(--vf-zoom));
	  transform-origin: center center;
	  opacity: var(--vf-opacity);
	  will-change: transform;
	}

.voice-flow-stage.is-viewport-locked {
  position: fixed;
  top: calc(50svh - 200px);
  left: 0;
  right: 0;
  z-index: 5;
}

/* Source side — text flowing from left toward the bubble */
.voice-flow-source {
  position: absolute;
  left: 0;
  right: calc(50% - var(--pill-collapsed-half));
  top: calc(50% + 110px);
  transform: translateY(-50%);
  height: calc(var(--pill-h) + 30px);
  overflow: hidden;     /* clip at the pill's left edge so words "enter" the pill */
  pointer-events: none;
  z-index: 5;           /* always above both windows, even Window A after click */
  /* No fade-mask — every word stays fully visible until it actually meets the pill. */
}
.voice-flow-source svg { width: 100%; height: 200px; display: block; overflow: visible; position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
.voice-flow-source text {
  fill: rgba(238, 248, 252, 0.85);
  font-size: 20px;
  font-weight: 500;
  opacity: 0.55;
  font-family: inherit;
  letter-spacing: 0.005em;
}
.voice-flow-source path { stroke: transparent; fill: transparent; }

@media (min-width: 1081px) {
  .voice-flow-section {
    padding-bottom: clamp(100px, 18vh, 190px);
  }

  .voice-flow-section .voice-flow-source {
    height: 156px;
    top: calc(50% + 86px);
  }

  .voice-flow-section .voice-flow-bubble {
    top: calc(50% + 86px);
  }
}

/* Window A — main transcript window, lifted to front when clicked. */
.voice-flow-output {
  position: absolute;
  left: calc(50% - 70px);
  top: 50%;
  width: var(--window-a-w);
  max-width: calc(100% - 32px);
  height: var(--window-a-h);
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--window-bg) 0%, var(--window-bg-2) 100%);
  border: 1px solid var(--window-border);
  border-radius: 11px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 22px 60px rgba(0, 0, 0, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  transition: filter 240ms ease, box-shadow 240ms ease;
  filter: brightness(0.78) saturate(0.85);
}
.voice-flow-stage.is-front-a .voice-flow-output {
  z-index: 4;
  filter: none;
}

/* Window B — secondary, in front of A by default. Sits to the lower-right
   of Window A so the user can see it covers part of A. */
.voice-flow-output-2 {
  position: absolute;
  left: calc(50% + 290px);
  top: calc(50% + 82px);
  width: var(--window-b-w);
  max-width: calc(100% - 32px);
  height: var(--window-b-h);
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--window-bg) 0%, var(--window-bg-2) 100%);
  border: 1px solid var(--window-border);
  border-radius: 11px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 22px 56px rgba(0, 0, 0, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 3;
  transition: filter 240ms ease, z-index 0ms 240ms;
}
.voice-flow-stage.is-front-a .voice-flow-output-2 {
  z-index: 2;
  filter: brightness(0.78) saturate(0.85);
}

/* macOS-style titlebar */
.vf-titlebar {
  flex: 0 0 auto;
  height: var(--titlebar-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 12px;
  background: linear-gradient(180deg, var(--titlebar-bg-1), var(--titlebar-bg-2));
  border-bottom: 1px solid var(--titlebar-border);
  user-select: none;
}
.vf-traffic { display: flex; gap: 8px; align-items: center; }
.vf-traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.vf-traffic i.tl-close { background: #ff5f57; }
.vf-traffic i.tl-min   { background: #ffbd2e; }
.vf-traffic i.tl-max   { background: #28c93f; }
.vf-titlebar-name {
  grid-column: 2;
  text-align: center;
  color: var(--terminal-mute);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.vf-titlebar-spacer { width: 56px; }

/* Window body */
.vf-body {
  flex: 1 1 auto;
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 35%),
    transparent;
}
.vf-body-static { padding: 18px 22px; }
.vf-static-line {
  margin: 0;
  color: var(--terminal-text);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}
.vf-static-line.muted { color: var(--terminal-mute); }

.voice-flow-output-text {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  margin: 0;
  padding: 0;
  color: var(--terminal-text);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.58;
  letter-spacing: 0;
  white-space: normal;
  text-align: left;
}
.voice-flow-stage.is-apps-trigger .voice-flow-output-text {
  color: var(--terminal-text);
}
.vf-word { display: inline-block; white-space: nowrap; }
.vf-break { display: block; height: 0.6em; }
.vf-letter {
  display: inline-block;
  opacity: 0;
  /* Fade-out kicks in once .is-active is removed (user clicks Window B in
     the loop). The animation, while .is-active is present, overrides this
     transition; once the rule no longer matches, opacity reverts to 0 and
     the transition smoothly carries each letter down. */
  transition: opacity 1500ms ease;
}
.voice-flow-stage.is-active .vf-letter {
  animation: vfTypeIn 40ms linear 1 forwards;
  animation-delay: calc(100ms + var(--i, 0) * 2.5ms);
}
.voice-flow-stage.is-scrolly .vf-letter {
  animation: none !important;
  transition: none;
}
@keyframes vfTypeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Cursor — sits in window A's body top-left, visible only after click */
.vf-cursor {
  position: absolute;
  top: var(--vf-cursor-top, 18px);
  left: var(--vf-cursor-left, 22px);
  width: 8px;
  height: 1.05em;
  margin-top: 0.18em;
  background: var(--terminal-text);
  border-radius: 1px;
  z-index: 4;
  font-size: clamp(13px, 0.92vw, 15px);
  opacity: 0;
  transition:
    left 160ms cubic-bezier(0.23, 1, 0.32, 1),
    top 160ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 160ms ease;
}
.voice-flow-stage.is-front-a .vf-cursor {
  animation: vfCursorBlink 1.06s steps(2, jump-none) infinite;
  opacity: 1;
}
.voice-flow-stage.is-pasted .vf-cursor {
  animation: vfCursorBlink 1.06s steps(2, jump-none) infinite;
  opacity: 1;
}
@keyframes vfCursorBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Bubble — KimiTalk recording pill (lower area of Window A) */
.voice-flow-bubble {
  position: absolute;
  left: 50%;
  top: calc(50% + 110px);
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: var(--pill-collapsed);
  height: var(--pill-h);
  padding: 0;
  border-radius: 999px;
  background: var(--kt-pill-bg);
  border: 1.8px solid var(--kt-orange);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--kt-orange) 9.5%, transparent),
    0 0 24px color-mix(in srgb, var(--kt-orange) 6%, transparent);
  isolation: isolate;
  overflow: hidden;
  transition:
    width 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 400ms ease;
}
.voice-flow-bubble.is-expanded {
  width: var(--pill-w);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--kt-orange) 18%, transparent),
    0 0 28px color-mix(in srgb, var(--kt-orange) 12%, transparent);
}

.kt-mic {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--kt-mic-idle);
  transition: opacity 180ms ease;
  z-index: 1;
}
.kt-mic svg { width: 100%; height: 100%; display: block; }
.voice-flow-bubble.is-listening .kt-mic,
.voice-flow-bubble.is-transcribing .kt-mic {
  opacity: 0;
}

/* Audio bars — recording state */
.kt-dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 2;
}
.voice-flow-bubble.is-listening .kt-dots { opacity: 1; }
.voice-flow-bubble.is-transcribing .kt-dots { opacity: 0; }
.kt-dots i {
  flex: 0 0 3.6px;
  width: 3.6px;
  height: 25px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--kt-orange-bright), var(--kt-orange));
  transform: scaleY(var(--kt-band-min, 0.18));
  transform-origin: center;
  opacity: 1;
}
.voice-flow-bubble.is-listening .kt-dots i {
  animation: ktAnalyzerPulse 900ms ease-in-out infinite;
}
.voice-flow-bubble.is-listening .kt-dots i:nth-child(1) { --kt-band-min: 0.0684; --kt-band-peak: 0.3496; --kt-band-mid: 0.1596; --kt-band-high: 0.2812; --kt-band-rest: 0.2204; animation-delay: -0.05s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(2) { --kt-band-min: 0.1116; --kt-band-peak: 0.5704; --kt-band-mid: 0.2604; --kt-band-high: 0.4588; --kt-band-rest: 0.3596; animation-delay: -0.32s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(3) { --kt-band-min: 0.1548; --kt-band-peak: 0.7912; --kt-band-mid: 0.3612; --kt-band-high: 0.6364; --kt-band-rest: 0.4988; animation-delay: -0.61s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(4) { --kt-band-min: 0.18; --kt-band-peak: 0.92; --kt-band-mid: 0.42; --kt-band-high: 0.74; --kt-band-rest: 0.58; animation-delay: -0.10s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(5) { --kt-band-min: 0.1476; --kt-band-peak: 0.7544; --kt-band-mid: 0.3444; --kt-band-high: 0.6068; --kt-band-rest: 0.4756; animation-delay: -0.45s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(6) { --kt-band-min: 0.1044; --kt-band-peak: 0.5336; --kt-band-mid: 0.2436; --kt-band-high: 0.4292; --kt-band-rest: 0.3364; animation-delay: -0.18s; }
.voice-flow-bubble.is-listening .kt-dots i:nth-child(7) { --kt-band-min: 0.0648; --kt-band-peak: 0.3312; --kt-band-mid: 0.1512; --kt-band-high: 0.2664; --kt-band-rest: 0.2088; animation-delay: -0.72s; }
@keyframes ktAnalyzerPulse {
  0%, 100% { transform: scaleY(var(--kt-band-min, 0.18)); }
  25%      { transform: scaleY(var(--kt-band-peak, 0.92)); }
  50%      { transform: scaleY(var(--kt-band-mid, 0.42)); }
  75%      { transform: scaleY(var(--kt-band-high, 0.74)); }
}

/* Transcribing — native six-dot processing state */
.kt-thinking {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 2;
}
.voice-flow-bubble.is-transcribing .kt-thinking { opacity: 1; }
.kt-thinking i {
  width: 4.6px;
  height: 4.6px;
  border-radius: 50%;
  background: var(--kt-orange);
  box-shadow: 0 0 6px color-mix(in srgb, var(--kt-orange) 45%, transparent);
  opacity: 0.42;
  transform: translateY(2.1px);
}
.voice-flow-bubble.is-transcribing .kt-thinking i {
  animation: ktProcessingBounce 1.2s ease-in-out infinite;
}
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(1) { animation-delay: 0s; }
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(2) { animation-delay: -0.09s; }
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(3) { animation-delay: -0.18s; }
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(4) { animation-delay: -0.27s; }
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(5) { animation-delay: -0.36s; }
.voice-flow-bubble.is-transcribing .kt-thinking i:nth-child(6) { animation-delay: -0.45s; }
@keyframes ktProcessingBounce {
  0%, 100% { transform: translateY(2.1px); opacity: 0.42; }
  50%      { transform: translateY(-3px);  opacity: 1;    }
}

/* Simulated macOS mouse cursor — travels from window B to window A */
.vf-mouse {
  position: absolute;
  /* All mouse positions anchored to the stage center via calc() so the
     cursor always hits Window A's body, regardless of browser width.
     Start = end of "…14:02" in Window B's bottom line. */
  left: calc(50% + 324px);
  top: calc(50% + 28px);
  width: 22px;
  height: 28px;
  z-index: 4;
  pointer-events: none;
  opacity: 1;
  will-change: left, top;
}
.vf-mouse svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}
/* Mouse position is now driven by inline styles from the inline JS so the
   loop can move it back-and-forth between Windows A and B every cycle. CSS
   only provides the resting position (above) and the click-pulse. */
.voice-flow-stage.is-mouse-click .vf-mouse svg {
  animation: vfMouseClick 220ms ease-out 1;
}
@keyframes vfMouseClick {
  0%   { transform: scale(1); }
  45%  { transform: scale(0.78); }
  100% { transform: scale(1); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .voice-flow-section .kt-dots i,
  .voice-flow-section .vf-letter,
  .voice-flow-section .vf-cursor,
  .voice-flow-section .vf-mouse,
  .voice-flow-section .kt-thinking i { animation: none !important; }
  .voice-flow-section .vf-letter { opacity: 1 !important; }
  .voice-flow-bubble.is-listening .kt-dots i { opacity: 0.85; transform: scaleY(var(--kt-band-rest, 0.58)); }
}

/* Mobile — both windows are still shown but stacked tightly with a slight
   left/up offset for Window B (like overlapping cards). Mouse cursor still
   travels from B to A and clicks A to bring it to the front. */
@media (max-width: 760px) {
  .voice-flow-stage {
    --pill-w: 76px;
    --pill-h: 36px;
    --pill-collapsed: 36px;
    --window-a-w: calc(100% - 24px);
    --window-a-h: 210px;
    --window-b-w: min(320px, calc(100% - 92px));
    --window-b-h: 176px;
    height: 360px;
    top: calc(50svh - 180px);
  }

  /* Window A: centered, slightly down so the bubble has room below */
  .voice-flow-output {
    left: 50%;
    top: calc(50% + 14px);
  }

  /* Window B: smaller and shifted right, like the foreground app window. */
  .voice-flow-output-2 {
    left: calc(50% + 34px);
    top: calc(50% - 34px);
  }

  /* Bubble + source flow positioned in the lower portion of Window A */
  .voice-flow-bubble { top: calc(50% + 110px); }
  .voice-flow-source { top: calc(50% + 110px); right: calc(50% - 16px); }

  /* Mouse cursor — sized down a touch. Position is driven by JS now via
     a viewport-aware lookup, so we just set the resting size here. */
  .vf-mouse {
    left: calc(50% + 80px);
    top: calc(50% + 30px);
    width: 18px;
    height: 22px;
  }

  .voice-flow-output-text { font-size: 12px; line-height: 1.5; padding: 0; left: 16px; right: 16px; top: 14px; }
  .vf-cursor {
    left: var(--vf-cursor-left, 16px);
    top: var(--vf-cursor-top, 14px);
    font-size: 12px;
  }
  .vf-body-static { padding: 12px 14px; }
  .vf-static-line { font-size: 11px; }
  .vf-titlebar { height: 24px; padding: 0 8px; }
  .vf-traffic i { width: 9px; height: 9px; }
  .vf-titlebar-name { font-size: 10px; }
  .voice-flow-section {
    min-height: 360vh;
    padding: clamp(64px, 10vh, 96px) 16px clamp(80px, 18vh, 150px);
  }
}

/* Tablet — windows shrink so they always fit & the mouse still hits Window A.
   Mouse keyframe positions are anchored via calc(50% ± Npx) so they follow
   the windows once we adjust their offsets. */
@media (min-width: 761px) and (max-width: 1080px) {
  .voice-flow-stage {
    --window-a-w: 500px;
    --window-b-w: 360px;
  }
  .voice-flow-output-2 { left: calc(50% + 250px); top: calc(50% + 82px); }
  .vf-mouse { left: calc(50% + 270px); top: calc(50% + 28px); }
}

/* ── Karten-Stagger (voicely-Stil) ─────────────────────────────────────────
   Fuellt die Reveal-Luecke beim Karten-Aufbau in den Grids (model-proof,
   pricing, faq), die — anders als ai-workflow/app-compat — noch kein Einblenden
   hatten. Eigene Klassen (kt-reveal/kt-shown), NICHT is-visible, um nicht mit
   dem bestehenden Section-Reveal-System zu kollidieren. Zuweisung JS-seitig:
   faellt JS aus, bleibt alles sichtbar. reduced-motion = sofort da. */
.kt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  transition-delay: calc(var(--kt-d, 0) * 80ms);
}
.kt-reveal.kt-shown {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .kt-reveal { opacity: 1; transform: none; transition: none; }
}
