:root {
  --accent: #5856D6;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1c1c1e;
  --text-secondary: #6e6e73;
  --border: #e0e0e4;
  --measure: 65ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #9C9AFF;
    --bg: #131315;
    --surface: #1e1e21;
    --text: #e8e8ea;
    --text-secondary: #9a9aa0;
    --border: #35353a;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  max-width: var(--measure);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 640px) {
  body {
    padding: 4rem 2rem 4rem;
  }
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2rem;
}

h2 {
  margin-top: 2.75rem;
  font-size: 1.25rem;
}

h3 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

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

strong {
  font-weight: 600;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

/* Masthead */

.masthead {
  margin-bottom: 2.5rem;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 19px;
  display: block;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}

.tagline {
  margin-top: -0.4rem;
  color: var(--text-secondary);
  font-size: 1.1875rem;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.back:hover {
  color: var(--accent);
}

.lead {
  font-size: 1.125rem;
}

/* Feature list */

.features {
  list-style: none;
  padding: 0;
}

.features li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.6rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* Callout */

.note {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

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

/* FAQ */

.faq {
  margin: 0;
}

.faq dt {
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
}

.faq dd {
  margin-left: 0;
}

.faq dd p:last-child {
  margin-bottom: 0;
}

/* Footer */

.footer {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer p {
  margin-bottom: 0.5rem;
}

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

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 0 0 1rem;
}

.footer-nav li {
  margin-bottom: 0;
}
