:root {
  --max-width: 900px;
  --text: #202124;
  --muted: #70757a;
  --line: #e7e7e7;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

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

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

.site-title {
  font-weight: 650;
  text-decoration: none;
  color: var(--text);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a,
.section-links a {
  color: var(--text);
  text-decoration: none;
}

nav a:hover,
.section-links a:hover {
  text-decoration: underline;
}

.content {
  padding: 72px 0;
  min-height: 70vh;
}

.hero {
  padding: 28px 0 48px;
}

.hero h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 16px;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .content {
    padding-top: 44px;
  }
}
