@font-face {
  font-family: ProductSans;
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/ProductSansRegular.ttf);
}
@font-face {
  font-family: ProductSans;
  font-display: swap;
  font-style: bold;
  font-weight: 600;
  src: url(/fonts/ProductSansBold.ttf);
}

:root {
  --bg-color: #010715;
  --line-color: #103d60;
  --def-transition: .2s ease;
}

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

html {
  background: #020e33;
}

body {
  font-family: ProductSans, -apple-system, system-ui, sans-serif;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  background: #111c40 linear-gradient(180deg, #020e33 0%, var(--bg-color) 25%, var(--bg-color) 84%, #111c40 100%);
  background-size: 100% calc(100% - 200px);
  color: #fff;
  margin: 0;
}

.bg-gradient {
  --fill-colors: transparent;
  --border-colors: transparent;
  border: 0px solid transparent;
  background:
    linear-gradient(180deg, var(--fill-colors)) padding-box,
    linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
    linear-gradient(180deg, var(--border-colors)) border-box,
    linear-gradient(180deg, var(--fill-colors)) border-box;
}

a {
  color: #68beff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.arrow-right {
  white-space: nowrap;
}
a.arrow-right:after {
  content: '';
  display: inline-block;
  vertical-align: top;
  width: 19px;
  height: 27px;
  background: url('data:image/svg+xml,%3Csvg%20width%3D%2219px%22%20height%3D%2227px%22%20viewBox%3D%220%200%2019%2027%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M4.2%2019.7%209.2%2015.2%204.2%2010.7%22%20stroke%3D%22%2368BEFF%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 40px;
  flex-grow: 1;
}

.btn {
  font-size: 17px;
  font-weight: bold;
  line-height: 20px;
  padding: 16px 24px;
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  text-decoration: none;
  cursor: pointer;

  border-width: 1px;
  --fill-colors: rgba(31, 89, 198, .26), rgba(31, 89, 198, .26);
  --border-colors: rgba(78, 173, 252, .61) 0%, #1F59C6 53%, #20397F 100%;
  color: #fff;
}
.btn::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  opacity: 0;
  transition: opacity var(--def-transition);
  background: #fff;
}
.btn:hover::before {
  opacity: 0.06;
}
.btn:hover,
.btn:focus {
  text-decoration: none;
}
.btn-right {
  --fill-colors: rgba(159, 103, 255, .22), rgba(197, 66, 255, .35);
  --border-colors: rgba(171, 78, 252, .82) 0%, rgba(108, 31, 198, .24) 53%, #7C45C2 100%;
}

.header {
  position: relative;
  padding: 16px 20px;
  display: flex;
  flex-wrap: nowrap;
  min-height: 86px;
}
.header-logo {
  display: inline-block;
  /*position: absolute;*/
  width: 22px;
  height: 32px;
  background: url(/img/CocoonEggLogo.webp) no-repeat top left;
  background-size: auto 100%;
  margin: 10px 20px 10px 0;
  flex-shrink: 0;
}
.header-main {
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 22px;
}
.navigation-bar {
  width: fit-content;
  margin: 0 auto;
  padding: 17px 30px;
  border-radius: 30px;

  border-width: 1px;
  --fill-colors: rgba(31, 89, 198, .26), rgba(31, 89, 198, .26);
  --border-colors: rgba(78, 173, 252, .61) 0%, #1F59C6 53%, #20397F 100%;
  color: #fff;
}
@media (min-width: 720px) {
  .header-logo {
    width: 132px;
    margin: 10px 20px;
  }
  .header-main {
    margin-right: 172px;
  }
  .navigation-bar {
    margin: 0 auto;
  }
}
@media (max-width: 570px) {
  .navigation-bar {
    margin: 0 auto;
  }
  .navigation-nav .navigation-link:not(.active) {
    display: none;
  }
}
.navigation-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 22px;
}
.navigation-link {
  position: relative;
  font-size: 14px;
  line-height: 18px;
  font-weight: bold;
  white-space: nowrap;
  color: #94ace0;
}
.navigation-link.active {
  color: #fff;
}
.navigation-link:hover {
  text-decoration: none;
}
.navigation-link::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -5px -12px;
  border-radius: 17px;
  opacity: 0;
  scale: 0.9;
  transition: opacity var(--def-transition), scale var(--def-transition);
  background: #fff;
}
.navigation-link:hover::before {
  opacity: 0.1;
  scale: 1;
}
.navigation-link.active:hover::before {
  opacity: 0;
}

.footer {
  background: #03091e;
  padding: 28px 0;
}
.footer-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer .navigation-bar {
  --fill-colors: rgba(104, 108, 114, .26), rgba(104, 108, 114, .26);
  --border-colors: #414756 0%, #1c212d 53%, #303647 100%;
}
.footer .navigation-nav {
  gap: 32px;
}
.footer .navigation-link {
  color: #fff;
}
.footer-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-column {
  margin-right: 8%;
}
.footer-column h5 {
  font-size: 14px;
  line-height: 18px;
  font-weight: normal;
  margin: 0 0 14px;
  color: #848c9b;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.footer-link {
  position: relative;
  font-size: 13px;
  line-height: 17px;
  font-weight: bold;
  white-space: nowrap;
  margin: 0 0 14px;
  color: #fff;
}
.footer-link:hover {
  text-decoration: none;
}
.footer-link::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -5px -12px;
  border-radius: 17px;
  opacity: 0;
  scale: 0.9;
  transition: opacity var(--def-transition), scale var(--def-transition);
  background: #fff;
}
.footer-link:hover::after {
  opacity: 0.1;
  scale: 1;
}
.footer-logo {
  display: inline-block;
  width: 42px;
  height: 60px;
  background: url(/img/CocoonEggFooter.webp) no-repeat top center;
  background-size: 100%;
  margin: 8px 0;
}
.footer-powered-by {
  font-size: 14px;
  line-height: 18px;
  font-weight: normal;
  text-align: center;
  margin: 38px 0 0;
  color: #767e90;
}
.ton-logo {
  font-size: 13px;
  line-height: 16px;
  font-weight: bold;
  border-radius: 12px;
  padding: 4px 10px;
  margin-left: 4px;
  background: #212a43;
  color: #fff;
}
.ton-logo:hover,
.ton-logo:focus {
  text-decoration: none;
}
.ton-logo::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 16px;
  vertical-align: text-top;
  margin: 0 4px 0 -1px;
  background: url('data:image/svg+xml,%3Csvg%20height%3D%2216%22%20viewBox%3D%220%200%2013%2016%22%20width%3D%2213%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m1.7%203.3h9.6c.3%200%20.4.2.4.4v.2l-4.6%208.2c-.2.3-.7.5-1.1.3-.1-.1-.2-.2-.3-.3l-4.4-8.2c-.1-.2%200-.5.2-.6zm4.8%208.9v-8.9z%22%20fill%3D%22none%22%20stroke%3D%22%2368beff%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
}

.tg-icon::before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 17px;
  vertical-align: top;
  margin: 0 5px 0 0;
  background: url('data:image/svg+xml,%3Csvg%20height%3D%2217%22%20viewBox%3D%220%200%2019%2017%22%20width%3D%2219%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m1.91%207.67c4.06-1.7%206.77-2.81%208.13-3.35%203.86-1.54%204.67-1.81%205.19-1.82.12%200%20.37.03.54.16.14.1.18.25.2.36.02.1.04.34.02.52-.21%202.11-1.11%207.23-1.58%209.59-.19%201-.57%201.33-.95%201.36-.81.08-1.42-.51-2.2-1-1.23-.77-1.92-1.25-3.11-2-1.38-.87-.49-1.34.3-2.12.2-.21%203.77-3.31%203.84-3.59%200-.04.01-.17-.07-.24s-.2-.04-.29-.02c-.12.02-2.08%201.26-5.87%203.71-.56.37-1.06.55-1.51.54-.5-.01-1.46-.27-2.17-.49-.87-.27-1.44-.41-1.38-.87.04-.24.34-.49.91-.74z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
}

.yt-icon::before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 17px;
  vertical-align: top;
  margin: 0 5px 0 0;
  background: url('data:image/svg+xml,%3Csvg%20height%3D%2217%22%20viewBox%3D%220%200%2019%2017%22%20width%3D%2219%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m16.7%203.9c-.2-.8-.8-1.3-1.5-1.5-1.3-.4-5.7-.4-5.7-.4s-4.4%200-5.7.4c-.7.2-1.3.7-1.5%201.5-.3%201.3-.3%204.1-.3%204.1s0%202.8.3%204.1c.2.8.8%201.3%201.5%201.5%201.3.4%205.7.4%205.7.4s4.4%200%205.7-.4c.7-.2%201.3-.7%201.5-1.5.3-1.3.3-4.1.3-4.1s0-2.8-.3-4.1zm-8.9%206.5v-4.8c0-.3.3-.5.5-.5h.3l3.5%202.5c.2.1.3.5.1.7%200%200-.1.1-.1.1l-3.5%202.5c-.2.1-.5.1-.7-.2%200-.1-.1-.2-.1-.3z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
}

.index-image:before {
  content: '';
  display: block;
  padding-top: 57.5%;
}
.index-image {
  background: url(/img/CocoonEggFull.webp) no-repeat top center;
  background-size: cover;
}

.section {
  text-align: center;
}
.section-title {
  font-size: 72px;
  font-weight: bold;
  line-height: 80px;
  margin: 0;
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  background: linear-gradient(290deg, #d235ff 0%, #a062ff 30%, #3088ff 66%, #61d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-subtitle {
  font-size: 34px;
  font-weight: bold;
  line-height: 40px;
  margin: 18px 0 0;
  color: #bfc8df;
}
.section-subtitle > b {
  color: #fff;
}
.section-lead {
  font-size: 17px;
  line-height: 27px;
  margin: 20px auto 0;
  color: #eaedf6;
  text-wrap: balance;
}
.intro-actions {
  margin: 40px 0 0;
  display: flex;
  gap: 22px;
  justify-content: center;
}

.index-keynote .section-title {
  font-size: 36px;
  line-height: 56px;
  margin: 56px 0 0;
}

.index-keynote .section-lead {
  font-size: 17px;
  line-height: 25px;
  max-width: 400px;
  text-wrap: auto;
}

.video-card {
  display: block;
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 0 123px rgba(73, 98, 193, .27);
  max-width: 600px;
  margin: 30px auto 0;
}
.video-card::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}
.video-card::after {
  position: absolute;
  content: '';
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, .4);
}

.video-card iframe,
.video-card img {
  position: absolute;
  inset: 0;
}

.video-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #577bff 0%, #ba4cff 120%);
  /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);*/
  transition: transform var(--def-transition);
  cursor: pointer;
  z-index: 2;
}
.video-card-play:after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg%20width%3D%2272px%22%20height%3D%2272px%22%20viewBox%3D%220%200%2072%2072%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M31.6%2021.9%2050%2033.5C51.4%2034.3%2051.8%2036.2%2050.9%2037.6%2050.7%2038%2050.3%2038.3%2050%2038.5L31.6%2050.1C30.2%2051%2028.3%2050.6%2027.5%2049.2%2027.2%2048.7%2027%2048.1%2027%2047.6L27%2024.4C27%2022.8%2028.3%2021.4%2030%2021.4%2030.6%2021.4%2031.1%2021.6%2031.6%2021.9Z%22%20fill%3D%22%23fff%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') no-repeat center;
}
.video-card:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.04);
}

.main-index .section:last-child {
  margin-bottom: 60px;
}
.index-how-works .section-title {
  font-size: 38px;
  line-height: 56px;
  margin: 56px 0 0;
}

.how-list {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  list-style: none;
  margin: 12px auto 0;
  padding: 0 35px;
}
.how-item {
  position: relative;
  font-size: 17px;
  line-height: 24px;
  padding: 10px 0;
  margin: 0;
  text-align: left;
}
.how-item::before,
.how-item::after {
  content: '';
  display: inline-block;
  position: absolute;
}
.how-item::after {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: #4ab1ff;
  box-shadow: 0 0 0 2px var(--bg-color);
  top: 19px;
  left: -25px;
}
.how-item::before {
  width: 1px;
  border-radius: 1px;
  background: var(--line-color);
  box-shadow: 0 0 0 0.25px var(--line-color);
  top: 22px;
  left: -22px;
  bottom: -23px;
}
.how-item:last-child::before {
  display: none;
}

.article {
  font-size: 15px;
  line-height: 23px;
  text-align: left;
}
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
  margin: 26px 0 12px;
  color: #68beff;
}
.article h1,
.article h2,
.article h3 {
  font-size: 22px;
  margin: 32px 0 16px;
}
.article p {
  margin: 0 0 12px;
}
.article ol {
  counter-reset: item;
}
.article ol,
.article ul {
  list-style: none;
  padding: 0 0 0 24px;
  margin: 0 0 12px;
}
.article li ol,
.article li ul {
  padding-top: 8px;
  margin-bottom: 0;
}
.article ol>li,
.article ul>li {
  position: relative;
  padding: 4px 0;
  margin: 0;
}
.article ol>li::before {
  content: counter(item) '.';
  counter-increment: item;
  display: inline-block;
  position: absolute;
  font-weight: bold;
  left: -24px;
}
.article ul>li::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: #4ab1ff;
  top: 12px;
  left: -24px;
}
.article hr {
  margin: 25px 0;
  border: 0;
  height: 1px;
  border-radius: 1px;
  background: var(--line-color);
  box-shadow: 0 0 0 0.25px var(--line-color);
}
.article blockquote,
.article pre {
  --accent-color: #d277ff;
  --bg-color: rgba(245, 123, 255, .15);

  position: relative;
  background: var(--bg-color);
  border-radius: 12px;
  padding: 12px 24px;
  margin: 0 0 12px;
  overflow: hidden;
}
.article blockquote p:last-child,
.article blockquote ul:last-child,
.article blockquote ol:last-child {
  margin-bottom: 0;
}
.article blockquote::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent-color);
}
.article blockquote:nth-of-type(2n),
.article pre:nth-of-type(2n) {
  --accent-color: #68beff;
  --bg-color: rgba(104, 190, 255, .15);
}
.article code {
  font-size: 0.87em;
  --bg-color: rgba(104, 190, 255, .15);
  background: var(--bg-color);
  border-radius: 4px;
  padding: 3px 5px;
}
.article pre {
  font-size: 0.87em;
  line-height: 1.1;
  --sb-height: 4px;
  --sb-margin: 0 12px;
  word-break: break-word;
  overflow-x: auto;
}
.article pre::-webkit-scrollbar {
  visibility: visible;
  display: block;
  height: var(--sb-height);
}
.article pre::-webkit-scrollbar-track:horizontal {
  background: var(--bg-color);
  border-radius: 10px;
  margin: var(--sb-margin);
  height: var(--sb-height);
}
.article pre::-webkit-scrollbar-thumb:horizontal {
  background: var(--bg-color);
  border-radius: 10px;
  margin: var(--sb-margin);
  height: var(--sb-height);
}
@supports (-moz-appearance:none) {
  .article pre {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-color) var(--bg-color);
  }
}
.article pre code {
  font-size: 1em;
  background: none;
  border-radius: 0;
  padding: 0;
}
.article table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 12px;
}
.article table>thead>tr>th,
.article table>tbody>tr>th,
.article table>tfoot>tr>th,
.article table>thead>tr>td,
.article table>tbody>tr>td,
.article table>tfoot>tr>td {
  padding: 8px;
  vertical-align: top;
  border-top: 1px solid var(--line-color);
}
.article table>thead>tr>th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--line-color);
}
.article table>caption+thead>tr:first-child>th,
.article table>colgroup+thead>tr:first-child>th,
.article table>thead:first-child>tr:first-child>th,
.article table>caption+thead>tr:first-child>td,
.article table>colgroup+thead>tr:first-child>td,
.article table>thead:first-child>tr:first-child>td {
  border-top: none;
}

