:root {
  --background: #fcf7eb;
  --foreground: #3d3030;
  --primary: #872d1f;
  --muted-foreground: #9c6057;
  --border: #e5d4c7;
  --max-width: 640px;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, 'Geist', 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  line-height: 1.6;
}

header { margin-bottom: 2.5rem; }
header h1 { margin: 0 0 0.25rem; font-size: 1.75rem; color: var(--primary); }
header p { margin: 0; color: var(--muted-foreground); }
header a { color: var(--muted-foreground); text-decoration: none; font-size: 0.9rem; }
header a:hover { text-decoration: underline; }

.nav { display: flex; gap: 1rem; margin-top: 0.75rem; }
.nav a { color: var(--muted-foreground); text-decoration: none; font-size: 0.9rem; }
.nav a:hover { color: var(--primary); text-decoration: underline; }

.intro { margin-bottom: 1.5rem; }

.more { margin-top: 1.25rem; }
.more a { color: var(--primary); text-decoration: none; font-weight: 500; }
.more a:hover { text-decoration: underline; }

.telegram-embed {
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1.5rem;
  text-align: center;
}
.telegram-embed h2 { margin-top: 0; color: var(--primary); }
.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.button:hover { opacity: 0.9; }

.cards { display: flex; flex-direction: column; gap: 1.25rem; }

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1.25rem;
}

.card h2 { margin: 0 0 0.25rem; font-size: 1.25rem; color: var(--primary); }
.card time { color: var(--muted-foreground); font-size: 0.85rem; }
.card p { margin: 0.5rem 0 0; color: var(--foreground); }

.post { margin-top: 1.5rem; }
.post h1 { margin-bottom: 0.25rem; color: var(--primary); }
.post time { color: var(--muted-foreground); font-size: 0.85rem; }
.post p { margin: 1rem 0; }
