body {
  padding-bottom: 82px;
}

.ds-wrap,
.ds-top__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.ds-eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ds-top {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 251, 0.86);
  backdrop-filter: blur(10px);
}

.ds-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.ds-logo__eq {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.ds-logo__x {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.ds-logo__partner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-d);
  font-size: 14px;
}

.ds-logo__check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green);
}

.ds-logo__check svg {
  width: 11px;
  height: 11px;
}

.ds-top__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ds-top__link,
.ds-cta,
.final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}

.ds-top__link {
  border-radius: 10px;
  padding: 10px 18px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(26, 109, 245, 0.22);
  font-size: 13.5px;
}

.ds-top__link:hover,
.ds-cta:hover {
  background: var(--primary-d);
}

.ds-top__link:active,
.ds-cta:active,
.final-cta__button:active {
  transform: scale(0.98);
}

.ds-hero {
  padding: 34px 0 20px;
}

.ds-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.ds-hero h1 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.ds-hero__highlight {
  display: inline-block;
  border-radius: 7px;
  padding: 0 8px;
  color: #fff;
  background: var(--primary);
  white-space: nowrap;
}

.ds-hero__lead {
  max-width: 440px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.ds-cta {
  width: 100%;
  padding: 17px;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-blue);
  font-size: 16px;
}

.ds-hero__note,
.earn-hint {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.ds-hero__note {
  margin: 12px 0 0;
}

.earn-card,
.math-card,
.trust-grid,
.ds-faq details {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.earn-card {
  border-radius: 20px;
  padding: 20px;
}

.earn-card__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.earn-card__label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.earn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 2px;
  cursor: pointer;
}

.earn-row:first-of-type {
  border-top: 0;
}

.earn-row.is-locked {
  cursor: default;
}

.earn-row input {
  flex: none;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.earn-row.is-locked input {
  opacity: 0.85;
  cursor: not-allowed;
}

.earn-row__name {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.earn-row__name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

.earn-row__value {
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.math-card {
  margin-top: 14px;
  border-radius: 20px;
  padding: 6px 20px 16px;
}

.math-card__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  margin-top: 2px;
  padding: 14px 0;
}

.math-card__label {
  font-size: 14px;
  font-weight: 800;
}

.math-card__value {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.math-card__saving {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 800;
}

.math-card__saving span:first-child {
  font-size: 13px;
}

.math-card__saving span:last-child {
  font-size: 15px;
}

.earn-hint {
  margin-top: 8px;
}

.earn-hint b {
  color: var(--primary);
}

.ds-block {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.ds-block--final {
  border-top: 0;
}

.ds-heading {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.equations {
  margin-top: 18px;
}

.equation-row {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.equation-row:first-child {
  border-top: 0;
}

.equation-row__line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 800;
}

.equation-row__op {
  color: var(--muted);
}

.equation-row__result {
  color: var(--green);
}

.equation-row__desc {
  color: var(--muted);
  font-size: 13px;
}

.steps-grid {
  display: grid;
  gap: 0;
}

.step-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.step-card:last-child {
  border-bottom: 1px solid var(--line);
}

.step-card__time {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.step-card__label {
  font-size: 15px;
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  border-radius: 16px;
  padding: 18px 20px;
}

.trust-item__title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 800;
}

.trust-item__text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ds-faq {
  display: grid;
  gap: 8px;
}

.ds-faq details {
  border-radius: 12px;
  padding: 14px 16px;
}

.ds-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ds-faq summary::-webkit-details-marker {
  display: none;
}

.ds-faq summary::after {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--bg);
  content: "+";
}

.ds-faq details[open] summary::after {
  content: "-";
}

.ds-faq p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 30px 24px;
  color: #fff;
  background: var(--primary);
}

.final-cta::after {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.12;
  content: "";
}

.final-cta__kicker,
.final-cta__big,
.final-cta__text,
.final-cta__button {
  position: relative;
}

.final-cta__kicker {
  margin-bottom: 8px;
  color: #CFE0FF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.final-cta__big {
  margin-bottom: 4px;
  font-size: 58px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
}

.final-cta__text {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.final-cta__button {
  width: 100%;
  padding: 17px;
  color: var(--primary-d);
  background: #fff;
  font-size: 16px;
}

.ds-footer {
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.ds-footer p {
  margin-bottom: 10px;
}

.ds-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
}

.ds-footer__links a {
  text-decoration: underline;
}

.ds-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(10px);
}

.ds-sticky .ds-cta {
  max-width: 390px;
  margin: 0 auto;
  padding: 14px;
}

@media (max-width: 720px) {
  .ds-top__link {
    display: none;
  }

  .ds-logo {
    gap: 7px;
    font-size: 14.5px;
  }

  .ds-logo__partner {
    font-size: 12.5px;
  }
}

@media (max-width: 360px) {
  .ds-logo__x {
    display: none;
  }
}

@media (min-width: 840px) {
  body {
    padding-bottom: 0;
  }

  .ds-hero {
    padding: 48px 0 26px;
  }

  .ds-hero__grid {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: start;
    gap: 40px;
  }

  .ds-hero__copy {
    position: sticky;
    top: 84px;
  }

  .ds-hero h1 {
    font-size: 46px;
  }

  .ds-hero__lead {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .ds-hero__copy .ds-cta {
    max-width: 340px;
    margin-top: 22px;
  }

  .ds-hero__note {
    max-width: 340px;
    text-align: left;
  }

  .equations--desktop {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }

  .equations--mobile {
    display: none;
  }

  .ds-block {
    padding: 44px 0;
  }

  .ds-heading {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .step-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
  }

  .step-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ds-faq {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }

  .final-cta {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 44px 40px;
  }

  .final-cta__button {
    align-self: center;
  }

  .ds-sticky {
    display: none;
  }
}

@media (max-width: 839px) {
  .equations--desktop {
    display: none;
  }
}
