/* Homepage only; community pages keep the shared theme. */
html body.product-site { letter-spacing: 0; }
.product-site .product-shell { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 36px; width: min(1360px, calc(100% - 48px)); margin: 30px auto 40px; align-items: start; min-height: calc(100vh - 210px); }
.product-sidebar { position: sticky; top: 86px; }
.mobile-sections summary { display: none; }
.explore-nav { display: grid; gap: 5px; }
.explore-nav a { display: flex; align-items: center; min-height: 48px; padding: 13px 14px; font-size: 15px; font-weight: 600; color: var(--rg-muted); border: 1px solid transparent; border-radius: 6px; transition: background .15s, color .15s; }
.explore-nav a:hover { background: rgba(16, 41, 65, .8); color: var(--rg-text); }
.explore-nav a[aria-current] { background: linear-gradient(100deg, #142f49, #0b1a2b); border-color: var(--rg-line); color: var(--rg-gold-2); box-shadow: inset 3px 0 var(--rg-gold); }
.sidebar-store { margin-top: 22px; }
.product-content { min-width: 0; padding-left: 30px; border-left: 1px solid var(--rg-line); }
.product-view { display: none; scroll-margin-top: 85px; }
.product-view.is-current { display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-artwork { display: block; width: 100%; height: auto; border: 1px solid var(--rg-line); border-radius: 8px; }
.product-site .home-introduction { margin: 24px 0 20px; font-size: 17px; line-height: 1.75; max-width: 900px; }
.home-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: 28px; }
.home-destinations > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rg-line); }
.home-destinations strong { display: block; color: var(--rg-gold-2); font-size: 16px; }
.home-destinations strong + span { display: block; margin-top: 7px; font-size: 14px; line-height: 1.65; color: var(--rg-muted); }
.home-destinations > a > span:last-child { color: var(--rg-gold); transition: transform .15s; }
.home-destinations > a:hover > span:last-child { transform: translateX(4px); }
.home-destinations > a:hover strong { color: var(--rg-gold); }
.view-heading { margin-bottom: 24px; }
html body.product-site .view-heading h1 { color: var(--rg-gold); font-size: 36px; line-height: 1.15; margin: 0 0 13px; letter-spacing: 0; }
.product-site .view-heading p { font-size: 16px; line-height: 1.7; margin: 0; max-width: 760px; }
.overview-actions { display: flex; align-items: center; gap: 14px 24px; margin-bottom: 26px; flex-wrap: wrap; }
.platform-note { font-size: 12px; line-height: 1.8; color: var(--rg-muted); }
html body.product-site .store-button { width: 290px !important; min-height: 64px !important; border-radius: 10px !important; padding: 9px 15px !important; }
html body.product-site .store-button img { width: 40px; height: 40px; flex-basis: 40px; }
html body.product-site .store-button small { font-size: .9rem; }
html body.product-site .store-button strong { font-size: 1.4rem; }
html body.product-site .sidebar-store.store-button { width: 100% !important; height: 48px !important; min-height: 48px !important; padding: 7px 10px !important; gap: 9px !important; border-radius: 6px !important; }
html body.product-site .sidebar-store.store-button img { width: 30px !important; height: 30px !important; flex: 0 0 30px !important; }
html body.product-site .sidebar-store.store-button small { font-size: 11px !important; }
html body.product-site .sidebar-store.store-button strong { font-size: 18px !important; }
.app-shot { margin: 0 0 22px; }
.app-shot > a { display: block; border: 1px solid var(--rg-line); border-radius: 8px; overflow: hidden; background: #050d18; cursor: zoom-in; transition: border-color .15s; }
.app-shot > a:hover { border-color: var(--rg-gold); }
.app-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.app-shot figcaption { padding-top: 9px; font-size: 12px; color: var(--rg-muted); }
.fact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 18px; border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); }
.fact-strip > div { padding: 16px 16px 16px 0; }
.fact-strip > div + div { padding-left: 16px; border-left: 1px solid var(--rg-line); }
.fact-strip dt { font-size: 14px; color: var(--rg-gold-2); font-weight: 700; }
.fact-strip dd { font-size: 13px; line-height: 1.65; color: var(--rg-muted); margin: 6px 0 0; }
.product-site .requirement-note { padding: 12px 16px; border-left: 2px solid var(--rg-gold); background: rgba(9, 35, 60, .65); font-size: 13px; line-height: 1.7; margin: 18px 0 24px; }
.feature-rows { margin: 22px 0 28px; }
.feature-rows > div { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--rg-line); }
.feature-rows dt { font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--rg-gold-2); }
.feature-rows dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--rg-muted); }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--rg-line); margin: 8px 0 22px; }
html body.product-site .gallery-tabs button { appearance: none; min-width: 130px !important; min-height: 54px !important; padding: 14px 22px !important; margin: 0 0 -1px !important; color: var(--rg-text) !important; background: #0b1a2b !important; border: 1px solid var(--rg-line) !important; border-bottom: 3px solid var(--rg-line) !important; border-radius: 6px 6px 0 0 !important; font: 700 16px/1.35 "Segoe UI", Arial, sans-serif !important; box-shadow: none !important; transition: background-color .12s, color .12s !important; cursor: pointer; }
html body.product-site .gallery-tabs button:hover { color: var(--rg-gold-2) !important; background: #183751 !important; border-color: var(--rg-gold) !important; }
html body.product-site .gallery-tabs button[aria-selected="true"] { color: var(--rg-gold-2) !important; background: #183751 !important; border-bottom-color: var(--rg-gold) !important; }
.product-site [hidden] { display: none !important; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.plan { padding: 22px; border: 1px solid var(--rg-line); border-radius: 8px; background: linear-gradient(145deg, rgba(16, 41, 65, .88), rgba(5, 15, 27, .9)); }
html body.product-site .plan h2 { margin: 0; font-size: 22px; color: var(--rg-gold); letter-spacing: 0; }
.product-site .plan-price { font-size: 30px; color: var(--rg-text); font-weight: 700; line-height: 1.4; margin: 14px 0; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--rg-muted); }
.plan p:last-child { font-size: 14px; margin-bottom: 0; }
html body.product-site .subheading { font-size: 23px; color: var(--rg-gold); margin: 32px 0 0; letter-spacing: 0; }
.product-site .detail-note, .product-site .legal-note { font-size: 13px; line-height: 1.75; }
.product-site .legal-note { border-top: 1px solid var(--rg-line); padding-top: 20px; }
.product-site .home-footer { margin-top: 0; }
.screenshot-dialog { width: min(1500px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 48px 12px 12px; border: 1px solid var(--rg-line); border-radius: 8px; background: #050d18; color: var(--rg-text); }
.screenshot-dialog::backdrop { background: rgba(0, 4, 12, .9); }
.screenshot-dialog > img { display: block; width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.screenshot-dialog > p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; margin: 10px 4px 0; }
.screenshot-dialog [data-original] { color: var(--rg-gold); text-decoration: underline; text-underline-offset: 3px; }
html body.product-site .close-screenshot { position: absolute; top: 5px; right: 9px; width: 38px; height: 38px; min-height: 38px !important; padding: 0 !important; font: 28px/1 Arial, sans-serif !important; }
.product-site :focus-visible { outline: 2px solid var(--rg-gold); outline-offset: 4px; }
@media (max-width: 800px) {
  .product-site .product-shell { grid-template-columns: 1fr; gap: 22px; width: calc(100% - 28px); margin-top: 18px; }
  .product-sidebar { position: static; }
  .mobile-sections { border: 1px solid var(--rg-line); border-radius: 6px; background: rgba(9, 25, 44, .95); }
  .mobile-sections summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; min-height: 46px; cursor: pointer; color: var(--rg-gold-2); font-size: 14px; list-style: none; }
  .mobile-sections summary::-webkit-details-marker { display: none; }
  .mobile-sections[open] summary { border-bottom: 1px solid var(--rg-line); }
  .explore-nav { padding: 8px; }
  .explore-nav a { min-height: 44px; }
  html body.product-site .sidebar-store.store-button { display: none !important; }
  .home-destinations { grid-template-columns: 1fr; margin-top: 20px; }
  .product-site .home-introduction { font-size: 16px; margin-top: 20px; }
  .product-content { padding-left: 0; border-left: 0; }
  html body.product-site .view-heading h1 { font-size: 30px; }
  .product-site .view-heading p { font-size: 15px; }
  .platform-note { width: 100%; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div, .fact-strip > div + div { padding: 12px 0; border-left: 0; }
  .fact-strip > div + div { border-top: 1px solid var(--rg-line); }
  .feature-rows > div { grid-template-columns: 1fr; gap: 5px; padding: 15px 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .gallery-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.product-site .gallery-tabs button { min-width: 0 !important; height: 60px !important; padding: 10px 12px !important; font-size: 15px !important; }
  .screenshot-dialog { width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { .product-site *, .product-site *::before, .product-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
