:root {
  --emerald: #178f57;
  --gold: #c9951a;
  --ivory: #faf7ef;
  --ink: #1b1e22;
  --line: rgba(27, 30, 34, 0.18);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(27, 30, 34, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(27, 30, 34, 0.035) 1px, transparent 1px),
    var(--ivory);
  background-size: 24px 24px;
}

a {
  color: var(--emerald);
}

header,
main,
footer {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

header img {
  width: 150px;
  max-height: 62px;
  object-fit: contain;
}

header a {
  color: var(--ink);
  font-weight: 800;
}

main {
  padding: 54px 0 64px;
}

.label {
  color: rgba(27, 30, 34, 0.66);
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 18px;
  font-size: 3rem;
  line-height: 0.98;
}

h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

p,
li,
address {
  color: rgba(27, 30, 34, 0.78);
  line-height: 1.7;
}

address {
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fffdf8;
  font-style: normal;
}

footer {
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: rgba(27, 30, 34, 0.7);
  font-size: 0.85rem;
}

@media (min-width: 620px) {
  h1 {
    font-size: 4rem;
  }
}
