/* Shared chrome for public marketing pages. Tokens are reused in place from
   web/scholarly/tokens/*.css (linked by each page); this file adds nav/footer/
   button/layout on top. Theme-neutral rgba so it reads on the manuscript palette. */
:root { --mk-ink: oklch(25% 0.02 55); --mk-paper: oklch(97% 0.01 85); --mk-amber: oklch(72% 0.17 55); }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter Tight", system-ui, sans-serif; color: var(--mk-ink); background: var(--mk-paper); }

.mk-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 28px; background: color-mix(in oklch, var(--mk-paper) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(128,128,128,.18); min-height: 60px; }
.mk-nav__brand { display: flex; align-items: center; gap: 8px; font-family: "Newsreader", serif; font-size: 20px; font-weight: 600; text-decoration: none; color: var(--mk-ink); }
.mk-nav__brand-icon { height: 15px; width: auto; display: block; flex-shrink: 0; }
.mk-nav__links { display: flex; gap: 20px; }
.mk-nav__link { text-decoration: none; color: var(--mk-ink); opacity: .75; font-size: 14px; }
.mk-nav__link:hover { opacity: 1; }
.mk-nav__cta { display: flex; gap: 10px; }
.mk-btn { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px;
  padding: 8px 16px; font-weight: 600; font-size: 14px; border: 1px solid transparent; }
.mk-btn--primary { background: var(--mk-amber); color: oklch(20% 0.03 55); }
.mk-btn--ghost { border-color: rgba(128,128,128,.4); color: var(--mk-ink); }
.mk-btn--lg { padding: 12px 24px; font-size: 16px; }

.mk-wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.mk-section { padding: 72px 0; }
.mk-foot { border-top: 1px solid rgba(128,128,128,.18); padding: 28px; margin-top: 40px; font-size: 13px; opacity: .7; }
.mk-foot__inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mk-foot a { color: inherit; }

/* reveal-on-scroll (mirrors scholarly; disabled under reduced motion) */
.mk-reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
body.mk-anim .mk-reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .mk-reveal, .mk-reveal.pre { opacity: 1 !important; transform: none !important; } }

@media (max-width: 720px) { .mk-nav__links { display: none; } }
