/* Help popup pages (HelpContent, CreditCardPolicy) - site design tokens */

html {
    background: #f7f1e7;
}

body {
    margin: 0;
    padding: 24px 12px 48px;
    background: #f7f1e7;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
}

body > form > p {
    display: none;
}

table.help-shell {
    width: min(92vw, 720px) !important;
    margin: 16px auto 0;
    padding: 20px 28px 24px;
    border: 1px solid rgba(126, 119, 109, 0.16);
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 18px 42px rgba(40, 35, 29, 0.08);
    border-collapse: separate;
}

table.help-shell td {
    width: auto !important;
}

table.help-shell .bodytextSmB,
table.help-shell .bodytextSmB a {
    color: #3f372f;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    text-decoration: none;
}

table.help-shell .bodytext {
    color: #6f675f;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.7;
}

table.help-shell .bodytext a {
    color: #4f6572;
    font-weight: 650;
}

table.help-shell img {
    display: block;
}

table.help-shell input[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 140px;
    padding: 0.7rem 1.3rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #5b7280, #4f6572);
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(79, 101, 114, 0.26);
}

table.help-shell input[type="button"]:hover,
table.help-shell input[type="button"]:focus {
    background: linear-gradient(180deg, #637a88, #56707e);
    box-shadow: 0 8px 18px rgba(79, 101, 114, 0.28);
}

.policy-page {
    min-height: 100vh;
    padding: 32px 16px 56px;
    background:
        linear-gradient(135deg, rgba(79, 101, 114, 0.08), transparent 42%),
        #f4f1eb;
    color: #292f33;
}

.policy-shell {
    width: min(100%, 820px);
    margin: 0 auto;
    border: 1px solid #d8d4cc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(38, 43, 46, 0.1);
    overflow: hidden;
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 34px;
    border-bottom: 4px solid #bd9d55;
    background: #f8faf9;
}

.policy-logo {
    display: block;
    width: 120px;
    height: 60px;
    object-fit: contain;
}

.policy-brand {
    margin-bottom: 4px;
    color: #65737a;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: uppercase;
}

.policy-title {
    margin: 0;
    color: #263f49;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.policy-content {
    padding: 30px 34px 12px;
    color: #4d565b;
    font-size: 0.96rem;
    line-height: 1.72;
}

.policy-effective {
    margin: 0 0 12px;
    color: #6b7377;
    font-size: 0.84rem;
    font-weight: 700;
}

.policy-intro {
    margin: 0 0 26px;
    color: #2f3b40;
    font-size: 1.04rem;
}

.policy-section {
    padding: 24px 0;
    border-top: 1px solid #e5e2dc;
}

.policy-section h2 {
    margin: 0 0 10px;
    color: #263f49;
    font-size: 1.12rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.policy-section p {
    margin: 0 0 12px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    margin: 0;
    padding-left: 22px;
}

.policy-section li + li {
    margin-top: 8px;
}

.policy-section a {
    color: #315f72;
    font-weight: 700;
}

.policy-contact {
    border-top-color: #bd9d55;
}

.policy-footer {
    padding: 20px 34px 28px;
    background: #f8faf9;
}

.policy-footer input[type="button"] {
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    border: 0;
    border-radius: 6px;
    background: #4f6873;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.policy-footer input[type="button"]:hover,
.policy-footer input[type="button"]:focus-visible {
    background: #3f5964;
    outline: 3px solid rgba(189, 157, 85, 0.35);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .policy-page {
        padding: 0;
    }

    .policy-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .policy-header {
        align-items: flex-start;
        gap: 14px;
        padding: 22px 20px;
    }

    .policy-logo {
        width: 88px;
        height: 44px;
    }

    .policy-title {
        font-size: 1.55rem;
    }

    .policy-content {
        padding: 24px 20px 8px;
    }

    .policy-footer {
        padding: 18px 20px 24px;
    }
}
