:root {
  --text: #1f2525;
  --muted: #667070;
  --border: #dfe6e3;
  --accent: #006b61;
  --bg: #ffffff;
  --soft: #f7f9f8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

nav a,
.site-footer a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.home {
  min-height: calc(100vh - 153px);
  display: grid;
  place-items: center;
  padding: 56px 16px;
}

.hero {
  width: min(720px, 100%);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
}

.links a:first-child {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

article {
  display: grid;
  gap: 28px;
}

section {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

p {
  margin: 10px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.blank {
  display: inline-block;
  min-width: 200px;
  max-width: 100%;
  height: 1.1em;
  border-bottom: 1px solid var(--muted);
  vertical-align: baseline;
}

.requisites {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.req-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.req-label {
  min-width: 220px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    display: grid;
    justify-items: start;
  }

  nav {
    justify-content: flex-start;
  }

  .links {
    display: grid;
  }
}
