:root {
  --bg: #f6f1e8;
  --panel: rgba(255, 252, 246, 0.92);
  --ink: #1f2a33;
  --muted: #5a6772;
  --accent: #0f766e;
  --accent-2: #e67e22;
  --border: rgba(31, 42, 51, 0.12);
  --shadow: 0 20px 50px rgba(31, 42, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 36%),
    radial-gradient(circle at top right, rgba(230, 126, 34, 0.14), transparent 30%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(252, 250, 246, 0.82);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
}

main.wrap {
  padding: 40px 0 80px;
}

.hero,
.post-card,
.article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 48px;
  margin-bottom: 28px;
}

.eyebrow,
.meta {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink);
  background: white;
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card,
.article {
  padding: 28px;
}

.content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 16px;
  background: #1f2937;
  color: #f8fafc;
}

.content code {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.content :not(pre) > code {
  padding: 0.14em 0.4em;
  border-radius: 6px;
  background: rgba(15, 118, 110, 0.08);
}

img {
  max-width: 100%;
}

@media (max-width: 700px) {
  .site-header .wrap {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .post-card,
  .article {
    padding: 22px;
    border-radius: 18px;
  }
}
