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

:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #181818;
  --glass: rgba(26, 26, 26, .47);
  --edge: rgba(255, 255, 255, .10);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .72);
  --text-3: rgba(255, 255, 255, .46);
  --blue: #4fa8e8;
  --violet: #7a5af0;
  --purple: #a23ce6;
  --pink: #e0609a;
  --orange: #f2a23a;
  --teal: #3fb6b0;
  --gutter: 24px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
}
@media (max-width: 600px) { :root { --gutter: 16px; } }

html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.sq-edge, .sq-focus { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 5; }
.sq-edge path { fill: none; stroke: var(--edge); stroke-width: 1; }
a[data-sq], button[data-sq] { position: relative; }
.sq-focus { opacity: 0; }
.sq-focus path { fill: none; stroke: var(--blue); stroke-width: 2; }
:focus-visible > .sq-focus { opacity: 1; }
.sq-shapes [data-sq]:focus-visible { outline: none; }

.topbar {
  position: fixed;
  z-index: 50;
  top: calc(10px + env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  max-width: 1280px;
  margin-inline: auto;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 21px;
  --sq: 21;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  padding: 5px 6px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .8px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 12px;
  --sq: 12;
}
.wordmark small { font-size: .76em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-2);
  padding: 11px 13px;
  border-radius: 12px;
  --sq: 12;
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .07); color: var(--text); }
.nav .nav-buy { margin-left: 6px; background: #fff; color: #121212; font-weight: 600; }
.nav .nav-buy:hover { background: #e8e8e8; color: #121212; }
@media (max-width: 480px) {
  .wordmark { font-size: 27px; padding-inline: 4px; }
  .nav a { padding-inline: 11px; }
  .nav .nav-hide-sm { display: none; }
}

.section-head { max-width: 720px; margin: 0 auto clamp(56px, 8vw, 104px); text-align: center; }
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-head p { margin: 16px auto 0; max-width: 560px; color: var(--text-2); text-wrap: balance; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c, var(--text-3));
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

.text-page {
  --max: 760px;
  padding: calc(68px + env(safe-area-inset-top) + clamp(56px, 8vw, 96px)) 0 clamp(96px, 12vw, 150px);
}
.section-head h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.6vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.legal-list { display: grid; gap: 14px; }
.legal-card {
  position: relative;
  padding: 26px 28px;
  background: var(--surface);
  border-radius: 28px;
  --sq: 28;
}
@media (max-width: 600px) { .legal-card { padding: 22px; } }
.legal-card h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.legal-card h3 { margin: 22px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.legal-card p, .legal-card address, .legal-card ul { margin: 10px 0 0; font-size: 16px; font-style: normal; color: var(--text-2); text-wrap: pretty; }
.legal-card ul { padding-left: 20px; }
.legal-card li + li { margin-top: 4px; }
.legal-card a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

.site-footer {
  position: relative;
  padding: 60px 0 calc(28px + env(safe-area-inset-bottom));
  background: #171717;
  border-radius: 44px 44px 0 0;
  --sq: 44 44 0 0;
}
@media (max-width: 600px) { .site-footer { border-radius: 32px 32px 0 0; --sq: 32 32 0 0; } }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand .wordmark { padding: 5px 6px; margin: -5px -6px; font-size: 24px; }
.footer-brand p { max-width: 300px; margin: 14px 0 0; font-size: 14px; color: var(--text-3); }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(36px, 7vw, 88px); }
.footer-cols h4 {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-cols a { display: block; padding: 4px 0; font-size: 15px; color: var(--text-2); transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12.5px;
  color: var(--text-3);
}

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
