.main-container {
  margin: 0 auto 100px;
  width: 1440px;
}

h1.home-hero__title {
  color: var(--Black, #000);
  text-align: center;
  /* Display/H1 */
  font-family: Poppins;
  font-size: 80px;
  font-style: normal;
  font-weight: 700;
  line-height: 80px; /* 100% */
  letter-spacing: -2px;
}

.home-header {
  width: 100%;
  margin: 0 auto;
  background-color: var(--hero-bg, #edfafc);
}

/* ===== HERO ===== */
.home-hero {
  /* container */
  width: 100%;
  /* max-width: 1440px; */
  max-width: 100vw;
  height: 700px;
  margin: 0 auto;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: relative;

  /* background */
  background-color: var(--hero-bg, #ffc845);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.home-hero__inner {
  max-width: 736px;
  margin: 91px auto 0;
  text-align: center;
}

.home-hero__accent {
  margin-top: 10px;
  display: inline-block;
  width: 395px;
  height: 9px;
  background-image: url("../img/accents/home/header.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}

.home-hero__intro {
  max-width: 528px;
  margin: 32px auto 46px;
}

/* Buttons row */
.home-hero__cta {
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Primary (filled pink), Outline (black border on yellow) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 48px;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--500-Crea-Pink, #fa455c);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.btn:hover {
  filter: brightness(0.95);
}

.btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
}

.btn--primary {
  background: #eb5a68; /* pink-ish */
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: #000;
  border-radius: 12px;
  border: 1px solid var(--Black, #000);
}

.crea-logo-s {
  margin: 85px auto 0; /* reducing margin as requested by team */
  display: inline-block;
  width: 79px;
  height: 100px;
  background-image: url("../img/logo/crea_solid.png");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}

/* ===== PARTNERS TICKER ===== */

.partners-ticker-container {
  width: 100vw;
  margin: 0 auto;
}

.partners-ticker {
  max-width: 100%;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
  background: #edfafc; /* light cyan strip as per mock */
}

.partners-ticker__mask {
  position: relative;
  width: 100%;
  height: 110px; /* enough for 60px logos + padding */
  overflow: hidden;
  padding: 20px 0; /* vertical rhythm */
}

/* Each track runs leftward */
.partners-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 60px; /* requested gap between logos */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  animation: ticker-scroll 60s linear infinite;
  /* animation-play-state: paused; */
  padding: 0 30px;
  will-change: transform;
}

/* .partners-ticker:hover .partners-ticker__track {
  animation-play-state: running;
} */

/* One track width equals its content; second track follows seamlessly.
   You can tweak duration to control speed. */

/* Logo cell */
.partners-ticker__item {
  flex: 0 0 auto;
  height: 60px; /* requested fixed height */
  display: flex;
  align-items: center;
}
.partners-ticker__item img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none; /* keep originals; add grayscale if needed */
}

/* Infinite loop keyframes (content width approximation via translateX) */
@keyframes ticker-scroll {
  0% {
    transform: translate3d(0, -50%, 0);
  }
  100% {
    transform: translate3d(-100%, -50%, 0);
  } /* the 2nd track ensures seamless loop */
}

/* Accessibility utility */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive nudges */
@media (max-width: 1024px) {
  .home-hero {
    height: 600px;
  }
  .home-hero__inner {
    margin-top: 72px;
  }
}

/* ========== INTRO STACK ========== */
.home-intro {
  max-width: 716px;
  margin: 0 auto;
  text-align: center;
}
.home-intro p {
  font-size: 17px;
  line-height: 1.7;
  color: #2e2e2e;
}

/* ========== THEMES STACK (header + body + slider) ========== */
.themes-stack {
  width: 1240px;
  margin: 100px auto 0;
}
.themes-stack__header {
  text-align: center;
  margin-bottom: 60px;
}
.themes-stack__header h3 {
  color: var(--Black, #000);
  text-align: center;

  /* Title/H1 */
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 138.889% */
}
.themes-stack__header .accent {
  margin-top: 10px;
  display: inline-block;
  width: 286px;
  height: 9px;
  background-image: url("../img/accents/home/themes.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}
.themes-stack__header .lead {
  max-width: 720px;
  margin: 32px auto 0;
}

/* Slider rail */
.theme-slider {
  display: flex;
  gap: 32px; /* requested spacing */
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 2px 16px; /* tiny bottom to avoid shadow clipping */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge legacy */
}
.theme-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.theme-slider.is-dragging {
  cursor: grabbing;
}

/* Hide scrollbars (optional) */
.theme-slider::-webkit-scrollbar {
  height: 8px;
}
.theme-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Card */
.theme-mini {
  flex: 0 0 auto;
  width: 604px; /* fixed width */
}
.theme-mini__thumb {
  width: 100%;
  height: 460px; /* fixed height */
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Title (only link is clickable) */
.theme-mini__title {
  padding: 24px 16px;
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
}
.theme-mini__title a {
  text-decoration: none;
  color: inherit;
  border-bottom: 0;
}

/* Responsive nudge */
@media (max-width: 680px) {
  .theme-mini {
    width: 280px;
  }
  .theme-mini__thumb {
    height: 60vw;
    max-width: 280px;
  }

  .theme-slider {
  display: flex;
  gap: 14px; /* requested spacing */
  overflow-y: visible;
  padding: 8px 2px 16px; /* tiny bottom to avoid shadow clipping */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;

  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge legacy */
}
}

.exchanges-stack {
  width: 100%;
  margin: 73px auto 73px;
  padding: 100px;
  border-radius: 32px;
  /* background: #f8f8f9; */
}
.exhange-stack-wrap {
  width: 1240px;
  margin: 0 auto;
}
.exchanges-stack__head {
  margin-bottom: 20px;
}
.exchanges-stack__head h3 {
  color: var(--Black, #000);

  /* Title/H1 */
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 138.889% */
}
.exchanges-stack__head .accent {
  margin-top: 10px;
  display: inline-block;
  width: 112px;
  height: 9px;
  background-image: url("../img/accents/home/exchange_header.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}
.exchanges-stack__cardwrap {
  /* keeps the hero card from touching edges on smaller screens if needed */
  margin-top: 32px;
}

/* ===== HIGHLIGHTS ===== */
.highlights {
  width: 1240px;
  margin: 73px auto 73px;
}
.highlights__head {
  text-align: center;
  margin-bottom: 28px;
}
.highlights__head h3 {
  color: var(--Black, #000);
  text-align: center;
  /* Title/H1 */
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px; /* 138.889% */
}

.highlight-card__title.desktop-only {
  color: var(--Black, #000);
}
.highlights__head .accent {
  margin-top: 10px;
  display: inline-block;
  width: 286px;
  height: 9px;
  background-image: url("../img/accents/home/highlights.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}
.highlights__head .lead {
  margin: 32px auto 73px;
  max-width: 560px;
}

/* Row: exactly 1240px content inside .main_container */
.highlights__row {
  display: grid;
  grid-template-columns: repeat(3, 392px);
  gap: 32px; /* 32px gap -> 392*3 + 32*2 = 1240 */
  justify-content: center; /* keep centered inside container */
  padding: 0 10px;
}

/* Card */
.highlight-card__mobile-only {
  display: none;
}
.highlight-card {
  width: 392px;
  height: 280px;
}
.highlight-card__surface {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

/* Title + CTA */
.highlight-card__title {
  color: #fff;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */
  letter-spacing: -0.5px;
}

.ex-card__cta {
  font-family: Poppins;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: 0.16px;
  text-transform: uppercase;
}
.ex-card__cta:hover {
  text-decoration: underline;
}
.ex-card__cta-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 41px;
  background: #fa455c;
  align-items: center;
  justify-content: center;
}
.ex-card__cta-icon img {
  display: block;
  width: 24px;
  height: 24px;
}
/* Responsive: stack on small screens */

.quote-stack {
  width: 1440px;
  margin: 0 auto;
  padding: 100px;
  /* background-color: #f9fafb; */
  border-radius: 32px;
}

@media (max-width: 640px) {

  .highlight-card__mobile-only {
    display: flex;
    padding: 24px 8px;
    flex-direction: row;
    gap: 16px;
  }
  .highlight-card {
    width: auto;
    height: auto;
    margin-bottom: 14px;
  }
  .highlight-card__surface {
    width: auto;
    height: 280px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
  }
  .highlight-card__mobile-only .ex-card__cta {
    margin-top: 0;
  }

  h1.home-hero__title {
    color: var(--Black, #000);
    text-align: center;
    /* Display/H1 */
    font-family: Poppins;
    font-size: 32px;
    font-style: Bold;
    font-weight: 700;
    line-height: 43px; /* 100% */
    letter-spacing: -0px;
  }

  .home-hero {
    border-radius: 16px;
  }
  .home-hero__inner {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .home-hero__cta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .main-container {
    width: 100%;
    box-sizing: border-box;
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 0;
  }
  .home-intro {
    padding: 0 30px;
  }

  .home-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #2e2e2e;
  }

  .partners-ticker-container {
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .partners-ticker__mask {
    position: relative;
    width: 100vw;
    height: 140px;
    box-sizing: border-box;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    angle: 0 deg;
    opacity: 1;
    padding-right: 30px;
    padding-left: 30px;
  }

  .themes-stack {
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    padding: 0 14px;
    box-sizing: border-box;
  }
  .themes-stack__header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .themes-stack__header h3 {
    text-align: center;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
  }

  .themes-stack__header .lead {
    color: #000;
    text-align: center;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 173.333% */
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .theme-mini__title {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -1%;
  }
  .theme-mini__title a {
    text-decoration: none;
    color: inherit;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .exchanges-stack {
    width: 100%;
    max-width: 100%;
    margin: 44px auto 0;
    padding: 0;
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
  }
  .exhange-stack-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .exchanges-stack__head {
    margin-bottom: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .exchanges-stack__head h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    color: #000;
    text-align: center;
    width: 268px;
    margin: 0 auto;
  }
  h2 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
  }

  p {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 0%;
  }
  .eh-partners__label {
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
  }
  .eh-partners {
    color: #fff;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 40px;
  }

  .exchanges-stack__head .accent {
    width: 267px;
    height: 9px;
    opacity: 1;
    border-width: 8px;
    background-image: url("../img/accents/home/themes.svg");
    background-repeat: no-repeat;
    background-size: contain; /* or 'cover', depending on your art */
    background-position: left center;
  }
  .exchanges-stack__cardwrap {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .highlights {
    max-width: 100%;
    margin: 0;
    padding: 80px 30px;
    box-sizing: border-box;
  }
  .highlights__head {
    text-align: center;
    margin-bottom: 0;
  }
  .highlights__head h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    color: #000;
    text-align: center;
    /* width: 266px; */
    margin: 0 auto;
  }
  .highlights__head .accent {
    width: 267px;
    height: 9px;
    opacity: 1;
    border-width: 8px;
    background-image: url("../img/accents/home/themes.svg");
    background-repeat: no-repeat;
    background-size: contain; /* or 'cover', depending on your art */
    background-position: left center;
    margin-bottom: 20px;
  }
  .highlights__head .lead {
    color: #000;
    text-align: center;
    color: #000;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 173.333% */
    margin: 0;
  }

  .highlights__row {
    grid-template-columns: 1fr;
    padding: 0;
    margin-top: 40px;
    gap: 0;
  }

  .quote-stack__wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
  }
  .quote-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 100%;
    flex: none;
    order: 0;
    flex-grow: 0;
  }

  .home-hero__accent {
    width: 267.6268634904158px;
    height: 9px;
    angle: -0.21 deg;
    opacity: 1;
    border-width: 8px;
    background-image: url("../img/accents/home/header.svg");
    background-repeat: no-repeat;
    background-size: contain; /* or 'cover', depending on your art */
    background-position: left center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--500-Crea-Pink, #fa455c);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.2s ease;
    width: 315px;
    height: 48px;
    padding-right: 24px;
    padding-left: 24px;
    gap: 16px;
    opacity: 1;
    border-radius: 12px;
  }

  .themes-stack__header .accent {
    width: 267;
    height: 9px;
    opacity: 1;
    border-width: 8px;
    background-image: url("../img/accents/home/themes.svg");
    background-repeat: no-repeat;
    background-size: contain; /* or 'cover', depending on your art */
    background-position: left center;
  }
}
