/* WritePilot case: its own parts on top of rd.css and case.css (the Rust Design case it follows).
   The brand pieces are exhibits: their tiles keep the brand kit's own grounds, light #f6f7fb and dark #202020
   (brand/index.html), as the wiki window on the Rust Design case keeps the wiki's theme. Everything else is base.css's six colours. */

/* Seven abilities: four in a row on a wide screen, so the last row is not a single orphan of seven. */
@media(min-width:1201px){.wp .cs-cols3{grid-template-columns:repeat(4,minmax(0,1fr))}}
.wp kbd{font:.92em var(--mono);color:var(--ink)}

/* Tiles of the brand kit */
.wp-tile{display:flex;align-items:center;justify-content:center;padding:12%}
.wp-tile img{display:block;width:100%;height:auto}
.wp-lt{background:#f6f7fb}
.wp-dk{background:#202020}
.wp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wp-pair .wp-tile{aspect-ratio:1}
.wp-stack{display:grid;gap:8px}
.wp-stack .wp-tile{aspect-ratio:5/2;padding:8% 10%}
.cs-band .wp-pair .wp-tile{aspect-ratio:1/1.25}

/* How the mark is built: the master draws on the brand page's own dark stage (#202020). The stage fills the whole
   height of the steps beside it, so no strip of page shows above and below it; the drawing sits smaller in its middle,
   with room for the handles of step 1 (owner, 2026-12-02). */
.wp-stage{background:#202020}
.wp .xp-mark-art.wp-stage{align-self:stretch;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;padding:44px}
.wp .xp-mark-art.wp-stage svg{display:block;width:auto;height:100%;max-width:100%;max-height:520px}
/* Step changes: opacity only (mark.js); the first frame and reduced motion switch at once. */
#build .wp-t{transition:opacity .6s cubic-bezier(.22,1,.36,1)}
/* The outline starts once the previous step has mostly faded, so the two do not mix. */
#build #wp-curves>path:nth-child(2){transition:stroke-dashoffset 1.3s cubic-bezier(.45,0,.25,1) .25s}
#build.wp-still .wp-t,#build.wp-still #wp-curves>path{transition:none!important}
@media(prefers-reduced-motion:reduce){#build .wp-t,#build #wp-curves>path{transition:none!important}}
.wp-note{padding:14px 20px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.45}

/* App icon: the kit's renders at their own pixel size, 16 to 64 */
.wp-sizes{display:flex;align-items:flex-end;justify-content:center;gap:14px;aspect-ratio:5/2;padding:0 8px 16px}
.wp-sizes figure{display:flex;flex-direction:column;align-items:center;gap:8px}
.wp-sizes img{display:block;width:auto!important}
.wp-sizes figcaption{font:10px/1 var(--mono);color:#8a8a96}
.cs-fig figcaption a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}

/* Colour: five swatches */
.wp-sw{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.wp-sw i{display:block;aspect-ratio:1/2.2;margin-bottom:8px}
.wp-sw b{display:block;font-size:13px;font-weight:500;line-height:1.2}
.wp-sw code{display:block;margin-top:2px;color:var(--muted);font:10px/1.4 var(--mono)}


@media(max-width:900px){
  .wp .xp-mark-art.wp-stage{aspect-ratio:1;padding:28px}
  .wp .cs-approved{row-gap:28px}
  .cs-approved .wp-pair{max-width:420px}
  .wp-sw i{aspect-ratio:1/1.4}
  .wp-note{padding:12px 14px 14px}
}

/* Graphics card or processor: the marks of CUDA (NVIDIA's logo: NVIDIA has no separate CUDA file) and Vulkan, the files as downloaded (assets/SOURCES.md). They are used as masks painted in the
   page's muted ink, one colour for both, so the row reads as one line of facts and does not compete with the mark. */
.wp-tech{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 28px;margin-top:20px;list-style:none;color:var(--muted)}
.wp-tech li{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.wp-tech small{font:10px/1 var(--mono);letter-spacing:.07em;text-transform:uppercase}
.wp-tm{display:block;height:26px;background:currentColor;-webkit-mask:left center/contain no-repeat;mask:left center/contain no-repeat}
/* The NVIDIA file is a 2560x1440 canvas with the logo at x 222..2291, y ~544..897: scaled so the logo is ~14 px tall and shifted to the box's left edge. */
.wp-tm-nv{width:83px;-webkit-mask-image:url(assets/nvidia-logo-horz.svg);mask-image:url(assets/nvidia-logo-horz.svg);-webkit-mask-size:auto 220%;mask-size:auto 220%;-webkit-mask-position:-9px 50%;mask-position:-9px 50%}
.wp-tm-vk{width:83px;height:32px;margin-bottom:-3px;-webkit-mask-image:url(assets/vulkan-logo.svg);mask-image:url(assets/vulkan-logo.svg)}
.wp-head-a{color:inherit;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}

/* Feature demos (writepilot-demos/): two per row, the settings clip across the row; the clips' own plane is #F3F3F3. */
.wp-demos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;margin-bottom:56px}
.wp-demos .wp-demo-wide{grid-column:1/-1}
.wp-demo{display:block;width:100%;height:auto;aspect-ratio:16/10;background:#f3f3f3;border-radius:6px;cursor:pointer}
.wp-demo:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:900px){.wp-demos{grid-template-columns:minmax(0,1fr)}}

/* Third-party licenses: rows ruled like the hero's pass (rd.css .rd-pass), component in ink, license in muted. */
.wp-lic{width:100%;border-collapse:collapse;margin-bottom:56px;text-align:left}
.wp-lic th,.wp-lic td{padding:13px 24px 14px 0;border-bottom:1px solid var(--line);vertical-align:baseline;overflow-wrap:anywhere}
.wp-lic thead th{padding-top:0}
.wp-lic tbody th{width:45%;font-size:16px;line-height:1.4;font-weight:500;letter-spacing:-.01em}
.wp-lic td{padding-right:0;color:var(--muted);font-size:15px;line-height:1.5}
.wp-lic code{font:.92em var(--mono)}
@media(max-width:900px){.wp-lic th,.wp-lic td{padding-right:14px}.wp-lic tbody th{font-size:15px}.wp-lic td{font-size:14px}}
