/* DFS Benchmark — site styles. Warm paper, one serif for display, one sans for text; cards with depth, a brass accent. */
/* Self-hosted open-source fonts (SIL Open Font License; see /assets/fonts/). Newsreader's -v2 files keep optical sizes
   24-72 and weights 400-600, all the site uses, at about half the size. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-normal-v2.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-opsz-normal-v2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-italic-v2.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-opsz-italic-v2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2-variations'), url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2-variations'), url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F5F3EC;
  --paper: #FFFFFF;
  --raised: #FAF8F3;
  --ink: #1A1917;
  --ink-2: #4F4C45;
  --muted: #6B675F;
  --rule: #E4DFD3;
  --rule-2: #EEEAE0;
  --rule-strong: #CFC9BB;
  --grid: #EAE6DB;
  --axis: #C9C4B7;
  --track: #ECE8DE;
  --footer: #ECE9E0;
  --brand: #1A1917;
  --brand-ink: #F5F3EC;
  --accent: #8C6414;
  --accent-ink: #FFFFFF;
  --accent-light: #D9A845;
  --dark: #1A1917;
  --dark-ink: #F5F3EC;
  --dark-ink-2: #B3AEA2;
  --dark-rule: rgba(245, 243, 236, 0.16);
  --shadow: 0 1px 2px rgba(26, 25, 23, 0.06), 0 34px 70px -30px rgba(26, 25, 23, 0.30);
  --shadow-sm: 0 1px 2px rgba(26, 25, 23, 0.05), 0 14px 30px -20px rgba(26, 25, 23, 0.22);
  --radius: 16px;
  /* Series colors follow the source, never its rank. Validated on --bg (adjacent pairs);
     every chart also names each tool directly, so color is never the only cue. */
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --s4: #4a3aa7;
  --s5: #e87ba4;
  --s6: #008300;
  --s0: #6B675F;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 80px;
  --maxw: 1440px;
  --header-h: 84px;
  --hair: 1px;
  --line: var(--rule-2);
  --shadow-lift: 0 1px 2px rgba(26, 25, 23, 0.06), 0 44px 80px -30px rgba(26, 25, 23, 0.38);
  /* Diverging (how each tool leans): blue = projected too low, red = too high, gray midpoint.
     Sequential (shared mistakes): one brass ramp. Steps matched in OKLCH lightness; ink text clears 4.5:1 on every step. */
  --dv-mid: #F0EFEC;
  --dv-u1: #CDE2FB; --dv-u2: #9EC5F4; --dv-u3: #6DA7EC;
  --dv-o1: #FAD6D2; --dv-o2: #F1AEA8; --dv-o3: #E4857E;
  --sq-1: #EFDDC2; --sq-2: #DDBC87; --sq-3: #CB9A44; --sq-4: #B07C00;
  /* Engraved pattern: drawn by tools_pattern.py (decoration only). */
  --engrave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cg fill='none' stroke='%23F5F3EC' stroke-width='0.7'%3E%3Cpath d='M0 2.5 L6 3.1 L12 3.7 L18 4.2 L24 4.5 L30 4.6 L36 4.5 L42 4.2 L48 3.7 L54 3.1 L60 2.5 L66 1.9 L72 1.3 L78 0.8 L84 0.5 L90 0.4 L96 0.5 L102 0.8 L108 1.3 L114 1.9 L120 2.5 M0 9.0 L6 9.4 L12 9.6 L18 9.6 L24 9.4 L30 9.0 L36 8.5 L42 7.8 L48 7.2 L54 6.5 L60 6.0 L66 5.6 L72 5.4 L78 5.4 L84 5.6 L90 6.0 L96 6.5 L102 7.2 L108 7.8 L114 8.5 L120 9.0 M0 14.6 L6 14.5 L12 14.2 L18 13.7 L24 13.1 L30 12.5 L36 11.9 L42 11.3 L48 10.8 L54 10.5 L60 10.4 L66 10.5 L72 10.8 L78 11.3 L84 11.9 L90 12.5 L96 13.1 L102 13.7 L108 14.2 L114 14.5 L120 14.6 M0 19.0 L6 18.5 L12 17.8 L18 17.2 L24 16.5 L30 16.0 L36 15.6 L42 15.4 L48 15.4 L54 15.6 L60 16.0 L66 16.5 L72 17.2 L78 17.8 L84 18.5 L90 19.0 L96 19.4 L102 19.6 L108 19.6 L114 19.4 L120 19.0 M0 22.5 L6 21.9 L12 21.3 L18 20.8 L24 20.5 L30 20.4 L36 20.5 L42 20.8 L48 21.3 L54 21.9 L60 22.5 L66 23.1 L72 23.7 L78 24.2 L84 24.5 L90 24.6 L96 24.5 L102 24.2 L108 23.7 L114 23.1 L120 22.5 M0 26.0 L6 25.6 L12 25.4 L18 25.4 L24 25.6 L30 26.0 L36 26.5 L42 27.2 L48 27.8 L54 28.5 L60 29.0 L66 29.4 L72 29.6 L78 29.6 L84 29.4 L90 29.0 L96 28.5 L102 27.8 L108 27.2 L114 26.5 L120 26.0 M0 30.4 L6 30.5 L12 30.8 L18 31.3 L24 31.9 L30 32.5 L36 33.1 L42 33.7 L48 34.2 L54 34.5 L60 34.6 L66 34.5 L72 34.2 L78 33.7 L84 33.1 L90 32.5 L96 31.9 L102 31.3 L108 30.8 L114 30.5 L120 30.4 M0 36.0 L6 36.5 L12 37.2 L18 37.8 L24 38.5 L30 39.0 L36 39.4 L42 39.6 L48 39.6 L54 39.4 L60 39.0 L66 38.5 L72 37.8 L78 37.2 L84 36.5 L90 36.0 L96 35.6 L102 35.4 L108 35.4 L114 35.6 L120 36.0' stroke-opacity='0.090'/%3E%3Cpath d='M0 2.5 L6 3.1 L12 3.7 L18 4.2 L24 4.5 L30 4.6 L36 4.5 L42 4.2 L48 3.7 L54 3.1 L60 2.5 L66 1.9 L72 1.3 L78 0.8 L84 0.5 L90 0.4 L96 0.5 L102 0.8 L108 1.3 L114 1.9 L120 2.5 M0 6.0 L6 6.5 L12 7.2 L18 7.8 L24 8.5 L30 9.0 L36 9.4 L42 9.6 L48 9.6 L54 9.4 L60 9.0 L66 8.5 L72 7.8 L78 7.2 L84 6.5 L90 6.0 L96 5.6 L102 5.4 L108 5.4 L114 5.6 L120 6.0 M0 10.4 L6 10.5 L12 10.8 L18 11.3 L24 11.9 L30 12.5 L36 13.1 L42 13.7 L48 14.2 L54 14.5 L60 14.6 L66 14.5 L72 14.2 L78 13.7 L84 13.1 L90 12.5 L96 11.9 L102 11.3 L108 10.8 L114 10.5 L120 10.4 M0 16.0 L6 15.6 L12 15.4 L18 15.4 L24 15.6 L30 16.0 L36 16.5 L42 17.2 L48 17.8 L54 18.5 L60 19.0 L66 19.4 L72 19.6 L78 19.6 L84 19.4 L90 19.0 L96 18.5 L102 17.8 L108 17.2 L114 16.5 L120 16.0 M0 22.5 L6 21.9 L12 21.3 L18 20.8 L24 20.5 L30 20.4 L36 20.5 L42 20.8 L48 21.3 L54 21.9 L60 22.5 L66 23.1 L72 23.7 L78 24.2 L84 24.5 L90 24.6 L96 24.5 L102 24.2 L108 23.7 L114 23.1 L120 22.5 M0 29.0 L6 28.5 L12 27.8 L18 27.2 L24 26.5 L30 26.0 L36 25.6 L42 25.4 L48 25.4 L54 25.6 L60 26.0 L66 26.5 L72 27.2 L78 27.8 L84 28.5 L90 29.0 L96 29.4 L102 29.6 L108 29.6 L114 29.4 L120 29.0 M0 34.6 L6 34.5 L12 34.2 L18 33.7 L24 33.1 L30 32.5 L36 31.9 L42 31.3 L48 30.8 L54 30.5 L60 30.4 L66 30.5 L72 30.8 L78 31.3 L84 31.9 L90 32.5 L96 33.1 L102 33.7 L108 34.2 L114 34.5 L120 34.6 M0 39.0 L6 39.4 L12 39.6 L18 39.6 L24 39.4 L30 39.0 L36 38.5 L42 37.8 L48 37.2 L54 36.5 L60 36.0 L66 35.6 L72 35.4 L78 35.4 L84 35.6 L90 36.0 L96 36.5 L102 37.2 L108 37.8 L114 38.5 L120 39.0' stroke-opacity='0.050'/%3E%3C/g%3E%3C/svg%3E");
  --engrave-size: 120px 40px;
  --rosette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23D9A845' stroke-opacity='0.3' stroke-width='0.8'%3E%3Ccircle cx='420.0' cy='300.0' r='81.0'/%3E%3Ccircle cx='418.5' cy='318.8' r='81.0'/%3E%3Ccircle cx='414.1' cy='337.1' r='81.0'/%3E%3Ccircle cx='406.9' cy='354.5' r='81.0'/%3E%3Ccircle cx='397.1' cy='370.5' r='81.0'/%3E%3Ccircle cx='384.9' cy='384.9' r='81.0'/%3E%3Ccircle cx='370.5' cy='397.1' r='81.0'/%3E%3Ccircle cx='354.5' cy='406.9' r='81.0'/%3E%3Ccircle cx='337.1' cy='414.1' r='81.0'/%3E%3Ccircle cx='318.8' cy='418.5' r='81.0'/%3E%3Ccircle cx='300.0' cy='420.0' r='81.0'/%3E%3Ccircle cx='281.2' cy='418.5' r='81.0'/%3E%3Ccircle cx='262.9' cy='414.1' r='81.0'/%3E%3Ccircle cx='245.5' cy='406.9' r='81.0'/%3E%3Ccircle cx='229.5' cy='397.1' r='81.0'/%3E%3Ccircle cx='215.1' cy='384.9' r='81.0'/%3E%3Ccircle cx='202.9' cy='370.5' r='81.0'/%3E%3Ccircle cx='193.1' cy='354.5' r='81.0'/%3E%3Ccircle cx='185.9' cy='337.1' r='81.0'/%3E%3Ccircle cx='181.5' cy='318.8' r='81.0'/%3E%3Ccircle cx='180.0' cy='300.0' r='81.0'/%3E%3Ccircle cx='181.5' cy='281.2' r='81.0'/%3E%3Ccircle cx='185.9' cy='262.9' r='81.0'/%3E%3Ccircle cx='193.1' cy='245.5' r='81.0'/%3E%3Ccircle cx='202.9' cy='229.5' r='81.0'/%3E%3Ccircle cx='215.1' cy='215.1' r='81.0'/%3E%3Ccircle cx='229.5' cy='202.9' r='81.0'/%3E%3Ccircle cx='245.5' cy='193.1' r='81.0'/%3E%3Ccircle cx='262.9' cy='185.9' r='81.0'/%3E%3Ccircle cx='281.2' cy='181.5' r='81.0'/%3E%3Ccircle cx='300.0' cy='180.0' r='81.0'/%3E%3Ccircle cx='318.8' cy='181.5' r='81.0'/%3E%3Ccircle cx='337.1' cy='185.9' r='81.0'/%3E%3Ccircle cx='354.5' cy='193.1' r='81.0'/%3E%3Ccircle cx='370.5' cy='202.9' r='81.0'/%3E%3Ccircle cx='384.9' cy='215.1' r='81.0'/%3E%3Ccircle cx='397.1' cy='229.5' r='81.0'/%3E%3Ccircle cx='406.9' cy='245.5' r='81.0'/%3E%3Ccircle cx='414.1' cy='262.9' r='81.0'/%3E%3Ccircle cx='418.5' cy='281.2' r='81.0'/%3E%3Ccircle cx='522.0' cy='300.0' r='42.0'/%3E%3Ccircle cx='521.2' cy='319.3' r='42.0'/%3E%3Ccircle cx='518.6' cy='338.5' r='42.0'/%3E%3Ccircle cx='514.4' cy='357.5' r='42.0'/%3E%3Ccircle cx='508.6' cy='375.9' r='42.0'/%3E%3Ccircle cx='501.2' cy='393.8' r='42.0'/%3E%3Ccircle cx='492.3' cy='411.0' r='42.0'/%3E%3Ccircle cx='481.9' cy='427.3' r='42.0'/%3E%3Ccircle cx='470.1' cy='442.7' r='42.0'/%3E%3Ccircle cx='457.0' cy='457.0' r='42.0'/%3E%3Ccircle cx='442.7' cy='470.1' r='42.0'/%3E%3Ccircle cx='427.3' cy='481.9' r='42.0'/%3E%3Ccircle cx='411.0' cy='492.3' r='42.0'/%3E%3Ccircle cx='393.8' cy='501.2' r='42.0'/%3E%3Ccircle cx='375.9' cy='508.6' r='42.0'/%3E%3Ccircle cx='357.5' cy='514.4' r='42.0'/%3E%3Ccircle cx='338.5' cy='518.6' r='42.0'/%3E%3Ccircle cx='319.3' cy='521.2' r='42.0'/%3E%3Ccircle cx='300.0' cy='522.0' r='42.0'/%3E%3Ccircle cx='280.7' cy='521.2' r='42.0'/%3E%3Ccircle cx='261.5' cy='518.6' r='42.0'/%3E%3Ccircle cx='242.5' cy='514.4' r='42.0'/%3E%3Ccircle cx='224.1' cy='508.6' r='42.0'/%3E%3Ccircle cx='206.2' cy='501.2' r='42.0'/%3E%3Ccircle cx='189.0' cy='492.3' r='42.0'/%3E%3Ccircle cx='172.7' cy='481.9' r='42.0'/%3E%3Ccircle cx='157.3' cy='470.1' r='42.0'/%3E%3Ccircle cx='143.0' cy='457.0' r='42.0'/%3E%3Ccircle cx='129.9' cy='442.7' r='42.0'/%3E%3Ccircle cx='118.1' cy='427.3' r='42.0'/%3E%3Ccircle cx='107.7' cy='411.0' r='42.0'/%3E%3Ccircle cx='98.8' cy='393.8' r='42.0'/%3E%3Ccircle cx='91.4' cy='375.9' r='42.0'/%3E%3Ccircle cx='85.6' cy='357.5' r='42.0'/%3E%3Ccircle cx='81.4' cy='338.5' r='42.0'/%3E%3Ccircle cx='78.8' cy='319.3' r='42.0'/%3E%3Ccircle cx='78.0' cy='300.0' r='42.0'/%3E%3Ccircle cx='78.8' cy='280.7' r='42.0'/%3E%3Ccircle cx='81.4' cy='261.5' r='42.0'/%3E%3Ccircle cx='85.6' cy='242.5' r='42.0'/%3E%3Ccircle cx='91.4' cy='224.1' r='42.0'/%3E%3Ccircle cx='98.8' cy='206.2' r='42.0'/%3E%3Ccircle cx='107.7' cy='189.0' r='42.0'/%3E%3Ccircle cx='118.1' cy='172.7' r='42.0'/%3E%3Ccircle cx='129.9' cy='157.3' r='42.0'/%3E%3Ccircle cx='143.0' cy='143.0' r='42.0'/%3E%3Ccircle cx='157.3' cy='129.9' r='42.0'/%3E%3Ccircle cx='172.7' cy='118.1' r='42.0'/%3E%3Ccircle cx='189.0' cy='107.7' r='42.0'/%3E%3Ccircle cx='206.2' cy='98.8' r='42.0'/%3E%3Ccircle cx='224.1' cy='91.4' r='42.0'/%3E%3Ccircle cx='242.5' cy='85.6' r='42.0'/%3E%3Ccircle cx='261.5' cy='81.4' r='42.0'/%3E%3Ccircle cx='280.7' cy='78.8' r='42.0'/%3E%3Ccircle cx='300.0' cy='78.0' r='42.0'/%3E%3Ccircle cx='319.3' cy='78.8' r='42.0'/%3E%3Ccircle cx='338.5' cy='81.4' r='42.0'/%3E%3Ccircle cx='357.5' cy='85.6' r='42.0'/%3E%3Ccircle cx='375.9' cy='91.4' r='42.0'/%3E%3Ccircle cx='393.8' cy='98.8' r='42.0'/%3E%3Ccircle cx='411.0' cy='107.7' r='42.0'/%3E%3Ccircle cx='427.3' cy='118.1' r='42.0'/%3E%3Ccircle cx='442.7' cy='129.9' r='42.0'/%3E%3Ccircle cx='457.0' cy='143.0' r='42.0'/%3E%3Ccircle cx='470.1' cy='157.3' r='42.0'/%3E%3Ccircle cx='481.9' cy='172.7' r='42.0'/%3E%3Ccircle cx='492.3' cy='189.0' r='42.0'/%3E%3Ccircle cx='501.2' cy='206.2' r='42.0'/%3E%3Ccircle cx='508.6' cy='224.1' r='42.0'/%3E%3Ccircle cx='514.4' cy='242.5' r='42.0'/%3E%3Ccircle cx='518.6' cy='261.5' r='42.0'/%3E%3Ccircle cx='521.2' cy='280.7' r='42.0'/%3E%3Ccircle cx='300.0' cy='300.0' r='273.0'/%3E%3Ccircle cx='300.0' cy='300.0' r='279.0'/%3E%3Ccircle cx='300.0' cy='300.0' r='294.0'/%3E%3C/g%3E%3C/svg%3E");
  --seal-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238C6414' stroke-opacity='0.2' stroke-width='0.9'%3E%3Ccircle cx='344.0' cy='200.0' r='34.0'/%3E%3Ccircle cx='343.3' cy='214.1' r='34.0'/%3E%3Ccircle cx='341.2' cy='228.1' r='34.0'/%3E%3Ccircle cx='337.8' cy='241.8' r='34.0'/%3E%3Ccircle cx='333.0' cy='255.1' r='34.0'/%3E%3Ccircle cx='327.0' cy='267.9' r='34.0'/%3E%3Ccircle cx='319.7' cy='280.0' r='34.0'/%3E%3Ccircle cx='311.3' cy='291.4' r='34.0'/%3E%3Ccircle cx='301.8' cy='301.8' r='34.0'/%3E%3Ccircle cx='291.4' cy='311.3' r='34.0'/%3E%3Ccircle cx='280.0' cy='319.7' r='34.0'/%3E%3Ccircle cx='267.9' cy='327.0' r='34.0'/%3E%3Ccircle cx='255.1' cy='333.0' r='34.0'/%3E%3Ccircle cx='241.8' cy='337.8' r='34.0'/%3E%3Ccircle cx='228.1' cy='341.2' r='34.0'/%3E%3Ccircle cx='214.1' cy='343.3' r='34.0'/%3E%3Ccircle cx='200.0' cy='344.0' r='34.0'/%3E%3Ccircle cx='185.9' cy='343.3' r='34.0'/%3E%3Ccircle cx='171.9' cy='341.2' r='34.0'/%3E%3Ccircle cx='158.2' cy='337.8' r='34.0'/%3E%3Ccircle cx='144.9' cy='333.0' r='34.0'/%3E%3Ccircle cx='132.1' cy='327.0' r='34.0'/%3E%3Ccircle cx='120.0' cy='319.7' r='34.0'/%3E%3Ccircle cx='108.6' cy='311.3' r='34.0'/%3E%3Ccircle cx='98.2' cy='301.8' r='34.0'/%3E%3Ccircle cx='88.7' cy='291.4' r='34.0'/%3E%3Ccircle cx='80.3' cy='280.0' r='34.0'/%3E%3Ccircle cx='73.0' cy='267.9' r='34.0'/%3E%3Ccircle cx='67.0' cy='255.1' r='34.0'/%3E%3Ccircle cx='62.2' cy='241.8' r='34.0'/%3E%3Ccircle cx='58.8' cy='228.1' r='34.0'/%3E%3Ccircle cx='56.7' cy='214.1' r='34.0'/%3E%3Ccircle cx='56.0' cy='200.0' r='34.0'/%3E%3Ccircle cx='56.7' cy='185.9' r='34.0'/%3E%3Ccircle cx='58.8' cy='171.9' r='34.0'/%3E%3Ccircle cx='62.2' cy='158.2' r='34.0'/%3E%3Ccircle cx='67.0' cy='144.9' r='34.0'/%3E%3Ccircle cx='73.0' cy='132.1' r='34.0'/%3E%3Ccircle cx='80.3' cy='120.0' r='34.0'/%3E%3Ccircle cx='88.7' cy='108.6' r='34.0'/%3E%3Ccircle cx='98.2' cy='98.2' r='34.0'/%3E%3Ccircle cx='108.6' cy='88.7' r='34.0'/%3E%3Ccircle cx='120.0' cy='80.3' r='34.0'/%3E%3Ccircle cx='132.1' cy='73.0' r='34.0'/%3E%3Ccircle cx='144.9' cy='67.0' r='34.0'/%3E%3Ccircle cx='158.2' cy='62.2' r='34.0'/%3E%3Ccircle cx='171.9' cy='58.8' r='34.0'/%3E%3Ccircle cx='185.9' cy='56.7' r='34.0'/%3E%3Ccircle cx='200.0' cy='56.0' r='34.0'/%3E%3Ccircle cx='214.1' cy='56.7' r='34.0'/%3E%3Ccircle cx='228.1' cy='58.8' r='34.0'/%3E%3Ccircle cx='241.8' cy='62.2' r='34.0'/%3E%3Ccircle cx='255.1' cy='67.0' r='34.0'/%3E%3Ccircle cx='267.9' cy='73.0' r='34.0'/%3E%3Ccircle cx='280.0' cy='80.3' r='34.0'/%3E%3Ccircle cx='291.4' cy='88.7' r='34.0'/%3E%3Ccircle cx='301.8' cy='98.2' r='34.0'/%3E%3Ccircle cx='311.3' cy='108.6' r='34.0'/%3E%3Ccircle cx='319.7' cy='120.0' r='34.0'/%3E%3Ccircle cx='327.0' cy='132.1' r='34.0'/%3E%3Ccircle cx='333.0' cy='144.9' r='34.0'/%3E%3Ccircle cx='337.8' cy='158.2' r='34.0'/%3E%3Ccircle cx='341.2' cy='171.9' r='34.0'/%3E%3Ccircle cx='343.3' cy='185.9' r='34.0'/%3E%3Ccircle cx='200.0' cy='200.0' r='104.8'/%3E%3Ccircle cx='200.0' cy='200.0' r='108.0'/%3E%3Ccircle cx='200.0' cy='200.0' r='183.2'/%3E%3Ccircle cx='200.0' cy='200.0' r='188.0'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Hairline dividers on sharp screens. */
@media (min-resolution: 2dppx) { :root { --hair: 0.5px; --line: var(--rule); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(217, 168, 69, 0.32); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--ink); color: var(--dark-ink); border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.num { font-variant-numeric: tabular-nums; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; border-bottom: var(--hair) solid var(--line);
  background-color: rgba(245, 243, 236, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  transition: box-shadow .3s ease, background-color .3s ease; view-transition-name: site-header;
}
.site-header.scrolled { background-color: rgba(245, 243, 236, 0.86); box-shadow: 0 1px 0 var(--rule), 0 14px 34px -26px rgba(26, 25, 23, 0.4); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo .word { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.logo .mark-bg { fill: var(--brand); }
.logo .pd { fill: var(--dark-ink); transform-box: fill-box; transform-origin: 50% 100%; animation: pdGrow 650ms cubic-bezier(.2,.7,.2,1) both; }
.logo .pd1 { animation-delay: 120ms; }
.logo .pd2 { animation-delay: 240ms; }
.logo .pd3 { animation-delay: 360ms; }
.logo:hover .pd1, .logo:focus-visible .pd1 { animation: pdSwap1 1.1s ease-in-out; }
.logo:hover .pd2, .logo:focus-visible .pd2 { animation: pdSwap2 1.1s ease-in-out; }
.logo:hover .pd3, .logo:focus-visible .pd3 { animation: pdSwap3 1.1s ease-in-out; }
@keyframes pdGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pdSwap1 { 0%, 100% { transform: scaleY(1); } 40%, 60% { transform: scaleY(0.625); } }
@keyframes pdSwap2 { 0%, 100% { transform: scaleY(1); } 40%, 60% { transform: scaleY(0.615); } }
@keyframes pdSwap3 { 0%, 100% { transform: scaleY(1); } 40%, 60% { transform: scaleY(2.6); } }

.nav-right { display: flex; align-items: center; gap: 40px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.main-nav a { padding: 7px 0; color: var(--ink-2); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; }
.main-nav a:hover { color: var(--ink); background-size: 100% 2px; }
.main-nav a[aria-current="page"] { color: var(--ink); background-size: 100% 2px; }
.btn, .btn-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: none; background: var(--brand); color: var(--brand-ink);
  font: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn { height: 54px; padding: 0 28px; font-size: 16px; font-weight: 600; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; font-weight: 600; }
.btn:hover, .btn-sm:hover { color: var(--brand-ink); background: #36322C; }
.link-under { font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px; }
.link-under:hover { border-color: var(--ink); color: var(--ink); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule-strong);
  background: var(--paper); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- shared bits ---------- */
.section { padding: 112px 0 0; }
.section.flush { padding-top: 56px; }
.page-head + .section { padding-top: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.head-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
h2.h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.eyebrow { font-size: 15px; color: var(--ink-2); }
.eyebrow-rule { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow-rule::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.eyebrow-rule.light { color: var(--dark-ink-2); }
.eyebrow-rule.light::before { background: var(--accent-light); }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.link-arrow { font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow.sm { font-size: 13.5px; }
.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.chip.solid { background: var(--ink); border-color: var(--ink); color: var(--dark-ink); }
.chip.brand { border-color: var(--accent); color: var(--accent); }
.chip.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.line { width: 16px; height: 2px; border-radius: 0; }
.who { display: inline-flex; align-items: center; gap: 10px; }
.c1 { background: var(--s1); } .c2 { background: var(--s2); } .c3 { background: var(--s3); }
.c4 { background: var(--s4); } .c5 { background: var(--s5); } .c6 { background: var(--s6); } .c0 { background: var(--s0); }
/* Tool badges: initials in the tool's color, stand-ins for logos (never the companies' marks). */
.tbadge {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em; line-height: 1;
}
.tbadge.sm { width: 26px; height: 26px; font-size: 10px; }
.tbadge.long { font-size: 9.5px; letter-spacing: 0; }
.tbadge.sm.long { font-size: 8.5px; }
.tbadge.base { background: var(--raised); color: var(--muted); border: 1px solid var(--rule); font-weight: 600; }
.ico { fill: none; stroke: var(--ink); stroke-width: 1.7px; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 104px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; }
.hero h1 { margin-top: 26px; font-size: clamp(46px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.022em; }
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 em { display: block; font-style: italic; }
.hero .lede { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.4vw, 19px); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { stroke-width: 2.2px; }
.hero-stage { position: relative; min-height: 600px; }
.stage-panel {
  position: absolute; right: 0; top: 0; width: 440px; height: 540px; border-radius: 28px; background-color: var(--dark);
  background-image: var(--rosette), var(--engrave); background-size: 520px 520px, var(--engrave-size);
  background-position: right -235px top -235px, 0 0; background-repeat: no-repeat, repeat;
}
.stage-panel span { position: absolute; top: 26px; right: 28px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-ink-2); }
.hero-stage .sc { position: absolute; left: 0; top: 76px; width: 560px; }

/* the hero card */
.sc-head { padding: 22px 26px; border-bottom: 1px solid var(--rule); }
.sc-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sc-title { margin-top: 6px; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; }
.sc-sub { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.sc-rows { list-style: none; margin: 0; padding: 0; }
.sc-row { display: grid; grid-template-columns: 22px 30px minmax(0, 1fr) 136px 84px; gap: 14px; align-items: center; padding: 12px 26px; border-bottom: var(--hair) solid var(--line); }
.sc-row.muted { grid-template-columns: 22px 30px minmax(0, 1fr) auto; }
.sc-row.roster { grid-template-columns: 30px minmax(0, 1fr) auto; padding-top: 10px; padding-bottom: 10px; }
.sc-row.roster .sc-rank { display: none; }
.sc-rank { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.sc-rank.first { color: var(--accent); }
.sc-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.sc-name .nm { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sc-row.muted .nm { color: var(--ink-2); }
.sc-note { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sc-val { text-align: right; font-variant-numeric: tabular-nums; }
.sc-val b { display: block; font-size: 17px; font-weight: 700; }
.sc-val span { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sc-foot { padding: 14px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sc-status { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.meter { width: 180px; max-width: 100%; height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.dbar { display: block; flex: none; overflow: visible; }
.dbar .trk { fill: var(--track); }
.dbar .zl { stroke: var(--muted); stroke-width: 1.5px; }
.dbar .wk { fill: none; stroke: rgba(26, 25, 23, 0.62); stroke-width: 1.5px; }
.spark { display: block; overflow: visible; }
.spark .zd { stroke: var(--axis); stroke-width: 1px; stroke-dasharray: 3 3; }
.spark .ln { fill: none; stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; }
.spark .end { stroke: var(--paper); stroke-width: 2px; }

/* ---------- proof strip ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pf { padding: 34px 28px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.pf:first-child { border-left: 0; padding-left: 0; }
.pf::before { content: ""; width: 36px; height: 2px; background: var(--accent); margin-bottom: 8px; }
.pf-n { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.pf-l { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); max-width: 230px; }

/* ---------- standings (one row per tool) ---------- */
.st-card .table-wrap { overflow-x: auto; }
.st { width: 100%; min-width: 1180px; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.st .c-rank { width: 46px; }
.st .c-tool { width: 252px; }
.st .c-btb { width: 232px; }
.st .c-form { width: 134px; }
.st thead th {
  padding: 15px 10px; text-align: right; vertical-align: bottom; font-size: 10.5px; line-height: 1.3; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--raised); border-bottom: 1px solid var(--rule);
}
.st thead th.c-rank { text-align: center; }
.st thead th.c-tool, .st thead th.c-btb, .st thead th.c-form { text-align: left; }
.st td, .st tbody th { padding: 15px 10px; border-bottom: var(--hair) solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink-2); text-align: right; }
.st tbody tr:nth-child(even) { background: var(--raised); }
.st td.c-rank { text-align: center; font-family: var(--serif); font-size: 23px; color: var(--muted); }
.st td.c-rank.first { color: var(--accent); }
.st tbody th.c-tool { text-align: left; }
.tool { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tool .nm { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.st td.c-btb { text-align: left; }
.btb { display: inline-flex; align-items: center; gap: 12px; }
.bv b { display: block; font-size: 15.5px; color: var(--ink); }
.bv span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.st td.v { white-space: nowrap; }
.st td.best { color: var(--ink); font-weight: 700; }
.st td.na { color: var(--muted); }
.ld { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.ld.tie { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.st td.price b { display: block; color: var(--ink); }
.st td.price span { font-size: 11.5px; color: var(--muted); }
.st td.c-form { text-align: left; padding-top: 10px; padding-bottom: 10px; }
.st tr.base td, .st tr.base th { font-size: 14.5px; color: var(--muted); background: var(--raised); }
.st tr.base th { font-weight: 500; text-align: left; }
.st tr.base .ref { margin-left: 6px; font-size: 11.5px; }
.st-note { padding: 16px 20px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.55; color: var(--muted); }
.st-cards { display: none; }
.st-cards ol { list-style: none; margin: 0; padding: 0; }
.stc { padding: 16px; border-bottom: var(--hair) solid var(--line); }
.stc-top { display: flex; align-items: center; gap: 10px; }
.stc-top .c-rank { width: 18px; text-align: center; font-family: var(--serif); font-size: 21px; color: var(--muted); }
.stc-top .c-rank.first { color: var(--accent); }
.stc-top .nm { font-size: 14.5px; font-weight: 600; }
.stc-v { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.stc-v b { display: block; font-size: 16px; }
.stc-v span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.stc-bot { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 84px; gap: 8px; align-items: end; }
.stc-bot .k { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.stc-bot .m { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stc.base { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 14px; color: var(--ink-2); }
.stc.base span:last-child { color: var(--muted); }

/* ---------- how it works ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hs { padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.hs-top { display: flex; justify-content: space-between; align-items: center; }
.hs-ico { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--rule); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.hs-n { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.hs h3 { font-size: 22px; line-height: 1.2; }
.hs p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- grids used on inner pages ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.principle { padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.principle .n { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.principle .t { font-size: 18px; font-weight: 600; }
.principle .d { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Who's tested */
.groups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.group { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.group.tools { grid-column: span 5; }
.group.other { grid-column: span 2; }
.group.house { grid-column: span 3; }
.group h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: var(--hair) solid var(--line); font-size: 16px; font-weight: 600; }
.group li:last-child { border-bottom: 0; }
.group .note { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* Benchmarks table (definitions) */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.defs-card { padding: 6px 28px 10px; }
.defs { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.defs th, .defs td { padding: 15px 16px 15px 0; border-bottom: var(--hair) solid var(--line); text-align: left; vertical-align: top; }
.defs tr:last-child td { border-bottom: 0; }
.defs thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.defs td.n { width: 40px; font-family: var(--serif); font-size: 19px; color: var(--accent); font-variant-numeric: tabular-nums; }
.defs td.b { font-weight: 600; white-space: nowrap; }
.defs td.better { white-space: nowrap; color: var(--ink-2); }

/* ---------- dark band ---------- */
.band-dark { margin-top: 112px; background-color: var(--dark); background-image: var(--engrave); background-size: var(--engrave-size); color: var(--dark-ink); padding: 104px 0; }
.band-dark a { color: var(--dark-ink); }
.band-dark .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; align-items: center; }
.band-dark .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; }
.band-dark h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.018em; text-wrap: balance; }
.band-dark .lede { color: var(--dark-ink-2); font-size: 17px; max-width: 540px; }
.band-dark .list { grid-column: 8 / span 5; display: flex; flex-direction: column; }
.list-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-ink-2); }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dark-rule); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dark-ink); }
.ai-chip .dot { width: 8px; height: 8px; }
.band-dark .item { padding: 22px 0; border-top: 1px solid var(--dark-rule); display: flex; flex-direction: column; gap: 8px; }
.band-dark .item b { font-size: 18px; font-weight: 600; }
.band-dark .item span { font-size: 15px; line-height: 1.5; color: var(--dark-ink-2); }
.band-dark .item.stat .sv { font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--dark-ink); }
.band-dark .item.stat span:last-child { font-size: 13.5px; }

/* ---------- awards ---------- */
.awards .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; align-items: center; }
.awards .copy { grid-column: span 7; display: flex; flex-direction: column; gap: 18px; }
.award-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: 640px; }
.award-list li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; font-weight: 500; }
.award-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
.award-list li .holder { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.badge-wrap { grid-column: 9 / span 4; display: flex; justify-content: flex-end; align-items: flex-start; }
.badge { width: 360px; max-width: 100%; padding: 7px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); }
.badge-in {
  padding: 40px 32px 36px; border: 1px solid var(--rule); border-radius: 3px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background-image: var(--seal-light); background-size: 330px 330px; background-position: center -16px; background-repeat: no-repeat;
}
.badge-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.badge-brand svg { width: 22px; height: 22px; }
.badge-rule { width: 48px; height: 2px; background: var(--accent); }
.badge-n { font-family: var(--serif); font-size: 104px; line-height: .95; }
.badge-row { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.badge-season { font-size: 15px; color: var(--ink-2); }
.badge-who { font-size: 17px; font-weight: 600; }

/* ---------- latest report ---------- */
.report-row { display: grid; grid-template-columns: 440px minmax(0, 1fr); text-decoration: none; color: var(--ink); }
.report-row:hover { color: var(--ink); }
.report-row:hover .rc-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.rr-cover { padding: 16px; }
.rr-cover .cover { height: 100%; min-height: 250px; aspect-ratio: auto; }
.rr-text { padding: 36px 44px 36px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.report-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.report-meta b { color: var(--ink); font-weight: 600; }
.rc-title { font-size: 32px; line-height: 1.12; text-wrap: balance; }
.rc-dek { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.rc-more { margin-top: 4px; font-size: 15px; font-weight: 600; }

/* Report cover: the logo's bars, trading places. Decoration, not data. */
.cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; background-color: var(--dark); color: var(--dark-ink);
  background-image: var(--engrave); background-size: var(--engrave-size);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.cover-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--dark-ink-2); }
.cover-top b { color: var(--dark-ink); font-weight: 600; }
.cover-bars { display: flex; flex-direction: column; gap: 14px; }
.cover-bars span { display: block; height: 16px; border-radius: 0 6px 6px 0; background: #F5F3EC; transform-origin: left center; }
.cover-bars .b1 { width: 82%; animation: cvSwap1 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b2 { width: 82%; animation: cvSwap2 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b3 { width: 82%; animation: cvSwap3 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b1 { transform: scaleX(1); }
.cover-bars .b2 { transform: scaleX(.74); background: var(--accent-light); }
.cover-bars .b3 { transform: scaleX(.46); }
@keyframes cvSwap1 { 0%, 30% { transform: scaleX(1); } 45%, 80% { transform: scaleX(.46); } 95%, 100% { transform: scaleX(1); } }
@keyframes cvSwap2 { 0%, 30% { transform: scaleX(.74); } 45%, 80% { transform: scaleX(1); } 95%, 100% { transform: scaleX(.74); } }
@keyframes cvSwap3 { 0%, 30% { transform: scaleX(.46); } 45%, 80% { transform: scaleX(.74); } 95%, 100% { transform: scaleX(.46); } }
.cover-foot { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.cover-foot i { color: var(--dark-ink-2); }

/* ---------- weekly ---------- */
.weekly { padding: 112px 0; }
.weekly-box {
  padding: 52px 56px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 28px; align-items: center;
}
.weekly-box .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; }
.weekly-box h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.012em; }
.weekly-box form { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field-row { display: flex; gap: 10px; }
.input, .textarea {
  flex-grow: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid var(--rule-strong); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px;
}
.input:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(140, 100, 20, 0.18); }
.input::placeholder { color: var(--muted); }
.textarea { height: auto; min-height: 140px; padding: 14px 18px; border-radius: 14px; resize: vertical; width: 100%; }
.field-row .btn { height: 52px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; background-color: var(--dark); color: var(--dark-ink); padding: 104px 0 52px;
  background-image: var(--rosette), var(--engrave); background-size: 680px 680px, var(--engrave-size);
  background-position: right -300px top -250px, 0 0; background-repeat: no-repeat, repeat;
}
.site-footer .wrap { display: flex; flex-direction: column; gap: 44px; }
.foot-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 56px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid var(--dark-rule); }
.foot-statement { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.024em; max-width: 880px; text-wrap: balance; }
.foot-statement em { display: block; font-style: italic; color: var(--accent-light); }
.foot-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.btn.light { background: var(--dark-ink); color: var(--dark); }
.btn.light:hover { background: #FFFFFF; color: var(--dark); }
.link-under.light { color: var(--dark-ink); border-bottom-color: rgba(245, 243, 236, 0.35); }
.link-under.light:hover { color: #FFFFFF; border-bottom-color: var(--dark-ink); }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.foot-brand .small { color: var(--dark-ink-2); }
.site-footer .logo, .site-footer .logo:hover { color: var(--dark-ink); }
.site-footer .logo .mark-bg { fill: var(--dark-ink); }
.site-footer .logo .pd { fill: var(--dark); animation: none; }
.foot-brand .logo .word { font-size: 22px; }
.foot-brand .logo svg { width: 28px; height: 28px; }
.foot-cols { display: flex; gap: 96px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.foot-cols nav b { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-ink-2); }
.foot-cols a { text-decoration: none; color: var(--dark-ink); }
.foot-cols a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--accent-light); }
.disclosure { max-width: 820px; font-size: 13.5px; line-height: 1.6; color: var(--dark-ink-2); }
.disclosure strong { color: var(--dark-ink); }
.foot-legal { padding-top: 20px; border-top: 1px solid var(--dark-rule); font-size: 12.5px; color: var(--dark-ink-2); display: flex; gap: 8px 24px; flex-wrap: wrap; }
.foot-legal a { color: var(--dark-ink); }

/* ---------- inner pages ---------- */
.page-head { padding: 64px 0 48px; border-bottom: var(--hair) solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; }
.page-head .lede { max-width: 720px; font-size: 19px; }
.page-head .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.notice { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; padding: 40px; }
.notice .copy { grid-column: span 7; display: flex; flex-direction: column; gap: 14px; }
.notice h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; text-wrap: balance; }
.notice .side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: var(--hair) solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--ink-2); }
.kv span:last-child { font-weight: 600; text-align: right; }

/* Long-form text (rulebook, reports, about, privacy) */
.prose-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding: 64px 0 24px; }
.toc { grid-column: span 3; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.toc b { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { grid-column: 5 / span 7; font-size: 17px; line-height: 1.65; }
.prose.wide { grid-column: span 12; max-width: 860px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.01em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; line-height: 1.2; margin-top: 36px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }
.prose .formula { padding: 22px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; font-family: var(--serif); font-size: 22px; text-align: center; }
.prose .formula span { font-style: italic; }
.prose .flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: flow; }
.prose .flow li { margin: 0; counter-increment: flow; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 15px; background: var(--paper); }
.prose .flow li::before { content: counter(flow); font-size: 12px; font-weight: 700; color: var(--accent); }
.prose table.rules { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose table.rules th, .prose table.rules td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: var(--hair) solid var(--line); }
.prose table.rules thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.prose pre { margin: 0; padding: 20px 22px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.prose .byline { font-size: 15px; color: var(--ink-2); }
.callout { padding: 20px 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); font-size: 16px; }
code.fp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; color: var(--ink); }

/* ---------- data tables ---------- */
.dt-card { padding: 4px 24px 8px; }
.chart-card { padding: 24px 28px 18px; }
.datatable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.datatable th, .datatable td { padding: 13px 14px 13px 0; border-bottom: var(--hair) solid var(--line); text-align: right; white-space: nowrap; }
.datatable tbody tr:last-child td, .datatable tbody tr:last-child th { border-bottom: 0; }
.datatable th:first-child, .datatable td:first-child { text-align: left; }
.datatable thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.datatable td.l, .datatable th.l { text-align: left; }
.datatable tfoot th, .datatable tfoot td { border-top: 1px solid var(--rule); border-bottom: 0; font-weight: 600; }
.datatable .muted { color: var(--muted); }
.datatable .sub { display: block; font-size: 12px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
.two-col .main { grid-column: span 7; }
.two-col .aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 20px; }
.two-col h3 { font-size: 30px; line-height: 1.15; }

.hbar { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 14px; }
.hbar .track { display: flex; align-items: center; gap: 10px; }
.hbar .fill { height: 14px; border-radius: 0 4px 4px 0; }
.hbar .val { font-size: 15px; font-weight: 500; white-space: nowrap; }
.hbars { display: flex; flex-direction: column; gap: 16px; }

/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--sans); }
.chart .grid { stroke: var(--grid); stroke-width: 1px; }
.chart .axis { stroke: var(--axis); stroke-width: 1px; }
.chart .zero { stroke: var(--muted); stroke-width: 1.5px; }
.chart .tick { font-size: 13px; fill: var(--ink-2); }
.chart .lab { font-size: 14px; font-weight: 600; fill: var(--ink); }
.chart .lab tspan.v { font-weight: 400; fill: var(--ink-2); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .pt { stroke: var(--paper); stroke-width: 2px; }
.forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.form-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-card .top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-card .name { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.form-card .now { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; margin-bottom: 18px; }

.tip {
  position: fixed; z-index: 20; pointer-events: none; padding: 8px 12px; border-radius: 8px;
  background: var(--ink); color: var(--dark-ink); font-size: 13px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: 0; transition: opacity .12s;
}
.tip b { display: block; font-size: 15px; }
.tip.on { opacity: 1; }

.empty { padding: 48px; border: 1px dashed var(--rule-strong); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }

.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows li { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.list-rows li:first-child { border-top: 1px solid var(--rule); }
.list-rows .date { font-size: 14px; color: var(--ink-2); }
.list-rows .title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.list-rows a { text-decoration: none; }
.list-rows a:hover .title { text-decoration: underline; text-decoration-thickness: 1px; }

@media (prefers-reduced-motion: reduce) {
  .logo .pd, .cover-bars span { animation: none !important; }
}

/* ---------- tendencies, shared mistakes, industry misses (reported, never ranked) ---------- */
.legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: -8px 0 18px; font-size: 13.5px; color: var(--ink-2); }
.legend-row span { display: inline-flex; align-items: center; gap: 8px; }
.legend-row .note { color: var(--muted); }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(26, 25, 23, 0.08); }
.heat { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.heat col.c-src { width: 236px; }
.heat.mx { table-layout: auto; }
.heat.mx { min-width: 760px; }
.heat thead th { padding: 10px 4px 8px; font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; vertical-align: bottom; }
.heat thead tr.grp th { padding: 12px 4px 6px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.heat thead th.l { text-align: left; }
.heat tbody th { position: sticky; left: 0; z-index: 1; padding: 8px 14px 8px 0; background: var(--paper); text-align: left; font-size: 15px; font-weight: 600; white-space: nowrap; }
.heat td { padding: 11px 6px; border-radius: 6px; text-align: center; color: var(--ink); white-space: nowrap; }
.heat td b { font-weight: 600; }
.heat td.na, .heat td.self { color: var(--muted); }
.heat tr.ref th { color: var(--muted); }
.heat tr.ref th { font-weight: 500; }
.heat tr.sep td { padding: 14px 0 4px; background: none; border-radius: 0; text-align: left; }
.heat tr.sep span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.aside .hbar { grid-template-columns: 178px minmax(0, 1fr); }
.mid { background: var(--dv-mid); }
.u1 { background: var(--dv-u1); } .u2 { background: var(--dv-u2); } .u3 { background: var(--dv-u3); }
.o1 { background: var(--dv-o1); } .o2 { background: var(--dv-o2); } .o3 { background: var(--dv-o3); }
.q1 { background: var(--sq-1); } .q2 { background: var(--sq-2); } .q3 { background: var(--sq-3); } .q4 { background: var(--sq-4); }
.heat td[data-tip] { cursor: default; }
.two-col .main.wide { grid-column: span 8; }
.two-col .aside.narrow { grid-column: 9 / span 4; }
.h3s { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.aside .h3s { margin-bottom: 0; }
.ranges { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ranges li { display: flex; justify-content: space-between; gap: 12px; }
.miss-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mt { padding: 26px 28px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.mt:first-child { border-left: 0; padding-left: 0; }
.mt-n { font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.mt-l { font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 260px; }
.datatable.misses th .sub, .datatable.misses td .sub { font-weight: 400; }
.band { display: inline-block; min-width: 46px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--raised); font-size: 13px; font-weight: 700; text-align: center; }
.dir { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.dir::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dv-mid); box-shadow: inset 0 0 0 1px rgba(26, 25, 23, 0.12); }
.dir.under::before { background: var(--dv-u3); }
.dir.over::before { background: var(--dv-o3); }

/* ---------- motion ----------
   Only for visitors who haven't asked their system to reduce motion. The hero plays in once with CSS
   (nothing can flash); below the fold, site.js marks things .wait and swaps in .go as they scroll into view.
   Without site.js everything simply shows. */
.draw, .spark .ln { stroke-dasharray: 1 3; }
.dbar .bar { transform-box: fill-box; transform-origin: 0 50%; }
.dbar .bar.neg { transform-origin: 100% 50%; }
.meter-fill, .hbar .fill { transform-origin: 0 50%; }
.pop, .spark .end { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .2s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vtIn .42s cubic-bezier(.2, .7, .2, 1) both; }

  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; }
  .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .hero-stage .stage-panel { animation: panelIn 1.2s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .hero-stage .sc { animation: rise 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .hero .sc-row { animation: fadeIn .7s ease both; animation-delay: calc(.45s + var(--i, 0) * 55ms); }
  .hero .dbar .bar { animation: barIn 1.1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.6s + var(--i, 0) * 60ms); }
  .hero .meter-fill { animation: barIn 1.4s cubic-bezier(.2, .7, .2, 1) .8s both; }
  .page-head .wrap > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .page-head .wrap > :nth-child(2) { animation-delay: .06s; }
  .page-head .wrap > :nth-child(3) { animation-delay: .12s; }

  .rv.wait { opacity: 0; transform: translateY(18px); }
  .rv.go { transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
  .dbar.wait .bar { transform: scaleX(0); }
  .dbar.go .bar { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .15s; }
  .dbar.wait .wk { opacity: 0; }
  .dbar.go .wk { transition: opacity .6s ease .9s; }
  .chart.wait .draw, .spark.wait .ln { stroke-dashoffset: 1.05; }
  .chart.go .draw, .spark.go .ln { transition: stroke-dashoffset 1.4s cubic-bezier(.45, 0, .2, 1) .1s; }
  .chart.wait .pop, .spark.wait .end { opacity: 0; transform: scale(.3); }
  .chart.go .pop, .spark.go .end { transition: opacity .35s ease 1.15s, transform .55s cubic-bezier(.3, 1.6, .5, 1) 1.15s; }
  .meter.wait .meter-fill, .hbars.wait .fill { transform: scaleX(0); }
  .meter.go .meter-fill, .hbars.go .fill { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .15s; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .main-nav a { transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .2s ease; }
  .btn, .btn-sm { transition: background-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s cubic-bezier(.2, .7, .2, 1); }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -16px rgba(26, 25, 23, 0.6); }
  .btn span[aria-hidden], .link-arrow span[aria-hidden], .rc-more span[aria-hidden] { display: inline-block; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .btn:hover span[aria-hidden], .link-arrow:hover span[aria-hidden], .report-row:hover .rc-more span[aria-hidden] { transform: translateX(4px); }
  .report-row { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s cubic-bezier(.2, .7, .2, 1); }
  .report-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px); } }
@keyframes barIn { from { transform: scaleX(0); } }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
@media print {
  .rv.wait { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; backdrop-filter: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .main-nav { gap: 22px; }
  .nav-right { gap: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-stage { min-height: 0; padding: 40px 0 0; }
  .stage-panel { left: 64px; right: calc(-1 * var(--pad)); top: 0; bottom: 80px; width: auto; height: auto; border-radius: 28px 0 0 28px; }
  .hero-stage .sc { position: relative; left: 0; top: 0; width: 100%; max-width: 600px; }
  .groups .group.tools { grid-column: span 12; }
  .groups .group.other, .groups .group.house { grid-column: span 4; }
  .toc { display: none; }
  .prose { grid-column: span 12; max-width: 760px; }
  .report-row { grid-template-columns: 360px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .main-nav, .nav-right .btn-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--pad) 24px; flex-direction: column; box-shadow: 0 12px 24px rgba(26,25,23,.06); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 14px 0; border-bottom: var(--hair) solid var(--line); text-decoration: none; font-size: 18px; }
  .mobile-nav a.btn { margin-top: 18px; border: 0; color: var(--brand-ink); }
  .band-dark .copy, .band-dark .list, .awards .copy, .badge-wrap, .weekly-box .copy, .weekly-box form,
  .notice .copy, .notice .side, .two-col .main, .two-col .aside, .two-col .main.wide, .two-col .aside.narrow { grid-column: span 12; }
  .badge-wrap { justify-content: flex-start; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf:nth-child(3) { border-left: 0; padding-left: 0; }
  .pf:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .report-row { grid-template-columns: minmax(0, 1fr); }
  .rr-cover .cover { min-height: 0; aspect-ratio: 16 / 9; }
  .rr-text { padding: 8px 28px 32px; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  /* 12-column grids: everything spans the full width here, so drop the column gaps
     (11 gaps x 32px would be wider than a phone screen). */
  .groups, .band-dark .wrap, .awards .wrap, .weekly-box, .notice, .two-col, .prose-layout { column-gap: 0; }
  :root { --header-h: 72px; }
  .logo .word { font-size: 21px; }
  .logo svg { width: 28px; height: 28px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { margin-top: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 30px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-under { align-self: center; }
  .trust { flex-direction: column; gap: 10px; margin-top: 30px; }
  .hero-stage { padding-top: 28px; }
  .stage-panel { left: 24px; bottom: 70px; border-radius: 24px 0 0 24px; }
  .stage-panel span { display: none; }
  .hero-stage .sc { margin-right: 8px; width: auto; }
  .sc-head { padding: 18px; }
  .sc-title { font-size: 23px; }
  .sc-row { grid-template-columns: 18px 28px minmax(0, 1fr) 72px; padding: 12px 18px; gap: 10px; }
  .sc-row .dbar { grid-column: 3 / 4; grid-row: 2; width: 100%; max-width: 160px; }
  .sc-row .sc-val { grid-column: 4; grid-row: 1 / span 2; }
  .sc-row.muted { grid-template-columns: 18px 28px minmax(0, 1fr) auto; }
  .sc-row.roster { grid-template-columns: 28px minmax(0, 1fr) auto; padding: 10px 18px; }
  .sc-row .tbadge { width: 28px; height: 28px; }
  .sc-name .nm { font-size: 14.5px; }
  .sc-foot { padding: 14px 18px; flex-wrap: wrap; }
  .meter { width: 140px; }
  .pf { padding: 22px 16px 22px 0; }
  .pf:nth-child(even) { padding-left: 16px; }
  .pf-n { font-size: 42px; }
  .pf-l { font-size: 13.5px; }
  .section { padding-top: 72px; }
  .page-head + .section { padding-top: 40px; }
  .section-head { margin-bottom: 26px; }
  .st-card { display: none; }
  .st-cards { display: block; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .groups .group.other, .groups .group.house { grid-column: span 12; }
  .band-dark { margin-top: 72px; padding: 64px 0; }
  .band-dark .item.stat .sv { font-size: 32px; }
  .weekly { padding: 72px 0; }
  .weekly-box { padding: 28px 22px; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .award-list { grid-template-columns: minmax(0, 1fr); }
  .award-list li:nth-last-child(2) { border-bottom: 0; }
  .foot-cols { gap: 32px 48px; flex-wrap: wrap; }
  .site-footer { padding: 72px 0 40px; background-size: 460px 460px, var(--engrave-size); background-position: right -250px top -170px, 0 0; }
  .foot-hero { padding-bottom: 44px; gap: 28px; }
  .foot-cta { flex-direction: column; align-items: stretch; gap: 18px; width: 100%; }
  .foot-cta .btn { width: 100%; }
  .foot-cta .link-under { align-self: center; }
  .page-head { padding: 44px 0 36px; }
  .notice { padding: 26px 22px; }
  .prose-layout { padding: 40px 0 16px; }
  .prose { font-size: 16.5px; }
  .empty { padding: 28px 22px; }
  .defs-card { padding: 0 18px; }
  .dt-card { padding: 0 16px; }
  .chart-card { padding: 16px; }
  .rc-title { font-size: 26px; }
  .rr-text { padding: 4px 20px 26px; }
  .list-rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  /* Benchmark definitions: one card per row on phones. */
  .defs thead { display: none; }
  .defs, .defs tbody, .defs tr, .defs td { display: block; width: 100%; }
  .defs tr { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 6px; padding: 18px 0; border-bottom: var(--hair) solid var(--line); }
  .defs tr:last-child { border-bottom: 0; }
  .defs td { border: 0; padding: 0; }
  .defs td.n { grid-row: span 4; padding-top: 0; }
  .defs td.b { white-space: normal; font-size: 17px; }
  .defs td:nth-child(3) { margin-top: 4px; }
  .defs td:nth-child(4) { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
  .defs td.better { margin-top: 6px; font-size: 14px; }
  .defs td.better::before { content: "Better: "; }
  .prose .table-wrap table.rules { min-width: 600px; }
  .hbar { grid-template-columns: 110px minmax(0, 1fr); }
  .miss-tiles { grid-template-columns: minmax(0, 1fr); }
  .mt { border-left: 0; padding: 20px 0; }
  .mt + .mt { border-top: 1px solid var(--rule); }
  .mt-n { font-size: 40px; }
  .heat tbody th { font-size: 14px; padding-right: 10px; }
}
