@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --surface: #ffffff;
  --text: #0a0a0a;
  --text-muted: #71788a;
  --border: #e4e8f1;
  --primary: #2b6ef6;
  --primary-hover: #1f5de0;
  --primary-soft: #e8f0ff;
  --accent: #7c5cff;
  --success: #16a34a;
  --warning: #ea580c;
  --shadow: 0 12px 40px rgba(17, 24, 39, 0.07);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 64px;
  --max: 1280px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Nunito", "Manrope", sans-serif;
}

[data-theme="dark"] {
  --bg: #0b0d12;
  --bg-soft: #121722;
  --surface: #151b28;
  --text: #f5f7ff;
  --text-muted: #9aa3b8;
  --border: #252c3d;
  --primary: #6ea0ff;
  --primary-hover: #8ab4ff;
  --primary-soft: #1a2744;
  --accent: #a78bfa;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
.btn {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  font-family: var(--display);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-links a.active {
  color: var(--primary);
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn-chip {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .btn-chip {
    display: inline-flex;
  }
}

[data-theme="dark"] .btn-dark,
[data-theme="dark"] .btn-chip {
  background: #fff;
  color: #111827;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav a {
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.mobile-nav a.active {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0 72px;
  text-align: center;
  min-height: 60vh;
  font-family: var(--display);
  background: var(--bg);
  color: var(--text);
}

.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-dot,
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.hero-dot-1 { top: 5rem; left: 2.5rem; width: 8rem; height: 8rem; background: rgba(43, 110, 246, 0.05); }
.hero-dot-2 { top: 10rem; right: 5rem; width: 12rem; height: 12rem; background: rgba(168, 85, 247, 0.05); }
.hero-dot-3 { bottom: 10rem; left: 25%; width: 6rem; height: 6rem; background: rgba(6, 182, 212, 0.05); }
.hero-dot-4 { top: 15rem; right: 33%; width: 9rem; height: 9rem; background: rgba(236, 72, 153, 0.05); }
.hero-dot-5 { top: 50%; left: 50%; width: 16rem; height: 16rem; transform: translate(-50%, -50%); background: rgba(43, 110, 246, 0.03); }

.hero-orb-1 {
  width: 24rem;
  height: 24rem;
  left: 8%;
  top: 16%;
  background: radial-gradient(circle, rgba(99, 132, 255, 0.08) 0%, transparent 70%);
  animation: hero-drift-a 18s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 20rem;
  height: 20rem;
  right: 12%;
  top: 36%;
  background: radial-gradient(circle, rgba(147, 130, 255, 0.06) 0%, transparent 70%);
  animation: hero-drift-b 22s ease-in-out infinite alternate;
}

@keyframes hero-drift-a {
  from { transform: translate(0, 0); }
  to { transform: translate(36px, -28px); }
}

@keyframes hero-drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(-28px, 22px); }
}

[data-theme="dark"] .hero-dot-1 { background: rgba(110, 160, 255, 0.08); }
[data-theme="dark"] .hero-dot-2 { background: rgba(168, 85, 247, 0.08); }
[data-theme="dark"] .hero-dot-3 { background: rgba(6, 182, 212, 0.07); }
[data-theme="dark"] .hero-dot-4 { background: rgba(236, 72, 153, 0.07); }
[data-theme="dark"] .hero-dot-5 { background: rgba(110, 160, 255, 0.05); }
[data-theme="dark"] .hero-orb-1 { background: radial-gradient(circle, rgba(99, 132, 255, 0.14) 0%, transparent 70%); }
[data-theme="dark"] .hero-orb-2 { background: radial-gradient(circle, rgba(147, 130, 255, 0.12) 0%, transparent 70%); }
[data-theme="dark"] .hero-title-wrap::after { opacity: 0.28; }

.hero-fx canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero canvas[data-hero-wave] {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title-wrap::after {
  content: "";
  position: absolute;
  inset: 10% -8%;
  background: linear-gradient(90deg, rgb(99, 102, 241), rgb(147, 130, 255), rgb(168, 85, 247));
  filter: blur(32px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.hero-title {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 5.1rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--text);
}

.hero-lead,
.hero-sub {
  position: relative;
  max-width: 42rem;
  margin: 0 auto 32px;
  color: var(--text-muted);
}

.hero-lead {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero-sub {
  margin-top: 8px;
}

.hero-cta {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 32px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 150px;
  padding: 14px 32px;
  border-radius: 12px;
}

.platform-row,
.badge-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.platform-row svg {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}

.android-mark {
  width: 36px;
  height: 36px;
  color: #3ddc84;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .play-badge {
  background: #fff;
  color: #111827;
}

.tech-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
}

.hn-badge {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
}

.flathub-badge {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.waveform {
  margin-top: 56px;
  color: color-mix(in srgb, var(--primary) 18%, transparent);
}

.section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-head h2,
.page-hero h1,
.feature-title {
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p,
.muted {
  color: var(--text-muted);
}

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

.supporter-card,
.card,
.download-card,
.faq-item,
.doc-card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.supporter-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.supporter-card strong,
.card h3,
.download-card h3 {
  display: block;
}

.supporter-card span,
.meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.full-btn {
  width: 100%;
  margin-top: 20px;
}

.why-grid,
.feature-grid,
.download-grid,
.doc-grid,
.blog-grid {
  display: grid;
  gap: 16px;
}

.why-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 24px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.everywhere {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.everywhere h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.device-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.shot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.shot-frame {
  position: relative;
  width: min(240px, 70vw);
}

.shot-glow {
  position: absolute;
  inset: -18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 35%, transparent), color-mix(in srgb, var(--accent) 30%, transparent));
  filter: blur(22px);
  border-radius: 32px;
}

.shot-phone {
  position: relative;
  width: min(240px, 70vw);
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--surface);
  background: #0b1220;
  box-shadow: var(--shadow-lg);
}

.shot-screen {
  position: relative;
  aspect-ratio: 9 / 20;
}

.shot-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.shot-screen img.is-leaving {
  opacity: 0;
  transform: scale(0.98);
}

.shot-tabs {
  display: flex;
  gap: 6px;
}

.shot-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 750;
  opacity: 0.5;
  cursor: pointer;
}

.shot-tab svg {
  width: 12px;
  height: 12px;
}

.shot-tab:hover {
  opacity: 0.85;
}

.shot-tab.active {
  opacity: 1;
  background: var(--primary);
  color: #fff;
}

.preview-stage {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.preview-panel {
  display: none;
  width: 100%;
}

.preview-panel.active {
  display: block;
}

.phone-screens {
  min-height: 248px;
}

.phone-screen {
  display: none;
}

.phone-screen.active {
  display: block;
}

.search-bar {
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f1522;
  color: #8b95ab;
  font-size: 0.82rem;
}

.video-stage {
  height: 148px;
  border-radius: 16px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
  padding: 8px 4px 0;
}

.eq-bars i {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #2ee9ff, #2b6ef6);
}

.mini.a { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.mini.b { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.mini.c { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.mini.d { background: linear-gradient(135deg, #f59e0b, #f97316); }

.auto-dash {
  width: min(100%, 420px);
  margin: 0 auto;
  background: #0f1420;
  border: 1px solid #2a3348;
  border-radius: 22px;
  padding: 16px;
  color: #e8eefc;
  box-shadow: var(--shadow-lg);
}

.auto-top {
  font-weight: 800;
  margin-bottom: 14px;
}

.auto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auto-tile {
  padding: 22px 12px;
  border-radius: 14px;
  background: #1a2132;
  text-align: center;
  font-weight: 750;
}

.auto-tile.on {
  background: #2b6ef6;
}

.auto-now {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #121826;
}

.auto-now strong,
.auto-now span {
  display: block;
}

.pip-scene {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 380px;
}

.pip-phone {
  opacity: 0.92;
}

.pip-window {
  position: absolute;
  right: 8%;
  bottom: 28px;
  width: 148px;
  height: 92px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #3b4a66;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  gap: 4px;
  color: #e8eefc;
  font-size: 0.78rem;
  font-weight: 750;
}

.nav-item {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.showcase {
  position: relative;
}

.app-window,
.phone {
  background: #0f1420;
  color: #e8eefc;
  border: 1px solid #2a3348;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.app-window {
  border-radius: 22px;
}

.app-top {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #171d2c;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }

.app-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
}

.sidebar {
  padding: 16px 12px;
  border-right: 1px solid #2a3348;
  background: #121826;
}

.side-brand {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #9aa6c0;
  font-size: 0.86rem;
  font-weight: 650;
}

.side-link.active,
.nav-item.active {
  background: #2b6ef6;
  color: #fff;
}

.library-label {
  margin: 16px 8px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #6d7890;
  text-transform: uppercase;
}

.main-pane {
  padding: 16px;
}

.pane-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.tiles,
.circles {
  display: flex;
  gap: 10px;
}

.tile {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  flex-shrink: 0;
}

.tile.a { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.tile.b { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.tile.c { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.tile.d { background: linear-gradient(135deg, #f59e0b, #f97316); }

.circles {
  margin-top: 18px;
}

.circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #243049;
}

.player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #0b101b;
  border-top: 1px solid #2a3348;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9d4ea;
}

.play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.progress {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #2a3348;
}

.progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: #2b6ef6;
}

.blob {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -36px;
  height: 120px;
  background: #111827;
  border-radius: 48% 52% 40% 60%;
  display: grid;
  place-items: center;
  z-index: 0;
  pointer-events: none;
}

.showcase .app-window {
  position: relative;
  z-index: 1;
}

.blob span {
  font-family: var(--display);
  font-style: italic;
  color: #fff;
  font-size: 2.4rem;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  border-radius: 32px;
  padding: 14px 12px 10px;
}

.phone-notch {
  width: 92px;
  height: 10px;
  margin: 0 auto 12px;
  background: #1b2233;
  border-radius: 99px;
}

.phone-card {
  background: #1a2132;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}

.phone-card strong {
  display: block;
  margin-bottom: 8px;
}

.mini-row {
  display: flex;
  gap: 8px;
}

.mini {
  height: 48px;
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #334155, #1e293b);
}

.phone-nav {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px 4px;
}

.nav-item {
  width: 42px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8b95ab;
  font-size: 0.68rem;
  font-weight: 700;
}

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

.feature-grid .card {
  min-height: 180px;
}

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

.download-card {
  padding: 22px;
}

.download-card h3 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item details {
  padding: 4px 18px 8px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 750;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.page-hero {
  padding: 64px 0 24px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0;
}

.tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
  cursor: pointer;
}

.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.install-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.install-card h2 {
  margin-top: 0;
}

.cmd {
  display: block;
  margin: 10px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #111827;
  color: #e5edff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  overflow-x: auto;
}

[data-theme="dark"] .cmd {
  background: #080b12;
}

.about-grid,
.sponsor-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.prose h2 {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.legal-page {
  padding: 40px 0 88px;
}

.legal-prose {
  max-width: 72rem;
}

.legal-prose h1 {
  margin: 0 0 45px;
  font-size: clamp(2.2rem, 4.2vw, 3.375rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.legal-prose h3 {
  margin: 45px 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 650;
  line-height: 1.5;
  color: var(--text);
}

.legal-prose p {
  margin: 27px 0;
  font-size: 1.265rem;
  line-height: 1.78;
  color: #4b5568;
}

.legal-prose ul {
  margin: 27px 0;
  padding-left: 2rem;
}

.legal-prose li {
  margin: 13px 0;
  padding-left: 9px;
  font-size: 1.265rem;
  line-height: 1.78;
  color: #4b5568;
}

.legal-prose a:not(.subtle-anchor-link) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subtle-anchor-link {
  color: #4f7cff;
  font-weight: 500;
  text-decoration: none;
}

[data-theme="dark"] .legal-prose p,
[data-theme="dark"] .legal-prose li {
  color: var(--text-muted);
}

[data-theme="dark"] .subtle-anchor-link {
  color: var(--primary);
}

.doc-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-soft);
  font-weight: 750;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:nth-child(2) {
  color: var(--primary);
  font-weight: 700;
}

.doc-card,
.post-card {
  padding: 22px;
  display: block;
}

.doc-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  transition: 0.18s ease;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.site-footer .brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--text);
  margin-bottom: 12px;
}

.site-footer .brand img {
  width: 38px;
  height: 38px;
}

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

.legal {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.coming-soon {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.play-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.play-cta-card h3 {
  margin: 0 0 6px;
}

.play-cta-card p {
  margin: 0;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.play-store-btn {
  gap: 10px;
}

.lyric-line {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.active-lyric {
  color: #fff;
  font-weight: 750;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav.open {
    display: grid;
    gap: 6px;
    padding: 12px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .supporters,
  .why-grid,
  .everywhere,
  .feature-grid,
  .os-grid,
  .about-grid,
  .sponsor-grid,
  .doc-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .blob {
    display: none;
  }

  .play-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-actions .btn-dark span {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .section {
    padding: 64px 0;
  }
}
