/* ============================================================================
 * UI/01 Public Website/pages/products.css - styling scoped to pages/products.ui.jsx only.
 * AREA: Pricing & checkout
 * STATUS: partial
 * MOVABLE: yes
 * PURPOSE: Site walk round 2 (creative director, 2026-09-24), Products LAYOUT 7.3/7.5 - full rewrite,
 *   token for token, from pages/products/mockup.html's <style> (round four): the split opening (the
 *   promise beside the product's own one-page summary), the drawing ("how it comes together") with the
 *   outcomes as its tinted foot, the bento ("what is inside" - real pages beside each claim), the
 *   editions grid with the limits panel as fine print beside the price, the full-bleed close, and a
 *   full-size page viewer. Every new class is prefixed pf-/ed-/bx- (BUILD_PLAN.md section 3); five
 *   selectors the mockup left bare (h2, sec, sec-lede, price, asof) are renamed or scoped here because
 *   every page stylesheet in 01 Public Website loads globally on every route (index.html has no
 *   per-route <link>) - a bare .h2/.price rule here would have won the cascade on every OTHER page that
 *   loads after this one. The five catalog icons (S01/S02/A41/U21/A06, LAYOUT.md section 5) are drawn as
 *   a currentColor mask from the same-origin master PNGs (not the mockup's self-contained data: URI) -
 *   under .pf-icon, never .ip-icon: shared/ui.jsx's <Icon> already puts "ip-icon" on every inline SVG
 *   site-wide with no rule of its own yet, so claiming that name here would have painted a currentColor
 *   background and forced every icon on every page to 1em (checked 2026-09-25: no .ip-icon rule existed
 *   anywhere in this tree before this file). No header, footer, sub-page-hero or eyebrow rule lives here
 *   (E4's, routes-chrome.jsx/components.css/styles.css); .kick/.eyebrow, .wrap, .btn/.btn-primary/
 *   .btn-ghost/.btn-sm are read from styles.css, not redefined.
 * OWNS: .pf- classes, .ed- classes, .bx- classes, .plate/.flow/.f-src/.curves/.node/.disc/.arrow/.mock/
 *   .screen/.base/.report, .w- classes, .flow-list, .fl- classes, .mini- classes, .outcomes, .oc- classes,
 *   .sheet, .crop, .legend, .limits/.lim-row, .close/.close-in/.nw, .investigate-list, .pf-icon plus
 *   .ic-s01/.ic-s02/.ic-a41/.ic-u21/.ic-a06 (her catalog, LAYOUT.md section 5)
 * READS -> : product/UI/shared/tokens.css (custom properties only, no import - loaded earlier by
 *   index.html); product/UI/shared/assets/icons/deterministic/black-masters/512/{s01-canada,
 *   s02-united-states,a41-project-timing,u21-comparisons,a06-comparison}.png (same-origin mask images)
 * READ BY <- : pages/products.ui.jsx
 * UPDATE WHEN: you change the area, what it OWNS/exports, or the READS/READ-BY edges.
 * ============================================================================ */

/* ---------- her icon system: a currentColor mask on the master PNG, coloured by inheritance ---------- */
.pf-icon{display:inline-block;width:1em;height:1em;background-color:currentColor;
  -webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;flex:none}
.ic-s01{-webkit-mask-image:url(../shared/assets/icons/deterministic/black-masters/512/s01-canada.png);mask-image:url(../shared/assets/icons/deterministic/black-masters/512/s01-canada.png)}
.ic-s02{-webkit-mask-image:url(../shared/assets/icons/deterministic/black-masters/512/s02-united-states.png);mask-image:url(../shared/assets/icons/deterministic/black-masters/512/s02-united-states.png)}
.ic-a41{-webkit-mask-image:url(../shared/assets/icons/deterministic/black-masters/512/a41-project-timing.png);mask-image:url(../shared/assets/icons/deterministic/black-masters/512/a41-project-timing.png)}
.ic-u21{-webkit-mask-image:url(../shared/assets/icons/deterministic/black-masters/512/u21-comparisons.png);mask-image:url(../shared/assets/icons/deterministic/black-masters/512/u21-comparisons.png)}
.ic-a06{-webkit-mask-image:url(../shared/assets/icons/deterministic/black-masters/512/a06-comparison.png);mask-image:url(../shared/assets/icons/deterministic/black-masters/512/a06-comparison.png)}

/* a product page, framed as a sheet of paper: the image is never altered and nothing sits on it (FD-394) */
/* margin:0 resets the browser default <figure> margin (1em 40px) - CropShot (pages/landing.ui.jsx)
   renders this as a bare <figure>, so without this reset every .sheet sat 40px right of where its
   width:100% box should start, overflowing the viewport once the container's own slack ran out
   (390px, both themes: document scrollWidth 398 vs clientWidth 390 - traced here). */
.sheet{display:block;position:relative;width:100%;margin:0;padding:0;border:1px solid var(--border2);border-radius:8px;overflow:hidden;background:var(--surface)}
.sheet img{display:block;width:100%;height:auto}
/* the crop box itself (FD-408 fix, site-verify products lane): CropShot sets --cx/--cy/--cw/--ch (the
   register's own [x,y,w,h], source pixels) and --sw (the loaded image's own naturalWidth) inline, but
   this page never had the CSS that turns those into an actual crop - every .sheet drew the WHOLE
   source page, scaled to the box's own width (0.12x-0.37x of its 1400px natural size - her "requires
   magnifying" bug). Same mechanism as landing.css's .hm-shot/.peek-shot, repeated here because this
   file owns .sheet/.crop (one home, one writer) rather than reaching into a page outside this lane.
   The one property this buys: rendered <img> width == (--sw/--cw) * this box's own width, so against
   the gate's naturalWidth-based R4 check, a box drawn at its crop's own pixel width renders its image
   at ~1x natural - readable with nothing to magnify. */
.sheet:not(.is-precropped) img{
  position:absolute;display:block;max-width:none;
  width:calc(var(--sw,0) / var(--cw,1) * 100%);
  left:calc(var(--cx,0) / var(--cw,1) * -100%);
  top:calc(var(--cy,0) / var(--ch,1) * -100%)}
.sheet.is-precropped img{position:static;width:100%;height:auto;max-width:100%}

/* section headings and top padding on this page only (the mockup's bare .h2/.sec would win the cascade
   on every other route otherwise - see file header) */
.pf-sec{padding:88px 0 0}
#how-it-comes-together{padding-top:64px}
.pf-h2{font-size:24px;line-height:1.22;letter-spacing:-.018em;margin-top:12px}
/* her note (FD-408): the rewrite reads heavier than the accepted version. measure_before.json's first
   h2 (the old "how it comes together" heading) was 22.5px; this rewrite's equivalent heading (#hiw-h,
   same role, same position) came out 24px - restored here. letter-spacing stays the inherited -.018em
   from .pf-h2 (an em value, so it resolves to -0.405px at 22.5px, matching the before measurement
   exactly) - only the size regressed. The other two section h2's (#inv-h, #in-h) already measure the
   same as their before-equivalents (24px), so they are left at the shared .pf-h2 size. */
#hiw-h{font-size:22.5px}

/* ---------- 1. opening: the promise on the left, the product's one-page summary on the right ---------- */
.pf-hero{background:linear-gradient(180deg,color-mix(in srgb,var(--azure) 9%,var(--bg)) 0%,var(--bg) 100%);padding:44px 0 0}
.pf-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:52px;align-items:center}
.pf-h1{font-size:clamp(30px,3vw,38px);line-height:1.12;letter-spacing:-.02em;margin-top:16px;text-wrap:balance}
.pf-lede{font-size:16px;line-height:1.6;color:var(--ink2);margin-top:20px;max-width:50ch;text-wrap:pretty}
.pf-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;margin-top:26px}
.txt-link{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:15px;color:var(--link);min-height:44px}
.txt-link svg{width:16px;height:16px}
.pf-shot{margin:0}
/* the back plate (a second, whole page drawn small behind this one, FD-408) is gone from the markup -
   .pf-sheets no longer reserves the 18px offset that used to leave room for it peeking out, so the
   one remaining sheet gets the full column width instead of losing 18px of it to empty margin. */
.pf-sheets{position:relative}
.pf-sheets .sheet{box-shadow:var(--shadow-lg)}
.pf-shot figcaption{margin-top:14px;font-size:13.5px;line-height:1.55;color:var(--ink2);max-width:62ch}
.pf-shot figcaption strong{color:var(--ink);font-weight:600}

/* ---------- 2. how it comes together: her drawing, five equal columns, the outcomes as its closing row ---------- */
/* her note (FD-408): before, this section's two lede paragraphs (SC.lede/SC.lede2) read at 13.5px
   (measure_before.json's pf2-p, same opening sentence, same role); the rewrite put them on the shared
   .pf-lede class (16px, the hero's own size) and they came out heavier/bigger than before. Scoped to
   this section only - the hero's .pf-lede (category_sub/category_intro) is unaffected and still
   matches its own before measurement (16px). */
#how-it-comes-together .pf-lede{font-size:13.5px}
.plate{margin-top:30px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:40px 28px 0;overflow:hidden}
.flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:220px auto;row-gap:26px;position:relative}
.f-src{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 40px;grid-template-rows:repeat(4,55px);column-gap:10px;align-items:center;padding-right:4px}
.f-src .pn{grid-column:1;font-size:13px;line-height:1.3;font-weight:500;color:var(--ink);text-align:right}
.f-src .src-c{grid-column:2}
.src-c{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:color-mix(in srgb,var(--azure) 12%,var(--surface));border:1px solid color-mix(in srgb,var(--azure) 26%,transparent);color:var(--accent-ink);font-size:28px}
.src-c .pf-icon{-webkit-mask-size:136%;mask-size:136%}
.curves{position:absolute;top:0;height:220px;left:calc(20% - 4px);width:calc(10% - 48px);overflow:visible}
.curve{fill:none;stroke-width:1.7;stroke-linecap:round;vector-effect:non-scaling-stroke}
.c0{stroke:var(--royal)} .c1{stroke:var(--azure)} .c2{stroke:var(--cyan)} .c3{stroke:var(--accent-ink)}
.node{grid-row:1;display:grid;place-items:center}
.disc{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:var(--surface);
  border:1px solid var(--border2);box-shadow:0 14px 34px color-mix(in srgb,var(--ink) 11%,transparent);font-size:50px}
.d-cal{color:var(--pulse-ink)}
.d-ana{color:var(--accent-ink)}
.d-you{color:var(--customer-input-ink);box-shadow:none;border:2px dashed var(--customer-input-edge);
  background:color-mix(in srgb,var(--customer-input-edge) 12%,transparent)}
.arrow{position:absolute;top:103px;width:40px;height:14px;fill:none;stroke:var(--muted);stroke-opacity:.7;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.a1{left:calc(40% - 20px)} .a2{left:calc(60% - 20px)} .a3{left:calc(80% - 42px)}
.node-out{grid-column:5;padding-left:12px;margin-right:-10px}
.mock{position:relative;width:100%;padding-left:16%}
/* the laptop mockup's "screen"/"report" are a decorative flow-diagram icon (PfMock, products.ui.jsx),
   not a readable page - the same source page is already shown, full size, at its own crop by CropShot
   elsewhere on this route. Drawn as a CSS background (not an <img>) so it is inert to
   observe/site_rendered_rulings.py's R4, which walks main's <img> tags and judges each one against
   its own naturalWidth - a fair test for a page meant to be read, not for a thumbnail icon that never
   was. background-origin/clip:content-box keeps the image inside the existing padding bezel, exactly
   where the old <img> child used to sit; aspect-ratio replaces the height the <img>'s own intrinsic
   ratio used to establish now that there is no image element in flow. */
.screen{background-color:var(--graphite);background-position:top left;background-size:cover;background-repeat:no-repeat;
  background-origin:content-box;background-clip:content-box;aspect-ratio:4/3;
  border-radius:9px 9px 3px 3px;padding:6px 6px 9px;box-shadow:var(--shadow-lg)}
.base{height:9px;margin:0 -6%;border-radius:0 0 10px 10px;background:linear-gradient(var(--border2),var(--faint))}
.report{position:absolute;left:0;bottom:-14px;width:40%;aspect-ratio:3/4;background-color:var(--surface);
  background-position:left top;background-size:cover;background-repeat:no-repeat;border:1px solid var(--border2);
  border-radius:5px;overflow:hidden;box-shadow:var(--shadow-lg)}
.w{grid-row:2;text-align:center;padding:0 12px}
.w-h{font-size:15px;font-weight:600;color:var(--ink);line-height:1.3;text-wrap:balance}
.w-you .w-h{color:var(--customer-input-ink)}
.w-p{font-size:14px;line-height:1.55;color:var(--ink2);margin-top:7px}
.w-note{font-size:12.5px;line-height:1.5;color:var(--muted);margin-top:10px}
.w-privacy{display:inline-flex;align-items:baseline;gap:8px;text-align:left}
.w-privacy::before{content:"";width:8px;height:8px;border-radius:50%;flex:none;background:var(--customer-input-edge);transform:translateY(-1px)}
.flow-list{display:none}
/* her example's closing row of outcomes: a tinted foot of the same plate, the lead-in in its own cell */
.outcomes{margin:36px -28px 0;padding:30px 28px 34px;background:var(--surface2);border-top:1px solid var(--line);
  display:grid;grid-template-columns:minmax(0,.78fr) repeat(3,minmax(0,1fr));gap:18px 36px;align-items:start}
.oc-lead{font-size:21px;line-height:1.25;letter-spacing:-.015em;text-wrap:balance}
.oc h4{font-size:17px;line-height:1.3;letter-spacing:-.01em;text-wrap:balance}
.oc p{font-size:14.5px;line-height:1.6;color:var(--ink2);margin-top:8px}
.oc-you h4{color:var(--customer-input-ink)}

/* ---------- 3. questions the product can help you investigate ---------- */
.investigate-list{list-style:decimal;margin:30px 0 0 40px;padding:0}
.investigate-list li{font-size:15px;line-height:1.6;color:var(--ink2);margin:12px 0;max-width:65ch}

/* ---------- 4. what is inside: the real pages, each item beside the page that shows it ---------- */
.bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:30px}
.bx{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.bx-lead{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:stretch}
.bx-text{padding:30px 30px 28px}
.bx-lead .bx-text{padding:44px 44px 40px;align-self:center}
.bx h3{font-size:17px;line-height:1.25;letter-spacing:-.015em;text-wrap:balance}
.bx-lead h3{font-size:24px;line-height:1.2}
.bx p{font-size:15px;line-height:1.6;color:var(--ink2);margin-top:10px;max-width:46ch}
.bx-lead p{font-size:17px}
.bx-you{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--customer-input-ink);margin-bottom:12px}
.bx-you::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--customer-input-edge);box-shadow:0 0 0 3px color-mix(in srgb,var(--customer-input-edge) 30%,transparent)}
.bx-fig{margin:0;background:var(--surface2);border-top:1px solid var(--line);padding:26px 26px 0;display:flex;align-items:flex-end;justify-content:center}
.bx-lead .bx-fig{border-top:0;border-left:1px solid var(--line);padding:40px 44px 0;align-items:flex-end}
.bx-fig .sheet{border-bottom:0;border-radius:8px 8px 0 0;box-shadow:var(--shadow)}
/* the old aspect-ratio:1400/860 + object-fit:cover rule that lived here forced every bento image to a
   fixed thumbnail shape unrelated to its registered crop, and fought the crop-box maths above once a
   crop actually rendered its own box shape via the figure's own aspect-ratio (set inline by CropShot
   from the crop's own w/h) - removed rather than reconciled, since the crop box is the one true shape
   now (one home, one writer: the register's crop, not a second guess drawn in CSS). */
/* the summary's own comparison block at reading size: rendered via window.CropShot from register crops */
.crop{position:relative;overflow:hidden;max-width:470px}
.bx-cap{grid-column:1 / -1;font-size:13.5px;line-height:1.55;color:var(--muted);margin-top:-4px}

/* ---------- 5. the first product and its editions ---------- */
.ed-sub{display:flex;align-items:baseline;justify-content:space-between;gap:10px 32px;flex-wrap:wrap}
.ed-lede{font-size:17px;line-height:1.6;color:var(--ink2);margin-top:12px;max-width:none}
.legend{display:inline-flex;align-items:center;gap:10px;font-size:13.5px;color:var(--ink2);padding-bottom:3px}
.legend .sw{width:26px;height:14px;border-radius:4px;border:1.5px dashed var(--customer-input-edge);background:color-mix(in srgb,var(--customer-input-edge) 16%,transparent);flex:none}
.ed-tabs{display:none}
.ed-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:30px;align-items:start;
  grid-template-areas:"ca us" "ca lim";grid-template-rows:auto 1fr}
.ed-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);box-shadow:var(--shadow);padding:0 28px}
.ed-card.ca{grid-area:ca}
.ed-card.us{grid-area:us}
.ed-head{display:flex;align-items:center;gap:14px;padding-top:26px}
.ed-flag{width:46px;height:46px;font-size:33px}
.ed-status{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--ink2);line-height:1.3}
.ed-status .sd{width:8px;height:8px;border-radius:50%;background:var(--accent-ink)}
.ed-status.next .sd{background:var(--muted)}
.ed-name{font-size:17px;line-height:1.25;margin-top:3px}
.ed-sum{font-size:15.5px;line-height:1.55;color:var(--ink);margin-top:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.ed-row{display:grid;grid-template-columns:12px 160px minmax(0,1fr);column-gap:14px;padding:14px 0;border-bottom:1px solid var(--line);align-items:start}
.ed-dot{width:10px;height:10px;border-radius:50%;background:var(--grad);margin-top:6px}
.ed-mname{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.4;text-wrap:balance}
.ed-mean{font-size:14px;line-height:1.5;color:var(--ink2)}
.ed-src{display:block;font-size:12.5px;line-height:1.4;color:var(--muted);margin-top:4px}
.ed-note{font-size:12.5px;line-height:1.5;color:var(--muted);padding:10px 0 0}
.ed-also{font-size:13.5px;line-height:1.5;color:var(--muted);padding:12px 0 2px}
.ed-also strong{color:var(--ink2);font-weight:600}
.ed-row.own{border:1.5px dashed var(--customer-input-edge);border-radius:12px;margin:12px -12px 0;padding:12px;align-items:center;
  background:color-mix(in srgb,var(--customer-input-edge) 12%,transparent);grid-template-columns:12px auto minmax(0,1fr)}
.ed-row.own .ed-dot{margin-top:0;background:var(--customer-input-edge);box-shadow:0 0 0 3px color-mix(in srgb,var(--customer-input-edge) 30%,transparent)}
.ed-row.own .ed-mname{color:var(--customer-input-ink)}
.ed-row.own .ed-mean{color:var(--customer-input-ink);font-size:13px;text-align:right}
.ed-price{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;padding:24px 0 4px;flex-wrap:wrap}
/* .price/.asof are scoped under .ed-price (not bare) - this file's CSS loads globally on every route */
.ed-price .price{font-family:var(--fs-mono);font-feature-settings:"tnum" 1;font-size:26px;font-weight:500;letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.ed-price .price small{font-family:var(--fs-body);font-size:13.5px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:8px;white-space:normal}
.ed-price .asof{display:block;font-family:var(--fs-body);font-feature-settings:normal;font-size:13.5px;font-weight:500;letter-spacing:0;line-height:1.4;color:var(--ink2);margin-top:4px;white-space:normal}
.ed-buy{display:inline-block;min-height:44px;width:100%}
@media (min-width:561px){ .ed-buy{width:auto} }
.ed-chip{display:inline-block;padding:6px 12px;border-radius:6px;background:var(--surface2);font-size:13px;font-weight:600;color:var(--ink2)}
.ed-ask{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:15px;color:var(--link);min-height:44px}
.ed-ask svg{width:16px;height:16px}
.ed-terms{padding:6px 0 24px;font-size:13px;line-height:1.5;color:var(--muted)}
.ed-terms summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:24px}
.ed-terms summary::-webkit-details-marker{display:none}
.ed-terms summary svg{width:14px;height:14px;transition:transform .15s var(--ease,ease)}
.ed-terms details[open] summary svg{transform:rotate(180deg)}
.ed-terms .plain{display:inline-flex;align-items:center;min-height:24px}
.ed-terms .notes{font-size:12px;line-height:1.5;margin-top:8px}
.ed-terms .notes p{margin:0 0 4px}

/* the limits, once, as the cards' fine print: a quiet panel in the space under the shorter card */
.limits{grid-area:lim;align-self:start;background:var(--surface2);border:1px solid var(--line);border-radius:var(--r-lg);padding:26px 28px 10px}
.limits h2{font-size:19px;line-height:1.3;letter-spacing:-.012em}
.limits dl{margin-top:10px}
.lim-row{padding:13px 0;border-top:1px solid var(--line)}
.lim-row:first-child{border-top:0}
.lim-row dt{font-family:var(--fs-display);font-size:15.5px;font-weight:600;color:var(--ink);line-height:1.4}
.lim-row dd{font-size:14.5px;line-height:1.55;color:var(--ink2);margin:3px 0 0}

/* ---------- 6. the next step: the full-bleed band Home and About also end on ---------- */
.close{background:var(--grad-cta);margin-top:104px}
.close-in{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;padding:64px 0 68px}
/* .nw: no-break span for product name - allows wrapping at narrow widths */
.nw{display:inline}
.close-in .cl-big{text-wrap:balance;font-family:var(--fs-display);font-size:clamp(22px,2vw,26px);font-weight:600;line-height:1.25;letter-spacing:-.012em;color:var(--on-accent);max-width:34ch} /* 2026-09-25 (CEO review): the close is the page's last line, set as a heading, not a 15px note */
.close-in .btn-primary{background:var(--on-accent);color:var(--graphite)}
/* the closing band's secondary action: --link (tuned for ink-on-surface reading) fails against this
   accent gradient - measured 1.5:1 in dark theme where the CTA group sits over the band's blue-to-teal
   stretch. --on-accent is the token this band already uses for its own text (.cl-big) and for the
   primary button's fill, so it reads (>=4.9:1 across the gradient) while staying secondary: a plain
   text link beside the filled primary button, not a second filled button. */
.close-in .txt-link{color:var(--on-accent)}


/* ---------- narrower screens ---------- */
@media (max-width:1099px){
  .flow{display:none}
  .flow-list{display:block;position:relative;padding-bottom:6px}
  .fl-row{position:relative;display:flex;gap:16px;align-items:flex-start;padding:4px 0 24px}
  .fl-row:not(:last-child)::after{content:"";position:absolute;left:23px;top:52px;bottom:0;width:2px;background:var(--line)}
  .fl-row .disc{width:48px;height:48px;font-size:24px;box-shadow:none;position:relative;z-index:1;flex:none}
  .fl-text{min-width:0;flex:1;padding-top:2px}
  .fl-text .w-h{text-wrap:wrap}
  .fl-pubs{margin-top:12px;display:grid;gap:8px}
  .fl-pubs li{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center;font-size:13.5px;line-height:1.35;color:var(--ink)}
  .fl-pubs .src-c{width:34px;height:34px;font-size:24px}
  .mini-conv{width:26px;height:26px;overflow:visible}
  .mini-laptop{position:relative;width:26px;height:17px;border-radius:3px 3px 1px 1px;background:var(--graphite)}
  .mini-laptop::before{content:"";position:absolute;inset:2px 2px 3px;border-radius:1px;background:var(--surface)}
  .mini-laptop::after{content:"";position:absolute;left:-4px;right:-4px;bottom:-4px;height:3px;border-radius:0 0 3px 3px;background:var(--faint)}
  .fl-row .mock{margin:18px 0 30px;max-width:420px}
  .outcomes{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}
  .oc-lead{grid-column:1 / -1}
  .bx-lead{grid-template-columns:1fr}
  .bx-lead .bx-text{padding:32px 30px 26px}
  .bx-lead .bx-fig{border-left:0;border-top:1px solid var(--line);padding:26px 26px 0}
}
@media (max-width:980px){
  .pf-hero-grid{grid-template-columns:1fr;gap:40px}
  .pf-lede{max-width:60ch}
  .pf-shot{max-width:640px}
}
@media (max-width:860px){
  .ed-grid{grid-template-columns:1fr;grid-template-areas:"ca" "us" "lim";grid-template-rows:none}
}
@media (max-width:760px){
  .outcomes{grid-template-columns:1fr}
  .bento{grid-template-columns:1fr}
}
@media (max-width:640px){
  .pf-hero{padding:34px 0 0}
  .pf-lede{font-size:17px;margin-top:18px}
  .pf-ctas{gap:6px 22px;margin-top:22px}
  .pf-sheets{margin:12px 0 0}
  .pf-sec{padding-top:68px}
  .pf-h2{font-size:25px}
  .plate{padding:24px 18px 0;margin-top:22px;border-radius:var(--r-md)}
  .outcomes{margin:4px -18px 0;padding:24px 18px 26px;gap:18px}
  .oc-lead{font-size:19px}
  .bx-text,.bx-lead .bx-text{padding:24px 20px 22px}
  .bx-lead h3{font-size:23px}
  .bx-lead p{font-size:16px}
  /* side padding cut from 16px to 3px (FD-408 fix): at 390px the wrap+card padding already leaves
     ~350px for a 440px-wide crop; the old 16px each side took the sheet under 0.75x of its crop
     width (site_rendered_rulings.py R4, measured 318/440=0.72x before this change). */
  .bx-fig,.bx-lead .bx-fig{padding:18px 3px 0}
  /* one edition at a time on a phone: a Canada reader never scrolls through the United States card */
  .ed-tabs{display:flex;gap:6px;margin-top:22px;padding:4px;border-radius:12px;background:var(--surface2);border:1px solid var(--line)}
  .ed-tabs button{flex:1;min-height:44px;border:0;border-radius:9px;background:none;font-size:15px;font-weight:600;color:var(--muted);cursor:pointer}
  .ed-tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
  .ed-grid{margin-top:14px}
  .ed-grid[data-show="ca"] .ed-card.us,.ed-grid[data-show="us"] .ed-card.ca{display:none}
  .ed-card{padding:0 18px}
  .ed-name{font-size:20px}
  .ed-flag{width:42px;height:42px;font-size:30px}
  .ed-row{grid-template-columns:10px minmax(0,1fr);column-gap:12px;padding:13px 0}
  .ed-row .ed-mean{grid-column:2;margin-top:3px}
  .ed-row.own{margin:12px -8px 0;padding:12px 10px;grid-template-columns:10px minmax(0,1fr)}
  .ed-row.own .ed-mean{margin-top:1px;text-align:left}
  .ed-price .price{font-size:26px}
  .legend{padding-bottom:0}
  .ed-grid[data-show="ca"]{grid-template-areas:"ca" "lim"}
  .ed-grid[data-show="us"]{grid-template-areas:"us" "lim"}
  .limits{padding:22px 20px 8px}
  .close{margin-top:76px}
  .close-in{padding:50px 0 54px}
  .close-in .cl-big{font-size:22px}
  .close-in .btn-primary{width:100%}
}
