:root {
  --bg: #0b0b10;
  --surface: #14141c;
  --border: #262633;
  --text: #f2f2f5;
  --muted: #a3a3b2;
  --accent: #00ffff;
  --max: 920px;
}

* { box-sizing: border-box; }

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

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

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

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

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

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }

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

.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero img { width: 160px; height: 160px; }
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.15;
  margin: 28px 0 12px;
  font-weight: 700;
}
.hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto;
}

section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: 26px;
  margin: 0 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

dl.details {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px 24px;
  margin: 0;
}
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; }

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

.legal h1 { font-size: 36px; margin: 64px 0 8px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { color: #d6d6de; }
.legal { padding-bottom: 64px; }

@media (max-width: 600px) {
  nav a { margin-left: 16px; }
  .hero { padding: 64px 0 48px; }
  .hero img { width: 120px; height: 120px; }
  dl.details { grid-template-columns: 1fr; gap: 4px; }
  dl.details dd { margin-bottom: 12px; }
}
