/* echo99 public site — merged from the page designs.
 * One stylesheet, page differences scoped by body class:
 *   pg-home (landing) · pg-contact · pg-legal (terms + privacy policy).
 * Rules that were bare element selectors in the source pages are scoped with
 * :where(.pg-…) to keep their original (0,0,1) specificity — a plain
 * `.pg-contact a` would out-rank .brand/.footer-links a and add underlines
 * to the shared header/footer. Don't "simplify" the :where() away. */

/* ---------- shared (identical across all pages) ---------- */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #55555c;
  --faint: #86868b;
  --hair: #e5e5e5;
  --red: #ff3b30;
  --on-ink: #ffffff;          /* text on --ink-filled buttons */
  --surface: #fafafa;          /* subtle inline panels: badges, step demos */
  --card-bg: #ffffff;          /* floating cards: cookie banner */
  --code-bg: #f5f5f7;          /* inline code chips */
  --header-bg: rgba(255, 255, 255, .94);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

/* The CSS-drawn macOS windows always render light — they depict the app's
 * light UI, matching the PNG screenshots. Pinning the inherited tokens here
 * keeps them light when the page theme flips dark; interior colors of these
 * components stay literal for the same reason. */
.display, .menu, .mini-bar, .people-window, .recordings-window,
.not-found-visual, .not-found-menu {
  --ink: #111111;
  --muted: #55555c;
  --faint: #86868b;
  --hair: #e5e5e5;
  --red: #ff3b30;
  color: var(--ink);
  color-scheme: light;
}

/* ---------- dark theme ----------
 * Same values twice on purpose: the media-query block follows the OS unless
 * the user chose light; the [data-theme="dark"] block is the explicit choice.
 * (Not light-dark(): its failure mode on older browsers is broken colors,
 * not a graceful light fallback.) Keep both blocks identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113;
    --ink: #f2f2f3;
    --muted: #a8a8af;
    --faint: #7d7d84;
    --hair: #2b2b2f;
    --red: #ff453a;
    --on-ink: #111113;
    --surface: #1a1a1d;
    --card-bg: #1e1e21;
    --code-bg: #232327;
    --header-bg: rgba(17, 17, 19, .94);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .pg-not-found {
    /* #ff6b61 against #111113 clears WCAG AA for the interaction states. */
    --not-found-interaction-red: #ff6b61;
  }
}
:root[data-theme="dark"] {
  --bg: #111113;
  --ink: #f2f2f3;
  --muted: #a8a8af;
  --faint: #7d7d84;
  --hair: #2b2b2f;
  --red: #ff453a;
  --on-ink: #111113;
  --surface: #1a1a1d;
  --card-bg: #1e1e21;
  --code-bg: #232327;
  --header-bg: rgba(17, 17, 19, .94);
  color-scheme: dark;
}
:root[data-theme="dark"] .pg-not-found {
  --not-found-interaction-red: #ff6b61;
}

.accent { color: var(--red); }

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--red); color: #fff; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  padding: clamp(1.5rem, 4vw, 4rem);
  min-height: 100svh;
}
.pg-home {
  display: flex;
  flex-direction: column;
}
:where(.pg-contact, .pg-legal) a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
:where(.pg-contact, .pg-legal) a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  padding: .75rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}
.header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 4.5rem;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.top-nav a:hover { color: var(--red); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.dot {
  width: .625em;
  height: .625em;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}
.pg-home .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.nav-download {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: -0.01em;
  padding: .65rem 1rem;
  transition: background-color .15s ease;
}
.nav-download:hover { background: var(--red); color: var(--on-ink); }
.header-right {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--red); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun { display: none; }
/* Effective-dark shows the sun (click = go light) — same two-block pattern
 * as the dark tokens; keep in sync with both. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

main { padding-top: clamp(3rem, 10vh, 7rem); }
.pg-home main { flex: 1; max-width: 76rem; }
.pg-contact main { max-width: 64rem; }
.pg-legal main { max-width: 48rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
:where(.pg-home) h1 {
  font-size: clamp(2.85rem, 6.2vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
:where(.pg-contact, .pg-legal) h1 {
  margin-top: .8rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .98;
}
.intro {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.pg-contact .intro { max-width: 42rem; }

footer {
  margin-top: clamp(4rem, 10vh, 7rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  line-height: 1.8;
  color: var(--faint);
}
.pg-contact footer { max-width: 64rem; }
.pg-legal footer { max-width: 48rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: .6rem;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover { color: var(--red); }

/* ---------- home: hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.period {
  display: inline-block;
  width: .13em; height: .13em;
  background: var(--red);
  border-radius: 50%;
  margin-left: .05em;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sub {
  margin-top: 1.8rem;
  font-size: clamp(1.12rem, 1.75vw, 1.38rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
  letter-spacing: -0.01em;
}
.cta { margin-top: 2.6rem; }
.cta a {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 1.05rem 2.2rem;
  transition: background-color .15s ease;
}
.cta a:hover { background: var(--red); }
.caption {
  margin-top: .9rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--faint);
}

/* ---------- home: menu-bar visual ---------- */

.visual {
  justify-self: end;
  width: min(38rem, 118%);
  transform: translateX(clamp(.5rem, 1.4vw, 1.25rem));
}
.display {
  position: relative;
  height: 305px;
  background: linear-gradient(180deg, #fbfbfc 0%, #f1f1f4 100%);
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.18);
}
.menubar {
  display: flex; align-items: center; justify-content: space-between;
  height: 32px;
  padding: 0 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--hair);
  border-radius: 10px 10px 0 0;
  font-size: .78rem;
}
.menubar .menus { display: flex; align-items: center; gap: .95em; color: var(--ink); }
.menubar .menus .apple-menu {
  font-size: .94rem;
  line-height: 1;
  margin-right: .05em;
}
.menubar .menus .app { font-weight: 700; }
.menubar .status {
  display: flex;
  align-items: center;
  gap: .55em;
  color: var(--ink);
  white-space: nowrap;
}
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}
.status-icon svg { display: block; }
.extra {
  display: inline-flex; align-items: center;
  padding: 2px 6px;
  background: rgba(0,0,0,.08);
  border-radius: 5px;
}
.extra svg { display: block; }
.extra .rec { animation: pulse 2.4s ease-in-out infinite; }
.menu {
  position: absolute;
  top: 40px; right: 42px;
  width: 205px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
  padding: 5px;
  font-size: .85rem;
}
.menu .item { padding: .3rem .75rem; border-radius: 6px; }
.menu .item.hot { background: var(--ink); color: #fff; font-weight: 500; }
.menu .item.recording { display: flex; align-items: center; gap: .5rem; }
.menu .item.recording .rec-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #ff3b30;
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
.menu .item.check { position: relative; padding-left: 1.55rem; }
.menu .item.check::before {
  content: "\2713";
  position: absolute;
  left: .6rem;
  font-weight: 600;
}
.menu .sep { height: 1px; background: var(--hair); margin: 4px 8px; }

/* ---------- home: features ---------- */

.features {
  margin-top: clamp(4rem, 9vh, 6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 1.2rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.feature-card h2 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.feature-card p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.feature-badge {
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: .35rem .55rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
}

/* ---------- home: how it works ---------- */

.how {
  margin-top: clamp(4rem, 9vh, 6rem);
  padding-top: clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--hair);
  /* Offset the "How it works" nav anchor jump so the heading clears the sticky
   * header — 6rem covers the header even when it wraps to two rows on narrow
   * screens (it has flex-wrap). */
  scroll-margin-top: 6rem;
}
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.section-head p {
  margin-top: .9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.step-card {
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 1.2rem;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 700;
}
.step-demo {
  min-height: 6.5rem;
  margin: 1.1rem 0;
  padding: 1rem;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  height: 28px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: 7px;
  box-shadow: 0 5px 12px rgba(0,0,0,.05);
  font-size: .72rem;
  white-space: nowrap;
}
.mini-bar .menus {
  display: flex;
  align-items: center;
  gap: .8em;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
}
.mini-bar .apple-menu {
  font-size: .85rem;
  line-height: 1;
}
.mini-bar .app { font-weight: 700; }
.mini-bar .status {
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--ink);
}
.track {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: .8rem;
}
.track + .track { margin-top: .9rem; }
.track-label {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wave {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
  opacity: .8;
}
.wave.alt { opacity: .45; }
.transcript-demo {
  font-size: .78rem;
  line-height: 1.4;
}
.transcript-demo div + div { margin-top: .7rem; }
.speaker {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.timestamp {
  color: var(--faint);
  font-family: var(--mono);
  font-size: .68rem;
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.step-card p {
  margin-top: .55rem;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.workflow-head {
  margin-top: clamp(3rem, 7vh, 5rem);
  margin-bottom: 1.2rem;
}
.workflow-head h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.workflow-head p {
  margin-top: .45rem;
  color: var(--muted);
  line-height: 1.5;
}
.files {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
.file-card {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
  min-width: 0;
}
.file-card h4 {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .02em;
  line-height: 1.3;
  word-break: break-word;
}
.file-card p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.4;
}
.saved-path {
  margin-top: 1.4rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .02em;
}
.upcoming-head { margin-top: clamp(2.5rem, 5vh, 3.5rem); }
.upcoming-files { margin-top: 1.2rem; }
.file-card.upcoming { border-top-style: dashed; }
.file-card.upcoming h4 { color: var(--faint); }
.upcoming-badge {
  display: inline-block;
  margin-top: .55rem;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--hair);
  padding: .14rem .4rem;
}

/* ---------- home: trust ---------- */

.trust {
  margin-top: clamp(4rem, 9vh, 6rem);
  padding-top: clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.trust .section-head { margin-bottom: 0; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}
.trust-badge {
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: .45rem .65rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--surface);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.trust-point {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
}
.trust-point strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.trust-point p {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* ---------- home: no-cloud / no-account / no-upload dl ---------- */

:where(.pg-home) dl { margin-top: clamp(4rem, 10vh, 7rem); }
:where(.pg-home) dl > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--hair);
}
:where(.pg-home) dt {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-top: .2em;
}
:where(.pg-home) dd {
  color: var(--muted);
  line-height: 1.55;
  max-width: 46em;
  letter-spacing: -0.005em;
}
:where(.pg-home) dd code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--code-bg);
  padding: .1em .35em;
}

/* ---------- contact ---------- */

.contact {
  margin-top: clamp(3rem, 8vh, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--hair);
  padding-top: clamp(2rem, 5vw, 3rem);
}
.contact-copy h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.contact-copy p {
  margin-top: .9rem;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.method {
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 1.2rem;
  min-width: 0;
}
.method h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.method p {
  margin-top: .55rem;
  color: var(--muted);
  line-height: 1.45;
}
.method a {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: .82rem;
  word-break: break-word;
}

/* ---------- legal (terms + privacy policy) ---------- */

.legal {
  margin-top: clamp(3rem, 8vh, 5rem);
  border-top: 1px solid var(--hair);
}
.legal section {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hair);
}
:where(.pg-legal) h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
:where(.pg-legal) p, :where(.pg-legal) li {
  color: var(--muted);
  line-height: 1.62;
  letter-spacing: -0.005em;
}
:where(.pg-legal) h2 + p, :where(.pg-legal) h2 + ul,
:where(.pg-legal) p + p, :where(.pg-legal) p + ul { margin-top: .75rem; }
:where(.pg-legal) ul { padding-left: 1.2rem; }
:where(.pg-legal) li + li { margin-top: .45rem; }
.updated {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--faint);
}

/* ---------- pg-article (guides, FAQ, comparisons) ---------- */

.pg-article main { max-width: 64rem; }
.pg-article footer { max-width: 64rem; }
:where(.pg-article) a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
:where(.pg-article) a:hover { color: var(--red); }
:where(.pg-article) h1 {
  margin-top: .8rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .98;
}
.pg-article .intro { max-width: 46rem; }
:where(.pg-article) h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
:where(.pg-article) h3 {
  margin-top: 1.8rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
:where(.pg-article) p, :where(.pg-article) li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
:where(.pg-article) h2 + p, :where(.pg-article) h3 + p,
:where(.pg-article) p + p, :where(.pg-article) p + ul { margin-top: .75rem; }
:where(.pg-article) ul { padding-left: 1.2rem; margin-top: .75rem; }
:where(.pg-article) li + li { margin-top: .45rem; }
:where(.pg-article) code {
  font-family: var(--mono);
  font-size: .92em;
  background: var(--code-bg);
  padding: .1em .35em;
}
:where(.pg-article) strong { color: var(--ink); }

.article-steps { counter-reset: step; margin-top: 1rem; padding-left: 0; list-style: none; }
.article-steps li { position: relative; padding-left: 2.6rem; }
.article-steps li + li { margin-top: .9rem; }
.article-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
}

.compare-table {
  margin-top: 1.6rem;
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
}
.compare-table th, .compare-table td {
  border-top: 1px solid var(--hair);
  padding: .8rem .9rem .8rem 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.compare-table thead th {
  border-top: 0;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.compare-table tbody th {
  font-weight: 650;
  color: var(--ink);
  width: 22%;
}
.compare-table td { color: var(--muted); width: 39%; }
.table-note {
  margin-top: .6rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--faint);
}

.vs-when {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.vs-when article { border: 1px solid var(--hair); padding: 1.2rem 1.3rem; }
.vs-when h3 { margin-top: 0; }

.article-cta {
  margin-top: clamp(3rem, 8vh, 5rem);
  border-top: 1px solid var(--hair);
  padding-top: 2.2rem;
  text-align: center;
}
.article-cta h2 { margin-top: 0; }
.article-cta .cta { margin-top: 1.4rem; }
.article-cta .cta a {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: .95rem 1.6rem;
  transition: background-color .15s ease;
}
.article-cta .cta a:hover { background: var(--red); }
.article-cta .caption {
  margin-top: .8rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--faint);
}

/* ---------- speaker identification: Manage People visual ---------- */

.speaker-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(28rem, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.speaker-article-hero .article-heading { min-width: 0; }
.speaker-article-hero .intro { max-width: 34rem; }
.speaker-people-visual { min-width: 0; }
.people-window {
  overflow: hidden;
  color: #333;
  background: #f4f4f5;
  border: 1px solid #d4d4d7;
  border-radius: 10px;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.25);
}
.people-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: #fbfbfb;
  border-bottom: 1px solid #d8d8da;
}
.people-traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.people-traffic-close { background: #ff5f57; }
.people-traffic-minimize { background: #d9d9dc; }
.people-traffic-zoom { background: #28c840; }
.people-window-title {
  margin-left: 12px;
  font-size: .78rem;
  font-weight: 650;
}
.people-window-more {
  margin-left: auto;
  color: #777;
  letter-spacing: 1px;
}
.people-window-body {
  display: grid;
  grid-template-columns: minmax(10rem, 34%) 1fr;
  min-height: 20rem;
}
.people-sidebar {
  padding: 12px 9px;
  background: #f7f7f8;
  border-right: 1px solid #ddd;
}
.people-search {
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #e7e7e9;
  color: #999;
  font-size: .68rem;
}
.people-person {
  margin: 2px 0;
  padding: 7px 8px;
  border-radius: 5px;
  font-size: .76rem;
  line-height: 1.25;
}
.people-person strong, .people-person span { display: block; }
.people-person span {
  margin-top: 2px;
  color: #777;
  font-size: .58rem;
}
.people-person.is-selected {
  color: #fff;
  background: #0868df;
}
.people-person.is-selected strong { color: #fff; }
.people-person.is-selected span { color: #d3e6ff; }
.people-detail {
  min-width: 0;
  padding: 14px;
  background: #f9f9fa;
}
.people-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.people-name-field, .people-add, .people-delete {
  border: 1px solid #d1d1d4;
  border-radius: 5px;
  background: #fff;
}
.people-name-field {
  flex: 1;
  padding: 5px 9px;
  font-size: .75rem;
}
.people-add {
  padding: 6px 9px;
  font-size: .62rem;
  white-space: nowrap;
}
.people-detail h2 {
  margin-top: 15px;
  font-size: .82rem;
}
.people-voiceprints {
  margin-top: 8px;
  background: #fff;
}
.people-voiceprint {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 49px;
  padding: 7px 9px;
  border-bottom: 1px solid #eeeef0;
  font-size: .6rem;
}
.people-voiceprint:last-child { border-bottom: 0; }
.people-confirmed {
  padding: 3px 6px;
  border-radius: 10px;
  background: #e6e6e7;
  font-weight: 700;
}
.people-voiceprint-id {
  min-width: 0;
  overflow-wrap: anywhere;
}
.people-voiceprint-id time {
  display: block;
  margin-top: 2px;
  color: #777;
}
.people-delete { padding: 3px 7px; }

/* ---------- local transcription: Recordings visual ---------- */

.recordings-transcript-visual {
  margin: 0 0 clamp(3rem, 7vw, 5.5rem);
}
.recordings-transcript-visual figcaption {
  margin-top: .9rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: .72rem;
  text-align: center;
}
.recordings-window {
  overflow: hidden;
  color: #2f2f32;
  background: #f7f7f8;
  border: 1px solid #d4d4d7;
  border-radius: 10px;
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.25);
}
.recordings-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #fbfbfc;
  border-bottom: 1px solid #d8d8da;
}
.recordings-traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.recordings-traffic-close { background: #ff5f57; }
.recordings-traffic-minimize { background: #ffbd2e; }
.recordings-traffic-zoom { background: #28c840; }
.recordings-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .82rem;
  font-weight: 700;
}
.recordings-window-more {
  margin-left: auto;
  color: #777;
  letter-spacing: 1px;
}
.recordings-window-body {
  display: grid;
  grid-template-columns: minmax(12rem, 27%) minmax(0, 1fr);
  min-height: 27rem;
}
.recordings-sidebar {
  padding: 18px 12px;
  background: #f2f2f4;
  border-right: 1px solid #dadadd;
}
.recordings-sidebar-label {
  margin: 0 8px 10px;
  color: #99999f;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.recordings-entry {
  margin: 3px 0;
  padding: 10px;
  border-radius: 6px;
  font-size: .78rem;
  line-height: 1.25;
}
.recordings-entry strong,
.recordings-entry span {
  display: block;
}
.recordings-entry span {
  margin-top: 3px;
  color: #7c7c82;
  font-size: .62rem;
}
.recordings-entry.is-selected {
  color: #111111;
  background: #dedee2;
}
.recordings-entry.is-selected span { color: #55555c; }
.recordings-detail {
  min-width: 0;
  background: #fff;
}
.recordings-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 10px;
}
.recordings-name-field {
  flex: 1;
  max-width: 24rem;
  padding: 7px 10px;
  border: 1px solid #d3d3d7;
  border-radius: 6px;
  color: #77777d;
  font-size: .78rem;
}
.recordings-all-named {
  padding: 5px 9px;
  border-radius: 999px;
  color: #087c40;
  background: #e2f4e9;
  font-size: .65rem;
  font-weight: 700;
}
.recordings-speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding: 0 18px 12px;
  border-bottom: 1px solid #e2e2e5;
  font-size: .72rem;
  font-weight: 700;
}
.recordings-speaker::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  content: "";
}
.recordings-speaker small {
  margin-left: 3px;
  color: #99999f;
  font-size: .62rem;
  font-weight: 500;
}
.recordings-speaker-me::before { background: #2f6fff; }
.recordings-speaker-maya::before { background: #12a05c; }
.recordings-speaker-jordan::before { background: #7758ee; }
.recordings-transcript {
  padding: 18px;
}
.recordings-transcript-row {
  display: grid;
  grid-template-columns: 22px 34px minmax(3.8rem, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 10px 8px;
  border-radius: 7px;
  font-size: .76rem;
  line-height: 1.45;
}
.recordings-transcript-row:nth-child(2) { background: #f5f5f7; }
.recordings-play {
  color: #77777d;
  font-size: .62rem;
  text-align: center;
}
.recordings-transcript-row time {
  color: #a0a0a6;
  font-variant-numeric: tabular-nums;
}
.recordings-line-speaker { white-space: nowrap; }
.recordings-line-me { color: #2f6fff; }
.recordings-line-maya { color: #0b9854; }
.recordings-line-jordan { color: #7758ee; }
.recordings-line-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .vs-when { grid-template-columns: 1fr; }
  .compare-table { font-size: .9rem; }
}

.feature-more { margin-top: .6rem; }
.feature-more a {
  color: var(--ink);
  font-size: .92rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.feature-more a:hover { color: var(--red); }
.footer-learn { margin-top: .35rem; }

/* ---------- not found ---------- */

.pg-not-found {
  /* #c62828 against white: 5.62:1 by the WCAG relative-luminance formula. */
  --not-found-interaction-red: #c62828;
  display: flex;
  flex-direction: column;
}
.pg-not-found main {
  flex: 1;
  width: 100%;
  max-width: 72rem;
}
.pg-not-found footer { max-width: 72rem; }
.not-found-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  min-height: min(32rem, 58vh);
}
.not-found-visual {
  position: relative;
  height: clamp(15rem, 32vw, 20rem);
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfc 0%, #f1f1f4 100%);
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 24px 48px -22px rgba(0,0,0,.24);
}
.not-found-menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--hair);
  font-size: .72rem;
  white-space: nowrap;
}
.not-found-menu {
  position: absolute;
  top: 42px;
  right: clamp(1rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  width: min(13rem, calc(100% - 2rem));
  padding: 5px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
  font-size: .82rem;
}
.not-found-menu-item {
  min-height: 1.85rem;
  padding: .36rem .7rem;
  border-radius: 6px;
}
.not-found-menu-missing {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  color: #fff;
  font-weight: 550;
}
.not-found-record-dot {
  flex: none;
  width: .5rem;
  height: .5rem;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
.not-found-menu-separator {
  height: 1px;
  margin: 4px 8px;
  background: var(--hair);
}
.not-found-copy { max-width: 36rem; }
.not-found-copy h1 {
  margin-top: .8rem;
  font-size: clamp(2.85rem, 6vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .99;
}
.not-found-intro {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.5;
  letter-spacing: -.01em;
}
.not-found-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}
.not-found-primary {
  display: inline-block;
  padding: .95rem 1.55rem;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .15s ease;
}
.not-found-primary:hover { background: var(--not-found-interaction-red); }
.not-found-secondary {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.not-found-secondary:hover { color: var(--not-found-interaction-red); }

/* ---------- cookie-consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 30;
  max-width: 22rem;
  background: var(--card-bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
  padding: 1rem 1.1rem;
}
.cookie-banner p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.cookie-banner a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.cookie-banner a:hover { color: var(--red); }
.cookie-actions {
  display: flex;
  gap: .5rem;
  margin-top: .8rem;
}
.cookie-actions button {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: .55rem .9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
  transition: background-color .15s ease;
}
.cookie-actions button:hover { background: var(--red); border-color: var(--red); }
.cookie-actions .cookie-decline {
  background: var(--card-bg);
  color: var(--ink);
  border-color: var(--hair);
}
.cookie-actions .cookie-decline:hover { background: var(--card-bg); color: var(--red); border-color: var(--hair); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .visual {
    justify-self: start;
    width: 100%;
    max-width: 28rem;
    transform: none;
  }
  .display { height: 300px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr; }
  .not-found-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
  }
  .not-found-visual {
    width: 100%;
    max-width: 28rem;
    height: 14rem;
  }
  .speaker-article-hero { grid-template-columns: 1fr; }
  .speaker-people-visual {
    width: 100%;
    max-width: 38rem;
  }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr; }
  :where(.pg-home) dl > div { grid-template-columns: 1fr; gap: .35rem; }
  .menubar .menus span:not(.app) { display: none; }
  .menubar .status .optional { display: none; }
  .nav-download { padding: .6rem .85rem; }
  .people-window-body { grid-template-columns: minmax(7.5rem, 38%) 1fr; }
  .people-sidebar { padding: 8px 6px; }
  .people-person {
    padding: 6px;
    font-size: .68rem;
  }
  .people-person span { font-size: .52rem; }
  .people-detail { padding: 9px; }
  .people-detail-head { display: grid; }
  .people-add {
    justify-self: start;
    white-space: normal;
  }
  .people-voiceprint {
    grid-template-columns: 1fr auto;
    gap: 5px;
    padding: 6px;
  }
  .people-confirmed {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .recordings-window-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .recordings-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border-right: 0;
    border-bottom: 1px solid #dadadd;
  }
  .recordings-sidebar-label { display: none; }
  .recordings-entry {
    min-width: 0;
    margin: 0;
    padding: 7px;
    font-size: .64rem;
  }
  .recordings-entry span { font-size: .5rem; }
  .recordings-detail-head {
    align-items: flex-start;
    padding: 10px 10px 7px;
  }
  .recordings-all-named { font-size: .54rem; }
  .recordings-speakers {
    gap: 6px 10px;
    padding: 0 10px 9px;
    font-size: .62rem;
  }
  .recordings-transcript { padding: 8px; }
  .recordings-transcript-row {
    grid-template-columns: 17px 28px minmax(3.3rem, auto) minmax(0, 1fr);
    gap: 5px;
    padding: 8px 4px;
    font-size: .65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- screenshots (getting-started) ---------- */
/* No border/box-shadow: the PNGs carry the window's own soft shadow on a
 * transparent canvas, so extra chrome would frame the transparent bounding
 * box, not the window. */
.screenshot { margin: 1.6rem auto; max-width: 480px; }
.screenshot img { display: block; width: 100%; height: auto; }
.screenshot figcaption {
  margin-top: .4rem;
  text-align: center;
  color: var(--faint);
  font-size: .8rem;
}

.hero-secondary { margin-top: .7rem; }
.hero-secondary a {
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 1px;
}
.hero-secondary a:hover { color: var(--red); border-color: var(--red); }

.see-also { margin-top: 2rem; color: var(--muted); font-size: .95rem; }
