@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-condensed-600.woff2) format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/barlow-condensed-800.woff2) format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dm-sans.woff2) format("woff2");
}

:root {
  --maroon: #4f070a;
  --maroon-dark: #3a0507;
  --yellow: #fedf19;
  --ink: #1d1b1b;
  --muted: #5b5656;
  --line: #ece8e8;
  --tint: #faf7f7;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--maroon);
  text-underline-offset: 3px;
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 12px;
  z-index: 10;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  line-height: 1;
}

.brand span {
  box-shadow: inset 0 -0.28em 0 var(--yellow);
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  margin-left: 20px;
}

.nav a:hover {
  text-decoration: underline;
}

/* Type */
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--maroon);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  text-transform: uppercase;
}

h1 .sub {
  display: block;
  font-size: max(0.5em, 1.5rem);
  line-height: 1.15;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5em;
  max-width: 36ch;
}

h2 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.75rem;
}

.accent-bar {
  display: block;
  width: 56px;
  height: 6px;
  background: var(--yellow);
  margin-bottom: 20px;
}

/* Sections */
.hero {
  padding: 56px 0 48px;
}

.lead {
  font-size: 1.15rem;
  max-width: 62ch;
  color: var(--ink);
}

section {
  padding: 48px 0;
}

.alt {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Product card */
.cards {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--maroon);
  border-radius: 6px;
  padding: 24px;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--maroon-dark);
  padding: 4px 8px;
  border-radius: 3px;
  line-height: 1.2;
}

.card ul {
  padding-left: 1.1em;
  margin: 0 0 20px;
}

.card li {
  margin-bottom: 4px;
}

.btn {
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 4px;
  min-height: 48px;
}

.btn:hover {
  background: var(--maroon-dark);
}

.note {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 500;
}

/* Contact */
.contact dl {
  display: grid;
  gap: 4px 24px;
  margin: 0;
}

.contact dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 12px;
}

.contact dd {
  margin: 0;
  font-size: 1.1rem;
}

/* Prose (privacy) */
.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 1.6em;
}

.updated {
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 720px) {
  .hero {
    padding: 96px 0 72px;
  }

  section {
    padding: 72px 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact dl {
    grid-template-columns: max-content 1fr;
    align-items: baseline;
  }

  .contact dt {
    margin-top: 0;
  }
}
