/* ChertBase — the only additions on top of the shared CHERT site styles (chert-*.css, shell.css,
   site.css, cherttt.css, all copied verbatim). Tokens only; no hex values; logical properties only. */

/* From chertresearch.com (research.css), verbatim: the shared skip link parks itself at
   left:-9999px, which under dir=rtl widens the page. Park it above instead. */
.skip-link, .skip-link:focus { left: auto; inset-inline-start: 0; }
.skip-link { translate: 0 -120%; }
.skip-link:focus { translate: none; }

/* Secondary pages (acknowledgements) carry their title as the page's h1 inside .sx-head. */
.sx-head h1 { margin: 0 0 var(--space-4); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.cb-page { min-height: calc(100vh - var(--header-h)); }
.cb-note { max-width: 780px; margin: var(--space-7) auto 0; text-align: center; font-size: var(--fs-sm); color: var(--chert-muted); }

/* 404 uses the final-CTA band as a full page. */
.cb-404 { min-height: calc(100vh - var(--header-h)); display: grid; align-content: center; }
.cb-404 h1 { margin: 0 0 var(--space-4); font-size: clamp(28px, 4vw, 48px); line-height: 1.1; font-weight: 800; }

/* Platform status note under the hero buttons, shown while the developer platform is not live. */
.cb-status { display: flex; align-items: center; gap: var(--space-2); margin: calc(-1 * var(--space-4)) 0 var(--space-6); font-size: var(--fs-sm); color: var(--chert-dark-muted); }
.cb-status__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--chert-warning); }
/* Second-language line on the platform notice page. */
.cb-other { font-size: var(--fs-sm); opacity: .8; }

/* Secondary pages use the dark app nav. The shared rule keeps its links in a wrapped row on small
   screens (right for the product apps); with this site's five section links that row is wider
   than a phone, so hide it there exactly as the marketing nav does. */
@media (max-width: 899px) { .cb-nav.sx-nav--app .sx-nav__links { display: none; } .cb-nav.sx-nav--app .sx-nav__inner { flex-wrap: nowrap; } }
