@font-face {
  font-family: "Readex Pro";
  src: url("assets/fonts/readex-pro/ReadexPro.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --surface-muted: #f1f5f9;
  --surface-subtle: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --quiet: #64748b;
  --line: #cbd5e1;
  --soft-line: #e2e8f0;
  --control-border: #7c8798;
  --accent: #4f46e5;
  --accent-text: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-soft-text: #3730a3;
  --focus-ring: #2563eb;
  --focus-shadow: rgb(37 99 235 / 0.18);
  --text-on-accent: #ffffff;
  --success-bg: #f0fdf4;
  --success-text: #166534;
  --disabled-bg: #e2e8f0;
  --shadow-popover: rgb(15 23 42 / 0.14);
  --shadow-preview: rgb(15 23 42 / 0.1);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
}

html[lang="ar"] {
  --font-sans: "Readex Pro", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f172a;
    --panel: #111827;
    --surface-muted: #1e293b;
    --surface-subtle: #172033;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --quiet: #94a3b8;
    --line: #334155;
    --soft-line: #263244;
    --control-border: #64748b;
    --accent: #4f46e5;
    --accent-text: #818cf8;
    --accent-hover: #4338ca;
    --accent-soft: #312e81;
    --accent-soft-text: #c7d2fe;
    --focus-ring: #818cf8;
    --focus-shadow: rgb(129 140 248 / 0.24);
    --text-on-accent: #ffffff;
    --success-bg: #123322;
    --success-text: #bbf7d0;
    --disabled-bg: #1e293b;
    --shadow-popover: rgb(0 0 0 / 0.48);
    --shadow-preview: rgb(0 0 0 / 0.34);
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --surface-muted: #f1f5f9;
  --surface-subtle: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --quiet: #64748b;
  --line: #cbd5e1;
  --soft-line: #e2e8f0;
  --control-border: #7c8798;
  --accent: #4f46e5;
  --accent-text: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-soft-text: #3730a3;
  --focus-ring: #2563eb;
  --focus-shadow: rgb(37 99 235 / 0.18);
  --text-on-accent: #ffffff;
  --success-bg: #f0fdf4;
  --success-text: #166534;
  --disabled-bg: #e2e8f0;
  --shadow-popover: rgb(15 23 42 / 0.14);
  --shadow-preview: rgb(15 23 42 / 0.1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: #111827;
  --surface-muted: #1e293b;
  --surface-subtle: #172033;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --quiet: #94a3b8;
  --line: #334155;
  --soft-line: #263244;
  --control-border: #64748b;
  --accent: #4f46e5;
  --accent-text: #818cf8;
  --accent-hover: #4338ca;
  --accent-soft: #312e81;
  --accent-soft-text: #c7d2fe;
  --focus-ring: #818cf8;
  --focus-shadow: rgb(129 140 248 / 0.24);
  --text-on-accent: #ffffff;
  --success-bg: #123322;
  --success-text: #bbf7d0;
  --disabled-bg: #1e293b;
  --shadow-popover: rgb(0 0 0 / 0.48);
  --shadow-preview: rgb(0 0 0 / 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 8px 12px;
  border: 1px solid var(--focus-ring);
  border-radius: 5px;
  background: var(--panel);
  color: var(--focus-ring);
  font-weight: 700;
  transition: transform 0.15s;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(100%, 920px);
  min-height: 100vh;
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  background: var(--panel);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  image-rendering: pixelated;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background: var(--panel);
  color: var(--accent-text);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent-text);
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  box-shadow: 0 0 0 3px var(--focus-shadow);
  outline: 0;
}

.theme-toggle-icon {
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
}

.theme-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-icon-dark svg {
  fill: currentColor;
  stroke-width: 1.4;
}

html[data-theme-choice="system"] .theme-toggle-icon-system,
html[data-theme-choice="light"] .theme-toggle-icon-light,
html[data-theme-choice="dark"] .theme-toggle-icon-dark {
  display: grid;
}

.nav-menu,
.language-menu {
  position: relative;
}

.nav-menu summary,
.language-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background: var(--panel);
  background-clip: padding-box;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
}

.nav-menu summary::-webkit-details-marker,
.language-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] summary,
.language-menu[open] summary {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}

.language-menu summary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-menu-icon,
.nav-menu-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.nav-menu-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-menu-icon .nav-menu-icon-close,
.nav-menu[open] .nav-menu-icon .nav-menu-icon-open {
  display: none;
}

.nav-menu[open] .nav-menu-icon .nav-menu-icon-close {
  display: block;
}

.nav {
  position: absolute;
  inset-inline-end: 0;
  z-index: 10;
  display: grid;
  gap: 6px;
  min-width: 178px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 14px 36px var(--shadow-popover);
  color: var(--text);
  font-size: 13px;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 4px;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}

.language-options {
  position: absolute;
  inset-inline-end: 0;
  z-index: 10;
  display: grid;
  min-width: 144px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 14px 36px var(--shadow-popover);
  color: var(--text);
  font-size: 13px;
}

.language-options a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 10px;
  border-radius: 4px;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}


.intro {
  padding: 52px 72px 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--quiet);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 5px;
  font-weight: 700;
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--text-on-accent);
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button-secondary {
  border: 1px solid var(--control-border);
  background: var(--panel);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.intro-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
}

.intro-trust li {
  padding: 5px 9px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

/* ── Demo ──────────────────── */

.preview {
  padding: 52px 58px;
  border-bottom: 1px solid var(--line);
}

.preview .section-label {
  margin-bottom: 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 292px);
  gap: 18px;
  align-items: stretch;
}

.screenshot-preview {
  margin: 0;
}

.screenshot-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  aspect-ratio: 16 / 10;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-subtle);
  box-shadow: 0 18px 44px var(--shadow-preview);
  color: var(--muted);
  font-family: var(--font-sans);
  text-align: center;
}

.screenshot-placeholder span {
  font-size: 15px;
  font-weight: 700;
}

.screenshot-placeholder small {
  color: var(--quiet);
  font-size: 12px;
}

.audio-proof {
  display: grid;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-muted);
}

.audio-proof h3 {
  margin: 0;
  font-size: 16px;
}

.audio-proof p:not(.eyebrow) {
  margin: 10px 0 16px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
}

.audio-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.audio-placeholder-icon {
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent-text);
  border-radius: 999px;
  position: relative;
}

.audio-placeholder-icon::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 12px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--accent-text);
}

/* ── Audiobooks ────────────── */

.audiobooks {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 52px 58px;
  border-bottom: 1px solid var(--line);
}

.audiobook-content {
  display: grid;
  gap: 18px;
}

.audiobook-lead {
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-muted);
}

.audiobook-lead h3 {
  max-width: 580px;
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.audiobook-lead p:not(.eyebrow) {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

.audiobook-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.audiobook-points div {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--panel);
}

.audiobook-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.audiobook-points span {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.5;
}

.model-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.model-notes article {
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-subtle);
}

.model-notes h4 {
  margin: 0 0 8px;
  font-size: 13px;
}

.model-notes p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ── Privacy ───────────────── */

.privacy {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 52px 58px;
  border-bottom: 1px solid var(--line);
}

.privacy-content {
  display: grid;
  gap: 18px;
}

.privacy-copy {
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-muted);
}

.privacy-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.privacy-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.privacy-grid article {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--panel);
}

.privacy-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.privacy-grid span {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ── Positioning ───────────── */

.positioning {
  padding: 52px 58px;
  border-bottom: 1px solid var(--line);
}

.positioning-header {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 24px;
}

.positioning-header p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
}

.positioning-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.positioning-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-subtle);
}

.positioning-panel h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.use-case-list,
.comparison-list {
  display: grid;
  gap: 10px;
}

.use-case-list article,
.comparison-list article {
  padding: 13px 14px;
  border: 1px solid var(--soft-line);
  border-radius: 5px;
  background: var(--panel);
}

.use-case-list strong,
.comparison-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.use-case-list span,
.comparison-list span {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.5;
}

.comparison {
  background: var(--surface-muted);
}

.downloads {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 52px 58px 72px;
}

.section-label {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--quiet);
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.version-badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.download-list {
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  overflow: hidden;
}

.download-list-intro {
  margin: 0;
  padding: 11px 18px;
  border-bottom: 1px solid var(--soft-line);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: center;
  background: var(--surface-muted);
}

.quick-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--soft-line);
  background: var(--panel);
}

.quick-downloads article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  align-content: start;
  min-height: 154px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--surface-subtle);
}

.quick-downloads strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.quick-downloads article > span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
}

.quick-downloads a,
.split-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 12px;
  font-weight: 700;
}

.quick-downloads a:hover,
.split-actions a:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.split-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.download-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 9px 18px 7px;
  border-bottom: 1px solid var(--soft-line);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
  background: var(--surface-muted);
}

.download-group {
  border-bottom: 1px solid var(--soft-line);
}

.download-group:last-child {
  border-bottom: 0;
}

.download-group summary {
  cursor: pointer;
  list-style: none;
}

.download-group summary:focus-visible,
.install-notes summary:focus-visible {
  border-color: var(--focus-ring);
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}

.download-group summary::-webkit-details-marker {
  display: none;
}

.download-group summary::after {
  content: "+";
  color: var(--quiet);
  font-size: 14px;
}

.download-group[open] summary::after {
  content: "-";
}

.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 70px;
  padding: 14px 16px 14px 18px;
  border-bottom: 1px solid var(--soft-line);
}

.download-group .download-row:last-child {
  border-bottom: 0;
}

.download-row strong {
  display: block;
}

.download-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-icon {
  display: inline-flex;
  justify-content: center;
  width: 22px;
  color: var(--quiet);
  font-weight: 700;
}

.download-kind {
  color: var(--muted);
  font-weight: 500;
}

.recommended-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: middle;
}

.download-row > div > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-sans);
}

.download-row code {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.download-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.download-row a:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-on-accent);
}

.download-row .download-disabled,
.download-row .download-disabled:hover {
  border-color: var(--line);
  background: var(--disabled-bg);
  color: var(--muted);
  cursor: not-allowed;
}

/* ── Features ─────────────── */

.features {
  padding: 52px 58px 32px;
  border-bottom: 1px solid var(--line);
}

.features-header {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.features-heading {
  margin: 0;
  font-size: 15px;
}

.features-header p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
}

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

.feature-card {
  min-height: 206px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: var(--panel);
}

.feature-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 3px 7px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ── FAQ ───────────────────── */

.install-notes {
  padding: 36px 58px 40px;
  border-bottom: 1px solid var(--line);
}

.install-notes-heading {
  margin: 0 0 8px;
  font-size: 15px;
}

.install-notes > p {
  color: var(--muted);
  font-family: var(--font-sans);
}

.install-notes details {
  margin-top: 14px;
}

.install-notes summary {
  cursor: pointer;
  padding: 9px 14px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  font-size: 13px;
  background: var(--surface-muted);
}

.install-notes summary:hover {
  border-color: var(--accent-text);
}

.install-notes details p {
  margin: 12px 14px 10px;
  color: var(--muted);
  font-family: var(--font-sans);
}

.install-notes details p + p {
  margin-top: 6px;
}

.install-notes code {
  padding: 1px 5px;
  border: 1px solid var(--soft-line);
  border-radius: 3px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
}

.install-notes a {
  color: var(--accent-text);
}

/* ── Contact ───────────────── */

.contact {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 48px 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}

.contact-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.contact-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
}

.contact-note {
  padding-top: 12px;
  border-top: 1px solid var(--soft-line);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.form-hidden {
  display: none;
}

.contact-subtopics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0;
  padding: 2px 0 0;
  border: 0;
}

.contact-subtopics legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.contact-subtopics label {
  position: relative;
  min-height: 60px;
}

.contact-subtopics input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.contact-subtopics span {
  display: grid;
  place-items: center;
  min-height: 60px;
  padding: 7px 8px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background: var(--surface-muted);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.contact-subtopics input:checked + span {
  border-color: var(--accent-text);
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}

.contact-subtopics input:focus-visible + span {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.contact-topic {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.contact-topic > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  width: fit-content;
}

.contact-topic select {
  width: 100%;
  min-height: 42px;
  padding: 0 40px 0 11px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background-color: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.contact-topic select:focus {
  border-color: var(--focus-ring);
  outline: 2px solid var(--focus-shadow);
  outline-offset: 0;
}

.contact-subtopics[hidden],
.contact-extra-fields[hidden] {
  display: none;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-fields label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.contact-fields label > span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
}

.contact-topic small,
.contact-fields small {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
}

.required-mark {
  color: var(--accent-text);
  font-size: 12px;
  line-height: 1;
}

.contact-full {
  grid-column: 1 / -1;
}

.contact-fields input,
.contact-fields textarea {
  width: 100%;
  border: 1px solid var(--control-border);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

.contact-fields input {
  min-height: 40px;
  padding: 0 11px;
}

.contact-fields textarea {
  min-height: 132px;
  padding: 10px 11px;
  line-height: 1.5;
  resize: vertical;
}

.contact-fields input:focus,
.contact-fields textarea:focus {
  border-color: var(--focus-ring);
  outline: 2px solid var(--focus-shadow);
  outline-offset: 0;
}

.contact-fields input::placeholder,
.contact-fields textarea::placeholder {
  color: var(--quiet);
  opacity: 0.74;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--soft-line);
  padding-top: 16px;
}

.contact-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: var(--accent);
  color: var(--text-on-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.contact-submit button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.contact-submit-notes {
  display: grid;
  gap: 2px;
  text-align: end;
}

.contact-submit-notes p {
  margin: 0;
  color: var(--quiet);
  font-family: var(--font-sans);
  font-size: 12px;
}

.contact-submit-notes p:first-child {
  color: var(--muted);
  font-weight: 700;
}

/* ── Footer ────────────────── */

.site-footer {
  padding: 24px 58px 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--quiet);
  font-size: 12px;
}

.footer-privacy {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta {
  margin: 0;
}

.site-footer a {
  color: var(--quiet);
}

.site-footer a:hover {
  color: var(--accent-text);
}

@media (max-width: 720px) {
  .page {
    border-inline: 0;
  }

  .site-header {
    gap: 12px;
    min-height: 72px;
    padding: 0 20px;
  }

  .nav-menu,
  .language-menu {
    flex: 0 0 auto;
  }

  .nav-menu summary,
  .language-menu summary {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .nav {
    inset-inline-end: 0;
    width: min(220px, calc(100vw - 40px));
    box-shadow: 0 14px 36px var(--shadow-popover);
  }

  .nav a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }


  .intro {
    padding: 42px 22px 46px;
    text-align: start;
  }

  h1 {
    margin-inline: 0;
    font-size: 40px;
  }

  .intro-actions {
    justify-content: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .intro-trust {
    justify-content: flex-start;
  }

  .preview {
    padding: 36px 16px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .audiobooks {
    grid-template-columns: 1fr;
    padding: 36px 16px;
  }

  .audiobook-lead {
    padding: 18px;
  }

  .audiobook-lead h3 {
    font-size: 22px;
  }

  .audiobook-points,
  .model-notes {
    grid-template-columns: 1fr;
  }

  .audiobook-points div {
    min-height: 0;
  }

  .downloads {
    grid-template-columns: 1fr;
    padding: 34px 16px 48px;
  }

  .quick-downloads,
  .split-actions {
    grid-template-columns: 1fr;
  }

  .quick-downloads article {
    min-height: 0;
  }

  .download-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .download-row a {
    width: 100%;
  }

  .features {
    padding: 36px 16px 24px;
  }

  .features-header {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .privacy {
    grid-template-columns: 1fr;
    padding: 36px 16px;
  }

  .privacy-copy {
    padding: 18px;
  }

  .privacy-copy h3 {
    font-size: 22px;
  }

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

  .privacy-grid article {
    min-height: 0;
  }

  .positioning {
    padding: 36px 16px;
  }

  .positioning-content {
    grid-template-columns: 1fr;
  }

  .positioning-panel {
    padding: 18px;
  }

  .install-notes {
    padding: 28px 16px 32px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 34px 16px;
  }

  .contact-form {
    padding: 16px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  .contact-subtopics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .contact-subtopics label,
  .contact-subtopics span {
    min-height: 44px;
  }

  .contact-subtopics span {
    padding: 7px 8px;
  }

  .contact-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit-notes {
    text-align: start;
  }

  .contact-submit button {
    width: 100%;
  }

  .site-footer {
    padding: 20px 16px 28px;
  }
}
