:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #343434;
  --red: #cf142b;
  --paper: #f8f8f4;
  --tile: #e6e6df;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(var(--red), var(--red)) top / 100% 14px no-repeat,
    linear-gradient(90deg, transparent 31px, rgba(16, 16, 16, 0.055) 32px),
    linear-gradient(transparent 31px, rgba(16, 16, 16, 0.045) 32px),
    var(--paper);
  background-size:
    100% 14px,
    32px 32px,
    32px 32px,
    auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.page {
  display: flex;
  width: min(100% - 36px, 760px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(56px, 11vh, 116px) 0 28px;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}

h1,
p,
footer {
  margin-top: 0;
}

.identity {
  position: relative;
  padding: 24px 0 26px;
}

.identity::before,
.identity::after {
  display: block;
  width: min(100%, 620px);
  height: 6px;
  background: var(--red);
  content: "";
}

.identity::before {
  margin-bottom: 26px;
}

.identity::after {
  margin-top: 22px;
}

h1 {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0.05em 0.22em 0.08em;
  border: 0.08em solid var(--ink);
  background: var(--red);
  color: var(--white);
  font-family:
    "Arial Black", Impact, Haettenschweiler, "Franklin Gothic Heavy", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  max-width: 40rem;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1rem;
}

footer {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 760px);
    padding-top: 52px;
  }

  .identity {
    padding: 18px 0 20px;
  }

  .identity::before,
  .identity::after {
    height: 5px;
  }

  h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 2rem;
  }
}
