:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1a1f36;
  --muted: #667085;
  --accent: #7c5cff;
  --accent-2: #10b981;
  --border: #e7eaf3;
  --shadow: 0 18px 45px rgba(18, 24, 40, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #fbfbfe 0%, #f5f7fb 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 24px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 72px 0 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 820px;
}

.hero p {
  max-width: 740px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  padding: 10px 0 80px;
}

.post-card,
.article-card,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.post-card {
  padding: 24px;
}

.post-card h2 {
  margin: 10px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.post-card p,
.article-content p,
.article-content li {
  color: var(--muted);
  line-height: 1.75;
}

.post-date,
.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.read-link,
.btn-primary {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.article-shell {
  padding: 38px 0 80px;
}

.back-link {
  display: inline-block;
  margin: 20px 0;
  color: var(--muted);
  font-weight: 600;
}

.article-card {
  padding: 34px;
}

.article-card h1 {
  margin: 10px 0 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-content h2,
.article-content h3 {
  letter-spacing: -0.02em;
  margin-top: 28px;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.cta-box {
  margin-top: 36px;
  padding: 26px;
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .article-card {
    padding: 22px;
  }
}