/* The interior pages continue the centred opening. Keep the long-form copy,
   forms and data left aligned. The separate invitation layout omits this file. */
body[data-page] {
  --chapter-space:clamp(64px,7vw,108px);
  --chapter-title:clamp(2.15rem,5.25vw,4.75rem);
  --paper-shadow:0 2px 5px #0a294708, 0 20px 48px -18px #193f6430;
}
.page-hero.chapter, .nl-mast {
  display:block; padding-block:clamp(46px,7svh,88px) var(--chapter-space);
  text-align:center;
}
.chapter .eyebrow {
  display:block; color:var(--accent); font-size:.96rem; margin:0 0 clamp(16px,2vw,24px);
}
.page-hero.chapter .wrap h1, .nl-mast .wrap h1 {
  max-width:17em; margin:0 auto; font-size:var(--chapter-title);
  font-weight:485; line-height:1.08; letter-spacing:-.044em; text-wrap:balance;
}
.chapter h1 .intro-line, .chapter h1 .hl, .nl-mast h1 .hl { display:block; }
[data-page="how-it-works"] .chapter h1 .hl, [data-page="about"] .chapter h1 .hl { display:inline; }
.page-hero.chapter .lede, .nl-mast-foot .lede {
  max-width:39em; margin:clamp(22px,2.4vw,32px) auto 0;
  font-size:clamp(1.02rem,1.4vw,1.23rem); line-height:1.55; text-wrap:balance;
}
.chapter .cta-row, .chapter .method-demo { justify-content:center; margin-top:28px; }
.chapter :is(.method-demo,.textlink[href^="#"]) .ph { rotate:90deg; }
.chapter .story-grid { text-align:left; gap:clamp(26px,5vw,84px); }
.panorama {
  display:block; width:100%; height:clamp(265px,29vw,420px);
  margin:clamp(26px,3vw,44px) auto 0; pointer-events:none;
  mask-image:linear-gradient(transparent,#000 9% 88%,transparent);
}
.panorama[data-panorama="rings"] { max-width:1030px; height:clamp(300px,33vw,435px); }
.panorama[data-panorama="gather"] { height:clamp(220px,23vw,316px); }
/* Keep the transformation visible with the heading on shorter laptops. */
@media (min-width:1000px) and (max-height:970px) {
  .page-hero.chapter { padding-top:clamp(32px,5svh,52px); }
  .page-hero.chapter .wrap h1 { font-size:clamp(3.15rem,min(5.25vw,7.65svh),4.75rem); }
  .page-hero.chapter .lede { margin-top:22px; }
  .chapter .panorama[data-panorama="model"] { height:clamp(290px,43svh,410px); margin-top:24px; }
}
html:not(.m-enter) :is(.panorama,.chapter .net-card) { display:none; }
.chapter .net-card .panorama { height:clamp(240px,23vw,342px); }
.chapter .net-legend { border:0; justify-content:center; align-items:center; gap:6px 22px; margin:0; }
.network-replay:not([hidden]) {
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; min-height:44px;
  border:1px solid var(--line-2); border-radius:40px; background:transparent; color:var(--ink); cursor:pointer;
}
.network-replay svg { width:17px; fill:none; stroke:currentColor; stroke-width:1.6; }
.network-replay:hover { background:var(--surface); }

/* A report that reflows instead of shrinking a desktop screenshot. */
:is(.hp-product .prod-grid,.wrap.exec-grid) {
  display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  align-items:center; gap:clamp(34px,5vw,82px);
}
:is(.hp-product .prod-grid,.wrap.exec-grid) > * { grid-column:auto; }
.hp-product .fineprint { text-align:center; margin:32px auto 0; max-width:60ch; }
.report-book {
  --inset:clamp(20px,2.8vw,38px); min-width:0; text-align:left; font-variant-numeric:tabular-nums;
  padding:var(--inset); border:1px solid var(--line); border-radius:22px;
  color:var(--ink); background:var(--surface); box-shadow:var(--paper-shadow);
}
.report-meta, .range-title {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 12px;
}
.report-meta {
  padding-bottom:19px; margin-bottom:24px; border-bottom:1px solid var(--line);
  color:var(--accent-ink); font-size:.89rem; font-weight:550;
}
.report-meta span:first-child { display:inline-flex; align-items:center; gap:8px; }
.report-meta b { font:inherit; }
.report-meta svg { width:18px; height:18px; fill:currentColor; }
.report-meta span:last-child { color:var(--ink-2); font-weight:450; }
.report-meta span:last-child::before {
  content:""; display:inline-block; width:8px; height:8px; margin-right:8px;
  border-radius:50%; background:var(--bead-d); vertical-align:.06em;
}
.report-book h3 { font-size:clamp(1.44rem,2.25vw,2rem); font-weight:510; line-height:1.17; letter-spacing:-.032em; }
.report-book .report-origin, .report-book small, .report-book .report-note {
  display:block; font-size:.87rem; line-height:1.5; color:var(--ink-3); margin:7px 0 0;
}
.report-switch:not([hidden]) {
  display:inline-flex; padding:4px; background:var(--bg-2); border-radius:40px; margin-top:24px;
}
.report-switch button {
  padding:8px clamp(14px,2vw,24px); min-height:44px; border:0; background:transparent;
  border-radius:30px; color:var(--ink-2); font:500 .94rem var(--font-body); cursor:pointer;
}
.report-switch button[aria-pressed=true] { color:var(--on-ink); background:var(--ink); }
.report-switch button[aria-pressed=false]:hover { color:var(--accent-ink); text-decoration:underline; }
.report-page { margin-top:28px; }
/* Land on the exit decision. Keep the report alongside it on wide screens
   and directly after it when the columns stack. */
#forecast { scroll-margin-top:20px; }
.hp-product .prod-grid > .textlink { justify-self:start; }
@media (min-width:961px) {
  .hp-product .prod-grid { align-items:start; grid-template-rows:auto 1fr; row-gap:22px; }
  .hp-product .prod-grid > .report-book { grid-column:2; grid-row:1 / 3; }
  .hp-product .prod-copy { padding-top:32px; }
  #forecast { scroll-margin-top:52px; }
}
.report-page h4 { font:500 clamp(1.1rem,1.45vw,1.32rem)/1.38 var(--font-body); letter-spacing:-.013em; margin:0; }
.report-page .sample-key { margin:12px 0 22px; color:var(--ink-2); font-size:.94rem; }
.sample-key::before {
  content:""; display:inline-block; width:2px; height:1.05em; margin-right:9px;
  vertical-align:-.18em; background:var(--resist-ink);
}
.report-bars { list-style:none; margin:0; padding:0; display:grid; gap:18px; }
.report-bars li {
  display:grid; grid-template-columns:minmax(0,1fr) auto 5.6em; gap:10px;
  align-items:baseline; font-size:1rem; line-height:1.35;
}
.report-bars small { margin-top:2px; }
.report-bars strong { font-weight:600; }
.gap-value { text-align:right; color:var(--ink-2); font-size:.88rem; }
.share-track {
  position:relative; grid-column:1/-1; height:8px; background:var(--bg-2); border-radius:8px;
}
.share-track i { display:block; height:100%; width:var(--share); border-radius:inherit; background:var(--accent); transform-origin:left; }
.share-track::after {
  content:""; position:absolute; top:-4px; bottom:-4px; left:var(--baseline);
  width:2px; background:var(--resist-ink); box-shadow:0 0 0 1px var(--surface);
}
.report-result {
  display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:24px;
  margin-block:34px; font-size:1.08rem;
}
.report-result strong {
  display:block; font-size:clamp(2.8rem,5vw,4.6rem); line-height:1.15;
  letter-spacing:-.055em; color:var(--accent); font-weight:470;
}
.share-field { width:100%; height:auto; }
.report-page .range-title { margin:0; font-size:.95rem; }
.range-scale {
  position:relative; display:flex; justify-content:space-between; margin:23px 0 0; padding-top:14px;
  border-top:1px solid var(--line-2); font-size:.82rem; color:var(--ink-3);
}
.range-scale i { position:absolute; top:-4px; height:7px; left:35%; width:27%; background:var(--accent); border-radius:8px; }
.range-scale::after {
  content:""; position:absolute; top:-8px; left:49%; transform:translateX(-50%);
  width:15px; height:15px; border-radius:50%; background:var(--ink); box-shadow:0 0 0 2px var(--surface);
}
.report-book .report-note { margin-block:24px 12px; }
.report-book .report-open {
  display:inline-flex; align-items:center; gap:9px; min-height:44px; font-size:.93rem;
  color:var(--accent-ink); text-underline-offset:4px;
}
.report-book .report-expand {
  position:static; order:-1; width:22px; height:22px; color:inherit; background:none; border:none; box-shadow:none;
}
.report-book .report-open:hover { text-decoration:underline; }
.report-book .report-expand svg { width:18px; }
@media (prefers-reduced-motion:no-preference) {
  .report-book.seen .share-track i { animation:report-grow .62s var(--ease-enter) both; }
  .report-book.seen .agreed { animation:report-ink .46s ease-out both; }
  @keyframes report-grow { from { transform:scaleX(0); } }
  @keyframes report-ink { from { opacity:.15; } }
}
@media (max-width:960px) {
  :is(.hp-product .prod-grid,.wrap.exec-grid) { grid-template-columns:minmax(0,1fr); max-width:44rem; }
  .hp-product .prod-list { display:none; }
  .hp-product .prod-grid > .textlink { min-height:44px; }
}
@media (max-width:540px) {
  .report-bars li { grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; }
  .report-bars li > span:first-child { grid-row:span 2; }
  .report-bars .share-track { margin-top:8px; }
  .report-bars { gap:24px; }
  .report-switch:not([hidden]) { display:flex; }
  .report-switch button { flex:1; padding-inline:6px; }
  .report-result { grid-template-columns:1fr; gap:18px; }
  .share-field { max-width:270px; }
}

/* The labs put the actual comparison on stage. At narrow widths the controls
   and the results get the whole screen. */
.lab-stage { position:relative; isolation:isolate; margin-top:clamp(42px,5vw,68px); }
.lab-stage .panorama {
  position:absolute; z-index:-1; top:6%; left:50%; width:min(1700px,100vw); height:82%;
  transform:translateX(-50%); margin:0; mask-image:linear-gradient(90deg,transparent,#000 9% 91%,transparent);
}
.lab-stage .lab-demo {
  box-sizing:border-box; width:min(100%,760px); margin-inline:auto!important;
  text-align:left; padding:clamp(20px,3vw,36px); background:var(--surface);
  border:1px solid var(--line); border-radius:22px; box-shadow:var(--paper-shadow); gap:22px;
}
.lab-stage .sim-q { font-size:clamp(1.4rem,2.4vw,2rem); line-height:1.2; letter-spacing:-.027em; text-wrap:balance; }
.lab-stage .lab-seg { min-height:44px; font-size:.94rem; padding:9px 15px; }
.lab-stage .lab-live b { animation:none; }
.lab-stage .lab-dots { grid-auto-flow:row; grid-template-rows:none; grid-template-columns:repeat(25,minmax(0,1fr)); max-width:260px; }
.lab-stage .stim .lab-pct { font-size:1.44rem; min-width:3em; font-variant-numeric:tabular-nums; }
.lab-stage .lab-dots i.on { background:radial-gradient(circle at 70% 26%,var(--bead-c),var(--bead-b) 48%,var(--bead-a)); }
.lab-stage .ex-offers .stim { padding:18px; row-gap:12px; }
.lab-stage .lab-city { height:clamp(165px,23vw,260px); border:0; background:transparent; }
@media (min-width:740px) {
  [data-lab-demo=market] .ex-offers { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
  .lab-stage [data-lab-demo=market] .ex-offers .stim { grid-template-columns:1fr; grid-template-rows:auto 1fr auto; }
  [data-lab-demo=market] .lab-meter { flex-direction:column-reverse; align-items:flex-start; }
  .lab-stage .stim .lab-pct { text-align:left; }
  .lab-stage .lab-dots { flex:none; width:100%; grid-template-columns:repeat(20,minmax(0,1fr)); }
  [data-lab-demo=politic] .ex-offers { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .lab-stage [data-lab-demo=politic] .ex-offers .stim { grid-template-columns:1fr; align-content:start; }
}
@media (max-width:960px) { .lab-stage .panorama { display:none; } }

/* Longer chapters use the same quiet centres as the opening, with space
   between reading, inspecting an example and deciding where to go next. */
[data-page] :is(.sec,.hp-statement,.hp-work,.hp-uses,.hp-cta) { padding-block:var(--chapter-space); }
[data-page] .method-steps { padding-top:0; }
[data-page] :is(.sec-head,.hp-uses-head,.hp-work-head) {
  display:grid; justify-items:center; justify-content:normal; grid-template-columns:1fr;
  text-align:center; margin:0 auto clamp(36px,4vw,60px); gap:20px; max-width:52rem;
}
[data-page] :is(.sec-head,.hp-uses-head,.hp-work-head) :is(h2,p) { margin:0; text-wrap:balance; }
[data-page] :is(.sec-head,.hp-uses-head,.hp-work-head) p { max-width:39em; }
[data-page] :is(.sec-head,.hp-uses-head,.hp-work-head,.prod-copy,.exec-copy,.faq-grid) h2 {
  font-weight:490; line-height:1.11; letter-spacing:-.035em; text-wrap:balance;
}
.hp-cta, .hp-statement > .wrap > h2 { text-align:center; }
.hp-cta :is(h2,.lede,.hp-secure), .hp-statement > .wrap > h2 { margin-inline:auto; text-wrap:balance; }
.hp-cta h2 span { display:block; }
.hp-cta .cta-row, .hp-cta .hp-secure { justify-content:center; }
[data-page] :is(.hp-steps,.steps3,.layers,.routes,.trust-grid,.people) { gap:clamp(26px,3.3vw,52px); }
[data-page] :is(.hp-steps,.steps3) > li > p { font-size:1rem; line-height:1.62; }
[data-page] .hp-steps .pipe-viz { height:145px; }
[data-page] .hp-steps li { padding-top:22px; border-top:1px solid var(--line-2); }
[data-page] .hp-steps .hp-num { color:var(--accent); }
[data-page="technology"] .race + .race-legend + .cta-row { justify-content:center; }
[data-page="trust"] .trust-grid .panel, [data-page="work-with-us"] .trust-grid .panel {
  padding:clamp(26px,3vw,42px) 0 0; border:0; border-radius:0; border-top:1px solid var(--line-2);
  background:none; box-shadow:none;
}
[data-page="trust"] .trust-grid .panel > p { line-height:1.65; }
[data-page] .form-card { box-shadow:var(--paper-shadow); }
[data-page="contact"] .page-hero { padding-block:clamp(44px,6vw,84px) var(--chapter-space); }
[data-page="contact"] .contact-grid h1 { letter-spacing:-.041em; font-weight:485; }
[data-page="contact"] .contact-grid h1 .hl { display:block; }
.nl-mast .nl-masthead { justify-content:center; border:0; padding:0 0 24px; gap:8px 18px; }
.nl-mast .nl-mast-foot { display:grid; justify-items:center; justify-content:center; gap:28px; }
.privacy-notice > :is(h1,.eyebrow,.updated) { text-align:center; margin-inline:auto; }
.page-hero .privacy-notice h1 { font-size:var(--chapter-title); font-weight:485; }
[data-page] .privacy-notice h2 { margin-top:2em; }
[data-page] footer .foot-col > a { padding-block:9px; }
@media (min-width:761px) {
  [data-page] .hp-uses-grid article { padding:26px 34px 32px 4px; border-width:1px 0 0; border-radius:0; background:none; }
  [data-page] .hp-uses-grid { column-gap:clamp(32px,4vw,60px); }
}
@media (max-width:760px) {
  body[data-page] { --chapter-title:clamp(2.05rem,8.9vw,3.45rem); }
  .page-hero.chapter, .nl-mast { padding-top:48px; }
  .chapter .eyebrow { margin-bottom:20px; }
  .page-hero.chapter .wrap h1, .nl-mast .wrap h1 { line-height:1.12; }
  .page-hero.chapter .lede, .nl-mast-foot .lede { max-width:32em; text-wrap:pretty; line-height:1.57; }
  .chapter .cta-row { align-items:center; gap:10px 20px; }
  .chapter .panorama { width:calc(100% + 2 * var(--gut)); margin-inline:calc(-1 * var(--gut)); max-width:none; height:clamp(225px,55vw,320px); }
  .chapter .net-card .panorama { height:clamp(205px,49vw,286px); }
  .chapter .net-legend { display:grid; grid-template-columns:auto auto; gap:12px 22px; margin-top:12px; }
  .chapter .net-legend .network-replay:not([hidden]) { grid-column:1/-1; justify-self:center; }
  [data-page] :is(.hp-steps,.steps3,.layers,.routes,.trust-grid,.people) { row-gap:36px; }
  [data-page] .hp-steps li { row-gap:12px; padding-top:28px; }
  [data-page] .hp-uses-grid article { gap:14px; }
  [data-page] .hp-uses-grid article p { line-height:1.6; }
  [data-page] .hp-cta .cta-row { align-items:center; }
  [data-page] footer .foot-col > a { min-height:44px; }
  [data-page="contact"] .contact-grid > :is(h1,.eyebrow,.lede),
  [data-page="contact"] .contact-grid > div:first-child > :is(h1,.eyebrow,.lede) { text-align:center; justify-content:center; margin-inline:auto; }
  [data-page="contact"] .contact-grid > .form-card { margin-top:38px; }
  .nl-mast .nl-masthead span:last-child { width:100%; }
}
@media (max-width:480px) {
  .chapter .cta-row { flex-direction:column; }
  .chapter .cta-row .textlink { display:inline-flex; min-height:44px; align-items:center; }
  .lab-stage .ex-offers .stim { padding:16px; }
  .lab-stage .lab-dots { grid-template-columns:repeat(20,minmax(0,1fr)); gap:2px; }
  .lab-stage .stim .lab-pct { min-width:2.2em; font-size:1.18rem; }
}
@media (prefers-reduced-motion:reduce) {
  .lab-stage *, .report-book * { animation:none!important; transition:none!important; }
}
@media (forced-colors:active) {
  .report-switch button[aria-pressed=true] { outline:2px solid Highlight; }
  .share-track i, .range-scale i { background:CanvasText; forced-color-adjust:none; }
}

/* Make the data panel and the editorial illustrations feel like parts of
   the same product, including the compact views opened from the archive. */
.how-stage .viz, .nl-fig .nv-card { box-shadow:var(--paper-shadow); }
.how-grid .step-copy h3 { font-size:clamp(1.45rem,2.25vw,2.05rem); letter-spacing:-.025em; }
.how-grid .viz-cap { margin-top:6px; line-height:1.5; }
.how-grid .seg-row .top { gap:10px; align-items:baseline; flex-wrap:wrap; }
.how-grid .dist-row .bar { background:var(--bg-2); border-radius:8px; }
.how-grid .dist-row .bar i { height:9px; }
.how-grid .netmini circle { filter:drop-shadow(-4px 4px 1px #10283f22); }
[data-page="technology"] .layer .tagline { letter-spacing:.01em; font:500 .95rem var(--font-body); text-transform:none; }
[data-page="technology"] .layer p { font-size:1rem; line-height:1.58; }
[data-page="technology"] .layers { gap:24px; }
[data-page="technology"] .layer.l-a { background:var(--surface); border:1px solid var(--line); }
[data-page="technology"] .census { margin-top:20px; gap:7px; }
[data-page="technology"] .census i {
  background-image:radial-gradient(circle at 70% 23%,#fff5,transparent 44%,#07244136);
  box-shadow:-2px 3px 2px #122b421a;
}
[data-page="technology"] .census i:nth-child(7n) { background-color:var(--bead-d); }
.nl-issue { padding-block:var(--chapter-space); }
.nl-issue .nl-no { color:var(--accent); letter-spacing:-.04em; }
.nl-issue .nl-body > h2 { font-weight:485; line-height:1.12; text-wrap:balance; }
.nl-issue .nl-text p { line-height:1.7; }
.nl-toc li a { padding-block:18px; border-top-style:solid; }
.nl-toc a .t { font-weight:490; }
.nl-fig .nv-head {
  font:530 .94rem/1.45 var(--font-body); color:var(--accent-ink);
  letter-spacing:0; text-transform:none; border-bottom:1px solid var(--line); padding-bottom:18px;
}
.nl-fig .nv-head span { font-size:inherit; letter-spacing:inherit; }
.nl-fig .nv-foot { font-size:.88rem; line-height:1.5; }
@media (min-width:1120px) {
  .nl-issue .nl-wrap {
    max-width:1280px; grid-template-columns:minmax(0,1fr); gap:20px;
  }
  .nl-issue .nl-meta { position:static; display:flex; align-items:center; gap:16px; }
  .nl-issue .nl-body {
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); column-gap:clamp(36px,5vw,76px);
    grid-template-rows:auto auto auto auto auto; align-items:start;
  }
  .nl-issue .nl-body > * { grid-column:1; }
  .nl-issue .nl-body > .nl-fig { grid-column:2; grid-row:1 / span 5; margin:0; }
}
@media (max-width:600px) {
  .nl-issue .nl-body { gap:24px; }
  .nl-issue .nl-fig { margin:0; }
  .nl-issue .lab-more { min-height:48px; }
  .report-meta { row-gap:10px; }
}
@media (min-width:761px) {
  [data-page] .hp-uses-grid article .case-art { width:88px; height:88px; margin-bottom:10px; }
  [data-page] .hp-uses-grid h3 { font-size:clamp(1.26rem,1.6vw,1.52rem); }
  [data-page] .hp-uses-grid .case-link .ph { top:52px; }
  [data-page] .hp-steps .hp-num { font-size:1.15rem; }
}
.sec.deep .cta-grid {
  grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center;
  gap:clamp(38px,5vw,62px);
}
.sec.deep .cta-grid > * { grid-column:1; width:min(100%,750px); }
.sec.deep .cta-grid :is(h2,.lede,.cta-secure) { text-wrap:balance; margin-inline:auto; }
.sec.deep .cta-stats span { font:400 .94rem/1.5 var(--font-body); text-transform:none; letter-spacing:0; }
@media (min-width:640px) {
  .sec.deep .cta-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
  .sec.deep .cta-stats div {
    flex-direction:column; justify-content:flex-start; align-items:center; gap:10px;
    padding-block:28px 0; border-top:1px solid #ffffff30; border-bottom:0;
  }
  .sec.deep .cta-stats span { text-align:center; }
}
@media (max-width:440px) {
  .lab-stage .lab-tally-t { display:grid; grid-template-columns:1fr 1fr; row-gap:10px; }
  .lab-stage .lab-tally-t .lab-verdict { grid-column:1/-1; grid-row:2; }
  .lab-stage .lab-tally-t span:last-child { text-align:right; }
}
.sec.deep .cta-grid h2 { font-weight:485; letter-spacing:-.04em; }
.sec.deep .cta-grid .cta-row, .sec.deep .cta-grid .cta-secure { justify-content:center; align-items:center; }
@media (prefers-reduced-motion:no-preference) {
  .method-steps .pipe-viz.seen canvas, .nl-fig.seen .nv-card {
    animation:illustrate .5s var(--ease-enter) both;
  }
  .how-stage .viz.on .stack, .step .viz.seen .stack,
  .step .viz.seen .dist-row .bar i, .race.seen .support-points {
    transform-origin:left; animation:report-grow .6s var(--ease-enter) both;
  }
  .layer .curves.seen .c, .how-stage .viz.on .netmini, .step .viz.seen .netmini {
    animation:report-ink .62s ease-out both;
  }
  .hp-uses-grid .case-link .ph { transition:transform .2s var(--ease); }
  .hp-uses-grid article:has(.case-link:is(:hover,:focus-visible)) .ph { transform:translateX(4px); }
  @keyframes illustrate { from { transform:translateY(8px); opacity:.75; } }
}
@media print {
  .report-book .report-page[hidden] { display:block; }
  .report-book .report-switch, .report-open, .network-replay:not([hidden]) { display:none; }
}

/* Choose a decision. The unenhanced page keeps six ordinary links. */
[data-page] .hp-uses-grid article { padding-left:0; }
[data-page] .hp-uses-head .lede { display:block; }
.case-explorer {
  display:grid; grid-template-columns:minmax(310px,.8fr) minmax(0,1.2fr);
  grid-template-rows:repeat(6,minmax(70px,1fr));
  column-gap:clamp(38px,6vw,94px); margin:0 auto;
}
.case-explorer h3 { grid-column:1; margin:0; display:flex; }
.case-explorer h3:last-of-type { border-bottom:1px solid var(--line-2); }
.case-choice {
  position:relative; display:grid; align-items:center; width:100%; text-align:left;
  grid-template-columns:auto 1fr auto; gap:clamp(12px,1.6vw,24px);
  padding:16px 4px 16px 0; border:0; border-radius:0; border-top:1px solid var(--line-2);
  color:var(--ink-2); background:none; cursor:pointer;
  font:480 clamp(1.18rem,1.85vw,1.68rem)/1.18 var(--font-display); letter-spacing:-.036em;
}
.case-choice::before {
  content:""; position:absolute; inset:-1px 0 auto; height:2px;
  background:var(--accent); transform-origin:left; transform:scaleX(0);
}
.case-number { font:500 .84rem/1 var(--font-body); font-variant-numeric:tabular-nums; letter-spacing:.02em; color:var(--ink-3); }
.case-choice .ph { font-size:1.28rem; color:var(--ink-3); }
.case-choice[aria-expanded="true"] { color:var(--accent-ink); cursor:default; font-weight:590; }
.case-choice[aria-expanded="true"] :is(.ph,.case-number) { color:var(--accent); }
.case-choice[aria-expanded="true"]::before { transform:scaleX(1); }
.case-detail:not([hidden]) {
  grid-column:2; grid-row:1/-1; display:flex; flex-direction:column;
  align-items:center; text-align:center; align-self:start;
}
.case-scene {
  width:100%; height:clamp(202px,19vw,275px); max-width:660px;
  background:radial-gradient(ellipse at 40% 49%,color-mix(in srgb,#e7ae60 10%,transparent),transparent 49%),
             radial-gradient(ellipse at 65% 51%,color-mix(in srgb,#6c99b6 13%,transparent),transparent 52%);
}
.case-answer { padding-top:16px; display:grid; justify-items:center; gap:12px; }
.case-answer > span { color:var(--accent); font:560 .95rem/1.4 var(--font-body); }
.case-answer p {
  margin:0; max-width:33ch; min-height:3.72em; color:var(--ink);
  font:475 clamp(1.48rem,2.1vw,1.94rem)/1.24 var(--font-display); letter-spacing:-.035em; text-wrap:balance;
}
.case-demo {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px;
  padding:10px 21px; color:var(--bg); background:var(--ink); border-radius:999px;
  text-decoration:none; font:510 .96rem/1.4 var(--font-body);
}
.case-demo:hover { color:var(--bg); background:var(--accent-ink); }
.case-choice:focus-visible, .case-demo:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
[data-page] .case-explorer + .textlink { margin-top:20px; min-height:44px; }
@media (hover:hover) {
  .case-choice:hover { color:var(--accent); }
  .case-choice:hover .ph, .case-demo:hover .ph { transform:translateX(3px); }
}
@media (max-width:800px) {
  .case-explorer { display:block; border-bottom:1px solid var(--line-2); overflow-anchor:none; }
  .case-explorer h3:last-of-type { border:0; }
  .case-choice { padding:21px 3px 21px 0; min-height:68px; font-size:clamp(1.12rem,4.9vw,1.38rem); }
  .case-choice, .case-choice[aria-expanded="true"] { cursor:pointer; scroll-margin-top:18px; }
  .case-choice .ph { transform:rotate(90deg); font-size:1.1rem; }
  .case-choice[aria-expanded="true"] .ph { transform:rotate(-90deg); }
  .case-detail:not([hidden]) { padding:0 0 36px; }
  .case-scene { max-width:510px; height:clamp(152px,47vw,224px); }
  .case-answer { padding-top:16px; gap:14px; }
  .case-answer p { min-height:0; font-size:clamp(1.32rem,5.7vw,1.61rem); line-height:1.29; }
  .case-demo { margin-top:8px; }
  [data-page] .case-explorer + .textlink { display:flex; justify-content:center; width:fit-content; margin:28px auto 0; }
}
@media (prefers-reduced-motion:no-preference) {
  .case-choice, .case-demo { transition:color .18s,background-color .18s; }
  .case-choice .ph, .case-demo .ph { transition:transform .22s var(--ease); }
  .case-choice::before { transition:transform .36s var(--ease); }
  .case-detail:not([hidden]) .case-answer { animation:case-in .32s var(--ease) both; }
  @keyframes case-in { from { opacity:.25; transform:translateY(6px); } }
}

/* Show the same small illustration in the phone list and in the demo form. */
.case-choice .case-art, .hp-uses-grid article > .case-art { display:none; }
@media(max-width:800px) {
  .case-choice .case-number { display:none; }
  .case-choice .case-art { display:block; width:42px; height:42px; }
  .case-explorer .case-choice { padding-block:10px; gap:12px; min-height:64px; }
  .case-choice[aria-expanded="false"]:hover .ph { transform:rotate(90deg); }
  .case-choice[aria-expanded="true"]:hover .ph { transform:rotate(-90deg); }
}
.sheet-group {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px;
  padding-top:18px; align-items:stretch;
}
.sheet-group h2,.sheet-group .sheet-wide { grid-column:1/-1; }
.sheet-group h2 { font:550 .86rem/1.4 var(--font-body); color:var(--accent-ink); margin:0 0 3px; }
.sheet-group a { min-height:44px; display:flex; align-items:center; color:var(--ink);
  text-decoration:none; border-bottom:1px solid var(--line); }
.sheet-group a:hover,.page-jumps a:hover { color:var(--accent-ink); text-decoration:underline; }
.page-jumps {
  display:flex; justify-content:center; align-items:center; flex-wrap:wrap;
  column-gap:clamp(6px,2vw,24px); margin:14px auto 0;
}
.page-jumps a,.report-evidence a,.evidence a {
  color:var(--accent-ink); text-underline-offset:.23em; text-decoration-color:var(--line-2);
}
.page-jumps a { display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding-inline:4px; font:500 .96rem/1.25 var(--font-body); }
@media(max-width:380px) {
  .page-jumps { column-gap:6px; }
  .page-jumps a { font-size:.88rem; }
  .sheet .sheet-group a.big { font-size:1rem; }
}
.report-book .report-meta { border-bottom:0; padding:0; margin-bottom:9px; }
.report-evidence,.report-basis { color:var(--ink-2); font:400 .92rem/1.46 var(--font-body); }
.report-book .report-evidence { padding-bottom:19px; margin:0 0 21px; border-bottom:1px solid var(--line); }
.report-evidence a { display:inline-block; margin-top:5px; }
.report-basis { margin-top:9px; }
.report-basis summary { cursor:pointer; min-height:44px; padding-block:11px; color:var(--accent-ink); }
.report-basis p { margin:1px 0 12px; padding:0; }
.report-book .report-switch:not([hidden]) { margin-top:10px; }
.evidence-inner { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:clamp(28px,6vw,90px); }
.evidence h2 { font-size:clamp(1.85rem,3vw,2.8rem); line-height:1.12; }
.evidence p,.evidence dd { color:var(--ink-2); line-height:1.58; }
.evidence p { margin-top:18px; }
.evidence dl { margin:0; }
.evidence dt { font-size:1.15rem; color:var(--ink); font-weight:550; }
.evidence dd { margin:4px 0 0; }
.evidence dd + dt { border-top:1px solid var(--line); margin-top:18px; padding-top:18px; }
@media(max-width:800px){.evidence-inner{grid-template-columns:1fr;}}

/* Phone navigation. Keep a single clear action in the opening and leave
   the demo link available in the header throughout the visit. */
@media(max-width:700px) {
  :root { --gutter:clamp(21px,6.9vw,36px); --section-space:clamp(72px,12vw,90px); }
  .nav .nav-right .btn {
    background:transparent; border:0; color:var(--ink); box-shadow:none;
    font-weight:500; min-height:44px; padding-inline:5px; border-radius:0;
  }
  .nav .nav-right .btn:hover { color:var(--accent-ink); text-decoration:underline; }
  .nav .menu-btn { border-color:transparent; margin-right:-9px; background:none; font-size:1.3rem; }
  .nav .logo svg { height:23px; }
  .nav .nav-right { gap:10px; }
  .page-hero.chapter,.nl-mast { padding-top:clamp(54px,8svh,78px); }
  .page-hero.chapter .lede,.nl-mast-foot .lede { line-height:1.65; }
  .chapter .cta-row { margin-top:28px; }
  .chapter .panorama { margin-top:14px; }
  .report-book .report-evidence { padding-bottom:25px; margin:12px 0 28px; line-height:1.58; }
  .report-book .report-switch:not([hidden]) { margin-top:20px; }
  .report-book .report-basis { margin-top:16px; }
  .form-card .fields { row-gap:24px; }
  .form-card .field { gap:9px; }
  .form-card > form > p,.form-card .sub { margin:12px 0 30px; line-height:1.58; }
  [data-page] .hp-uses-head { margin-bottom:42px; }
  [data-page] .hp-uses-head .lede { line-height:1.65; margin-top:24px; }
  .case-explorer .case-choice {
    grid-template-columns:1fr auto; gap:14px; padding:22px 4px 22px 0; min-height:74px;
    font-size:clamp(1.18rem,5.2vw,1.46rem); line-height:1.3; color:var(--ink);
  }
  .case-explorer .case-choice .case-art { display:none; }
  .case-explorer .case-choice[aria-expanded=true] { color:var(--accent-ink); }
  .case-explorer .case-answer { gap:17px; }
  .case-detail:not([hidden]) { padding-bottom:44px; }
  .hp-cta .cta-row { gap:16px; }
  .hp-cta .cta-row .btn-ghost { border:0; padding-inline:4px; color:var(--accent-ink); }
  .sheet { gap:0; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
  .sheet .sheet-top { margin-bottom:22px; flex:none; }
  .sheet .sheet-group { display:block; padding-top:0; }
  .sheet .sheet-group[aria-label="Workforce"] { margin:8px 0 22px; }
  .sheet .sheet-group[aria-label="Workforce"] h2 { display:none; }
  .sheet .sheet-group a.big,.sheet > a.big {
    display:flex; align-items:center; border:0; min-height:51px;
    padding:9px 0; line-height:1.25; font-size:1.25rem;
  }
  .sheet .sheet-group[aria-label="Workforce"] a.big { font-size:clamp(1.4rem,6vw,1.72rem); }
  .sheet .sheet-group.foldable a { min-height:48px; font-size:1.05rem; }
  .sheet .sheet-group .phone-head,.foot-grid .foot-col .phone-head { margin:0; }
  .sheet .sheet-theme { margin:16px 0 26px; }
  .sheet .btn { margin-top:auto; }
  .sheet .foldable,.foot-grid .foldable { border-top:1px solid var(--line); }
  .sheet .foldable:not(.folded),.foot-grid .foldable:not(.folded) { padding-bottom:16px; }
  .sheet .phone-fold,.foot-grid .phone-fold {
    width:100%; min-height:57px; justify-content:space-between; border:0; border-radius:0;
    text-align:left; padding:12px 6px 12px 0; font-size:1.08rem; color:var(--ink);
  }
  .phone-fold[aria-expanded=true]::after { transform:translateY(2px) rotate(225deg); }
  .page-jumps.foldable { display:grid; justify-items:center; margin:12px auto 0; }
  .page-jumps .phone-fold { border:0; padding-inline:8px; }
  .page-jumps.foldable a { min-height:48px; }
  .foot-grid { display:grid; grid-template-columns:1fr; gap:0; padding-bottom:24px; }
  .foot-brand { margin-bottom:36px; }
  .foot-grid .foot-col:not(.foldable) { margin-bottom:26px; }
  .foot-grid .foot-col a { line-height:1.6; }
  .foldable.folded > :not(.phone-head) { display:none !important; }
}
@media(min-width:701px) and (max-width:960px) and (max-height:500px) {
  .nav .nav-right .btn { background:transparent; border:0; color:var(--ink); box-shadow:none; padding-inline:6px; }
  .nav .menu-btn { border-color:transparent; background:none; }
}

.case-study { display:block; color:var(--ink-2); font-size:1rem; line-height:1.55; max-width:53ch; text-wrap:pretty; }
.case-answer .case-study { text-align:center; }
.study-note {
  position:relative; width:100%; max-width:53ch; border:0; text-align:left;
  color:var(--ink-2); font-size:1rem;
}
details.study-note:last-child { border:0; }
.study-note summary {
  width:fit-content; min-height:44px; gap:8px; padding:6px 0;
  color:var(--accent-ink); font:550 .94rem/1.4 var(--font-body); letter-spacing:normal;
}
.case-answer .study-note summary { margin-inline:auto; }
.study-note summary i { font-size:1rem; color:inherit; }
.study-note[open] { border-bottom:1px solid var(--line); }
.hp-uses .study-note p {
  margin:0; padding:0 0 16px; min-height:0; max-width:none;
  color:var(--ink-2); font:400 1rem/1.6 var(--font-body); letter-spacing:normal; text-wrap:pretty;
}
.study-note a { color:var(--accent-ink); text-decoration:underline; text-underline-offset:3px; }

/* On a phone, lead with the decision and keep the supporting text nearby.
   Without scripting the full pages and their original links remain available. */
@media screen and (max-width:700px) {
  .brief [data-page] [data-wide],
  .brief .hp-uses > .wrap > .textlink,
  .brief .hp-cta .hp-secure,
  .brief .hp-cta .btn-ghost,
  .brief .sec.deep .wrap > div:has(> .cta-stats) { display:none; }

  .brief .more-copy {
    min-width:0; width:100%; margin:20px 0 0;
    border:0; text-align:left; color:var(--ink);
  }
  .more-copy > summary {
    gap:20px; align-items:center; min-height:52px; padding:14px 2px;
    border-block:1px solid var(--line); color:var(--accent-ink);
    font:510 1rem/1.45 var(--font-body); letter-spacing:normal;
  }
  .more-copy > summary::after {
    content:''; flex:none; width:15px; height:15px; margin-right:4px;
    background:linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat,
      linear-gradient(currentColor,currentColor) center / 1.5px 100% no-repeat;
  }
  .more-copy[open] > summary { margin-bottom:22px; }
  .more-copy[open] > summary::after { background-size:100% 1.5px,0 0; }
  .more-copy > p { margin-block:16px; line-height:1.65; }
  .more-copy > .rv { opacity:1; transform:none; }
  .brief .trust-grid > .more-copy { grid-column:1/-1; }

  .brief .hp-work-head { margin-bottom:0; }
  .brief .hp-work-head p a { display:inline-block; padding:12px 0; }
  .brief .hp-statement .q-list { margin-top:36px; }
  .brief .report-book > h3 { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  .brief .report-book .report-meta { margin-bottom:16px; }
  .brief .report-book .report-origin { line-height:1.55; margin:0; }
  .brief .report-book .report-switch:not([hidden]) { margin-top:24px; }
  .brief .report-book .report-basis { margin:30px 0 0; border-bottom:0; }
  .brief .report-basis summary { padding:18px 0 4px; min-height:48px; font-size:1rem; }
  .brief .report-book .report-evidence { margin:18px 0; padding:0; border:0; }
  .brief .report-basis p { line-height:1.65; margin-block:18px; }
  .brief .report-note { line-height:1.6; }
  .brief .contact-grid > div:first-child > .eyebrow { display:none; }
  .brief [data-page="contact"] .contact-grid > .form-card { margin-top:32px; }
  .brief .contact-grid .more-copy { order:2; margin-top:30px; }
  .brief .form-card .case-context + form h2 { margin-top:4px; }
  .brief .person .more-copy { margin-top:14px; }
  .brief .nl-body .more-copy { margin-top:26px; }
  .brief .nl-body .more-copy > summary { padding-block:18px; }
  .brief .evidence-inner { gap:0; }
  .brief .evidence-inner > .more-copy { margin-top:0; }
  .brief .evidence-inner > .more-copy summary { border-top:0; }
  .brief .ask-us h2 + p { margin-top:14px; }
  .brief .how-grid .more-copy { margin-top:0; }
  .brief .policy-dialog .more-copy { margin-top:14px; }
  .brief .policy-dialog .more-copy summary { min-height:46px; border-bottom:0; padding-bottom:2px; }
  .brief .policy-dialog .policy-note { border:0; padding:0; line-height:1.6; }
  .brief .policy-dialog .policy-reading { min-height:0; margin:22px 0; line-height:1.55; }
  .brief .policy-dialog .policy-options { gap:10px; margin-top:20px; }
  .brief .policy-dialog .policy-figure canvas { margin-top:16px; }
}
@media screen and (max-width:700px) {
  .case-answer .case-teaser {
    font:470 clamp(1.12rem,4.9vw,1.38rem)/1.45 var(--font-body);
    letter-spacing:-.015em; text-wrap:pretty; max-width:34ch;
  }
  .case-answer .study-note p,.case-answer .study-note .case-study {
    display:block; text-align:left; line-height:1.65; padding-bottom:18px;
  }
  .case-answer .study-note p:first-of-type { padding-top:10px; color:var(--ink); }
}
