/* Benchmark and error pages: the home page's type scale, palette, tabs and answer bars. */
.benchmark-page{--soft:#58615c;--grey:#b6b4a9;--rule:#20232214}
.benchmark-page .desktop-nav a[aria-current=page]:after{width:100%}
/* Section titles at the scale of the home page's "Human behavior, modeled with AI."; the shared footer keeps its own. */
.p-part h2{font-size:clamp(38px,3.6vw,56px);font-weight:400;line-height:1.08;letter-spacing:-.045em}
.benchmark-page h3{font-weight:400}
.p-kicker{font-size:14px;line-height:1.5;color:var(--muted);margin-bottom:20px}
.p-caption,.p-meta{font-size:14px;color:var(--muted)}

.p-hero{padding-block:clamp(72px,8vw,120px) clamp(56px,6vw,88px)}
.p-hero h1{font-size:clamp(52px,5.2vw,80px);line-height:1.06;letter-spacing:-.05em}
.p-lead{font-size:17px;line-height:1.65;color:var(--soft);margin-top:28px}
.p-missing{min-height:56svh}
.p-actions{display:flex;flex-wrap:wrap;gap:14px 32px;align-items:center;margin-top:36px;font-size:16px}
.p-actions a{padding:13px 0;border-bottom:1px solid #aaa29a}
.p-actions a:first-child{padding:13px 18px;border:1px solid #252523;border-radius:5px;background:#252523;color:#fff}
.p-actions a:hover{border-color:var(--orange)}

/* Benchmark hero: the home hero seen in a mirror (painting left, words right). */
.benchmark-page main:has(.hero){padding-top:0}
.hero-mirror{--words-out:16px}
.hero-mirror .hero-film{transform:scaleX(-1)}
@media(min-width:601px){
  .hero-mirror .hero-intro{justify-content:flex-end;text-align:right}
  .hero-mirror .hero-description{margin-left:auto}
}

/* Section titles: the subject word in the accent, as "respond." on the home page; behind the title row only, paper running into the painting's cream. */
.p-part h2 span{color:var(--orange)}
.p-wash{margin-inline:calc(-1*var(--gutter));padding:26px var(--gutter);background:linear-gradient(90deg,#fafaf700 32%,#f3dcc3 100%)}

.p-section{padding-block:clamp(64px,7vw,104px);border-top:1px solid #20232212}
.p-part{display:flex;justify-content:space-between;align-items:baseline;gap:32px}
.p-part>p{font-size:17px;color:var(--soft)}

/* Results beside the questions. */
.p-split{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(40px,7vw,120px);align-items:start;margin-top:clamp(36px,4vw,56px)}
.p-qhead{font-size:14px;color:var(--muted);margin-bottom:10px}
.p-qmark{color:var(--orange)}
.p-stem{font-size:21px;line-height:1.35;letter-spacing:-.02em;margin-bottom:26px}
.p-opts{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 32px}
.p-opts li{padding:9px 14px;border:1px solid #20232233;border-radius:5px;font-size:15px;line-height:1.3}
.p-q>:last-child{margin-bottom:0}
.p-qlist{columns:2;column-gap:40px;margin:0;padding-left:1.5em;font-size:16px;line-height:1.45}
.p-qlist li{padding:5px 0 5px 6px;break-inside:avoid}
.p-qlist li::marker{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.p-bar{display:grid;grid-template-columns:140px 1fr 62px;gap:18px;align-items:center;height:46px;font-size:16px;color:var(--soft)}
.p-bar i{position:relative;height:7px;border-radius:2px;background:#2023220a}
.p-bar i::after{content:"";position:absolute;left:var(--ceil);top:-20px;bottom:-20px;border-left:1px dashed #8a817a}
.p-bar b{display:block;height:100%;border-radius:2px;background:var(--grey)}
.p-bar strong{font-weight:400;font-variant-numeric:tabular-nums;text-align:right}
.p-bar.mine{color:var(--ink);font-weight:500}
.p-bar.mine strong{font-weight:500;font-size:19px}
.p-bar.mine b{background:var(--orange)}
.p-ceil{height:38px}
.p-ceil i{background:none}
.p-ceil em{position:absolute;right:calc(100% - var(--ceil) + 10px);top:-8px;font-style:normal;font-size:13px;color:var(--muted);white-space:nowrap}

/* Part 2: other questions, on a tinted band with white cards. */
.p-other{background:#f2f0ea}
.p-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #2023221f;margin:44px 0 30px}
.p-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:14px 0;margin-right:32px;font-size:15px;color:var(--muted)}
.p-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}
.p-legend{display:flex;gap:24px;font-size:14px;color:var(--soft);margin-bottom:24px}
.p-legend span{display:inline-flex;align-items:center;gap:8px}
.p-legend i{width:18px;height:7px;border-radius:2px;background:var(--ink)}
.p-legend .k-mine{background:var(--orange)}
.p-dists{display:grid;grid-template-columns:1fr 1fr;gap:56px clamp(40px,7vw,120px)}
.p-dist{display:flex;flex-direction:column}
.p-topic{font-size:14px;color:var(--muted);margin-bottom:14px}
.p-dist h3{font-size:21px;line-height:1.35;letter-spacing:-.02em;margin-bottom:10px}
.p-ans p{font-size:15px;margin:20px 0 9px}
.p-ans div{display:flex;align-items:center;gap:14px;margin:7px 0}
.p-ans i{flex:1;height:7px;border-radius:2px;background:#2023220a}
.p-ans b{display:block;height:100%;border-radius:2px;background:var(--ink)}
.p-ans .mine b{background:var(--orange)}
.p-ans span{width:40px;text-align:right;font-size:15px;font-variant-numeric:tabular-nums}
.p-ans .real span{color:var(--soft)}
.p-ans .mine span{font-weight:500}
.p-meta{margin-top:auto;padding-top:24px}



@media(max-width:900px){
  .p-split,.p-dists{grid-template-columns:1fr}
}
@media(max-width:600px){
  .p-qlist{columns:1}
  .p-part{display:block}.p-part>p{margin-top:12px}
  .p-bar{grid-template-columns:104px 1fr 52px;gap:10px;font-size:13px}
  .p-tabs button{margin-right:18px;font-size:13px}
}

/* Review preview: stack the benchmark introduction and painting below desktop. */
@media(max-width:1024px){
  .benchmark-page .hero-mirror{display:flex;flex-direction:column;background:var(--paper);isolation:isolate}
  .benchmark-page .hero-mirror::before{display:none}
  .benchmark-page .hero-mirror .hero-intro{order:0;min-height:0;max-height:none;display:block;padding-top:140px;padding-bottom:38px;text-align:left;background:var(--paper)}
  .benchmark-page .hero-mirror .hero-columns{width:100%;max-width:720px;margin:0}
  .benchmark-page .hero-mirror h1{font-size:clamp(44px,7vw,72px);max-width:720px;line-height:1.04}
  .benchmark-page .hero-mirror .hero-description{width:100%;max-width:560px;margin:24px 0 0;padding:0}
  .benchmark-page .hero-mirror .hero-description>p:first-child{font-size:16px;line-height:1.6}
  .benchmark-page .hero-mirror .hero-film{order:1;position:relative;inset:auto;z-index:0;flex:none;width:100%;height:clamp(260px,46vw,440px)}
  .benchmark-page .hero-mirror .hero-film video{position:static;width:100%;height:100%;object-fit:cover;object-position:65% 50%}
  .benchmark-page .hero-mirror .hero-film::after{background:linear-gradient(180deg,var(--paper),#fafaf700 22%)}
}
@media(max-width:600px){
  .benchmark-page .hero-mirror .hero-intro{padding-top:120px;padding-bottom:30px}
  .benchmark-page .hero-mirror .hero-description{margin-top:20px}
  .benchmark-page .hero-mirror .hero-description>p:first-child{font-size:15px}
}

/* Review preview: give tablet charts room and keep mobile labels above tracks. */
@media(max-width:1024px){
  .benchmark-page .p-split,.benchmark-page .p-dists{grid-template-columns:minmax(0,1fr)}
  .benchmark-page .p-split>*,.benchmark-page .p-dist{min-width:0}
}
@media(max-width:480px){
  .benchmark-page .p-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 7px;column-gap:14px;row-gap:9px;height:auto;min-height:62px;padding-bottom:18px;font-size:14px}
  .benchmark-page .p-bar>span{grid-column:1;grid-row:1;min-width:0;line-height:1.4}
  .benchmark-page .p-bar>strong{grid-column:2;grid-row:1;white-space:nowrap}
  .benchmark-page .p-bar>i{grid-column:1/-1;grid-row:2;width:100%}
  .benchmark-page .p-bar.mine strong{font-size:16px}
  .benchmark-page .p-bar i::after{top:-9px;bottom:-18px}
  .benchmark-page .p-ceil{display:block;min-height:0;height:38px;padding:0}
  .benchmark-page .p-ceil>span,.benchmark-page .p-ceil>strong{display:none}
  .benchmark-page .p-ceil>i{display:block;height:38px}
  .benchmark-page .p-ceil em{top:7px;right:0;font-size:12px}
  .benchmark-page .p-ceil i::after{top:27px;bottom:0}
  .benchmark-page .p-bar:last-child i::after{bottom:0}
}

/* Supervised local review: keep the desktop title on the clear side. */
@media(min-width:1025px){.hero-mirror .benchmark-title-second{display:block}}

/* Trust studies: restrained report layout, with color reserved for results. */
.trust-study{background:var(--paper);padding-block:clamp(44px,4.5vw,64px)}
.trust-study .p-part{display:block}
.trust-study .p-wash{margin:0;padding:0;background:none}
.trust-study .p-part h2{font-size:clamp(30px,2.8vw,40px);line-height:1.15;letter-spacing:-.035em;color:var(--ink)}
.trust-study .p-part h2 span{color:inherit}
.trust-study .p-part>p{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.trust-study .p-split{margin-top:48px;align-items:start}
.trust-study .p-caption,.trust-study .p-qhead{font-size:13px;line-height:1.5;margin-bottom:10px;color:var(--muted)}
.trust-study .p-qmark{color:var(--muted)}
.trust-study .p-opts{gap:6px 0;margin-bottom:24px}
.trust-study .p-opts li{border:0;border-radius:0;padding:0;font-size:14px;line-height:1.6;color:var(--soft)}
.trust-study .p-opts li+li::before{content:"·";display:inline-block;margin-inline:12px;color:var(--muted)}
@media(max-width:600px){
 .trust-study .p-part h2{font-size:30px}
 .trust-study .p-split{margin-top:32px;gap:40px}
 .trust-study .p-opts{display:block}
 .trust-study .p-opts li+li{margin-top:6px}
 .trust-study .p-opts li+li::before{content:none}
}

/* Small dotted symbols connect the study headings to the home page. */
.trust-study .p-part h2{display:flex;align-items:center;gap:14px}
.trust-title-symbol{width:34px;height:34px;flex-shrink:0;fill:var(--orange)}
@media(max-width:600px){.trust-study .p-part h2{gap:12px}.trust-title-symbol{width:28px;height:28px}}

/* Separate each study heading and sample details from its results. */
.trust-study .p-part{padding-bottom:20px;border-bottom:1px solid #2023221f}
.trust-study .p-split{margin-top:26px}
@media(max-width:600px){.trust-study .p-part{padding-bottom:24px}.trust-study .p-split{margin-top:28px}}

/* A quieter reading scale for study questions and comparisons. */
.trust-study .p-stem{font-size:18px;line-height:1.45;letter-spacing:-.015em;margin-bottom:18px}
.trust-study .p-qlist{font-size:14px;line-height:1.5;column-gap:28px}
.trust-study .p-qlist li{padding-block:3px}
@media(min-width:481px){.trust-study .p-bar{height:40px;font-size:14px}.trust-study .p-bar.mine strong{font-size:16px}.trust-study .p-ceil{height:34px}}
@media(max-width:600px){.trust-study{padding-block:40px}.trust-study .p-stem{font-size:17px}.trust-study .p-part{padding-bottom:20px}.trust-study .p-split{margin-top:24px;gap:32px}}

/* Carry the compact study typography through the subgroup comparisons. */
.p-other{padding-block:clamp(44px,4.5vw,64px)}
.p-other .p-part{display:block}
.p-other .p-part h2{font-size:clamp(30px,2.8vw,40px);line-height:1.15;letter-spacing:-.035em}
.p-other .p-part>p{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.p-other .p-tabs{margin:26px 0 24px}
.p-other .p-tabs button{padding:12px 0;margin-right:28px;font-size:14px}
.p-other .p-legend{font-size:13px;margin-bottom:24px}
.p-other .p-dists{gap:36px clamp(32px,5vw,72px)}
.p-other .p-topic{font-size:13px;margin-bottom:10px}
.p-other .p-dist h3{font-size:18px;line-height:1.45;letter-spacing:-.015em;margin-bottom:8px}
.p-other .p-ans p{font-size:14px;margin:16px 0 8px}
.p-other .p-ans span{font-size:14px}
.p-other .p-meta{font-size:13px;line-height:1.5;padding-top:20px}
@media(max-width:600px){.p-other{padding-block:40px}.p-other .p-part h2{font-size:30px}.p-other .p-dist h3{font-size:17px}.p-other .p-tabs button{font-size:13px;margin-right:18px}.p-other .p-dists{gap:32px}}

/* Let each desktop study occupy the view beneath the floating navigation. */
@media(min-width:1025px){
 .trust-study,.p-other{min-height:calc(100svh - 90px);display:flex;flex-direction:column;padding-block:clamp(40px,5vh,64px)}
 .trust-study .p-part,.p-other .p-part{flex-shrink:0}
 .trust-study .p-part h2,.p-other .p-part h2{font-size:clamp(32px,3vw,44px)}
 .trust-study .p-split{flex:1;align-content:center;margin-top:32px}
 .trust-study .p-stem,.p-other .p-dist h3{font-size:20px;line-height:1.4}
 .trust-study .p-bar{height:44px;font-size:15px}
 .trust-study .p-qlist{font-size:15px}
 .p-other .p-tabs{margin-top:30px}
 .p-other [role="tabpanel"]:not([hidden]){flex:1;display:flex;flex-direction:column;justify-content:center}
 .p-other .p-ans p,.p-other .p-ans span{font-size:15px}
 .p-other .p-dists{row-gap:40px}
}

/* Give the first study extra breathing room after the painting. */
.hero-mirror + .trust-study{padding-top:clamp(64px,7vh,88px)}
@media(max-width:600px){.hero-mirror + .trust-study{padding-top:56px}}
