/* The page defines .container, section spacing, typeface and .section-heading. */
#models, #referrals {
  --dp-border: #2c2c2c;
  --dp-soft-border: #212121;
  --dp-ink: #f4f4f4;
  --dp-muted: #b9b9b9;
  --dp-line: #929292;
  color: var(--dp-ink);
}
:is(#models, #referrals) :is(h3, h4, dl, dt, dd, ul) { margin: 0; }
:is(#models, #referrals) :is(button, a, code, dialog) { font: inherit; }
:is(#models, #referrals) button { color: inherit; cursor: pointer; }
:is(#models, #referrals) :is(button, a, [role="slider"]):focus-visible {
  outline: 2px solid #e6e6e6;
  outline-offset: 3px;
}
:is(#models, #referrals) [hidden] { display: none !important; }
.dp-icon { flex: none; display: inline-block; width: 24px; height: 24px; }
.dp-sr, .dp-copy-buffer {
  clip-path: inset(50%); position: absolute; width: 1px; height: 1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
}
.dp-copy-buffer { position: fixed; left: -10px; top: 0; }
.dp-model-grid, .dp-ref-grid { display: grid; align-items: stretch; }
.dp-model-grid { grid-template-columns: minmax(0, .365fr) minmax(0, .64fr); }
.dp-model-list, .dp-model-panel, .dp-features, .dp-ref-detail, .dp-exchange-list {
  background: #040404;
  border: 1px solid var(--dp-border);
  border-radius: 15px;
  min-width: 0;
}
.dp-model-list, .dp-exchange-list { display: flex; flex-direction: column; justify-content: center; }
.dp-model-list { padding: 17px 21px; }
.dp-model-option, .dp-exchange-tab {
  border: 1px solid var(--dp-soft-border);
  border-radius: 8px;
  background: #040404;
}
.dp-model-option, .dp-exchange-tab, .dp-explore, .dp-join, .dp-ref-code button {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.dp-model-option + .dp-model-option, .dp-exchange-tab + .dp-exchange-tab { margin-top: -1px; }
.dp-model-option:is(.is-active, :focus-within), #referrals .dp-exchange-tab[aria-selected="true"] {
  position: relative; z-index: 1;
}
.dp-model-option.is-active, #referrals .dp-exchange-tab[aria-selected="true"] {
  border-color: var(--dp-line);
  background: linear-gradient(115deg, #101010, #090909 62%, #060606);
  box-shadow: inset 0 0 0 2px rgb(181 181 181 / 6%);
}
.dp-model-option:hover, #referrals .dp-exchange-tab:hover { border-color: #696969; background-color: #121212; }
#models .dp-model-tab, #referrals .dp-exchange-tab {
  appearance: none; width: 100%; display: flex; align-items: center;
  text-align: left; gap: 20px; font-weight: 660; letter-spacing: -.023em;
  font-size: clamp(15px, 1.23vw, 20px); line-height: 1.3;
}
#models .dp-model-tab {
  border-radius: 7px; border: 0; background: transparent; padding: 0 18px;
  min-height: clamp(51px, 4.9vw, 68px);
}
.dp-model-icon { width: 31px; height: 31px; }
.dp-chevron { width: 14px; height: 14px; margin-left: auto; }
.dp-model-option.is-active .dp-model-tab { min-height: 0 !important; padding-top: 15px !important; }
.dp-model-option.is-active .dp-chevron { visibility: hidden; }
.dp-model-details { padding: 0 17px 13px 19px; }
.dp-model-details p { margin: -1px 0 0 50px; font-size: 12px; color: var(--dp-muted); line-height: 1.4; }
#models .dp-explore, #referrals .dp-join, #referrals .dp-dialog button {
  background: #f6f6f6; color: #111111; display: inline-flex;
  align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent;
  line-height: 1.2; font-weight: 650; text-decoration: none;
}
#models .dp-explore {
  width: max-content; min-height: 32px; padding: 5px 14px; margin: 13px 0 0 auto;
  display: flex; border-radius: 999px; font-size: 13px;
}
.dp-explore .dp-icon, .dp-join .dp-icon { width: 16px; height: 16px; }
#models .dp-explore:hover, #referrals .dp-join:hover, #referrals .dp-dialog button:hover { background: #e0e0e0; }
.dp-model-panel { display: flex; flex-direction: column; }
.dp-performance { display: flex; flex-direction: column; padding: 20px 28px 0; flex: 1; min-height: 0; }
.dp-panel-head, .dp-ref-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#models .dp-panel-head h3, #models .dp-analytics h4 { font-size: 16px; line-height: 1.35; font-weight: 640; letter-spacing: -.021em; }
.dp-data-label { font-size: 11px; line-height: 1.45; color: #bebebe; text-align: right; }
.dp-data-label b { font-weight: 560; color: #e0e0e0; }
#models .dp-results { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); margin-top: 20px; gap: 6px; }
.dp-results dt, .dp-rate h4 { color: #dddddd; font-size: 13px; font-weight: 480; line-height: 1.4; }
.dp-results dd { font-size: clamp(24px, 2.15vw, 34px); font-weight: 600; letter-spacing: -.045em; line-height: 1.18; font-variant-numeric: tabular-nums; }
.dp-results dt + dd { margin-top: 4px !important; }
.dp-chart { height: clamp(67px, 6.8vw, 100px); position: relative; margin-top: auto; min-height: 56px; cursor: crosshair; touch-action: pan-y; }
.dp-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dp-chart-tip { font-size: 11px; line-height: 1.4; font-weight: 540; position: absolute; top: -3px; transform: translateX(-50%); white-space: nowrap; border: 1px solid #545454; border-radius: 5px; background: #141414; padding: 4px 7px; pointer-events: none; }
.dp-chart-tip, .dp-chart-point, .dp-chart-hairline { opacity: 0; }
.dp-chart-active :is(.dp-chart-tip, .dp-chart-point, .dp-chart-hairline) { opacity: 1; }
.dp-analytics { display: grid; grid-template-columns: 1fr 1.05fr; border-top: 1px solid var(--dp-soft-border); }
.dp-activity, .dp-risk { padding: 16px 25px 17px; min-width: 0; }
.dp-risk { border-left: 1px solid var(--dp-soft-border); }
.dp-activity-body { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 44px); margin-top: 15px; }
.dp-donut { width: clamp(47px, 5.1vw, 74px); height: auto; aspect-ratio: 1; flex: none; border-radius: 50%; background: conic-gradient(#f6f6f6 0 var(--dp-long), #494949 var(--dp-long) 100%); position: relative; }
.dp-donut::after { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: #050505; }
.dp-legend, .dp-risk dl { color: #d0d0d0; font-size: 13px; line-height: 1.35; }
.dp-legend div, .dp-risk dl div { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.dp-legend div + div { margin-top: 12px; }
.dp-legend dt { display: flex; align-items: center; gap: 8px; }
.dp-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 1px; background: #f3f3f3; }
.dp-legend div:nth-child(2) i { background: #686868; }
.dp-legend dd, .dp-risk dd { color: #f2f2f2; font-weight: 630; font-variant-numeric: tabular-nums; }
#models .dp-risk dl { margin-top: 10px; }
.dp-risk dl div { padding: 7px 0; }
.dp-risk dl div + div { border-top: 1px solid var(--dp-soft-border); }
.dp-risk dd { font-size: 16px; }
.dp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; padding: 21px 0 20px; }
.dp-feature { text-align: center; padding: 0 10px; position: relative; }
.dp-feature + .dp-feature::before { content:''; width: 1px; height: 31px; background: #333333; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.dp-feature > .dp-icon { width: 35px; height: 35px; margin-bottom: 6px; }
#models .dp-feature h3 { font-size: 16px; font-weight: 620; line-height: 1.4; letter-spacing: -.024em; }
.dp-feature p { color: var(--dp-muted); font-size: 12px; line-height: 1.4; margin: 4px 0 0; }
.dp-ref-grid { grid-template-columns: minmax(0, 2.45fr) minmax(0, 1fr); gap: 8px; }
.dp-ref-detail { padding: 21px clamp(24px, 3.1vw, 48px) 23px; display: flex; flex-direction: column; }
.dp-ref-head { justify-content: flex-start; gap: 15px; }
.dp-brand { display: block; width: 33px; height: 33px; object-fit: contain; flex: none; }
.dp-ref-head > .dp-brand { width: 46px; height: 46px; }
#referrals .dp-ref-head h3 { font-size: 22px; line-height: 1.2; font-weight: 630; letter-spacing: -.032em; }
.dp-ref-head p { color: var(--dp-muted); font-size: 12px; margin: 4px 0 0; line-height: 1.4; }
.dp-ref-badge { margin-left: auto; padding: 5px 11px; white-space: nowrap; color: #e8e8e8; background: #191919; border-radius: 20px; font-size: 11px; line-height: 1.2; }
.dp-rate-grid, .dp-ref-actions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); }
.dp-rate-grid { margin-top: 25px; }
.dp-rate { min-width: 0; min-height: 89px; padding: 12px clamp(11px, 2vw, 26px); border: 1px solid var(--dp-border); border-radius: 9px; display: flex; align-items: center; gap: 18px; }
.dp-rate > .dp-icon { width: 41px; height: 41px; stroke-width: 1.4; }
#referrals .dp-rate h4 { font-size: 13px; font-weight: 530; }
.dp-rate p { display: flex; flex-wrap: wrap; gap: 0 7px; align-items: baseline; margin: 2px 0 0; line-height: 1.1; }
.dp-rate strong { font-size: clamp(24px, 2.25vw, 36px); font-weight: 600; letter-spacing: -.052em; }
.dp-rate span { font-size: 13px; font-weight: 620; letter-spacing: .02em; }
.dp-payback-note { margin: 9px 0 0; color: var(--dp-muted); font-size: 12px; line-height: 1.4; }
#referrals .dp-benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 0; margin: 17px 0 23px; }
.dp-benefits li { display: flex; align-items: center; gap: 9px; font-size: clamp(12px, 1.06vw, 15px); line-height: 1.35; }
.dp-benefits .dp-icon { width: 17px; height: 17px; }
.dp-ref-actions { margin-top: auto; }
.dp-ref-code, #referrals .dp-join { min-height: 45px; border-radius: 7px; }
.dp-ref-code { display: flex; gap: 9px; align-items: center; padding: 0 4px 0 12px; font-size: 12px; background: #191919; color: #e4e4e4; min-width: 0; }
.dp-ref-code > span { color: #b8b8b8; white-space: nowrap; }
#referrals .dp-ref-code code { font-weight: 580; letter-spacing: .025em; user-select: all; }
#referrals .dp-ref-code button { margin-left: auto; border: 0; border-radius: 5px; min-width: 33px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 5px; gap: 4px; background: transparent; position: relative; }
.dp-ref-code button:hover { color: white; }
.dp-ref-code button .dp-icon { width: 17px; height: 17px; }
.dp-copy-feedback:not(:empty) { position: absolute; right: 0; bottom: calc(100% + 2px); padding: 5px 8px; background: #232323; border: 1px solid #565656; border-radius: 4px; font-size: 11px; white-space: nowrap; }
#referrals .dp-join { padding: 8px 10px; font-size: 14px; }
.dp-exchange-list { padding: 18px clamp(13px, 1.65vw, 26px); }
#referrals .dp-exchange-tab { min-height: 57px; padding: 8px 19px; flex: 1; gap: 20px; }
#referrals .dp-exchange-tab .dp-brand { width: 28px; height: 28px; }
.dp-dialog { width: min(410px, 88vw); border: 1px solid #444444; padding: 25px; border-radius: 14px; background: #101010; color: #eeeeee; box-shadow: 0 24px 80px #0009; }
.dp-dialog::backdrop { background: #000a; }
#referrals .dp-dialog h3 { font-size: 22px; line-height: 1.3; }
.dp-dialog-copy { color: #c5c5c5; line-height: 1.6; margin: 12px 0 20px; font-size: 14px; }
#referrals .dp-dialog button { min-height: 38px; padding: 0 18px; border-radius: 30px; font-size: 13px; }
@media (min-width: 1500px) {
  .dp-model-list, .dp-exchange-list { padding-left: 25px; padding-right: 25px; }
  .dp-model-grid { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); }
}
@media (max-width: 1050px) {
  .dp-model-list { padding: 14px; }
  .dp-performance { padding: 15px 18px 0; }
  .dp-activity, .dp-risk { padding: 13px 15px; }
  .dp-activity-body { gap: 14px; }
  .dp-ref-detail { padding: 18px 22px; }
  .dp-rate { gap: 11px; }
  .dp-rate > .dp-icon { width: 33px; height: 33px; }
  .dp-rate-grid, .dp-ref-actions { gap: 12px; }
}
@media (max-width: 800px) {
  .dp-model-grid { grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); }
  .dp-model-list { padding: 10px; }
  #models .dp-model-tab { padding: 0 12px; gap: 11px; }
  .dp-model-icon { width: 24px; height: 24px; }
  .dp-model-details { padding-left: 12px; padding-right: 12px; }
  .dp-model-details p { margin-left: 0; margin-top: 5px; }
  .dp-model-details .dp-explore { margin-top: 8px !important; }
  .dp-analytics { grid-template-columns: 1fr 1.05fr; }
  .dp-activity, .dp-risk { padding: 10px; }
  .dp-legend, .dp-risk dl { font-size: 12px; }
  .dp-legend div, .dp-risk dl div { gap: 6px; }
  .dp-ref-grid { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); }
  #referrals .dp-exchange-tab { padding: 7px 10px; gap: 10px; font-size: 14px; }
  #referrals .dp-exchange-tab .dp-brand { width: 24px; height: 24px; }
  .dp-ref-detail { padding: 16px; }
  .dp-rate > .dp-icon { width: 26px; height: 26px; }
  .dp-rate { padding: 10px; }
  .dp-benefits .dp-icon { width: 15px; height: 15px; }
  .dp-ref-code { gap: 5px; padding-left: 8px; font-size: 11px; }
}
@media (max-width: 660px) {
  .dp-model-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dp-ref-grid { grid-template-columns: minmax(0, 1fr) clamp(68px, 18vw, 100px); gap: 6px; }
  .dp-model-list { padding: 10px; }
  #models .dp-model-tab { min-height: 45px; font-size: 15px; }
  .dp-model-option.is-active { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .dp-model-option.is-active .dp-model-tab { min-height: 49px !important; padding-top: 0 !important; }
  .dp-model-option.is-active .dp-model-details { display: contents; }
  .dp-model-details p { grid-column: 1; margin: -4px 0 11px 47px; font-size: 11px; }
  #models .dp-model-details .dp-explore { grid-row: 1 / span 2; grid-column: 2; margin: 0 10px 0 0 !important; }
  #models .dp-results { margin-top: 15px; }
  .dp-chart { margin-top: 7px; height: 75px; }
  .dp-activity, .dp-risk { padding: 13px 14px; }
  .dp-activity-body { justify-content: flex-start; margin-top: 13px; }
  .dp-legend div + div { margin-top: 7px; }
  .dp-risk dd { font-size: 14px; }
  .dp-features { grid-template-columns: repeat(2, 1fr); padding: 0; margin-top: 25px; }
  .dp-feature { padding: 15px 8px; }
  .dp-feature:nth-child(3)::before { display:none; }
  .dp-feature:nth-child(n+3) { border-top: 1px solid var(--dp-soft-border); }
  .dp-feature > .dp-icon { width: 29px; height: 29px; margin-bottom: 4px; }
  #models .dp-feature h3 { font-size: 14px; }
  .dp-feature p { font-size: 11px; }
  .dp-exchange-list { display: flex; justify-content: flex-start; padding: 5px; border-radius: 11px; }
  #referrals .dp-exchange-tab {
    min-height: 64px; min-width: 0; flex: 1; flex-direction: column; justify-content: center; margin: 0; padding: 5px 1px;
    border-radius: 6px; gap: 4px; font-size: 11px; letter-spacing: 0;
  }
  #referrals .dp-exchange-tab .dp-brand { width: 19px; height: 19px; }
  .dp-exchange-tab .dp-chevron { display:none; }
  .dp-ref-detail { padding: 15px 12px; }
  .dp-ref-head > .dp-brand { width: 39px; height: 39px; }
  .dp-rate-grid { margin-top: 16px; }
  .dp-rate { gap: 8px; min-height: 74px; }
  .dp-rate span { font-size: 10px; }
  #referrals .dp-rate h4 { font-size: 11px; }
  #referrals .dp-benefits { margin: 17px 0 19px; gap: 9px; }
  .dp-benefits li { gap: 5px; }
  .dp-ref-actions { grid-template-columns: minmax(0,1fr); gap: 8px; }
  #referrals .dp-ref-code, #referrals .dp-join { min-height: 42px; font-size: 13px; }
  .dp-ref-code { gap: 14px; padding-left: 12px; }
}
@media (max-width: 500px) {
  .dp-ref-head { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 5px 8px; }
  .dp-ref-head > .dp-brand { width: 32px; height: 32px; }
  #referrals .dp-ref-head h3 { font-size: 20px; }
  .dp-ref-head p { font-size: 10px; }
  .dp-ref-badge { grid-column: 2; justify-self: start; margin: 0; padding: 3px 7px; font-size: 9px; }
  .dp-rate-grid { grid-template-columns: 1fr; gap: 6px; }
  .dp-rate { min-height: 54px; gap: 11px; padding: 6px 10px; }
  .dp-rate p { margin-top: 0; }
  .dp-payback-note { font-size: 11px; }
  #referrals .dp-benefits { grid-template-columns: 1fr; }
  .dp-ref-code, #referrals .dp-ref-code { gap: 5px; padding-left: 7px; font-size: 11px; }
}
@media (max-width: 380px) {
  .dp-analytics { grid-template-columns: 1fr; }
  .dp-risk { border-left: 0; border-top: 1px solid var(--dp-soft-border); }
  .dp-copy-feedback:not(:empty) { bottom: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-model-option, .dp-exchange-tab, .dp-explore, .dp-join, .dp-ref-code button { transition: none; }
}
