:root {
  --background: #ffffff;
  --surface: #f6f7f8;
  --text: #1f2328;
  --muted: #5e6670;
  --border: #d9dde2;
  --link: #2457a6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid #9cb9e6;
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), 880px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

.intro,
.page-header {
  padding-block: 72px 64px;
  border-bottom: 1px solid var(--border);
}

.label,
.effective {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.project {
  max-width: 680px;
  margin-block: 56px 80px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.project p:not(.label) {
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: var(--text);
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #383d43;
}

.page {
  padding-bottom: 80px;
}

.simple-page {
  min-height: 560px;
}

.page > section {
  max-width: 720px;
  padding-block: 40px;
  border-bottom: 1px solid var(--border);
}

.page > section p {
  color: #414850;
}

.page > section p:last-child {
  margin-bottom: 0;
}

.status {
  display: inline-block;
  margin: 24px 0 0;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
}

.checklist {
  margin: 0;
  padding-left: 24px;
}

.checklist li {
  padding: 8px 0 16px 8px;
  color: #414850;
}

.checklist strong {
  display: block;
  color: var(--text);
}

.legal .page-header {
  max-width: none;
}

.legal > section {
  padding-block: 32px;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), 880px);
  }

  .site-header {
    min-height: 66px;
  }

  nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  nav a:first-child {
    display: none;
  }

  .intro,
  .page-header {
    padding-block: 52px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }

  .site-footer p {
    margin: 0;
  }
}
