/* The run site's frame on Base's shared pages (/run, /contract, not found).
   Every token comes from public/fonts/fonts.css and public/rer-theme.css
   (Base's --rer-* tokens and the faces). */
@import url('/fonts/fonts.css');
@import url('/rer-theme.css');


/* Base's Run, contract and not-found pages in the same look: the drafting grid
   on white, heavy tight headings, white step cards with hairlines, oxblood
   numerals and the elevation's ground line as the floor art. */
body:has(> main > .intro), body:has(> main > .hero) { background: var(--grid-paper), var(--paper); }
body:has(> main > .intro) h1, body:has(> main > .hero) h1 { font-weight: 800; letter-spacing: -.045em; }
body:has(> main) .bar { border-bottom: 1px solid var(--hair); padding-bottom: 18px; }
body:has(> main) .brand { font-weight: 800; letter-spacing: -.035em; }
body:has(> main) .brand img { width: 34px; height: 38px; }
body:has(> main) .bar nav a { color: var(--blue); }
body:has(> main > .intro) .step { border-radius: var(--radius-lg); border-color: var(--line); background: var(--paper); box-shadow: var(--shadow); backdrop-filter: none; }
body:has(> main > .intro) .num { background: var(--ox); color: #fff; font-weight: 800; }
body:has(> main > .intro) .step h2 { font-weight: 750; letter-spacing: -.03em; }
body:has(> main > .intro) .facts a, body:has(> main > .intro) .go a, body:has(> main > .hero) .link { color: var(--blue); }
body:has(> main) .btn { background: var(--ox); box-shadow: 0 10px 22px -14px rgba(128, 16, 48, .8); }
body:has(> main) .btn:hover { background: var(--ox-hover); }
body > .art img { object-position: center 88%; }
/* A command wraps only between its words (src/site/pages.ts marks them), from
   the width where a step's line no longer fits beside its Copy button. */
body:has(> main) code .word { white-space: nowrap; }
@media (max-width: 960px) {
  body:has(> main > .intro) .code pre { white-space: pre-wrap; overflow-wrap: normal; }
}
@media (max-width: 760px) {
  body:has(> main) .brand img { width: 29px; height: 32px; }
  body:has(> main) .bar { padding-bottom: 14px; }
}
