/* SailMOB static-subpage shared styles.
 * Source of truth: packages/brand/src/{tokens,SailMobLogo,SpinnakerMark,LifeRingO}.tsx
 * Consumers: apps/landing/public/{glossary,privacy,terms}.html
 *            apps/game/public/{privacy,eula}.html (duplicated — see /docs/brand/static-subpages.md)
 *
 * Wordmark markup pattern is inlined in each consumer between
 *   <!-- BRAND-MARK-V2 begin --> ... <!-- BRAND-MARK-V2 end -->
 * markers so the sync script can propagate updates. Do not hand-edit the
 * markers' contents — edit the canonical partial in
 *   apps/landing/_partials/brand-mark.html
 * and run `pnpm sync:subpages`.
 */

/* Reset + body ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0F1F33;
  color: #E2E8F0;
  line-height: 1.65;
  padding: 2rem 1.25rem 5rem;
}
.container { max-width: 900px; margin: 0 auto; }
.container--narrow { max-width: 720px; }

/* Brand mark + wordmark --------------------------------------------------- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-mark svg.spinnaker { display: block; flex-shrink: 0; }
.wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .sail { color: #FFFFFF; font-style: italic; margin-right: 0.16em; }
.wordmark .mob  { color: #FB923C; font-style: normal; }
.wordmark .ringo {
  display: inline-block;
  vertical-align: -0.18em;
  margin: 0 -0.06em;
}

/* Top nav ----------------------------------------------------------------- */
header.subpage-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-cta {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: #2563EB;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.nav-cta:hover { background: #3B82F6; }

/* Typography -------------------------------------------------------------- */
h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 2.5rem;
  color: #F8FAFC;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FB923C;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1E293B;
}
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #F1F5F9;
  margin: 1.25rem 0 0.5rem;
}
p { color: #CBD5E1; margin-bottom: 0.75rem; }
ul, ol { color: #CBD5E1; padding-left: 1.5rem; margin-bottom: 0.75rem; }
li { margin-bottom: 0.4rem; }
a { color: #6FA3D6; text-decoration: none; border-bottom: 1px solid rgba(111,163,214,0.4); }
a:hover { border-bottom-color: #6FA3D6; }
.meta, .note, .status {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}
.divider { border: none; border-top: 1px solid #1E293B; margin: 2rem 0; }
hr { border: none; border-top: 1px solid #1E293B; margin: 2rem 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #1E293B;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.85em;
}
table { width: 100%; border-collapse: collapse; margin: 0.75rem 0; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid #1E293B; color: #CBD5E1; vertical-align: top; }
th { color: #F1F5F9; font-weight: 600; }

/* Footer ------------------------------------------------------------------ */
footer.subpage-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748B;
}
footer.subpage-footer a { color: #6FA3D6; border-bottom: 0; }
footer.subpage-footer a:hover { color: #93C5FD; }
footer.subpage-footer .links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
