@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}

:root {
  --c-text: #333;
  --c-text-invert: #fff;
  --c-text-muted: #8e8e8e;
  --c-text-faint: rgb(51 51 51 / .4);
  --c-bg: #fff;
  --c-bg-soft: #f1f2f4;
  --c-bg-hover: #eae5ff;
  --c-brand: #6f53ea;
  --c-brand-hover: #9a6bff;
  --c-brand-pressed: #382490;
  --c-brand-soft: #eae5ff;
  --c-border: #f1f2f4;
  --c-border-accent: #e3d6ef;
  --c-error: #fbebec;
  --c-track: #e9e9e9;
  --c-fill: #333;
  --vh: 100vh;
}

@supports (height: 100dvh) { :root { --vh: 100dvh; } }

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  --tx: 0;
  --ty: 0;
  --s: 1;
}

html { min-height: 100%; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--c-text); background: var(--c-bg); }
img, svg { display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.logo { display: flex; align-items: center; gap: 4px; height: 20px; color: var(--c-text); font-size: 16px; font-weight: 700; letter-spacing: -.2px; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo svg { width: 18px; height: 18px; color: var(--c-brand); }
.logo b { color: var(--c-brand); font-weight: 700; }

.sc-full-height { min-height: var(--vh); }
.sc-full-step-width-big { margin-top: 40px; width: 100%; }
.sc-full-step-width { width: 100%; }
.sc-flex-between { display: flex; align-items: center; justify-content: space-between; }
.sc-flex-center { display: flex; align-items: center; justify-content: center; }
.sc-flex-col-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sc-caption { color: var(--c-text); font-size: 1.5rem; font-weight: 600; line-height: 2rem; text-align: center; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.pointer-events-none { pointer-events: none; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-22px { top: 22px; }
.right-16px { right: 16px; }
.bottom-12px { bottom: 12px; }
.top-50\% { top: 50%; }
.left-50\% { left: 50%; }
.bottom-\[-5px\] { bottom: -5px; }
.left-\[-16px\] { left: -16px; }
.right-\[-16px\] { right: -16px; }
.top-\[-48px\] { top: -48px; }
.z-0 { z-index: 0; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.z-4 { z-index: 4; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

.m-\[0_0_40px\] { margin: 0 0 40px; }
.mx-16px { margin-left: 16px; margin-right: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-\[-24px\] { margin-bottom: -24px; }
.mb-\[-64px\] { margin-bottom: -64px; }
.mb-4px { margin-bottom: 4px; }
.mb-14px { margin-bottom: 14px; }
.mb-16px { margin-bottom: 16px; }
.mb-24px { margin-bottom: 24px; }
.mb-32px { margin-bottom: 32px; }
.mb-40px { margin-bottom: 40px; }
.mt-16px { margin-top: 16px; }
.mt-36px { margin-top: 36px; }
.mt-40px { margin-top: 40px; }
.mt-auto { margin-top: auto; }

.h-full { height: 100%; }
.h-3px { height: 3px; }
.h-16px { height: 16px; }
.h-24px { height: 24px; }
.h-48px { height: 48px; }
.h-56px { height: 56px; }
.h-58px { height: 58px; }
.h-64px { height: 64px; }
.h-263px { height: 263px; }
.h-470px { height: 470px; }
.max-h-391px { max-height: 391px; }
.min-h-32px { min-height: 32px; }
.min-h-64px { min-height: 64px; }
.w-full { width: 100%; }
.w-100vw { width: 100vw; }
.w-16px { width: 16px; }
.w-24px { width: 24px; }
.w-160px { width: 160px; }
.w-167px { width: 167px; }
.w-228px { width: 228px; }
.w-50\% { width: 50%; }
.w-\[calc\(100vw-71px\)\] { width: calc(100vw - 71px); }
.max-w-142px { max-width: 142px; }
.max-w-360px { max-width: 360px; }
.max-w-428px { max-width: 428px; }

.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.grow-1 { flex-grow: 1; }
.items-center { align-items: center; }
.self-center { align-self: center; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4px { gap: 4px; }
.gap-8px { gap: 8px; }
.gap-24px { gap: 24px; }
.overflow-hidden { overflow: hidden; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }

.-translate-50\%,
.translate-x-full,
.hover\:scale-120,
.group-active\:scale-110,
.md\:group-hover\:scale-110 { transform: translate(var(--tx), var(--ty)) scale(var(--s)); }
.-translate-50\% { --tx: -50%; --ty: -50%; }
.translate-x-full { --tx: 100%; }
.hover\:scale-120:hover { --s: 1.2; }
.group:active .group-active\:scale-110 { --s: 1.1; }

.b-1px { border-width: 1px; }
.b-b-1px { border-bottom-width: 1px; }
.b-solid { border-style: solid; }
.b-b-solid { border-bottom-style: solid; }
.b-none { border-style: none; }
.b-primary { border-color: var(--c-border); }
.b-secondary { border-color: var(--c-border-accent); }
.b-b-primary { border-bottom-color: var(--c-border); }
.b-rd-8px { border-radius: 8px; }
.b-rd-12px { border-radius: 12px; }
.b-rd-16px { border-radius: 16px; }
.b-rd-80px { border-radius: 80px; }
.b-rd-full { border-radius: 9999px; }
.b-rd-\[0_0_16px_16px\] { border-radius: 0 0 16px 16px; }
.b-rd-\[16px_16px_0_0\] { border-radius: 16px 16px 0 0; }

.bg-black { background-color: #000; }
.bg-none { background: none; }
.bg-primary { background-color: var(--c-bg); }
.bg-tertiary { background-color: var(--c-bg-soft); }
.bg-button-primary { background-color: var(--c-brand); }
.bg-button-secondary { background-color: var(--c-brand-soft); }
.bg-progress-bar-default { background-color: var(--c-track); }
.bg-progress-bar-filled { background-color: var(--c-fill); }
.bg-error { background-color: var(--c-error); }
.active\:bg-button-pressed:active { background-color: var(--c-brand-pressed); }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-left { object-position: left center; }
.object-\[center_top\] { object-position: center top; }

.p-12px { padding: 12px; }
.p-16px { padding: 16px; }
.p-\[0_16px\] { padding: 0 16px; }
.p-\[8px_16px\] { padding: 8px 16px; }
.p-\[12px_64px\] { padding: 12px 64px; }
.p-\[18px_12px\] { padding: 18px 12px; }
.px-18px { padding-left: 18px; padding-right: 18px; }
.py-12px { padding-top: 12px; padding-bottom: 12px; }
.pb-40px { padding-bottom: 40px; }
.pb-100px { padding-bottom: 100px; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-md { font-size: 16px; line-height: 24px; }
.text-lg { font-size: 18px; line-height: 26px; }
.lh-23px { line-height: 23px; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-700 { font-weight: 700; }
.font-italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-\.96px { letter-spacing: .96px; }
.decoration-none { text-decoration: none; }
.text-primary { color: var(--c-text); }
.text-secondary { color: var(--c-text-invert); }
.text-tertiary { color: var(--c-text-muted); }
.text-faint { color: var(--c-text-faint); }

.opacity-0 { opacity: 0; }
.transition-all { transition: all .3s cubic-bezier(.4, 0, .2, 1); }
.transition-opacity { transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.transition-transform { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, .2, 1); }

@media (hover: hover) and (pointer: fine) {
  .\@hover\:b-hover:hover { border-color: var(--c-brand); }
  .\@hover\:bg-button-hover:hover { background-color: var(--c-brand-hover); }
  .\@hover\:bg-secondary:hover { background-color: var(--c-bg-hover); }
  .\@hover\:opacity-60:hover { opacity: .6; }
}

@media (min-width: 540px) {
  .sc-full-step-width-big { margin-top: 64px; max-width: 432px; }
  .sc-full-step-width { max-width: 328px; }
  .md\:bottom-0 { bottom: 0; }
  .md\:left-0 { left: 0; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:mt-60px { margin-top: 60px; }
  .md\:mt-63px { margin-top: 63px; }
  .md\:mt-64px { margin-top: 64px; }
  .md\:max-h-546px { max-height: 546px; }
  .md\:max-w-100\% { max-width: 100%; }
  .md\:max-w-432px { max-width: 432px; }
  .md\:w-390px { width: 390px; }
  .md\:w-400px { width: 400px; }
  .md\:w-full { width: 100%; }
  .md\:gap-16px { gap: 16px; }
  .md\:object-top { object-position: center top; }
  .md\:text-lg { font-size: 18px; line-height: 26px; }
  .group:hover .md\:group-hover\:scale-110 { --s: 1.1; }
  .group:hover .md\:group-hover\:bg-button-hover { background-color: var(--c-brand-hover); }
}

.burger-open .burger-overlay { opacity: .5; pointer-events: auto; }
.burger-open .burger-panel { --tx: 0; }

.animated-shake { animation: shake 1s ease-in-out; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
