/* ==========================================================================
   Solutions landing page (investing-home-new.html)
   All classes are prefixed with lp- to avoid clashes with other page styles.
   ========================================================================== */

.lp-page {
  --lp-brown: #6b3305;
  --lp-brown-dark: #2a1404;
  --lp-orange: #d13d14;
  --lp-orange-hover: #b5320f;
  --lp-sand: #fbf7f2;
  --lp-border: #e0dad1;
  --lp-muted: #3f3b37;
}

.lp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 60px;
}

.lp-section {
  padding-block: 88px;
}

.lp-section--sand {
  background: var(--lp-sand);
}

.lp-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-brown);
  margin-bottom: 14px;
}

.lp-section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.lp-section-head h2 {
  margin-bottom: 16px;
}

.lp-section-head p {
  font-size: var(--fluid-16-18);
  color: var(--lp-muted);
  margin-bottom: 0;
}

.lp-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-brown);
  border: 2px solid var(--lp-border);
}

.lp-btn-ghost:hover {
  background: #fff;
  color: var(--lp-brown);
  border-color: var(--lp-brown);
}

.lp-note {
  font-size: 14px;
  font-weight: 300;
  color: var(--lp-muted);
  margin: 0;
}

/* ---------- Hero ---------- */

.lp-hero {
  padding-block: 72px 56px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 48px;
}

.lp-hero h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.125rem) !important;
  margin-bottom: 28px;
}

.lp-hero h1 span {
  background-image: linear-gradient(to top, #6b3305 10%, #ae734e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-lead {
  font-size: var(--fluid-16-18);
  color: var(--lp-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.lp-hero .lp-note {
  margin-top: 14px;
}

/* Section visuals: no card frame, all four are transparent/borderless now */
.lp-figure {
  margin: 0;
}

.lp-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Key figures ---------- */
/* Sits directly below the Method section and shares its sand background,
   so the two form one continuous block (moved here from right after the hero). */

.lp-stats {
  background: var(--lp-sand);
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 32px;
  text-align: center;
}

.lp-stat-value {
  display: block;
  font-family: "SangBleuMedium", serif;
  font-size: var(--fluid-28-44);
  line-height: 1.1;
  color: var(--lp-brown);
}

.lp-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--lp-muted);
}

/* ---------- Method ---------- */

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.lp-benefit {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 26px 22px;
}

.lp-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f9f2ec;
  color: var(--lp-brown);
  margin-bottom: 16px;
}

.lp-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.lp-benefit h3 {
  font-size: var(--fluid-20-24) !important;
  margin-bottom: 10px;
}

.lp-benefit p {
  font-size: 15px;
  color: var(--lp-muted);
  margin: 0;
}

.lp-scale {
  max-width: 820px;
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px 32px 24px;
}

.lp-scale-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.lp-scale-sub {
  font-size: 14px;
  color: var(--lp-muted);
  margin-bottom: 64px;
}

.lp-scale-track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #e71313 0%, #ffc239 50%, #79b758 100%);
}

.lp-scale-marker {
  position: absolute;
  top: -8px;
  left: 75%;
  width: 4px;
  height: 30px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--lp-brown-dark);
}

.lp-scale-marker span {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-brown-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.lp-scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--lp-muted);
}

.lp-method-cta {
  text-align: center;
}

/* ---------- Method section: rank display + shortened text ---------- */

.lp-method-row {
  align-items: center;
}

.lp-method-row .lp-feature-text p {
  text-align: left;
}

.lp-rank-display {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 18px 40px rgba(42, 20, 4, 0.1);
  text-align: center;
}

.lp-rank-display-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-brown);
  margin-bottom: 6px;
}

.lp-rank-display-value {
  font-family: "SangBleuMedium", serif;
  font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 6px;
}

.lp-rank-display-sub {
  font-size: 14px;
  color: var(--lp-muted);
  margin-bottom: 44px;
}

.lp-rank-display .lp-scale-track {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e71313 0%, #ffc239 50%, #79b758 100%);
}

.lp-rank-display .lp-scale-marker {
  position: absolute;
  top: -5px;
  left: 75%;
  width: 4px;
  height: 22px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--lp-brown-dark);
}

.lp-rank-display .lp-scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--lp-muted);
}

/* ---------- Feature rows ---------- */

.lp-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.lp-feature + .lp-feature {
  margin-top: 96px;
}

.lp-feature--reverse .lp-feature-text {
  order: 2;
}

.lp-feature-text h2 {
  margin-bottom: 16px;
}

.lp-feature-text > p {
  font-size: var(--fluid-16-18);
  color: var(--lp-muted);
  margin-bottom: 28px;
}

.lp-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--color-text);
}

.lp-list li svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--lp-brown);
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.lp-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--lp-border);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-brown);
}

.lp-chip--more {
  border-style: dashed;
  background: transparent;
  color: var(--lp-muted);
}

.lp-chip--strong {
  background: var(--lp-brown);
  border-color: var(--lp-brown);
  color: #fff;
}

.lp-searches {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.lp-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--lp-border);
  border-radius: 29px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(42, 20, 4, 0.06);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.lp-search svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--lp-brown);
}

.lp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--lp-brown);
}

.lp-text-link svg {
  width: 18px;
  height: 18px;
}

.lp-text-link:hover {
  color: var(--lp-orange);
  text-decoration: underline;
}

/* ---------- Three feature cards ---------- */

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  overflow: hidden;
}

.lp-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--lp-border);
}

.lp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.lp-card-body h3 {
  margin-bottom: 10px;
}

.lp-card-body p {
  font-size: 15px;
  color: var(--lp-muted);
  margin-bottom: 16px;
}

.lp-card-body .lp-text-link {
  margin-top: auto;
}

/* ---------- And many more ---------- */

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

.lp-more-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  background: #fff;
}

.lp-more-item .lp-benefit-icon {
  flex: 0 0 44px;
  margin-bottom: 0;
}

.lp-more-item h3 {
  font-size: 18px !important;
  margin-bottom: 6px;
}

.lp-more-item p {
  font-size: 14px;
  color: var(--lp-muted);
  margin: 0;
}

/* ---------- Pricing ---------- */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
}

.lp-plan--featured {
  border: 2px solid var(--lp-brown);
  box-shadow: 0 14px 32px rgba(107, 51, 5, 0.12);
}

.lp-plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--lp-brown);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 12px;
}

.lp-plan-badge--orange {
  background: var(--lp-orange);
}

.lp-plan-name {
  font-family: "SangBleuMedium", serif;
  font-size: 24px;
  margin: 0 0 4px;
}

.lp-plan-tag {
  font-size: 14px;
  color: var(--lp-muted);
  margin-bottom: 18px;
}

.lp-plan-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.lp-plan-price strong {
  font-family: "SangBleuMedium", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.lp-plan-price span {
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.35;
}

.lp-plan-monthly {
  font-size: 13px;
  color: var(--lp-muted);
  margin-bottom: 20px;
}

.lp-plan .lp-list {
  margin: 4px 0 24px;
  gap: 10px;
}

.lp-plan .lp-list li {
  font-size: 15px;
}

.lp-plan .btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

.lp-pricing-foot {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--lp-muted);
}

.lp-pricing-foot p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* ---------- All features carousel + merged CTA ---------- */

.lp-allfeatures {
  padding-block: 88px 96px;
  background: linear-gradient(180deg, #5b3505 0%, #2a1404 100%);
}

.lp-allfeatures .lp-section-head {
  margin-bottom: 40px;
}

.lp-allfeatures .lp-eyebrow {
  color: #e3c9a6;
}

.lp-allfeatures h2 {
  color: #fff;
}

.lp-af-grid {
  column-count: 4;
  column-gap: 20px;
  padding-block: 12px;
}

.lp-af-card {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: scale(1);
  will-change: transform;
}

.lp-af-card:hover,
.lp-af-card:focus-within,
.lp-af-card.is-active {
  transform: scale(1.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  z-index: 5;
  position: relative;
}

.lp-af-card-body {
  padding: 22px 20px 22px;
}

.lp-af-card-body h3 {
  font-size: 16px !important;
  line-height: 1.3;
  margin-bottom: 6px;
}

.lp-af-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--lp-muted);
  margin: 12px 0 0;
}

.lp-af-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-af-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 10px;
  white-space: nowrap;
}

.lp-af-tag--on {
  background: var(--lp-orange);
  color: #fff;
}

.lp-af-tag--off {
  background: #ece7e1;
  color: #a99e91;
}

.lp-af-tag--promo {
  background: #b5320f;
}

.lp-af-note {
  font-size: 12px;
  color: var(--lp-muted);
  margin: 8px 0 0;
}

.lp-af-cta {
  margin-top: 28px;
  text-align: center;
}

.lp-af-cta .lp-btn-row {
  justify-content: center;
}

.lp-af-cta .lp-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.lp-af-cta .lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.lp-af-cta .lp-note {
  margin-top: 16px;
  color: #d9cbbb;
}

/* ---------- Testimonials (scoped overrides to match this page's rhythm) ---------- */

body.lp-page .testimonials-section {
  margin: 0;
  padding-block: 88px 96px;
}

body.lp-page .testimonials-section h2 {
  margin-bottom: 16px;
}

body.lp-page .testimonials-subtitle {
  font-size: var(--fluid-16-18);
  margin-bottom: 40px;
}

body.lp-page .testimonial-card {
  padding: 28px 22px;
}

body.lp-page .testimonial-text {
  font-family: var(--font-family);
  font-size: var(--fluid-16-18);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
}

body.lp-page .testimonial-author:before {
  top: -14px;
}

/* ---------- Closing call to action ---------- */

.lp-final {
  padding-block: 24px 96px;
}

.lp-final-card {
  padding: 72px 32px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #5b3505 0%, #2a1404 100%);
}

.lp-final h2 {
  color: #fff;
  max-width: 720px;
  margin-inline: auto;
}

.lp-final p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #f0e6da;
  font-size: var(--fluid-16-18);
}

.lp-final .lp-btn-row {
  justify-content: center;
}

.lp-final .lp-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.lp-final .lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.lp-final .lp-note {
  margin-top: 16px;
  color: #d9cbbb;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .lp-wrap {
    padding-inline: 36px;
  }

  .lp-section {
    padding-block: 64px;
  }

  .lp-hero-grid,
  .lp-feature {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .lp-feature--reverse .lp-feature-text {
    order: 0;
  }

  .lp-feature + .lp-feature {
    margin-top: 72px;
  }

  .lp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-cards,
  .lp-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-af-grid {
    column-count: 2;
  }

  .lp-plans {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 575px) {
  .lp-wrap {
    padding-inline: 20px;
  }

  .lp-hero {
    padding-block: 40px 40px;
  }

  .lp-benefits,
  .lp-cards,
  .lp-more-grid {
    grid-template-columns: 1fr;
  }

  .lp-scale {
    padding: 22px 18px 20px;
  }

  .lp-af-cta {
    margin-top: 24px;
  }

  .lp-af-grid {
    column-count: 1;
  }

  .lp-af-card {
    margin-bottom: 16px;
  }

  .lp-btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}
