:root {
  --page: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6F75;
  --hairline: rgba(29, 29, 31, .22);
  --window: #23252B;
  --window-bar: #2C2E35;
  --signal: #5C94FF;
  --signal-ink: #2F6FE8;
  /* The app itself sets its figures in SF Pro Rounded; Safari exposes it as ui-rounded, other browsers fall back to SF Pro. */
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }

html { scrollbar-color: rgba(29, 29, 31, .3) var(--page); background: var(--page); color: var(--ink); font: 16px/1.45 var(--text); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: rgba(92, 148, 255, .28); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 3px; border-radius: 6px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(16px, 4.5vw, 64px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 18px var(--display); text-decoration: none; }
.brand img { border-radius: 7px; }
.req { margin-top: 12px; font-size: 13px; color: var(--muted); }
/* A DMG can't be opened on a phone or tablet, so touch visitors get told where to download it. */
.on-phone { display: none; }
@media (pointer: coarse) { .on-phone { display: inline; } }

main { flex: 1; }

.hero { text-align: center; padding: 8px 16px 0; }
h1 { font: 600 clamp(36px, 4.2vw, 58px)/1.04 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.lede { margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.download {
  display: inline-flex; align-items: center; height: 50px; margin-top: 24px; padding: 0 28px; border-radius: 25px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(29, 29, 31, .18);
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1), background-color .2s;
}
.download:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(29, 29, 31, .24); }
.download:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(29, 29, 31, .2); }
.download:focus-visible { border-radius: 25px; }

.spread {
  display: grid; grid-template-columns: minmax(0, 4fr) 348px minmax(0, 6fr); column-gap: 40px; align-items: start;
  max-width: 1320px; margin: 36px auto 0; padding: 0 clamp(16px, 4.5vw, 64px);
}

.does { list-style: none; padding: 0; position: relative; align-self: stretch; }
.does li { position: absolute; right: 0; top: var(--at); width: min(100%, 320px); text-align: right; transform: translateY(-14px); }
/* The leader runs across the column gap so each note visibly lands on the part of the popover it describes. */
.does li::after { content: ""; position: absolute; top: 14px; right: -40px; width: 32px; border-top: 1px solid var(--hairline); }
.does h2, .compare h2 { font-weight: 600; letter-spacing: -.01em; }
.does h2 { font-size: 19px; line-height: 1.3; }
.does p { margin-top: 4px; font-size: 15px; color: var(--muted); }

.pop-wrap { min-width: 0; }
.pop-cap { margin-top: 14px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .does li { transition: top .35s cubic-bezier(.16, 1, .3, 1); }
}

.compare { max-width: 480px; padding-top: 6px; }
.compare h2 { font-family: var(--display); font-size: clamp(22px, 2vw, 27px); line-height: 1.2; text-wrap: balance; }
.sub { margin-top: 10px; color: var(--muted); }
.window {
  margin-top: 22px; border-radius: 11px; overflow: hidden; background: var(--window); color: #fff;
  box-shadow: 0 24px 60px rgba(20, 24, 40, .22), 0 0 0 .5px rgba(0, 0, 0, .3);
}
.titlebar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: var(--window-bar); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.titlebar i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.titlebar i:nth-child(2) { background: #FEBC2E; }
.titlebar i:nth-child(3) { background: #28C840; }
.titlebar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
thead th { height: 28px; padding: 0 12px; font-size: 12px; font-weight: 500; text-align: left; color: rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .08); }
thead th:last-child, td:last-child { text-align: right; }
tbody th, td { height: 48px; padding: 0 12px; font-size: 15px; font-weight: 400; text-align: left; color: rgba(255, 255, 255, .78); white-space: nowrap; }
tbody th { display: flex; align-items: center; gap: 10px; }
tbody th img, .tile { flex: none; width: 22px; height: 22px; border-radius: 5px; }
/* A fixed track keeps every figure in one right-aligned column, so the numbers compare at a glance. */
.track { display: inline-flex; vertical-align: middle; width: 96px; }
.bar { width: calc(var(--v) * 100%); min-width: 10px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .32); transform-origin: left; }
.num { display: inline-block; width: 4.2em; text-align: right; }
tr.me { background: rgba(92, 148, 255, .18); }
tr.me th, tr.me td { color: #fff; font-weight: 600; }
tr.me .bar { background: var(--signal); }

.fine { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.end { margin-top: 96px; padding: 0 16px; text-align: center; }
.whole { max-width: 780px; margin: 0 auto; font: 600 clamp(20px, 1.8vw, 24px)/1.35 var(--display); letter-spacing: -.01em; text-wrap: balance; }

.end .download { margin-top: 32px; }

footer { margin-top: 72px; padding: 28px clamp(16px, 4.5vw, 64px); border-top: 1px solid rgba(29, 29, 31, .1); font-size: 13px; line-height: 1.5; color: var(--muted);
  display: grid; grid-template-columns: 1fr minmax(0, 2fr) minmax(0, 1.4fr); gap: 16px 40px; }
footer p + p { margin-top: 4px; }
footer .f-name, footer b { color: var(--ink); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .bar { animation: grow 1.1s cubic-bezier(.16, 1, .3, 1) .35s both; }
  tr.me .bar { animation-duration: .7s; animation-delay: .9s; }
  @keyframes grow { from { transform: scaleX(.08); } }
}

@media (max-width: 1280px) {
  .spread { grid-template-columns: 348px 1fr; column-gap: 48px; row-gap: 56px; max-width: 800px; }
  .pop-wrap { grid-row: 1; }
  .does { grid-column: 2; grid-row: 1; }
  .does li { left: 0; right: auto; text-align: left; }
  .does li::after { right: auto; left: -44px; width: 36px; }
  .compare { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 640px) {
  footer { grid-template-columns: 1fr; }
  .top { padding-top: 18px; padding-bottom: 18px; }
  .hero { padding-top: 16px; }
  h1 br { display: none; }
  .spread { grid-template-columns: minmax(0, 1fr); margin-top: 44px; row-gap: 40px; }
  .pop-wrap { grid-row: auto; order: -1; justify-self: center; }
  .does { grid-column: auto; grid-row: auto; }
  .does li { position: static; transform: none; width: auto; }
  .does li + li { margin-top: 22px; }
  .does li::after { content: none; }
  .compare { grid-column: auto; }
  thead th, tbody th, td { padding: 0 8px; }
  tbody th, td { font-size: 13px; }
  tbody th { gap: 8px; }
  .track { width: 56px; }
  .bar { min-width: 8px; }
  .end { margin-top: 72px; }
  .whole br { display: none; }
  .num { width: 3.9em; }
  .titlebar span { font-size: 11px; }
}

/* The popover keeps the app's real point size; only phones too narrow for 348 px scale it down. */
@media (max-width: 379px) { .pop { zoom: .9; } }
@media (max-width: 339px) { .pop { zoom: .82; } }
