:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #16181d;
  --muted: #5c626e;
  --border: #e3e5ea;
  --accent: #2e3bae;
  --known: #0d9e6b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #191c22;
    --text: #eceef2;
    --muted: #9aa1ae;
    --border: #272b33;
    --accent: #8b95f0;
    --known: #35c48e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 72px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 680px; margin: 0 auto; }

header {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 24px 0 6px; }

.tagline { color: var(--muted); margin: 0; font-size: 17px; }

nav { margin-top: 20px; display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { text-decoration: underline; }

a { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0;
}

.badge {
  display: inline-block;
  background: var(--known);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

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

.muted { color: var(--muted); }
.small { font-size: 14px; }

footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 14px;
}

/* App icon in the page header */
.hero {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.app-icon {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 23%;
  background: #fff;                 /* engraving is black on white */
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
  object-fit: cover;
}

.hero-text { min-width: 0; }
.hero-text h1 { margin-bottom: 6px; }

@media (max-width: 460px) {
  .app-icon { width: 84px; height: 84px; }
  h1 { font-size: 26px; }
}
