/* Statistical Consulting v2 — page-scoped research proof and founder trust. */

/* The sample makes the desk-review scope visible before a visitor submits a brief. */
.statistical-consulting-v2 .offer-card__outcome {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 700;
}

.statistical-consulting-v2 .offer-card__outcome + .offer-card__fit {
  margin-top: 8px;
}

.statistical-consulting-v2 .offer-card__sample {
  align-self: flex-start;
  margin-top: 18px;
  padding-block: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.statistical-consulting-v2 .offer-card__sample-note,
.statistical-consulting-v2 .review-preview__disclosure {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.statistical-consulting-v2 .review-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 32px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  background: var(--accent-tint);
}

.statistical-consulting-v2 .review-preview h3 {
  margin-top: 14px;
  max-width: 19ch;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.statistical-consulting-v2 .review-preview__intro > p:not(.eyebrow) {
  margin-top: 16px;
}

.statistical-consulting-v2 .review-preview .btn {
  margin-top: 24px;
  background: var(--surface);
}

.statistical-consulting-v2 .review-preview__paper {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.04);
}

.statistical-consulting-v2 .review-preview__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font: 500 0.6875rem/1.5 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.statistical-consulting-v2 .review-preview__priority {
  margin-top: 22px;
  color: var(--accent-hover);
  font: 600 0.6875rem/1.5 var(--font-mono);
  text-transform: uppercase;
}

.statistical-consulting-v2 .review-preview h4 {
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.3;
}

.statistical-consulting-v2 .review-preview dl > div + div {
  margin-top: 14px;
}

.statistical-consulting-v2 .review-preview dt {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.statistical-consulting-v2 .review-preview dd {
  margin-top: 3px;
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .statistical-consulting-v2 .review-preview {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Hero: three price anchors that repeat the ad's promise ---- */
.statistical-consulting-v2 .hero__offers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.statistical-consulting-v2 .hero__offers a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  padding: 6px 9px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-hover);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.statistical-consulting-v2 .hero__offers a:hover,
.statistical-consulting-v2 .hero__offers a:focus-visible {
  background: #d4e9e8;
  color: var(--ink);
}

.statistical-consulting-v2 .hero__offer-price {
  color: var(--muted-2);
}

.statistical-consulting-v2 .hero__offer-price strong {
  color: var(--ink);
  font-size: 0.82rem;
}

/* ---- Hero: proof line in the ad's own words ---- */
.statistical-consulting-v2 .hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 12px;
  color: var(--muted-2);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .hero__proof-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.statistical-consulting-v2 .hero__proof-group span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--sg-muted-dark, #9aa6bc);
}

.statistical-consulting-v2 .hero__proof-group + .hero__proof-group::before {
  content: "·";
  color: var(--sg-muted-dark, #9aa6bc);
}

.statistical-consulting-v2 .hero__assurance a {
  color: var(--accent);
}

/* ---- Hero: the fit panel matches the copy column and carries the founder ---- */
.statistical-consulting-v2 .meta-panel {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: clamp(18px, 2.4vw, 22px);
}

.statistical-consulting-v2 .meta-panel h2 {
  margin-bottom: 10px;
}

.statistical-consulting-v2 .meta-panel .meta-list {
  gap: 8px;
}

.statistical-consulting-v2 .meta-panel .meta-list div {
  padding-top: 12px;
}

.statistical-consulting-v2 .meta-panel .meta-list dd {
  font-size: 1rem;
  line-height: 1.45;
}

.statistical-consulting-v2 .meta-panel__founder {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.statistical-consulting-v2 .meta-panel__founder-photo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  filter: grayscale(100%) contrast(1.12);
}

.statistical-consulting-v2 .meta-panel__founder-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.94rem;
  line-height: 1.2;
}

.statistical-consulting-v2 .meta-panel__founder-role {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.4;
}

.statistical-consulting-v2 .meta-panel__founder-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.statistical-consulting-v2 .meta-panel__founder-link:hover,
.statistical-consulting-v2 .meta-panel__founder-link:focus-visible {
  color: var(--accent-hover);
}

.statistical-consulting-v2 .offer-section {
  padding-top: clamp(52px, 7vw, 84px);
}

.statistical-consulting-v2 .offer-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.statistical-consulting-v2 .offer-section__head .section__head {
  margin-bottom: 0;
}

.statistical-consulting-v2 .offer-section__proof {
  max-width: 55ch;
  padding: 17px 19px;
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.55;
}

.statistical-consulting-v2 .offer-section__proof strong {
  color: var(--ink);
}

.statistical-consulting-v2 .offer-section__ethics {
  max-width: 68ch;
  margin-top: 14px;
  color: var(--muted-2);
  font: 600 var(--fs-tag, 0.6875rem)/1.5 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .work-modes {
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
}

.statistical-consulting-v2 .work-modes h3 {
  font-size: var(--fs-h3, clamp(1.375rem, 1.15rem + 0.95vw, 1.75rem));
  line-height: 1.15;
}

.statistical-consulting-v2 .work-modes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
  border-top: 1px solid var(--border);
}

.statistical-consulting-v2 .work-modes__item {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.statistical-consulting-v2 .work-modes__item p {
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.55;
}

.statistical-consulting-v2 .work-modes__item strong {
  color: var(--ink);
}

.statistical-consulting-v2 .work-modes__item a {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent-hover);
  font: 700 var(--fs-tag, 0.6875rem)/1.5 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.statistical-consulting-v2 .work-modes__ownership {
  max-width: 78ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.55;
}

/* html already reserves nav + 16px via scroll-padding-top; this adds the gap, so anchors land ~96px below the top edge. */
.statistical-consulting-v2 #research-offers,
.statistical-consulting-v2 #methods-review,
.statistical-consulting-v2 #statistical-analysis,
.statistical-consulting-v2 #individual-researchers-title {
  scroll-margin-top: 16px;
}

.statistical-consulting-v2 .offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.statistical-consulting-v2 .offer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  padding: clamp(22px, 3.5vw, 34px);
}

.statistical-consulting-v2 .offer-card--featured {
  border-top: 3px solid var(--accent);
}

.statistical-consulting-v2 .offer-card__label {
  color: var(--accent-hover);
  font: 700 var(--fs-tag, 0.6875rem)/1.35 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .offer-card h3 {
  max-width: 22ch;
  margin-top: 9px;
  font-size: var(--fs-h3, clamp(1.375rem, 1.15rem + 0.95vw, 1.75rem));
  line-height: 1.14;
}

.statistical-consulting-v2 .offer-card__price {
  margin-top: 16px;
  color: var(--muted);
  font: 600 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .offer-card__price strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.5rem + 1vw, 2.45rem);
  font-weight: 400;
  letter-spacing: 0;
}

.statistical-consulting-v2 .offer-card__fit {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
  font-style: italic;
  line-height: 1.55;
}

.statistical-consulting-v2 .offer-card__fit strong {
  color: var(--ink);
}

.statistical-consulting-v2 .offer-card__core {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding-left: 1.15em;
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
}

.statistical-consulting-v2 .offer-card__details {
  display: grid;
  flex: 1;
  gap: 20px;
  margin-top: 24px;
}

.statistical-consulting-v2 .offer-card__detail {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.statistical-consulting-v2 .offer-card__detail h4 {
  color: var(--ink);
  font: 700 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .offer-card__detail ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 1.15em;
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.55;
}

.statistical-consulting-v2 .offer-card__cta {
  align-self: flex-start;
  margin-top: 28px;
}

/* The decision-ready visitor gets the button right under the price; the reader keeps the one after the details. */
.statistical-consulting-v2 .offer-card__cta--top {
  margin-top: 20px;
}

/* You send / You get / Not included: open on desktop (main.js), progressive disclosure on phones. */
.statistical-consulting-v2 .offer-card__more,
.statistical-consulting-v2 .researcher-panel__more {
  margin-top: 24px;
}

.statistical-consulting-v2 .offer-card__more {
  flex: 1;
}

.statistical-consulting-v2 .offer-card__more > summary,
.statistical-consulting-v2 .researcher-panel__more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font: 700 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.statistical-consulting-v2 .offer-card__more > summary::-webkit-details-marker,
.statistical-consulting-v2 .researcher-panel__more > summary::-webkit-details-marker {
  display: none;
}

.statistical-consulting-v2 .offer-card__more > summary::after,
.statistical-consulting-v2 .researcher-panel__more > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font: 600 1rem/1 var(--font-mono);
}

.statistical-consulting-v2 .offer-card__more[open] > summary::after,
.statistical-consulting-v2 .researcher-panel__more[open] > summary::after {
  content: "−";
}

.statistical-consulting-v2 .offer-card__more > summary:focus-visible,
.statistical-consulting-v2 .researcher-panel__more > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.statistical-consulting-v2 .offer-card__more[open] > .offer-card__details {
  margin-top: 0;
}

/* With the lists folded (phones), one button per card is enough; the second returns when the lists open. */
.statistical-consulting-v2 .offer-card__more:not([open]) + .offer-card__cta {
  display: none;
}

.statistical-consulting-v2 .offer-card__more[open] > .offer-card__details > .offer-card__detail:first-child {
  padding-top: 8px;
  border-top: 0;
}

.statistical-consulting-v2 .researcher-panel__more > summary {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.statistical-consulting-v2 .researcher-panel__more > summary::after {
  color: #73d7d2;
}

.statistical-consulting-v2 .researcher-panel__cta {
  justify-self: start;
  margin-top: 22px;
  white-space: nowrap;
}

.statistical-consulting-v2 .researcher-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  background: var(--ink);
  padding: clamp(24px, 4vw, 40px);
}

.statistical-consulting-v2 .researcher-panel .eyebrow {
  color: #73d7d2;
}

.statistical-consulting-v2 .researcher-panel h3 {
  margin-top: 10px;
  color: #ffffff;
  font-size: var(--fs-h3, clamp(1.375rem, 1.15rem + 0.95vw, 1.75rem));
  line-height: 1.15;
}

.statistical-consulting-v2 .researcher-panel p:not(.eyebrow) {
  max-width: 72ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.6;
}

.statistical-consulting-v2 .researcher-panel__boundary strong {
  color: #ffffff;
}

.statistical-consulting-v2 .researcher-panel p.researcher-panel__fit {
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.statistical-consulting-v2 .researcher-panel__fit strong {
  color: #ffffff;
}

.statistical-consulting-v2 .researcher-panel__package,
.statistical-consulting-v2 .researcher-panel__boundaries {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.statistical-consulting-v2 .researcher-panel__detail {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.statistical-consulting-v2 .researcher-panel__detail h4 {
  color: #ffffff;
  font: 700 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .researcher-panel__detail ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 1.15em;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.55;
}

.statistical-consulting-v2 .researcher-panel p.researcher-panel__price {
  max-width: none;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.65);
  font: 600 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .researcher-panel p.researcher-panel__price strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.5rem + 1vw, 2.45rem);
  font-weight: 400;
  letter-spacing: 0;
}

.statistical-consulting-v2 .researcher-panel .btn {
  justify-self: start;
  white-space: nowrap;
}

.statistical-consulting-v2 .research-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

.statistical-consulting-v2 .research-faq .section__head {
  margin-bottom: 0;
}

.statistical-consulting-v2 .research-faq .faq {
  border-top: 1px solid var(--border);
}

.statistical-consulting-v2 .research-faq .faq__item {
  border-bottom: 1px solid var(--border);
}

.statistical-consulting-v2 .research-faq .faq__item summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  list-style: none;
}

.statistical-consulting-v2 .research-faq .faq__item summary::-webkit-details-marker {
  display: none;
}

.statistical-consulting-v2 .research-faq .faq__item summary::after {
  flex: none;
  color: var(--accent);
  content: "+";
  font: 500 1.2rem/1 var(--font-mono);
}

.statistical-consulting-v2 .research-faq .faq__item[open] summary::after {
  content: "\2013";
}

.statistical-consulting-v2 .research-faq .faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.statistical-consulting-v2 .research-faq .faq__item p {
  max-width: 76ch;
  margin: -2px 0 0;
  padding: 0 0 22px;
  color: var(--muted-2);
  font-size: var(--fs-small, 0.9375rem);
  line-height: 1.65;
}

.statistical-consulting-v2 .research-proof__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.statistical-consulting-v2 .research-proof__intro .section__head {
  margin-bottom: 0;
}

.statistical-consulting-v2 .research-proof__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.statistical-consulting-v2 .service-founder {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-card, 6px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(20px, 3vw, 28px);
}

.statistical-consulting-v2 .service-founder__identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
}

.statistical-consulting-v2 .service-founder__photo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-card, 6px);
  filter: grayscale(100%) contrast(1.12);
}

.statistical-consulting-v2 .service-founder__eyebrow {
  color: #73d7d2;
  font: 600 var(--fs-tag, 0.6875rem)/1.35 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .service-founder__name {
  margin-top: 5px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.65vw, 1.55rem);
  line-height: 1.12;
}

.statistical-consulting-v2 .service-founder__role {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

.statistical-consulting-v2 .service-founder__ledger {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 17px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.statistical-consulting-v2 .service-founder__ledger li {
  color: rgba(255, 255, 255, 0.68);
  font: 500 0.625rem/1.55 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .service-founder__link {
  display: inline-block;
  margin-top: 17px;
  color: #73d7d2;
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.statistical-consulting-v2 .service-founder__link:hover,
.statistical-consulting-v2 .service-founder__link:focus-visible {
  color: #b7eeeb;
}

.statistical-consulting-v2 .research-artifact {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  box-shadow: 0 24px 54px rgba(11, 18, 32, 0.08);
}

.statistical-consulting-v2 .research-artifact__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 13px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted-2);
  font: 500 0.625rem/1.45 var(--font-mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-artifact__bar strong {
  color: var(--ink);
}

.statistical-consulting-v2 .research-artifact__body {
  padding: clamp(20px, 4vw, 42px);
}

.statistical-consulting-v2 .research-artifact__disclosure {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px 0;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber-bg);
  color: #74420b;
  font: 600 0.625rem/1.45 var(--font-mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-artifact__disclosure span {
  white-space: nowrap;
}

.statistical-consulting-v2 .research-artifact__kicker {
  margin-top: 24px;
  color: var(--accent);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-artifact h3 {
  max-width: 26ch;
  margin-top: 9px;
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.08;
}

.statistical-consulting-v2 .research-artifact__brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.statistical-consulting-v2 .research-artifact__brief div {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.statistical-consulting-v2 .research-artifact__brief dt {
  color: var(--muted);
  font: 600 0.625rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-artifact__brief dd {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.statistical-consulting-v2 .research-artifact__evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: clamp(28px, 4vw, 42px);
}

.statistical-consulting-v2 .research-results {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: var(--surface);
  overflow: hidden;
}

.statistical-consulting-v2 .research-results table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.statistical-consulting-v2 .research-results thead th:first-child {
  width: 48%;
}

.statistical-consulting-v2 .research-results thead th:nth-child(2) {
  width: 18%;
}

.statistical-consulting-v2 .research-results th,
.statistical-consulting-v2 .research-results td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.statistical-consulting-v2 .research-results tbody tr:last-child th,
.statistical-consulting-v2 .research-results tbody tr:last-child td {
  border-bottom-color: var(--border-strong);
}

.statistical-consulting-v2 .research-results thead th {
  background: var(--bg);
  color: var(--muted);
  font: 600 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-results__header-compact {
  display: none;
}

.statistical-consulting-v2 .research-results tbody th {
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.4;
}

.statistical-consulting-v2 .research-results tbody td {
  color: var(--ink);
  font: 500 0.72rem/1.45 var(--font-mono);
  white-space: nowrap;
}

.statistical-consulting-v2 .research-results__headline th,
.statistical-consulting-v2 .research-results__headline td {
  color: #9a4707;
  background: #fffaf1;
}

.statistical-consulting-v2 .research-results__primary th,
.statistical-consulting-v2 .research-results__primary td {
  color: var(--accent-hover);
  background: #f0f8f7;
}

.statistical-consulting-v2 .research-results__uncertain td:last-child {
  color: #9a4707;
  font-weight: 600;
}

.statistical-consulting-v2 .research-results__note {
  padding: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.statistical-consulting-v2 .research-finding {
  min-width: 0;
  border: 1px solid #edc98f;
  border-left: 3px solid #b45309;
  border-radius: var(--r-card, 6px);
  background: #fffaf1;
  padding: clamp(20px, 3vw, 28px);
}

.statistical-consulting-v2 .research-finding__status {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ffedd5;
  color: #92400e;
  font: 600 0.625rem/1.35 var(--font-mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.statistical-consulting-v2 .research-finding h4 {
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
}

.statistical-consulting-v2 .research-finding p:not(.research-finding__status) {
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.55;
}

.statistical-consulting-v2 .research-finding strong {
  color: var(--ink);
}

.statistical-consulting-v2 .research-chart {
  min-width: 0;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-card, 6px);
  background: var(--bg);
}

.statistical-consulting-v2 .research-chart__frame {
  min-width: 0;
  background: #f7f8fa;
}

.statistical-consulting-v2 .research-chart__frame:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.statistical-consulting-v2 .research-chart__image {
  display: block;
  width: 100%;
  height: auto;
}

.statistical-consulting-v2 .research-chart figcaption {
  display: grid;
  gap: 9px;
  padding: 15px 17px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.statistical-consulting-v2 .research-chart figcaption a {
  width: fit-content;
  color: var(--accent);
  font: 600 var(--fs-tag, 0.6875rem)/1.4 var(--font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}

.statistical-consulting-v2 .research-chart__mobile-hint {
  display: none;
}

@media (min-width: 681px) {
  .statistical-consulting-v2 .work-modes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .statistical-consulting-v2 .work-modes__item {
    padding: 18px clamp(16px, 2.4vw, 26px);
    border-bottom: 0;
    border-left: 1px solid var(--border);
  }

  .statistical-consulting-v2 .work-modes__item:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .statistical-consulting-v2 .work-modes__item:last-child {
    padding-right: 0;
  }

  .statistical-consulting-v2 .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistical-consulting-v2 .researcher-panel__package,
  .statistical-consulting-v2 .researcher-panel__boundaries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistical-consulting-v2 .research-artifact__brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistical-consulting-v2 .research-artifact__brief div:nth-child(odd) {
    padding-right: 22px;
  }

  .statistical-consulting-v2 .research-artifact__brief div:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 880px) {
  .statistical-consulting-v2 .offer-section__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: clamp(30px, 5vw, 64px);
  }

  .statistical-consulting-v2 .research-faq__grid {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  }

  .statistical-consulting-v2 .research-proof__intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(30px, 5vw, 64px);
  }

  .statistical-consulting-v2 .research-artifact__evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 879px) {
  .statistical-consulting-v2 .research-chart__mobile-hint {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: #fff8e8;
    color: #74420b;
    font: 600 0.625rem/1.4 var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .statistical-consulting-v2 .research-chart__frame {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--accent) var(--border);
    scrollbar-width: thin;
  }

  .statistical-consulting-v2 .research-chart__image {
    width: 720px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  /* Price anchors become three equal rows: package left, price right, thumb-sized. */
  .statistical-consulting-v2 .hero__offers {
    flex-direction: column;
    align-items: stretch;
  }

  .statistical-consulting-v2 .hero__offers a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .statistical-consulting-v2 .hero__offer-price {
    white-space: nowrap;
  }

  .statistical-consulting-v2 .hero__proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .statistical-consulting-v2 .hero__proof-group + .hero__proof-group::before {
    content: none;
  }

  .statistical-consulting-v2 .meta-panel {
    align-self: auto;
  }

  .statistical-consulting-v2 .offer-card__cta,
  .statistical-consulting-v2 .researcher-panel .btn {
    width: 100%;
    white-space: normal;
  }

  .statistical-consulting-v2 .service-founder__identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .statistical-consulting-v2 .service-founder__photo {
    width: 64px;
    height: 64px;
  }

  .statistical-consulting-v2 .research-artifact__disclosure {
    border-radius: 8px;
  }

  .statistical-consulting-v2 .research-results thead th:first-child {
    width: 45%;
  }

  .statistical-consulting-v2 .research-results thead th:nth-child(2) {
    width: 19%;
  }

  .statistical-consulting-v2 .research-results th,
  .statistical-consulting-v2 .research-results td {
    padding: 9px 4px;
  }

  .statistical-consulting-v2 .research-results thead th {
    font-size: 0.625rem;
    letter-spacing: 0.025em;
  }

  .statistical-consulting-v2 .research-results__header-full {
    display: none;
  }

  .statistical-consulting-v2 .research-results__header-compact {
    display: inline;
  }

  .statistical-consulting-v2 .research-results tbody th {
    font-size: 0.68rem;
  }

  .statistical-consulting-v2 .research-results tbody td {
    font-size: 0.68rem;
  }

  .statistical-consulting-v2 .research-chart figcaption {
    font-size: 0.72rem;
  }

  .statistical-consulting-v2 .research-finding__status {
    border-radius: 8px;
    line-height: 1.5;
  }
}
