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

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-ext.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --r-card: 24px;
  --r-field: 16px;
  --r-sheet: 30px;
  --gutter: 16px;
  --top: calc(max(env(safe-area-inset-top), var(--tg-safe-area-inset-top, 0px)) + var(--tg-content-safe-area-inset-top, 0px));
  --bottom: max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom, 0px));
  --dock-h: 60px;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-glow: rgba(255, 255, 255, .05);
  --bg-glow-2: transparent;
  --dots: transparent;
  --card: #1c1c1e;
  --card-2: #2c2c2e;
  --card-hi: #2c2c2e;
  --fill: rgba(255, 255, 255, .07);
  --fill-2: rgba(255, 255, 255, .12);
  --line: rgba(255, 255, 255, .06);
  --text: #f8f8fa;
  --text-2: #d1d1d6;
  --hint: #8e8e93;
  --accent: #f8f8fa;
  --accent-2: #f8f8fa;
  --accent-soft: rgba(255, 255, 255, .10);
  --on-accent: #000000;
  --btn-2: #2c2c2e;
  --brand: #f8f8fa;
  --success: #34c759;
  --danger: #ff453a;
  --warn: #ff9f0a;
  --glass: rgba(28, 28, 30, .72);
  --glass-solid: rgba(28, 28, 30, .94);
  --glass-line: rgba(255, 255, 255, .08);
  --glass-hi: rgba(255, 255, 255, .10);
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .28);
  --scrim: rgba(0, 0, 0, .6);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f2f7;
  --bg-glow: transparent;
  --bg-glow-2: transparent;
  --dots: transparent;
  --card: #ffffff;
  --card-2: #f2f2f7;
  --card-hi: #ffffff;
  --fill: rgba(120, 120, 128, .12);
  --fill-2: rgba(120, 120, 128, .18);
  --line: rgba(0, 0, 0, .06);
  --text: #000000;
  --text-2: #3a3a3c;
  --hint: #8e8e93;
  --accent: #000000;
  --accent-2: #000000;
  --accent-soft: rgba(0, 0, 0, .06);
  --on-accent: #ffffff;
  --btn-2: rgba(120, 120, 128, .16);
  --brand: #000000;
  --glass: rgba(242, 242, 247, .72);
  --glass-solid: rgba(242, 242, 247, .94);
  --glass-line: rgba(255, 255, 255, .65);
  --glass-hi: rgba(255, 255, 255, .75);
  --shadow: 0 8px 30px rgba(0, 0, 0, .12);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .08);
  --scrim: rgba(0, 0, 0, .3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: var(--tg-viewport-stable-height, 100vh);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.42;
  background: var(--bg);
  color: var(--text);
  touch-action: manipulation;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
  user-select: none;
  -webkit-user-select: none;
}

input::placeholder {
  color: var(--hint);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

svg.i.i-fill {
  fill: currentColor;
  stroke: none;
}

svg.ti {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

svg.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.hint {
  color: var(--hint);
  font-size: 14px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 55% at 50% -12%, var(--bg-glow), transparent 62%),
    radial-gradient(70% 40% at 108% 4%, var(--bg-glow-2), transparent 70%),
    var(--bg);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(#000, transparent 48%);
  mask-image: linear-gradient(#000, transparent 48%);
}

.screens {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(var(--top) + 12px) var(--gutter) calc(var(--bottom) + var(--dock-h) + 36px);
}

body.no-dock .screens {
  padding-bottom: calc(var(--bottom) + 120px);
}

.page[hidden] {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes push {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page.is-pushed {
  animation: push .36s var(--ease-out) both;
}

.page.is-fresh .s {
  animation: rise .46s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}

.s + .s {
  margin-top: 26px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
}

.snow {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.snow.is-on {
  opacity: .85;
}

:root[data-theme="light"] .snow {
  mix-blend-mode: difference;
}
