/* Search behaviour evidence and the two patient discovery routes. */
.gdx {
  --dx-ink: #192033; --dx-copy: #4b566c; --dx-rule: #dce1ec; --dx-accent: #454bb0;
  padding-block: clamp(60px,6.4vw,96px);
  background: #fff; color: var(--dx-ink);
}
.gdx-shell { width: min(1104px,calc(100% - clamp(40px,9vw,136px))); margin-inline: auto; }
.gdx-head {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(26px,6vw,85px);
  align-items: end; margin-bottom: clamp(26px,3.2vw,45px);
}
.gdx-head h2 { font-size: clamp(34px,3.5vw,52px); line-height: 1.15; font-weight: 690; letter-spacing: -.068em; text-wrap: balance; }
.gdx-head p { max-width: 29em; font-size: 16px; line-height: 1.7; color: var(--dx-copy); text-wrap: pretty; }
.gdx-metrics {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0; padding: clamp(11px,1.7vw,23px) 0 18px;
  border-block: 1px solid var(--dx-rule);
}
.gdx-stat { position: relative; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto 10px auto; padding-inline: clamp(18px,2.25vw,35px); }
.gdx-stat:first-child { padding-left: 0; }
.gdx-stat:last-child { padding-right: 0; }
.gdx-stat + .gdx-stat { border-left: 1px solid var(--dx-rule); }
.gdx-stat dt { grid-row: 2; font-size: clamp(16px,1.4vw,20px); line-height: 1.4; font-weight: 620; letter-spacing: -.04em; }
.gdx-stat dd { display: contents; margin: 0; }
.gdx-num { display: block; grid-row: 1; margin-bottom: 7px; color: #393f99; line-height: 1; }
.gdx-num b, .gdx-num em { font-style: normal; font-variant-numeric: tabular-nums; }
.gdx-num b { font-size: clamp(50px,5.15vw,77px); font-weight: 560; letter-spacing: -.071em; }
.gdx-num em { padding-left: 2px; font-size: clamp(24px,2.4vw,34px); font-weight: 450; letter-spacing: -.045em; }
.gdx-line { grid-row: 3; position: relative; align-self: center; height: 2px; margin-block: 4px; width: 100%; background: #e5e8f2; overflow: hidden; }
.gdx-line::before { content:""; display:block; width: max(3px,var(--gdx-share)); height: 100%; background: #777dc4; transform-origin: left; }
.gdx-stat dd p { grid-row: 4; margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--dx-copy); text-wrap: pretty; }
.gdx-source { margin-top: 9px; color: #606a7b; font-size: 12px; line-height: 1.55; }
.gdx-source a, .gdx-entry a { color: var(--dx-accent); text-decoration: none; text-underline-offset: .22em; }
.gdx-source a:hover, .gdx-entry a:hover { text-decoration: underline; }
.gdx-exhibit {
  margin-top: clamp(25px,3.1vw,44px);
  padding: clamp(21px,2.8vw,38px);
  border: 1px solid #e2e5ef; border-radius: 16px; background: #f6f7fb;
}
.gdx-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.gdx-toolbar h3 { font-size: clamp(20px,2.15vw,30px); line-height: 1.3; font-weight: 650; letter-spacing: -.055em; }
.gdx-tabs { display: inline-flex; flex: 0 0 auto; align-items: stretch; padding: 3px; background: #e7eaf2; border-radius: 8px; }
.gdx-tabs a { display: flex; align-items: baseline; gap: 5px; padding: 7px 11px; border-radius: 6px; color: #4d566b; text-decoration: none; font-size: 14px; font-weight: 640; line-height: 1.3; }
.gdx-tabs a small { font-size: 10px; font-weight: 510; letter-spacing: -.02em; }
.gdx-tabs a[aria-selected=true], .gdx-exhibit:not([data-ready]) .gdx-tabs a:first-child { background: white; color: #353a89; box-shadow: 0 1px 3px #232c441a; }
.gdx-tabs a:hover { color: var(--dx-accent); }
.gdx-path { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(26px,4.5vw,66px); margin: 0; padding: 0; list-style: none; }
.gdx-path li { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.gdx-stage-label { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; color: #58647a; font-size: 13px; font-weight: 560; line-height: 1.4; }
.gdx-stage-label img { object-fit: contain; }
.gdx-entry {
  flex: 1; display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 9px;
  min-height: 96px; padding: 13px clamp(12px,1.5vw,22px); border: 1px solid #d8deea;
  border-radius: 9px; background: #fff;
}
.gdx-route[id=discovery-answer] .gdx-path li:nth-child(2) .gdx-entry { background: #f0f1fc; border-color: #c7cbed; }
.gdx-entry strong { font-size: clamp(16px,1.4vw,20px); font-weight: 610; line-height: 1.35; letter-spacing: -.047em; text-wrap: pretty; }
.gdx-entry a { display: inline-block; font-size: 13px; font-weight: 570; line-height: 1.4; }
.gdx-links { display: flex; gap: 13px; flex-wrap: wrap; }
.gdx-path li:not(:last-child)::before {
  content: ""; position:absolute; left:100%; top: calc(50% + 13px);
  width: clamp(26px,4.5vw,66px); height: 1px;
  background: #8f99bd; transform-origin: left;
}
.gdx-path li:not(:last-child)::after {
  position: absolute; content: ""; left: calc(100% + clamp(26px,4.5vw,66px) - 9px); top: calc(50% + 10px);
  width: 7px; height: 7px; border: solid #7481ac; border-width: 1px 1px 0 0; transform: rotate(45deg);
}
.gdx-take { margin-top: 14px; color: #4c5770; font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.gdx-exhibit:not([data-ready]) .gdx-route + .gdx-route { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--dx-rule); }
.gdx-route[hidden] { display: none; }
.gdx :is(a,article):focus-visible { outline: 2px solid var(--dx-accent); outline-offset: 3px; }
.gdx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width:760px) {
  .gdx-shell { width: calc(100% - 38px); }
  .gdx-head { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .gdx-head p { font-size: 15px; }
  .gdx-stat { padding-inline: 15px; }
  .gdx-toolbar { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
  .gdx-path { gap: 18px; }
  .gdx-path li:not(:last-child)::before { width: 18px; }
  .gdx-path li:not(:last-child)::after { left: calc(100% + 9px); }
  .gdx-entry { min-height: 100px; }
}
@media (max-width:560px) {
  .gdx { padding-block: 53px; }
  .gdx-metrics { display: block; padding: 0; }
  .gdx-stat { grid-template-columns: minmax(61px,.43fr) minmax(0,1.57fr); grid-template-rows: auto auto; align-items: center; column-gap: 16px; padding: 13px 0; }
  .gdx-stat + .gdx-stat { border-left: 0; border-top: 1px solid var(--dx-rule); }
  .gdx-stat dt { grid-area: 1 / 2; font-size: 16px; }
  .gdx-num { grid-area: 1 / 1 / 3 / 2; margin: 0; }
  .gdx-num b { font-size: clamp(39px,8.7vw,51px); }
  .gdx-num em { font-size: 20px; }
  .gdx-line { display: none; }
  .gdx-stat dd p { grid-area: 2 / 2; font-size: 13px; }
  .gdx-source { font-size: 11px; }
  .gdx-exhibit { padding: 16px; border-radius: 12px; }
  .gdx-toolbar { display: grid; }
  .gdx-tabs { justify-self: start; }
  .gdx-path { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .gdx-path li { display: grid; grid-template-columns: 71px minmax(0,1fr); align-items: center; column-gap: 7px; }
  .gdx-stage-label { display: block; margin: 0; font-size: 12px; }
  .gdx-stage-label img { display: inline-block; vertical-align: middle; }
  .gdx-entry { min-height: 0; padding: 10px 12px; gap: 4px; }
  .gdx-entry strong { font-size: 15px; }
  .gdx-entry a { font-size: 12px; }
  .gdx-path li:not(:last-child)::before { left: calc(50% + 39px); top: 100%; width: 1px; height: 14px; transform-origin: top; }
  .gdx-path li:not(:last-child)::after { left: calc(50% + 36px); top: calc(100% + 5px); width: 6px; height: 6px; transform: rotate(135deg); }
  .gdx-take { font-size: 13px; }
}
@media (max-width:359px) {
  .gdx-shell { width: calc(100% - 30px); }
  .gdx-exhibit { padding: 13px; }
  .gdx-path li { grid-template-columns: 57px minmax(0,1fr); }
  .gdx-path li:not(:last-child)::before {left:calc(50% + 32px);}
  .gdx-path li:not(:last-child)::after {left:calc(50% + 29px);}
}
@media (prefers-reduced-motion:no-preference) {
  .gdx-metrics[data-revealed] .gdx-line::before { animation: gdx-line .7s cubic-bezier(.22,.75,.3,1) both; }
  .gdx-exhibit[data-ready] .gdx-route:not([hidden]) .gdx-entry { animation: gdx-panel .38s both; }
  .gdx-route li:nth-child(2) .gdx-entry { animation-delay:.07s; }
  .gdx-route li:nth-child(3) .gdx-entry { animation-delay:.14s; }
  .gdx-exhibit[data-ready] .gdx-route:not([hidden]) li:not(:last-child)::before { animation:gdx-line .48s cubic-bezier(.22,.75,.3,1) both; }
  @keyframes gdx-line { from { transform:scaleX(0); } to { transform:scaleX(1); } }
  @keyframes gdx-panel { from {opacity:.4; transform:translateY(4px)} to {opacity:1; transform:none} }
}
@media (max-width:560px) and (prefers-reduced-motion:no-preference) {
  .gdx-exhibit[data-ready] .gdx-route:not([hidden]) li:not(:last-child)::before {animation-name:gdx-vertical;}
  @keyframes gdx-vertical { from { transform:scaleY(0); } to { transform:scaleY(1); } }
}

