:root {
  color-scheme: light dark;
  --page: #fff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #64646a;
  --line: #d2d2d7;
  --action: #0071e3;
  --link: #0066cc;
  --on-action: #fff;
  --focus: #0071e3;
  --capture-shadow: 0 16px 44px -18px rgb(0 0 0 / .32);
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 9vw, 116px);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000;
    --surface: #161617;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #424245;
    --link: #59adff;
    --focus: #59adff;
    --capture-shadow: 0 16px 44px -18px rgb(0 0 0 / .64);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
}
::selection { background: color-mix(in srgb, var(--focus) 26%, transparent); }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.wrap { width: min(100%, 1200px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 8px; inset-inline-start: -1000px; z-index: 1; padding: 10px 16px; background: var(--action); color: var(--on-action); }
.skip:focus { inset-inline-start: 8px; }
.site-head, .site-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-size: 17px; font-weight: 660; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
nav a, .site-foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding-block: clamp(32px, 5vw, 70px) clamp(42px, 5vw, 72px);
}
h1 { max-width: 16ch; font-size: clamp(40px, 5.25vw, 76px); line-height: 1.04; letter-spacing: -.039em; font-weight: 730; }
.lede { max-width: 43ch; margin-top: 22px; color: var(--muted); font-size: clamp(19px, 1.65vw, 23px); line-height: 1.45; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; background: var(--action); color: var(--on-action); font-size: 16px; font-weight: 660; line-height: 1.5; text-decoration: none; }
.button:hover { background: color-mix(in srgb, var(--action) 90%, #000); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.meta { margin-top: 12px; font-size: 15px; color: var(--muted); }
.result-window { width: min(100%, 340px); justify-self: center; }
.result-window img, .history-window img { width: 100%; border-radius: var(--radius); box-shadow: var(--capture-shadow); }
figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.result-window figcaption { text-align: center; }

.how, .privacy, .download { padding-block: var(--section); }
.how { border-top: 1px solid var(--line); }
.section-head { max-width: 64ch; }
h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.09; letter-spacing: -.029em; font-weight: 720; }
h3 { font-size: 22px; line-height: 1.22; letter-spacing: -.014em; }
.section-head h2 + p, .download h2 + p { margin-top: 14px; }
.section-head p, .download p { color: var(--muted); }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(22px, 4vw, 52px); margin: 36px 0 0; padding: 0; list-style: none; }
.workflow li { padding-top: 16px; border-top: 1px solid var(--line); }
.workflow p { margin-top: 8px; color: var(--muted); }
.comparison-band { background: var(--surface); padding-block: var(--section); }
.comparison { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.history-window { min-width: 0; }
.history-window figcaption { font-size: 16px; }
.privacy { padding-bottom: clamp(34px, 5vw, 68px); }
.privacy details { max-width: 64ch; margin-top: 24px; border-block: 1px solid var(--line); }
.privacy summary { cursor: pointer; padding-block: 12px; font-weight: 650; }
.privacy details p { padding-bottom: 16px; color: var(--muted); }
.privacy > p { margin-top: 12px; }
.download { border-top: 1px solid var(--line); }
.download > p { max-width: 60ch; }
.site-foot { border-top: 1px solid var(--line); padding-bottom: 24px; }

@media (max-width: 760px) {
  .hero, .comparison { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 26px 42px; }
  .result-window { justify-self: start; }
  .workflow { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  nav { gap: 0 14px; }
  h1 { font-size: 37px; }
}
