/* Shared chrome for the static company pages (/about, /support).
 *
 * Those pages are plain HTML in frontend/public on purpose — the company name
 * has to be in the raw response, not painted in by the app bundle — so they
 * cannot import PublicShell.jsx or lib/tokens.js. This file is the one copy of
 * the nav/card/footer styling they'd otherwise duplicate line for line; the
 * VALUES are deliberately kept in sync with PublicShell.jsx's dark shell by
 * hand, which is the trade for being readable without JavaScript.
 *
 * Served from /org-pages.css. Both pages are precached and denylisted from the
 * service worker's SPA fallback (src/sw.js).
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0b1622;
  color: #e2e8f0;
}
body { min-height: 100vh; }

a { color: #F0B429; text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* #64748b is 3.83:1 on this canvas — under the 4.5:1 AA floor for the 11-13px
   text it would carry. #94a3b8 is the dark-safe muted grey PublicShell settled
   on for the same reason. */
.muted { color: #94a3b8; }

/* ---- nav ---------------------------------------------------------------- */
nav.page-nav {
  background: rgba(11,22,34,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 400; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }
.brand-org { font-size: 11px; font-weight: 500; }
.nav-links { display: flex; gap: 20px; align-items: center; font-size: 13.5px; }
.nav-links a { color: #94a3b8; font-weight: 500; }
.nav-links a.current { color: #F0B429; }
.nav-links a.login {
  background: #1E3A5F; color: #fff; padding: 8px 16px;
  border-radius: 8px; font-weight: 700; font-size: 13px;
}

/* ---- page body ---------------------------------------------------------- */
main { max-width: 1000px; margin: 0 auto; padding: 48px 24px 64px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8BC34A; margin-bottom: 10px;
}
h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff; }
.lede { color: #94a3b8; font-size: 14px; margin: 0 0 28px; max-width: 820px; }

.card {
  max-width: 820px; background: #0f1e2e; border-radius: 20px; padding: 40px;
  line-height: 1.65; font-size: 15px; box-shadow: 0 30px 70px -25px rgba(0,0,0,0.5);
}
.card h2 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.card section { margin-bottom: 28px; }
.card section:last-child { margin-bottom: 0; }
.card p { margin: 0 0 10px; color: #cbd5e1; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 8px 0 0 22px; padding: 0; color: #cbd5e1; }
.card li { margin-bottom: 6px; }
.card strong { color: #fff; }
address { font-style: normal; color: #cbd5e1; }

/* The support page's "how to reach us" block — the one thing App Store Review
   Guideline 1.5 actually looks for, so it leads the page. */
.contact-callout {
  background: rgba(139,195,74,0.08); border: 1px solid rgba(139,195,74,0.3);
  border-left: 4px solid #8BC34A; border-radius: 12px; padding: 22px 26px;
  margin-bottom: 28px;
}
.contact-callout h2 { color: #8BC34A; }
.contact-email { font-size: 17px; font-weight: 700; }

/* ---- footer ------------------------------------------------------------- */
footer.page-footer { background: #0c1826; padding: 24px 0 40px; font-size: 14px; }
.footer-card {
  max-width: 1040px; margin: 0 auto; background: #0f1e2e; border-radius: 20px;
  padding: 24px 40px; color: #94a3b8; font-size: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; font-weight: 500; }

/* The nav is one non-wrapping row of six items; on a 375px phone that scrolled
   the whole document sideways. Same wrap fix PublicShell.jsx applies, and these
   pages are opened from phones (a driver following an App Store support link). */
@media (max-width: 700px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .brand-org { display: none; }
  .nav-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  h1 { font-size: 26px; }
  .card { padding: 26px 22px; }
  .footer-card { padding: 22px 24px; }
}
