:root {
  --accent: #ef6623;
  --accent-ink: #b8460f;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1d1b19;
  --muted: #6b6560;
  --line: #e7e2dc;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-ink: #ff9a63;
    --bg: #141210;
    --surface: #1d1a17;
    --text: #f3efea;
    --muted: #a8a19a;
    --line: #2f2a25;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

header.site {
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

nav.site a:hover { color: var(--text); }

main { padding: 48px 0 64px; }

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  margin: 40px 0 8px;
}

h3 {
  font-size: 18px;
  margin: 28px 0 4px;
}

p, li { color: var(--text); }

.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.card h2, .card h3 { margin-top: 0; }

.summary {
  border-left: 4px solid var(--accent);
}

.app-tile {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

ul.links {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.links li { margin: 6px 0; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  padding-top: 24px;
  padding-bottom: 40px;
}

footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  h1 { font-size: 32px; }
  nav.site a { margin-left: 12px; }
}
