:root {
  color-scheme: dark;
  --background: #050508;
  --surface: #0b0b10;
  --text: #ffffff;
  --muted: #aaa5ae;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #e71978;
}

@font-face {
  font-family: "Humane";
  src: url("/fonts/Humane-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: "Barlow Condensed", "Helvetica Neue", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
}

a {
  color: inherit;
}

.legal-site-header {
  border-bottom: 1px solid var(--line);
}

.legal-header-inner {
  width: min(1080px, calc(100% - 2rem));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-brand {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

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

.legal-home {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-home:hover {
  color: var(--accent);
}

.legal-shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
}

.legal-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-family: "Humane", Impact, sans-serif;
  font-size: clamp(5.5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.82;
  text-transform: uppercase;
}

.effective-date {
  margin: 1.15rem 0 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-tabs {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.legal-tabs a {
  position: relative;
  padding: 0 0 0.95rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.legal-tabs a:hover,
.legal-tabs a[aria-current="page"] {
  color: var(--text);
}

.legal-tabs a:hover::after,
.legal-tabs a[aria-current="page"]::after {
  transform: scaleX(1);
}

.legal-document {
  padding-top: 2.5rem;
}

.legal-document h2 {
  margin: 3.25rem 0 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-family: "Humane", Impact, sans-serif;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.88;
  text-transform: uppercase;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 0 0 1rem;
}

.legal-document ul {
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
}

.legal-document li + li {
  margin-top: 0.7rem;
}

.legal-site-footer {
  border-top: 1px solid var(--line);
  background: #000000;
}

.legal-footer-inner {
  width: min(1080px, calc(100% - 2rem));
  min-height: 560px;
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.legal-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.legal-footer-logo {
  width: min(220px, 55vw);
  height: auto;
}

.legal-footer-email {
  color: var(--text);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.legal-social-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.legal-social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease, transform 0.25s ease;
}

.legal-social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.legal-social-links svg {
  width: 30px;
  height: 30px;
}

.legal-footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-footer-links {
  display: flex;
  gap: 1.25rem;
}

.legal-footer-links a {
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-footer-links a:hover,
.legal-footer-links a[aria-current="page"] {
  color: var(--accent);
}

.not-found-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.not-found-page .legal-site-header {
  flex: 0 0 auto;
}

.not-found-shell {
  width: min(960px, calc(100% - 2rem));
  margin: auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
}

.not-found-shell h1 {
  margin: 0;
  font-family: "Humane", Impact, sans-serif;
  font-size: clamp(5.5rem, 14vw, 10rem);
  font-weight: 700;
  line-height: 0.82;
  text-transform: uppercase;
}

.not-found-shell > p:not(.legal-eyebrow) {
  margin: 1.5rem auto 2rem;
  color: var(--muted);
}

.not-found-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.not-found-link:hover {
  background: transparent;
  color: var(--accent);
}

@media (max-width: 640px) {
  body {
    font-size: 1.15rem;
  }

  .legal-header-inner {
    min-height: 92px;
  }

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

  .legal-shell {
    padding-top: 3.5rem;
  }

  .legal-hero h1 {
    font-size: clamp(4.6rem, 24vw, 7rem);
  }

  .legal-tabs {
    gap: 1.5rem;
  }

  .legal-tabs a {
    font-size: 1rem;
  }

  .legal-footer-inner {
    min-height: 500px;
  }

  .legal-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
