/* Same colours as the app (src/theme/tokens.ts, light and dark palettes). System fonts only: no font files, no CDN. */
:root {
  color-scheme: light dark;
  --background: #ffffff;
  --surface: #f0f4f3;
  --text: #101615;
  --text-subtle: #3b4744;
  --primary: #0b6b5e;
  --secondary: #dde5e3;
  --border: #c9d3d0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101615;
    --surface: #1a2221;
    --text: #eef3f1;
    --text-subtle: #b9c4c1;
    --primary: #5fd0bf;
    --secondary: #2b3634;
    --border: #34413e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.lang {
  display: inline-block;
  padding: 8px 4px;
  color: var(--text-subtle);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  margin: 0 0 4px;
}

h2 {
  font-size: 24px;
  margin: 36px 0 8px;
}

.updated {
  color: var(--text-subtle);
  font-size: 17px;
  margin: 0 0 20px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 22px;
}

.card p {
  margin: 0;
}

.summary {
  background: var(--secondary);
  border-radius: 16px;
  padding: 18px 22px;
  font-weight: 600;
}

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

ul {
  padding-left: 24px;
}

li {
  margin: 6px 0;
}

details {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p,
details ul {
  margin: 10px 0 0;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding-top: 24px;
}

.hero img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
}

.hero p {
  color: var(--text-subtle);
  font-size: 20px;
}

.note {
  color: var(--text-subtle);
}

footer {
  margin-top: 40px;
  color: var(--text-subtle);
  font-size: 16px;
  text-align: center;
}
