/* Second screen: press marquee + three stat tiles
   Hash suffix _e10hq. Hover light: js/motion/26-stat-tiles-hover.js (.env-st-* layers); corner icons: 29-stat-icons.js; values typed in letter by letter by 01-core.js (data-type).
   Part of the ENVY visual layer: files are loaded in numeric order and later files win — keep the order. See ../../README.md */
/* borderless blocks: the ring sits on the edge itself */
[class*="_statCardFace_"]::after, [class*="_card_r6q8r"]::after { inset: 0; }
[class*="_statCardFace_"] { border-radius: var(--envy-radius-tile) !important; }
/* CJK: tighter weight, no synthetic bold on Latin brand */
/* one heading scale for every block: section titles 40–44, card titles 31, features 22 */
h2, [class*="_sectionTitle_"], [class*="_builtTitle"], [class*="_heading_1cp90"], [class*="_heading_q4lhl"], [class*="_heading_nvxel"], [class*="_heading_vh8oe"], [class*="_heading_196mf"], [class*="_title_nvxel"], [class*="_title_e10hq"] {
  font-size: clamp(30px, 3.4vw, 44px) !important; letter-spacing: -.03em; line-height: 1.06;
}
/* stat cards (second block): every state change eases; hovers flow from one card to the next */
@property --stat-a { syntax: '<color>'; inherits: false; initial-value: #f3f3f3; }
@property --stat-b { syntax: '<color>'; inherits: false; initial-value: #f3f3f3; }
/* stat tiles: the section reveal fades each tile in */
@media (min-width: 1024px) {
  [class*="_statCell_"] { transition: opacity .6s var(--envy-ease); }
}
/* press-logo marquee: drag to scrub (js/motion/01-core.js and siblings), releases back into the steady drift */
[class*="_marquee_e10hq"].is-js { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
[class*="_marquee_e10hq"].is-js [class*="_marqueeTrack_"] { animation: none !important; will-change: transform; }
/* numbers: Pixel */
[class*="_statValue_"] {
  font-family: var(--envy-display) !important; font-weight: 300 !important; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums slashed-zero; font-feature-settings: normal;
}
/* section frames — drawn as the panel's own background layers, so they sit behind every element */
[class*="_card_e10hq_22"], [class*="_darkPanel_196mf"], [class*="_postPanel_iryqy"], [class*="_section_q4lhl_10"], [class*="_inner_nvxel"] {
  --fl: rgba(255,255,255,.12); --fc: rgba(255,255,255,.028); --fx: rgba(255,255,255,.42);
  --envy-frame-img:
    linear-gradient(var(--fx), var(--fx)), linear-gradient(var(--fx), var(--fx)),
    linear-gradient(var(--fx), var(--fx)), linear-gradient(var(--fx), var(--fx)),
    linear-gradient(var(--fl), var(--fl)),
    linear-gradient(var(--fl), var(--fl)), linear-gradient(var(--fl), var(--fl)),
    repeating-linear-gradient(90deg, var(--fc) 0 1px, transparent 1px 78px);
  --envy-frame-sz: 11px 1px, 1px 11px, 11px 1px, 1px 11px, 100% 1px, 1px 100%, 1px 100%, calc(100% - var(--envy-rail) * 2) 100%;
  --envy-frame-ps: calc(var(--envy-rail) - 5px) 6px, var(--envy-rail) 1px, calc(100% - var(--envy-rail) + 6px) 6px, calc(100% - var(--envy-rail) + 1px) 1px,
    0 0, var(--envy-rail) 0, calc(100% - var(--envy-rail) + 1px) 0, var(--envy-rail) 0;
}
[class*="_card_e10hq_22"], [class*="_postPanel_iryqy"] { --fl: rgba(0,0,0,.12); --fc: rgba(0,0,0,.03); --fx: rgba(0,0,0,.45); }
[class*="_card_e10hq_22"], [class*="_darkPanel_196mf"], [class*="_postPanel_iryqy"] {
  background-image: var(--envy-frame-img) !important; background-size: var(--envy-frame-sz) !important;
  background-position: var(--envy-frame-ps) !important; background-repeat: no-repeat !important;
}
@media (max-width: 767px) {
  [class*="_card_e10hq_22"], [class*="_darkPanel_196mf"], [class*="_postPanel_iryqy"], [class*="_section_q4lhl_10"], [class*="_inner_nvxel"] { --fc: transparent; }
}
/* typography: caps retired for titles; stat captions are Sans, title case */
[class*="_statCaption_"] { font-family: var(--envy-font) !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: -.01em !important; font-size: 20px !important; line-height: 1.25 !important; }
/* second screen: stat tiles are dark living glass fill = two large soft mint/teal lights drifting inside the card (--mx/--my, eased; not a cursor spot) and wanders in hue (--g1/--g2 from js/motion/01-core.js and siblings) over deep black */
@property --stat-a { syntax: '<color>'; inherits: false; initial-value: #0b1316; }
@property --stat-b { syntax: '<color>'; inherits: false; initial-value: #060a0c; }
/* caption: dark grey under the tile at rest (the source hid it until hover), white once it rises into the dark tile */
/* no white pointer spot on the stat tiles (the big lights above replace it) */
html[data-motion="on"] [class*="_statCard_"]::after { display: none !important; }
/* second screen: caption is part of the tile and always visible (the source hid it until hover); tile geometry never changes on hover */
[class*="_statCell_"] [class*="_statCaption_"] { opacity: 1 !important; visibility: visible !important; }
/* white backgrounds carry no dark decoration: frame, column grid, rails and crosses are light-on-dark only */
[class*="_card_e10hq_22"] { background-image: none !important; }
[class*="_statCell_"] { counter-increment: stat; position: relative; }
[class*="_statCell_"] [class*="_statCardFace_"]{
  display: flex !important; align-items: flex-end !important; justify-content: flex-start !important;
  padding: 0 clamp(20px, 6cqi, 30px) clamp(22px, 7cqi, 30px) !important; transform: none !important;
  height: 337px !important; box-sizing: border-box;
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCardFace_"]{
    display: flex !important; align-items: flex-end !important; justify-content: flex-start !important;
    padding: 0 clamp(20px, 6cqi, 30px) clamp(22px, 7cqi, 30px) !important; transform: none !important;
    height: 337px !important; box-sizing: border-box;
  }
}
/* rest state: no transform on the card; the hover tilt (js/motion/26-stat-tiles-hover.js) writes its own inline transform, so this rule must not be !important */
html[data-motion="on"] [class*="_statCard_"], [class*="_statCard_"] { transform: none; }
[class*="_statCell_"] [class*="_statValue_"] {
  font-size: clamp(56px, 6.6vw, 98px) !important; line-height: .92 !important; letter-spacing: -.045em; text-align: left !important;
  padding-inline: 0 !important; font-weight: 500 !important; position: relative; z-index: 3;
}
/* caption sits inside the card, top-left, mono small caps */
[class*="_statCell_"] [class*="_statCaption_"]{
  position: absolute !important; top: 22px; left: clamp(20px, 6cqi, 30px); right: 60px; width: auto !important; margin: 0 !important; z-index: 4;
  font-family: var(--envy-mono) !important; font-size: 12px !important; line-height: 1.3 !important; letter-spacing: .12em !important; text-transform: uppercase !important; font-weight: 500 !important;
  color: rgba(255,255,255,.58) !important; transition: color .9s var(--envy-ease) !important;
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCaption_"]{
    position: absolute !important; top: 22px; left: clamp(20px, 6cqi, 30px); right: 60px; width: auto !important; margin: 0 !important; z-index: 4;
    font-family: var(--envy-mono) !important; font-size: 12px !important; line-height: 1.3 !important; letter-spacing: .12em !important; text-transform: uppercase !important; font-weight: 500 !important;
    color: rgba(255,255,255,.58) !important; transition: color .9s var(--envy-ease) !important;
  }
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCaption_"]{ color: rgba(255,255,255,.92) !important; }
}
/* 01 / 02 / 03 — numbering from a CSS counter (no text to translate) */
[class*="_statCell_"]::after {
  content: counter(stat, decimal-leading-zero); position: absolute; top: 22px; right: clamp(20px, 6cqi, 30px); z-index: 4;
  font-family: var(--envy-mono, "IBM Plex Mono", ui-monospace, monospace); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.34);
  transition: color .9s var(--envy-ease);
}
@media (hover:hover) {
  [class*="_statCell_"]:hover::after{ color: rgba(var(--g1, 51,239,211), .95); }
}
/* hairline under the header row + a tick scale above the number that fills in on hover */
[class*="_statCell_"]::before {
  content: ""; position: absolute; left: clamp(20px, 6cqi, 30px); right: clamp(20px, 6cqi, 30px); top: 56px; height: 1px; z-index: 4;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); pointer-events: none;
}
@media (max-width: 1023px) {
  [class*="_statCell_"] { max-width: none; }
  [class*="_statCell_"] [class*="_statCardFace_"] { height: 220px !important; }
  [class*="_statCell_"] [class*="_statValue_"] { font-size: clamp(48px, 15vw, 76px) !important; }
  [class*="_statCell_"] [class*="_statCardFace_"]::before { bottom: calc(24px + clamp(48px, 15vw, 76px) + 14px); }
}
/* gradient-filled headline words (background-clip: text): the fill only covers the line box, so descenders (g, p, y) were cut off at the bottom.
   Extend the box downward and pull the layout back with a negative margin — nothing moves. */
[class*="_headingAccent_e10hq"], [class*="_sectionTitleAccent_r6q8r"], [class*="_subtitle_196mf"], [class*="_headingAccent_q4lhl"],
[class*="_builtTitleAccent_iryqy"], [class*="_headingAccent_vh8oe"], [class*="_headingAccent_nvxel"] {
  padding-bottom: .18em; margin-bottom: -.18em;
}
/* stat tiles: static characters ($ B +) were transparent (gradient text-fill) — white like the digits */
[class*="_statCell_"] [class*="_statValue_"] {
  background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important;
}
@media (max-width: 1023px) {
  [class*="_statCell_"] { display: block !important; width: 100% !important; max-width: 560px !important; min-height: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; contain: none !important; }
  [class*="_statCell_"] [class*="_statCard_"] { width: 100% !important; display: block; }
  [class*="_statCell_"] [class*="_statCardFace_"] { position: relative !important; width: 100% !important; left: auto; right: auto; top: auto; }
  /* caption on the left, with room for the corner icon on the right (it used to hug the right edge and run under the icon) */
  [class*="_statCell_"] [class*="_statCaption_"], [class*="_statCell_"]:hover [class*="_statCaption_"] { left: clamp(20px, 6cqi, 30px) !important; right: 56px !important; text-align: left !important; }
}
[class*="_statCell_"]::after { content: none !important; display: none !important; }
[class*="_statCell_"] [class*="_statCaption_"]{
  font-family: var(--envy-font) !important; font-size: 16px !important; font-weight: 300 !important; letter-spacing: -.005em !important; text-transform: none !important;
  line-height: 1.3 !important; color: rgba(255,255,255,.66) !important; right: clamp(20px, 6cqi, 30px) !important;
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCaption_"]{
    font-family: var(--envy-font) !important; font-size: 16px !important; font-weight: 300 !important; letter-spacing: -.005em !important; text-transform: none !important;
    line-height: 1.3 !important; color: rgba(255,255,255,.66) !important; right: clamp(20px, 6cqi, 30px) !important;
  }
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCaption_"]{ color: rgba(255,255,255,.92) !important; }
}
[class*="_statCell_"]::before { top: 58px; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); }
[class*="_statCell_"]:nth-child(1) { --g1: 51,239,211; }
[class*="_statCell_"]:nth-child(2) { --g1: 64,178,255; }
[class*="_statCell_"]:nth-child(3) { --g1: 96,226,138; }
[class*="_statCell_"]:nth-child(1) { --tp: 20%; }
[class*="_statCell_"]:nth-child(2) { --tp: 36%; }
[class*="_statCell_"]:nth-child(3) { --tp: 56%; }
/* the scale: static grey ticks (::after) + the lit ticks (.env-tick, built by 34-stat-ticks.js). The lit part is revealed by TWO opposite transforms with the same easing —
   a clip window slides right while the lit pattern inside slides left — so the pattern stays put and only the window opens. Transform-only = compositor, no repaint per frame
   (the old animated registered custom property repainted the tile every frame and cost a big share of the block's frame rate) */
[class*="_statCell_"]::after {
  content: "" !important; display: block !important; position: absolute; z-index: 2; pointer-events: none; border-radius: 0;
  left: clamp(20px, 6cqi, 30px); right: clamp(20px, 6cqi, 30px); bottom: auto; width: auto; height: 14px;
  top: calc(337px - clamp(22px, 7cqi, 30px) - clamp(56px, 6.6vw, 98px) * 1.1 - 26px);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.24) 0 1px, transparent 1px 8px);
}
.env-tick {
  position: absolute; z-index: 3; pointer-events: none; overflow: hidden; height: 14px;
  left: clamp(20px, 6cqi, 30px); right: clamp(20px, 6cqi, 30px);
  top: calc(337px - clamp(22px, 7cqi, 30px) - clamp(56px, 6.6vw, 98px) * 1.1 - 26px);
}
.env-tk-a, .env-tk-a i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: transform; transition: transform 2.4s cubic-bezier(.25, .8, .25, 1); }
.env-tk-a { overflow: hidden; transform: translate3d(calc(var(--tp, 20%) - 100%), 0, 0); }
.env-tk-a i { background: repeating-linear-gradient(90deg, rgba(var(--g1), .95) 0 1px, transparent 1px 8px); transform: translate3d(calc(100% - var(--tp, 20%)), 0, 0); }
@media (hover:hover) {
  [class*="_statCell_"]:hover .env-tk-a, [class*="_statCell_"]:hover .env-tk-a i { transform: translate3d(0, 0, 0); }
}
@media (max-width: 1023px) {
  [class*="_statCell_"]::after, .env-tick { top: calc(220px - clamp(22px, 7cqi, 30px) - clamp(48px, 15vw, 76px) * 1.1 - 26px); }
}
/* slower, calmer hover on the tiles: light fills in over ~2 s and lets go even slower */
[class*="_statCell_"] [class*="_statCaption_"]{ transition: color 1.4s var(--envy-ease) !important; }
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCaption_"]{ transition: color 1.4s var(--envy-ease) !important; }
}
/* clean, saturated accent gradients (no muddy grey-green); every pair passes contrast for its surface */
/* on white: large headline words (WCAG 3:1 needed, these give 4.0–4.5) */
[class*="_headingAccent_e10hq"], [class*="_headingAccent_vh8oe"], [class*="_builtTitleAccent_iryqy"] {
  background-image: linear-gradient(90deg, #008f6e 0%, #0a86b5 100%) !important; background-color: transparent !important;
  -webkit-background-clip: text !important; background-clip: text !important;
}
/* second screen: tiles are quiet near-black glass; the light is a WebGL field (js/motion/01-core.js and siblings, canvas.env-stat) instead of CSS gradients */
[class*="_statCell_"] [class*="_statCardFace_"]{
  background-image: none !important; background-color: #04080a !important;
}
@media (hover:hover) {
  [class*="_statCell_"]:hover [class*="_statCardFace_"]{
    background-image: none !important; background-color: #04080a !important;
  }
}
/* on white: a deeper pure green (3.4–4.0:1, large text) with only a faint drift along the word */
[class*="_headingAccent_e10hq"], [class*="_headingAccent_vh8oe"], [class*="_builtTitleAccent_iryqy"] {
  background-image: linear-gradient(90deg, #00a56d 0%, #00955f 100%) !important;
}
/* harmony on white: the heading green and the mint button now share one hue path (160° → 170°, left → right); the heading is the deepest tone that still passes 3:1,
   the button is a more saturated mint (less pastel) with black text */
[class*="_headingAccent_e10hq"], [class*="_headingAccent_vh8oe"], [class*="_builtTitleAccent_iryqy"] {
  background-image: linear-gradient(90deg, #00a070 0%, #009f82 100%) !important;
}
[class*="_heading_e10hq_68"], [class*="_sectionTitle_r6q8r_40"], [class*="_title_196mf_36"], [class*="_heading_q4lhl_40"],
[class*="_builtTitle_iryqy_32"], [class*="_heading_vh8oe_20"], [class*="_heading_nvxel_412"] {
  font-size: clamp(30px, 3.4vw, 46px) !important; font-weight: 600 !important; letter-spacing: -.035em !important; line-height: 1.04 !important;
  text-wrap: balance; position: relative;
}
[class*="_statCardFace_"] { border-radius: var(--r-l) !important; }
@supports (corner-shape: squircle) {
  [class*="_card_1cp90_20"], [class*="_card_r6q8r_128"], [class*="_cardPaint_"], [class*="_cardArtFrame_"], [class*="_cardArtFrameBg_"], [class*="_vignette_"], [class*="_cardFeaturesLayer_"],
    [class*="_cardVideoWrap_"], [class*="_statCardFace_"], .env-topo, [class*="_shell_"][class*="_1"], .env-laptop-lid, .env-laptop-lid img,
    [class*="_featCell_"], .env-fc, [class*="_langMenu_"], [class*="_langOption_"], [class*="_logoBtn_"] { corner-shape: squircle; }
}
[class*="_card_e10hq_22"] { padding-left: var(--page-x) !important; padding-right: var(--page-x) !important; }
/* one green family on both surfaces (hue 160° → 172°): dark panels — the brand mint; white panels — the same hue, deeper, with a soft lighter "glow" toward the end of the word */
[class*="_headingAccent_e10hq"], [class*="_headingAccent_vh8oe"], [class*="_builtTitleAccent_iryqy"] {
  background-image: linear-gradient(90deg, #089c70 0%, #10ae83 58%, #2bc79f 100%) !important;
}
/* touch screens: hover must not move anything (it sticks after a tap and made blocks jump) */
@media (max-width: 1023px), (hover: none) {
  @media (hover:hover) {
    [class*="_statCell_"]:hover [class*="_statCaption_"]{ margin-top: 0 !important; }
  }
}
/* stat tiles: no texture, dark by default; hover = light 3D tilt + a barely visible holographic sheen */
[class*="_statCell_"] [class*="_statCaption_"] { transition: color .9s cubic-bezier(.16, 1, .3, 1) !important; }
/* "As seen in": same ink as every other light-block heading */
[class*="_heading_e10hq_68"] { color: #0a0a0a !important; }
/* stat tiles: quiet white outline icon in the corner, level with the label */
.env-stat-ico { position: absolute; top: 20px; right: 26px; width: 22px; height: 22px; pointer-events: none; opacity: .62;
  background: #fff;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
@media (max-width: 767px) {
  .env-stat-ico { top: 16px; right: 20px; width: 20px; height: 20px; }
}
/* second screen: stat tiles — hover light Quiet near-black glass at rest. On hover (desktop pointers) three things happen, all of them compositor-friendly:
   1. a wide mint glow and a small white spark follow the pointer (two pre-rasterised radial gradients that are only translated — js/motion/01-core.js and siblings, "stat tiles"),
   2. a short bright arc runs round the 1px border (a conic layer rotating inside a static ring mask),
   3. a soft mint halo comes up behind the tile (opacity only).
   Nothing resizes, tilts or lifts, so the pointer can never fall off the tile and re-enter it (that was the "jumping" tile). */
[class*="_statCardFace_"]::before, [class*="_statCardFace_"]::after { display: none !important; }
[class*="_statCardFace_"] { position: relative; isolation: isolate; box-shadow: none !important; transform: none !important; }
@media (hover: hover) {
  [class*="_statCell_"]:hover [class*="_statCardFace_"] { box-shadow: none !important; transform: none !important; }
}
