:root {
  --bg: #090a0d;
  --surface: #12141a;
  --border: #23262f;
  --text: #eef0f4;
  --muted: #9aa0ad;
  --accent: #7c9cff;
  --max: 720px;
}

* { box-sizing: border-box; }

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

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;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.brand { color: var(--text); font-weight: 600; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
nav.site { display: flex; gap: 20px; font-size: 15px; }
nav.site a { color: var(--muted); }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); text-decoration: none; }

main { padding: 56px 0 72px; }

h1 { font-size: 36px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0 0 16px;
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.app-row { display: flex; gap: 18px; align-items: flex-start; }
.app-icon {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 15px;
  background: linear-gradient(145deg, #2a3557, #12141a);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-weight: 700; font-size: 22px; color: var(--text);
}

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

@media (max-width: 520px) {
  h1 { font-size: 29px; }
  main { padding: 36px 0 56px; }
  .lede { font-size: 18px; }
}
