:root {
  --bg: #f3f4fb;
  --surface: #ffffff;
  --text: #12152a;
  --text-secondary: #5b6178;
  --brand: #4f46e5;
  --brand-2: #0d9488;
  --border: rgba(18, 21, 42, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c16;
    --surface: #151a2c;
    --text: #f3f4fa;
    --text-secondary: #a3a8bf;
    --brand: #8b93ff;
    --brand-2: #2dd4bf;
    --border: rgba(255, 255, 255, 0.08);
  }
}

* { 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, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

header img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

header a {
  color: inherit;
  text-decoration: none;
}

.app-name {
  font: 800 28px/1.1 ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font: 700 32px/1.2 ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0 0 8px;
}

h2 {
  font: 700 21px/1.3 ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 32px 0 8px;
}

.meta, footer {
  color: var(--text-secondary);
  font-size: 15px;
}

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

a { color: var(--brand); }

ul { padding-left: 22px; }

li { margin: 4px 0; }

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

.links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 12px 0;
  font-weight: 600;
  text-decoration: none;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
