:root {
  --color-bg: #F5F5F5;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-accent: #FFDADA;
  --color-border: #e5e5e5;
  --header-height: 80px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
}

/* Logo image */
.logo {
  height: 44px;
  width: auto;
  display: block;
}

/* ---------- Nav ---------- */

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 15px;
  color: var(--color-text);
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.site-nav a:hover {
  border-bottom-color: var(--color-accent);
}

.site-nav a.active {
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Main content ---------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 40px;
}

main h1 {
  font-size: 32px;
  margin: 0 0 16px;
}

main p {
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 16px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer + .site-footer {
  padding-top: 0;
}

.site-footer:first-of-type {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.site-footer:last-of-type {
  padding-bottom: 24px;
}

.site-footer a:hover {
  text-decoration: underline;
}
