/* Final review: readable typography and the requested product layouts. */
html { font-size: 16px; }
body { font-size: 1rem; }
p { color: #6d6065; }
.mono, .eyebrow, .page-mark, .card-top, .hero-meta, .project-count { font-size: .75rem; letter-spacing: .09em; }
.page-mark { height: auto; min-height: 52px; gap: 24px; padding: 14px 0; flex-wrap: wrap; }
.page-mark .mark-left { gap: 12px; flex-wrap: wrap; }
.page-mark .mono { font-size: .75rem; }
.desktop-nav, .language-switch, .console-link, .text-link { font-size: .875rem; }
.header-actions { gap: 18px; }
.console-link { padding: 10px 14px; white-space: nowrap; }
.brand-name { font-size: 1.6rem; }
.brand-name small { font-size: .6875rem; }
.button { font-size: .9375rem; gap: 12px; padding: 13px 18px; min-height: 48px; justify-content: center; }
.button.primary { background: #a70f27; border-color: #a70f27; }
.service-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.primary .service-icon { filter: invert(1); }
.hero-copy > p, .section-head p, .page-intro > p, .about-intro, .principle p, .support-band p, .feature p, .download-section p, .faq-list details p, .support-method p, .contribution p { font-size: 1rem; line-height: 1.85; }
.home-hero { grid-template-columns: 1.1fr 1fr; gap: 65px; min-height: 580px; }
.home-hero h1, .project-hero h1 { font-family:var(--site-font); font-weight: 650; font-size: clamp(2.75rem, 2rem + 2.8vw, 4.5rem); line-height: 1.13; letter-spacing: -.05em; }
.home-hero h1 em, .project-hero h1 em { font-style: normal; }
.home-hero .hero-copy > p { max-width: 580px; }
.home-hero .hero-copy { padding: 64px 0; }
.hero-project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; padding: 50px 15px; }
.gallery-project { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-size: 1rem; min-width: 0; transition: transform .2s; }
.gallery-project:hover { transform: translateY(-4px); color: #a70f27; }
.gallery-project > span { font-family:var(--site-font); font-size: 1rem; letter-spacing: -.025em; }
.gallery-project small { font-size: .75rem; color: #74636a; }
.gallery-project .project-icon { width: 108px; height: 108px; border-radius: 18px; object-fit: contain; }
.gallery-project .project-icon-spmcloud { padding: 15px; border: 1px solid #e6d7dd; background: #fff; }
.gallery-store-badge { width: 126px; height: auto; margin-top: -1px; }
.hero-meta { color: #74636a; gap: 20px; flex-wrap: wrap; }
.card-copy p, .platforms, .card-link, .footer-col a, .footer-brand p, .footer-bottom, .download-note, .download-option small, .voluntary, .qr-dialog p { font-size: .875rem !important; color: #716069; }
.card-copy h3 { font-size: 1.5rem; min-height: 0; }
.card-copy { padding: 22px; }
.card-link { color: #a70f27; }
.platforms { font-family:var(--site-font); text-transform: none; letter-spacing: 0; line-height: 1.7; }
.card-top { padding: 13px 18px; }
.card-preview { position: relative; aspect-ratio: 16 / 10; background: #fdf8f9; margin-bottom: 14px; }
.card-preview > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.card-preview > .project-icon { position: absolute; width: 58px; height: 58px; bottom: -18px; left: 22px; border-radius: 12px; border: 3px solid #fff; background: #fff; }
.card-preview .project-icon-spmcloud { padding: 9px; }
.card-art { height: auto; aspect-ratio: 16 / 10; margin-bottom: 14px; }
.card-art .project-icon { width: 108px; height: 108px; }
.card-store-badge { width: 145px; height: auto; margin-top: 13px; }
.listing-grid .project-card { display: flex; min-height: 0; }
.listing-grid .project-card[hidden] { display: none; }
.listing-grid .card-top { position: static; }
.listing-grid .card-art { margin-top: 0; height: auto; }
.listing-grid .card-copy { padding: 28px; }
.listing-grid .card-preview { aspect-ratio: 16 / 9; }
.listing-grid .card-copy h3 { font-size: 1.8rem; }
.principle h3, .compatibility h3 { font-size: 1rem; }
.feature h3 { font-size: 1.5rem; }
.support-band .mono.note { font-size: .75rem; color: #74636a; }
.filter { font-size: .9375rem; padding: 8px 15px; }
.project-hero { display: flex; flex-direction: column; text-align: center; gap: 0; padding: 54px 0 48px; min-height: 0; }
.centered-project-icon { display: flex; justify-content: center; }
.centered-project-icon .project-icon { width: 112px; height: 112px; border-radius: 18px; }
.centered-project-icon .project-icon-spmcloud { padding: 14px; background: #fff; border: 1px solid #e6d7dd; }
.project-title-row { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1.375rem; font-weight: 600; margin: 22px 0 6px; }
.project-index { display: inline-grid; place-items: center; background: #a70f27; color: #fff; padding: 3px 9px; font-family:var(--site-font); font-size: .8125rem; }
.project-hero .hero-copy { padding: 0; width: 100%; }
.project-hero .eyebrow { justify-content: center; margin-top: 17px; font-size: .75rem; }
.project-hero .hero-copy h1 { max-width: 1050px; margin: 28px auto 24px; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.4rem); }
.project-hero .hero-copy > p { max-width: 760px; margin: 0 auto; }
.project-hero .actions { justify-content: center; margin-top: 32px; }
.project-hero .hero-meta { justify-content: center; margin-top: 27px; }
.other-downloads { display: inline-block; margin-top: 24px; border-bottom: none; }
.store-primary { display: flex; flex-direction: column; gap: 7px; border-color: #a70f27; }
.store-badge { width: 161px; height: 44px; object-fit: contain; }
.store-primary > span:not(.arrow) { font-size: .8125rem; }
.store-primary > .arrow { display: none; }
.project-tabs { font-size: .875rem; gap: 28px; flex-wrap: wrap; }
.screenshots-section { padding: 0 0 65px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.screenshot-grid.single-shot { grid-template-columns: 1fr; }
.screenshot-frame { margin: 0; border: 1px solid #e7d9dc; background: #fff; overflow: hidden; }
.screenshot-frame img { width: 100%; height: auto; }
.screenshot-frame figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 18px; border-top: 1px solid #e7d9dc; font-size: .8125rem; color: #716069; }
.download-options { gap: 14px; }
.download-option { justify-content: flex-start; gap: 18px; padding: 20px; }
.download-option > span:not(.arrow) { min-width: 0; }
.download-option > .arrow { margin-left: auto; }
.download-option strong { font-size: 1rem; }
.download-option small { font-size: .8125rem !important; }
.store-option { border-color: #a70f27; flex-wrap: wrap; }
.store-option .store-badge { flex-shrink: 0; }
.faq-list summary { font-size: 1rem; }
.sponsor-logo { width: 42px; height: 42px; object-fit: contain; margin-bottom: 22px; }
.support-method { min-height: 310px; }
.support-method h3 { font-size: 1.5rem; }
.support-method a, .support-method button { font-size: .9375rem; }
.sponsor-art { width: 100%; max-width: 400px; margin: auto; color: #a70f27; }
.related-link { font-size: 1.3rem; }
.footer-col .mono { font-size: .8125rem; color: #716069; }
.footer-bottom { flex-wrap: wrap; }
.mobile-nav a { font-size: 1rem; }
@media (max-width: 1100px) {
  .desktop-nav { gap: 15px; }
  .console-link { font-size: .8125rem; }
  .home-hero { gap: 30px; }
  .hero-project-gallery { gap: 30px 18px; }
  .gallery-project > span { font-size: .9375rem; }
  .download-section { grid-template-columns: 1fr 1.15fr; gap: 30px; }
}
@media (max-width: 960px) {
  .desktop-nav, .header-actions > .console-link { display: none; }
  .menu-toggle { display: block; font-size: 1.2rem; }
}
@media (max-width: 760px) {
  .frame { padding: 0 20px; }
  .site-header { height: 78px; }
  .brand-name { font-size: 1.375rem; }
  .language-switch { font-size: .875rem; }
  .header-actions { gap: 12px; }
  .page-mark { font-size: .75rem; }
  .home-hero { grid-template-columns: 1fr; gap: 0; }
  .home-hero .hero-copy { padding: 40px 0 20px; }
  .home-hero h1 { font-size: clamp(2.4rem, 2rem + 2vw, 3.25rem); }
  .hero-project-gallery { padding: 26px 0 35px; gap: 30px 15px; }
  .gallery-project .project-icon { width: 94px; height: 94px; }
  .gallery-project > span { font-size: .9375rem; }
  .gallery-project small { font-size: .8125rem; }
  .gallery-store-badge { width: 124px; }
  .hero-copy > p, .section-head p, .page-intro > p, .about-intro, .principle p, .support-band p, .feature p, .download-section p, .faq-list details p, .support-method p, .contribution p { font-size: 1rem; }
  .button { font-size: .875rem; padding: 12px 15px; }
  .hero-meta { gap: 13px; }
  .hero-meta span + span { padding-left: 13px; }
  .section-head { display: block; }
  .section-head > .text-link { display: inline-block; margin-top: 16px; font-size: .875rem; }
  .section-head h2 { font-size: 1.875rem; }
  .project-grid { grid-template-columns: 1fr; }
  .card-copy h3 { font-size: 1.5rem; display: block; }
  .card-copy { padding: 24px; }
  .card-copy p { font-size: 1rem !important; }
  .card-top { font-size: .75rem; }
  .card-art { aspect-ratio: 16 / 8; }
  .card-art .project-icon { width: 106px; height: 106px; }
  .card-preview { aspect-ratio: 16 / 9; }
  .listing-grid { grid-template-columns: 1fr; }
  .filter { font-size: .875rem; padding: 8px 10px; }
  .project-count { font-size: .75rem; }
  .project-hero { padding: 38px 0; }
  .project-hero .hero-copy h1 { font-size: clamp(2.1rem, 1.6rem + 2.5vw, 3rem); line-height: 1.2; }
  .project-hero .hero-copy h1 span { overflow-wrap: anywhere; }
  .project-title-row { font-size: 1.2rem; gap: 10px; }
  .centered-project-icon .project-icon { width: 94px; height: 94px; }
  .project-hero .actions { gap: 10px; }
  .project-tabs { gap: 18px; padding: 18px 0; font-size: .8125rem; }
  .screenshots-section { padding-bottom: 40px; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 18px; }
  .screenshot-frame figcaption { font-size: .8125rem; padding: 12px; }
  .download-section { grid-template-columns: 1fr; padding: 25px 20px; }
  .download-option { padding: 16px; gap: 13px; }
  .store-option { flex-direction: column; align-items: flex-start; }
  .store-option > .arrow { display: none; }
  .sponsor-logo { width: 38px; height: 38px; }
  .support-methods { grid-template-columns: 1fr; }
  .support-method { min-height: 0; padding: 25px; }
  .support-method a, .support-method button { font-size: .9375rem; }
  .sponsor-art { max-width: 290px; }
  .footer-bottom { font-size: .8125rem !important; }
  .footer-col a, .footer-brand p { font-size: .875rem !important; }
  .related-link { font-size: 1.3rem; }
}
