:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --paper-soft: #fbfaf8;
  --paper-deep: #efeeeb;
  --white: #ffffff;
  --ink: #111111;
  --ink-soft: #37352f;
  --muted: #787774;
  --line: #d9d8d4;
  --black: #000000;
  --red: #ff1f1f;
  --red-deep: #d71920;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-dot: "DotGothic16", "Courier New", monospace;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.13) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--paper-soft), var(--paper));
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, rgba(247, 246, 243, 0), var(--paper) 74%);
}

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

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.shell {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.9);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.07);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  width: 33px;
  height: 33px;
  border: 2px solid var(--black);
  background: var(--white);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--red);
}

.brand-mark::before {
  top: 5px;
  bottom: 5px;
  left: 14px;
  width: 3px;
}

.brand-mark::after {
  top: 14px;
  right: 5px;
  left: 5px;
  height: 3px;
}

.brand span:last-child {
  font-family: var(--font-dot);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.home-link {
  min-height: 38px;
  padding: 8px 13px;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--red);
  font-weight: 850;
}

.legal-card {
  margin: 56px auto 48px;
  padding: clamp(26px, 6vw, 58px);
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--black);
}

.kicker {
  margin-bottom: 14px;
  color: var(--red-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.86;
  letter-spacing: -0.09em;
}

h1 span {
  display: block;
  font-family: var(--font-dot);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.updated {
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

p,
li {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.68;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 8px;
}

.callout {
  margin: 30px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  background: var(--paper);
}

.contact-line {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer a {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 800;
}

.footer a:hover {
  color: var(--red-deep);
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 26px, 900px);
  }

  .nav,
  .footer {
    display: grid;
  }

  .legal-card {
    margin-top: 36px;
    box-shadow: 7px 7px 0 var(--black);
  }

  .footer nav {
    justify-content: flex-start;
  }
}
