:root {
  color-scheme: light dark;
  --page: #f2f2f7;
  --surface: #ffffff;
  --text: #111111;
  --muted: #636366;
  --line: rgba(60, 60, 67, 0.18);
  --accent: #0088ff;
  --accent-pressed: #0074d9;
  --accent-soft: rgba(0, 136, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #aeaeb2;
    --line: rgba(235, 235, 245, 0.2);
    --accent: #0a84ff;
    --accent-pressed: #409cff;
    --accent-soft: rgba(10, 132, 255, 0.16);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 64px;
}

.site-header {
  padding-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.brand-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.brand-label {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
}

.lead {
  margin: 16px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.page-nav {
  display: flex;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-nav a {
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.page-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  background: var(--surface);
  border-radius: 8px;
  padding: 0 32px;
}

section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

p,
li {
  font-size: 16px;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent-soft);
}

.notice p {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-pressed);
  text-decoration: none;
}

.faq-list {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 18px 28px 18px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

details p,
details ul {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-size: inherit;
}

@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 32px, 760px);
    padding: 32px 0 44px;
  }

  .site-header {
    padding-bottom: 24px;
  }

  .brand {
    margin-bottom: 22px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 17px;
  }

  main {
    padding: 0 22px;
  }

  section {
    padding: 26px 0;
  }

  h2 {
    font-size: 22px;
  }
}
