/* hero */
.mk-hero {
  padding-block: 56px 48px;
}

.mk-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}

.mk-hero-copy {
  display: flex;
  flex: 1 1 460px;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.mk-hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
}

.mk-lead {
  max-width: 560px;
  color: var(--ll-body);
  font-size: 19px;
  line-height: 1.55;
}

/* card heads */
.mk-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mk-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: normal;
}

/* quote card */
.mk-quotes {
  display: flex;
  flex: 0 1 460px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px 22px;
}

.mk-q-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.3fr) minmax(0, 1fr) 38px 34px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-family: var(--ll-mono);
  line-height: normal;
}

.mk-q-row span + span {
  text-align: right;
}

.mk-q-head {
  color: var(--ll-body);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.mk-q-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-q-list .mk-q-row {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.mk-q-list span:first-child {
  font-weight: 600;
}

.mk-q-list li:nth-child(2) {
  opacity: 0.87;
}

.mk-q-list li:nth-child(3) {
  opacity: 0.74;
}

.mk-q-list li:nth-child(4) {
  opacity: 0.61;
}

.mk-q-list li:nth-child(5) {
  opacity: 0.48;
}

.mk-q-list li:nth-child(6) {
  opacity: 0.35;
}

.mk-q-list.is-live li:first-child {
  background: var(--ll-tint-soft);
}

.mk-q-list .mk-in-a {
  animation: mk-fade-a 0.5s both;
}

.mk-q-list .mk-in-b {
  animation: mk-fade-b 0.5s both;
}

/* earn */
.mk-sec {
  padding-block: 48px;
}

.mk-sec-last {
  padding-bottom: 88px;
}

.mk-earn-title {
  margin-bottom: 32px;
}

.mk-earn {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-earn li {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ll-ink);
}

.mk-num {
  color: var(--ll-accent);
  font-family: var(--ll-mono);
  font-size: 14px;
  line-height: normal;
}

.mk-earn h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.02em;
}

.mk-earn p {
  color: var(--ll-body);
  font-size: 16px;
  line-height: 1.55;
}

/* revenue */
.mk-rev {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 64px;
}

.mk-rev-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.mk-rev-title {
  margin-bottom: 14px;
}

.mk-split {
  display: flex;
  flex: 1.3 1 460px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.mk-split-title {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.mk-split-label,
.mk-split-labels,
.mk-not-label {
  color: var(--ll-body);
  font-size: 14px;
  line-height: normal;
}

.mk-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: -10px;
}

.mk-bar-premium {
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ll-tint);
}

.mk-bar-premium div {
  height: 100%;
  background: #9CCBB6;
  animation: mk-grow 1s ease-out both;
}

.mk-bar-split,
.mk-split-labels {
  display: flex;
  gap: 6px;
}

.mk-bar-split {
  height: 40px;
}

.mk-bar-hedge,
.mk-lab-hedge {
  flex: 4;
  animation: mk-fade-a 0.5s 1s both;
}

.mk-bar-spread,
.mk-lab-spread {
  flex: 1;
  animation: mk-fade-a 0.5s 1.4s both;
}

.mk-bar-hedge {
  border-radius: 8px;
  background: #CBD3DD;
}

.mk-bar-spread {
  border-radius: 8px;
  background: var(--ll-accent);
}

.mk-split-labels {
  margin-top: -6px;
}

.mk-lab-spread {
  color: var(--ll-accent);
  font-weight: 600;
}

.mk-not {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--ll-line);
}

.mk-not-label {
  margin-right: 4px;
}

.mk-not-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ll-line);
  border-radius: 999px;
  background: var(--ll-surface);
  color: var(--ll-body);
  font-size: 15px;
  line-height: normal;
}

.mk-not-item svg {
  flex: none;
}

.mk-not-item span {
  text-decoration: line-through;
}

.mk-scale {
  color: var(--ll-body);
  font-size: 12px;
  line-height: normal;
}

/* fail */
.mk-fail-title {
  margin-bottom: 10px;
}

.mk-fail-lead {
  margin-bottom: 24px;
}

.mk-flow {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-step {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border: 1.5px solid var(--ll-line);
  border-radius: 14px;
  background: var(--ll-surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.mk-step.is-on {
  border-color: var(--ll-accent);
  box-shadow: 0 18px 36px -24px rgba(11, 107, 79, 0.6);
}

.mk-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ll-accent);
  border-radius: 50%;
  background: var(--ll-white);
  color: var(--ll-accent);
  font-family: var(--ll-mono);
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  transition: background 0.3s;
}

.mk-step.is-on .mk-step-num {
  background: var(--ll-accent);
  color: var(--ll-white);
}

.mk-step-title {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.01em;
}

@media (min-width: 805px) and (max-width: 899px) {
  .mk-step-title {
    font-size: 16px;
  }
}

.mk-step-pool {
  font-family: var(--ll-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.mk-step-text {
  color: var(--ll-body);
  font-size: 15px;
  line-height: 1.5;
}

.mk-arrow {
  position: absolute;
  top: 50%;
  right: -31.5px;
  transform: translateY(-50%);
}

/* motion */
@keyframes mk-grow {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes mk-fade-a {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mk-fade-b {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* phone */
@media (max-width: 804px) {
  .mk-hero {
    padding-block: 36px 32px;
  }

  .mk-hero h1 {
    font-size: 40px;
  }

  .mk-lead {
    font-size: 17px;
  }

  .mk-sec {
    padding-block: 40px;
  }

  .mk-sec-last {
    padding-bottom: 64px;
  }

  .mk-flow {
    flex-direction: column;
  }

  .mk-arrow {
    top: auto;
    right: auto;
    bottom: -31.5px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}
