/* Almighty website: same neutral system as the app (docs/ui-direction.md). */
:root {
  --bg: #fff;
  --panel: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #0071e3;
  --font: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000;
    --panel: #1c1c1e;
    --text: #f5f5f7;
    --muted: #98989f;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #0a84ff;
  }
}
:root[data-theme="dark"] {
  --bg: #000;
  --panel: #1c1c1e;
  --text: #f5f5f7;
  --muted: #98989f;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #0a84ff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--text); }

main { padding: 40px 0 64px; }
h1 { font: 700 34px/1.2 var(--font); margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font: 700 22px/1.3 var(--font); margin: 40px 0 8px; }
h3 { font: 600 17px/1.4 var(--font); margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.lede { font-size: 20px; color: var(--muted); margin-bottom: 28px; }
.fine { font-size: 14px; color: var(--muted); }

.hero { display: flex; gap: 20px; align-items: center; margin-bottom: 8px; }
.hero img { width: 88px; height: 88px; border-radius: 20px; flex: none; }

.store-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.features { list-style: none; padding: 0; margin: 28px 0; }
.features li { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.features strong { display: block; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 18px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); }
th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

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

.contact {
  background: var(--panel);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}

footer.site { border-top: 1px solid var(--line); padding: 20px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); }
footer.site .wrap { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero { flex-direction: column; align-items: flex-start; }
}
