/* A standalone information page: these styles are never loaded by the game. */
* { box-sizing: border-box; }

:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #243750;
  background: #f7faff;
  font-size: 100%;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body { margin: 0; }
a { color: #0b3176; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, main:focus-visible { outline: 3px solid #315abd; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 { color: #0b3176; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.3vw, 3.75rem); letter-spacing: -0.045em; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); letter-spacing: -0.025em; margin: 0 0 1.25rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.7rem; }

.page-header, main, .page-footer { width: min(100% - 3rem, 1100px); margin-inline: auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.75rem; border-bottom: 1px solid #d4e1f2; }
.brand { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; max-width: 290px; }
.brand-monogram { width: 48px; }
.brand-wordmark { width: 210px; min-width: 0; }
.back-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 44px; padding: 0.45rem 1rem; border: 1px solid #bdcfe7; border-radius: 999px; text-decoration: none; font-weight: 650; }

.skip-link { position: absolute; top: 0.5rem; left: 1rem; z-index: 1; transform: translateY(-200%); background: white; padding: 0.6rem 1rem; border-radius: 8px; }
.skip-link:focus { transform: none; }
main { padding-top: 4rem; }
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: center; padding-bottom: 4rem; }
.eyebrow { color: #315abd; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; margin-bottom: 1rem; }
.lead { color: #0b3176; font-size: 1.3rem; line-height: 1.5; margin-bottom: 1.5rem; }
.intro-art { margin: 0; }
.intro-art img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: 28px; border: 1px solid #d4e1f2; }
.intro-art figcaption { margin-top: 1rem; color: #425c7b; font-size: 0.9rem; text-align: center; }
.section-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1.5rem; }
.section-nav a { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; font-weight: 650; }

.section { border-top: 1px solid #d4e1f2; padding-block: 3.5rem; scroll-margin-top: 1.5rem; }
.purpose, .creator, .development { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.section-copy p:last-child { margin-bottom: 0; }
.section-intro { max-width: 65ch; margin-bottom: 2.5rem; }
.activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; list-style: none; padding: 0; margin: 0; }
.activity-list li { display: flex; gap: 1.25rem; border-top: 2px solid #c4d7f1; padding-top: 1.5rem; }
.activity-list p { margin: 0; }
.activity-number { flex-shrink: 0; white-space: nowrap; color: #315abd; font-size: 0.85rem; font-weight: 750; line-height: 1.4; padding-top: 0.15rem; }

.contact { background: #0b3176; color: #edf4ff; border: 0; border-radius: 24px; padding: 2.5rem 3rem; margin-bottom: 3.5rem; }
.contact h2, .contact a { color: white; }
.contact .eyebrow { color: #bad4ff; }
.email-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: clamp(1.1rem, 2.5vw, 1.85rem); font-weight: 650; line-height: 1.5; }
.contact a:focus-visible { outline-color: #facc15; }
.contact-note { color: #d1e2fc; font-size: 0.9rem; margin: 1.5rem 0 0; }
.page-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid #d4e1f2; padding-block: 1.5rem 2.5rem; color: #425c7b; font-size: 0.85rem; }
.page-footer p { margin: 0; }
.page-footer a { display: inline-flex; gap: 0.75rem; align-items: center; min-height: 44px; }

@media (max-width: 850px) {
  main { padding-top: 2.5rem; }
  .intro { gap: 2rem; grid-template-columns: 1.5fr 1fr; }
  .purpose, .creator, .development { gap: 2rem; }
  .activity-list { gap: 2rem; }
}

@media (max-width: 650px) {
  .page-header, main, .page-footer { width: calc(100% - 2.5rem); }
  .page-header { flex-wrap: wrap; gap: 1rem; padding-block: 1.25rem; }
  .brand { max-width: 100%; }
  .brand-monogram { width: 38px; flex-shrink: 0; }
  .brand-wordmark { width: 180px; }
  .intro, .purpose, .creator, .development, .activity-list { grid-template-columns: 1fr; }
  .intro { padding-bottom: 2.5rem; }
  .intro-art img { aspect-ratio: 2; border-radius: 18px; }
  .section { padding-block: 2.5rem; }
  .purpose, .creator, .development { gap: 0; }
  .activity-list { gap: 1.75rem; }
  .contact { padding: 1.75rem 1.25rem; margin-bottom: 2.5rem; border-radius: 18px; }
  .page-footer { align-items: flex-start; }
}

@media (forced-colors: active) {
  .contact { border: 1px solid CanvasText; }
  .contact h2, .contact .eyebrow, .contact-note { color: CanvasText; }
  .contact a { color: LinkText; }
}
