/* Estilos compartidos de las páginas legales de NeuroFlix */

@font-face {
  font-family: LaObrige;
  src: url(files/LaObrige.otf);
  font-display: swap;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #030014;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(148, 101, 255, .12) 0%, rgba(3, 0, 20, 0) 100%);
  z-index: 0;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 96px;
  position: relative;
  z-index: 1;
}

.legal-topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
}

.legal-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.legal-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.legal-brand span {
  font-family: LaObrige, system-ui, sans-serif;
  font-size: 20px;
}

.legal-back {
  background: rgba(243, 238, 255, .04);
  border: 1px solid rgba(243, 238, 255, .1);
  border-radius: 8px;
  color: #efedfdcc;
  font-size: 14px;
  padding: 8px 16px;
  text-decoration: none;
  transition: .25s cubic-bezier(.6, .6, 0, 1) background-color, .25s cubic-bezier(.6, .6, 0, 1) color;
  white-space: nowrap;
}

.legal-back:hover {
  background: rgba(243, 238, 255, .09);
  color: #fff;
}

h1 {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: LaObrige, system-ui, sans-serif;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.legal-updated {
  color: #efedfd80;
  font-size: 14px;
  margin: 0 0 48px;
}

h2 {
  color: #f4f0ff;
  font-size: 20px;
  line-height: 28px;
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

p,
li {
  color: #efedfdb3;
  font-size: 16px;
  line-height: 28px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 10px;
}

strong {
  color: #f4f0ff;
  font-weight: 600;
}

a {
  color: #ba9cff;
}

a:hover {
  color: #d7c6ff;
}

.legal-callout {
  background: linear-gradient(180deg, rgba(147, 130, 255, .06) 0%, rgba(147, 130, 255, .02) 100%);
  border: 1px solid rgba(186, 156, 255, .22);
  border-radius: 12px;
  margin: 24px 0;
  padding: 20px 24px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-todo {
  background: rgba(255, 193, 121, .1);
  border: 1px dashed rgba(255, 193, 121, .5);
  border-radius: 6px;
  color: #ffc179;
  display: inline-block;
  font-size: 13px;
  padding: 2px 8px;
}

.legal-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #efedfd80;
  font-size: 13px;
  line-height: 22px;
  margin-top: 64px;
  padding-top: 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #9382ff;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 32px;
  }

  .legal-wrap {
    padding: 24px 20px 72px;
  }

  .legal-topbar {
    margin-bottom: 40px;
  }
}
