/* Secondary Market page — sm- prefix */

.sm-hero {
  padding: 64px 16px;
  background: var(--white);
}

@media (min-width: 1024px) {
  .sm-hero {
    padding: 72px 120px 96px;
  }
}

.sm-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 1024px) {
  .sm-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

.sm-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .sm-hero__copy {
    flex: 0 1 540px;
    min-width: 0;
    gap: 36px;
    text-align: left;
  }
}

.sm-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.36px;
  color: var(--black);
}

@media (min-width: 1024px) {
  .sm-hero__title {
    font-size: 48px;
    letter-spacing: -0.48px;
  }
}

.sm-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--grey-600);
}

@media (min-width: 1024px) {
  .sm-hero__lead {
    max-width: 453px;
  }
}

.sm-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sm-hero__actions .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}

@media (min-width: 1024px) {
  .sm-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 409px;
    max-width: 100%;
    gap: 16px;
    align-items: stretch;
  }

  .sm-hero__actions .btn {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    white-space: nowrap;
  }

  .sm-hero__actions .btn--primary {
    width: 218px;
    flex: 0 0 218px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .sm-hero__actions .btn--secondary {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding-left: 11px;
    padding-right: 11px;
  }
}

.sm-hero__media {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey-300);
}

@media (min-width: 1024px) {
  .sm-hero__media {
    flex: 0 0 523px;
    width: 523px;
    height: 502px;
    border-radius: 10px;
  }
}

.sm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* What is it */
.sm-what {
  padding: 0 16px 64px;
  background: var(--white);
}

@media (min-width: 1024px) {
  .sm-what {
    padding: 0 120px 115px;
  }
}

.sm-what__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 1024px) {
  .sm-what__inner {
    text-align: center;
    gap: 24px;
  }
}

.sm-what__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.28px;
  color: var(--black);
}

@media (min-width: 1024px) {
  .sm-what__title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.36px;
  }
}

.sm-what__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-600);
}

@media (min-width: 1024px) {
  .sm-what__body {
    font-size: 18px;
  }
}

/* How it works */
.sm-how {
  padding: 0 16px 64px;
  background: var(--white);
}

@media (min-width: 1024px) {
  .sm-how {
    padding: 0 120px 115px;
  }
}

.sm-how__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .sm-how__inner {
    gap: 48px;
  }
}

.sm-how__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
}

@media (min-width: 1024px) {
  .sm-how__header {
    text-align: center;
    margin: 0 auto;
    align-items: center;
  }
}

.sm-how__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.28px;
  color: var(--black);
}

@media (min-width: 1024px) {
  .sm-how__title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.36px;
  }
}

.sm-how__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-600);
}

.sm-how__panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .sm-how__panels {
    flex-direction: row;
    gap: 24px;
  }
}

.sm-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #ddd;
  overflow: hidden;
}

.sm-panel__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink-600);
}

.sm-panel__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #121212;
}

.sm-panel__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f3f3f4;
}

.sm-step:last-child {
  border-bottom: 0;
}

.sm-step__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.sm-step__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #121212;
}

.sm-how__callout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--pink-100);
  border: 1px solid var(--pink-200);
}

.sm-how__callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-600);
}

.sm-how__callout strong {
  color: #121212;
  font-weight: 700;
}

/* Portfolio benefits */
.sm-portfolio {
  padding: 0 16px 64px;
  background: var(--white);
}

@media (min-width: 1024px) {
  .sm-portfolio {
    padding: 0 120px 115px;
  }
}

.sm-portfolio__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.sm-portfolio__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.28px;
  color: var(--black);
}

@media (min-width: 1024px) {
  .sm-portfolio__title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.36px;
    text-align: left;
  }
}

.sm-portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .sm-portfolio__grid {
    flex-direction: row;
    gap: 24px;
  }
}

.sm-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 16px;
  background: var(--grey-50);
  border: 0;
  text-align: left;
}

.sm-card__icon {
  width: 36px;
  height: 36px;
}

.sm-card__icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.sm-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #121212;
}

.sm-card__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-600);
}

/* Vision band */
.sm-vision {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #9704b9;
  background-image:
    linear-gradient(180deg, rgba(226, 111, 255, 0.4) 0%, rgba(151, 4, 185, 0.82) 100%),
    linear-gradient(0deg, rgba(151, 4, 185, 0.24), rgba(151, 4, 185, 0.24)),
    url("../secondary-market/vision.png");
  background-size: cover, cover, cover;
  background-position: center, center, center 35%;
}

@media (min-width: 1024px) {
  .sm-vision {
    min-height: 517px;
  }
}

.sm-vision__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 16px;
  color: var(--white);
  text-align: left;
}

@media (min-width: 1024px) {
  .sm-vision__inner {
    padding: 100px;
  }
}

.sm-vision__title {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.28px;
  color: var(--white);
}

@media (min-width: 1024px) {
  .sm-vision__title {
    font-size: 36px;
    letter-spacing: -0.36px;
  }
}

.sm-vision__body {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
}

/* FAQ */
.sm-faq {
  padding: 64px 16px;
  background: var(--grey-50);
}

@media (min-width: 1024px) {
  .sm-faq {
    padding: 115px 120px;
  }
}

.sm-faq__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .sm-faq__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
    align-items: flex-start;
  }
}

.sm-faq__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .sm-faq__intro {
    flex: 0 0 431px;
  }
}

.sm-faq__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.28px;
  color: #121212;
}

@media (min-width: 1024px) {
  .sm-faq__title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.36px;
  }
}

.sm-faq__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-600);
}

@media (min-width: 1024px) {
  .sm-faq__lead {
    max-width: 386px;
  }
}

.sm-faq__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1024px) {
  .sm-faq__list {
    flex: 0 0 568px;
    max-width: 568px;
  }
}

.sm-faq__item {
  border-bottom: 1px solid var(--grey-300);
}

.sm-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sm-faq__q {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #121212;
}

.sm-faq__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

.sm-faq__icon.is-open {
  transform: rotate(180deg);
}

.sm-faq__answer {
  padding: 0 0 25px;
}

.sm-faq__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-600);
}

.sm-faq__answer[hidden] {
  display: none;
}

/* Related Pages */
.sm-related {
  padding: 64px 16px;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
}

@media (min-width: 1024px) {
  .sm-related {
    padding: 96px 120px;
  }
}

.sm-related__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.sm-related__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.28px;
  line-height: 1.3;
  color: var(--black);
}

@media (min-width: 1024px) {
  .sm-related__title {
    font-size: 36px;
    letter-spacing: -0.36px;
  }
}

.sm-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .sm-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sm-related__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.sm-related__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration) var(--ease);
}

.sm-related__card:hover {
  box-shadow: 0 8px 24px rgba(28, 1, 35, 0.08);
}

.sm-related__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
  background: #f9b3fe;
}

.sm-related__media--photo {
  background: var(--grey-200);
}

.sm-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-related__graphic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  width: 100%;
  height: 100%;
  justify-content: center;
  background: #d327fb;
  color: #fff;
}

.sm-related__graphic-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.sm-related__graphic-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  max-width: 240px;
}

.sm-related__graphic img {
  width: 64px;
  height: auto;
  margin-top: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sm-related__media--logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.sm-related__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 20px;
  flex: 1;
}

.sm-related__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--grey-500);
}

.sm-related__cat {
  color: var(--pink-600);
}

.sm-related__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: var(--black);
}

.sm-related__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-600);
}

.sm-related__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pink-600);
}

.sm-related__card:hover .sm-related__link {
  text-decoration: underline;
}

/* CTA */
.sm-cta {
  padding: 64px 16px;
  background: linear-gradient(90deg, rgba(246, 246, 246, 0.2) 0%, #f6f6f6 100%);
}

@media (min-width: 1024px) {
  .sm-cta {
    padding: 86px 120px;
  }
}

.sm-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sm-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.28px;
  color: #121212;
}

@media (min-width: 1024px) {
  .sm-cta__title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }
}

.sm-cta__lead {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-600);
}

@media (min-width: 1024px) {
  .sm-cta__lead {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
  }
}

.sm-cta__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  margin: 8px 0 28px;
}

@media (min-width: 1024px) {
  .sm-cta__stats {
    gap: 0 36px;
    margin-bottom: 36px;
  }
}

.sm-cta__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.sm-cta__stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.sm-cta__trust-icon {
  width: 32px;
  height: 32px;
}

@media (min-width: 1024px) {
  .sm-cta__trust-icon {
    width: 38px;
    height: 38px;
  }
}

.sm-cta__stat strong,
.sm-cta__stat-col strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.sm-cta__stat span,
.sm-cta__stat-col span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey-600);
}

.sm-cta__divider {
  display: none;
  width: 1px;
  height: 40px;
  background: var(--grey-300);
}

@media (min-width: 1024px) {
  .sm-cta__divider {
    display: block;
  }
}

.sm-cta__investors {
  display: none;
}

@media (min-width: 1024px) {
  .sm-cta__investors {
    display: flex;
  }
}

.sm-cta__btn {
  min-width: 220px;
}
