/* Taste 2.5.0 · software · Bengali market desk · full-width headline with a market panel and registration below */
.home-page { --edition-rule: var(--border); }
.site-header { background: var(--surface); }
#content.home-page > .edition-hero {
  padding-block: clamp(24px, 3.6vw, 48px);
  background: var(--surface);
}
#content.home-page > .edition-hero::before,
#content.home-page > .edition-hero::after { opacity: .25; }
#content.home-page .edition-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  grid-template-areas: "copy market" "form market";
  gap: 20px clamp(24px, 4.5vw, 64px);
  align-items: start;
}
#content.home-page .edition-hero h1 {
  max-width: 21ch;
  font-size: clamp(2rem, 3.35vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
#content.home-page .edition-hero .hero-lead { margin: 0 0 18px; max-width: 55ch; }
#content.home-page .edition-hero .hero-form-card {
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 8px;
  border-block-start: 3px solid var(--accent);
  box-shadow: none;
}
#content.home-page .edition-hero .hero-form-card::before { content: none; }
#content.home-page .edition-hero .hero-market {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  border-color: var(--ink-panel);
  background: var(--ink-panel);
  box-shadow: none;
}
.edition-market-photo {
  flex: 1 0 clamp(210px, 27vw, 420px);
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 46%;
}
#content.home-page .edition-hero .hero-market__bar { padding: 12px 16px; color: var(--on-ink); }
#content.home-page .edition-hero .hero-market :is(canvas,svg.hero-market-static) { height: clamp(134px, 15vw, 230px); }
.home-page #compare { background: var(--surface-2); }
.home-page #reviews { background: var(--surface); }
.home-page #reviews .reviews { gap: 0; border-block-start: 1px solid var(--border); }
.home-page #reviews .review {
  border: 0;
  border-block-end: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.home-page #security-block, .home-page #advantages { border-block-start: 1px solid var(--edition-rule); }
@media (max-width: 850px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  #content.home-page .edition-hero .hero-grid { grid-template-areas: "copy" "form" "market"; gap: 20px; }
  .edition-market-photo { flex-basis: 0; height: 210px; min-height: 210px; }
}

.home-page #steps .steps { gap: 0; border-block: 1px solid var(--border); }
.home-page #steps .step { border: 0; border-inline-start: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.home-page #reviews .review-photo-note { margin-block-start: 0; }
@media (min-width: 1040px) {
  .home-page #steps .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-page #reviews .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page #reviews .review { padding: 24px 28px; }
  .home-page #reviews .review:nth-child(even) { border-inline-start: 1px solid var(--border); }
}

#content.home-page > .edition-hero { background: var(--accent-tint); }
#content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); grid-template-areas: "copy copy" "market form" "proof proof"; gap: 16px; }
#content.home-page .edition-hero .hero-copy { padding-block: 0 4px; }
#content.home-page .edition-hero h1 { font-size: clamp(2.15rem, 5vw, 4.9rem); max-width: 24ch; line-height: 1.14; }
#content.home-page .edition-hero .hero-lead { max-width: 82ch; margin-bottom: 8px; }
#content.home-page .edition-hero .hero-form-card { grid-area: form; height: 100%; background: var(--surface); }
#content.home-page .edition-hero .hero-market { grid-area: market; }
.edition-market-photo { flex-basis: clamp(146px, 17vw, 240px); }
.market-proof { grid-area: proof; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block-start: 16px; border-block-start: 1px solid var(--border); }
.market-proof .hero-flags { margin: 0; }
.home-page > #steps { background: var(--surface); }
.home-page #steps .step { background: transparent; padding-inline: clamp(12px, 2vw, 26px); }
.home-page > #calculator-section, .home-page > #form-second { background: var(--accent-tint); }
.home-page > #advantages { background-image: none; }
.home-page #advantages .card { border-radius: 0; background: transparent; border-width: 1px 0 0; box-shadow: none; }
@media (max-width: 850px) {
  #content.home-page .edition-hero .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "market" "proof"; }
  .edition-market-photo { flex-basis: 180px; min-height: 180px; }
}

#content.home-page > .edition-hero { overflow: clip; }
#content.home-page .edition-hero :is(h1,.hero-title) { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
#content.home-page .edition-hero .hero-action { margin: 14px 0 0; }
#content.home-page .edition-hero .hero-action .btn { min-height: 44px; text-align: center; }
#home-application { scroll-margin-top: 110px; }
#home-application:target, .home-page :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.home-page .exchange-chip { gap: 8px; }

.home-page .exchange-brand-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.home-page > .home-calculator > .container { display: block; }
.home-page .calculator-intro { max-width: 72ch; margin-block-end: clamp(24px, 3vw, 40px); }
.home-page .home-calculator :is(.calc-wrap,.calc-widget-wrap,[data-calc-root],.calc-widget__wrapper) { width: 100%; max-width: none; min-width: 0; }

.home-page > #reviews .reviews > .review { display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; }
.home-page > #reviews .reviews .review__stats { margin-block-start: auto; }
@media (min-width: 780px) {
  .home-page > #reviews .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}

.home-page .exchange-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--border);
}
.home-page .exchange-chip {
  justify-content: flex-start;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  font-weight: 600;
}
.home-page .exchange-chip:hover { background: var(--accent-tint); }
.home-page .exchange-chip .exchange-brand-icon { border-radius: 4px; }
@media (max-width: 560px) {
  .home-page .exchange-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .exchange-chip { padding: 10px; }
}

.home-page .home-calculator .calc-widget__range { margin-inline: 0; }
