.landing {
  --landing-deep: #100d16;
  --landing-rule: #2b243b;
  background: var(--landing-deep);
  font-size: 1rem;
}

.landing [id] {
  scroll-margin-top: 1rem;
}

.lp-wrap {
  width: min(100% - 3rem, 1120px);
  margin-inline: auto;
}

.lp-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--landing-rule);
  background: #121018;
}

.lp-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  gap: 1rem;
}

.lp-nav .brand,
.lp-footer .brand {
  justify-self: start;
  width: fit-content;
}

.lp-nav-links {
  display: flex;
  gap: clamp(1rem, 3.5vw, 2.75rem);
  color: #c5b9d5;
  font-size: 0.9rem;
  font-weight: 580;
}

.lp-nav-links a:hover,
.lp-footer a:hover {
  color: var(--purple);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-self: end;
}

.lp-nav-login {
  min-width: 84px;
}

.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 71% 52%, #2e1b47, transparent 56%), #100d16;
}

.lp-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(#cc9aff16 1px, transparent 1px),
    linear-gradient(90deg, #cc9aff16 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 73% 52%, #000 8%, transparent 70%);
  pointer-events: none;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4.3rem, 8vw, 7rem);
  min-height: 570px;
}

.lp-hero-copy h1 {
  color: #fbf8ff;
  font-size: clamp(3.75rem, 7.6vw, 7.25rem);
  letter-spacing: -0.095em;
  line-height: 0.91;
  font-weight: 700;
}

.lp-hero-copy h1 em {
  color: #caa8ff;
  font-style: normal;
  background: linear-gradient(100deg, #f0d2ff 5%, #b78aff 83%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-copy > p {
  max-width: 29rem;
  margin-top: 1.45rem;
  color: #ccbfdc;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.62;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.lp-actions .btn,
.lp-join .btn {
  min-height: 46px;
  padding-inline: 0.95rem;
  font-size: 0.93rem;
}

.lp-actions [data-landing-icon] svg {
  width: 19px;
  height: 19px;
}

.lp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
  color: #c7b8d6;
  font-size: 0.88rem;
}

.lp-facts li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lp-facts svg {
  color: #ad86eb;
  width: 17px;
  height: 17px;
}

.lp-stage {
  position: relative;
  isolation: isolate;
}

.lp-stage-art {
  position: absolute;
  z-index: -1;
  width: 145%;
  max-width: 780px;
  height: auto;
  right: -27%;
  top: -33%;
  opacity: 0.66;
  pointer-events: none;
}

.lp-quiz {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 393px;
  border: 1px solid #63498a;
  border-radius: 17px;
  background: linear-gradient(153deg, #241b34 0%, #1a1524 53%, #181321 100%);
  box-shadow:
    0 22px 75px #05030994,
    inset 0 1px #d5a4ff31;
}

.lp-quiz-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid #403052;
}

.lp-quiz-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #3b2753;
  color: #d8b7ff;
}

.lp-quiz-icon svg {
  width: 21px;
  height: 21px;
}

.lp-quiz-head h2 {
  font-size: 1.17rem;
  letter-spacing: -0.04em;
}

.lp-quiz-round {
  margin-left: auto;
  color: #cbbadd;
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
}

.lp-quiz-body {
  flex: 1;
  padding: 1rem 1.1rem 0.65rem;
}

.lp-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.lp-progress i {
  height: 4px;
  border-radius: 6px;
  background: #3a2c48;
}

.lp-progress i.reached {
  background: #c6a4ff;
  box-shadow: 0 0 13px #ab72f263;
}

.lp-question-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: #c8abe9;
  font-size: 0.83rem;
}

.lp-difficulty {
  padding: 0.08rem 0.43rem;
  border-radius: 5px;
  background: #d7ff8319;
  color: #d8f3a9;
  font-weight: 650;
}

.lp-quiz-body h3 {
  color: #faf5ff;
  font-size: clamp(1.37rem, 2.35vw, 1.72rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.lp-equation {
  min-height: 39px;
  margin-top: 0.55rem;
  padding: 0.3rem 0.5rem;
  border-left: 2px solid #9663c8;
  border-radius: 0 5px 5px 0;
  background: #2b1f3b;
  color: #e5d0ff;
  font-size: 1.02rem;
}

.lp-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
  margin-top: 0.9rem;
  border-radius: 8px;
}

.lp-choices button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 43px;
  padding: 0.42rem 0.55rem;
  border: 1px solid #4a365b;
  border-radius: 8px;
  background: #271c35;
  color: #f5eefc;
  text-align: left;
  font-weight: 650;
}

.lp-choices button:hover:not(:disabled) {
  border-color: #a271da;
  background: #37244a;
}

.lp-key {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  background: #412d53;
  color: #e0c2ff;
  font-size: 0.74rem;
}

.lp-choices .right-answer {
  opacity: 1;
  border-color: #8cab5c;
  background: #283824;
  color: #e2ffb8;
}

.lp-choices .wrong-answer {
  opacity: 1;
  border-color: #ad6a90;
  background: #3b2236;
  color: #fbd3e8;
}

.lp-quiz-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.15rem 1.1rem 0.8rem;
}

.lp-feedback {
  flex: 1 0 52%;
  color: #beaecb;
  font-size: 0.88rem;
}

.lp-feedback.positive strong {
  color: #d7ff83;
}
.lp-feedback.correction strong {
  color: #fbd3e8;
}

.lp-demo-result {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 262px;
  gap: 0.55rem;
  text-align: center;
}

.lp-demo-result h3 {
  font-size: 2.15rem;
}
.lp-demo-result p {
  max-width: 22rem;
  color: #cbbadd;
}

.lp-workflow,
.lp-ladder {
  padding-block: clamp(3.7rem, 7vw, 6.2rem);
}

.lp-workflow {
  background: #efebf6;
  color: #22192b;
}

.lp-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.lp-section-intro h2 {
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.075em;
}

.lp-section-intro > p {
  max-width: 23rem;
  color: #51465e;
  line-height: 1.62;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-steps li {
  min-width: 0;
  border-top: 1px solid #bcb0ca;
  padding: 1.05rem 0.5rem 0 0;
}

.lp-step-icon {
  display: inline-grid;
  place-items: center;
  width: 41px;
  height: 41px;
  margin-bottom: 0.6rem;
  border: 1px solid #cfb9e5;
  border-radius: 9px;
  background: #e8daf5;
  color: #573888;
}

.lp-steps h3 {
  font-size: 1.32rem;
}
.lp-steps p {
  margin-top: 0.3rem;
  color: #51465e;
  line-height: 1.62;
}

.lp-ladder {
  background: #15111e;
}

.lp-ladder .lp-section-intro > p {
  color: #c5b7d3;
}

.lp-shields {
  gap: 0.55rem;
  padding: 0;
}

.lp-shields .rank-gallery-item {
  min-height: 175px;
  background: radial-gradient(
    ellipse at 50% 30%,
    color-mix(in srgb, var(--rank-field) 68%, #1e182a),
    #1e182a 86%
  );
}

.lp-join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: clamp(1rem, 3.8vw, 2.1rem);
  border: 1px solid #5b496d;
  border-radius: 13px;
  background: linear-gradient(112deg, #272037, #332246);
}

.lp-join h2 {
  margin-bottom: 0.25rem;
  color: #f9f1ff;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.lp-join p {
  color: #d0c0df;
}

.lp-footer {
  padding-block: 1.2rem;
  border-top: 1px solid var(--landing-rule);
  background: #100d16;
}

.lp-footer .lp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #c5b7d3;
  font-size: 0.9rem;
}

.lp-footer .brand {
  color: #fbf8ff;
}

@media (max-width: 850px) {
  .lp-hero-grid {
    gap: 1.75rem;
  }
  .lp-hero-copy h1 {
    font-size: clamp(3.5rem, 8.7vw, 6.1rem);
  }
}

@media (max-width: 690px) {
  .lp-wrap {
    width: min(100% - 2rem, 535px);
  }
  .lp-nav {
    grid-template-columns: 1fr auto;
    min-height: 60px;
  }
  .lp-nav-links {
    display: none;
  }
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
    padding-block: 2.9rem 2.3rem;
  }
  .lp-hero-copy h1 {
    font-size: clamp(3.75rem, 11.5vw, 5.35rem);
  }
  .lp-hero-copy > p {
    margin-top: 1rem;
  }
  .lp-actions {
    margin-top: 1.1rem;
  }
  .lp-facts {
    margin-top: 0.95rem;
  }
  .lp-stage-art {
    right: -13%;
    top: -26%;
    width: 122%;
  }
  .lp-quiz {
    min-height: 376px;
  }
  .lp-section-intro {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 1.45rem;
  }
  .lp-steps {
    grid-template-columns: 1fr;
  }
  .lp-shields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-shields .rank-gallery-item {
    min-height: 132px;
  }
  .lp-shields .elo-shield.showcase {
    width: 66px;
    height: 70px;
  }
  .lp-join {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1.6rem;
  }
}
