:root {
  --page-bg: #dce7ff;
  --panel: #e6efff;
  --panel-soft: #f0f5ff;
  --line: #bbccf9;
  --pink: #eb0068;
  --pink-hover: #db2777;
  --ink: #000;
  --muted: #4e6494;
  --page-grain-layer: url("/assets/page-grain.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
}

body {
  color: var(--ink);
  font-family: "Rethink Sans", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background-color: var(--page-bg);
  background-image:
    var(--page-grain-layer),
    radial-gradient(ellipse 74% 26% at 8% 7%, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .2) 48%, transparent 100%),
    radial-gradient(ellipse 60% 26% at 94% 12%, rgba(255, 0, 122, .13) 0%, rgba(255, 0, 122, .04) 50%, transparent 100%),
    linear-gradient(180deg, #dce7ff 0%, #e8efff 46%, #dce7ff 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 320px 320px, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0;
  background-blend-mode: normal, screen, normal, normal;
}

.site-header {
  width: 100%;
  padding: 30px 24px 0;
}

.nav {
  position: relative;
  z-index: 100;
  width: min(1228px, 100%);
  height: 113px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(230, 239, 255, .55);
  border: 1px solid rgba(187, 204, 249, .72);
  border-radius: 10px;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .68),
    0 8px 32px rgba(100, 130, 220, .12);
  animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) both;
}

.logo-link {
  width: 67.28px;
  height: 25px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.logo {
  width: 67.28px;
  height: 25px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  width: 134px;
  height: 50px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 100px;
  font: 600 14px/1 "Rethink Sans", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.btn.secondary {
  color: var(--pink-hover);
  background: transparent;
  border: 1px solid var(--pink-hover);
}

.btn.secondary:hover {
  color: #fff;
  background: #000;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(255, 0, 122, 1);
}

.btn.primary {
  color: #fff;
  background: var(--pink);
}

.btn.primary:hover {
  background: #000;
  box-shadow:
    0 4px 20px rgba(255, 0, 122, 1),
    inset -2px 4px 10px rgba(132, 166, 255, 1),
    inset 2px -4px 10px rgba(255, 105, 198, 1),
    inset -1px 2px 2px #000,
    inset 1px -2px 2px #000;
  transform: scale(1.02);
}

.hamburger,
.mobile-nav {
  display: none;
}

.legal-main {
  width: min(1228px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 150px;
}

.legal-hero {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp .65s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.legal-eyebrow {
  margin: 0 0 16px;
  color: var(--pink-hover);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-size: 88px;
  line-height: .98;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-meta {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-company {
  color: #000;
  font-weight: 800;
}

.legal-layout {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 78px;
}

.legal-toc {
  position: sticky;
  top: 24px;
  border-left: 2px solid rgba(187, 204, 249, .9);
}

.legal-toc summary {
  padding: 0 0 14px 20px;
  color: #000;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.legal-toc summary::-webkit-details-marker {
  display: none;
}

.legal-toc summary::after {
  content: "+";
  margin-left: 8px;
  color: var(--pink-hover);
}

.legal-toc[open] summary::after {
  content: "−";
}

.legal-toc nav {
  max-height: calc(100vh - 120px);
  padding: 0 12px 0 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 100, 148, .35) transparent;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.legal-toc a {
  color: #4e6494;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--pink-hover);
  transform: translateX(2px);
}

.legal-document {
  min-width: 0;
  max-width: 830px;
}

.legal-intro {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(78, 100, 148, .22);
}

.legal-document section {
  scroll-margin-top: 30px;
}

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

.legal-document h2 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-document h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-document p,
.legal-document li,
.legal-document td,
.legal-document th {
  font-size: 16px;
  line-height: 1.72;
}

.legal-document p {
  margin: 0 0 18px;
}

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

.legal-document ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.legal-document li {
  padding-left: 6px;
}

.legal-document li + li {
  margin-top: 10px;
}

.legal-document li::marker {
  color: var(--pink-hover);
}

.legal-document a {
  color: #b91962;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-notice {
  margin: 30px 0 0;
  padding: 24px 26px;
  background: rgba(240, 245, 255, .72);
  border: 1px solid rgba(219, 39, 119, .5);
  border-radius: 8px;
  font-weight: 800;
}

.legal-caps {
  font-weight: 750;
}

.legal-table-wrap {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(78, 100, 148, .35);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(240, 245, 255, .52);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-right: 1px solid rgba(78, 100, 148, .25);
  border-bottom: 1px solid rgba(78, 100, 148, .25);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #263a67;
  background: rgba(230, 239, 255, .92);
  font-weight: 800;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.site-footer {
  position: relative;
  width: 100%;
  height: 520px;
  margin-top: 20px;
  overflow: visible;
  isolation: isolate;
}

.footer-blob-clip {
  position: absolute;
  z-index: 0;
  inset: -320px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-blob-clip::before,
.footer-blob {
  position: absolute;
  left: 50%;
  bottom: -760px;
  width: 1600px;
  height: 1200px;
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-blob-clip::before {
  content: "";
  z-index: 0;
  box-shadow:
    0 0 120px 60px var(--pink),
    0 0 250px 120px rgba(235, 0, 105, .5);
}

.footer-blob {
  z-index: 1;
  background: #000;
  box-shadow:
    0 0 70px 24px rgba(255, 0, 122, .82),
    0 0 170px 76px rgba(255, 0, 122, .38);
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding-top: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
}

.footer-link-columns {
  width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 120px;
  text-align: left;
  transform: translateX(60px);
}

.footer-column h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column a {
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: #ff69c6;
  transform: translateX(3px);
}

.footer-socials {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.footer-social-link:hover {
  background: var(--pink);
  border-color: #ff69c6;
  box-shadow: 0 4px 20px rgba(255, 0, 122, .65);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link--threads {
  font-size: 21px;
  font-weight: 600;
}

.footer-copyright {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.btn:focus-visible,
.logo-link:focus-visible,
.hamburger:focus-visible,
.footer-column a:focus-visible,
.footer-social-link:focus-visible,
.legal-document a:focus-visible {
  outline: 2px solid #ff69c6;
  outline-offset: 4px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .site-header {
    padding: var(--nav-top, 30px) 0 0;
    overflow-x: clip;
  }

  .nav-scale {
    width: var(--nav-width, 1228px);
    height: var(--nav-height, 113px);
    margin: 0 auto;
    transform: scale(var(--nav-scale, 1));
    transform-origin: top left;
  }

  .nav {
    width: 1228px;
    margin: 0;
  }
}

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

  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 46px;
  }

  .legal-hero h1 {
    font-size: 70px;
  }
}

@media (max-width: 900px) {
  .legal-main {
    width: min(760px, calc(100% - 40px));
    padding-top: 72px;
  }

  .legal-hero h1 {
    font-size: 62px;
  }

  .legal-layout {
    margin-top: 54px;
    display: block;
  }

  .legal-toc {
    position: static;
    margin-bottom: 46px;
    padding: 18px 20px;
    background: rgba(230, 239, 255, .7);
    border: 1px solid rgba(187, 204, 249, .9);
    border-radius: 8px;
  }

  .legal-toc summary {
    padding: 0;
  }

  .legal-toc nav {
    max-height: 320px;
    margin-top: 16px;
    padding: 0 8px 0 0;
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
  }

  .legal-document {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px 0;
  }

  .nav-scale {
    width: 100%;
    height: 64px;
  }

  .nav {
    width: 100%;
    height: 64px;
    padding: 0 20px;
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transform-origin: center;
    transition:
      transform .3s cubic-bezier(.22, 1, .36, 1),
      opacity .2s ease;
  }

  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.5);
  }

  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 101;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(230, 239, 255, .96);
    border: 1px solid var(--line);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 44px rgba(100, 130, 220, .18);
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition:
      opacity .25s ease,
      transform .3s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear .3s;
  }

  .mobile-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .mobile-nav .btn {
    width: 100%;
  }

  .legal-main {
    width: calc(100% - 32px);
    padding: 58px 0 90px;
  }

  .legal-eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .legal-hero h1 {
    font-size: 48px;
  }

  .legal-meta {
    margin-top: 20px;
    display: grid;
    gap: 6px;
    font-size: 12px;
  }

  .legal-layout {
    margin-top: 40px;
  }

  .legal-toc {
    margin-bottom: 38px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-document h2 {
    font-size: 25px;
  }

  .legal-document h3 {
    font-size: 18px;
  }

  .legal-document p,
  .legal-document li,
  .legal-document td,
  .legal-document th {
    font-size: 15px;
    line-height: 1.68;
  }

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

  .legal-intro {
    margin-bottom: 46px;
    padding-bottom: 38px;
  }

  .legal-notice {
    padding: 20px;
  }

  .legal-table th,
  .legal-table td {
    min-width: 150px;
    padding: 12px 13px;
  }

  .site-footer {
    height: 560px;
    margin-top: 0;
  }

  .footer-blob-clip::before,
  .footer-blob {
    bottom: -430px;
    width: 760px;
    height: 780px;
  }

  .footer-blob-clip::before {
    box-shadow:
      0 0 72px 36px var(--pink),
      0 0 150px 72px rgba(235, 0, 105, .5);
  }

  .footer-content {
    padding: 290px 24px 0;
  }

  .footer-link-columns {
    width: min(100%, 310px);
    gap: 48px;
    transform: translateX(20px);
  }

  .footer-column h2 {
    margin-bottom: 15px;
    font-size: 17px;
  }

  .footer-column a {
    font-size: 14px;
  }

  .footer-socials {
    margin-top: 34px;
  }

  .footer-copyright {
    margin-top: 28px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
