:root {
  --red: #c4442c;
  --red-dark: #5c1b10;
  --ink: #0e0605;
  --paper: #f4efec;
  --text: #f7f4f2;
  --text-dim: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.1);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(920px, 92%);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(14, 6, 5, 0.9);
  position: sticky;
  top: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__crest {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.back-link {
  color: var(--text-dim);
  font-size: 14px;
}

.back-link:hover {
  color: #fff;
}

main {
  padding: 56px 0 80px;
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 72px);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(28px, 4.2vw, 40px);
  margin-top: 34px;
  margin-bottom: 10px;
}

p,
li {
  color: var(--text-dim);
  font-size: 16px;
}

ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.intro {
  font-size: 18px;
  max-width: 760px;
}

.card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.meta {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

strong {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid #f5b301;
  outline-offset: 2px;
}

.footer {
  background: #060201;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 5px 0;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
