/* Campaign evidence: lavender, mint, navy and warm paper from the landing brand. */
.study-detail-page { --study-violet:#605eb9; --study-line:#dedbd7; --study-muted:#626579 }
.study-hero { padding-top:7.5rem; padding-bottom:2.5rem }
.study-back,.study-jump,.study-download { display:inline-flex; gap:.65rem; align-items:center; min-height:2.75rem; color:#514e9f; font-weight:600 }
.study-hero > .kicker { margin:2rem 0 1.25rem }
.study-hero h1 { max-width:20ch; margin:0; font-size:clamp(2.6rem,6.7vw,5.5rem); line-height:1.03; letter-spacing:-.05em; text-wrap:balance }
.study-deck { max-width:63ch; margin:1.5rem 0; font-size:clamp(1.1rem,1.6vw,1.3rem); color:#626579; line-height:1.65 }
.study-hero-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; align-items:center; margin-top:2rem; font-size:.875rem }
.study-hero-bottom p { display:flex; align-items:center; gap:.6rem; margin:0 }
.study-status-dot { flex-shrink:0; width:.6rem; height:.6rem; border-radius:50%; background:#605eb9; box-shadow:0 0 0 4px #efeeff }
.study-scoreboard { display:grid; grid-template-columns:minmax(0,1fr); overflow:hidden; padding:0; color:#f4f3f0; background:#121422; border-radius:1rem }
.study-metric { min-width:0; padding:1.75rem; border-bottom:1px solid #37394b }
.study-metric:last-child { border:0 }
.study-metric p { margin:0 0 1.25rem; font-size:1rem }
.study-metric strong { display:block; min-height:1em; margin:.25rem 0 1rem; color:#d4ffd4; font-size:clamp(3rem,5.5vw,4.75rem); line-height:1; letter-spacing:.01em; font-variant-numeric:tabular-nums }
.study-metric > span { display:block; color:#c8c8e1; font-size:.9rem }
.study-metric small { display:block; margin-top:1.25rem; max-width:35ch; color:#b7b7cc; font-size:.8rem; line-height:1.6 }
.study-cover { margin-top:2rem; margin-bottom:0 }
.study-cover img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:1rem; border:1px solid #dedbd7 }
.study-cover figcaption { margin-top:.75rem; color:#626579; font-size:.8rem; line-height:1.6 }
.study-overview,.study-method,.study-readout { display:grid; grid-template-columns:minmax(0,1fr); gap:2rem; padding-top:3.5rem; padding-bottom:3.5rem }
.study-detail-page h2 { margin:.75rem 0 1.5rem; font-size:clamp(1.8rem,3.2vw,2.8rem); line-height:1.12; letter-spacing:-.035em }
.study-overview > aside { padding:1.5rem; background:#f1f0ed; border:1px solid #dedbd7; border-radius:1rem }
.study-overview aside h2 { font-size:1.75rem }
.study-overview dl { margin:1.5rem 0 }
.study-overview dl > div { display:grid; grid-template-columns:1fr 1fr; gap:1rem; padding:.9rem 0; border-bottom:1px solid #dedbd7; font-size:.9rem }
.study-overview dt { color:#626579 }
.study-overview dd { margin:0; font-weight:600; overflow-wrap:anywhere }
.study-overview > div > p:not(.kicker),.study-section-heading > p,.study-readout > div > p:not(.kicker) { color:#626579; font-size:1.05rem; line-height:1.8 }
.study-question { margin:2rem 0; padding:1.5rem; border-left:3px solid #605eb9; background:#efeeff; border-radius:0 .75rem .75rem 0 }
.study-question > span { font-size:.75rem; font-weight:800; letter-spacing:.06em; color:#605eb9; text-transform:uppercase }
.study-question p { margin:.75rem 0 0; font-size:1.2rem; line-height:1.6; color:#343150 }
.study-implementation,.study-results { padding-top:3.5rem; padding-bottom:3.5rem; border-top:1px solid #dedbd7 }
.study-section-heading { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; margin-bottom:2rem }
.study-section-heading > p { margin:0 }
.study-execution-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem }
.study-execution-step { padding:1.5rem; background:#efeeff; border:1px solid #d8d5ee; border-radius:1rem }
.study-execution-step:last-child { background:#edf8e9; border-color:#d2e7cc }
.study-execution-step > span { display:block; color:#514e9f; font-size:.8rem; font-weight:700 }
.study-execution-step > strong { display:block; font-size:3rem; line-height:1.15; margin:1.5rem 0 .75rem; letter-spacing:.01em }
.study-execution-step h3 { font-size:1.2rem; line-height:1.3; margin:.5rem 0 }
.study-execution-step p { color:#626579; font-size:.95rem; line-height:1.7 }
.study-execution-note { max-width:90ch; margin-top:1.25rem }
.study-small { font-size:.875rem; line-height:1.7; color:#626579 }
.study-small a,.study-research a { color:#514e9f; text-decoration:underline; text-underline-offset:.2em; overflow-wrap:anywhere }
.study-chart-panel { min-width:0; padding:1.5rem; border:1px solid #dedbd7; border-radius:1rem; background:#fff }
.study-chart-controls { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2rem }
.study-chart-controls[hidden],.study-comparison[hidden] { display:none }
.study-chart-controls button { min-height:2.75rem; padding:.6rem 1rem; border:1px solid #d6d2df; border-radius:2rem; font:inherit; font-size:.875rem; cursor:pointer; background:#fff }
.study-chart-controls button[aria-pressed="true"] { background:#605eb9; color:white; border-color:#605eb9 }
.study-comparison + .study-comparison { margin-top:1.5rem }
.study-chart-controls:not([hidden]) ~ .study-comparison { margin-top:0 }
.study-data-heading { display:flex; flex-direction:column; gap:.6rem; margin-bottom:1.5rem }
.study-data-heading h3 { margin:0; font-size:1.2rem; line-height:1.3 }
.study-data-heading > span { font-size:.875rem; color:#626579 }
.study-reply-chart { display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:1.75rem; margin-bottom:1.5rem }
.study-donut { display:block; width:100%; max-width:17rem; height:auto; justify-self:center }
.study-chart-legend { display:grid; gap:1.5rem }
.study-chart-legend > div,.study-send-labels > div { display:flex; align-items:flex-start; gap:.75rem }
.study-chart-legend p,.study-send-labels p { margin:0; display:grid; gap:.5rem }
.study-chart-legend strong { font-size:1.65rem; line-height:1.1 }
.study-chart-legend p > span,.study-send-labels p > span { color:#626579; font-size:.95rem; line-height:1.6 }
.study-swatch { display:inline-block; flex:0 0 .875rem; width:.875rem; height:.875rem; margin-top:.3rem; border-radius:.2rem; border:1px solid rgba(18,20,34,.12) }
.study-swatch-violet { background:#605eb9 }
.study-swatch-soft { background:#efeeff }
.study-swatch-mint { background:#d4ffd4 }
.study-stacked-bar { display:flex; width:100%; height:4rem; overflow:hidden; border-radius:.75rem; margin:2.5rem 0 1.5rem; border:1px solid #dedbd7 }
.study-stack-initial { background:#605eb9 }
.study-stack-followup { background:#d4ffd4 }
.study-send-labels { display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; margin-bottom:2rem }
.study-send-labels strong { font-size:1.1rem; line-height:1.4 }
.study-download { font-size:.875rem; margin-top:.5rem }
.study-readout { border-top:1px solid #dedbd7 }
.study-readout h3 { margin:1.75rem 0 .75rem; font-size:1.3rem; line-height:1.3 }
.study-readout h3:first-child { margin-top:0 }
.study-method { border-top:1px solid #dedbd7 }
.study-method > div { min-width:0 }
.study-table-wrap { overflow:auto; max-width:100%; border:1px solid #dedbd7; border-radius:.75rem }
.study-table-wrap table { width:100%; border-collapse:collapse; text-align:left; font-size:.9rem; line-height:1.6 }
.study-table-wrap th,.study-table-wrap td { min-width:7rem; padding:1rem; border-bottom:1px solid #dedbd7; vertical-align:top }
.study-table-wrap thead { background:#efeeff }
.study-table-wrap tbody th { font-weight:600 }
.study-table-wrap tbody tr:last-child > * { border:0 }
.study-research { padding-bottom:3rem }
.study-research details { padding:1.25rem; background:#f1f0ed; border:1px solid #dedbd7; border-radius:.75rem }
.study-research summary { min-height:2.75rem; align-content:center; font-weight:600; cursor:pointer }
.study-research p { font-size:.9rem; line-height:1.8; color:#626579 }
.study-closing { margin-bottom:4rem; padding:2rem; background:#efeeff; border:1px solid #d8d4ee; border-radius:1rem }
.study-closing .button { margin-top:.75rem }
.study-closing > p:not(.kicker) { max-width:50ch; color:#626579; line-height:1.7 }
/* Listing: show the one evidenced study rather than empty customer cards. */
body[data-page="cases"] .case-live-feature { display:grid; grid-template-columns:minmax(0,1fr); gap:0; padding:0; margin:0 0 3rem }
.case-live-feature > a { display:block; min-width:0; overflow:hidden; background:#f4f3f0 }
.case-live-feature img { display:block; width:100%; height:100%; object-fit:cover; aspect-ratio:3/2 }
.case-live-feature > div { padding:1.5rem; min-width:0 }
body[data-page="cases"] .case-live-feature h2 { font-size:clamp(1.9rem,3.2vw,3rem); line-height:1.1; letter-spacing:-.04em; margin:1rem 0 }
.case-live-feature p:not(.kicker) { color:#626579; line-height:1.7 }
.case-live-feature dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:1.5rem 0 }
.case-live-feature dl > div { padding:.75rem 0; border-top:1px solid #dedbd7; min-width:0 }
.case-live-feature dt { font-size:clamp(1.25rem,2vw,1.8rem); letter-spacing:.01em }
.case-live-feature dd { font-size:.8rem; line-height:1.6; margin:.4rem 0 0 }
.case-reading-notes { padding-top:1rem; padding-bottom:4rem }
.case-reading-notes > h2 { margin:.75rem 0 2rem; font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.15 }
.case-principles { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem }
.case-principles > div { padding:1.5rem; background:#f1f0ed; border:1px solid #dedbd7; border-radius:.75rem }
.case-principles h3 { font-size:1.2rem; margin:.25rem 0 .75rem }
.case-principles p { color:#626579; line-height:1.7; font-size:.95rem; margin:0 }
@media(min-width:561px) {
 .study-scoreboard { grid-template-columns:repeat(3,minmax(0,1fr)) }
 .study-metric { padding:1.5rem; border-bottom:0; border-right:1px solid #37394b }
 .study-reply-chart { grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
 .study-send-labels { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(min-width:821px) {
 .study-hero { padding-top:9rem; padding-bottom:3.5rem }
 .study-overview { grid-template-columns:minmax(0,1fr) minmax(0,1.75fr); gap:4rem; padding-top:4.5rem; padding-bottom:4.5rem }
 .study-section-heading { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:3rem; align-items:start }
 .study-execution-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
 .study-chart-panel { padding:2rem }
 .study-data-heading { flex-direction:row; justify-content:space-between; align-items:center }
 .study-data-heading > span { flex-shrink:0 }
 .study-readout,.study-method { grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:3rem }
 .study-cover img { aspect-ratio:2/1 }
 .study-closing { padding:3.5rem }
 body[data-page="cases"] .case-live-feature { grid-template-columns:1.1fr 1fr }
 .case-live-feature > div { padding:2.5rem }
 .case-principles { grid-template-columns:repeat(3,minmax(0,1fr)) }
}

.study-chart-panel > .study-download { margin-right:1.25rem }

.study-metric strong,.study-execution-step > strong,.study-chart-legend strong,.case-live-feature dt { font-family:CampaignFigures,Gilroy,sans-serif; font-weight:500; letter-spacing:.01em }
