:root {
  --color-primary: #c95645;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --max-width: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  opacity: 0.85;
}

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

.site-header__inner,
.site-main,
.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}

.site-brand img {
  display: block;
  width: 36px;
  height: 36px;
}

.site-main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-main h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
}

.site-main h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.content {
  color: #1f2937;
}

.content p,
.content ul {
  margin: 0 0 1rem;
}

.content ul {
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.35rem;
}

.content strong {
  font-weight: 700;
}

.back-link {
  margin: 2rem 0 0;
}

.site-footer {
  margin-top: 2.5rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.site-footer a {
  color: inherit;
}

@media (min-width: 640px) {
  .site-header__inner,
  .site-main,
  .site-footer__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
