:root {
  --text: #333;
  --muted: #666;
  --bg: #f5f5f5;
  --surface: #fff;
  --accent: #b91c1c;
  --rule: #aaa;
  --max: 1024px;
  --font: ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover,
a:focus {
  color: var(--accent);
}

p {
  margin: 0 0 2.4rem;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2rem;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 2.4rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1.6rem;
  top: 1.6rem;
  z-index: 1000;
  background: var(--surface);
  padding: 0.8rem 1.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 3.2rem;
  max-width: 1200px;
  min-height: 7.8rem;
  margin: 0 auto;
  padding: 0 4rem;
}

.site-logo {
  display: block;
}

.site-logo img {
  display: block;
  width: 15.2rem;
  height: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  padding: 1rem;
  text-transform: uppercase;
}

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

.wrap {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

article {
  background: var(--surface);
  padding: 4.8rem 6.4rem;
}

.entry-content a {
  border-bottom: 1px solid var(--rule);
}

.entry-content a:hover,
.entry-content a:focus {
  border-bottom-color: var(--text);
}

.lede {
  font-size: 2rem;
}

.note {
  color: var(--accent);
  font-weight: 700;
}

.products section + section {
  margin-top: 3.2rem;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.products h2 a {
  border-bottom: 0;
}

.button {
  display: inline-block;
  background: var(--text);
  color: var(--surface);
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  padding: 1.4rem 2.4rem;
  border: 0;
}

.button:hover,
.button:focus {
  background: var(--accent);
  color: var(--surface);
}

.site-footer {
  background: var(--surface);
  text-align: center;
  padding: 2.4rem 4rem 3.2rem;
}

.site-footer p,
.site-footer a {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

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

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem 2rem;
  }

  .site-nav ul {
    justify-content: center;
  }

  .wrap {
    padding: 2.4rem 1.6rem 4rem;
  }

  article {
    padding: 3.2rem 2.4rem;
  }

  h1 {
    font-size: 2.8rem;
  }
}
