:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --card: #ffffff;
  --label: #000000;
  --label2: #3c3c43;
  --label3: #545458;
  --sep: rgba(60, 60, 67, 0.29);
  --tint: #0066cc;
  --tint-ink: #ffffff;
  --callout: #e8f0fb;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --label: #ffffff;
    --label2: #ebebf5;
    --label3: #aeaeb2;
    --sep: rgba(84, 84, 88, 0.65);
    --tint: #4da3ff;
    --tint-ink: #000000;
    --callout: #10243d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--card); color: var(--label); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

.top { max-width: 720px; margin: 0 auto; padding: 16px 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--label); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }

main { max-width: 720px; margin: 0 auto; padding: 8px 20px 24px; }

.hero { text-align: center; padding: 10vh 0 32px; background: none; border-radius: 0; margin: 0; }
.nw { white-space: nowrap; }
.hero.small { padding-top: 8vh; }
.app-icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); }
h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 10px; }
.home h1 { font-size: clamp(34px, 7vw, 48px); }
.lede { font-size: 20px; line-height: 1.4; color: var(--label2); margin: 0 auto 28px; max-width: 34em; }
.note, .small { font-size: 15px; color: var(--label3); }
.note { margin-top: 20px; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; min-width: 196px; padding: 8px 18px;
  border-radius: 12px; background: var(--label); color: var(--bg); text-align: left;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.15; }
.store-text small { font-size: 12px; font-weight: 500; opacity: 0.85; }
.store.soon { background: transparent; color: var(--label2); box-shadow: inset 0 0 0 1px var(--sep); }
a.store:hover { text-decoration: none; opacity: 0.9; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px; border-radius: 14px;
  background: var(--tint); color: var(--tint-ink); font-weight: 600; font-size: 17px;
}
.button:hover { text-decoration: none; opacity: 0.92; }
.cta { margin: 24px 0; }
.hero .cta { margin-top: 8px; }

.doc h1 { margin-top: 24px; }
.meta { color: var(--label3); font-size: 15px; margin-top: 0; }
.doc > p { color: var(--label2); }
.callout { background: var(--callout); border-radius: var(--radius); padding: 4px 18px; margin: 20px 0; }
.toc ul { list-style: none; padding: 0; margin: 24px 0; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.toc li + li { border-top: 0.5px solid var(--sep); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 10px 18px; color: var(--label); }
.toc a::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--label3); border-bottom: 2px solid var(--label3); transform: rotate(-45deg); }
.toc a:hover { text-decoration: none; background: var(--sep); }
section { background: var(--card); border-radius: var(--radius); padding: 4px 20px 6px; margin: 16px 0; scroll-margin-top: 16px; }
h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 8px; }
section p, section li, section dd { color: var(--label2); }
section ul { padding-left: 20px; }
section li { margin: 8px 0; }
dt { font-weight: 600; margin-top: 14px; }
dd { margin: 4px 0 0; }
strong { color: var(--label); font-weight: 600; }

.foot { max-width: 720px; margin: 0 auto; padding: 8px 20px 40px; font-size: 13px; line-height: 1.5; color: var(--label3); text-align: center; }
.foot ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; }
.foot p { margin: 6px auto; max-width: 40em; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (prefers-contrast: more) { :root { --label2: var(--label); --label3: var(--label); --sep: var(--label3); } }
html { scroll-behavior: smooth; }
