:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #202735;
  --muted: #667085;
  --line: #dde3ee;
  --brand: #1267d8;
  --accent: #ffbf3f;
  --good: #10845a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1080px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  width: min(1080px, calc(100% - 32px));
  margin: 36px auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--good);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.container {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 64px;
}

.home-list {
  margin-top: 28px;
}

.ad-slot {
  min-height: 120px;
  margin: 24px 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.post-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.post-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.35;
}

.post-card span {
  color: var(--muted);
}

.post-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 16px;
}

article h1 {
  font-size: clamp(30px, 4vw, 46px);
}

article h2 {
  margin-top: 34px;
  font-size: 24px;
}

.summary {
  padding: 18px;
  border: 1px solid #c6eadb;
  border-radius: 8px;
  background: #effbf6;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #d92d20;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button-grid {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.button-grid.one {
  grid-template-columns: 1fr;
}

.button-grid.three {
  justify-items: center;
  grid-template-columns: 1fr;
}

.button-grid.two {
  justify-items: center;
  grid-template-columns: 1fr;
}

.button-grid .button {
  width: 100%;
  min-height: 52px;
  font-size: 20.4px;
}

.button-grid.two .button,
.button-grid.three .button {
  width: 90%;
}

.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 48px auto 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  article {
    padding: 20px;
  }

  .button-grid.two .button,
  .button-grid.three .button {
    width: 100%;
  }
}
