:root {
  color-scheme: light;
  --bg: #f5f7f2;
  --text: #16211b;
  --muted: #5f6b63;
  --brand: #b5121b;
  --brand-dark: #7f0c13;
  --line: #d8ded5;
  --panel: #ffffff;
  --shadow: 0 24px 70px rgba(22, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 0.35rem;
}

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

.wrap {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
}

.header,
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner,
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: min(300px, 58vw);
  height: auto;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  display: block;
  width: min(360px, 62vw);
  height: auto;
}

.header__nav,
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.header__nav a,
.footer__nav a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.header__nav a:hover,
.footer__nav a:hover,
.header__nav a[aria-current="page"],
.footer__nav a[aria-current="page"] {
  color: var(--brand);
}

.landing {
  display: grid;
  min-height: calc(100vh - 167px);
  place-items: center;
  padding: 3.5rem 0 6rem;
  background: var(--bg);
}

.landing--official {
  border-top: 6px solid var(--brand);
}

.landing__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(2rem, 6vw, 5rem);
}

.landing__content {
  width: 100%;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.75rem);
  line-height: 1;
}

.landing p:not(.eyebrow) {
  max-width: 660px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.identity-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.identity-panel img {
  width: 100%;
  height: auto;
}

.identity-panel span,
.identity-panel strong {
  display: block;
}

.identity-panel span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.identity-panel strong {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2rem;
  padding: 0.8rem 1.15rem;
  border-radius: 0.35rem;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.main {
  padding: 3rem 0 4rem;
}

.page {
  max-width: 900px;
}

.page > h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
}

.page__card {
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.page__card h1,
.page__card h2,
.page__card h3,
.page__card h4 {
  line-height: 1.2;
}

.page__card h1 {
  font-size: 2rem;
}

.page__card h2 {
  margin-top: 2.25rem;
  font-size: 1.55rem;
}

.page__card h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

.page__card h4 {
  margin-top: 1.35rem;
  font-size: 1rem;
}

.page__card p,
.page__card li {
  color: #2d3730;
}

.page__card ul {
  padding-left: 1.25rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer--home {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 1rem;
}

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

@media (max-width: 680px) {
  .header__inner,
  .site-header__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  .footer--home {
    position: static;
  }

  .landing {
    min-height: auto;
    padding-block: 4rem;
  }

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