:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --accent: #1d1d1f;
  --accent-hover: #000000;
  --accent-text: #ffffff;
  --link: #0066cc;
  --kbd-bg: #f2f2f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e12;
    --surface: #17171d;
    --text: #f5f5f7;
    --muted: #a1a1aa;
    --line: #2a2a33;
    --accent: #f5f5f7;
    --accent-hover: #ffffff;
    --accent-text: #1d1d1f;
    --link: #6cb4ff;
    --kbd-bg: #23232b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: var(--link); }

.hero { text-align: center; padding: 88px 0 56px; }
.hero img { width: 148px; height: 148px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .22)); }
h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; margin: 20px 0 10px; font-weight: 700; }
.tagline { font-size: 20px; color: var(--muted); margin: 0 auto 32px; max-width: 30em; }

.download {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-text); text-decoration: none;
  font-weight: 600; font-size: 17px;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: background .15s, transform .15s;
}
.download:hover { background: var(--accent-hover); transform: translateY(-1px); }
.download svg { width: 18px; height: 18px; }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.source { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--muted); text-decoration: none; }
.source:hover { color: var(--text); }
.source svg { width: 15px; height: 15px; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; }

.shot { display: block; width: min(1040px, calc(100vw - 32px)); height: auto; margin: 0 0 32px 50%; transform: translateX(-50%); }
section { padding: 40px 0; border-top: 1px solid var(--line); }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 20px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; margin: 0; padding: 0; list-style: none; }
.features h3 { font-size: 16px; margin: 0 0 4px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.shortcuts td:first-child { width: 120px; white-space: nowrap; }
kbd {
  font: 13px/1 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--kbd-bg); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 4px 7px;
}
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

ol { padding-left: 20px; margin: 0; }
ol li { margin-bottom: 10px; }
details { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 600; }
details p, details ul { color: var(--muted); font-size: 15px; }
code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; background: var(--kbd-bg); padding: 2px 6px; border-radius: 5px; word-break: break-all; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px; text-align: center; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* FAQ */
.faq h3 { font-size: 16px; margin: 22px 0 4px; }
.faq h3:first-of-type { margin-top: 0; }
.faq p { margin: 0; color: var(--muted); font-size: 15px; }

/* Inner pages (comparisons, changelog) */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
.download.small { font-size: 14px; padding: 8px 16px; box-shadow: none; }
.page { padding: 24px 0 40px; }
.page h1 { font-size: 36px; margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 8px; }
.page section h2 { margin-top: 0; }
.page section p, .page section li { font-size: 16px; }
.page section ul { padding-left: 20px; }
.compare th, .compare td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; }
.compare th:not(:first-child), .compare td:not(:first-child) { width: 24%; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: #1f8f4e; font-weight: 600; }
@media (prefers-color-scheme: dark) { .yes { color: #4cd486; } }
.cta { text-align: center; padding: 8px 0 40px; }

/* Changelog */
.release { padding: 32px 0; border-top: 1px solid var(--line); }
.release h2 { margin-bottom: 2px; }
.release h2 a { color: inherit; text-decoration: none; }
.release time { display: block; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.release li { margin-bottom: 8px; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  .hero img { width: 112px; height: 112px; }
  h1 { font-size: 38px; }
  .tagline { font-size: 18px; }
  .features { grid-template-columns: 1fr; }
  .shortcuts td:first-child { width: 96px; }
  .topbar { padding: 14px 0; }
  .page h1 { font-size: 30px; }
  .compare { font-size: 14px; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: auto; }
}
