.hp-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 2% 18%, #dff1ffbb, transparent 30%), radial-gradient(ellipse at 95% 3%, #c5e9ffbb, transparent 24%), linear-gradient(#fbfdff, #fff 56%, #f5fbff);
    color: #081d48
}

.hp-page:before {
    content: "";
    position: absolute;
    top: -180px;
    left: -110px;
    width: 600px;
    height: 370px;
    border-radius: 50%;
    background: #fff;
    z-index: -1
}

.hp-page:after {
    content: "";
    position: absolute;
    top: -160px;
    right: -230px;
    width: 640px;
    height: 400px;
    transform: rotate(-40deg);
    background: repeating-linear-gradient(0deg, transparent 0 90px, #ffffff75 90px 125px), linear-gradient(145deg, #d8f3ff, #4bbaff);
    border-radius: 90px;
    z-index: -1
}

.hp-wrap {
    width: calc(100% - 72px);
    max-width: 1480px;
    margin-inline: auto
}

.hp-header {
    display: grid;
    grid-template-columns: 240px 1fr 285px;
    align-items: center;
    min-height: 208px;
    gap: 12px
}

.hp-brand {
    display: block;
    width: 198px;
    margin-left: 24px
}

.hp-brand img {
    width: 100%;
    height: auto
}

.hp-brand-block nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 220px;
    font-size: 12px;
    font-weight: 500;
    color: #3b6295;
    margin-top: -2px
}

.hp-brand-block nav a:hover {
    color: #007aff
}

.hp-heading {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-bottom: 6px
}

.hp-eyebrow {
    display: inline-block;
    background: #d5ebff;
    border-radius: 50px;
    color: #006dff;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 5px;
    padding: 4px 23px
}

.hp-page h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(30px, 3.65vw, 56px);
    text-align: center;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.7px;
    margin: 8px -30px 5px;
    white-space: nowrap
}

.hp-page h1 span {
    color: #0075ff
}

.hp-subtitle {
    font-size: 22px;
    color: #285793;
    letter-spacing: -.5px
}

.hp-heading-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 17px
}

.hp-heading-dots i {
    height: 5px;
    width: 6px;
    border-radius: 10px;
    background: #8cc9ff
}

.hp-heading-dots i:nth-child(2) {
    background: #0077ff
}

.hp-heading-dots i:nth-child(3) {
    width: 56px;
    background: #0077ff;
    margin-left: 2px
}

.hp-heading-dots i:nth-child(4) {
    width: 30px;
    margin-left: -10px;
    background: #b5dcff
}

.hp-header-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0
}

.hp-header-art img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-top: 15px
}

.hp-header-art p {
    font-family: Caveat, 'Segoe Print', cursive;
    color: #007aff;
    font-size: 41px;
    line-height: .82;
    transform: rotate(-15deg);
    margin-right: -30px;
    position: relative;
    z-index: 2
}

.hp-header-art p span {
    margin-left: 6px
}

.hp-header-art em {
    font-style: normal;
    margin-left: 10px
}

.hp-header-art p:after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 10px;
    width: 125px;
    height: 12px;
    border-top: 2px solid #007aff;
    border-radius: 50%;
    transform: rotate(-10deg)
}

.hp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
    align-items: stretch
}

.hp-card {
    --accent: #0078ff;
    --accent-dark: #0058e4;
    --tint: #dbedff;
    --border: #b7ddff;
    --glow: #0b80ff24;
    --hue: 0deg;
    position: relative;
    isolation: isolate;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 18px 17px 16px;
    background: linear-gradient(135deg, #ffffffda, var(--tint) 65%, #fff 98%);
    box-shadow: 0 5px 13px var(--glow), inset 0 0 0 1px #ffffffaf;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.hp-card:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 440px;
    height: 240px;
    top: -95px;
    right: -30px;
    border-radius: 0 0 80% 60%;
    background: linear-gradient(135deg, #fff0, var(--tint));
    transform: rotate(-25deg);
    opacity: .85
}

.hp-card:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 46% 0 0;
    background: linear-gradient(#ffffff93, #ffffff60)
}

.hp-tier-1 {
    --accent: #00c84f;
    --accent-dark: #009e30;
    --tint: #d4ffe5;
    --border: #acefc9;
    --glow: #03bb4223;
    --hue: 305deg
}

.hp-tier-2 {
    --accent: #ff9500;
    --accent-dark: #ff5700;
    --tint: #ffe8ae;
    --border: #ffdc8d;
    --glow: #ffad2825;
    --hue: 180deg
}

.hp-tier-3 {
    --accent: #9d31ff;
    --accent-dark: #6700ec;
    --tint: #ecdbff;
    --border: #d4b3ff;
    --glow: #9148fb22;
    --hue: 60deg
}

.hp-tier-4 {
    --accent: #ff238a;
    --accent-dark: #e5004a;
    --tint: #ffd0e5;
    --border: #ffb1d0;
    --glow: #f1257822;
    --hue: 106deg
}

.hp-tier-5 {
    --accent: #00b6ff;
    --accent-dark: #0064ef;
    --tint: #c9ecff;
    --border: #9ad9ff;
    --glow: #009cff25;
    --hue: 0deg
}

.hp-card-head {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    gap: 13px;
    align-items: center;
    min-height: 124px;
    border-bottom: 1px solid #ffffffad;
    padding-bottom: 8px;
    margin-bottom: 7px;
    position: relative
}

.hp-card-art {
    position: relative;
    align-self: stretch;
    min-width: 0
}

.hp-card-art img {
    width: 150px;
    height: 130px;
    object-fit: contain;
    margin-top: 3px
}

.hp-card-art>.hp-plan-pill {
    position: absolute;
    left: 7px;
    top: 3px;
    z-index: 1
}

.hp-plan-pill {
    display: inline-block;
    padding: 4px 17px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    border-radius: 50px;
    border: 1px solid #ffffff88;
    white-space: nowrap
}

.hp-card-title {
    align-self: center;
    min-width: 0
}

.hp-card-title h2 {
    font-size: 23px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.7px;
    margin: 9px 0 5px;
    text-transform: uppercase;
    overflow-wrap: anywhere
}

.hp-card-title p {
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -.3px
}

.hp-tier-symbol {
    align-self: start;
    display: grid;
    place-items: center;
    margin-top: 1px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffffa6;
    border: 1px solid #fff
}

.hp-tier-symbol .hira-icon {
    width: 33px;
    height: 33px;
    filter: hue-rotate(var(--hue))
}

.hp-card-metrics {
    display: grid;
    grid-template-columns: 1.06fr 1.1fr 1.06fr;
    gap: 12px 8px;
    align-items: center;
    flex: 1;
    padding-top: 7px
}

.hp-metric {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
    min-height: 49px
}

.hp-metric>.hira-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background-color: #e5f2ff;
    filter: hue-rotate(var(--hue));
    flex-shrink: 0
}

.hp-metric>div {
    min-width: 0
}

.hp-metric span:not(.hira-icon) {
    font-size: 12px;
    display: block;
    line-height: 1.25;
    letter-spacing: -.4px
}

.hp-metric strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-top: 2px;
    overflow-wrap: anywhere
}

.hp-referral-levels {
    display: flex !important;
    flex-wrap: wrap;
    gap: 3px 7px
}

.hp-referral-levels>span {
    font-size: 16px !important;
    font-weight: 800
}

.hp-referral-levels small {
    font-size: 10px;
    font-weight: 500
}

.hp-card-action {
    align-self: center;
    min-width: 0
}

.hp-invest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(155deg, var(--accent, #008cff), var(--accent-dark, #0058ed));
    border: 0;
    color: #fff !important;
    min-height: 46px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    padding: 11px 12px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 5px 9px var(--glow, #007aff33);
    transition: transform .18s, box-shadow .18s;
    white-space: nowrap
}

.hp-invest span {
    font-size: 24px;
    line-height: .7;
    font-weight: 800
}

.hp-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px var(--glow, #007aff33)
}

.hp-amount {
    font-size: 11px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px
}

.hp-amount input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    background: #ffffffcc;
    color: #092347;
    border-radius: 8px;
    margin-top: 4px;
    padding: 7px 8px;
    min-height: 36px
}

.hp-empty {
    grid-column: 1/-1;
    padding: 80px 20px;
    text-align: center;
    border: 1px solid #d6eafe;
    border-radius: 24px;
    background: #fff
}

.hp-empty h2 {
    font-size: 30px
}

.hp-empty p {
    margin: 8px 0 20px
}

.hp-empty .hp-invest {
    max-width: 210px;
    margin: auto
}

.hp-benefit-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 1.75fr;
    align-items: center;
    background: #fff;
    border: 1px solid #e1efff;
    border-radius: 25px;
    box-shadow: 0 5px 17px #127adb16;
    margin-top: 34px;
    overflow: hidden;
    min-height: 98px
}

.hp-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-right: 1px solid #cce1fb;
    min-width: 0;
    line-height: 1.3
}

.hp-benefit>.hira-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background-color: #e2f3ff;
    border-radius: 50%
}

.hp-benefit strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.4px;
    white-space: nowrap
}

.hp-benefit small {
    display: block;
    font-size: 11px;
    color: #284f87;
    margin-top: 5px;
    letter-spacing: -.3px
}

.hp-benefit:nth-child(4) {
    border: 0
}

.hp-join {
    height: 100%;
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(135deg, #00b9fb, #0060f0 65%, #0051d7);
    color: #fff !important;
    border-radius: 50px 22px 22px 0;
    padding: 16px 20px
}

.hp-join strong {
    display: block;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.5px;
    white-space: nowrap
}

.hp-join small {
    display: block;
    font-size: 12px;
    margin-top: 5px
}

.hp-join b {
    background: #fff;
    color: #0053d4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 33px;
    font-weight: 500;
    flex-shrink: 0
}

.hp-tools {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #3971af
}

.hp-tools a:hover {
    text-decoration: underline
}

.hp-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    color: #5e7597;
    font-size: 11px
}

.hp-footer small {
    font-size: 11px
}

.hp-alert {
    padding: 17px 22px;
    border: 1px solid #ffc6c6;
    border-radius: 16px;
    background: #fff2f2;
    color: #9c3030;
    margin-bottom: 20px
}

.hp-success {
    border-color: #96e0b4;
    background: #eefff3;
    color: #137035
}

.hp-alert ul {
    margin-bottom: 0;
    padding-left: 20px
}

.hp-page .up-calculator {
    margin-top: 8px;
    background: #ffffffbd;
    border: 1px solid #d8e9fc;
    border-radius: 17px;
    overflow: hidden
}

.hp-page .up-calculator summary {
    padding: 13px 20px;
    font-size: 13px;
    color: #2464b4;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.hp-page .up-calculator summary::-webkit-details-marker {
    display: none
}

.hp-page .up-calculator summary span {
    font-size: 22px
}

.hp-page .up-calculator[open] summary span {
    transform: rotate(45deg)
}

.hp-page .up-calculator-body {
    padding: 5px 22px 24px
}

.hp-page .up-calculator-body>p {
    color: #577294;
    font-size: 13px
}

.hp-page .up-calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 5px
}

.hp-page .up-calc-fields label {
    font-size: 12px;
    font-weight: 600
}

.hp-page .up-calc-fields input,
.hp-page .up-calc-fields select {
    width: 100%;
    display: block;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid #c7dff8;
    border-radius: 9px;
    background: #fff;
    font: inherit;
    color: #102952;
    min-height: 44px
}

.hp-page .up-calc-error {
    color: #b4223a !important;
    margin: 8px 0
}

.hp-page .up-calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 18px
}

.hp-page .up-calc-results>div {
    background: #ecf6ff;
    border-radius: 12px;
    padding: 16px
}

.hp-page .up-calc-results small {
    display: block;
    font-size: 12px;
    color: #426692
}

.hp-page .up-calc-results strong {
    display: block;
    font-size: 23px;
    color: #006feb;
    margin-top: 3px;
    overflow-wrap: anywhere
}

@media(min-width:1450px) {
    .hp-card {
        min-height: 307px;
        padding-inline: 23px
    }
    .hp-card-head {
        grid-template-columns: 145px minmax(0, 1fr) 43px;
        gap: 14px;
        min-height: 132px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 13px
    }
    .hp-metric strong {
        font-size: 17px
    }
    .hp-card-metrics {
        row-gap: 15px;
        padding-top: 9px
    }
    .hp-invest {
        font-size: 16px;
        min-height: 48px
    }
    .hp-card-title h2 {
        font-size: 24px
    }
    .hp-card-title p {
        font-size: 16px
    }
    .hp-header {
        min-height: 214px
    }
}

@media(max-width:1300px) {
    .hp-wrap {
        width: calc(100% - 48px)
    }
    .hp-header {
        grid-template-columns: 185px 1fr 200px;
        min-height: 185px
    }
    .hp-brand {
        width: 162px;
        margin-left: 8px
    }
    .hp-brand-block nav {
        width: 175px;
        font-size: 11px
    }
    .hp-header-art img {
        width: 135px;
        height: 135px
    }
    .hp-header-art p {
        font-size: 31px
    }
    .hp-eyebrow {
        font-size: 14px;
        letter-spacing: 4px
    }
    .hp-page h1 {
        font-size: 43px
    }
    .hp-subtitle {
        font-size: 18px
    }
    .hp-card {
        padding: 16px 13px 14px
    }
    .hp-card-head {
        grid-template-columns: 110px minmax(0, 1fr) 32px;
        gap: 9px;
        min-height: 121px
    }
    .hp-card-art img {
        width: 112px;
        height: 118px;
        margin-top: 9px
    }
    .hp-card-art>.hp-plan-pill {
        left: 2px;
        top: 0
    }
    .hp-plan-pill {
        font-size: 12px;
        padding: 4px 13px
    }
    .hp-card-title h2 {
        font-size: 20px
    }
    .hp-card-title p {
        font-size: 12px
    }
    .hp-tier-symbol {
        width: 33px;
        height: 33px
    }
    .hp-tier-symbol .hira-icon {
        width: 25px;
        height: 25px
    }
    .hp-card-metrics {
        gap: 13px 5px
    }
    .hp-metric {
        gap: 4px
    }
    .hp-metric>.hira-icon {
        width: 33px;
        height: 33px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 10px
    }
    .hp-metric strong {
        font-size: 14px
    }
    .hp-referral-levels>span {
        font-size: 14px !important
    }
    .hp-invest {
        font-size: 12px;
        padding-inline: 8px;
        gap: 5px;
        min-height: 43px
    }
    .hp-invest span {
        font-size: 20px
    }
    .hp-benefit {
        padding: 0 10px;
        gap: 6px
    }
    .hp-benefit>.hira-icon {
        width: 44px;
        height: 44px
    }
    .hp-benefit strong {
        font-size: 11px
    }
    .hp-benefit small {
        font-size: 9px
    }
    .hp-join {
        padding-inline: 15px;
        gap: 10px
    }
    .hp-join strong {
        font-size: 18px
    }
    .hp-join small {
        font-size: 10px
    }
    .hp-join b {
        width: 36px;
        height: 36px;
        font-size: 28px
    }
}

@media(max-width:1100px) {
    .hp-header {
        grid-template-columns: 155px 1fr 155px;
        min-height: 170px
    }
    .hp-brand {
        width: 140px;
        margin-left: 0
    }
    .hp-brand-block nav {
        width: 140px
    }
    .hp-page h1 {
        font-size: 37px
    }
    .hp-header-art img {
        width: 110px;
        height: 125px
    }
    .hp-header-art p {
        font-size: 27px;
        margin-right: -43px
    }
    .hp-subtitle {
        font-size: 17px
    }
    .hp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px
    }
    .hp-card {
        padding: 18px 18px 16px;
        min-height: 285px
    }
    .hp-card-head {
        grid-template-columns: 140px minmax(0, 1fr) 38px;
        gap: 12px
    }
    .hp-card-art img {
        width: 140px;
        height: 124px
    }
    .hp-card-title h2 {
        font-size: 23px
    }
    .hp-card-title p {
        font-size: 14px
    }
    .hp-plan-pill {
        font-size: 14px
    }
    .hp-metric>.hira-icon {
        width: 42px;
        height: 42px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 12px
    }
    .hp-metric strong {
        font-size: 16px
    }
    .hp-invest {
        font-size: 14px
    }
    .hp-benefit-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 25px;
        padding-top: 17px;
        row-gap: 17px
    }
    .hp-benefit {
        justify-content: center;
        padding: 0 8px
    }
    .hp-benefit strong {
        font-size: 12px
    }
    .hp-benefit small {
        font-size: 10px
    }
    .hp-join {
        grid-column: 1/-1;
        min-height: 80px;
        border-radius: 0;
        gap: 26px
    }
    .hp-join strong {
        font-size: 23px
    }
    .hp-join small {
        font-size: 12px
    }
    .hp-join b {
        width: 43px;
        height: 43px
    }
}

@media(max-width:820px) {
    .hp-wrap {
        width: calc(100% - 32px)
    }
    .hp-header {
        grid-template-columns: 125px 1fr;
        min-height: 167px;
        gap: 10px
    }
    .hp-header-art {
        display: none
    }
    .hp-brand {
        width: 120px
    }
    .hp-brand-block nav {
        width: 120px;
        font-size: 10px;
        gap: 8px
    }
    .hp-page h1 {
        font-size: 35px;
        margin-inline: 0;
        white-space: normal;
        letter-spacing: -1.2px
    }
    .hp-subtitle {
        font-size: 16px
    }
    .hp-eyebrow {
        font-size: 12px;
        letter-spacing: 3px;
        padding: 4px 16px
    }
    .hp-heading-dots {
        margin-top: 10px
    }
    .hp-card {
        padding: 15px 12px;
        min-height: 274px;
        border-radius: 22px
    }
    .hp-card-head {
        grid-template-columns: 103px minmax(0, 1fr);
        gap: 11px
    }
    .hp-card-art img {
        width: 110px;
        height: 118px;
        margin-top: 8px
    }
    .hp-tier-symbol {
        display: none
    }
    .hp-card-title h2 {
        font-size: 20px
    }
    .hp-card-title p {
        font-size: 12px
    }
    .hp-plan-pill {
        font-size: 12px
    }
    .hp-card-metrics {
        gap: 11px 5px
    }
    .hp-metric>.hira-icon {
        width: 31px;
        height: 31px
    }
    .hp-metric {
        gap: 4px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 10px
    }
    .hp-metric strong {
        font-size: 13px
    }
    .hp-invest {
        font-size: 11px;
        gap: 3px;
        padding-inline: 6px
    }
    .hp-invest span {
        font-size: 17px
    }
    .hp-benefit {
        flex-direction: column;
        text-align: center;
        gap: 5px
    }
    .hp-benefit strong {
        font-size: 12px
    }
    .hp-benefit small {
        font-size: 10px
    }
}

@media(max-width:660px) {
    .hp-wrap {
        width: calc(100% - 28px)
    }
    .hp-header {
        display: flex;
        flex-direction: column;
        gap: 9px;
        padding-top: 10px;
        padding-bottom: 22px
    }
    .hp-brand-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%
    }
    .hp-brand {
        width: 108px
    }
    .hp-brand-block nav {
        font-size: 12px;
        width: auto;
        gap: 12px;
        margin: 0 5px 0 0
    }
    .hp-heading {
        padding: 0;
        width: 100%
    }
    .hp-eyebrow {
        font-size: 11px;
        letter-spacing: 3.3px
    }
    .hp-page h1 {
        font-size: 34px;
        margin-top: 9px;
        letter-spacing: -1.3px;
        white-space: normal
    }
    .hp-subtitle {
        font-size: 15px
    }
    .hp-heading-dots {
        margin-top: 13px
    }
    .hp-plan-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px
    }
    .hp-card {
        padding: 18px 16px 16px;
        min-height: 280px
    }
    .hp-card-head {
        grid-template-columns: 133px minmax(0, 1fr) 32px;
        gap: 12px;
        min-height: 125px
    }
    .hp-card-art img {
        width: 138px;
        height: 128px;
        margin-top: 5px
    }
    .hp-card-title h2 {
        font-size: 22px
    }
    .hp-card-title p {
        font-size: 13px
    }
    .hp-plan-pill {
        font-size: 13px;
        padding: 4px 14px
    }
    .hp-tier-symbol {
        display: grid;
        width: 33px;
        height: 33px
    }
    .hp-metric>.hira-icon {
        width: 38px;
        height: 38px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 11px
    }
    .hp-metric strong {
        font-size: 15px
    }
    .hp-invest {
        font-size: 13px;
        gap: 5px;
        padding: 11px 8px;
        min-height: 44px
    }
    .hp-invest span {
        font-size: 20px
    }
    .hp-card-metrics {
        row-gap: 14px
    }
    .hp-benefit-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 21px;
        padding-top: 20px;
        row-gap: 20px
    }
    .hp-benefit {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 0 12px;
        gap: 7px
    }
    .hp-benefit:nth-child(2) {
        border: 0
    }
    .hp-benefit strong {
        font-size: 12px
    }
    .hp-benefit small {
        font-size: 10px
    }
    .hp-benefit>.hira-icon {
        width: 42px;
        height: 42px
    }
    .hp-join {
        padding: 20px 15px;
        gap: 12px;
        min-height: 105px
    }
    .hp-join strong {
        font-size: 22px;
        white-space: normal
    }
    .hp-join small {
        font-size: 11px
    }
    .hp-tools {
        font-size: 11px;
        gap: 12px;
        align-items: center;
        padding-inline: 3px
    }
    .hp-tools a {
        max-width: 48%
    }
    .hp-footer {
        padding-top: 18px;
        font-size: 10px;
        gap: 10px;
        flex-direction: column;
        align-items: center
    }
    .hp-footer small {
        font-size: 10px
    }
    .hp-page .up-calculator-body {
        padding: 5px 14px 18px
    }
    .hp-page .up-calc-fields {
        grid-template-columns: 1fr;
        gap: 13px
    }
    .hp-page .up-calc-results {
        grid-template-columns: 1fr;
        gap: 9px
    }
    .hp-page .up-calc-results>div {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px
    }
    .hp-page .up-calc-results strong {
        font-size: 18px
    }
}

@media(max-width:400px) {
    .hp-card {
        padding: 15px 12px;
        min-height: 267px
    }
    .hp-card-head {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px
    }
    .hp-card-art img {
        width: 112px;
        height: 115px;
        margin-top: 12px
    }
    .hp-card-title h2 {
        font-size: 20px
    }
    .hp-tier-symbol {
        display: none
    }
    .hp-plan-pill {
        font-size: 12px
    }
    .hp-card-title p {
        font-size: 12px
    }
    .hp-metric>.hira-icon {
        width: 30px;
        height: 30px
    }
    .hp-metric {
        gap: 4px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 10px
    }
    .hp-metric strong {
        font-size: 13px
    }
    .hp-card-metrics {
        gap: 12px 4px;
        grid-template-columns: 1.06fr 1fr 1fr
    }
    .hp-invest {
        font-size: 11px;
        gap: 3px;
        padding: 10px 6px;
        min-height: 41px
    }
    .hp-invest span {
        font-size: 17px
    }
    .hp-referral-levels>span {
        font-size: 13px !important
    }
    .hp-page h1 {
        font-size: 30px
    }
    .hp-subtitle {
        font-size: 13px
    }
    .hp-benefit {
        padding: 0 9px;
        gap: 5px
    }
    .hp-benefit strong {
        font-size: 11px
    }
    .hp-benefit small {
        font-size: 9px
    }
    .hp-benefit>.hira-icon {
        width: 36px;
        height: 36px
    }
    .hp-join strong {
        font-size: 20px
    }
    .hp-join small {
        font-size: 10px
    }
    .hp-join b {
        width: 36px;
        height: 36px
    }
    .hp-card-art>.hp-plan-pill {
        left: 1px
    }
}

@media(max-width:340px) {
    .hp-wrap {
        width: calc(100% - 22px)
    }
    .hp-card {
        padding-inline: 10px
    }
    .hp-card-head {
        grid-template-columns: 93px minmax(0, 1fr);
        gap: 8px
    }
    .hp-card-art img {
        width: 100px;
        height: 111px
    }
    .hp-card-title h2 {
        font-size: 19px
    }
    .hp-metric>.hira-icon {
        width: 25px;
        height: 25px
    }
    .hp-metric strong {
        font-size: 12px
    }
    .hp-metric span:not(.hira-icon) {
        font-size: 9px
    }
    .hp-invest {
        font-size: 10px
    }
    .hp-invest span {
        font-size: 15px
    }
    .hp-page h1 {
        font-size: 27px
    }
    .hp-subtitle {
        font-size: 12px
    }
    .hp-benefit strong {
        font-size: 10px
    }
    .hp-benefit>.hira-icon {
        width: 30px;
        height: 30px
    }
}

@media(min-width:1450px) {
    .hp-total>.hira-icon {
        width: 37px;
        height: 37px
    }
    .hp-total strong {
        font-size: 16px;
        letter-spacing: -.6px
    }
}

/* Give every card a separate action row, including older mobile browsers. */

.hp-card-action form {
    margin: 0;
    min-width: 0
}

.hp-card-action .hp-invest {
    box-sizing: border-box;
    max-width: 100%;
    font-family: inherit
}

.hp-card-action .hp-invest span {
    flex-shrink: 0
}

.hp-card .hp-card-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 8px
}

.hp-card .hp-card-metrics>.hp-metric {
    grid-column: span 2
}

.hp-card .hp-card-metrics>.hp-total,
.hp-card .hp-card-metrics>.hp-referral {
    grid-column: span 3
}

.hp-card .hp-card-action {
    grid-column: 1/-1;
    width: 100%;
    padding-top: 3px
}

.hp-card .hp-card-action .hp-invest {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
    gap: 10px;
    line-height: 1.3;
    white-space: normal;
    text-align: center
}

.hp-card .hp-card-action .hp-invest span {
    font-size: 22px;
    line-height: 1
}