@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --orange: #ee4623;
  --ink: #171717;
  --paper: #ebe7df;
  --line: rgb(23 23 23 / 0.2);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgb(23 23 23 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 23 23 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

.legal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgb(235 231 223 / 0.94);
  backdrop-filter: blur(12px);
}

.legal-brand {
  display: inline-flex;
  width: 44px;
  height: 44px;
}

.legal-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.legal-back {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-back:hover,
.legal-back:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--orange);
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0 80px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 17px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(60px, 10vw, 116px);
  line-height: 0.86;
}

.legal-intro {
  max-width: 720px;
  margin: 0 0 32px;
  color: #514e49;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.legal-draft {
  margin: 0 0 48px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: rgb(255 255 255 / 0.38);
  line-height: 1.5;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.legal-section p,
.legal-section li {
  color: #3f3c38;
  font-size: 16px;
  line-height: 1.65;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-placeholder {
  color: var(--orange);
  font-weight: 700;
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}

.legal-contact a {
  border-bottom: 1px solid var(--ink);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .legal-main {
    width: min(100% - 30px, 920px);
  }

  .legal-header {
    min-height: 64px;
    padding-inline: 15px;
  }

  .legal-brand {
    width: 38px;
    height: 38px;
  }
}
