: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);
}

.hero {
  min-height: calc(100vh - 172px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 46px 0 58px;
}

.hero::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
}

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 color-mix(in srgb, var(--accent) 22%, transparent));
}

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

.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;
}

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

.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(220px, 0.85fr) minmax(0, 1.15fr);
  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;
}

.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;
}

.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;
}

.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;
  }

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

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

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

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

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

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

  .system-recommendation {
    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 {
    align-items: center;
    gap: 10px;
  }

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

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

  .hero-title-logo {
    width: clamp(58px, 18vw, 72px);
    margin-bottom: 0;
  }

  .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;
  }

  .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;
  }

}

/* KIMIKON liquid glass refresh */
:root {
  --bg: #fbf7f1;
  --muted: #6f6961;
  --border: rgba(255, 122, 26, 0.16);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-soft: rgba(255, 243, 230, 0.68);
  --menu-surface: #fff8f0;
  --accent: #ff7a1a;
  --accent-strong: #d94f00;
  --glass-line: rgba(255, 255, 255, 0.62);
  --shadow: 0 22px 60px rgba(90, 48, 14, 0.12);
  --shadow-glow: 0 24px 70px rgba(255, 122, 26, 0.18);
}

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: #15100d;
  --text: #f4f6f2;
  --muted: #c4b4a3;
  --border: rgba(255, 145, 56, 0.18);
  --surface: rgba(31, 24, 20, 0.72);
  --surface-soft: rgba(43, 31, 24, 0.76);
  --menu-surface: #211711;
  --accent: #ff9447;
  --accent-strong: #ffbd7a;
  --blue: #8fc7ff;
  --hover-accent: #ffbd7a;
  --hover-text: #1f1008;
  --amber: #f1c766;
  --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(255, 122, 26, 0.16);
}

/* 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);
}

/* 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;
}

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

.speech-savings-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(18px, 3vw, 30px);
  margin-top: 30px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 18rem),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--blue) 15%, transparent), transparent 20rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-soft) 72%, transparent));
  box-shadow: var(--shadow-strong, var(--shadow));
  backdrop-filter: blur(26px) saturate(1.24);
}

.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) 8%, transparent), transparent);
  content: "";
}

.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: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 58%, transparent), color-mix(in srgb, var(--bg) 18%, transparent)),
    color-mix(in srgb, var(--surface-soft) 48%, 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 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.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-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 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.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), var(--amber)),
    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), var(--amber));
}

.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 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.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: 20px;
  min-width: 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  border-radius: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 64%, transparent), color-mix(in srgb, var(--surface-soft) 42%, transparent));
}

.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), var(--amber));
  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 620ms cubic-bezier(0.22, 1, 0.36, 1),
    left 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.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%);
  animation: speechDotPulse 1.9s ease-in-out infinite;
}

.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), var(--amber));
  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, #39f29a 22%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 255, 255, 0.08) 8px 10px);
  opacity: 0.76;
  animation: speechSavedSweep 2.8s linear infinite;
}

.speech-saved-zone span {
  overflow: hidden;
  max-width: calc(100% - 16px);
  color: color-mix(in srgb, #dcffe6 88%, 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: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 9rem),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
    color-mix(in srgb, var(--bg) 22%, 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 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.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), var(--amber));
  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 620ms cubic-bezier(0.22, 1, 0.36, 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 {
  position: relative;
  padding-top: clamp(84px, 9vw, 118px);
}

.voice-privacy-section::before {
  position: absolute;
  top: 48px;
  right: 50%;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: calc(100% - 24px);
  background: none;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.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, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  margin-top: clamp(30px, 5vw, 54px);
}

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

.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-visual.voice-privacy-image-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.voice-privacy-section .voice-privacy-visual.voice-privacy-image-card::before {
  content: none;
}

.voice-privacy-image-card picture,
.voice-privacy-image-card img {
  display: block;
  width: 100%;
}

.voice-privacy-image-card img {
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 48px color-mix(in srgb, var(--text) 7%, transparent);
}

.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 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-top: 22px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 20%, transparent);
}

.voice-privacy-section .voice-privacy-insights > div:first-child {
  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 200ms ease,
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.voice-privacy-section .voice-privacy-insight-buttons button:hover,
.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;
  transform: translateY(-1px);
}

.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);
}

.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), var(--amber));
  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 privacySignal {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes privacySignalVertical {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(320%);
  }
}

@media (max-width: 920px) {
  .speech-savings-panel {
    grid-template-columns: 1fr;
  }

  .speech-savings-visual {
    min-height: 360px;
  }

  .voice-privacy-layout {
    grid-template-columns: 1fr;
  }

  .voice-privacy-card {
    grid-template-columns: 1fr;
  }
}

@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-visual.voice-privacy-image-card {
    justify-self: center;
    width: min(720px, calc(100vw - 16px));
    max-width: none;
    padding: 0;
    border-radius: 18px;
  }

  .voice-privacy-image-card img {
    border-radius: 18px;
  }

  .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-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,
  .voice-privacy-line span,
  .speech-calendar span,
  .speech-scenario-toggle button {
    transition: none !important;
  }

  .speech-race-bar::after,
  .speech-saved-zone,
  .voice-privacy-line span {
    animation: none !important;
  }
}

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(--amber));
  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(31, 23, 17, 0.98), rgba(13, 10, 8, 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;
  }
}
