/* PHPdot site layout and chrome */
/* demo page chrome (not part of the components) */
  * { box-sizing: border-box }
  html { scroll-behavior: smooth }
  body { margin: 0; background: #171c29; color: #c9c3e6;
         font-family: Poppins, Montserrat, ui-sans-serif, system-ui, sans-serif; }
  .stage { min-height: calc(100vh - 46px); display: grid;
           grid-template-columns: 1fr minmax(300px, 440px) 1fr;
           align-items: start; gap: 26px; padding: 28px 36px; max-width: 1500px; margin: 0 auto; }
  .center-col { position: sticky; top: 0; height: calc(100vh - 56px);
                text-align: center; display: flex; flex-direction: column;
                align-items: center; justify-content: center; gap: 14px; }
  .cta-btn { display: inline-block; margin-top: .7rem; padding: .68em 1.5em;
             border: 1px solid #8368fc; border-radius: 999px; color: #fff;
             background: #8368fc; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .cta-btn:hover { background: #6d52e8; border-color: #6d52e8; }
  .center-col .phpdot-hero-mark { width: min(36vmin, 340px); }
  .center-col h1 { color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); margin: 6px 0 0; font-weight: 600; }
  .pkg-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; min-width: 0; }
  .pkg-card { display: block; background: #1e2433; border: 1px solid rgba(131, 104, 252, .16);
              border-radius: 10px; padding: 12px 13px; text-decoration: none;
              transition: border-color .15s, transform .15s; }
  .pkg-card:hover { border-color: #8368fc; transform: translateY(-2px); }
  .pkg-card h3 { margin: 0 0 5px; color: #fff; font-size: .84rem; font-weight: 600;
                 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pkg-card h3 span { color: #8368fc; font-weight: 500; }
  .pkg-card p { margin: 0 0 8px; color: #9c96b8; font-size: .76rem; line-height: 1.42;
                display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pkg-stats { display: flex; gap: 10px; color: #7a7494; font-size: .72rem; }
  .pkg-more { text-align: center; color: #8368fc; font-size: .85rem; text-decoration: none; }
  .pkg-empty { color: #9c96b8; font-size: .9rem; line-height: 1.6; margin: 4px 0 0; }
  .pkg-empty a { color: #8368fc; }
  @media (max-width: 1080px) {
    .stage { grid-template-columns: 1fr; min-height: 0; }
    .center-col { order: -1; position: static; height: auto; }
    .pkg-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  }
  .site-footer a { color: #8368fc; text-decoration: none; }
  .site-footer a:hover { text-decoration: underline; }
  .site-footer .heart { width: 14px; height: 14px; color: #8368fc;
                        display: inline-block; vertical-align: -2px; margin: 0 2px; }
  .site-footer { text-align: center; color: #56688f; font-size: .85rem;
                 padding: 13px 20px; border-top: 1px solid rgba(98, 175, 205, .12); }
