:root {
  --regular: 400;
  --bold: 700;

  --color-grayscale-80: #1B1B1B;

  --color-text-title: #ffffff;
  --color-text-description: #A4A4A4;
}

/* Font — single variable file: weights 100–900, optical sizing auto-selects the Display cut at large sizes */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/InterVariable.woff2') format('woff2');
}

* {
  font-family: 'Inter', 'Inter UI', 'Inter-UI', 'SF Pro Display', 'SF UI Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global */
body {
  margin: 0;
  background: var(--color-grayscale-80);
}

a {
  text-decoration: none;
}

svg {
  outline: none;
}

.col-1010 {
  max-width: 1010px;
  padding: 0 8%;
  margin: 0 auto;
}

/* Header */
.header {
  padding: 90px 0;
  text-align: center;
}

.header .name {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 48px;
  font-weight: var(--bold);
  color: var(--color-text-title);
}

.header .description {
  margin-top: 12px;
  font-size: 24px;
  color: var(--color-text-description);
}

/* Toggle switch */
.toggle-switch {
  width: 57px;
  height: 33px;
  position: relative;
  display: inline-block;
  user-select: none;
}

/* Hide default HTML checkbox */
.toggle-switch .input {
  width: 0;
  height: 0;
  opacity: 0;
}

.toggle-switch .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3a3a3a;
  border: 1px solid #505050;
  cursor: pointer;
  transition: .4s;
}

.toggle-switch .slider:before {
  height: 31px;
  width: 31px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #cbcbcb;
  content: "";
  transition: .4s;
}

.toggle-switch .input:checked + .slider {
  background: #6c14ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-switch .input:checked + .slider:before {
  transform: translateX(24px);
}

.toggle-switch .slider.round {
  border-radius: 34px;
}

.toggle-switch .slider.round:before {
  border-radius: 50%;
}

/* Demo */
.demo .info {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-description);
}

.demo .image-wrap {
  position: relative;
  margin-top: 25px;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
}

.demo .menubar {
  position: absolute;
  top: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.demo .menubar.-show {
  opacity: 1;
}

/* Features */
.features {
  margin-top: 25px;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 60px;
}

.features .feature {
  text-align: center;
}

.features .icon {
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.features .name {
  margin-top: 26px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: var(--bold);
  color: var(--color-text-title);
}

.features .description {
  font-size: 16px;
  color: var(--color-text-description);
}

@media (max-width: 1180px) {
  .features .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features .description {
    max-width: 300px;
    margin: 20px auto 0 auto;
  }
}

@media (max-width: 610px) {
  .features .grid {
    grid-template-columns: auto;
  }
}

/* Download */
.download {
  padding: 140px 0;
  text-align: center;
}

.download .info {
  font-size: 16px;
  color: var(--color-text-description);
}

/* Authors */
.authors {
  margin-bottom: 60px;
}

.authors .info {
  text-align: center;
  font-size: 20px;
  color: #dedede;
}

.authors .banner {
  max-width: 700px;
  margin: 20px auto 0 auto;
  padding: 40px;
  background: #000000;
  border-radius: 20px;
  box-shadow: 0px 14px 50px rgba(0, 0, 0, 0.5);
  background-image: url("/img/cleanshot.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 218px 232px;
}

.authors .name {
  font-size: 36px;
  font-weight: var(--bold);
  color: var(--color-text-title);
}

.authors .icon {
  margin-left: -10px;
  margin-top: -5px;
  display: none;
}

.authors .description {
  margin-top: 10px;
  font-size: 18px;
  color: var(--color-text-description);
  line-height: 1.3;
}

.authors .action-button {
  margin-top: 45px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .authors .banner {
    background-image: url("/img/cleanshot@2x.png");
  }
}

@media (max-width: 750px) {
  .authors .banner {
    background-image: none;
  }

  .authors .icon {
    display: block;
  }
}

@media (max-width: 420px) {
  .authors .banner {
    padding: 30px;
  }
}

/* Action button */
.action-button {
  height: 56px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 30px;
  position: relative;
  font-size: 18px;
  font-weight: var(--bold);
  color: var(--color-text-title);
  line-height: 0;
  background-image: linear-gradient(135deg, #dc41de 0%, #6612ff 50%, #8017ff 100%);
  background-size: 250%;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  outline: none;
  transition: background-position 0.4s ease;
  user-select: none;
}

.action-button.-small {
  height: 48px;
  font-size: 16px;
  padding: 0 25px;
}

.action-button:hover {
  background-position: 100%;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0 60px 0;
  font-size: 16px;
  color: var(--color-text-description);
}

.footer .link {
  color: var(--color-text-title);
}

.footer .link:hover {
  text-decoration: underline;
}

.footer .separator {
  margin: 0 10px;
}
