.home-page-v1{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:24px 0 56px;
}

.home-section{margin-top:32px;}
.home-section__header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.home-section__eyebrow{
  font-size:12px;
  font-weight:700;
  color:#64748b;
  text-transform:uppercase;
}
.home-section__title{
  margin:4px 0 0;
  font-size:24px;
  font-weight:800;
  color:#111827;
}
.home-section__link{
  color:#b91c1c;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.home-hero-search{
  border:1px solid #e5e7eb;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 36px rgba(15,23,42,.06);
}
.home-hero-search__inner{display:flex;gap:24px;}
.home-hero-search__copy{max-width:760px;}
.home-eyebrow{
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  color:#b91c1c;
}
.home-hero-search__title{
  margin:8px 0 10px;
  font-size:clamp(28px, 4vw, 48px);
  line-height:1.08;
  color:#111827;
}
.home-hero-search__sub{
  margin:0 0 18px;
  font-size:15px;
  line-height:1.7;
  color:#4b5563;
}
.home-hero-search__form{
  display:flex;
  gap:10px;
}
.home-hero-search__input{
  flex:1;
  min-height:52px;
  border:1px solid #d1d5db;
  border-radius:16px;
  padding:0 16px;
  font-size:15px;
  background:#fff;
}
.home-hero-search__button,
.home-btn{
  min-height:52px;
  border-radius:16px;
  padding:0 18px;
  border:none;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.home-hero-search__button,
.home-btn--primary{
  background:#b91c1c;
  color:#fff;
}
.home-btn--ghost{
  border:1px solid #d1d5db;
  background:#fff;
  color:#111827;
}
.home-hero-search__quicklinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.home-quicklink,
.home-chip,
.home-shortcut-card{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  border-radius:999px;
  padding:0 14px;
  text-decoration:none;
  color:#111827;
  background:#fff;
  border:1px solid #e5e7eb;
  font-weight:700;
  font-size:14px;
}
.home-market-grid,
.home-tools-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:18px;
  align-items:start;
}
.home-panel,
.home-seller-cta,
.home-tool-card,
.home-blog-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
  align-self:start;
}
.home-panel{
  min-width:0;
  padding:18px;
}
.home-panel--compact{
  padding:16px 18px;
}
.home-panel__head{
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid #eef2f7;
}
.home-panel__head h3,
.home-tool-card h3,
.home-blog-card h3{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#111827;
}
.home-cards-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.home-card{
  display:flex;
  flex-direction:column;
  border:1px solid #e5e7eb;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.home-card__media{
  position:relative;
  aspect-ratio:4 / 3;
  background:#f3f4f6;
}
.home-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-card__body{
  display:flex;
  flex-direction:column;
  min-height:120px;
  padding:12px;
}
.home-card__title{
  display:-webkit-box;
  font-size:14px;
  font-weight:800;
  color:#111827;
  line-height:1.4;
  min-height:2.8em;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.home-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
  font-size:12px;
  color:#4b5563;
}
.home-card__price{
  margin-top:auto;
  padding-top:8px;
  font-size:15px;
  font-weight:800;
  color:#b91c1c;
}
.home-chip-grid,
.home-shortcuts-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.home-chip small{
  color:#4b5563;
  font-size:12px;
}
.home-seller-cta{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:20px;
}
.home-seller-cta__copy{
  max-width:760px;
}
.home-seller-cta__copy p{
  margin:10px 0 0;
  color:#4b5563;
  line-height:1.7;
}
.home-seller-cta__refs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.home-seller-cta__refs a{
  color:#b91c1c;
  font-size:13px;
  text-decoration:none;
}
.home-seller-cta__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  align-self:center;
  flex-shrink:0;
}
.home-tool-card{
  padding:18px;
}
.home-tool-card__note{
  margin:10px 0 0;
  color:#4b5563;
  line-height:1.7;
  font-size:14px;
}
.home-fuel-price-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.home-fuel-price{
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#f8fafc;
}
.home-fuel-price span,
.home-tool-results small{
  display:block;
  color:#4b5563;
  font-size:12px;
}
.home-fuel-price strong,
.home-tool-results strong{
  display:block;
  margin-top:4px;
  color:#111827;
  font-size:18px;
  font-weight:800;
}
.home-tool-source{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
  font-size:13px;
  color:#4b5563;
}
.home-tool-source a{
  color:#b91c1c;
  text-decoration:none;
}
.home-tool-form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.home-tool-form label{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.home-tool-form span{
  font-size:13px;
  color:#374151;
  font-weight:700;
}
.home-tool-form input,
.home-tool-form select{
  min-height:46px;
  border:1px solid #d1d5db;
  border-radius:14px;
  padding:0 14px;
  font-size:14px;
  background:#fff;
}
.home-tool-results{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.home-tool-results > div{
  padding:14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
}
.home-blog-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.home-blog-card{
  display:flex;
  flex-direction:column;
  padding:18px;
}
.home-blog-card h3{
  display:-webkit-box;
  line-height:1.35;
  min-height:2.7em;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.home-blog-card p{
  margin:10px 0 0;
  color:#4b5563;
  display:-webkit-box;
  line-height:1.7;
  font-size:14px;
  min-height:4.8em;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.home-blog-card a{
  color:#111827;
  text-decoration:none;
}
.home-blog-card__link{
  display:inline-flex;
  margin-top:auto;
  padding-top:12px;
  font-weight:700;
  color:#b91c1c !important;
}
.home-empty-state{
  padding:16px;
  border:1px dashed #d1d5db;
  border-radius:16px;
  background:#f8fafc;
  color:#4b5563;
}

@media (max-width: 1024px){
  .home-market-grid,
  .home-tools-grid,
  .home-blog-grid{
    grid-template-columns:1fr;
  }
  .home-panel__head{
    margin-bottom:12px;
    padding-bottom:10px;
  }
  .home-seller-cta{
    flex-direction:column;
    align-items:flex-start;
  }
  .home-seller-cta__actions{
    align-self:flex-start;
  }
}

@media (max-width: 768px){
  .home-page-v1{
    width:min(100%, calc(100% - 24px));
    padding:18px 0 42px;
  }
  .home-hero-search{
    padding:18px;
    border-radius:20px;
  }
  .home-hero-search__title{
    font-size:clamp(30px, 10vw, 40px);
  }
  .home-hero-search__form,
  .home-tool-form,
  .home-tool-results,
  .home-cards-grid,
  .home-fuel-price-grid{
    grid-template-columns:1fr;
  }
  .home-hero-search__form{
    display:grid;
  }
  .home-section__header{
    align-items:flex-start;
    flex-direction:column;
  }
  .home-section__title{
    font-size:22px;
  }
  .home-panel,
  .home-tool-card,
  .home-blog-card,
  .home-seller-cta{
    border-radius:18px;
  }
  .home-panel--compact{
    padding:14px 16px;
  }
  .home-card__body{
    min-height:auto;
  }
  .home-card__title,
  .home-blog-card h3,
  .home-blog-card p{
    min-height:0;
  }
  .home-shortcuts-grid{
    gap:12px 10px;
  }
  .home-shortcut-card{
    min-height:44px;
  }
  .home-seller-cta__actions{
    width:100%;
  }
  .home-seller-cta__actions .home-btn{
    flex:1 1 180px;
  }
}
