/* Mobile-first marketplace home aligned with the approved product-review pages. */
.home-v2 { overflow-x: clip; }
.home-v2 :where(a, button):focus-visible {
  outline: 3px solid #0b3faf;
  outline-offset: 3px;
}

.home-v2 .header-inner { min-height: 68px; }
.home-v2 .brand img { width: 210px; height: auto; }

.home-v2-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 42px;
  background: linear-gradient(140deg, #fff 18%, #fff4df 100%);
}
.home-v2-hero::before {
  position: absolute;
  width: 470px;
  height: 470px;
  right: -210px;
  top: -250px;
  border-radius: 50%;
  background: rgba(255, 190, 75, .25);
  content: "";
}
.home-v2-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 44px;
  align-items: center;
}
.home-v2-hero-grid > * { min-width: 0; }
.home-kicker {
  margin: 0 0 10px;
  color: #0b3faf;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-v2 h1,
.home-v2 h2,
.home-v2 h3 { margin: 0; color: var(--ink); }
.home-v2 h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 4.8vw, 4.5rem);
  line-height: 1.02;
}
.home-v2 h1 span { display: block; color: #4f46c5; }
.home-summary {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.52;
}
.home-hero-action { margin-top: 20px; }
.home-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid #e98a00;
  border-radius: 9px;
  color: #17324d;
  background: linear-gradient(180deg, #ffd95a, #ffad21);
  box-shadow: 0 12px 26px rgba(191, 99, 0, .25);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.home-button:hover { background: linear-gradient(180deg, #ffe77c, #ffbd3d); }
.home-hero-action p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .75rem;
}
.home-human {
  position: relative;
  height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #eee3d3;
  box-shadow: 0 20px 44px rgba(23, 50, 77, .16);
}
.home-human img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.home-human figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 340px;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}

.home-offers { padding: 68px 0 72px; background: #fff; }
.home-section-head { max-width: 820px; margin-bottom: 34px; }
.home-section-head h2,
.home-path h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.08; }
.home-section-head > p:last-child {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.home-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-offer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 21, 47, .1);
}
.home-offer-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f2f7; }
.home-offer-image img { width: 100%; height: 100%; object-fit: cover; }
.offer-genius .home-offer-image img { object-position: 50% 42%; }
.offer-reading .home-offer-image img { object-position: 50% 46%; }
.offer-audifort .home-offer-image img { object-position: 50% 36%; }
.offer-teds .home-offer-image img { object-position: 50% 39%; }
.home-offer-image span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  color: #17324d;
  background: #ffcf45;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.home-offer-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-category {
  margin: 0 0 8px;
  color: #5d54d4;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.offer-audifort .home-category { color: #087c83; }
.offer-reading .home-category { color: #b94e2c; }
.offer-teds .home-category { color: #9a4f23; }
.home-offer-body h3 { font-size: 1.5rem; line-height: 1.1; }
.home-offer-body > p:not(.home-category) {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.52;
}
.home-offer-body > a {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid #e98a00;
  border-radius: 8px;
  color: #17324d;
  background: linear-gradient(180deg, #ffd95a, #ffad21);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.home-offer-body > a:hover { background: linear-gradient(180deg, #ffe77c, #ffbd3d); }

.home-path { padding: 62px 0; color: #fff; background: #963f1f; text-align: center; }
.home-kicker.light { color: #ffe5c8; }
.home-path h2 { max-width: 760px; margin-inline: auto; color: #fff; }
.home-path-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin: 30px 0;
}
.home-path-steps span { display: inline-flex; align-items: center; gap: 10px; }
.home-path-steps i {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #17324d;
  background: #ffcf45;
  font-size: .76rem;
  font-style: normal;
  font-weight: 700;
}
.home-path-steps strong { font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.home-path-steps b { color: #ffcf45; font-size: 1.1rem; }
.home-path .home-button { min-width: 330px; }

.home-v2 .site-footer { background: #07152f; }

@media (max-width: 900px) {
  .home-v2-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-human { max-width: 680px; }
  .home-offer-grid { grid-template-columns: 1fr; }
  .home-offer-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
  .home-offer-image { height: 100%; min-height: 310px; aspect-ratio: auto; }
}

@media (max-width: 820px) {
  .home-v2 { font-size: 17px; line-height: 1.62; }
  .home-v2 .container { width: min(calc(100% - 40px), var(--max)); }
  .home-v2 .header-inner { min-height: 60px; }
  .home-v2 .brand img { width: 164px; }
  .home-v2 .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .home-v2 .site-nav {
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    left: 20px;
    right: 20px;
    top: 60px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .home-v2 .site-nav.open { display: flex; }
  .home-v2 .site-nav a { display: flex; min-height: 48px; align-items: center; padding: 10px 12px; }
  .home-v2 .nav-cta { border: 0; }

  .home-v2-hero { padding: 14px 0 26px; }
  .home-v2-hero::before { width: 280px; height: 280px; right: -150px; top: -115px; }
  .home-v2-hero-grid { gap: 24px; }
  .home-kicker { margin-bottom: 7px; }
  .home-v2 h1 { font-size: clamp(2rem, 5vw, 2.375rem); line-height: 1.03; }
  .home-summary { margin-top: 10px; font-size: 1rem; line-height: 1.46; }
  .home-hero-action { margin-top: 12px; }
  .home-button { width: 100%; min-height: 54px; padding: 13px 14px; font-size: .92rem; }
  .home-hero-action p { text-align: center; }
  .home-human { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
  .home-human img { object-position: 50% 45%; }

  .home-offers { padding: 46px 0 50px; }
  .home-section-head { margin-bottom: 26px; }
  .home-section-head h2,
  .home-path h2 { font-size: clamp(1.9rem, 4.5vw, 2.25rem); }
  .home-offer-grid { gap: 24px; }
  .home-path { padding: 48px 0; }
  .home-path-steps {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: max-content;
    margin: 26px auto;
    gap: 7px;
    text-align: left;
  }
  .home-path-steps b { justify-self: start; margin-left: 12px; line-height: .7; transform: rotate(90deg); }
  .home-path .home-button { width: 100%; min-width: 0; max-width: 520px; }
}

@media (max-width: 700px) {
  .home-v2 h1 { font-size: clamp(2rem, 9.7vw, 2.375rem); }
  .home-offer-card { display: flex; }
  .home-offer-image { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .home-v2 .container { width: min(calc(100% - 36px), var(--max)); }
  .home-v2 .brand img { width: 154px; }
  .home-v2 h1 { font-size: clamp(2rem, 9.7vw, 2.375rem); }
  .home-offer-body { padding: 22px 18px; }
  .home-offer-body h3 { font-size: 1.4rem; }
  .home-human figcaption { left: 16px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { transition: none !important; }
}
