*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f3eb;
  --surface: #efe9da;
  --surface-raised: #fdfbf5;
  --ink: #141310;
  --ink-dim: #3a3732;
  --muted: #6a6762;
  --muted-soft: #8d8a84;
  --border: #e3dccb;
  --border-strong: #cac2ad;
  --accent: #ff7759;
  --accent-deep: #d04d2c;
  --white: #fff;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Fraunces', Cambria, Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --r-sm: 6px;
  --r-md: 8px;
  --focus-ring: 0 0 0 3px rgba(255, 119, 89, 0.22);
  --glow: rgba(255, 210, 188, 0.45);
  --vox-col: rgba(255, 119, 89, 0.07);
  --vox-col-strong: rgba(255, 119, 89, 0.11);
}

/* Screen-reader-only caption / labels */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Warm radial + paper grain (atmospheric depth, stays on-brand) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, var(--glow), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(255, 119, 89, 0.04), transparent 45%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a { color: var(--ink); }

/* Keyboard focus — match app coral ring (outline on FAQ avoids clip from overflow:hidden) */
a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}
.logo:focus-visible {
  border-radius: var(--r-md);
}
.faq-list summary:focus-visible {
  outline: 2px solid rgba(255, 119, 89, 0.65);
  outline-offset: 2px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

/* LAYOUT */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 28px 24px;
}

/* NAV */
nav {
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  padding: 6px 8px 6px 4px;
  margin: -6px 0 -6px -4px;
  border-radius: var(--r-md);
}

.logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

.logo svg rect {
  transform-box: fill-box;
  transform-origin: center;
}

.logo-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 140ms var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
}
@media (hover: hover) {
  .nav-link:hover { color: var(--ink); }
}

/* HERO */
.hero { margin-bottom: 24px; }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 6.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-bottom: 18px;
  color: var(--ink);
  font-variation-settings: 'opsz' 72;
}

.hero h1 em {
  font-style: italic;
  font-family: var(--display);
  color: var(--accent-deep);
  font-weight: 400;
}

/* Hero subtitle — sans, slightly tight for the beat rhythm */
.hero-deck {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  margin-bottom: 22px;
  max-width: 36em;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 520px;
}

/* One orchestrated entrance (respects reduced motion below) */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-reveal > * {
    opacity: 0;
    animation: hero-fade-up 0.75s var(--ease) forwards;
  }
  .hero-reveal > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-reveal > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-reveal > *:nth-child(3) { animation-delay: 0.2s; }
  .hero-reveal > *:nth-child(4) { animation-delay: 0.28s; }

  /* Gentle waveform pulse: mostly still, brief movement burst. */
  .logo svg rect {
    animation-name: vox-logo-wave;
    animation-duration: 7.8s;
    animation-timing-function: var(--ease);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    will-change: transform, opacity;
  }

  .logo svg rect:nth-child(1) {
    --vox-wave-min: 0.91;
    --vox-wave-max: 1.12;
    animation-delay: 0ms;
  }
  .logo svg rect:nth-child(2) {
    --vox-wave-min: 0.88;
    --vox-wave-max: 1.18;
    animation-delay: 65ms;
  }
  .logo svg rect:nth-child(3) {
    --vox-wave-min: 0.84;
    --vox-wave-max: 1.24;
    animation-delay: 130ms;
  }
  .logo svg rect:nth-child(4) {
    --vox-wave-min: 0.88;
    --vox-wave-max: 1.18;
    animation-delay: 195ms;
  }
  .logo svg rect:nth-child(5) {
    --vox-wave-min: 0.91;
    --vox-wave-max: 1.12;
    animation-delay: 260ms;
  }

  @media (hover: hover) {
    .logo:hover svg rect,
    .logo:focus-visible svg rect {
      animation-duration: 1s;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes vox-logo-wave {
  0%, 82%, 100% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
  86% {
    transform: translateY(0.5px) scaleY(var(--vox-wave-min, 0.9));
    opacity: 0.9;
  }
  90% {
    transform: translateY(-0.9px) scaleY(var(--vox-wave-max, 1.16));
    opacity: 1;
  }
  94% {
    transform: translateY(0.35px) scaleY(0.95);
    opacity: 0.94;
  }
  97% {
    transform: translateY(-0.2px) scaleY(1.03);
    opacity: 0.98;
  }
}

.form-note {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.buy-btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  column-gap: 7px;
  min-height: 48px;
  padding-block: 13px;
  padding-inline: 24px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  line-height: 1.2;
  transition:
    background 160ms var(--ease),
    box-shadow 160ms var(--ease),
    transform 160ms var(--ease);
  margin-bottom: 10px;
}

/* Fixed box: icon is centered in its box; label uses normal flex cross-axis — no baseline drift */
.buy-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.buy-btn__icon .btn-icon-apple {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}

.buy-btn__label {
  line-height: 1.2;
  letter-spacing: -0.012em;
  flex: 0 1 auto;
}

/* Full-width CTA (narrow viewports / long string): keep icon + label as one centered group */
@media (max-width: 420px) {
  .hero-cta .buy-btn,
  .download-card .buy-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

@media (hover: hover) {
  .buy-btn:hover {
    background: var(--ink-dim);
    box-shadow: 0 0 0 1px rgba(255, 119, 89, 0.45), 0 10px 28px -8px rgba(20, 19, 16, 0.2);
    transform: translateY(-1px);
  }
}

/* DIVIDER — coral into neutral hairline */
.section-rule {
  display: block;
  height: 1px;
  margin: 48px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 119, 89, 0.55) 0%,
    rgba(255, 119, 89, 0.18) 18%,
    var(--border) 52%,
    transparent 100%
  );
}

/* BODY CONTENT */
/* Magazine pull quote */
.pitch-pull {
  margin: 0 0 28px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--accent);
  max-width: 100%;
}

.pitch-pull p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 48;
}

.pitch-pull-hl {
  font-style: italic;
  color: var(--accent-deep);
}

/* WIDGET MOCKUP — full-bleed on wider viewports */
.mockup-bleed {
  width: 100vw;
  margin: 48px calc(50% - 50vw);
  padding: 0 28px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.mockup {
  position: relative;
  width: 100%;
  max-width: min(720px, 100%);
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  line-height: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(20, 19, 16, 0.06),
    0 20px 50px -18px rgba(20, 19, 16, 0.22);
}

.mockup-demo-img {
  display: block;
  width: 100%;
  height: auto;
}

/* FACTS LIST */
.facts {
  list-style: none;
  margin-bottom: 48px;
}

.facts li {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.facts li:last-child { border-bottom: 1px solid var(--border); }

.facts li.facts-lang-row {
  align-items: flex-start;
}

.fact-label { color: var(--ink); font-weight: 500; }

.fact-val {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.facts-lang-row .fact-val {
  max-width: min(100%, 22em);
  line-height: 1.45;
  white-space: normal;
}

.fact-val.good { color: var(--accent-deep); font-weight: 500; }

/* Inline link inside a fact value — subtle by default (ink color +
   small underline) so it doesn't shout in the middle of muted text,
   but obviously clickable on hover/focus. */
.fact-val a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(20, 19, 16, 0.25);
  text-underline-offset: 2px;
  transition: text-decoration-color 140ms var(--ease);
}
@media (hover: hover) {
  .fact-val a:hover {
    text-decoration-color: var(--accent-deep);
    color: var(--accent-deep);
  }
}

/* COMPARE TABLE */
.compare-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-raised);
}

.compare-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.compare-wrap thead th,
.compare-wrap tbody td {
  width: 20%;
  box-sizing: border-box;
  vertical-align: middle;
}

.compare-wrap thead th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.compare-wrap thead th.p {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(180deg, var(--vox-col-strong), var(--surface-raised));
}

.compare-wrap thead th:not(:first-child) {
  text-align: center;
}

.compare-wrap tbody tr { border-bottom: 1px solid var(--border); }
.compare-wrap tbody tr:last-child { border-bottom: none; }

.compare-wrap tbody td {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-soft);
  background: var(--surface-raised);
}
.compare-wrap tbody td:first-child {
  color: var(--ink);
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 400;
  text-align: left;
}

.compare-wrap tbody td:not(:first-child) {
  text-align: center;
}
.compare-wrap tbody td.p {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(90deg, var(--vox-col), transparent 88%);
}

@media (hover: hover) {
  .compare-wrap tbody tr:hover td {
    background: var(--surface);
  }
  .compare-wrap tbody tr:hover td.p {
    background: linear-gradient(90deg, var(--vox-col-strong), var(--surface) 92%);
  }
}

.y { color: var(--accent-deep); }
.n { color: #b5b0a8; }

/* FAQ */
.faq-section {
  margin-bottom: 48px;
}

.faq-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 16px;
}

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-raised);
  overflow: hidden;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list details:last-child { border-bottom: none; }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 140ms var(--ease);
  border-radius: 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted-soft);
  border-bottom: 1.5px solid var(--muted-soft);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -4px;
  transition: transform 140ms var(--ease);
}
.faq-list details[open] summary {
  background: var(--surface);
}
.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
@media (hover: hover) {
  .faq-list summary:hover { background: rgba(20, 19, 16, 0.03); }
}

.faq-list .faq-a {
  padding: 6px 22px 26px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 100%;
}
.faq-list .faq-a p + p { margin-top: 14px; }

/* FOOTER */
footer {
  padding: 40px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.foot-left {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  letter-spacing: 0.02em;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.foot-left a {
  color: inherit;
  text-decoration: none;
  border-radius: var(--r-sm);
  padding: 2px 4px;
  margin: 0 -4px;
  transition: color 140ms var(--ease);
}
@media (hover: hover) {
  .foot-left a:hover { color: var(--ink); }
}

.foot-right {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  flex-shrink: 0;
}

.foot-right a {
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 140ms var(--ease);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--r-sm);
}
@media (hover: hover) {
  .foot-right a:hover { color: var(--ink); }
}

@media (max-width: 480px) {
  nav { margin-bottom: 56px; flex-wrap: wrap; }
  /* Full-width second row, links stacked and left-aligned. */
  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .nav-links .nav-link {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .foot-right { order: 1; justify-content: center; }
  .foot-left { order: 2; flex: none; }
}

.foot-right a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Subpages (release log, download, privacy) */
body.is-subpage nav {
  margin-bottom: 48px;
}

body.is-subpage .wrap {
  padding: 0 28px 48px;
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Release log */
.title {
  margin-bottom: 22px;
}

.title h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
}

.title p {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 36em;
}

.follow-pill {
  margin-bottom: 34px;
  background: rgba(20, 19, 16, 0.08);
  border: 1px solid rgba(20, 19, 16, 0.07);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.follow-pill a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.timeline {
  /* Desktop: line passes through the gap between the date column and body;
     mobile: --timeline-x overrides so the spine and dots share one x-axis. */
  --timeline-x: 92px;
  position: relative;
  margin-top: 6px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: var(--timeline-x);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 119, 89, 0.3), var(--border) 14%, var(--border) 86%, transparent);
}

.entry {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding-bottom: 42px;
  scroll-margin-top: 24px;
}

.entry time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  line-height: 1.5;
  padding-top: 3px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.entry-body {
  position: relative;
  padding: 0 0 0 18px;
}

.entry-body::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 119, 89, 0.16);
}

.entry h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 48;
}

.entry p {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
}

.entry p + p {
  margin-top: 14px;
}

.tag-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--surface-raised);
}

/* Download + privacy */
.page-hero {
  margin-bottom: 32px;
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 6.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--ink);
  font-variation-settings: 'opsz' 72;
}

.page-lead {
  margin-top: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  max-width: 36em;
}

.prose {
  max-width: 520px;
}

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-dim);
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--ink-dim);
}

.prose ol {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--ink-dim);
}

.prose li + li {
  margin-top: 8px;
}

.prose h2 {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 28px 0 12px;
  font-weight: 400;
  font-variation-settings: 'opsz' 48;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  border-radius: var(--r-sm);
}

.prose a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.download-card {
  margin: 24px 0 28px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-raised);
  box-shadow:
    0 1px 0 rgba(20, 19, 16, 0.06);
}

.download-card .form-note {
  margin-top: 10px;
}

.download-meta {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.download-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 7px 0;
}

.download-meta-row dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.download-meta-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dim);
  text-align: right;
}

.download-meta-row.checksum dd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checksum-value {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 5px 8px;
  background: var(--surface);
  max-width: 22ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  transition: background 140ms var(--ease), color 140ms var(--ease);
}

@media (hover: hover) {
  .copy-btn:hover {
    background: var(--surface);
    color: var(--ink);
  }
}

.copy-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 760px) {
  /* One x-axis for the spine + markers: the line used left: 8px but the
     entry dot was left: -5px (center ~0), so the spine and dots did not
     line up. Match dot center to --timeline-x; nudge the 1px line half
     a pixel so its optical center matches the 10px marker. */
  .timeline {
    --timeline-x: 8px;
  }
  .timeline::before {
    transform: translateX(-0.5px);
  }
  .entry { grid-template-columns: 1fr; gap: 8px; }
  .entry time { padding-left: 26px; }
  .entry-body { padding-left: 26px; }
  .entry-body::before {
    left: calc(var(--timeline-x) - 5px);
  }
  .download-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .download-meta-row dd {
    text-align: left;
  }
  .download-meta-row.checksum dd {
    flex-wrap: wrap;
    width: 100%;
  }
  /* When the meta row stacks, the checksum has the full row width
     to itself — no need to ellipsize at 22ch. Let it wrap so the
     full SHA is visible without scrolling. */
  .checksum-value {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-all;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ==== Mobile refinements ==== */

/* Tablets and large phones: the .facts row's flex-row layout works fine
   for short values, but the long ones (like the 14-language list) get
   crammed against the right edge with no breathing room. Stack the
   label and value on top of each other — both flow full-width. */
@media (max-width: 600px) {
  .facts li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
  }
  .fact-val,
  .facts-lang-row .fact-val {
    text-align: left;
    max-width: 100%;
  }

  /* Compare table — five 20%-wide columns squish to ~60 px each on a
     phone, breaking words mid-cell. Force a readable minimum width and
     let .compare-wrap's overflow-x scroll horizontally so text stays
     legible. iOS Safari surfaces the native scrollbar on touch, which
     is enough of a hint that the table is swipeable. */
  .compare-wrap table { min-width: 520px; }

  /* Add momentum scrolling on iOS so the swipe feels native. */
  .compare-wrap { -webkit-overflow-scrolling: touch; }
}

/* Phone-sized viewports: tighten side padding and section spacing so
   the layout doesn't feel boxed in by 28 px gutters. */
@media (max-width: 480px) {
  .wrap { padding: 0 20px 24px; }
  body.is-subpage .wrap { padding: 0 20px 40px; }
  .mockup-bleed { padding: 0 20px; }

  nav { margin-bottom: 40px; }
  body.is-subpage nav { margin-bottom: 32px; }

  .hero { margin-bottom: 18px; }
  .hero-cta { margin-bottom: 36px; }

  /* The hero italic em ("listening") sits on its own line at narrow
     widths because of the line-break — make sure the leading isn't
     so airy that the headline feels like a poster. */
  .hero h1 { line-height: 1.05; margin-bottom: 14px; }

  .pitch-pull { margin-bottom: 22px; padding-left: 14px; }
  .section-rule { margin: 36px 0; }

  .faq-list summary { padding: 16px 18px; font-size: 14.5px; }
  .faq-list .faq-a { padding: 4px 18px 22px; font-size: 14.5px; }

  .download-card { padding: 20px 18px; }

  .page-hero { margin-bottom: 24px; }

  footer { padding: 32px 0 36px; }
}

/* Very narrow phones (older iPhone SE, foldables in portrait): one
   final pass — keep the buy button readable instead of letting it
   wrap onto three lines. */
@media (max-width: 360px) {
  .buy-btn { font-size: 14px; padding-inline: 18px; min-height: 44px; }
  .buy-btn__icon { width: 18px; height: 18px; }
  .buy-btn__icon .btn-icon-apple { width: 16px; height: 16px; }
}
