:root {
  --content-width: 1180px;
  --article-width: 760px;
  --space-section: clamp(2.75rem, 5vw, 4.75rem);
  --space-gutter: max(1rem, calc((100vw - var(--content-width)) / 2));
  --radius-card: 18px;
  --radius-control: 999px;
  --green: #2d6856;
  --surface-muted: #eef2ea;
  --shadow-card: 0 8px 24px rgba(23, 63, 53, .07);
}

body {
  overflow-x: hidden;
}

.site-header {
  height: 68px;
  padding-inline: var(--space-gutter);
}

.site-header nav {
  gap: clamp(.7rem, 2vw, 1.45rem);
}

.site-header nav a,
.button,
.nav-cta,
.menu-button {
  min-height: 44px;
}

.site-header nav a,
.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button,
.nav-cta {
  width: auto;
  padding: .58rem 1rem !important;
  line-height: 1.25;
}

main > section,
.page-hero {
  padding: var(--space-section) var(--space-gutter);
}

.compact-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.compact-hero h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6vw, 5.65rem);
}

.compact-hero .lede {
  margin: 0 0 1.4rem;
}

.hero-card {
  padding: 1.5rem;
  border-radius: var(--radius-card);
}

.hero-card p {
  margin: .8rem 0;
}

.hero-card strong {
  padding: .72rem 0;
}

.section-head {
  align-items: center;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.section-head > a,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.storefront-section,
.guide-promo {
  padding-block: var(--space-section);
}

.tinted,
.guide-promo {
  background: var(--surface-muted);
}

.affiliate-notice {
  width: min(calc(100% - 2rem), var(--content-width));
  max-width: var(--content-width);
  margin: 2rem auto 1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(23, 63, 53, .05);
}

.affiliate-notice p {
  max-width: 90ch;
}

.published-deal-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.published-deal-card .product-art-frame {
  border-bottom: 1px solid var(--line);
}

.published-deal-card .deal-actions .button {
  min-width: 96px;
}

.deal-carousel {
  gap: 1rem;
  padding-bottom: .75rem;
}

.carousel-arrow {
  box-shadow: 0 8px 22px rgba(23, 63, 53, .16);
}

.page-hero {
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: .85rem;
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: .98;
}

.page-hero > p:last-child {
  margin: 0;
  font-size: 1.05rem;
}

.page-content > .published-deal-grid,
.page-content > .category-grid,
.page-content > .empty-state,
.page-content > .evidence-note,
.page-content > .notice,
.page-content > .prose,
.page-content > .affiliate-notice {
  margin-inline: auto;
}

.page-content > .published-deal-grid,
.page-content > .category-grid,
.page-content > .empty-state,
.page-content > .evidence-note {
  width: min(100%, var(--content-width));
}

.evidence-note,
.empty-state,
.notice {
  border-radius: 12px;
}

.evidence-note {
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border: 1px solid #cfdbd5;
  background: #f3f6f2;
  color: var(--ink-2);
}

.empty-state {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed #aebbb5;
  background: #fff;
  text-align: center;
}

.empty-state > span {
  font-size: 1.8rem;
}

.empty-state h2 {
  margin: .4rem 0;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}

.empty-state p {
  margin: 0;
  color: var(--ink-2);
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 280px));
  justify-content: start;
  gap: .85rem;
}

.category {
  min-height: 130px;
  padding: 1rem 1.1rem;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(23, 63, 53, .04);
}

.category h3 {
  margin: .25rem 0;
  font-size: 1.12rem;
}

.category > span {
  font-size: 1.2rem;
}

.category-controls {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 1.5rem auto 0;
  gap: .75rem;
  padding: .85rem;
  border-radius: 14px;
  background: #fff;
}

.category-controls label {
  font-size: .82rem;
}

.category-controls select,
.category-controls input {
  min-height: 44px;
  padding: .5rem .6rem;
}

.prose,
.article-prose {
  max-width: var(--article-width);
  font-size: 1rem;
  line-height: 1.72;
}

.prose h2,
.article-prose h2 {
  margin: 2.25rem 0 .7rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.prose h3,
.article-prose h3 {
  margin: 1.5rem 0 .5rem;
}

.prose p,
.article-prose p {
  max-width: 72ch;
  margin-block: .7rem;
}

.article-summary {
  margin-bottom: 1.75rem;
  padding: .75rem 0 .75rem 1rem;
  border-left-width: 4px;
  font-size: 1.12rem;
}

.related-guides {
  margin-top: 2.25rem;
  padding: 1.15rem;
  border-radius: 14px;
}

.principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.principles article {
  padding: 1rem;
}

.method {
  gap: clamp(2rem, 6vw, 5rem);
}

.method h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.method li {
  padding: 1rem 0;
}

.deal-detail-section {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.deal-review-notice,
.deal-detail {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.deal-review-notice {
  margin-bottom: 1rem;
}

.deal-detail {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.deal-detail-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.deal-detail-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 460px;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.deal-detail-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  width: 100%;
  color: #60716b;
  background: linear-gradient(145deg, #eef1eb, #dbe3dc);
  font-size: .72rem;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.deal-detail-content {
  min-width: 0;
}

.deal-detail-content .sample-label {
  margin: 0 0 .45rem;
}

.deal-detail-content h1 {
  margin: 0 0 .8rem;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.deal-detail-summary {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

.deal-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1rem 0;
  border-top: 1px solid var(--line);
}

.deal-detail-meta > div {
  min-width: 0;
  padding: .65rem .75rem .65rem 0;
  border-bottom: 1px solid var(--line);
}

.deal-detail-meta dt {
  color: #657871;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deal-detail-meta dd {
  margin: .15rem 0 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.deal-detail-meta .deal-current-price dd {
  font-size: 1.65rem;
  line-height: 1.1;
}

.deal-specific-disclosure {
  margin: .8rem 0;
  color: var(--ink-2);
  font-size: .82rem;
}

.deal-detail .affiliate-notice {
  width: 100%;
  margin: .85rem 0;
}

.deal-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

.deal-detail-actions .button {
  width: auto;
  min-width: 110px;
}

.deal-category-link {
  margin: .8rem 0 0;
  font-size: .88rem;
  font-weight: 750;
}

footer {
  padding: 3rem var(--space-gutter) 1.25rem;
}

.footer-top {
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-bottom {
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (max-width: 900px) {
  :root {
    --space-gutter: 1.25rem;
  }

  .compact-hero,
  .deal-detail {
    grid-template-columns: 1fr;
  }

  .compact-hero {
    gap: 2rem;
  }

  .hero-card {
    max-width: 560px;
  }

  .deal-detail-media {
    min-height: 300px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-top > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 2.5rem;
    --space-gutter: 1rem;
  }

  .site-header {
    height: 64px;
  }

  .site-header nav {
    top: 63px;
  }

  .compact-hero {
    padding-block: 3rem;
  }

  .compact-hero h1 {
    font-size: clamp(2.75rem, 15vw, 3.6rem);
  }

  .section-head {
    gap: .5rem;
  }

  .section-head > a {
    margin-top: -.2rem;
  }

  .affiliate-notice,
  .category-controls {
    width: calc(100% - 2rem);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: 0;
  }

  .principles,
  .deal-detail-meta {
    grid-template-columns: 1fr;
  }

  .deal-detail-media {
    min-height: 240px;
    padding: .75rem;
  }

  .deal-detail-image {
    max-height: 300px;
  }

  .deal-detail-placeholder {
    min-height: 220px;
  }

  .deal-detail-content h1 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .deal-detail-actions .button {
    flex: 0 1 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 1.05rem;
  }

  .deal-detail-actions .button {
    flex: 1 1 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deal-carousel {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .carousel-arrow,
  .category {
    transition: none;
  }
}

/* PW1 public marketplace experience */
.page-home {
  background: #f7f8f5;
}

.page-home main {
  overflow: clip;
}

.page-home .site-header {
  border-bottom-color: rgba(31, 58, 51, .09);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.marketplace-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 68px));
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 25%, rgba(183, 244, 95, .2), transparent 28%),
    radial-gradient(circle at 56% 75%, rgba(51, 119, 98, .1), transparent 32%),
    linear-gradient(135deg, #fbfcf8 0%, #f1f5ef 52%, #e7eee8 100%);
}

.marketplace-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .45;
  background-image: linear-gradient(rgba(29, 64, 54, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 64, 54, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-copy {
  max-width: 760px;
}

.marketplace-hero h1 {
  max-width: 850px;
  margin: .35rem 0 1.1rem;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .89;
  letter-spacing: -.072em;
}

.marketplace-hero h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.marketplace-hero .lede {
  max-width: 650px;
  margin: 0 0 1.4rem;
  color: #53655f;
  font-size: clamp(1.03rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.marketplace-search {
  position: relative;
  display: grid;
  max-width: 690px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  padding: .35rem;
  border: 1px solid rgba(31, 74, 61, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(27, 62, 52, .13);
}

.marketplace-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 104, 86, .15), 0 18px 50px rgba(27, 62, 52, .13);
}

.marketplace-search .search-icon {
  display: grid;
  color: #63756f;
  place-items: center;
}

.marketplace-search .search-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.marketplace-search input {
  min-width: 0;
  min-height: 52px;
  padding: 0 .35rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.marketplace-search > button {
  min-height: 48px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.marketplace-search > button:hover,
.marketplace-search > button:focus-visible {
  background: var(--green, #2d6856);
}

.search-popover {
  position: absolute;
  z-index: 10;
  top: calc(100% + .5rem);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 74, 61, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(27, 62, 52, .18);
}

.search-status {
  margin: 0;
  padding: .75rem 1rem;
  color: #62736d;
  font-size: .82rem;
}

.search-popover ul {
  max-height: 290px;
  margin: 0;
  overflow-y: auto;
  padding: 0 .4rem .4rem;
  list-style: none;
}

.search-popover li a {
  display: grid;
  gap: .12rem;
  padding: .72rem;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
}

.search-popover li a:hover,
.search-popover li a[aria-selected="true"] {
  background: #eef5ef;
}

.search-popover li small {
  color: #65776f;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  gap: .65rem;
  margin-top: 1.25rem;
}

.hero-actions .button {
  min-height: 50px;
  padding-inline: 1.2rem !important;
}

.hero-proof {
  gap: .75rem 1.35rem;
  margin-top: 1.5rem;
  color: #61736d;
  font-size: .83rem;
}

.hero-proof span {
  position: relative;
  padding-left: .9rem;
}

.hero-proof span::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58a649;
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-orbit {
  position: absolute;
  top: 8%;
  right: 1%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(42, 97, 80, .16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 35%, rgba(255, 255, 255, .38) 36% 54%, transparent 55%);
  box-shadow: inset 0 0 0 40px rgba(255, 255, 255, .18);
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  inset: 18%;
  border: 1px dashed rgba(42, 97, 80, .24);
}

.hero-orbit::after {
  top: 7%;
  right: 23%;
  width: 32px;
  height: 32px;
  background: var(--lime);
  box-shadow: 0 0 0 9px rgba(183, 244, 95, .23);
}

.hero-price-card,
.hero-trust-card {
  position: absolute;
  border: 1px solid rgba(31, 74, 61, .12);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 55px rgba(27, 62, 52, .16);
  backdrop-filter: blur(12px);
}

.hero-price-card {
  top: 23%;
  left: 2%;
  display: grid;
  width: min(290px, 78%);
  gap: .45rem;
  padding: 1.45rem;
  border-radius: 22px;
  transform: rotate(-2deg);
}

.hero-price-card span,
.hero-price-card small,
.hero-trust-card small {
  color: #65776f;
}

.hero-price-card span {
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-price-card strong {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -.06em;
}

.hero-trust-card {
  right: 0;
  bottom: 19%;
  display: flex;
  max-width: 280px;
  gap: .8rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 16px;
}

.hero-trust-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  place-items: center;
}

.hero-trust-card div {
  display: grid;
  gap: .15rem;
}

.featured-deal-section {
  background: #fff;
}

.featured-deal {
  display: grid;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  border: 1px solid rgba(31, 74, 61, .12);
  border-radius: 28px;
  background: linear-gradient(135deg, #f2f6ef, #fff);
  box-shadow: 0 28px 70px rgba(25, 61, 51, .11);
}

.featured-deal-media {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: clamp(1.5rem, 4vw, 3rem);
  place-items: center;
  background: #f3f5f0;
}

.featured-deal-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.featured-placeholder {
  color: #65776f;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-discount {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: .5rem .7rem;
  border-radius: 999px;
  background: var(--lime);
  color: #17362e;
  font-size: .78rem;
  font-weight: 900;
}

.featured-deal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.editorial-pill {
  display: inline-flex;
  width: fit-content;
  gap: .42rem;
  align-items: center;
  margin: .5rem 0 1rem;
  padding: .4rem .7rem;
  border: 1px solid #cbdad1;
  border-radius: 999px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
}

.featured-deal-content h2 {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.featured-merchant,
.featured-summary,
.featured-verified {
  color: #5c6e68;
}

.featured-merchant {
  margin: 0 0 1.1rem;
}

.featured-price {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: baseline;
}

.featured-price strong {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.06em;
}

.featured-price s {
  color: #788882;
  font-size: 1.15rem;
}

.featured-savings {
  width: fit-content;
  margin: .35rem 0 1rem;
  padding: .52rem .7rem;
  border-radius: 9px;
  background: #e8f4df;
  color: #31572d;
  font-size: .83rem;
}

.featured-summary {
  max-width: 60ch;
  line-height: 1.65;
}

.featured-verified {
  margin: .4rem 0 1.2rem;
  font-size: .8rem;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.storefront-section,
.category-marketplace-section,
.trust-section,
.newsletter-section {
  position: relative;
}

.page-home .storefront-section:nth-of-type(even) {
  background: #fff;
}

.section-head > div > p:last-child {
  max-width: 62ch;
  margin: .45rem 0 0;
  color: #63746f;
}

.published-deal-card {
  overflow: hidden;
  border-color: rgba(31, 74, 61, .11);
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 58, 49, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.published-deal-card:hover {
  border-color: rgba(47, 112, 91, .28);
  box-shadow: 0 20px 46px rgba(24, 58, 49, .14);
  transform: translateY(-4px);
}

.published-deal-card .product-art-frame {
  background: linear-gradient(145deg, #f8f9f5, #eff3ed);
}

.deal-card-flags {
  display: flex;
  min-height: 29px;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}

.discount-badge {
  display: inline-flex;
  padding: .28rem .48rem;
  border-radius: 999px;
  background: #e7f5dc;
  color: #35622d;
  font-size: .69rem;
  font-weight: 850;
}

.published-deal-card .price-row {
  align-items: baseline;
}

.published-deal-card .price-row strong {
  color: var(--green);
  letter-spacing: -.04em;
}

.published-deal-card .price-row s {
  color: #7a8b85;
  font-size: .85rem;
}

.published-deal-card .saving span {
  color: #71817c;
}

.published-deal-card .deal-actions .button:first-child {
  background: var(--ink);
}

.published-deal-card .deal-actions .button:first-child:hover {
  background: var(--green);
}

.category-marketplace-section {
  background: #15362d;
  color: #fff;
}

.category-marketplace-section .eyebrow,
.category-marketplace-section .section-head > div > p:last-child {
  color: #b9d1c8;
}

.category-marketplace-section .section-head > a {
  color: #fff;
}

.marketplace-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.marketplace-category {
  display: grid;
  min-width: 0;
  min-height: 108px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.marketplace-category:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateY(-2px);
}

.category-glyph {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime);
  color: #18372f;
  font-size: .78rem;
  font-weight: 950;
  place-items: center;
}

.marketplace-category > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: .25rem;
}

.marketplace-category strong {
  font-size: 1rem;
}

.marketplace-category small {
  overflow: hidden;
  color: #bad0c8;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-arrow {
  color: var(--lime);
}

.trust-section {
  background: #fff;
}

.section-head.centered {
  justify-content: center;
  text-align: center;
}

.section-head.centered > div > p:last-child {
  margin-inline: auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.trust-grid article {
  min-width: 0;
  padding: 1.3rem;
  border: 1px solid #dde5df;
  border-radius: 16px;
  background: #fbfcfa;
}

.trust-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e8f5df;
  color: #35622d;
  font-weight: 900;
  place-items: center;
}

.trust-grid h3 {
  margin: .85rem 0 .35rem;
  font-size: 1.08rem;
}

.trust-grid p {
  margin: 0;
  color: #61736d;
  font-size: .88rem;
  line-height: 1.55;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  background: linear-gradient(120deg, #edf5e8, #f7f8f5);
}

.newsletter-section h2 {
  max-width: 620px;
  margin: .3rem 0 .7rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.newsletter-section > div > p:last-child {
  max-width: 58ch;
  color: #5d7068;
}

.newsletter-section form {
  padding: 1.25rem;
  border: 1px solid #d3dfd6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 45px rgba(30, 67, 56, .08);
}

.newsletter-section label {
  display: block;
  margin-bottom: .45rem;
  font-size: .82rem;
  font-weight: 800;
}

.newsletter-section form > div {
  display: flex;
  gap: .5rem;
}

.newsletter-section input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 0 .85rem;
  border: 1px solid #bccbc1;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.newsletter-status {
  margin: .65rem 0 0;
  color: #63746f;
  font-size: .77rem;
}

@media (min-width: 1600px) {
  :root {
    --content-width: 1500px;
  }

  .marketplace-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  }

  .marketplace-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .marketplace-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
    gap: 2rem;
  }

  .marketplace-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .marketplace-hero,
  .featured-deal,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .marketplace-hero {
    min-height: 0;
    padding-top: 3.5rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-orbit {
    top: -15%;
    right: 8%;
    width: 300px;
  }

  .hero-price-card {
    top: 8%;
    left: 8%;
  }

  .hero-trust-card {
    right: 8%;
    bottom: 8%;
  }

  .featured-deal-media {
    min-height: 330px;
  }

  .featured-deal-content {
    padding: 2rem;
  }

  .marketplace-category-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .marketplace-hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .marketplace-search {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .marketplace-search > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: .5rem;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-orbit {
    right: -25%;
  }

  .hero-price-card {
    left: 0;
    width: 72%;
  }

  .hero-trust-card {
    right: 0;
  }

  .featured-deal {
    border-radius: 20px;
  }

  .featured-deal-media {
    min-height: 260px;
    padding: 1.25rem;
  }

  .featured-deal-media img {
    max-height: 230px;
  }

  .featured-deal-content {
    padding: 1.35rem;
  }

  .featured-deal-content h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .marketplace-category-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-category {
    min-height: 88px;
  }

  .newsletter-section form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .newsletter-section form .button {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .marketplace-hero h1 {
    font-size: 2.75rem;
  }

  .hero-visual {
    min-height: 245px;
  }

  .hero-price-card {
    padding: 1rem;
  }

  .hero-trust-card {
    max-width: 230px;
    padding: .8rem;
  }
}

@media (hover: none) {
  .published-deal-card:hover,
  .marketplace-category:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .published-deal-card,
  .marketplace-category {
    transition: none;
  }
}
