:root {
  --ink: #101815;
  --green: #b8ef62;
  --paper: #f4f4ee;
  --line: #d7dad2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1.5px;
}
.brand img {
  width: 37px;
  height: 37px;
}
header {
  height: 76px;
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header nav,
header > div {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a,
.login {
  font-size: 13px;
}
.telegram-app header .login,
.telegram-app .footer-login,
.telegram-app .telegram-card {
  display: none;
}
#language {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 99px;
  padding: 8px 11px;
  cursor: pointer;
}
.button {
  display: inline-flex;
  background: var(--ink);
  color: white;
  border-radius: 7px;
  padding: 15px 22px;
  font-weight: bold;
}
.button.small {
  padding: 11px 16px;
  font-size: 12px;
}
.hero {
  max-width: 1240px;
  min-height: 690px;
  margin: auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}
.label,
.heading > span,
.custom span {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #65716b;
}
.hero h1 {
  font-size: clamp(58px, 7vw, 100px);
  letter-spacing: -6px;
  line-height: 0.92;
  margin: 24px 0;
}
.hero p {
  max-width: 530px;
  color: #64706a;
  line-height: 1.8;
  font-size: 17px;
}
.hero .button {
  margin-top: 22px;
}
.canvas {
  height: 520px;
  background: var(--green);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.window {
  width: 78%;
  height: 72%;
  background: white;
  box-shadow: 0 25px 70px #18332230;
  padding: 15px;
  position: relative;
  z-index: 2;
}
.window > i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aeb5b0;
}
.mock {
  margin-top: 13px;
  background: #17201c;
  color: white;
  height: calc(100% - 25px);
  padding: 12%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.mock small {
  font-size: 8px;
  letter-spacing: 1px;
}
.mock strong {
  font-size: 29px;
  line-height: 1.15;
  margin: 15px 0;
}
.mock span {
  background: var(--green);
  color: #17201c;
  padding: 10px 13px;
  font-size: 9px;
  font-weight: bold;
}
.block {
  position: absolute;
  background: #17201c;
}
.b1 {
  width: 100px;
  height: 100px;
  top: -30px;
  right: -30px;
}
.b2 {
  width: 65px;
  height: 65px;
  bottom: 30px;
  left: 18px;
}
.section {
  padding: 120px max(24px, calc((100% - 1192px) / 2));
}
.heading {
  display: grid;
  grid-template-columns: 0.5fr 1.2fr 0.7fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 55px;
}
.heading h2,
.custom h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -3px;
  line-height: 1.02;
  margin: 0;
}
.heading p,
.custom p {
  color: #69736e;
  line-height: 1.8;
  margin: 0;
}
.templates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.template {
  min-height: 290px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ccd1ca;
  background: #fff;
  transition: 0.2s;
}
.template:nth-child(2n) {
  background: #15201c;
  color: white;
}
.template:hover {
  transform: translateY(-5px);
}
.template b {
  font-size: 21px;
}
.template span {
  font-size: 10px;
  opacity: 0.6;
}
.template-preview {
  height: 155px;
  position: relative;
  overflow: hidden;
  background: #dfe3dc;
}
.template-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}
.template:hover .template-preview img {
  transform: scale(1.045);
  filter: saturate(1.05);
}
.text-link {
  display: inline-block;
  margin-top: 30px;
  border-bottom: 1px solid;
}
.steps {
  background: white;
}
.steps .heading {
  grid-template-columns: 0.5fr 1.9fr;
}
.steps ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.steps li {
  padding: 36px 35px 20px 0;
  border-right: 1px solid var(--line);
}
.steps li + li {
  padding-left: 35px;
}
.steps li b {
  color: #7e8983;
  font-size: 11px;
}
.steps h3 {
  font-size: 24px;
  margin-top: 65px;
}
.steps p {
  color: #6c7671;
  line-height: 1.7;
}
.custom {
  background: var(--ink);
  color: white;
  margin: 0 24px 100px;
  max-width: calc(100% - 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.custom > div {
  max-width: 780px;
}
.custom span,
.custom p {
  color: #9eaaa4;
}
.custom h2 {
  margin: 22px 0;
}
.button.light {
  background: var(--green);
  color: var(--ink);
}
footer {
  background: #0b110e;
  color: white;
  padding: 76px max(24px, calc((100% - 1192px) / 2)) 28px;
}
footer a,
footer small {
  color: #9aa69f;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 1.8fr) 0.7fr 0.7fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.footer-intro > p {
  color: #8f9b95;
  line-height: 1.7;
  max-width: 390px;
  margin: 22px 0 28px;
}
.footer-column {
  display: grid;
  gap: 15px;
}
.footer-column b {
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-column a {
  width: max-content;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: var(--green);
}
.telegram-card {
  width: min(390px, 100%);
  padding: 17px 18px;
  border: 1px solid #344139;
  background: #121b17;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.telegram-card:hover {
  border-color: var(--green);
  background: #17231d;
  transform: translateY(-2px);
}
.telegram-card svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  background: #229ed9;
  fill: #fff;
}
.telegram-card span {
  display: grid;
  gap: 4px;
}
.telegram-card small {
  font-size: 9px;
  letter-spacing: 1.25px;
}
.telegram-card strong {
  color: #fff;
  font-size: 15px;
}
.telegram-card i {
  color: var(--green);
  font-size: 18px;
  font-style: normal;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #263129;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.brand b {
  animation: brandColor 6s ease-in-out infinite;
}
@keyframes brandColor {
  0%,
  100% {
    color: #101815;
  }
  45% {
    color: #4f8b36;
  }
  70% {
    color: #84bd32;
  }
}
footer .brand b {
  animation-name: brandColorDark;
}
@keyframes brandColorDark {
  0%,
  100% {
    color: #fff;
  }
  45% {
    color: #b8ef62;
  }
  70% {
    color: #8fcf49;
  }
}
html[dir="rtl"] body {
  font-family: Arial, sans-serif;
}
html[dir="rtl"] .hero h1,
html[dir="rtl"] .heading h2,
html[dir="rtl"] .custom h2 {
  letter-spacing: -2px;
}
html[dir="rtl"] .steps li {
  padding-right: 35px;
  padding-left: 20px;
  border-right: 0;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .canvas {
    height: 440px;
  }
  .templates {
    grid-template-columns: repeat(2, 1fr);
  }
  .heading {
    grid-template-columns: 1fr;
  }
  .steps .heading {
    grid-template-columns: 1fr;
  }
  .custom {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  footer {
    padding-top: 60px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-intro {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  header {
    padding: 0 14px;
  }
  .login {
    display: none;
  }
  .button.small {
    padding: 9px 11px;
  }
  .hero {
    padding: 60px 18px;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -4px;
  }
  .canvas {
    height: 360px;
  }
  .window {
    width: 88%;
  }
  .mock strong {
    font-size: 22px;
  }
  .section {
    padding: 80px 18px;
  }
  .templates {
    grid-template-columns: 1fr;
  }
  .template {
    min-height: 240px;
  }
  .steps ol {
    grid-template-columns: 1fr;
  }
  .steps li,
  .steps li + li {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps h3 {
    margin-top: 30px;
  }
  .custom {
    margin: 0 14px 70px;
    max-width: calc(100% - 28px);
    padding: 60px 24px;
  }
  footer {
    padding: 55px 20px 24px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }
  .footer-bottom {
    margin-top: 46px;
    flex-direction: column;
    gap: 8px;
  }
}
.custom form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(560px, 100%);
}
.custom input,
.custom textarea {
  background: #17211d;
  border: 1px solid #405048;
  color: #fff;
  padding: 13px;
  min-width: 0;
}
.custom textarea {
  grid-column: 1/-1;
  min-height: 100px;
}
.custom form button {
  border: 0;
  width: max-content;
}
.custom form small {
  align-self: center;
}
@media (max-width: 600px) {
  .custom form {
    grid-template-columns: 1fr;
  }
  .custom textarea {
    grid-column: auto;
  }
}
