/* ==========================================================================
   site-fixes.css — 2026-11-13
   Additive layout fixes for inner pages, linked AFTER each page's own styles.
   Nothing here hides or removes content. Each rule is scoped to the class
   names of the page it fixes, so pages that don't use them are unaffected.
   ========================================================================== */

/* ---- 1. Header "Get Started" button squashed into two lines on phones ----
   privacy, terms, contact (.nav-cta), roadmap (.lt-nav-cta), whitepaper (.wp-cta),
   institutional (.inst-nav-cta). The button was allowed to shrink and wrap. */
.nav-cta, .lt-nav-cta, .wp-cta, .inst-nav-cta { white-space: nowrap; }
.nav-inner > .nav-links,
.lt-page-nav > ul,
.wp-nav > ul { flex-shrink: 0; }

/* ---- 2. Roadmap header (desktop): page body is capped at 960px, so the 7 links
   wrapped onto two lines and picked up the timeline's bullet dots. ---- */
.lt-page-nav ul a { white-space: nowrap; }
.lt-page-nav li::before, .lt-page-nav li::after { content: none !important; display: none !important; }
@media (min-width: 881px) and (max-width: 1100px) { nav.lt-page-nav > ul { gap: 18px !important; } }
@media (max-width: 480px) {
  nav.lt-page-nav { padding: 0 16px !important; gap: 12px !important; }
  nav.lt-page-nav .lt-nav-cta { padding: 8px 14px !important; }
  nav.lt-page-nav .lt-nav-logo { min-width: 0; }
}

/* ---- 3. Long unbroken strings (token mint address, URLs, hashes) pushing
   pages sideways on phones: blog, press, validators. ---- */
@media (max-width: 768px) {
  li, .post p,
  .table td, .table td code, .table td a { overflow-wrap: anywhere; word-break: break-word; }
}

/* ---- 4. Contact: the two channel cards had a 380px minimum, wider than a phone. ---- */
@media (max-width: 480px) {
  .channels { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---- 5. Verify: method cards forced wider than the screen. ---- */
@media (max-width: 768px) {
  .methods-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .methods-grid > * { min-width: 0; }
}

/* ---- 6. Institutional header: nav row didn't wrap, Sign In button cut off. ---- */
@media (max-width: 720px) {
  .inst-nav { flex-wrap: wrap; row-gap: 8px; }
}

/* ---- 7. Validators: wide data tables scroll inside themselves on phones
   instead of pushing the whole page sideways. ---- */
@media (max-width: 768px) {
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---- 8. Footer link rows (verify, wallet, wallet app) ran off the right edge. ---- */
@media (max-width: 768px) {
  .footer-links { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .wallet-footer { flex-wrap: wrap; row-gap: 4px; }
}

/* ---- 9. White paper: rendered Markdown (see whitepaper-render.js) ---- */
.wp-md { background: #112240; border-radius: 14px; padding: 28px 32px; border: 1px solid rgba(201,168,76,0.2);
  color: #dbeafe; font-size: 15.5px; line-height: 1.75; margin: 24px 0; overflow-wrap: anywhere; }
.wp-md h2 { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: 26px; line-height: 1.3; margin: 28px 0 12px; }
.wp-md h2:first-child { margin-top: 0; }
.wp-md h3 { font-family: 'Playfair Display', Georgia, serif; color: #e8c866; font-size: 20px; line-height: 1.35; margin: 24px 0 10px; }
.wp-md h4, .wp-md h5 { color: #fff; font-size: 16px; margin: 18px 0 8px; }
.wp-md p { margin: 0 0 14px; }
.wp-md strong { color: #fff; }
.wp-md a { color: #e8c866; text-decoration: underline; }
.wp-md code { font-family: 'JetBrains Mono', Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(201,168,76,0.12); padding: 1px 6px; border-radius: 5px; }
.wp-md ul, .wp-md ol { margin: 0 0 16px; padding-left: 24px; }
.wp-md li { margin: 4px 0; }
.wp-md ul li::marker { color: #c9a84c; }
.wp-md hr { border: 0; border-top: 1px solid rgba(201,168,76,0.22); margin: 28px 0; }
.wp-md-table { overflow-x: auto; margin: 8px 0 18px; }
.wp-md table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wp-md th, .wp-md td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.wp-md th { color: #e8c866; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; background: rgba(201,168,76,0.06); }
@media (max-width: 600px) { .wp-md { padding: 20px 18px; font-size: 15px; } .wp-md h2 { font-size: 22px; } .wp-md h3 { font-size: 18px; } }

/* ---- 10. Verify page header on phones: links floated above/below the logo.
   Put the logo on its own row and the three links centred underneath. ---- */
@media (max-width: 480px) {
  nav.navbar { flex-wrap: wrap; row-gap: 2px; }
  nav.navbar > .nav-links { width: 100%; justify-content: center; }
}

/* ---- 11. Validators header on phones: brand and links squeezed side by side
   into a jumbled two-column block. Stack them. ---- */
@media (max-width: 600px) {
  header.topbar .topbar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  header.topbar .nav { gap: 6px 16px; }
}
