/* desktop.css - Only applies to PC */
@media (min-width: 768px) {
  /* 1) Give the app a max content width and centre it */
  #app {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }

  body > main,
  body > header.plans-top,
  body > header.legal-top,
  body > header.orders-top,
  .plans-page, .terms-page, .privacy-page, .refund-page, .youth-page, .orders-page {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 2) Home grid: a sensible column count at 1280 */
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .discovery-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  /* 3) Chat room: cap reading width */
  .talk-guest, .talk-char {
    max-width: 70ch !important;
  }
  .talk-stage {
    max-width: 70ch !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* 4) Rails: same left edge as grid, no dead space */
  .work-rails, .home-rails {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 5) Profile: balanced side by side */
  .profile {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.3fr) !important;
    gap: 52px;
  }

  /* 6) The six new pages: capped text width, comfortable line height */
  .plans-free, .plans-table, .plans-card,
  #termsContent, #privacyContent, #refundContent, #youthContent, #ordersContent, #ordersApp {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }
}
