/*another css that written by chatgpt (dont yap or ill pull your house)*/

.home-page .community-stats,
.home-page .workspace-showcase {
  width: min(1100px, calc(100% - 40px));
  margin: 72px auto;
  scroll-margin-top: 90px;
  color: inherit;
}

.home-page .community-stats > h2,
.home-page .workspace-showcase > h2 {
  margin: 0 auto 48px;
  text-align: center;
  font-family:'Code',monospace;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.home-page .community-stats > h2 strong { font-weight: 700; }

.home-page .community-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.home-page .community-stat {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.home-page .community-stat + .community-stat { border-left: 1px solid #51515176; }
.home-page .community-stat > strong { font: 500 clamp(2rem, 4vw, 3rem)/1 'Code', monospace; letter-spacing: -.04em; }
.home-page .community-stat > span { color: rgb(168, 168, 168); font: 14px/1.5 'Code', monospace; }

.home-page .workspace-showcase { margin-top: 100px; }
.home-page .workspace-showcase > h2 { margin-bottom: 36px; }
.home-page .workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-page .workspace-card {
  position: relative;
  min-width: 0;
  min-height: 245px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #5151514d;
  border-radius: 6px;
  background: #131313b8;
  box-sizing: border-box;
  isolation: isolate;
  font-family: 'Code', monospace;
  transition: all .35s ease;
}

.home-page .workspace-card:hover { transform: translateY(-3px); border-color: #515151; }
.home-page .workspace-card-wide { grid-column: span 2; }
.home-page .workspace-card > img { position: relative; z-index: 1; display: block; width: 100%; height: 190px; object-fit: cover; object-position: top center; border: 1px solid #5151514d; border-radius: 6px; background: #161616; }
.home-page .workspace-card > h3 { position: relative; z-index: 1; margin: 16px 0 6px; font: 600 16px/1.35 'Code', monospace; }
.home-page .workspace-card > p { position: relative; z-index: 1; margin: 0; max-width: 58ch; color: rgb(168, 168, 168); font: 14px/1.55 'Code', monospace; }
.home-page .workspace-card-compact { min-height: 205px; }
.home-page .workspace-icon { position: relative; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 20px; border: 1px solid #5151514d; border-radius: 6px; background: #1b1b1b; font-size: 18px; }
.home-page .workspace-feature-list { position: relative; z-index: 1; display: grid; gap: 16px; }
.home-page .workspace-feature-list > div { display: flex; align-items: center; gap: 13px; }
.home-page .workspace-feature-list > div > i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 6px; background: #1b1b1b; }
.home-page .workspace-feature-list > div > span { display: grid; gap: 3px; }
.home-page .workspace-feature-list strong { font: 600 14px/1.3 'Code', monospace; }
.home-page .workspace-feature-list small { color: rgb(168, 168, 168); font: 12px/1.4 'Code', monospace; }
.home-page .workspace-card .bento-spotlight { z-index: 0; }

.home-page .product-switcher { display: flex; width: fit-content; max-width: calc(100% - 36px); justify-content: center; gap: 8px; margin: 0 auto 42px; }
.home-page .product-switcher button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border: 1px solid #51515176; border-radius: 6px; background: #161616; color: inherit; cursor: pointer; font: 14px/1.3 'Code', monospace; transition: all .35s ease; }
.home-page .product-switcher button:hover { border-color: #9b9b9b; background: #1b1b1b; }
.home-page .product-switcher button[aria-selected="true"] { background: #e7e7e7; border-color: #e7e7e7; color: #131313; }
.home-page .product-switcher button:focus-visible { outline: 2px solid #e7e7e7; outline-offset: 3px; }
.home-page .product-panels { display: grid; width: 100%; min-width: 0; }
.home-page .product-panel { position: static; grid-area: 1 / 1; width: 100%; min-width: 0; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .4s ease !important; }
.home-page .product-panel.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.home-page .product-panel .mtitle.right,
.home-page .product-panel .mdesc.right { left: 65%; width: 35%; }
.home-page .product-panel > .lisb.noov { display: grid; width: min(1100px, calc(100% - 32px)); max-width: 1100px; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: center; align-items: stretch; gap: 24px; margin: 0 auto; padding-left: 0; padding-right: 0; overflow: visible; box-sizing: border-box; left: auto; transform: none; }
.home-page .product-panel > .lisb.noov .ftxbox { width: 100%; min-width: 0; box-sizing: border-box; }
.home-page .product-panel .workspace-card,
.home-page .product-panel .workspace-card > img,
.home-page .product-switcher button { border-radius: 6px; }

@media (max-width: 760px) {
  .home-page .community-stats,
  .home-page .workspace-showcase { width: calc(100% - 36px); margin: 60px auto; }
  .home-page .community-stats > h2,
  .home-page .workspace-showcase > h2 { margin-bottom: 30px; font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .home-page .community-stats-grid { grid-template-columns: 1fr; }
  .home-page .community-stat { min-height: 90px; }
  .home-page .community-stat + .community-stat { border-left: 0; border-top: 1px solid #51515176; }
  .home-page .workspace-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-page .workspace-card-wide { grid-column: auto; }
  .home-page .workspace-card { min-height: 0; padding: 14px; }
  .home-page .workspace-card > img { height: 180px; }
  .home-page .product-switcher { width: calc(100% - 36px); margin-bottom: 32px; }
  .home-page .product-switcher button { flex: 1 1 0; padding: 9px 10px; }
  .home-page .product-panel > .lisb.noov { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-page .product-panel .mtitle.right,
  .home-page .product-panel .mdesc.right { left: 18px; right: auto; width: calc(100% - 36px); }
}

