/*!
 * codex-desktop-readability.css
 * Perseus Fans - desktop typography readability layer
 * Version: 20261015v1
 *
 * Scope: desktop only (@media min-width:1025px).
 *   - phones  (<=767px)   : untouched, owned by codex-mobile-readability.css
 *   - tablets (768-1024px): untouched. lplug renders that band from a 2vw base,
 *                           i.e. >=15.36px body copy -- LARGER than desktop, so
 *                           a min-width:768px scope would shrink tablets. The
 *                           breakpoint therefore starts right above lplug's
 *                           1024px block.
 *
 * Background: lplug.min.css sizes the wide-viewport band off a 1920px design
 * canvas -- :root{--font-size:clamp(12px,0.7291666666666666vw,28px)} -- and
 * *{line-height:inherit} collapses running text back to ~1.3. On a 1440px screen
 * body copy therefore lands on the 12px floor, .ccont on lplug's 14px floor
 * (.l-font18 = clamp(14px,0.9375vw,36px)) and leading on 15.6px/18.2px: tighter
 * and smaller than the phone layer, which already sits at 15.75px / 1.6.
 *
 * Approach: raise the FLOOR only, and keep lplug's own slope and ceiling, so
 * nothing that already renders larger is ever pulled down (e.g. .ccont is 18px
 * at 1920px and 24px at 2560px today, and stays exactly that).
 *
 * Titles / headings, .nname and .desc are deliberately NOT touched here. They are
 * heading and banner elements rather than running body copy, and lplug pins each
 * of them to its own scale (e.g. .capabilities-banner-text .desc is a fixed 14px,
 * .lh-ban .nname is clamp(15px,4vw,18px), .undustry-item-l .right .nname is a
 * pinned 12px). Re-scaling them would change the layout of the banner and industry
 * blocks, which is out of scope for a readability layer.
 *
 * Loaded after lplug.min.css and codex-typography-20261014.css, so rules of equal
 * specificity win by source order. Font families are untouched: titles stay on
 * Montserrat, body copy on Inter.
 */

@media screen and (min-width: 1025px) {

  /* 1. Base scale: 12px floor -> 15px floor. Slope and 28px ceiling unchanged,
     so this only ever lifts the smallest viewports in the desktop band. */
  :root {
    --font-size: clamp(15px, 0.7291666666666666vw, 28px);
  }

  /* 2. Comfortable leading for running text (was ~1.3) */
  body { line-height: 1.6; }
  p, pre, li, dd, dt, td, th, blockquote, figcaption { line-height: 1.6; }

  /* 3. Body-copy floor for .ccont. lplug pins .ccont to 12-14px in several
     desktop blocks with !important, so the :root lift above never reaches it.
     Re-assert lplug's own .l-font18 curve with the floor raised 14px -> 16px:
     equal specificity + later source order beats lplug's plain utilities, and
     !important is required to beat lplug's own !important pins.

     The :not(...) list keeps the larger .l-fontNN utilities (which already floor
     at 16px+) out of the rule, exactly as the phone layer does -- e.g. the
     category-page .ccont.l-font22 must stay 22px instead of being pulled down to
     the 16px floor. Only .l-font18 and below are lifted. */
  .ccont:not(.l-font20, .l-font22, .l-font24, .l-font26, .l-font28, .l-font30, .l-font32, .l-font34, .l-font36, .l-font38, .l-font40, .l-font42, .l-font44, .l-font46, .l-font48, .l-font50, .l-font52, .l-font54, .l-font56, .l-font58, .l-font60, .l-font72),
  .ccont.l-font18,
  .public-title .ccont,
  .index-products>.top .ccont,
  .index-products-cont .top .ccont,
  .index-products-cont>.top .ccont,
  .index-undustry .public-title .ccont,
  .index-capabilities .ccont,
  .index-capabilities .public-title .ccont,
  .index-technical .ccont,
  .technical-item .ccont,
  .index-about .public-title .ccont {
    font-size: clamp(16px, 0.9375vw, 36px) !important;
    line-height: 1.55 !important;
  }
}
