/* The cobre page's own styles, linked by that page alone so the book sites that copy styles.css carry none of it.
   The legal block reads in Stack Sans Headline like the rest of the site, its running text in a lighter 300 that only
   this block uses, and its headings, bullet titles, and lead in the site's own weights. */
@font-face {
  font-family:'Stack Sans Headline';
  font-style:normal;
  font-weight:300;
  font-display:swap;
  src:url('/static/assets/fonts/stack-300.627c88835ca6.woff2') format('woff2');
}
/* The block under the card: the devices cobre needs, each line broken where the page breaks it so it reads the same on
   every width. It stands 16px under the stage, which holds the card above it. */
.launch {position:relative;z-index:1;max-width:680px;margin:16px auto 0;padding:0 16px;text-align:center}
.launch p {margin:0}
.launch .launch-needs {font-size:16px;line-height:1.5}
/* The canvas's focus ring closes over the stage at every width, so the block under the stage stays clear of it. */
.keyboard .stage:has(canvas:focus-visible)::after {bottom:-12px}
/* On a phone held upright the card is as wide as the desk lets it be, so a stage taller than the card's width bound
   height, 83.3 by 63 to the canvas's width, only adds desk above and below it. At 700px and under the stage stands no
   taller (held sideways the cap is above the stage and does nothing), which keeps the card its size and brings the
   block under it up to the first screen, the card still floating in its own margin of desk. */
@media(max-width:700px) {.stage {max-height:calc(100vw * 83.3 / 63)}}
/* The cobre page's legal text under the card: privacy, terms, and support as plain reading in the page's ink, on the
   desk's canvas, with cobre's name in its paper blue (.cobre). It follows the block under the card, stands above the
   canvas, and leaves the footer a full gap. */
.legal {position:relative;z-index:1;max-width:680px;margin:110px auto 120px;padding:0 16px;font-size:16px;font-weight:300;line-height:1.75}
.legal section {scroll-margin-top:32px}
.legal section + section {margin-top:88px}
.legal h2,.math h2 {margin:0 0 16px;font-size:28px;font-weight:600;line-height:1.2}
.legal h3 {font-size:18px;font-weight:600;line-height:1.3;margin:0 0 12px}
.legal p,.legal ul {margin:0 0 18px}
.legal p,.legal li {text-wrap:pretty}
.legal .legal-date {font-weight:500;margin:-8px 0 32px}
.legal .legal-lead {font-size:19px;font-weight:400;line-height:1.55;margin-bottom:24px}
.legal ol {margin:48px 0 0;padding-left:28px}
.legal ol > li {margin-bottom:48px}
.legal ol > li::marker {font-weight:600}
.legal ul {padding-left:20px}
.legal ul li {margin-bottom:16px}
.legal strong {font-weight:600}
.legal a {text-underline-offset:3px}
/* Apple's badge for the App Store ends the terms under its credit line, left with the text, at 48px (Apple asks at least
   40 on screen), 24px under the line, past the quarter of its height Apple asks around it. Support stands 48px under
   it, closer than the page's other sections. */
.badge {margin:24px 0 0}
.legal #terms + section {margin-top:48px}
.badge a {display:inline-block}
.badge img {display:block;height:48px;width:auto}
/* How cobre does the math: two drawings between the devices line and the legal text, each pinned while it builds and
   folded to one screen once built. Its heading stands in the legal text's column, set by the legal headings' rule.
   Lines and hatching soften the ink to --ink-soft. Soft words take the firmer --ink-note, which reads at 4.5:1 or
   better on the desk and under its shade, where the softer ink stood at 3.8:1. */
/* A built drawing folds its scroll room and the script holds the page still across the fold, so the browser's own
   scroll anchoring stays off on this page or the page would move twice. */
html {overflow-anchor:none}
.math {position:relative;z-index:1;margin:110px 0 0;--ink-soft:color-mix(in srgb,var(--ink) 66%,transparent);--ink-note:color-mix(in srgb,var(--ink) 80%,transparent);--fill:color-mix(in srgb,var(--ink) 7%,transparent);--plate:color-mix(in srgb,var(--paper) 84%,transparent);--edge:color-mix(in srgb,var(--ink) 16%,transparent)}
.math-head {max-width:680px;margin:0 auto;padding:0 16px}
.math .sheet {position:relative;height:620svh}
.math .sheet + .sheet {margin-top:4svh}
.math .sheet.built {height:100svh}
.math .frame {position:sticky;top:0;height:100svh;display:flex;align-items:center;justify-content:center;padding:0 16px}
.math .frame svg {width:100%;height:calc(100svh - 84px);margin-bottom:40px;display:block;overflow:visible}
.math .step {position:absolute;left:0;right:0;bottom:14px;margin:0;padding:0 16px;text-align:center;font-size:15px;font-weight:500;letter-spacing:.01em;transition:opacity .25s ease}
.math .step.fade {opacity:0}
.math-end {margin:0;padding:6svh 16px 0;text-align:center;font-size:14px;color:var(--ink-note)}
/* The drawing kit. Strokes hold their size on screen at every zoom through --u, which the script sets. */
.math svg text {fill:var(--ink)}
.math .ln {fill:none;stroke:var(--ink);stroke-width:calc(var(--u,1) * 1px);stroke-linejoin:round}
.math .ln.bold {stroke-width:calc(var(--u,1) * 1.5px)}
.math .ln.thin {stroke-width:calc(var(--u,1) * .6px)}
.math .ln.ext {stroke-width:calc(var(--u,1) * .5px);stroke:var(--ink-soft)}
.math .ln.acc {stroke:var(--cobre-desk)}
.math .ln.hug {fill:var(--fill)}
.math .ln.plate {fill:var(--plate)}
.math .ln.flank {fill:var(--edge);stroke-width:calc(var(--u,1) * .6px)}
.math .ln.wall {fill:color-mix(in srgb,var(--paper) 78%,transparent)}
.math .hatch {stroke:color-mix(in srgb,var(--ink) 50%,transparent);stroke-width:1px}
.math .ds {fill:none;stroke:var(--ink-soft);stroke-width:calc(var(--u,1) * .7px);stroke-dasharray:5 4}
.math .ds.cl {stroke-dasharray:16 4 3 4;stroke-width:calc(var(--u,1) * .5px)}
.math .arrow {fill:var(--ink);stroke:none}
.math .arrow.acc {fill:var(--cobre-desk)}
.math .t-xs {font-size:9.5px;letter-spacing:.09em}
.math .t-s {font-size:11px;letter-spacing:.06em}
.math .t-m {font-size:13px;letter-spacing:.02em}
.math .t-v {font-size:13px;letter-spacing:.06em;font-weight:500}
.math .t-l {font-size:16px;letter-spacing:.04em;font-weight:500}
.math .t-xl {font-size:22px;letter-spacing:.03em;font-weight:500}
.math .t-title {font-size:26px;letter-spacing:.14em;font-weight:400}
.math .soft {fill:var(--ink-note)}
.math .acc-t {fill:var(--cobre-desk)}
.math .em {fill:var(--cobre-desk);font-weight:600}
.math .num {font-variant-numeric:tabular-nums}
.math .knock-p {paint-order:stroke;stroke:color-mix(in srgb,var(--paper) 90%,transparent);stroke-width:3px;stroke-linejoin:round}
/* With motion reduced, each drawing stands finished in the flow of the page: the whole sheet where its labels can be
   read, and in a narrower frame its steps one after another, each cut by the script to the frame its step rests on,
   clipped to it so no step draws over the next, and no taller than the screen, its caption under it. */
@media (prefers-reduced-motion: reduce) {
  .math .sheet,.math .sheet.built {height:auto}
  .math .frame {position:static;height:auto;padding:24px 16px}
  .math .frame svg {height:auto;aspect-ratio:1600 / 1000;margin-bottom:0}
  .math .step {display:none}
  .math.steps .frame {flex-direction:column}
  .math.steps .frame svg {max-height:calc(100svh - 84px);overflow:hidden}
  .math.steps .step {display:block;position:static;padding:12px 0 0;transition:none}
}
