:root {
  --bg: #fafaf8;
  --fg: #16161a;
  --muted: #5d5d66;
  --line: #e4e4e0;
  --card: #ffffff;
  --accent: #2a5bd7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111114; --fg: #f2f2f0; --muted: #a2a2aa; --line: #2a2a30; --card: #18181c; --accent: #7aa2ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.brand { color: var(--fg); font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }

.hero { padding-top: 56px; padding-bottom: 40px; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 20px; max-width: 760px; font-weight: 700; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }

h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 48px 0 16px; }
h3 { font-size: 15px; margin: 0 0 4px; font-weight: 600; }

.apps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.apps a { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--fg); height: 100%; }
.apps a:hover { text-decoration: none; border-color: var(--muted); }
.apps img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.apps strong { display: block; font-size: 16px; }
.apps em { display: block; font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.4; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.contact > div { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.contact p { margin: 0; }

.foot { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }

.doc { max-width: 720px; padding-top: 24px; padding-bottom: 24px; }
.doc h1 { font-size: 36px; }
.doc h2 { text-transform: none; letter-spacing: 0; font-size: 20px; color: var(--fg); margin: 32px 0 8px; }
.doc p, .doc li { color: var(--fg); }
.doc .updated { color: var(--muted); }
