:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #e3e3e0;
  --accent: #1f8a4c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --text: #f2f2f4;
    --muted: #a1a1a8;
    --line: #2e2e33;
    --accent: #4cc982;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

main, header, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
header a.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

a { color: var(--accent); }

.langs { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.langs a { color: var(--muted); }

h1 { font-size: 30px; line-height: 1.3; margin: 32px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.updated { color: var(--muted); font-size: 14px; }

.hero h1 { font-size: 36px; margin-top: 48px; }

.cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.cards strong { display: block; margin-bottom: 4px; }

section + section { border-top: 1px solid var(--line); margin-top: 48px; }

/* Step-by-step screenshots (support page). The red circle is where to tap: --x and --y are percentages of the screen. */
h4 { font-size: 16px; margin: 28px 0 4px; }
.note { color: var(--muted); font-size: 15px; margin: 4px 0; }
.shots { list-style: none; padding: 0; margin: 12px 0 32px; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.shots p { display: flex; align-items: first baseline; gap: 8px; margin: 10px 0 0; font-size: 15px; }
.shots .num { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: 14px; font-weight: 700; }
.shot { position: relative; margin: 0; max-width: 260px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.shot .tap { position: absolute; left: var(--x); top: var(--y); width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #ff3b30; border-radius: 50%; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9); pointer-events: none; }

footer { color: var(--muted); font-size: 14px; padding-top: 48px; padding-bottom: 32px; }
footer p { margin: 0 0 8px; }
footer .biz { font-size: 13px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.table-wrap table { border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }

a.store { display: inline-block; margin: 0 0 8px; padding: 12px 20px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }
a.store:hover { opacity: 0.85; }
