/* Brand OS: policy pages (terms, privacy, refunds, ...). Same type, colour and motion as the home page. */
@font-face {
  font-family: BosSans;
  src: url(/assets/fonts/InterTight-Variable.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: BosSans;
  src: url(/assets/fonts/InterTight-VariableItalic.woff2) format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --base-padding-x: clamp(20px, 5vw, 96px);
  --ink: #0a0f24;
  --paper: #f0f1fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body.lg {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: BosSans, sans-serif;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lg a {
  color: inherit;
}

#lg-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6078ea, #17ead9, #b69cff);
  transform: scaleX(var(--read, 0));
  transform-origin: 0 50%;
}
#lg-top {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 52;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 34px) var(--base-padding-x);
  pointer-events: none;
}
#lg-logo {
  pointer-events: auto;
  display: block;
}
#lg-logo img {
  display: block;
  height: clamp(22px, 1.7vw, 30px);
  width: auto;
}
#lg-top.away #lg-logo {
  opacity: 0;
  transition: opacity 0.3s;
}
#lg-logo {
  transition: opacity 0.3s;
}

.lg-hero {
  position: relative;
  padding: clamp(150px, 15vw, 280px) var(--base-padding-x) clamp(48px, 5vw, 96px);
  isolation: isolate;
}
.lg-aura {
  position: absolute;
  inset: -10% 0 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 12% 20%, rgba(96, 120, 234, 0.28), transparent 70%),
    radial-gradient(34% 50% at 88% 8%, rgba(23, 234, 217, 0.2), transparent 70%),
    radial-gradient(30% 44% at 62% 70%, rgba(154, 134, 255, 0.16), transparent 70%);
  animation: lg-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lg-drift {
  to {
    transform: translate(3%, -2%) rotate(4deg) scale(1.06);
  }
}
.lg-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0 0 1.6em;
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0.65;
}
.lg-eyebrow a {
  text-decoration: none;
}
.lg-eyebrow a:hover {
  text-decoration: underline;
}
.lg-eyebrow i {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: linear-gradient(135deg, #6078ea, #17ead9);
}
.lg-hero h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(46px, 8.4vw, 168px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  overflow: hidden;
  padding-bottom: 0.14em;
}
.lg-w {
  display: inline-block;
  transform: translateY(118%) rotate(5deg);
  transform-origin: 0 100%;
  animation: lg-rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.08s);
}
.lg-w:last-child {
  background: linear-gradient(100deg, #4a5fd6, #12b9ad 55%, #7c66e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes lg-rise {
  to {
    transform: none;
  }
}
.lg-meta,
.lg-intro {
  opacity: 0;
  animation: lg-fade 0.9s 0.55s forwards;
}
.lg-meta {
  margin: 2.2em 0 0;
  font-size: 0.9em;
  --o: 0.6;
}
.lg-intro {
  margin: 0.9em 0 0;
  max-width: 34em;
  font-size: clamp(19px, 1.7vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  --o: 0.86;
  animation-delay: 0.65s;
}
@keyframes lg-fade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: var(--o, 1);
    transform: none;
  }
}

.lg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(28px, 5vw, 110px);
  padding: clamp(36px, 4vw, 80px) var(--base-padding-x) clamp(60px, 6vw, 120px);
  border-top: 1px solid rgba(10, 15, 36, 0.1);
}
.lg-toc {
  position: sticky;
  top: 120px;
  align-self: start;
  max-height: calc(100vh - 150px);
  overflow: auto;
  font-size: 0.86em;
  line-height: 1.35;
}
.lg-toc p {
  margin: 0 0 1.1em;
  font-weight: 500;
  opacity: 0.5;
}
.lg-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(10, 15, 36, 0.12);
}
.lg-toc a {
  display: block;
  padding: 0.42em 0 0.42em 1.1em;
  margin-left: -1px;
  border-left: 2px solid transparent;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s, transform 0.3s;
}
.lg-toc a:hover {
  opacity: 1;
  transform: translateX(3px);
}
.lg-toc a.on {
  opacity: 1;
  font-weight: 500;
  border-image: linear-gradient(180deg, #6078ea, #17ead9) 1;
}
.lg-body {
  max-width: 46em;
}
.lg-sec {
  padding: 0 0 clamp(30px, 3vw, 54px);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lg-sec.in {
  opacity: 1;
  transform: none;
}
.lg-sec + .lg-sec {
  padding-top: clamp(30px, 3vw, 54px);
  border-top: 1px solid rgba(10, 15, 36, 0.1);
}
.lg-sec h2 {
  margin: 0 0 0.7em;
  font-size: clamp(24px, 2.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.lg-sec p {
  margin: 0 0 1em;
  opacity: 0.82;
}
.lg-sec ul {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.lg-sec li {
  position: relative;
  padding: 0.3em 0 0.3em 1.5em;
  opacity: 0.82;
}
.lg-sec li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.95em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: linear-gradient(135deg, #6078ea, #17ead9);
}
.lg-sec strong {
  font-weight: 600;
}
.lg-sec code {
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgba(10, 15, 36, 0.07);
  font-size: 0.9em;
}
.lg-sec a {
  text-decoration: none;
  background: linear-gradient(90deg, #6078ea, #17ead9) 0 100% / 100% 1.5px no-repeat;
  transition: background-size 0.3s;
}
.lg-sec a:hover {
  background-size: 100% 100%;
  color: #fff;
}

.lg-more {
  padding: 0 var(--base-padding-x) clamp(64px, 7vw, 140px);
}
.lg-more p {
  margin: 0 0 1em;
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0.5;
}
.lg-more div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lg-chip {
  padding: 0.7em 1.2em;
  border-radius: 999px;
  border: 1px solid rgba(10, 15, 36, 0.16);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92em;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lg-chip:hover,
.lg-chip.on {
  background: #0a0f24;
  border-color: #0a0f24;
  color: #fff !important;
}

@media (max-width: 860px) {
  .lg-grid {
    grid-template-columns: 1fr;
  }
  .lg-toc {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lg-w,
  .lg-meta,
  .lg-intro,
  .lg-aura {
    animation-duration: 0.01s;
    animation-delay: 0s;
  }
  .lg-sec {
    opacity: 1;
    transform: none;
  }
}
