:root {
  color: #37352f;
  background: #f7f4ed;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: #f7f4ed;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f4ed;
}

.page {
  width: min(100% - 48px, 708px);
  margin: 0 auto;
  padding: 96px 0 48px;
}

h1 {
  margin: 0 0 12px;
  color: #37352f;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 12px;
  color: #37352f;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

p,
li {
  font-size: 1rem;
  line-height: 1.7;
}

p {
  margin: 12px 0;
}

hr {
  height: 1px;
  margin: 16px 0;
  border: 0;
  background: rgba(55, 53, 47, 0.16);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  background: rgba(55, 53, 47, 0.08);
}

a:focus-visible {
  outline: 2px solid #2383e2;
  outline-offset: 3px;
}

.links {
  margin: 20px 0;
  padding-left: 1.6rem;
}

.links li {
  margin: 4px 0;
  padding-left: 2px;
}

.personal-os {
  font-weight: 500;
}

.highlight {
  padding: 0 2px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-gold {
  background: rgba(212, 161, 42, 0.2);
}

.highlight-coral {
  background: rgba(224, 107, 90, 0.16);
}

.highlight-copper {
  background: rgba(184, 117, 80, 0.16);
}

.highlight-river {
  background: rgba(74, 118, 153, 0.16);
}

.highlight-forest {
  background: rgba(62, 122, 92, 0.15);
}

footer {
  padding-top: 8px;
  color: rgba(55, 53, 47, 0.62);
  font-size: 0.875rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 8px 12px;
  background: #37352f;
  color: #ffffff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .page {
    width: min(100% - 32px, 708px);
    padding-top: 56px;
  }

  h2 {
    margin-top: 30px;
  }
}
