:root {
  color-scheme: light;
  --sky: #111111;
  --paper: #1a1a1a;
  --ink: #f4ead6;
  --soft-ink: #c8bba6;
  --line: #3a3428;
  --ice: #e8c15a;
  --gold: #b88b2e;
  --soft-gold: #f4ecd4;
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--sky);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--sky);
}

a {
  color: #e8c15a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #ffd56a;
}

.site-header {
  border-bottom: 1px solid rgba(23, 63, 89, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.brand span {
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: var(--soft-ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.page {
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.08;
}

.lede {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.75;
}

.meta {
  margin: 22px 0 0;
  color: var(--soft-ink);
  font-size: 14px;
}

.summary {
  margin: 48px 0 12px;
  padding: 22px 24px;
  border-left: 4px solid var(--ice);
  background: rgba(255, 255, 255, 0.66);
}

.summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.summary p {
  margin: 0;
}

.section {
  padding: 38px 0;
  border-bottom: 1px solid rgba(23, 63, 89, 0.12);
}

.section:last-of-type {
  border-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.3;
}

p,
li {
  color: var(--soft-ink);
  font-size: 16px;
  line-height: 1.8;
}

p {
  margin: 12px 0;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
}

.fact {
  min-height: 124px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.fact__label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.fact__value {
  margin-top: 7px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 20px;
  border: 1px solid var(--ice);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--gold);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid rgba(23, 63, 89, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.site-footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft-ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 620px) {
  .site-header__inner,
  .page,
  .site-footer__inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 18px;
  }

  .nav {
    gap: 13px;
    font-size: 13px;
  }

  .page {
    padding: 44px 0 56px;
  }

  .lede {
    font-size: 17px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 104px;
  }

  .site-footer__inner {
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
