 :root {
     --navy: #07182d;
     --gold: #c8aa36;
     --gold-light: #e3d58a;
     --green: #14783e;
     --text: #172334;
     --muted: #738091;
     --paper: #faf7f0;
 }

 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     background: #f7f8fa;
     color: var(--text);
     font-family: Arial, Helvetica, sans-serif;
     -webkit-font-smoothing: antialiased;
 }

 button {
     font: inherit;
 }

 .dp-page {
     width: 100%;
     max-width: 520px;
     /* min-height: 100vh; */
     margin: 20px auto 0 auto;
     background: #fff;
     overflow: hidden;
     box-shadow: 0 0 24px rgba(12, 28, 46, 0.07);
 }

 /* Header */
 .dp-header {
     min-height: 61px;
     padding: 14px 16px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
     background: var(--navy);
     border-bottom: 4px solid var(--gold);
 }

 .dp-brand {
     color: #f7edbd;
     font-family: Georgia, "Times New Roman", serif;
     font-size: clamp(13px, 3.7vw, 17px);
     font-weight: 700;
     letter-spacing: 0.5px;
     white-space: nowrap;
 }

 .dp-file-label {
     padding: 6px 10px;
     border-radius: 5px;
     background: #a71e20;
     color: #fff;
     font-size: 11px;
     font-weight: 800;
     letter-spacing: 0.4px;
     white-space: nowrap;
 }

 /* Intro */
 .dp-intro {
     padding: 23px 18px 20px;
     text-align: center;
 }

 .dp-intro h1 {
     margin: 0 auto 10px;
     max-width: 460px;
     font-family: Georgia, "Times New Roman", serif;
     font-size: clamp(21px, 5.2vw, 26px);
     line-height: 1.25;
     color: #172334;
 }

 .dp-intro p {
     margin: 0 auto;
     max-width: 440px;
     color: var(--muted);
     font-size: 15px;
     line-height: 1.45;
 }

 /* Dividend slip */
 .dp-slip {
     position: relative;
     margin: 2px 16px 24px;
     padding: 21px 14px 17px;
     background: var(--paper);
     border: 2px solid var(--gold);
     border-radius: 17px;
     outline: 1px solid rgba(200, 170, 54, 0.15);
     outline-offset: 3px;
 }

 .dp-slip::before {
     position: absolute;
     content: "";
     inset: 6px;
     border: 1px dashed #b9a45d;
     border-radius: 11px;
     pointer-events: none;
 }

 .dp-slip-content {
     position: relative;
     z-index: 1;
 }

 .dp-slip-heading {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     padding: 0 7px 15px;
     border-bottom: 2px solid var(--gold);
 }

 .dp-slip-heading h2 {
     margin: 0 0 5px;
     font-family: Georgia, "Times New Roman", serif;
     font-size: 17px;
     letter-spacing: 0.3px;
 }

 .dp-record {
     color: var(--muted);
     font-size: 12px;
     font-weight: 700;
     letter-spacing: 0.4px;
 }

 .dp-star {
     display: flex;
     align-items: center;
     justify-content: center;
     flex: 0 0 54px;
     width: 54px;
     height: 54px;
     border-radius: 50%;
     background: linear-gradient(145deg, #d8bb53, #aa8a20);
     color: #fff;
     font-size: 28px;
     box-shadow: 0 4px 12px rgba(151, 119, 17, 0.15);
 }

 /* Recipient */
 .dp-recipient {
     margin: 17px 7px 20px;
     padding: 15px 17px;
     background: #fff;
     border: 1px solid #e0e5e9;
     border-radius: 12px;
 }

 .dp-recipient-top {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     margin-bottom: 7px;
 }

 .dp-eyebrow {
     color: var(--muted);
     font-size: 11px;
     font-weight: 800;
     letter-spacing: 1px;
 }

 .dp-approved {
     color: var(--green);
     font-size: 11px;
     font-weight: 800;
     white-space: nowrap;
 }

 .dp-recipient h3 {
     margin: 0 0 3px;
     font-size: clamp(18px, 4.5vw, 22px);
     line-height: 1.2;
     overflow-wrap: anywhere;
 }

 .dp-recipient p {
     margin: 0;
     color: var(--muted);
     font-size: 14px;
     line-height: 1.4;
 }

 /* Allocation rows */
 .dp-allocations {
     padding: 0 8px;
 }

 .dp-allocation-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 14px;
     min-height: 33px;
     padding: 7px 0;
     border-bottom: 1px dashed #e0e1dc;
     color: #687687;
     font-size: 14px;
 }

 .dp-allocation-row span:first-child {
     min-width: 0;
     line-height: 1.35;
 }

 .dp-amount {
     flex-shrink: 0;
     color: #777;
     font-size: 13px;
     font-weight: 800;
     filter: blur(3px);
     user-select: none;
 }

 .dp-total {
     padding-top: 12px;
     padding-bottom: 12px;
     border-bottom: 0;
     color: var(--text);
     font-size: 15px;
     font-weight: 800;
 }

 .dp-total .dp-amount {
     color: #21844a;
 }

 /* Disbursement notice */
 .dp-notice {
     display: flex;
     align-items: center;
     gap: 12px;
     margin: 12px 8px 1px;
     padding: 12px 14px;
     border: 1px solid #f5e66a;
     border-radius: 9px;
     background: #fff7bd;
     color: #795820;
     font-size: 14px;
     font-weight: 700;
     line-height: 1.3;
 }

 .dp-check {
     display: flex;
     flex: 0 0 20px;
     align-items: center;
     justify-content: center;
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: #21844a;
     color: white;
     font-size: 13px;
 }

 /* Demo notice */
 .dp-demo {
     margin: 0 20px 14px;
     color: #697586;
     font-size: 11px;
     line-height: 1.5;
     text-align: center;
 }

 /* Claim button */
 .dp-claim-wrap {
     padding: 0 16px 18px;
 }

 .dp-claim {
     display: block;
     width: 100%;
     min-height: 70px;
     padding: 17px 14px;
     border: 0;
     border-radius: 45px;
     background: linear-gradient(180deg, #198449, #096b34);
     box-shadow: 0 8px 20px rgba(17, 112, 57, 0.22);
     color: #fff;
     font-size: clamp(17px, 4.5vw, 22px);
     font-weight: 800;
     line-height: 1.3;
     text-align: center;
     cursor: pointer;
     transition: transform 0.2s, box-shadow 0.2s;
 }

 .dp-claim:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 24px rgba(17, 112, 57, 0.28);
 }

 .dp-claim:active {
     transform: scale(0.985);
 }

 .dp-claim:focus-visible {
     outline: 3px solid #e0c65e;
     outline-offset: 4px;
 }

 /* Demo modal */
 .dp-modal {
     position: fixed;
     z-index: 1000;
     inset: 0;
     display: none;
     align-items: center;
     justify-content: center;
     padding: 20px;
     background: rgba(5, 18, 34, 0.65);
 }

 .dp-modal.dp-open {
     display: flex;
 }

 .dp-modal-card {
     width: 100%;
     max-width: 360px;
     padding: 26px 22px;
     border-radius: 16px;
     background: #fff;
     box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
     text-align: center;
     animation: dp-appear 0.2s ease-out;
 }

 .dp-modal-icon {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 54px;
     height: 54px;
     margin: 0 auto 15px;
     border-radius: 50%;
     background: #fff4c7;
     color: #866a16;
     font-size: 25px;
 }

 .dp-modal-card h2 {
     margin: 0 0 10px;
     font-size: 21px;
 }

 .dp-modal-card p {
     margin: 0 0 20px;
     color: #687687;
     font-size: 14px;
     line-height: 1.6;
 }

 .dp-close {
     width: 100%;
     min-height: 46px;
     border: 0;
     border-radius: 9px;
     background: var(--navy);
     color: #fff;
     font-weight: 700;
     cursor: pointer;
 }

 @keyframes dp-appear {
     from {
         opacity: 0;
         transform: translateY(8px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Small mobile screens */
 @media (max-width: 360px) {
     .dp-header {
         padding: 13px 10px;
     }

     .dp-brand {
         font-size: 12px;
         letter-spacing: 0;
     }

     .dp-file-label {
         padding: 6px 7px;
         font-size: 9px;
     }

     .dp-intro {
         padding: 21px 14px 18px;
     }

     .dp-slip {
         margin-right: 10px;
         margin-left: 10px;
         padding: 18px 9px 13px;
     }

     .dp-slip-heading {
         padding-right: 5px;
         padding-left: 5px;
     }

     .dp-star {
         flex-basis: 44px;
         width: 44px;
         height: 44px;
         font-size: 24px;
     }

     .dp-recipient {
         margin-right: 5px;
         margin-left: 5px;
         padding: 13px 11px;
     }

     .dp-allocations {
         padding: 0 5px;
     }

     .dp-allocation-row {
         gap: 8px;
         font-size: 12px;
     }

     .dp-notice {
         margin-right: 5px;
         margin-left: 5px;
         padding: 10px;
         font-size: 12px;
     }

     .dp-claim-wrap {
         padding-right: 10px;
         padding-left: 10px;
     }

     .dp-claim {
         min-height: 62px;
     }
 }

 @media (prefers-reduced-motion: reduce) {

     *,
     *::before,
     *::after {
         animation-duration: 0.01ms !important;
         transition-duration: 0.01ms !important;
     }
 }