:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #172b4d;
  --muted: #5e6c84;
  --line: #dfe1e6;
  --primary: #0052cc;
  --primary-soft: #deebff;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a[aria-current="page"] {
  color: var(--primary);
}

.section {
  padding: 2rem 0 3rem;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.hero {
  padding: 4rem 0 2rem;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 66ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  border-radius: 10px;
  padding: 0.68rem 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-secondary {
  background: var(--primary-soft);
  color: var(--primary);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(9, 30, 66, 0.12);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  margin-right: 0.4rem;
  margin-top: 0.35rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
}

.post-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.post-article strong {
  font-weight: 700;
}

.post-article ul.task-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.post-article .task-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.35rem 0;
  list-style: none;
}

.post-article .task-list-item input[type="checkbox"] {
  margin-top: 0.4rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  cursor: default;
}

.callout {
  border-left: 4px solid var(--primary);
  background: #f4f5f7;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin: 1.1rem 0;
}

.badge {
  display: inline-block;
  border: 1px solid var(--line);
  background: #ebecf0;
  color: var(--text);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-wrap {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.text-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
