html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  margin: 0;
  background: #050505;
  color: #f4f4f5;
  color-scheme: dark;
}

a {
  color: inherit;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(39, 39, 42, 0.5);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.mobile-menu {
  animation: menu-in 180ms ease-out forwards;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-plus {
  display: none;
}

.faq-item[open] .faq-minus {
  display: inline-flex;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 40px 24px 96px;
}

.legal-orb {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(120px);
}

.legal-orb-primary {
  left: 50%;
  top: 0;
  width: min(80vw, 960px);
  height: 760px;
  transform: translateX(-50%);
  background: rgba(255, 102, 102, 0.08);
}

.legal-orb-secondary {
  right: -10%;
  top: -18%;
  width: 440px;
  height: 440px;
  background: rgba(255, 102, 102, 0.11);
  filter: blur(150px);
}

.legal-hero,
.legal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}

.legal-back {
  width: fit-content;
  color: rgba(244, 244, 245, 0.62);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.legal-back:hover {
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #ff6666;
  box-shadow: 0 0 18px rgba(255, 102, 102, 0.75);
}

.brand-word {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.eyebrow {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(161, 161, 170, 0.88);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.legal-intro {
  margin: 0;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(212, 212, 216, 0.84);
}

.legal-meta {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(161, 161, 170, 0.74);
}

.legal-card {
  margin-top: 28px;
  border: 1px solid rgba(63, 63, 70, 0.55);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(24, 24, 27, 0.55), rgba(12, 12, 14, 0.78));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  padding: 28px 24px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fafafa;
}

.legal-section p,
.legal-section li {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(212, 212, 216, 0.84);
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p {
  margin-top: 12px;
}

.legal-section strong {
  color: #ffffff;
}

.legal-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.legal-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-link:hover {
  color: #ffb3b3;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 28px 16px 72px;
  }

  .legal-card {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .legal-section + .legal-section {
    margin-top: 24px;
  }
}
