/* ==========================================================================
   Promptly Found: homepage shape layer
   Load after home-pulse.css. Every rule is scoped to html.pfs. The class pfs
   is set on <html> in BaseLayout, next to pfm and pfl. The copy does not
   change. home-shape.js builds the data tabs.

   The page below the hero becomes five bands. Each band has one surface:
     desk   today's data, with the sector, platform and model tabs
     paper  key findings, latest research, how evidence is graded
     night  check your own site
     desk   AI search news, Sera
     paper  start here, reading paths, six sections, crawlers, glossary
   Objects keep the three heights from home-lead.css: console (dark,
   raised), sheet (white, resting), list (flat, ruled).
   The layout rules apply from 1001px. Below that width the sections stack
   in one column on the same surfaces.
   ========================================================================== */

html.pfs {
  --pfs-night: var(--pfl-night, #131315);
  --pfs-console: var(--pfl-console, #1b1b1e);
  --pfs-console-line: var(--pfl-console-line, #2e2e33);
  --pfs-desk: var(--pfl-desk, #f5f4f0);
  --pfs-sheet: #fff;
  --pfs-rest: var(--pfl-rest, 0 0 0 1px rgb(24 24 27 / .07), 0 1px 2px rgb(24 24 27 / .04), 0 10px 20px -12px rgb(24 24 27 / .14));
  --pfs-lift: var(--pfl-console-lift, inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(0 0 0 / .5), 0 18px 30px -18px rgb(24 24 27 / .5), 0 60px 100px -50px rgb(24 24 27 / .6));
  --pfs-pad: 104px;   /* top and bottom of a band */
  --pfs-gap: 80px;    /* between two sections in one band */
  --pfs-r: 16px;
  --pfs-up: #1d7a46;
}
@media (max-width: 1000px) { html.pfs { --pfs-pad: 64px; --pfs-gap: 52px; } }

/* ---- Bands --------------------------------------------------------------- */
html.pfs .hx { display: flex; flex-direction: column; margin-top: 0; padding-bottom: 0; --hx-gap: 0px; }
html.pfs .hx > .hx-sec,
html.pfs .hx > .hx-orp,
html.pfs .hx > .pfs-tabs {
  position: relative; isolation: isolate; margin-top: 0; padding: var(--pfs-gap) 0 0; border-top: 0;
  --pfs-band: var(--paper);
}
html.pfs .hx > .hx-sec::before,
html.pfs .hx > .hx-orp::before,
html.pfs .hx > .pfs-tabs::before {
  content: ""; position: absolute; z-index: -1; inset-block: 0; left: calc(50% - 50vw); width: 100vw;
  background: var(--pfs-band);
}

/* the order of the sections on the page (the markup order should match it) */
html.pfs .hx > [aria-labelledby="hx-today"]     { order: 1; }
html.pfs .hx > .pfs-tabs                        { order: 2; }
html.pfs .hx > [aria-labelledby="hx-sectors"]   { order: 3; }
html.pfs .hx > [aria-labelledby="hx-platforms"] { order: 4; }
html.pfs .hx > [aria-labelledby="hx-models"]    { order: 5; }
html.pfs .hx > [aria-labelledby="hx-finds"]     { order: 10; }
html.pfs .hx > [aria-labelledby="hx-research"]  { order: 11; }
html.pfs .hx > [aria-labelledby="hx-evidence"]  { order: 12; }
html.pfs .hx > [aria-labelledby="hx-tools"]     { order: 20; }
html.pfs .hx > [aria-labelledby="hx-news"]      { order: 30; }
html.pfs .hx > .hx-orp                          { order: 31; }
html.pfs .hx > [aria-labelledby="hx-start"]     { order: 40; }
html.pfs .hx > [aria-labelledby="hx-how"]       { order: 41; }
html.pfs .hx > [aria-labelledby="hx-paths"]     { order: 42; }
html.pfs .hx > [aria-labelledby="hx-sections"]  { order: 43; }
html.pfs .hx > [aria-labelledby="hx-bots"]      { order: 44; }
html.pfs .hx > [aria-labelledby="hx-reviewed"]  { order: 45; }
html.pfs .hx > [aria-labelledby="hx-gloss"]     { order: 46; }

/* surfaces */
html.pfs .hx > :is([aria-labelledby="hx-today"], .pfs-tabs, [aria-labelledby="hx-sectors"], [aria-labelledby="hx-platforms"],
  [aria-labelledby="hx-models"], [aria-labelledby="hx-news"], .hx-orp) { --pfs-band: var(--pfs-desk); }
html.pfs .hx > [aria-labelledby="hx-tools"] {
  --pfs-band: var(--pfs-night);
  --paper: var(--pfs-night); --ink: #edebe6; --ink-2: #b5b3ad; --ink-3: #918f8a; --line: var(--pfs-console-line); --accent: #e58a9a;
  color: var(--ink);
}

/* the first and the last section of each band */
html.pfs .hx > :is([aria-labelledby="hx-finds"], [aria-labelledby="hx-tools"], [aria-labelledby="hx-news"], [aria-labelledby="hx-start"]) { padding-top: var(--pfs-pad); }
html.pfs .hx > [aria-labelledby="hx-today"] { padding-top: 72px; }
html.pfs .hx > :is([aria-labelledby="hx-models"], [aria-labelledby="hx-evidence"], [aria-labelledby="hx-tools"], .hx-orp, [aria-labelledby="hx-gloss"]) { padding-bottom: var(--pfs-pad); }

/* ---- Headings ------------------------------------------------------------ */
html.pfs .hx-head { align-items: flex-end; margin-bottom: 32px; }
html.pfs .hx-head h2 small { color: var(--ink-3); }
/* the section that opens a band has the hero's display type */
html.pfs .hx > :is([aria-labelledby="hx-today"], [aria-labelledby="hx-finds"], [aria-labelledby="hx-tools"], [aria-labelledby="hx-news"], [aria-labelledby="hx-start"]) > .hx-head { margin-bottom: 44px; }
html.pfs .hx > :is([aria-labelledby="hx-today"], [aria-labelledby="hx-finds"], [aria-labelledby="hx-tools"], [aria-labelledby="hx-news"], [aria-labelledby="hx-start"]) > .hx-head h2 {
  font: 200 clamp(42px, 5.4vw, 76px)/1 var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.038em;
}
html.pfs .hx > :is([aria-labelledby="hx-today"], [aria-labelledby="hx-finds"], [aria-labelledby="hx-tools"], [aria-labelledby="hx-news"], [aria-labelledby="hx-start"]) > .hx-head h2 small {
  display: block; margin: 14px 0 0; font: 400 16px/22px var(--font-sans); font-variation-settings: normal; letter-spacing: 0;
}
html.pfs .hx-links { font-size: 15px; }
html.pfs .hx-links a { text-decoration-color: var(--accent); }

/* ---- Hero: the three columns read left to right, so the step numbers go --- */
html.pfs .pf-anatomy__step b { display: none; }

/* ---- Today's data: sheets and one console on the desk --------------------- */
html.pfs .hx-ticker {
  margin-bottom: 24px; padding: 12px 22px; border-radius: 999px; background: var(--pfs-night); color: #edebe6;
  -webkit-mask-image: none;
}
html.pfs .hx-ticker > b { font: 500 14px/20px var(--font-sans); letter-spacing: 0; text-transform: none; color: #e58a9a; }
html.pfs .hx-ticker a { color: #edebe6; }
html.pfs .hx-ticker ul { gap: 36px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }

html.pfs .hx-today { gap: 24px; align-items: stretch; }
html.pfs .hx-today > div,
html.pfs .hx-movers {
  padding: 30px 34px 28px; border-radius: var(--pfs-r); background: var(--pfs-sheet); box-shadow: var(--pfs-rest);
}
html.pfs .hx-today .hx-k, html.pfs .hx-movers .hx-k { margin-bottom: 18px; font: 500 15px/21px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-today .ts { border-top-color: var(--line); }
html.pfs .hx-today .ts-row { min-height: 54px; font-size: 17px; }
@media (min-width: 701px) {
  html.pfs .hx-today .ts-row:first-child { min-height: 76px; }
  html.pfs .hx-today .ts-row:first-child .ts-dom,
  html.pfs .hx-today .ts-row:first-child .ts-share { font: 300 30px/36px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
}
html.pfs .hx-today .ts-bar { height: 6px; }
html.pfs .hx-today .hx-more { margin-top: 0; border-top: 0; padding-top: 18px; }
/* on a phone the hidden trend line kept its grid cell, so the change dropped to a second line */
@media (max-width: 560px) { html.pfs .ts-row--trend > span[aria-hidden]:not([class]) { display: none; } }

html.pfs .hx-kpis { margin: 0 0 8px; border: 0; }
html.pfs .hx-kpis > div { padding: 0 16px 0 0; }
html.pfs .hx-kpis > div + div { padding-left: 18px; }
html.pfs .hx-kpis b { font: 300 46px/48px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.03em; }
html.pfs .hx-kpis span { margin-top: 6px; }
html.pfs .hx-report { margin-top: 20px; padding-top: 18px; }
html.pfs .hx-report b { font-size: 19px; line-height: 26px; }
html.pfs .hx-today > div:last-child { display: flex; flex-direction: column; }
html.pfs .hx-mini { margin-top: auto; padding-top: 24px; }
html.pfs .hx-mini .sx-cal { padding-top: 20px; border-top: 1px solid var(--line); }

/* the six weekly scores are the instrument of this band */
html.pfs .hx-score {
  margin-top: 24px; padding: 30px 34px 32px; border-radius: var(--pfs-r); background: var(--pfs-console); box-shadow: var(--pfs-lift);
  --paper: var(--pfs-console); --ink: #edebe6; --ink-2: #b5b3ad; --ink-3: #918f8a; --line: var(--pfs-console-line); --accent: #e58a9a; --pfs-up: #6fcf97;
  color: var(--ink);
}
html.pfs .hx-score .hx-k { margin-bottom: 22px; font: 500 15px/21px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-tiles { border: 0; }
html.pfs .hx-tiles a { gap: 8px; padding: 0 20px 0 0; }
html.pfs .hx-tiles li + li a { padding-left: 20px; }
html.pfs .hx-tile__n { font: 500 14px/20px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-tiles a:hover .hx-tile__n { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
html.pfs .hx-tile__v { font: 300 44px/46px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.03em; }
html.pfs .hx-tile__v em { font-variation-settings: normal; }
html.pfs .hx-tiles svg { height: 36px; margin-top: 2px; }
html.pfs .hx-tile__s { font-size: 13px; line-height: 18px; }
html.pfs .hx-score .hx-up, html.pfs .hx-score .hx-up * { color: var(--pfs-up); }

html.pfs .hx-movers { margin-top: 24px; }
@media (max-width: 1100px) {
  html.pfs .hx-tiles a, html.pfs .hx-tiles li + li a { padding-block: 18px; }
}
@media (max-width: 700px) {
  html.pfs .hx-today > div, html.pfs .hx-movers, html.pfs .hx-score { padding: 22px 20px; }
  html.pfs .hx-tile__v { font-size: 36px; line-height: 40px; }
  html.pfs .hx-tile__v em { display: block; margin: 2px 0 0; }
}
@media (max-width: 560px) {
  html.pfs .hx-kpis { gap: 14px; }
  html.pfs .hx-kpis > div + div { padding: 14px 0 0; }
}
html.pfs .hx-movers__cols { gap: 0 64px; }
html.pfs .hx-movers h3 { font: 300 30px/36px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
html.pfs .hx-movers ol { border-top-color: var(--line); }
html.pfs .hx-movers li { padding: 12px 0; font-size: 16px; }
html.pfs .hx-movers__cols > div:first-child .hx-movers__now { background: var(--pfs-up); }

/* ---- Sector, platform, model: three headings that work as tabs ------------ */
html.pfs .hx > .pfs-tabs { display: flex; flex-wrap: wrap; gap: 6px 40px; padding-top: var(--pfs-gap); }
html:not(.pfs) .pfs-tabs { display: none; }
html.pfs .pfs-tabs button {
  margin: 0; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: 400 34px/40px var(--font-sans); letter-spacing: -.02em; color: var(--ink-3);
}
html.pfs .pfs-tabs button:hover { color: var(--ink); }
@media (max-width: 700px) {
  html.pfs .hx > .pfs-tabs { gap: 4px 24px; }
  html.pfs .pfs-tabs button { padding-bottom: 8px; font-size: 22px; line-height: 28px; text-align: left; }
}
html.pfs .pfs-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
html.pfs .pfs-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab] { padding-top: 28px; padding-bottom: var(--pfs-pad); }
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab]:not(.is-on) { display: none; }
/* the tab names the panel, so the panel's own heading is for screen readers only */
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab] > .hx-head h2 { font: 400 15px/22px var(--font-sans); letter-spacing: 0; color: var(--ink-3); }
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab] > .hx-head h2 > span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab] > .hx-head h2 small { margin-left: 0; }
html.pfs .hx.pfs-tabbed > .hx-sec[data-pfs-tab] > .hx-head { margin-bottom: 20px; }
/* each panel rests on one sheet */
html.pfs .hx > :is([aria-labelledby="hx-sectors"], [aria-labelledby="hx-platforms"], [aria-labelledby="hx-models"]) > :is(.hx-secs, .hx-ptwrap, .hx-mwrap) {
  padding: 14px 34px 20px; border-radius: var(--pfs-r); background: var(--pfs-sheet); box-shadow: var(--pfs-rest);
}
html.pfs .hx-heatwrap { margin-top: 24px; padding: 28px 34px 30px; border-radius: var(--pfs-r); background: var(--pfs-sheet); box-shadow: var(--pfs-rest); }
html.pfs .hx-heat { margin-top: 0; font-size: 14px; }
html.pfs .hx-heat caption { margin-bottom: 16px; font: 500 15px/21px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-heat td span { padding: 10px 4px; border-radius: 6px; }
html.pfs [aria-labelledby="hx-sectors"] > .hx-more { border-top: 0; }

/* sectors: two ruled lists, the trend line has room to read */
html.pfs .hx-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 0; }
html.pfs .hx-secs a,
html.pfs .hx-secs a:not(:nth-child(4n+1)),
html.pfs .hx-secs a:nth-child(2n) {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 40%); gap: 2px 28px; align-items: center;
  padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line);
}
html.pfs .hx-secs a:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 1000px) {
  html.pfs .hx-secs { grid-template-columns: minmax(0, 1fr); }
  html.pfs .hx-secs a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  html.pfs .hx > :is([aria-labelledby="hx-sectors"], [aria-labelledby="hx-platforms"], [aria-labelledby="hx-models"]) > :is(.hx-secs, .hx-ptwrap, .hx-mwrap),
  html.pfs .hx-heatwrap, html.pfs .hx-cmp { padding-inline: 20px; }
}
@media (max-width: 560px) {
  html.pfs .hx-secs a, html.pfs .hx-secs a:not(:nth-child(4n+1)), html.pfs .hx-secs a:nth-child(2n) { grid-template-columns: minmax(0, 1fr) 96px; gap: 2px 16px; }
}
html.pfs .hx-secs a > * { grid-column: 1; }
html.pfs .hx-secs a > svg { grid-column: 2; grid-row: 1 / span 3; height: 52px; }
html.pfs .hx-secs h3 { font: 400 21px/27px var(--font-sans); letter-spacing: -.01em; }
html.pfs .hx-secs p { font-size: 14.5px; line-height: 21px; }

html.pfs .hx-ptable, html.pfs .hx-mtable { font-size: 15.5px; line-height: 22px; }
html.pfs .hx-ptable th, html.pfs .hx-mtable th { padding-block: 14px; font: 500 14px/18px var(--font-sans); letter-spacing: 0; }
html.pfs .hx-ptable td { padding-block: 20px; }
html.pfs .hx-ptable tr:last-child td, html.pfs .hx-mtable tr:last-child td { border-bottom: 0; }
html.pfs .hx-ptable .hx-pfig b { font: 300 34px/38px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
html.pfs .hx-ptable .hx-pco a { font-size: 17px; }
html.pfs .hx-mtable td { padding-block: 15px; }
html.pfs .hx-mtable .hx-mbar { width: clamp(72px, 9vw, 140px); height: 8px; border-radius: 4px; }
html.pfs .hx-cmp { margin-top: 24px; padding: 20px 34px; border-radius: var(--pfs-r); background: color-mix(in srgb, var(--ink) 5%, var(--pfs-desk)); }

/* ---- Key findings: one lead figure, then five ----------------------------- */
html.pfs .hx-find__k { display: none; }
html.pfs .hx-bars li.hx-bars__g { margin-top: 10px; font: 500 13.5px/18px var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html.pfs .hx-find__v { font: 200 72px/68px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.04em; }
html.pfs .hx-find__t { font-size: 17px; line-height: 26px; }
html.pfs .hx-find__s { font-size: 13px; line-height: 19px; }
html.pfs .hx-find__go { text-decoration-color: var(--accent); font-size: 15px; }
html.pfs .hx-shuffle { margin-top: 32px; }

@media (min-width: 1001px) {
  html.pfs .hx-finds { grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 0; }
  html.pfs .hx-find,
  html.pfs .hx-find:not(:nth-child(3n+1)) { grid-column: span 2; gap: 12px; padding: 36px 36px 36px 0; border-left: 0; border-bottom: 0; border-top: 1px solid var(--line); }
  html.pfs .hx-find:nth-child(2), html.pfs .hx-find:nth-child(3) { grid-column: span 3; }
  html.pfs .hx-find:is(:nth-child(3), :nth-child(5), :nth-child(6)) { padding-left: 36px; border-left: 1px solid var(--line); }
  html.pfs .hx-find:is(:nth-child(3), :nth-child(6)) { padding-right: 0; }
  html.pfs .hx-find:nth-child(n+4) { padding-bottom: 0; }

  html.pfs .hx-find:first-child {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 88px;
    grid-template-rows: auto auto 1fr; align-items: start; padding: 0 0 56px; border-top: 0;
  }
  html.pfs .hx-find:first-child .hx-find__v { grid-column: 1; grid-row: 1; font-size: clamp(150px, 17vw, 248px); line-height: .84; letter-spacing: -.055em; margin: 0 0 20px -.04em; }
  html.pfs .hx-find:first-child .hx-find__t { grid-column: 1; grid-row: 2; max-width: 22em; font: 300 30px/40px var(--font-sans); letter-spacing: -.015em; }
  html.pfs .hx-find:first-child .hx-find__go { grid-column: 1; grid-row: 3; align-self: end; justify-self: start; margin-top: 28px; font-size: 16px; }
  html.pfs .hx-find:first-child .hx-bars { grid-column: 2; grid-row: 1 / span 2; gap: 14px; margin: 14px 0 0; }
  html.pfs .hx-find:first-child .hx-bars li { grid-template-columns: minmax(0, 1fr) 72px; gap: 6px 10px; font-size: 15.5px; line-height: 22px; }
  html.pfs .hx-find:first-child .hx-bars li > i { height: 10px; border-radius: 5px; }
  html.pfs .hx-find:first-child .hx-bars li > i > u { border-radius: 5px; }
  html.pfs .hx-find:first-child .hx-bars li.hx-bars__g { margin-top: 12px; font: 400 21px/27px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
  html.pfs .hx-find:first-child .hx-bars li.hx-bars__g:first-child { margin-top: 0; }
  html.pfs .hx-find:first-child .hx-find__s { grid-column: 2; grid-row: 3; align-self: end; margin: 28px 0 0; }
}

/* ---- Latest research: the figure leads each row --------------------------- */
html.pfs .hx-chips { margin-bottom: 28px; }
html.pfs .hx-rlist { border-top: 0; }
html.pfs .hx-rlist li { border-bottom: 0; border-top: 1px solid var(--line); }
html.pfs .hx-rlist a {
  position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 22px 0 24px 148px;
}
html.pfs .hx-rlist .hx-rtitle { grid-column: 1 / -1; grid-row: 1; font: 400 20px/27px var(--font-sans); letter-spacing: -.01em; }
html.pfs .hx-rlist .hx-rfig { grid-column: 1 / -1; grid-row: 2; font: 400 14.5px/21px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-rlist .hx-rfig b {
  position: absolute; left: 0; top: 20px; margin: 0;
  font: 300 34px/38px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.03em; color: var(--accent);
}
html.pfs .hx-rlist .hx-rtopic { grid-column: 1; grid-row: 3; margin-top: 6px; font: 400 13.5px/20px var(--font-sans); }
html.pfs .hx-rlist time { grid-column: 2; grid-row: 3; margin-top: 6px; }
@media (max-width: 560px) {
  html.pfs .hx-rlist a { padding-left: 0; }
  html.pfs .hx-rlist .hx-rfig b { position: static; display: block; margin-bottom: 4px; }
}
@media (min-width: 1001px) {
  html.pfs .hx-rlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
}

/* ---- Rail sections: the heading stays at the left, the content at the right */
@media (min-width: 1001px) {
  html.pfs .hx > :is([aria-labelledby="hx-evidence"], [aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 64px; align-items: start;
  }
  html.pfs .hx > :is([aria-labelledby="hx-evidence"], [aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) > .hx-head {
    grid-column: 1; grid-row: 1 / span 8; display: block; margin: 0; position: sticky; top: calc(var(--header-height, 68px) + 44px);
  }
  html.pfs .hx > :is([aria-labelledby="hx-evidence"], [aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) > :not(.hx-head) { grid-column: 2; }
  html.pfs .hx > :is([aria-labelledby="hx-evidence"], [aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) > .hx-head h2 small { display: block; margin: 10px 0 0; }
  html.pfs .hx > :is([aria-labelledby="hx-evidence"], [aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) > .hx-head .hx-links { display: grid; gap: 10px; margin-top: 24px; justify-items: start; }
}

/* how evidence is graded: one scale, four rows */
html.pfs .hx-grades { display: block; }
html.pfs .hx-grades li { grid-template-columns: 170px minmax(0, 1fr) auto; gap: 6px 28px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
html.pfs .hx-grades li:first-child { border-top-color: var(--ink); }
html.pfs .hx-grades .pf-ev { font: 400 21px/27px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
html.pfs .hx-grades p { font-size: 16px; line-height: 24px; }
html.pfs .hx-grades a { white-space: nowrap; text-decoration-color: var(--accent); text-underline-offset: 4px; }
@media (max-width: 700px) { html.pfs .hx-grades li { grid-template-columns: minmax(0, 1fr); } }

/* ---- Check your own site: a console band ---------------------------------- */
html.pfs [aria-labelledby="hx-tools"] .hx-links a { color: var(--ink); }
html.pfs .hx-tools { gap: 24px; }
html.pfs .hx-tools .hx-panel {
  padding: 36px 36px 34px; border: 0; border-radius: var(--pfs-r); background: var(--pfs-console);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(0 0 0 / .5), 0 30px 50px -30px rgb(0 0 0 / .8);
}
html.pfs .hx-tool h3 { margin-bottom: 8px; font: 300 32px/38px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
html.pfs .hx-tool p { margin-bottom: 22px; font-size: 16px; line-height: 24px; }
html.pfs .hx-tool .hx-ua-out:empty { display: none; }
html.pfs .hx-inline { gap: 10px; }
html.pfs .hx-inline input { height: 58px; padding: 0 18px; border-color: #3a3a40; border-radius: 10px; background: #0e0e10; color: #edebe6; font-size: 16px; }
html.pfs .hx-inline input::placeholder { color: #8b8983; }
html.pfs .hx-inline input:focus-visible { border-color: #e58a9a; }
html.pfs .hx-inline button { height: 58px; padding: 0 26px; border-radius: 10px; background: #edebe6; color: #18181b; font-size: 16px; }
html.pfs .hx-inline button:hover { background: #fff; }
html.pfs .hx-toollist { margin-top: 44px; gap: 0 48px; }
html.pfs .hx-toollist a { padding: 18px 0; }
html.pfs .hx-toollist b { font: 400 18px/25px var(--font-sans); }
html.pfs .hx-toollist span { font-size: 14.5px; line-height: 21px; }
html.pfs [aria-labelledby="hx-tools"] .hx-more { margin-top: 28px; border-top: 0; }
html.pfs [aria-labelledby="hx-tools"] .hx-more a { color: var(--ink-2); }
html.pfs [aria-labelledby="hx-tools"] .hx-more a:hover { color: var(--ink); }

/* ---- AI search news: lead sheet, the week beside it, then the list -------- */
html.pfs .hx-nmeta i { padding: 2px 9px; font: 500 12.5px/18px var(--font-sans); letter-spacing: 0; text-transform: none; }
html.pfs .hx-nlead { padding: 40px 44px 42px; border-radius: var(--pfs-r); background: var(--pfs-sheet); box-shadow: var(--pfs-rest); transition: box-shadow .2s, translate .2s; }
html.pfs .hx-nlead:hover { translate: 0 -2px; box-shadow: var(--pfl-raised, var(--pfs-rest)); }
html.pfs .hx-nlead h3 { margin: 18px 0 16px; font: 300 clamp(30px, 3.4vw, 48px)/1.08 var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.03em; }
html.pfs .hx-nlead p { max-width: 36em; margin-bottom: 0; font-size: 18px; line-height: 28px; }
html.pfs .hx-week .hx-k { margin-bottom: 14px; font: 400 21px/27px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
html.pfs .hx-week ul { display: grid; gap: 0; font-size: 15px; }
html.pfs .hx-week li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font-variant-numeric: tabular-nums; }
html.pfs .hx-week li i { height: 8px; border-radius: 4px; }
html.pfs .hx-week li b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.pfs .hx-nlist { border-top: 0; }
html.pfs .hx-nlist li { border-bottom: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
html.pfs .hx-nlist a { padding: 16px 0 18px; font-size: 17.5px; line-height: 25px; }
html.pfs .hx-news .hx-chips { margin-bottom: 20px; }
html.pfs .hx-news .hx-chips button { background: transparent; }
html.pfs .hx-news .hx-chips button[aria-pressed="true"] { background: var(--ink); }
html.pfs .hx-earlier { margin-top: 56px; }
html.pfs .hx-earlier .hx-k { margin-bottom: 16px; font: 400 21px/27px var(--font-sans); letter-spacing: -.01em; color: var(--ink); }
html.pfs .hx-earlier li { padding: 12px 0; border-top-color: color-mix(in srgb, var(--ink) 10%, transparent); }
html.pfs .hx-earlier ol { column-gap: 48px; }
@media (min-width: 1001px) {
  html.pfs .hx > [aria-labelledby="hx-news"] { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 56px; align-items: start; }
  html.pfs .hx > [aria-labelledby="hx-news"] > .hx-head { grid-column: 1 / -1; }
  html.pfs .hx-news { display: contents; }
  html.pfs .hx-nlead { grid-column: 1; grid-row: 2; align-self: stretch; display: flex; flex-direction: column; padding: 44px 48px 46px; }
  html.pfs .hx-nlead h3 { margin: 28px 0 32px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; }
  html.pfs .hx-nlead p { margin-top: auto; }
  html.pfs .hx-week { grid-column: 2; grid-row: 2; margin: 0; padding-top: 8px; }
  html.pfs .hx-news > div { grid-column: 1 / -1; grid-row: 3; margin-top: 56px; }
  html.pfs .hx-nlist { columns: 2; column-gap: 72px; }
  html.pfs .hx-nlist li { break-inside: avoid; }
  html.pfs .hx-earlier { grid-column: 1 / -1; grid-row: 4; }
}

/* ---- Sera rests on the desk at the end of the news band ------------------- */
html.pfs .hx > .hx-orp { padding-top: var(--pfs-gap); }
html.pfs .hx-orp .pf-block { margin-top: 0; padding-bottom: 0; }

/* ---- Start here: the role comes first ------------------------------------- */
html.pfs .hx-start { gap: 32px 72px; }
html.pfs .hx-role { order: -1; padding: 34px 36px 36px; border-radius: var(--pfs-r); background: var(--pfs-desk); }
@media (max-width: 700px) { html.pfs .hx-role, html.pfs .hx-tools .hx-panel, html.pfs .hx-nlead, html.pfs .hx-gloss .hx-panel { padding: 24px 20px 26px; } }
html.pfs .hx-role .hx-k { margin-bottom: 16px; font: 300 32px/38px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; color: var(--ink); }
html.pfs .hx-role .hx-chips { gap: 8px; margin-bottom: 28px; }
html.pfs .hx-role .hx-chips button { height: 42px; padding: 0 18px; border-color: color-mix(in srgb, var(--ink) 18%, transparent); background: var(--pfs-sheet); font-size: 15px; }
html.pfs .hx-role .hx-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
html.pfs .hx-role h3 { margin: 0 0 8px; font: 400 24px/30px var(--font-sans); letter-spacing: -.015em; }
html.pfs .hx-role p { font-size: 16px; line-height: 24px; margin-bottom: 18px; }
html.pfs .hx-role ol { margin: 0 0 22px; padding: 0; list-style: none; font-size: 16px; line-height: 23px; }
html.pfs .hx-role ol li { padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
html.pfs .hx-role ol a { text-decoration: none; }
html.pfs .hx-role ol a:hover { text-decoration: underline; text-underline-offset: 4px; }
html.pfs .hx a.hx-role__go { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: var(--pfs-sheet); font-size: 15px; text-decoration: none; }
html.pfs .hx a.hx-role__go:hover { background: var(--accent); }
html.pfs .hx-startlist { grid-template-columns: minmax(0, 1fr); border-top: 0; }
html.pfs .hx-startlist li:first-child a { border-top: 1px solid var(--ink); }
html.pfs .hx-startlist a { gap: 4px; padding: 18px 0 20px; }
html.pfs .hx-startlist b { font: 400 21px/28px var(--font-sans); letter-spacing: -.01em; }
html.pfs .hx-startlist em { font-size: 15px; line-height: 22px; }
/* the section name goes under the entry, so no label sits above a title */
html.pfs .hx-startlist span { order: 3; margin-top: 4px; font: 400 13.5px/18px var(--font-sans); }
@media (min-width: 1001px) {
  html.pfs .hx-start { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  html.pfs .hx-role { position: sticky; top: calc(var(--header-height, 68px) + 44px); }
}

/* ---- Rail sections in the learn band have a rule between them ------------- */
html.pfs .hx > :is([aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-sections"], [aria-labelledby="hx-bots"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) { padding-top: 0; margin-top: var(--pfs-gap); }
html.pfs .hx > :is([aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-sections"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"]) > * { padding-top: 40px; }
html.pfs .hx > [aria-labelledby="hx-bots"] > .hx-head { padding-top: 40px; }
html.pfs .hx > :is([aria-labelledby="hx-how"], [aria-labelledby="hx-paths"], [aria-labelledby="hx-sections"], [aria-labelledby="hx-bots"], [aria-labelledby="hx-reviewed"], [aria-labelledby="hx-gloss"])::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ink);
}

/* reading path: a line with a stop for each chapter, in place of numbers */
html.pfs .hx-lede { margin: 0 0 4px; font: 300 26px/36px var(--font-sans); letter-spacing: -.012em; color: var(--ink); max-width: 30em; }
html.pfs .hx > [aria-labelledby="hx-how"] > .hx-lede { padding-top: 40px; }
html.pfs .hx > [aria-labelledby="hx-how"] > .hx-chapters { padding-top: 28px; }
html.pfs .hx-chapters { column-gap: 56px; }
html.pfs .hx-chapters li { position: relative; border-top: 0; }
html.pfs .hx-chapters li::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--line); }
html.pfs .hx-chapters a { grid-template-columns: 30px minmax(0, 1fr); padding: 10px 0; font-size: 16.5px; line-height: 24px; }
html.pfs .hx-chapters a > span:first-child {
  position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 6px; box-sizing: border-box; border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--paper); font-size: 0; color: transparent;
}
html.pfs .hx-chapters a:hover > span:first-child { border-color: var(--accent); background: var(--accent); }
html.pfs .hx-chapters li.is-done a > span:first-child { border-color: var(--pfs-up); background: var(--pfs-up); }
html.pfs .hx-chapters li.is-done a > span:first-child::after { content: none; }
@media (min-width: 1001px) { html.pfs .hx-chapters { columns: 2; } }

/* more reading paths */
html.pfs .hx-pathlist { gap: 0 56px; }
html.pfs .hx-pathlist a { gap: 5px; padding: 20px 0 22px; }
html.pfs .hx-pathlist li:nth-child(-n+2) a { border-top: 0; padding-top: 0; }
html.pfs .hx-pathlist b { font: 400 20px/27px var(--font-sans); letter-spacing: -.01em; }
html.pfs .hx-pathlist span { font-size: 15px; line-height: 22px; }
html.pfs .hx-pathlist em { font-size: 13.5px; line-height: 19px; margin-top: 2px; }
html.pfs .hx-resume { background: var(--pfs-desk); }
@media (min-width: 1001px) { html.pfs .hx-pathlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { html.pfs .hx-pathlist li:nth-child(2) a { border-top: 1px solid var(--line); padding-top: 20px; } }

/* six sections */
html.pfs .hx-six { gap: 56px 56px; }
html.pfs .hx-six h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: 300 32px/38px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
html.pfs .hx-six h3 small { font-variation-settings: normal; letter-spacing: 0; text-align: right; }
html.pfs .hx-six p { margin-bottom: 16px; font-size: 15px; line-height: 22px; }
html.pfs .hx-six ol a { padding: 11px 0; font-size: 15.5px; line-height: 22px; }

/* crawlers by purpose: a console */
html.pfs .hx-botcols {
  gap: 0 28px; padding: 36px 36px 30px; border-radius: var(--pfs-r); background: var(--pfs-console); box-shadow: var(--pfs-lift);
  --paper: var(--pfs-console); --ink: #edebe6; --ink-2: #b5b3ad; --ink-3: #918f8a; --line: var(--pfs-console-line); --accent: #e58a9a;
  color: var(--ink);
}
html.pfs .hx-botcol h3 { margin-bottom: 14px; padding-top: 16px; border-top-width: 3px; font: 400 15px/21px var(--font-sans); }
html.pfs .hx-botcol h3 b { margin-bottom: 4px; font: 200 60px/56px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.04em; }
html.pfs .hx-botcol--search h3 { border-top-color: #56b3a0; }
html.pfs .hx-botcol--training h3 { border-top-color: #e08a5c; }
html.pfs .hx-botcol--user-fetch h3 { border-top-color: #7f9be0; }
html.pfs .hx-botcol--mixed h3 { border-top-color: #b98fcb; }
html.pfs .hx-botcol--token h3 { border-top-color: #cdb65a; }
html.pfs .hx-botcol a { padding: 9px 0; }
html.pfs .hx-botcol li:last-child a { border-bottom: 0; }
html.pfs .hx-botcol code { font-size: 13.5px; }
html.pfs [aria-labelledby="hx-bots"] > .hx-more { border-top: 0; }
@media (max-width: 1100px) { html.pfs .hx-botcols { gap: 28px 24px; padding: 28px 24px; } }

/* recently reviewed */
html.pfs .hx-rev { border-top: 0; }
html.pfs .hx-rev a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 28px; padding: 18px 0 20px; }
html.pfs .hx-rev li:first-child a { padding-top: 0; }
html.pfs .hx-rev li:last-child a { border-bottom: 0; }
html.pfs .hx-rev__t { grid-column: 1; grid-row: 1 / span 2; }
html.pfs .hx-rev time { grid-column: 2; grid-row: 1; text-align: right; }
html.pfs .hx-rev__s { grid-column: 2; grid-row: 2; align-self: start; text-align: right; }
html.pfs .hx-rev__t b { font: 400 19px/26px var(--font-sans); letter-spacing: -.01em; }
html.pfs .hx-rev__t em { margin-top: 4px; max-width: 52em; font-size: 14.5px; line-height: 21px; }
@media (max-width: 700px) {
  html.pfs .hx-rev__t { grid-column: 1 / -1; grid-row: 1; }
  html.pfs .hx-rev time { grid-column: 1; grid-row: 2; text-align: left; }
  html.pfs .hx-rev__s { grid-column: 2; grid-row: 2; }
}

/* glossary */
html.pfs .hx-gloss { gap: 32px 56px; }
html.pfs .hx-gloss .hx-panel { padding: 30px 32px 32px; border: 0; border-radius: var(--pfs-r); background: var(--pfs-desk); }
html.pfs .hx-gloss .hx-k { font: 400 15px/21px var(--font-sans); color: var(--ink-2); }
html.pfs .hx-gloss h3 { margin: 6px 0 12px; font: 200 64px/60px var(--font-sans); font-variation-settings: "wdth" 88; letter-spacing: -.04em; }
html.pfs .hx-gloss p { font-size: 16px; line-height: 25px; }
html.pfs .hx-az { gap: 6px; margin-bottom: 22px; }
html.pfs .hx-az a, html.pfs .hx-az span { width: 38px; height: 38px; border-radius: 8px; font-size: 15px; }
html.pfs .hx-termlinks { gap: 6px 18px; font-size: 15.5px; line-height: 24px; }
html.pfs .hx-termlinks a { color: var(--ink); }

/* ---- Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) { html.pfs .hx-nlead { transition: none; } html.pfs .hx-nlead:hover { translate: none; } }
