@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Fjalla+One&display=swap");

.legal-page {
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255, 148, 117, 0.12), transparent 42%),
    #000;
  color: #fff;
  font-family: "Cabin", Arial, sans-serif;
}

.legal-page header .legal-header-logo {
  display: block;
  width: clamp(94px, 11vw, 136px);
}

.legal-page header .legal-header-logo img {
  width: 100%;
  height: auto;
}

.legal-main {
  width: min(880px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 158px 0 72px;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 12px 12px 0 rgba(255, 148, 117, 0.48);
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #ff9475;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-card h1,
.legal-card h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 0;
  color: #ff9475;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 38px 0 12px;
  color: #fff;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
}

.legal-card p,
.legal-card li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-card p {
  margin: 0 0 16px;
}

.legal-card ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: #ff9475;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: #fff;
}

.legal-card a:focus-visible {
  outline: 2px solid #ff9475;
  outline-offset: 3px;
}

.legal-meta {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.9rem !important;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-actions a {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid #ff9475;
  text-decoration: none;
}

.legal-actions a:hover {
  background: #ff9475;
  color: #000;
}

.legal-footer {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  text-align: center;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #ff9475;
}

@media (max-width: 650px) {
  .legal-page header .legal-header-logo {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 106px;
    transform: translateX(-50%);
  }

  .legal-main {
    width: min(100% - 32px, 880px);
    padding-top: 116px;
    padding-bottom: 46px;
  }

  .legal-card {
    box-shadow: 7px 7px 0 rgba(255, 148, 117, 0.44);
  }

  .legal-footer {
    width: min(100% - 32px, 880px);
  }
}
