:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: #182725;
  background: #f7f9f8;
  --accent: #176b5c;
  --muted: #52635f;
  --line: #dce4e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
}

.page {
  width: min(100% - 96px, 1200px);
  min-height: 100dvh;
  margin-inline: auto;
}

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

.wordmark {
  color: var(--accent);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.company {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.content {
  padding-block: 88px;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

p {
  max-width: 42ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.home-link {
  display: inline-block;
  margin-top: 32px;
  padding-block: 10px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.home-link:hover {
  text-decoration-thickness: 2px;
}

.home-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 40px);
  }

  .header {
    height: 72px;
  }

  .content {
    padding-block: 56px;
  }
}
