:root {
  --ink: #07080a;
  --paper: #ffffff;
  --shape: #d9d9d9;
  --yellow: #fdfd3b;
  --mid: #a3a3a3;
  --btn: #07080a;
  --btn-text: #ffffff;
  --footer: #07080a;
  --footer-text: #ffffff;
  --font: "Onest", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #a3a3a3;
  --shape: #fdfd3b;
  --btn: #fdfd3b;
  --btn-text: #07080a;
  --footer: #ffffff;
  --footer-text: #07080a;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

.viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
}
.board {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1200px;
  height: 3336px;
  transform-origin: top center;
  background: var(--paper);
  color: var(--ink);
}

.pin {
  position: absolute;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px);
}
.pin.h, .logo, .bld, .about-title, #process, .shape, .footer { height: calc(var(--h) * 1px); }

.copy {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  white-space: pre-line;
}

.header {
  z-index: 5;
  display: flex;
  align-items: center;
  height: 40px;
}
.tg {
  width: 40px;
  height: 40px;
  display: block;
  flex: none;
}
.tg-icon { display: none; width: 100%; height: 100%; }
.tg-desk-light { display: block; }
html[data-theme="dark"] .tg-desk-light { display: none; }
html[data-theme="dark"] .tg-desk-dark { display: block; }
.nav {
  position: absolute;
  left: 283px;
  top: 12px;
  width: 555px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}
.nav a:hover { opacity: 0.55; }
.burger { display: none; }

.switch {
  position: absolute;
  right: 0;
  top: 7.5px;
  width: 65px;
  height: 25px;
  border-radius: 20px;
  border: 1px solid var(--ink);
  background: transparent;
}
.switch .knob {
  position: absolute;
  top: 2px;
  left: 2.5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s ease;
}
html[data-theme="dark"] .switch .knob { transform: translateX(39px); }
html[data-theme="dark"] .switch {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2.5px rgba(163, 163, 163, 0.55);
}

.logo { color: var(--ink); z-index: 3; }
.logo img, .logo-dark, .title img, .title svg, .num img { width: 100%; height: 100%; }
.logo-dark { display: none; }
.bld { z-index: 1; pointer-events: none; }
.bld img { width: 100%; height: 100%; object-fit: contain; }

.lead {
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  z-index: 3;
}

.cta, .send {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 20px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 16px;
  position: relative;
  z-index: 3;
}
html[data-theme="dark"] .nav,
html[data-theme="dark"] .story .copy,
html[data-theme="dark"] .story .step,
html[data-theme="dark"] .label {
  color: #fff;
}
html[data-theme="dark"] .menu-top img { filter: invert(1); }
.burger-light { display: block; }
.burger-dark { display: none; }
html[data-theme="dark"] .burger-light { display: none; }
html[data-theme="dark"] .burger-dark { display: block; }
html[data-theme="dark"] .logo img { display: none; }
html[data-theme="dark"] .logo-dark.desk { display: block; }
html[data-theme="dark"] .cta,
html[data-theme="dark"] .send {
  background: #a3a3a3;
  color: #fff;
  box-shadow: inset 0 0 0 5px #fdfd3b;
}
html[data-theme="dark"] .form-block h2 { color: #fdfd3b; }
html[data-theme="dark"] .faq-item {
  background: #a3a3a3;
  color: #07080a;
  box-shadow: inset 0 0 0 3px #fff;
}
html[data-theme="dark"] .faq-item button,
html[data-theme="dark"] .faq-item p { color: #07080a; }
html[data-theme="dark"] .plus::before,
html[data-theme="dark"] .plus::after { background: #fdfd3b; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select {
  background-color: #a3a3a3;
  border-color: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}
.field { position: relative; }
.field .chevron {
  position: absolute;
  right: 13.39px;
  bottom: 11.88px;
  width: 8.09px;
  height: 8.14px;
  pointer-events: none;
  transform: rotate(-45deg);
  transform-origin: 0 0;
}
.field .chevron-dark { display: none; right: 21.89px; }
html[data-theme="dark"] .field .chevron:not(.chevron-dark) { display: none; }
html[data-theme="dark"] .field .chevron-dark { display: block; }
html[data-theme="dark"] .menu { color: #fff; }
html[data-theme="dark"] .menu-close::before,
html[data-theme="dark"] .menu-close::after { background: #fff; }
html[data-theme="dark"] .switch .knob { background: #fff; }
.cta .alt { display: none; }
.cta:hover .def, .cta:focus-visible .def { display: none; }
.cta:hover .alt, .cta:focus-visible .alt { display: block; }
.cta:hover, .send:hover { filter: brightness(1.08); }

.story { z-index: auto; }
.shape { z-index: 0; pointer-events: none; overflow: visible; }
.shape-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.shape-svg path { fill: #a3a3a3; }
.shape-desk-dark {
  display: none;
  position: absolute;
  left: -8.07275390625px;
  top: 0.24609375px;
  width: 1168.669921875px;
  height: 997.2578125px;
  overflow: visible;
}
html[data-theme="dark"] .shape-svg { display: none; }
html[data-theme="dark"] .shape-desk-dark { display: block; }
.story .copy, .story .title, .story .step, .story .num { z-index: 3; color: var(--ink); }
.step .num {
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 30px;
  color: #07080a;
}
html[data-theme="dark"] .step .num { color: #fff; }
.step .copy { margin: 0 0 0 50px; }
.s6 .num { top: 34px; }
.label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  z-index: 3;
}
.about-title, #process, .faq-title { color: #07080a; }
html[data-theme="dark"] .about-title,
html[data-theme="dark"] #process,
html[data-theme="dark"] .faq-title { color: #fdfd3b; }
.about-title svg, #process .process-lg, .faq-title { width: 100%; height: 100%; display: block; }
.process-lg { width: 100%; height: 28px; }
#process .process-sm { display: none; width: min(100%, 280px); height: auto; }

.faq { z-index: 4; }
.faq-title { display: block; margin: 0 auto 30px; width: 180px; height: 150px; color: var(--ink); }
.faq-title svg { width: 100%; height: 100%; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #07080a;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  min-height: 40px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  text-align: left;
  font-size: 16px;
}
.plus {
  width: 8px;
  height: 8px;
  position: relative;
  flex: none;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 0;
  top: 3.5px;
  width: 8px;
  height: 1px;
}
.plus::after { transform: rotate(90deg); }
.faq-item.open .plus::after { opacity: 0; }
.faq-answer { height: 0; overflow: hidden; }
.faq-answer > div { padding-bottom: 16px; }
.faq-item p {
  margin: 0;
  padding: 2px 18px 0;
  font-size: 16px;
  line-height: 1.35;
}
.faq-item p + p { margin-top: 8px; }

.form-block, .footer { transition: top 180ms ease-out; }
html.is-resizing .form-block,
html.is-resizing .footer { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .form-block, .footer { transition: none; }
}
.form-block h2 {
  margin: 0 0 30px;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  line-height: 1;
}
.fields { display: flex; flex-direction: column; gap: 5px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field span { font-size: 16px; }
.field input, .field select {
  height: 40px;
  border-radius: 20px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0 18px;
  outline: none;
}
.field select { appearance: none; }
.field input:focus, .field select:focus { box-shadow: 0 0 0 1px var(--ink); }
.send { width: 100%; margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.send:disabled { opacity: 0.65; }
.send .spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form-block.loading .send .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status {
  display: none;
  margin: 16px 0 0;
  text-align: center;
  font-size: 16px;
}
.form-block.sent .fields,
.form-block.sent .send { display: none; }
.form-block.sent .form-status,
.form-block.error .form-status { display: block; }

.footer { z-index: 4; color: var(--footer-text); }
.folders { position: absolute; inset: 0; color: var(--footer); }
.folders img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
}
.folders .f1 { top: 0; z-index: 1; }
.folders .f2 { top: 40px; z-index: 2; }
.folders .f3 { top: 81px; z-index: 3; }
.folders .f4 { top: 110px; z-index: 4; }
.folders .f5 { top: 168px; z-index: 5; }
.folders .df1 { top: 0; z-index: 1; }
.folders .df2 { top: 40.21728515625px; z-index: 2; }
.folders .df3 { top: 80.94677734375px; z-index: 3; }
.folders .df4 { top: 110.279296875px; z-index: 4; }
.folders .df5 { top: 163.584716796875px; z-index: 5; }
.folders .mob, .folders .darkf { display: none; }
html[data-theme="dark"] .folders .desk:not(.darkf) { display: none; }
html[data-theme="dark"] .folders .darkf.desk { display: block; }
html[data-theme="dark"] .footer-logo { top: 16.21728515625px; }
.footer-logo {
  position: absolute;
  left: 505px;
  top: 20px;
  width: 190px;
  height: 60px;
  z-index: 6;
  color: var(--footer-text);
}
.footer-logo img { width: 100%; height: 100%; }
.footer a, .footer p {
  position: absolute;
  z-index: 6;
  margin: 0;
  font-size: 16px;
  line-height: 1;
  color: var(--footer-text);
}
.footer a:hover { opacity: 0.7; }
.hire { width: 324px; white-space: pre-line; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  display: none;
  flex-direction: column;
  padding: 20px 16px 32px;
}
.menu.open { display: flex; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu nav { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; font-size: 24px; font-weight: 500; }
.menu-social { margin-top: auto; font-size: 16px; display: flex; gap: 24px; }
.menu-close { width: 40px; height: 40px; position: relative; }
.menu-close::before, .menu-close::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 19px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(7, 8, 10, 0.45);
}
.modal.open { display: flex; }
.modal .policy {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  overflow: auto;
  background: #fff;
  color: #07080a;
  border-radius: 20px;
  padding: 0;
  line-height: 1.45;
}
.modal-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 16px 16px 12px;
  background: #fff;
  box-shadow: 0 1px 0 #fff;
}
.modal .policy-body { padding: 0 24px 32px; }
.modal-close {
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #07080a;
  color: #fff;
  font-size: 14px;
}

body.policy-page { line-height: 1.45; background: #fff; color: #07080a; }
.policy { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }
.policy-back { display: inline-block; margin-bottom: 28px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.policy h1, .policy h2, .policy h3, .policy p, .policy li { overflow-wrap: break-word; }
.policy h1 { margin: 0 0 12px; font-size: 28px; font-weight: 500; line-height: 1.2; }
@media (max-width: 520px) {
  .policy h1 { font-size: 24px; }
}
.policy .edition { margin: 0 0 24px; font-size: 15px; }
.policy h2 { margin: 32px 0 12px; font-size: 20px; font-weight: 500; line-height: 1.25; }
.policy h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 500; }
.policy p, .policy li { font-size: 16px; line-height: 1.45; }
.policy p { margin: 0 0 12px; }
.policy ul { margin: 0 0 12px; padding-left: 22px; }
.policy li { margin: 0 0 6px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }


.only-mobile { display: none; }
.shape-mobile { display: none; width: 100%; height: 100%; }
.shape-mobile-dark { display: none; width: 100%; height: 100%; }
.fndt-bg {
  display: none;
  height: calc(var(--h) * 1px);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.fndt-bg svg {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--h) * 1px);
  height: calc(var(--w) * 1px);
  transform-origin: 0 0;
  transform: translateX(calc(var(--w) * 1px)) rotate(90deg);
}
.fndt-bg svg.fndt-group {
  width: 100%;
  height: 100%;
  transform: none;
}
.fndt-front { color: #07080a; z-index: 1; }
.fndt-back { color: #fdfd3b; z-index: 0; }

@media (max-width: 759px) {
  .board { background: var(--paper); }
  .only-mobile { display: inline; }
  .only-desktop { display: none; }
  .nav { display: none; }
  .story { overflow: visible; }
  .shape-svg, .shape-desk-dark,
  html[data-theme="dark"] .shape-desk-dark { display: none; }
  .shape-mobile { display: block; }
  .shape-mobile-dark { display: none; }
  .shape-mobile path { fill: #07080a; }
  html[data-theme="dark"] .shape-mobile { display: none; }
  html[data-theme="dark"] .shape-mobile-dark { display: block; width: 100%; height: 100%; }

  .header { height: 20px; }
  .tg { width: 20px; height: 20px; }
  .tg-desk, html[data-theme="dark"] .tg-desk { display: none; }
  .tg-mob-light { display: block; }
  html[data-theme="dark"] .tg-mob-light { display: none; }
  html[data-theme="dark"] .tg-mob-dark { display: block; }
  .switch {
    right: auto;
    left: 123px;
    top: 0;
    width: 50px;
    height: 20px;
  }
  .switch .knob { width: 15px; height: 15px; top: 2px; left: 2.5px; }
  html[data-theme="dark"] .switch { border-color: #fdfd3b; }
  html[data-theme="dark"] .switch .knob { transform: translateX(30px); background: #fff; }
  .burger svg { width: 50px; height: 14px; }
  html[data-theme="dark"] .logo img { display: none; }
  html[data-theme="dark"] .logo-dark:not(.desk) { display: block; }
  html[data-theme="dark"] .logo-dark.desk { display: none; }
  .burger {
    display: grid;
    place-items: center;
    position: absolute;
    right: 0;
    top: 3px;
    width: 50px;
    height: 14px;
    margin: 0;
  }

  .lead, .copy, .label, .cta, .send,
  .faq-item button, .faq-item p, .field span, .field input, .field select,
  .footer a, .footer p { font-size: 12px; }
  .lead, .copy, .label { line-height: 1; }
  .team, .label, .s5 .copy, .form-block h2, .hire { text-align: center; }
  .cta, .send { height: 25px; border-radius: 13px; }
  html[data-theme="dark"] .cta,
  html[data-theme="dark"] .send { box-shadow: inset 0 0 0 3px #fdfd3b; }

  .step { width: 0; height: 0; overflow: visible; }
  .step .num, .step .copy {
    position: absolute;
    margin: 0;
    left: calc(var(--x) * 1px);
    top: calc(var(--y) * 1px);
    width: calc(var(--w) * 1px);
  }
  .step .num { width: 20px; height: 30px; max-width: none; }
  .fndt-front { display: block; }
  .fndt-front .fndt-gray { display: none; }
  html[data-theme="dark"] .fndt-back { display: block; }
  html[data-theme="dark"] .fndt-front { display: none; }
  .s1 .num, .s4 .num, .s6 .num { color: #fff; }
  #process, .story .step .copy { color: #fff; }
  #process .process-lg { display: none; }
  #process .process-sm { display: block; width: 100%; height: 20px; }
  html[data-theme="dark"] #process { color: #fff; }
  html[data-theme="dark"] .lead,
  html[data-theme="dark"] .footer,
  html[data-theme="dark"] .footer a,
  html[data-theme="dark"] .footer p { color: #fff; }
  html[data-theme="dark"] .folders .darkf.desk { display: none; }
  .folders .desk { display: none; }
  .folders .mob:not(.darkf) { display: block; }
  html[data-theme="dark"] .folders .mob:not(.darkf) { display: none; }
  html[data-theme="dark"] .folders .darkf.mob { display: block; }
  html[data-theme="dark"] .footer-logo { top: 2.28125px; }
  .folders .mf1, .folders .mdf1 { top: 0; z-index: 1; }
  .folders .mf2 { top: 10.82px; z-index: 2; }
  .folders .mf3 { top: 21.78px; z-index: 3; }
  .folders .mf4 { top: 29.67px; z-index: 4; }
  .folders .mf5 { top: 45.2px; z-index: 5; }
  .folders .mdf2 { top: 10.720703125px; z-index: 2; }
  .folders .mdf3 { top: 21.578125px; z-index: 3; }
  .folders .mdf4 { top: 29.3984375px; z-index: 4; }
  .folders .mdf5 { top: 43.607421875px; z-index: 5; }

  .faq-title { width: 180px; height: 150px; margin: 0 auto 20px; }
  .faq-list { gap: 3px; }
  .faq-item { border-radius: 13px; }
  .faq-item button { min-height: 25px; padding: 6px 12px; }
  .faq-item p { padding: 2px 12px 0; }
  .faq-item p + p { margin-top: 6px; }
  .faq-answer > div { padding-bottom: 10px; }
  .form-block h2 { font-size: 24px; margin: 0 0 20px; }
  .fields, .field { gap: 5px; }
  .field input, .field select, .send { height: 25px; }
  .field .chevron { right: 13.39px; bottom: 4.38px; width: 8.09px; height: 8.14px; }
  html[data-theme="dark"] .field .chevron-dark {
    right: 8.46px;
    bottom: 8.92px;
    width: 3.57px;
    height: 3.59px;
    transform: matrix(0.62469506, -0.78086877, 0.62469506, 0.78086877, 0, 0);
  }
  .send { margin-top: 20px; }

  .footer-logo { left: 130px; top: 3px; width: 60px; height: 17px; }
  .yt { left: 225px !important; top: 16px !important; right: auto !important; }
  .mail { left: 39px !important; top: 27px !important; }
  .tg-link { left: 223px !important; top: 36px !important; right: auto !important; }
  .hire { left: 40px !important; top: 84px !important; width: 241px; }
  .privacy { left: 10px !important; top: 118px !important; }
  .dev { left: 211px !important; top: 118px !important; right: auto !important; }
}
