:root {
  color-scheme: light dark;
  --page: light-dark(#ffffff, #1c1c1e);
  --card: light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.065));
  --line: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.12));
  --text: light-dark(#1d1d1f, #f5f5f7);
  --text-2: light-dark(#6e6e73, #98989d);
  --accent: light-dark(#007aff, #0a84ff);
  --accent-soft: light-dark(rgba(0, 122, 255, 0.12), rgba(10, 132, 255, 0.22));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, p, ul, ol { margin: 0; }
h1 { font-size: 32px; line-height: 1.15; }
h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 16px; font-weight: 600; }
p + p { margin-top: 12px; }
.secondary { color: var(--text-2); }
code { font: 0.92em ui-monospace, Menlo, monospace; }

/* header: icon beside the name, as in the app window */
.masthead { display: flex; align-items: center; gap: 20px; }
.masthead img { width: 96px; height: 96px; }
.masthead .tagline { font-size: 20px; color: var(--text-2); margin-top: 4px; }

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.button:hover { text-decoration: none; opacity: 0.9; }

/* numbered steps and feature list */
ol.steps, ul.features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
ol.steps > li { display: flex; gap: 14px; counter-increment: step; }
ol.steps > li::before {
  content: counter(step);
  flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-variant-numeric: tabular-nums;
}
ul.features > li { padding-left: 1.2em; text-indent: -1.2em; }
ul.features > li::before { content: "•"; color: var(--accent); display: inline-block; width: 1.2em; text-indent: 0; }

.card { padding: 16px 20px; border-radius: 12px; background: var(--card); }

footer {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}
footer nav { display: flex; gap: 16px; }

/* privacy page: plain sections */
.policy { display: flex; flex-direction: column; gap: 28px; }
.policy h2 { margin-bottom: 8px; }

@media (max-width: 480px) {
  main { padding: 40px 20px 40px; }
  .masthead { flex-direction: column; align-items: flex-start; }
}
