.cem-homepage {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 20px 78px;
  color: #172033;
}
.cem-homepage, .cem-homepage * { box-sizing: border-box; }
.cem-home-hero > *, .cem-home-section-heading > *, .cem-home-universe, .cem-home-tool-grid > a { min-width: 0; }
.cem-homepage a { text-decoration: none; }
.cem-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 38px;
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid #e5e8ee;
  border-radius: 24px;
  background: radial-gradient(circle at 92% 8%, rgba(230,59,46,.14), transparent 35%), linear-gradient(135deg, #fff8f6 0%, #fff 56%, #f4f6fa 100%);
  box-shadow: 0 14px 42px rgba(23,32,51,.08);
}
.cem-home-hero-copy h1 {
  max-width: 780px;
  margin: .18em 0 .38em;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.cem-home-hero-copy > p:last-of-type {
  max-width: 760px;
  margin: 0;
  color: #505b70;
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  line-height: 1.7;
}
.cem-home-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.cem-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid #d8dde6;
  border-radius: 11px;
  font-weight: 800;
}
.cem-home-button--primary { border-color: #e63b2e; background: #e63b2e; color: #fff !important; }
.cem-home-button--secondary { background: #fff; color: #172033 !important; }
.cem-home-proof { display: grid; gap: 10px; }
.cem-home-proof > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid rgba(218,223,232,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 5px 18px rgba(23,32,51,.04);
}
.cem-home-proof strong { font-size: .98rem; }
.cem-home-proof span { color: #687287; font-size: .87rem; line-height: 1.45; }
.cem-home-section { margin-top: 58px; }
.cem-home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.cem-home-section-heading h2 { margin: .16em 0 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.13; }
.cem-home-section-heading > p { max-width: 460px; margin: 0; color: #687287; line-height: 1.55; }
.cem-home-heading-link { flex: 0 0 auto; color: #b42318; font-weight: 800; }
.cem-home-universe-grid, .cem-home-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cem-home-universe {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23,32,51,.06);
}
.cem-home-universe::before { position: absolute; top: 0; left: 0; width: 100%; height: 5px; content: ""; background: #e63b2e; }
.cem-home-universe--tech::before { background: #3154a5; }
.cem-home-universe--games::before { background: #6d46a8; }
.cem-home-universe-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background: #fff0ed;
  color: #b42318;
  font-size: 1.1rem;
  font-weight: 900;
}
.cem-home-universe--tech .cem-home-universe-icon { background: #eef3ff; color: #3154a5; }
.cem-home-universe--games .cem-home-universe-icon { background: #f3effc; color: #6d46a8; }
.cem-home-universe p { margin: 0; color: #687287; font-size: .79rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.cem-home-universe h3 { margin: 4px 0 9px; font-size: 1.45rem; }
.cem-home-universe > span:not(.cem-home-universe-icon) { color: #596479; line-height: 1.55; }
.cem-home-universe > div { display: flex; gap: 9px; margin-top: auto; padding-top: 20px; }
.cem-home-universe a { padding: 8px 11px; border-radius: 8px; background: #f1f3f6; color: #172033; font-size: .88rem; font-weight: 800; }
.cem-home-universe a:last-child { background: #172033; color: #fff; }
.cem-home-carousel { position: relative; }
.cem-home-carousel-track {
  display: flex;
  gap: 18px;
  padding: 3px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c7cdd7 transparent;
}
.cem-home-carousel-track:focus-visible { border-radius: 18px; outline: 3px solid rgba(49,84,165,.28); outline-offset: 3px; }
.cem-home-product-card {
  display: flex;
  min-width: 0;
  flex: 0 0 clamp(250px, 25vw, 286px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(23,32,51,.07);
  scroll-snap-align: start;
}
.cem-home-product-image { position: relative; display: grid; height: 220px; place-items: center; padding: 20px; overflow: hidden; background: linear-gradient(180deg,#fff,#f8f9fb); isolation: isolate; }
.cem-home-product-image img { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 180px; object-fit: contain; transition: transform .2s ease; }
.cem-home-product-card:hover .cem-home-product-image img { transform: scale(1.025); }
.cem-home-product-image > span { color: #8a93a3; font-size: .85rem; }
.cem-home-product-pill { position: absolute; top: 12px; right: 12px; padding: 5px 9px; border-radius: 999px; background: #d9342b; color: #fff; font-size: .78rem; font-weight: 850; }
.cem-home-product-pill--new { background: #3154a5; }
.cem-home-product-body { display: flex; min-height: 230px; flex: 1; flex-direction: column; padding: 17px; border-top: 1px solid #edf0f4; }
.cem-home-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: #687287; font-size: .72rem; font-weight: 750; }
.cem-home-product-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cem-home-product-meta span:first-child { color: #b42318; text-transform: uppercase; letter-spacing: .035em; }
.cem-home-product-body h3 { display: -webkit-box; min-height: 2.7em; margin: 0 0 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 1rem; line-height: 1.35; }
.cem-home-product-body h3 a { color: #172033; }
.cem-home-product-price { display: flex; min-height: 31px; align-items: baseline; gap: 9px; margin-top: auto; white-space: nowrap; }
.cem-home-product-price strong { color: #d9342b; font-size: 1.42rem; }
.cem-home-product-price del { color: #737d8f; font-size: .82rem; }
.cem-home-product-detail { min-height: 1.4em; margin: 2px 0 13px; color: #687287; font-size: .78rem; }
.cem-home-product-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 13px; border-radius: 9px; background: #172033; color: #fff!important; font-size: .88rem; font-weight: 800; }
.cem-home-product-card--deal .cem-home-product-cta { background: #e63b2e; }
.cem-home-carousel-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 44px; height: 96px; padding: 0; place-items: center; border: 1px solid #d5d9d9; border-radius: 8px; background: rgba(255,255,255,.97); color: #172033; box-shadow: 0 2px 5px rgba(15,17,17,.22); cursor: pointer; transform: translateY(-50%); }
.cem-home-carousel-arrow span { display: block; width: 14px; height: 14px; overflow: hidden; color: transparent; font-size: 0; line-height: 0; transform: rotate(45deg); }
.cem-home-carousel-arrow span::before { display: block; width: 10px; height: 10px; border-top: 3px solid #46515f; border-right: 3px solid #46515f; content: ""; }
.cem-home-carousel-arrow--prev { left: -10px; }
.cem-home-carousel-arrow--prev span { transform: rotate(-135deg); }
.cem-home-carousel-arrow--next { right: -10px; }
.cem-homepage button.cem-home-carousel-arrow:hover,
.cem-homepage button.cem-home-carousel-arrow:focus,
.cem-homepage button.cem-home-carousel-arrow:active { border-color: #87919f; background: #fff!important; color: #172033!important; box-shadow: 0 3px 8px rgba(15,17,17,.28); outline: 0; }
.cem-homepage button.cem-home-carousel-arrow:focus-visible { outline: 3px solid rgba(49,84,165,.32); outline-offset: 3px; }
.cem-homepage button.cem-home-carousel-arrow:hover span::before,
.cem-homepage button.cem-home-carousel-arrow:focus span::before,
.cem-homepage button.cem-home-carousel-arrow:active span::before { border-color: #111820; }
.cem-home-carousel-arrow:disabled { visibility: hidden; opacity: 0; pointer-events: none; }
.cem-home-tool-grid > a {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid #e1e5eb;
  border-radius: 16px;
  background: #fff;
  color: #172033;
  box-shadow: 0 7px 22px rgba(23,32,51,.05);
}
.cem-home-tool-grid > a > span { display: grid; grid-row: 1 / 3; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: #fff0ed; color: #b42318; font-size: 1.35rem; font-weight: 900; }
.cem-home-tool-grid strong { font-size: 1.02rem; }
.cem-home-tool-grid small { margin-top: 3px; color: #687287; line-height: 1.45; }
.cem-homepage .cem-home-guides { max-width: none; margin: 58px 0 0; padding: 0; }
.cem-homepage .cem-guide-links { margin-top: 0; }

@media (max-width: 920px) {
  .cem-home-hero { grid-template-columns: 1fr; }
  .cem-home-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cem-home-universe-grid, .cem-home-tool-grid { grid-template-columns: 1fr; }
  .cem-home-universe { min-height: 230px; }
  .cem-home-carousel-arrow--prev { left: -6px; }
  .cem-home-carousel-arrow--next { right: -6px; }
}
@media (max-width: 680px) {
  .cem-homepage { padding: 20px 14px 58px; }
  .cem-home-hero { gap: 26px; padding: 27px 20px; border-radius: 18px; }
  .cem-home-hero-copy h1 { font-size: clamp(1.85rem, 9vw, 2.45rem); letter-spacing: -.025em; }
  .cem-home-actions { flex-direction: column; }
  .cem-home-button { width: 100%; }
  .cem-home-proof { grid-template-columns: 1fr; }
  .cem-home-section { margin-top: 44px; }
  .cem-home-section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .cem-home-section-heading > p { max-width: none; }
  .cem-home-universe { min-height: 0; }
  .cem-home-product-card { flex-basis: min(82vw, 286px); }
  .cem-home-product-image { height: 205px; }
  .cem-home-carousel-arrow { display: none; }
  .cem-home-tool-grid > a { padding: 17px; }
  .cem-homepage .cem-home-guides { margin-top: 44px; }
}
