/* POCKET — the company pages' own patterns (SITE_TO_9.md, Stream 2, 12 Oct 2026): Pricing, Download, Roadmap, About,
   Contact, the four policies and the 404. Loaded after inner.css; tokens only (DESIGN.md). Nothing here is used by
   another page, so a change here moves only these. */

/* ---- 404: the hero's voice, and the five places worth going ---- */
.nf{min-height:0; display:block; padding:96px 0 var(--sec)}
.nf h1{max-width:16ch}
.nf-go{list-style:none; margin:56px 0 0; padding:0; border-top:1px solid var(--rule-2); max-width:760px}
.nf-go li{border-bottom:1px solid var(--rule)}
.nf-go a{display:grid; grid-template-columns:minmax(0,.3fr) minmax(0,.7fr); gap:24px; align-items:baseline; min-height:56px;
  padding:16px 4px; transition:background var(--t-fast) var(--ease-ui)}
.nf-go a{text-decoration:none}
.nf-go a:hover{background:var(--raised)}
.nf-go a:hover b{text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px}
.nf-go b{font:600 var(--fs-lede)/1.3 var(--display); letter-spacing:-.01em; color:var(--ink)}
.nf-go span{color:var(--ink-3); font-size:var(--fs-small); line-height:1.5}
@media (max-width:560px){ .nf{padding:64px 0 56px} .nf-go a{grid-template-columns:1fr; gap:4px} }
/* the 404 is a brand surface (DESIGN.md, the Brand-Surface Rule, 20 Oct 2026): even a wrong address looks like Pocket */
main.nf.bs{background:var(--brand-ground); color:var(--on-brand)}
main.nf.bs h1{color:var(--on-brand)}
main.nf.bs h1.d::after{border-color:var(--brand); background:linear-gradient(var(--brand),var(--brand)) center/100% 1px no-repeat}
main.nf.bs .sub, main.nf.bs .nf-go span{color:var(--on-brand-2)}
main.nf.bs .nf-go{border-top-color:var(--brand)}
main.nf.bs .nf-go li{border-bottom-color:var(--brand-leaf)}
main.nf.bs .nf-go b{color:var(--on-brand)}
main.nf.bs .nf-go a:hover{background:var(--brand-ground)}
main.nf.bs .nf-go a:hover b{text-decoration-color:var(--brand)}
main.nf.bs .cta{background:var(--on-brand); border-color:var(--on-brand); color:var(--brand-ground)}   /* one primary colour rule (R16 L8) */
main.nf.bs .cta:hover{background:var(--on-brand-2); border-color:var(--on-brand-2); color:var(--brand-ground)}
main.nf.bs .ghost{color:var(--on-brand); border-color:var(--on-brand-2)}
main.nf.bs :where(a,button):focus-visible{outline-color:var(--brand)}

/* ---- Roadmap: Shipped / Now / Next / Later on the .phases rows ---- */
.rm .phases{margin-top:0}
.rm .ph-when h2.when{font-size:36px}
.asof{font-variant-numeric:tabular-nums}
.rm-shipped{margin-top:20px}
.rm-shipped thead th{padding-top:0}
.rm-shipped th[scope=row]{width:84px; font:600 var(--fs-body)/1.4 var(--sans); font-variant-numeric:tabular-nums}
.rm-shipped td:nth-child(2){width:150px; white-space:nowrap; font:400 var(--fs-caption)/1.9 var(--mono); color:var(--ink-3)}
.rm-shipped td:last-child{font-size:var(--fs-small); line-height:1.55}
/* a link on a line of its own is a 24px target (WCAG 2.2, 2.5.8; R6-B1's probe, 17 Oct 2026) */
.rm-shipped td a, .rm-more a{display:inline-flex; align-items:center; min-height:24px}
.rm-more{margin:16px 0 0; font-size:var(--fs-small)}
.rm-items{list-style:none; margin:20px 0 0; padding:0; border-top:1px solid var(--rule-2)}
.rm-items li{display:grid; grid-template-columns:minmax(0,.36fr) minmax(0,.64fr); gap:6px 24px; align-items:baseline; padding:14px 0;
  border-bottom:1px solid var(--rule); font-size:var(--fs-small); line-height:1.55; color:var(--ink-2)}
.rm-items b{color:var(--ink); font-weight:600; font-size:var(--fs-body)}
.vote-list li{grid-template-columns:minmax(0,.34fr) minmax(0,.66fr) auto; align-items:center}
.vote{display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 14px; border:1px solid var(--edge);
  border-radius:var(--r-2); font:600 var(--fs-caption)/1 var(--sans); color:var(--ink); white-space:nowrap;
  transition:background var(--t-fast) var(--ease-ui), transform var(--t-fast) var(--ease-ui)}
.vote:hover{background:var(--raised)}
.vote:active{transform:translateY(1px)}
.rm-close{justify-content:center}
@media (max-width:900px){
  .rm .ph-when h2.when{font-size:28px}
  .rm-items li, .vote-list li{grid-template-columns:1fr}
  .vote{justify-self:start; margin-top:6px}
}
@media (max-width:560px){
  .rm-shipped thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .rm-shipped tr{display:grid; grid-template-columns:auto minmax(0,1fr); gap:2px 12px; align-items:baseline; padding:14px 0;
    border-bottom:1px solid var(--rule)}
  .rm-shipped th[scope=row], .rm-shipped td{display:block; width:auto; padding:0; border:0}
  .rm-shipped td:last-child{grid-column:1 / -1}
}

/* ---- Pricing: three plans on one frame, Family on a line, the table by Features' groups, six answers open ---- */
html:not(.js) .bill{display:none}
.bill{position:relative; display:inline-grid; grid-template-columns:1fr 1fr}
.bill button{position:relative; z-index:1; min-width:104px}
.bill-pill{position:absolute; top:3px; bottom:3px; left:3px; width:calc(50% - 3px); border-radius:var(--r-1);
  background:var(--card); box-shadow:inset 0 0 0 1px var(--rule-2); transition:transform var(--t-ui) var(--ease-ui)}
.bill[data-now="yearly"] .bill-pill{transform:translateX(100%)}
.bill button[aria-pressed="true"]{color:var(--ink)}
.plan .under{margin:10px 0 0; font-size:var(--fs-caption); line-height:1.5; color:var(--ink-3)}
.plan .under + .has{margin-top:24px}
.plan .price-alt{min-height:44px; line-height:1.5}
.family{margin:24px 0 0; max-width:80ch; font-size:var(--fs-body); color:var(--ink-2)}
.family b{color:var(--ink); font-weight:600}
.cmp3 .cmp-group td{padding:28px 0 10px; font:600 var(--fs-h3)/1.2 var(--display); letter-spacing:-.01em;
  border-bottom:1px solid var(--rule-2)}
.cmp3 .cmp-group td::before{content:none}
/* R16r: as a td the group's link meets the shell's in-text underline (0,4,2); this outranks it, as the th did */
.cmp3 .cmp-group a:not([class*="btn"]):not(.cta):not(.ghost):not(.sh-cta){color:var(--ink); text-decoration:none}
.cmp3 .cmp-group a:not([class*="btn"]):not(.cta):not(.ghost):not(.sh-cta):hover{text-decoration:underline; text-underline-offset:3px}
.cmp3 .cmp-price td, .cmp3 .cmp-price th{font-weight:600; color:var(--ink)}
.qa{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 56px; border-top:1px solid var(--rule-2)}
.qa > div{padding:24px 0; border-bottom:1px solid var(--rule)}
.qa h3{margin:0 0 8px; font:600 var(--fs-lede)/1.35 var(--sans); letter-spacing:-.005em; color:var(--ink)}
.qa p{margin:0; max-width:60ch; color:var(--ink-2); line-height:1.6}
@media (max-width:900px){ .qa{grid-template-columns:1fr} }
@media (max-width:560px){ .cmp3 .cmp-group{padding-top:20px; border-bottom:0} .cmp3 .cmp-group td{grid-column:1 / -1; padding:0 0 4px; border:0} }
.plan .even{margin:12px 0 0; padding:10px 12px; border:1px solid var(--rule); border-radius:var(--r-2); background:var(--card);
  font-size:var(--fs-caption); line-height:1.5; color:var(--ink-2); font-variant-numeric:tabular-nums}
.plan .even + .has{margin-top:24px}

/* ---- Download: one button for the visitor's platform, the list beneath; Verify and Install help as disclosures ---- */

/* every platform in one frame of five columns; the first is the visitor's (download.js moves theirs first) and wears
   the ink rule, so the list reads: yours, its size, its checksum, then the others (STRIPE_LEVEL CV3) */

.slot .plat + .plat{border-top:0}

/* a hash in even lines (two of 32, three of 22 in a slot), never a five-character orphan (15 Oct 2026); a release
   note's link stays whole */

.dl-more[open] summary::after{transform:rotate(225deg) translateY(-3px)}

html[data-os]:not([data-os="windows"]) .close .js-dl{display:none}
html[data-os]:not([data-os="windows"]) .close .dl-other{display:inline-block}

/* ---- Contact and About: rows of request types, each with its ready-made email; the release's known limits ---- */
.support .srow h2{margin:0; padding:0; border:0}
.support .srow .btn-line{min-height:44px; padding:0 16px; font-size:var(--fs-small)}
.prose .limits{padding-left:0}
.prose .limits li{margin:0}
.prose .press li b{margin-right:6px}

/* on a phone the visitor's checksum is the hero's line, and every file's is under Verify: one hash a row would make the page long */

/* Stream A, 15 Oct 2026 (P4): the 404's list is rows, not in-text links: the shell's link underline stops at the row,
   the title underlines on hover (the shell's :is() rule is heavier than .nf-go a, so this one names more). */
.nf-go li > a[href]:not(.cta):not(.ghost):not(.sh-cta){text-decoration:none}

/* Stream A, round 2 (T5): the same measure on the company pages' prose and lists */
.limits li, .steps li > span, .steps li p, .flow li > span, .rm-rules dd, .ph-foot{max-width:68ch}
.rm .ph-when h2.when{font-size:var(--fs-fig-l)}

/* ---- Stream A, 14 Oct 2026 (STRIPE_LEVEL L3): an inner page's hero with its product beside it ---------------------
   The statement left, one real capture (cropped to the part that proves the statement) right, on a rule: the same
   pattern product-pages.css has for the product pages, here for the company pages. */
.ph-split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center}
.ph-split .sub{margin-bottom:0}
.ph-split .hnote{margin-top:28px}
.ph-vis{margin:0; min-width:0}
.ph-vis figcaption{margin-top:12px; font-size:var(--fs-caption); line-height:1.6; color:var(--ink-3)}
.crop{margin:0; overflow:hidden; aspect-ratio:calc(var(--w) / var(--h)); border:1px solid var(--rule-2);
  border-radius:var(--r-3); background:var(--card)}
.crop.phone{max-width:280px}
.crop picture{display:block}
.crop img{display:block; max-width:none; height:auto; width:calc(var(--sw) / var(--w) * 100%);
  margin-left:calc(var(--x) / var(--w) * -100%); margin-top:calc(var(--y) / var(--w) * -100%)}
.crop.cut img{width:100%; margin:0}  /* a file cut to the region (tools/site_crops.py) */
@media (max-width:900px){ .ph-split{grid-template-columns:minmax(0,1fr); gap:40px} }

/* a table's "Included": a mark in ink (the word stays for screen readers); a dash is still a dash */
.yes{display:inline-block; width:14px; height:8px; margin-top:2px; border-left:1.5px solid var(--ink); border-bottom:1.5px solid var(--ink);
  transform:rotate(-45deg) translate(2px,-3px)}
.ph-split{padding-bottom:48px}
.ph + .plans-sec{padding-top:64px}

/* ---- Stream A, 15 Oct 2026 (STRIPE_LEVEL P1, P2): states for every control, and captures that fade in ---------
   A control with no handler of its own still shows hover, press and disabled; img-fade.js adds .fade-img only to an
   image that is still loading, so a cached one is never hidden. */
.ghost:active{opacity:.7}
.cta[aria-disabled="true"], .btn-line[aria-disabled="true"], .ghost[aria-disabled="true"], .plat[aria-disabled="true"],
.cta:disabled, .btn-line:disabled, .ghost:disabled{opacity:.45; cursor:not-allowed; pointer-events:none; transform:none}
.fade-img{opacity:0}
.fade-img.in{opacity:1; transition:opacity var(--t-ui) var(--ease-ui)}
@media (prefers-reduced-motion:reduce){ .fade-img.in{transition:none} }

/* Stream A, round 2 (T5): prose is 68ch at most; a size comes from the scale */

/* Stream A, round 2 (C1): a closing band on plate where the sections before it end on paper */
.close.alt{background:var(--plate); border-top:1px solid var(--rule)}

/* Stream A, round 3 (MI3): the Copy button beside a SHA-256 is a .ghost, at the caption size and the 44px target */

/* Stream A, round 4 (N4): "On this page" under a long page's hero: one quiet line of the sections, on phones a strip that
   scrolls sideways; every section a link lands on clears the sticky header */
.ltoc.strip{border-bottom:1px solid var(--rule)}
.ltoc.strip .wrap{display:flex; align-items:center; gap:24px}
.ltoc.strip .ltoc-h{flex:none; margin:0; font-size:var(--fs-small); color:var(--ink-3)}
.ltoc.strip ol{display:flex; gap:24px; margin:0; padding:0; list-style:none; overflow-x:auto}
.ltoc.strip li{flex:none; font-size:var(--fs-small)}
.ltoc.strip a{display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:24px; white-space:nowrap}
@media (max-width:560px){ .ltoc.strip .wrap{gap:12px} .ltoc.strip ol{gap:16px} }

/* Stream A, round 6 (R6-A1): Pricing opens on its plans: a short hero, then the three cards in the first viewport */
.ph.compact{padding:48px 0 20px}
.ph.compact .sub{margin-bottom:0; max-width:62ch}
.ph.compact .hnote{margin-top:20px}
.ph.compact + .ltoc.strip + .plans-sec{padding-top:24px}
@media (max-width:900px){ .ph.compact{padding:32px 0 12px} .ph.compact .hnote{display:none} }
@media (min-width:901px) and (max-height:700px){ .ph.compact{padding:28px 0 12px} .ph.compact h1{margin-bottom:12px} .ph.compact .hnote{display:none} .ph.compact + .ltoc.strip + .plans-sec{padding-top:16px} }
/* Stream A, round 6 (R6-A2): on a phone the contents strip uses the whole width (its label stays for screen readers) and fades at the right edge where it scrolls on */
@media (max-width:560px){ .ltoc.strip .ltoc-h{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap} .ltoc.strip ol{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent); mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent); padding-right:32px} }

/* Stream A, round 6b (R6-A4/A5): a figure's working, in the grammar the guides use (working.css: plate, leader, rows) and a
   "Show working" button (wk-switch.js) that hides the working and brings it back. No script, or reduced motion: all shown. */
.bare .wkc{display:none}
.bare .wk .wr:not(.tot){display:none}
.wl .op{margin-right:6px; color:var(--ink-3)}
.eg .fig{font-weight:600}
.wkp{margin:12px 0 0}

/* Stream A, round 8 (R8-7): said before the click, to the visitors it is true for (not shown on Linux, Android, iPhone) */

/* Stream A, round 8 (R8-3): on a phone, the Android app's own screens where a desktop capture would be unreadable; a desktop
   capture with no phone screen of its own (.desk) is not drawn there (28 Oct 2026: About's inbox, drawn at x0.36; Download's
   pairs are in download.css) */
@media (max-width:700px){ .desk{display:none} }

/* ---- Stream B, round 16 (B3): the company and legal pages' one head. A headline-size H1, its date line and one summary box
   (the .prose pages' own, inner.css), here for a page wider than prose (Roadmap). These pages carry no hero capture;
   the product pages' pattern is a display H1 beside its visual (.ph-split). ---- */
.ph.ch{padding:64px 0 24px}
.ph.ch h1{max-width:none; margin:0 0 16px}
.ph.ch .ldate{margin:0 0 28px; font-size:var(--fs-small); color:var(--ink-3)}
.ph.ch .lsum{max-width:65ch; padding:20px; border:1px solid var(--rule-2); border-radius:var(--r-3); background:var(--card);
  color:var(--ink-2); line-height:1.7}
.ph.ch .lsum b{color:var(--ink)}
@media (max-width:900px){ .ph.ch{padding:48px 0 16px} }

/* ---- Stream B, round 16 (B4): About, Contact and Privacy keep their text in its column and put the page's sections in the
   margin from 1200px, sticky; below that one column, the list under the summary, a strip on a phone (inner.css). The
   list is the nav's .tm-in, so the nav keeps the markup the policies' contents test knows. ---- */
.prose .ltoc .tm-in.plain ol{list-style:none; padding-left:0}
@media (min-width:1200px){
  .prose:has(> .ltoc > .tm-in){position:relative}
  .prose > .ltoc:has(> .tm-in){position:absolute; top:76px; bottom:104px; right:calc(100% + 40px); width:190px; margin:0; padding:0; border:0}
  .prose > .ltoc > .tm-in{position:sticky; top:96px}
  .prose > .ltoc > .tm-in .ltoc-h{margin:0 0 8px}
  .prose > .ltoc > .tm-in ol{columns:1; padding-left:1.4em}
  .prose > .ltoc > .tm-in.plain ol{padding-left:0}
  .prose > .ltoc > .tm-in li{line-height:1.35}
  .prose > .ltoc > .tm-in a{min-height:32px; padding:4px 0}
}

/* R16d: the Lifetime sums in two rows */
.even-t{border-collapse:collapse; font-size:var(--fs-small)}
.even-t th,.even-t td{padding:6px 16px 6px 0; text-align:left; font-weight:400; border-top:1px solid var(--rule)}

/* R16k (DESIGN.md Feature module): a figure's cut crop is drawn at its true size at most (About's would have stretched) */
.ph-vis:not(.mob) .crop{max-width:calc(var(--w) * 1px + 2px)}
