@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  min-width: 20rem;
  background: #F8F7F3;
  color: #1C2527;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: #B49A67;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid #1C2527;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #B49A67;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #1C2527;
  color: #F8F7F3;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

header,
main,
footer {
  padding-inline: max(1.25rem, calc((100% - 56rem) / 2));
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
  border-bottom: 1px solid rgb(28 37 39 / 15%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #B49A67;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.6rem;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
}

main {
  padding-block: clamp(4rem, 9vw, 7rem);
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

h1 {
  max-width: 14ch;
  margin: 0 0 3rem;
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

p,
ul {
  max-width: 48rem;
}

li + li {
  margin-top: 0.65rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #5C6566;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-note {
  margin-top: 3rem;
  padding: 1.25rem;
  border-left: 3px solid #B49A67;
  background: #EEEAE0;
}

footer {
  padding-block: 2rem;
  background: #1C2527;
  color: #F8F7F3;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer a {
  color: #B49A67;
}

@media (max-width: 34rem) {
  header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }
}
