/* Generated. Overrides on the notices' own stylesheet; see LEGAL_PATCH in site.py. */

/* The fixed mobile header had no background of its own — two opaque pills floating on a
   transparent 76px bar — so body copy passed through the gaps between and around them.
   MEASURED at 390 on the privacy notice: at scrollY 25805 a paragraph ran from y -128 to
   124, straight under the bar's 12-64 band, with the wordmark sitting on the sentence.
   Two lines of a legally significant document illegible for the whole scroll.
   The main site solves the same problem on .site-head with a scrolled state; a legal
   notice has no hero to float over, so the ground is simply always there. */
@media (max-width: 600px) {
  .cos-mobile-nav { background: var(--surface-page); }
}

/* The notices set body copy with no measure at all, so the line length is whatever the
   column happens to be. MEASURED at 834: paragraphs 698px wide running 78 to 90 characters
   a line, against a 45-75 target — and this is a 26,000px legal document, which is the
   hardest reading task on the site and the one where losing the line return costs most.
   55ch of a zero-width lands around 68 rendered characters. The cap is on the PROSE
   container only: tables, the contents list and the tag rows set their own widths and are
   left alone. */
.cos-prose p,
.cos-prose li { max-width: 55ch; }

/* ---- THE NOTICES JOIN THE V5 SITE ---------------------------------------------------
   Owner, 18/09/2026: the legal pages "have been taken straight from the v4 version and
   haven't been updated to the v5 design style."

   He is right, and _legal.css says so of itself: "Head section, page shell, floating nav
   pill, mobile disclosure nav, footer and the four breakpoints are transcribed from the
   live set", written 2026-08-25, before the v5 build existed.

   WHY THE OVERRIDES ARE HERE AND NOT IN _legal.css. That file is Laura Landa Ortega's,
   copied and not edited, under the same rule that keeps her prose untouched. This file is
   loaded after it and is the one place a deviation may live.

   WHAT CHANGES IS COMPOSITION, NOT COLOUR. The palette is already v5: _legal-tokens.css
   carries the whole of the v5 :root block, so --cos-black and friends already resolve to
   v5's brand values. What still reads as v4 is the ARRANGEMENT -- a floating pill over
   the page, a black footer, a filled disc on every section number -- and that is what
   these rules replace.

   WHAT DOES NOT CHANGE, deliberately. The contents rail, the section numbering, the
   entity table, the Pending boxes and the 55ch measure stay. They are not v4 styling;
   they are what makes a 26,000px document navigable, and the brand has no quarrel with
   them. The owner chose "v5 shell, keep the document" over "full v5" for that reason. */

/* 1. THE HEADER. v4 floated a white pill over the page on an absolute layer. v5 puts a
      full-width bar in the flow: wordmark left, items right, one hairline under, no
      enclosure. Section 10's rule is that the page's chrome sits ON the grid, and a pill
      centred over the content sits on nothing. */
/* It STAYS absolute. It is a child of .cos-head, not a sibling, so `position:static`
   drops it into the head's flow after the orbit graphic -- MEASURED at x 115, y 64,
   inset and below the headline, which is worse than the pill it replaced. Left absolute
   at the head's top edge it already spans the full width, which is the v5 bar's
   geometry; only its dress has to change. */
.cos-nav-outer{
  justify-content:flex-start;padding:0 var(--v5-page-x);
  background:var(--v5-page);border-bottom:1px solid var(--v5-rule)}
.cos-nav-pill{
  width:100%;max-width:var(--content-max);margin:0 auto;
  justify-content:flex-start;gap:var(--space-8);
  height:var(--nav-pill-h);padding:0;border-radius:0;background:transparent}
/* The mark leads and the items follow it to the far edge, which is the v5 order. The
   v4 markup interleaves them around a centred logo with data-side, so the order is
   reassigned here rather than in the markup, which stays Laura's file's shape. */
.cos-nav-logo{order:-2;margin:0 auto 0 0}
.cos-nav-logo img{height:20px}
.cos-nav-item[data-side="left"],
.cos-nav-item[data-side="right"]{order:0}
.cos-nav-item{
  height:32px;padding:0 14px;
  font-family:var(--font-accent);text-transform:uppercase;
  font-size:var(--size-label-sm);letter-spacing:var(--tracking-accent);
  color:var(--v5-text-2)}
.cos-nav-item:hover{color:var(--v5-text);opacity:1}

/* 2. THE MOBILE BAR takes the same hairline, so the two are one decision at two widths.
      Its ground is set two rules above, on 16/09, for a different and worse reason. */
@media (max-width:600px){
  .cos-mobile-nav{border-bottom:1px solid var(--v5-rule)}
}

/* 3. THE HEAD. The pill used to float over it, so the head carried the pill's height in
      its own padding. With the bar in the flow that padding is doubled chrome, and the
      orbit graphic was positioned against the old top edge. */
.cos-head{padding-top:var(--space-64)}

/* 4. THE SECTION NUMBER stops being a filled disc. v5 marks a section with an accent-caps
      eyebrow and a numeral, not with a 32px black circle: the circle is v4's SectionTag,
      and on fourteen consecutive sections it reads as a list of badges rather than as a
      document's spine. The number keeps its tabular figures so the column stays even. */
.cos-tag-num{
  width:auto;height:auto;border-radius:0;background:transparent;
  color:var(--v5-text-muted);
  font-size:var(--size-label-sm);letter-spacing:var(--tracking-accent)}
.cos-tag-label{font-size:var(--size-label-sm);color:var(--v5-text)}
.cos-tag{gap:var(--space-12)}

/* 5. THE FOOTER. v4's was a black band; v5's is the page ground with a hairline over it
      and the mark and sitemap on the twelve-column grid. Black under a white document
      reads as a second site beginning, which is precisely what these pages are not. */
.cos-footer{
  background:var(--v5-page);color:var(--v5-text);
  border-top:1px solid var(--v5-rule);
  padding:var(--space-64) var(--v5-page-x) var(--space-24)}
.cos-footer-col > span:first-child{color:var(--v5-text-muted)}
.cos-footer-col a,
.cos-footer-col > span:not(:first-child){color:var(--v5-text-2)}
.cos-footer-col a:hover{color:var(--v5-text)}
/* The markup hard-codes cosmonauts-lockup-WHITE.svg, which was right against a black
   band and is invisible against this one -- MEASURED as an empty 170px column at the
   footer's left edge. Inverting a monochrome wordmark turns white to black exactly.
   This is a workaround and it should be read as one: the right fix is for the markup to
   name assets/logo/cosmonauts-lockup.svg, which already exists and which the mobile bar
   on these same pages already uses. That is a change to Laura's file, so it is not made
   here. Raised for follow-up. */
.cos-footer-logo img{filter:invert(1)}
.cos-footer-base,
.cos-footer-note{color:var(--v5-text-muted);border-top-color:var(--v5-rule)}

/* 6. THE DEFAULT FACE. body carried no font-family of its own, so every element these
      pages do not name -- and there are several -- inherited the browser's serif. The
      children were styled, so it showed as the odd word in Times rather than the whole
      page, which is why it survived the 15/09 token fix. */
body{font-family:var(--font-core);color:var(--v5-text);background:var(--v5-page)}
