/* Static community pages and developer upload form. */
@layer pages {
  .contacts-page, .developers-page, .upload-page { padding: 0; }
  .community-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--muted-foreground); font-weight: 500; }
  .community-icon { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; flex-shrink: 0; border-radius: .75rem; background: var(--background); color: var(--muted-foreground); }
  .community-icon.green { color: var(--brand); background: color-mix(in oklch, var(--brand) 9%, transparent); }
  .community-icon .icon { inline-size: 1.25rem; block-size: 1.25rem; }
  .contact-wrap { max-inline-size: 58rem; padding: 3.5rem 2rem 6rem; margin-inline: auto; }
  .contact-intro h1 { margin-block: .5rem .75rem; font-size: 1.875rem; letter-spacing: -.035em; font-weight: 600; }
  .contact-intro p, .contact-card p, .donation-card p { color: var(--muted-foreground); line-height: 1.5; }
  .contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-block: 2rem 1.5rem; }
  .contact-card { display: block; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: color-mix(in oklch,var(--muted) 40%,transparent); transition: border-color .15s; }
  .contact-card:hover { border-color: var(--brand); }
  .contact-card h2 { font-size: .9375rem; font-weight: 500; margin-block: .75rem .375rem; }
  .contact-card p, .contact-destination { font-size: .875rem; }
  .contact-destination { display: flex; align-items: center; gap: .5rem; margin-block-start: .75rem; font-weight: 500; overflow-wrap: anywhere; }
  .contact-destination .icon { rotate: -45deg; inline-size: .875rem; block-size: .875rem; }
  .donation-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2rem; padding: 2rem; border: 1px solid var(--border); border-radius: 1rem; }
  .donation-card h2 { margin-block: .625rem .5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
  .donation-card p { font-size: .875rem; }
  .wallet-actions { display: grid; justify-items: end; gap: .5rem; min-inline-size: 0; }
  .wallet-actions code { display: block; max-inline-size: 100%; padding: .75rem; border-radius: .625rem; border: 1px solid var(--border); background: color-mix(in oklch,var(--muted) 55%,transparent); font-size: .75rem; overflow-wrap: anywhere; user-select: all; }
  .copy-status:empty { display: none; }
  .copy-status { max-inline-size: 20rem; }
  .developer-hero { text-align: center; padding-block: 5rem 4rem; }
  .developer-hero h1 { max-inline-size: 48rem; margin: 1.25rem auto 0; font-size: clamp(2rem,4vw,3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; text-wrap: pretty; }
  .developer-hero > p { max-inline-size: 42rem; margin: 1.25rem auto 0; font-size: 1.125rem; line-height: 1.6; color: var(--muted-foreground); }
  .community-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-block-start: 2rem; }
  .developer-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-block-start: 2.5rem; font-size: .875rem; color: var(--muted-foreground); }
  .developer-highlights li { display: flex; align-items: center; gap: .5rem; }
  .developer-highlights .icon { color: var(--brand); }
  .community-section { padding-block: 4rem; scroll-margin-block-start: 5rem; }
  .community-section.ruled { border-block-start: 1px solid var(--border); }
  .community-intro { text-align: center; margin-block-end: 2.5rem; }
  .community-intro h2 { font-size: 1.875rem; font-weight: 600; letter-spacing: -.035em; }
  .community-intro p { margin-block-start: .75rem; color: var(--muted-foreground); line-height: 1.6; }
  .developer-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
  .step-top { display: flex; justify-content: space-between; align-items: center; margin-block-end: 1rem; }
  .step-number { font-size: 1.5rem; font-weight: 600; color: var(--muted-foreground); opacity: .5; }
  .developer-steps h3, .developer-benefits h3 { font-size: 1rem; font-weight: 500; letter-spacing: -.025em; }
  .developer-steps p, .developer-benefits p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.6; margin-block-start: .5rem; }
  .developer-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
  .developer-benefits article { border: 1px solid var(--border); padding: 1.5rem; border-radius: .75rem; }
  .developer-benefits .community-icon { margin-block-end: 1rem; }
  .developer-note { margin-block-start: 1.5rem; color: var(--muted-foreground); font-size: .875rem; text-align: center; }
  .developer-faq { max-inline-size: 48rem; margin-inline: auto; }
  .developer-cta { padding-block-end: 5rem; }
  @media (width < 900px) { .donation-card { grid-template-columns: 1fr; } .wallet-actions { justify-items: start; } .developer-steps { grid-template-columns: repeat(2,minmax(0,1fr)); } }
  @media (width < 640px) {
    .contact-wrap { padding: 2rem 1rem 3rem; }
    .contact-grid, .developer-benefits { grid-template-columns: 1fr; }
    .donation-card { padding: 1.5rem; }
    .developer-hero { padding-block: 3rem; }
    .developer-hero > p { font-size: 1rem; }
    .community-actions { flex-direction: column; }
    .developer-highlights { flex-direction: column; align-items: center; gap: .875rem; }
    .community-section { padding-block: 3rem; }
    .community-intro h2 { font-size: 1.5rem; }
    .developer-steps { grid-template-columns: 1fr; gap: 2rem; }
  }
}
