/* White on black, like the app. No web fonts, scripts or trackers. */
:root {
  color-scheme: dark;
  --ground: #000;
  --text: #f2f2f2;
  --muted: #a3a3a8;
  --line: #2c2c30;
  --surface: #121214;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  padding-inline: 20px;
}

main { max-width: 40rem; margin: 0 auto; padding-block: 32px 64px; }

nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; margin-bottom: 32px; }
nav a[aria-current="page"] { color: var(--text); text-decoration: none; font-weight: 600; }

a { color: var(--text); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.mark { width: 56px; height: 56px; border-radius: 50%; background: var(--text); opacity: 0.85; margin-bottom: 20px; }

h1 { font-size: 26px; line-height: 1.35; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 19px; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
h3 { font-size: 16px; margin: 24px 0 6px; }
p, ul, dl { margin: 0 0 12px; }
ul { padding-left: 1.3em; }
.lead { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }

dl.usage { display: grid; grid-template-columns: minmax(8em, 13em) 1fr; gap: 10px 20px; }
dl.usage dt { font-weight: 600; }
dl.usage dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) {
  dl.usage { grid-template-columns: 1fr; gap: 2px; }
  dl.usage dd { margin-bottom: 12px; }
}

details { border-bottom: 1px solid var(--line); padding-block: 12px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.contact .address { font-size: 18px; font-weight: 600; word-break: break-all; user-select: all; }

footer { margin-top: 48px; color: var(--muted); font-size: 13px; }
