:root {
  color-scheme: light dark;
  --bg: #0b0e14;
  --card: #131722;
  --text: #e8eaf0;
  --text-dim: #9aa3b2;
  --accent: #4f8cff;
  --border: #232838;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --card: #ffffff;
    --text: #1a1d24;
    --text-dim: #5a6270;
    --accent: #2563eb;
    --border: #e3e6ec;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

header.top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

header.top .logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f8cff, #7b5cff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}

header.top .brand {
  font-size: 20px;
  font-weight: 700;
}

nav.top-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
}

nav.top-links a {
  color: var(--text-dim);
  text-decoration: none;
}

nav.top-links a:hover {
  color: var(--accent);
}

h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 32px;
}

section {
  margin-bottom: 28px;
}

h2 {
  font-size: 17px;
  margin-bottom: 10px;
}

h3 {
  font-size: 15px;
  margin: 16px 0 6px;
}

p, li {
  color: var(--text-dim);
  font-size: 15px;
}

ul {
  padding-left: 20px;
}

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

a.contact {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero .logo-big {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #4f8cff, #7b5cff);
}

.hero h1 {
  font-size: 32px;
}

.hero p {
  font-size: 16px;
  max-width: 480px;
  margin: 8px auto 28px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.links a {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
