:root {
    --plf-cream: #FFFDF5;
    --plf-ink: #1E293B;
    --plf-muted: #5D6B80;
    --plf-surface: #FFFFFF;
    --plf-line: #E2E8F0;
    --plf-panel: #F5F8FC;
    --plf-panel-soft: #FBFCFE;
    --plf-field: #CBD5E1;

    --plf-action: #FBBF24;
    --plf-mark: #E5700F;
    --plf-mark-text: #A94F07;
    --plf-mark-tint: #FDEEE0;
    --plf-save: #047857;
    --plf-save-tint: #D1FAE5;
    --plf-happy-tint: #FEF3C7;

    --plf-r-sm: 8px;
    --plf-r-md: 16px;
    --plf-r-lg: 24px;
    --plf-r-pill: 9999px;
    --plf-bw: 2px;

    --plf-pop: 8px 8px 0 0 var(--plf-line);
    --plf-pop-btn: 4px 4px 0 0 var(--plf-ink);
    --plf-pop-btn-hover: 6px 6px 0 0 var(--plf-ink);
    --plf-pop-btn-active: 2px 2px 0 0 var(--plf-ink);

    --plf-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --plf-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --plf-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.plf-body { background: var(--plf-cream) !important; }
body.rsukses-body { padding-bottom: 0 !important; }

.plf-page {
    position: relative;
    font-family: var(--plf-body);
    color: var(--plf-ink);
    background: var(--plf-cream);
    min-height: 100vh;
    padding-bottom: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.plf-page a,
.plf-page button:not(:disabled) { cursor: pointer; }

.plf-sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.plf-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.plf-container-doc { max-width: 860px; }
.plf-container-wide { max-width: 1080px; }

/* ---------- dekorasi ---------- */

.plf-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.plf-deco span { position: absolute; display: block; }

.plf-deco-blob {
    left: -90px; top: 200px; width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(229, 112, 15, .08);
}

.plf-deco-ring {
    right: 48px; top: 520px; width: 118px; height: 118px;
    border-radius: 50%;
    border: 6px solid var(--plf-mark);
}

.plf-deco-square {
    left: 46px; top: 860px; width: 76px; height: 76px;
    border-radius: 14px;
    border: 4px solid var(--plf-ink);
    transform: rotate(14deg);
}

.plf-deco-pill {
    right: 74px; top: 190px; width: 128px; height: 46px;
    border-radius: var(--plf-r-pill);
    background: rgba(251, 191, 36, .35);
    transform: rotate(-10deg);
}

.plf-deco-dots {
    width: 96px; height: 96px;
    background-image: radial-gradient(rgba(30, 41, 59, .18) 3px, transparent 3px);
    background-size: 22px 22px;
}

.plf-deco-dots-a { left: 40px; top: 470px; }
.plf-deco-dots-b { right: 56px; top: 880px; }

@media (max-width: 1279px) {
    .plf-deco { display: none; }
}

/* ---------- header ---------- */

.plf-header {
    position: relative;
    z-index: 2;
    background: var(--plf-surface);
    border-bottom: var(--plf-bw) solid var(--plf-ink);
}

.plf-header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plf-logo { display: inline-flex; align-items: center; }
.plf-logo img { height: 30px; width: auto; display: block; }

.plf-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .25s var(--plf-bounce), box-shadow .25s var(--plf-bounce);
}

.plf-header-cta:hover,
.plf-header-cta:focus {
    background: var(--plf-action);
    color: var(--plf-ink);
    text-decoration: none;
}

.plf-header-cta i { font-size: 14px; }

/* ---------- hero ---------- */

.plf-main { position: relative; z-index: 1; }

.plf-hero { padding: 40px 0 0; }

.plf-hero-inner {
    position: relative;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    background: var(--plf-surface);
    box-shadow: var(--plf-pop);
    padding: 30px 28px;
    overflow: hidden;
}

.plf-hero-inner::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--plf-happy-tint);
    z-index: 0;
}

.plf-hero-content { position: relative; z-index: 1; }

.plf-title {
    margin: 16px 0 0;
    font-family: var(--plf-display);
    font-size: 38px;
    line-height: 1.14;
    font-weight: 800;
    color: var(--plf-ink);
}

.plf-hero-content > .plf-title:first-child { margin-top: 0; }

.plf-title-mark {
    background: linear-gradient(transparent 62%, rgba(251, 191, 36, .7) 62%);
    padding: 0 2px;
}

.plf-lead {
    margin: 14px 0 0;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.7;
    color: var(--plf-muted);
}

/* ---------- daftar isi mengambang ---------- */

.plf-toc {
    position: fixed;
    z-index: 30;
    right: 20px;
    bottom: 142px;
    width: min(340px, calc(100vw - 40px));
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    background: var(--plf-surface);
    box-shadow: var(--plf-pop-btn);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .2s ease, transform .25s var(--plf-bounce), visibility .2s ease;
}

.plf-toc.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.plf-toc-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 12px 14px 18px;
    border-bottom: var(--plf-bw) solid var(--plf-line);
    background: var(--plf-happy-tint);
}

.plf-toc-head-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--plf-display);
    font-size: 15px;
    font-weight: 800;
}

.plf-toc-head-label i { font-size: 13px; color: var(--plf-mark-text); }

.plf-toc-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-size: 13px;
    transition: background .2s ease;
}

.plf-toc-close:hover { background: var(--plf-action); }

.plf-toc-list {
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.plf-toc-list li { margin: 0; }

.plf-toc-list a {
    display: flex;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--plf-r-sm);
    color: var(--plf-muted);
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.plf-toc-list a:hover { background: var(--plf-happy-tint); color: var(--plf-ink); text-decoration: none; }
.plf-toc-list a.is-active { background: var(--plf-mark-tint); color: var(--plf-mark-text); font-weight: 700; }

.plf-toc-num {
    flex: 0 0 auto;
    min-width: 20px;
    font-family: var(--plf-display);
    font-weight: 800;
    color: var(--plf-mark);
}

.plf-toc-overlay {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(30, 41, 59, .45);
}

.plf-toc-overlay[hidden] { display: none; }

.plf-toc-fab {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-action);
    color: var(--plf-ink);
    font-size: 16px;
    box-shadow: var(--plf-pop-btn);
    transition: transform .25s var(--plf-bounce), box-shadow .25s var(--plf-bounce);
}

.plf-toc-fab:hover { transform: translate(-2px, -2px); box-shadow: var(--plf-pop-btn-hover); }
.plf-toc-fab:active { transform: translate(2px, 2px); box-shadow: var(--plf-pop-btn-active); }

.plf-doc {
    margin-top: 28px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    background: var(--plf-surface);
    box-shadow: var(--plf-pop);
    padding: 32px 34px 36px;
}

/* ---------- tipografi konten ---------- */

.plf-prose {
    font-size: 15.5px;
    line-height: 1.78;
    color: var(--plf-ink);
    word-wrap: break-word;
}

.plf-prose > :first-child { margin-top: 0; }

.plf-prose p { margin: 0 0 16px; }
.plf-prose p:empty { display: none; }

.plf-prose h4 {
    position: relative;
    margin: 40px 0 16px;
    padding-top: 18px;
    font-family: var(--plf-display);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--plf-ink);
    scroll-margin-top: 24px;
}

.plf-prose h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 5px;
    border-radius: var(--plf-r-pill);
    background: var(--plf-action);
}

.plf-prose h4:first-of-type { margin-top: 8px; }

.plf-prose h5 {
    margin: 28px 0 12px;
    font-family: var(--plf-display);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--plf-mark-text);
    scroll-margin-top: 24px;
}

.plf-prose strong,
.plf-prose b { font-weight: 700; color: var(--plf-ink); }

.plf-prose a {
    color: var(--plf-mark-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.plf-prose a:hover { color: var(--plf-mark); }

.plf-prose ol,
.plf-prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }

.plf-prose ol { counter-reset: plf-ol; }

.plf-prose li { position: relative; margin: 0 0 10px; padding-left: 34px; }

.plf-prose ol > li::before {
    counter-increment: plf-ol;
    content: counter(plf-ol);
    position: absolute;
    left: 0;
    top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 23px;
    padding: 0 5px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-happy-tint);
    font-family: var(--plf-display);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.plf-prose ul > li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: var(--plf-bw) solid var(--plf-ink);
    background: var(--plf-mark);
}

.plf-prose li > ul,
.plf-prose li > ol { margin: 10px 0 0; }

.plf-prose li > ul > li::before { background: var(--plf-surface); }

.plf-prose hr {
    margin: 32px 0;
    border: 0;
    border-top: 3px dashed var(--plf-line);
}

.plf-table-wrap {
    margin: 0 0 20px;
    overflow-x: auto;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
}

.plf-table-wrap table { width: 100%; margin: 0; border-collapse: collapse; }

.plf-table-wrap td,
.plf-table-wrap th {
    padding: 18px 20px;
    border: 1px solid var(--plf-line);
    vertical-align: top;
}

.plf-table-wrap th { background: var(--plf-happy-tint); font-family: var(--plf-display); font-weight: 800; }
.plf-table-wrap ul { margin: 10px 0 0; }
.plf-table-wrap li { margin-bottom: 6px; }

/* ---------- penutup ---------- */

.plf-outro {
    position: relative;
    margin-top: 28px;
    padding: 30px 28px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    background: var(--plf-mark-tint);
    box-shadow: var(--plf-pop);
    text-align: center;
    overflow: hidden;
}

.plf-outro-title {
    margin: 0;
    font-family: var(--plf-display);
    font-size: 24px;
    font-weight: 800;
}

.plf-outro-sub { margin: 10px auto 0; max-width: 52ch; font-size: 15px; color: var(--plf-muted); }

.plf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    margin-top: 22px;
    padding: 0 28px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-action);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--plf-pop-btn);
    transition: transform .25s var(--plf-bounce), box-shadow .25s var(--plf-bounce), background .2s ease;
}

.plf-btn-primary:hover,
.plf-btn-primary:focus {
    color: var(--plf-ink);
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: var(--plf-pop-btn-hover);
}

.plf-btn-primary:active { transform: translate(2px, 2px); box-shadow: var(--plf-pop-btn-active); }

.plf-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--plf-ink);
    color: var(--plf-surface);
    font-size: 15px;
}

.plf-outro-links { margin: 18px 0 0; font-size: 13.5px; color: var(--plf-muted); }
.plf-outro-links a { color: var(--plf-mark-text); font-weight: 700; }

/* ---------- invoice / pembayaran ---------- */

.plf-inv-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 18px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    font-family: var(--plf-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plf-inv-status-wait { background: var(--plf-action); }
.plf-inv-status-done { background: var(--plf-save-tint); color: var(--plf-save); }
.plf-inv-status-done i { color: var(--plf-save); }

.plf-inv-hero-title {
    margin: 18px 0 0;
    font-family: var(--plf-display);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
}

.plf-inv-hero-sub { margin: 10px 0 0; font-size: 15px; color: var(--plf-muted); }

.plf-inv-amount {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.plf-inv-amount-value {
    font-family: var(--plf-display);
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.plf-inv-amount-value span { color: var(--plf-mark); }

.plf-inv-amount-strike {
    font-size: 18px;
    font-weight: 700;
    color: var(--plf-muted);
    text-decoration: line-through;
}

.plf-inv-hero-note { margin: 14px 0 0; font-size: 13.5px; color: var(--plf-muted); }
.plf-inv-hero-note b { color: var(--plf-ink); }

.plf-doc-hashero { margin-top: 40px; }

.plf-doc-hero {
    position: relative;
    padding: 28px 26px 26px;
    border-bottom: var(--plf-bw) solid var(--plf-line);
    overflow: hidden;
}

.plf-doc-hero::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--plf-happy-tint);
    z-index: 0;
}

.plf-doc-hero > * { position: relative; z-index: 1; }

.plf-doc-split { padding: 0; overflow: hidden; }

.plf-inv-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
}

.plf-inv-pane { padding: 26px 26px 30px; }
.plf-inv-pane-side { border-left: var(--plf-bw) solid var(--plf-line); background: var(--plf-panel-soft); }

.plf-inv-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.plf-inv-provider {
    display: inline-flex;
    align-items: center;
    height: 52px;
    padding: 0 18px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
}

.plf-inv-provider img { max-height: 24px; width: auto; display: block; }

.plf-inv-change {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease;
}

.plf-inv-change:hover { background: var(--plf-action); }

.plf-inv-card {
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    background: var(--plf-surface);
    box-shadow: var(--plf-pop);
    overflow: hidden;
}

.plf-inv-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: var(--plf-bw) solid var(--plf-line);
    background: var(--plf-panel);
}

.plf-inv-card-logo { display: inline-flex; align-items: center; }
.plf-inv-card-logo img { max-height: 24px; width: auto; display: block; }

.plf-inv-card-body { padding: 22px 20px; }

.plf-inv-card-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-top: var(--plf-bw) dashed var(--plf-line);
    background: var(--plf-happy-tint);
}

.plf-inv-card-foot i { color: var(--plf-mark-text); font-size: 16px; }

.plf-inv-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.plf-inv-qr img { width: 100%; max-width: 244px; height: auto; display: block; }

.plf-inv-qr-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 20px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-action);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--plf-pop-btn);
    transition: transform .25s var(--plf-bounce), box-shadow .25s var(--plf-bounce);
}

.plf-inv-qr-download:hover { color: var(--plf-ink); text-decoration: none; transform: translate(-2px, -2px); box-shadow: var(--plf-pop-btn-hover); }
.plf-inv-qr-download:active { transform: translate(2px, 2px); box-shadow: var(--plf-pop-btn-active); }

.plf-inv-code { padding: 0; }

.plf-inv-code-label {
    margin: 0 0 8px;
    font-family: var(--plf-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--plf-muted);
}

.plf-inv-code-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: var(--plf-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    word-break: break-all;
}

.plf-inv-code-value i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-happy-tint);
    color: var(--plf-ink);
    font-size: 15px;
    cursor: pointer;
    transition: background .2s ease;
}

.plf-inv-code-value i:hover { background: var(--plf-action); }

.plf-inv-deadline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 18px;
    border: var(--plf-bw) dashed var(--plf-field);
    border-radius: var(--plf-r-md);
    background: var(--plf-happy-tint);
}

.plf-inv-deadline i { color: var(--plf-mark-text); font-size: 16px; }
.plf-inv-deadline-label { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--plf-muted); }
.plf-inv-deadline-value { display: block; font-family: var(--plf-display); font-size: 17px; font-weight: 800; color: var(--plf-ink); }

.plf-inv-pay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    margin-top: 4px;
    padding: 0 24px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-action);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--plf-pop-btn);
    transition: transform .25s var(--plf-bounce), box-shadow .25s var(--plf-bounce);
}

.plf-inv-pay-cta:hover { color: var(--plf-ink); text-decoration: none; transform: translate(-2px, -2px); box-shadow: var(--plf-pop-btn-hover); }
.plf-inv-pay-cta:active { transform: translate(2px, 2px); box-shadow: var(--plf-pop-btn-active); }

.plf-inv-guide { margin-top: 22px; }

.plf-inv-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.plf-inv-guide-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--plf-display);
    font-size: 16px;
    font-weight: 800;
}

.plf-inv-guide-head .plf-inv-guide-title { margin-bottom: 0; }

.plf-inv-guide-title i { color: var(--plf-mark); }

.plf-inv-guide ol { counter-reset: plf-guide; list-style: none; margin: 0; padding: 0; }

.plf-inv-guide ol li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 34px;
    font-size: 14.5px;
    line-height: 1.6;
}

.plf-inv-guide ol li::before {
    counter-increment: plf-guide;
    content: counter(plf-guide);
    position: absolute;
    left: 0;
    top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-happy-tint);
    font-family: var(--plf-display);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.plf-inv-accordion { display: flex; flex-direction: column; gap: 10px; }

.plf-inv-accordion .child-accordion {
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
    overflow: hidden;
}

.plf-inv-accordion .header-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: var(--plf-display);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--plf-ink);
}

.plf-inv-accordion .header-accordion span { font-weight: 500; }

.plf-inv-accordion .header-accordion i { font-size: 12px; color: var(--plf-muted); transition: transform .25s var(--plf-bounce); }
.plf-inv-accordion .header-accordion.is-open i { transform: rotate(180deg); }
.plf-inv-accordion .content-accordion { padding: 0 16px 16px; font-size: 14px; line-height: 1.65; color: var(--plf-muted); }
.plf-inv-accordion .content-accordion hr { margin: 0 0 12px; border: 0; border-top: 2px dashed var(--plf-line); }
.plf-inv-accordion .content-accordion ol,
.plf-inv-accordion .content-accordion ul { margin: 0; padding-left: 20px; }
.plf-inv-accordion .content-accordion li { margin-bottom: 6px; }

.plf-inv-guide .accrodion-how-to .child-accordion .header-accordion {
    padding: 14px 16px;
    font-family: var(--plf-display);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--plf-ink);
}

.plf-inv-guide .accrodion-how-to .child-accordion .header-accordion:hover { background: var(--plf-panel); }

.plf-inv-guide .accrodion-how-to .child-accordion .content-accordion ol,
.plf-inv-guide .accrodion-how-to .child-accordion .content-accordion ul { padding-left: 0; margin: 0; }

.plf-inv-guide .accrodion-how-to .child-accordion .content-accordion ol li {
    padding: 0 0 0 34px;
    margin-bottom: 10px !important;
}

.plf-inv-guide .accrodion-how-to .child-accordion .content-accordion ol li:last-child { margin-bottom: 0 !important; }

.plf-inv-guide .accrodion-how-to .child-accordion .content-accordion ul li { padding: 0 0 0 18px; }


.plf-inv-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--plf-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--plf-mark-text);
    text-decoration: none;
    transition: gap .2s var(--plf-bounce);
}

.plf-inv-guide-link i { font-size: 11px; }

.plf-inv-guide-link:hover { color: var(--plf-mark-text); text-decoration: underline; gap: 10px; }

.plf-inv-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }

.plf-inv-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 15px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-pill);
    background: var(--plf-surface);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--plf-muted);
}

.plf-inv-badge i { font-size: 13px; color: var(--plf-save); }

.plf-inv-support {
    margin-top: 18px;
    padding: 16px 18px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
}

.plf-inv-support-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-family: var(--plf-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--plf-ink);
}

.plf-inv-support-title i { color: var(--plf-mark); }

.plf-inv-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.plf-inv-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 18px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .25s var(--plf-bounce);
}

.plf-inv-btn:hover,
.plf-inv-btn:focus { background: var(--plf-action); color: var(--plf-ink); text-decoration: none; }
.plf-inv-btn:active { transform: translateY(1px); }
.plf-inv-btn i { font-size: 15px; }
.plf-inv-btn-wa i { color: var(--plf-save); }
.plf-inv-btn-wa:hover i, .plf-inv-btn-wa:focus i { color: var(--plf-ink); }
.plf-inv-btn.is-copied { background: var(--plf-save-tint); border-color: var(--plf-save); color: var(--plf-save); }
.plf-inv-btn.is-copied i { color: var(--plf-save); }

.plf-inv-summary-title {
    margin: 0 0 16px;
    font-family: var(--plf-display);
    font-size: 16px;
    font-weight: 800;
}

.plf-inv-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.plf-inv-table td {
    display: table-cell;
    float: none;
    padding: 11px 0;
    border-bottom: 1px dashed var(--plf-line);
    font-size: 14px;
    line-height: 1.5;
    vertical-align: top;
}

.plf-inv-table tr:last-child td { border-bottom: 0; }
.plf-inv-table .plf-inv-key { width: 44%; color: var(--plf-muted); }
.plf-inv-table .plf-inv-val { text-align: right; font-weight: 700; word-break: break-word; }
.plf-inv-table tr.is-total td { border-top: var(--plf-bw) solid var(--plf-ink); border-bottom: 0; padding-top: 14px; font-family: var(--plf-display); font-size: 16px; font-weight: 800; }
.plf-inv-table tr.is-total .plf-inv-key { color: var(--plf-ink); }
.plf-inv-table .plf-inv-due { color: var(--plf-mark-text); }

.plf-inv-note,
.plf-inv-help {
    margin-top: 18px;
    padding: 16px 18px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--plf-muted);
}

.plf-inv-help-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 8px;
    font-family: var(--plf-display);
    font-size: 14px;
    font-weight: 800;
    color: var(--plf-ink);
}

.plf-inv-help-title i { color: var(--plf-mark); }
.plf-inv-note p, .plf-inv-help p { margin: 0; }
.plf-inv-help a { color: var(--plf-mark-text); font-weight: 700; }

.plf-inv-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.plf-inv-step { display: flex; align-items: center; gap: 10px; }

.plf-inv-step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-surface);
    font-size: 13px;
}

.plf-inv-step-name { font-size: 13.5px; font-weight: 700; color: var(--plf-muted); }
.plf-inv-step-line { flex: 1 1 auto; height: 3px; border-radius: var(--plf-r-pill); background: var(--plf-line); }
.plf-inv-step.is-done .plf-inv-step-dot { background: var(--plf-save-tint); color: var(--plf-save); }
.plf-inv-step.is-done .plf-inv-step-name { color: var(--plf-ink); }

@media (max-width: 900px) {
    .plf-inv-split { grid-template-columns: minmax(0, 1fr); }
    .plf-inv-pane-side { border-left: 0; border-top: var(--plf-bw) solid var(--plf-line); }

    .plf-inv-split-swap .plf-inv-pane-side { order: -1; border-top: 0; }
    .plf-inv-split-swap .plf-inv-pane:not(.plf-inv-pane-side) { border-top: var(--plf-bw) solid var(--plf-line); }
}

@media (max-width: 640px) {
    .plf-inv-split-swap .plf-inv-badges { display: none; }

    .plf-inv-status { height: 32px; padding: 0 14px; font-size: 11.5px; }
    .plf-inv-hero-title { margin-top: 12px; font-size: 23px; }
    .plf-inv-hero-sub { margin-top: 6px; font-size: 14px; }
    .plf-inv-amount { margin-top: 12px; }
    .plf-inv-amount-value { font-size: 32px; }
    .plf-inv-hero-note { margin-top: 10px; font-size: 12.5px; }
    .plf-doc-hashero { margin-top: 24px; }
    .plf-doc-hero { padding: 18px 13px 16px; }
    .plf-doc-hero::after { right: -60px; top: -70px; width: 130px; height: 130px; }

    .plf-inv-pane { padding: 16px 13px 18px; }
    .plf-inv-pane-head { margin-bottom: 14px; }
    .plf-inv-provider { height: 44px; padding: 0 14px; }
    .plf-inv-change { height: 36px; padding: 0 13px; font-size: 12.5px; }

    .plf-inv-qr { gap: 12px; }
    .plf-inv-card-head { padding: 12px 14px; }
    .plf-inv-card-body { padding: 18px 14px; }
    .plf-inv-card-foot { padding: 12px 14px; }
    .plf-inv-code-value { font-size: 20px; }
    .plf-inv-deadline { margin-top: 12px; padding: 11px 14px; }

    .plf-inv-guide { margin-top: 16px; }
    .plf-inv-guide-title { margin-bottom: 10px; font-size: 15px; }
    .plf-inv-guide ol li { margin-bottom: 8px; font-size: 14px; }

    .plf-inv-summary-title { margin-bottom: 10px; }
    .plf-inv-table { table-layout: auto; }
    .plf-inv-table .plf-inv-key { width: 1%; padding-right: 14px; white-space: nowrap; }
    .plf-inv-table td { padding: 9px 0; font-size: 13.5px; }
    .plf-inv-table tr.is-total td { padding-top: 11px; font-size: 15px; }

    .plf-inv-note,
    .plf-inv-support { margin-top: 12px; padding: 13px 14px; }
    .plf-inv-badges { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
    .plf-inv-badge {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        height: auto;
        min-height: 34px;
        padding: 6px 10px;
        gap: 6px;
        font-size: 11.5px;
        line-height: 1.3;
        text-align: center;
    }
    .plf-inv-badge i { flex: 0 0 auto; font-size: 11px; }

    .plf-inv-steps { gap: 8px; margin-top: 16px; }
    .plf-inv-step-name { display: none; }
    .plf-inv-actions { flex-direction: column; align-items: stretch; }
    .plf-inv-btn { justify-content: center; }
    .plf-inv-pay-cta { min-height: 52px; font-size: 16px; }
}

/* ---------- modal ubah metode pembayaran ---------- */

.plf-method-note {
    margin: 0 0 16px;
    font-size: 13.5px;
    color: var(--plf-muted);
}

.plf-method-note b { color: var(--plf-ink); }

.plf-method-modal .parent-error-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: var(--plf-bw) solid var(--plf-danger, #DC2626);
    border-radius: var(--plf-r-md);
    background: #FEE2E2;
    color: #991B1B;
    font-size: 13.5px;
    text-align: center;
}

.plf-method-quota {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -6px 0 14px;
    padding: 10px 14px;
    border: var(--plf-bw) dashed var(--plf-field);
    border-radius: var(--plf-r-md);
    background: var(--plf-happy-tint);
    font-size: 12.5px;
    color: var(--plf-ink);
}

.plf-method-quota i { color: var(--plf-mark-text); }
.plf-method-quota.is-empty { background: #FEE2E2; border-color: #FCA5A5; }
.plf-method-quota.is-empty i { color: #B91C1C; }

.plf-method-loading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    font-family: var(--plf-display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--plf-muted);
}

/* ---------- dialog (SweetAlert2) ---------- */

body.plf-body .swal2-container { padding: 18px; }

body.plf-body .swal2-container.swal2-backdrop-show { background: rgba(30, 41, 59, .55); }

body.plf-body .swal2-popup {
    width: 100%;
    max-width: 440px;
    padding: 30px 26px 26px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg) !important;
    box-shadow: 8px 8px 0 0 var(--plf-ink) !important;
    background: var(--plf-surface);
    font-family: var(--plf-body);
}

body.plf-body .swal2-title {
    padding: 0;
    font-family: var(--plf-display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--plf-ink);
}

body.plf-body .swal2-html-container {
    margin: 10px 0 0;
    padding: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--plf-muted);
}

body.plf-body .swal2-html-container b,
body.plf-body .swal2-html-container strong { color: var(--plf-ink); }

body.plf-body .swal2-icon {
    width: 74px;
    height: 74px;
    margin: 4px auto 20px;
    border: var(--plf-bw) solid var(--plf-ink);
    background: var(--plf-panel);
}

body.plf-body .swal2-icon .swal2-icon-content {
    font-family: var(--plf-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--plf-ink);
}

body.plf-body .swal2-icon.swal2-question { background: var(--plf-happy-tint); }
body.plf-body .swal2-icon.swal2-info { background: var(--plf-panel); }

body.plf-body .swal2-icon.swal2-warning { background: var(--plf-mark-tint); }
body.plf-body .swal2-icon.swal2-warning .swal2-icon-content { color: var(--plf-mark-text); }

body.plf-body .swal2-icon.swal2-error { background: #FEE2E2; }
body.plf-body .swal2-icon.swal2-error .swal2-x-mark-line-left,
body.plf-body .swal2-icon.swal2-error .swal2-x-mark-line-right { background-color: #B91C1C; height: 4px; border-radius: var(--plf-r-pill); }

body.plf-body .swal2-icon.swal2-success { background: var(--plf-save-tint); }
body.plf-body .swal2-icon.swal2-success .swal2-success-ring { border: var(--plf-bw) solid transparent; }
body.plf-body .swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: var(--plf-save); height: 4px; border-radius: var(--plf-r-pill); }
body.plf-body .swal2-icon.swal2-success [class^='swal2-success-circular-line'],
body.plf-body .swal2-icon.swal2-success .swal2-success-fix { background-color: transparent !important; }

body.plf-body .swal2-actions { gap: 10px; margin: 24px 0 0; }

body.plf-body .swal2-styled.swal2-confirm,
body.plf-body .swal2-styled.swal2-cancel,
body.plf-body .swal2-styled.swal2-deny {
    margin: 0;
    border: var(--plf-bw) solid var(--plf-ink) !important;
    border-radius: var(--plf-r-pill) !important;
    padding: 12px 24px !important;
    font-family: var(--plf-display);
    font-size: 14.5px;
    font-weight: 800;
    box-shadow: var(--plf-pop-btn) !important;
    transition: transform .18s var(--plf-bounce), box-shadow .18s var(--plf-bounce);
}

body.plf-body .swal2-styled.swal2-confirm { background: var(--plf-action) !important; color: var(--plf-ink) !important; }
body.plf-body .swal2-styled.swal2-cancel { background: var(--plf-surface) !important; color: var(--plf-ink) !important; }
body.plf-body .swal2-styled.swal2-deny { background: #FEE2E2 !important; color: #7F1D1D !important; }

body.plf-body .swal2-styled:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--plf-pop-btn-hover) !important;
}

body.plf-body .swal2-styled:active {
    transform: translate(2px, 2px);
    box-shadow: var(--plf-pop-btn-active) !important;
}

body.plf-body .swal2-styled:focus { outline: none; }

body.plf-body .swal2-close {
    width: 38px;
    height: 38px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-size: 26px;
    line-height: 1;
    box-shadow: none;
}

body.plf-body .swal2-close:hover { background: var(--plf-happy-tint); color: var(--plf-ink); }

body.plf-body .swal2-timer-progress-bar { background: var(--plf-action); }

@media (max-width: 575.98px) {
    body.plf-body .swal2-popup { padding: 24px 18px 20px; box-shadow: 5px 5px 0 0 var(--plf-ink) !important; }
    body.plf-body .swal2-title { font-size: 19px; }
    body.plf-body .swal2-icon { width: 64px; height: 64px; margin-bottom: 16px; }
    body.plf-body .swal2-actions { flex-direction: column-reverse; width: 100%; }
    body.plf-body .swal2-actions .swal2-styled { width: 100%; }
}

.plf-method-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.plf-method-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
    cursor: pointer;
    transition: transform .2s var(--plf-bounce), border-color .2s ease, box-shadow .25s var(--plf-bounce);
}

.plf-method-item:hover {
    border-color: var(--plf-ink);
    transform: translate(-2px, -2px);
    box-shadow: var(--plf-pop-btn);
}

.plf-method-item.active { border-color: var(--plf-ink); background: var(--plf-happy-tint); }

.plf-method-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 44px;
    padding: 6px;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-sm);
    background: var(--plf-surface);
}

.plf-method-logo img { max-height: 24px; max-width: 100%; width: auto; display: block; }

.plf-method-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.plf-method-name {
    font-family: var(--plf-display);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--plf-ink);
}

.plf-method-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--plf-save);
}

.plf-method-meta i { font-size: 11px; }

.plf-method-tag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--plf-r-pill);
    background: var(--plf-save-tint);
    color: var(--plf-save);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.plf-method-go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--plf-panel);
    color: var(--plf-muted);
    font-size: 12px;
    transition: background .2s ease, color .2s ease;
}

.plf-method-item:hover .plf-method-go { background: var(--plf-action); color: var(--plf-ink); }
.plf-method-item.is-current { border-color: var(--plf-save); }

@media (max-width: 640px) {
    .plf-method-item { gap: 11px; padding: 10px 12px; }
    .plf-method-logo { width: 64px; height: 40px; }
    .plf-method-logo img { max-height: 20px; }
    .plf-method-name { font-size: 13.5px; }
    .plf-method-meta { font-size: 11.5px; }
    .plf-method-tag { padding: 4px 9px; font-size: 9.5px; }
}

/* ---------- channel pembayaran ---------- */

.plf-doc-flush { padding: 0; overflow: hidden; }

.plf-channels {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: stretch;
}

.plf-channels-side {
    padding: 22px 18px;
    border-right: var(--plf-bw) solid var(--plf-line);
    background: var(--plf-panel);
}

.plf-channels-side-title {
    margin: 0 0 12px 4px;
    font-family: var(--plf-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--plf-muted);
}

.plf-channels-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.plf-channels-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border: var(--plf-bw) solid transparent;
    border-radius: var(--plf-r-md);
    background: transparent;
    color: var(--plf-muted);
    font-family: var(--plf-body);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.plf-channels-cat img { width: 20px; height: auto; flex: 0 0 auto; }

.plf-channels-cat:hover { border-color: var(--plf-field); background: var(--plf-surface); color: var(--plf-ink); }

.plf-channels-cat.is-active {
    border-color: var(--plf-ink);
    background: var(--plf-action);
    color: var(--plf-ink);
}

.plf-channels-main { padding: 26px 24px 30px; min-height: 260px; }

.plf-channels-main .channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 16px;
}

.plf-channels-main .channel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
    transition: transform .25s var(--plf-bounce), border-color .2s ease;
}

.plf-channels-main .channel:hover { transform: translateY(-3px); border-color: var(--plf-ink); }

.plf-channels-main .channel .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74px;
    padding: 14px;
    background: var(--plf-surface);
}

.plf-channels-main .channel img { max-height: 30px; width: auto; max-width: 100%; }

.plf-channels-main .channel b {
    display: block;
    padding: 10px 8px;
    border-top: 1px solid var(--plf-line);
    background: var(--plf-panel);
    color: var(--plf-ink) !important;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.plf-channels-main .alert {
    margin: 0;
    padding: 20px;
    border: var(--plf-bw) dashed var(--plf-field);
    border-radius: var(--plf-r-md);
    background: var(--plf-surface);
    color: var(--plf-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .plf-channels { grid-template-columns: minmax(0, 1fr); }

    .plf-channels-side {
        border-right: 0;
        border-bottom: var(--plf-bw) solid var(--plf-line);
        padding: 16px 14px;
    }

    .plf-channels-cats { flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
    .plf-channels-cat { width: auto; white-space: nowrap; border-color: var(--plf-field); background: var(--plf-surface); }
    .plf-channels-main { padding: 18px 14px 20px; min-height: 0; }
    .plf-channels-main .channel-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
}

/* ---------- footer ---------- */

.plf-footer {
    position: relative;
    z-index: 1;
    margin-top: 44px;
    padding: 26px 0;
    border-top: var(--plf-bw) solid var(--plf-ink);
    background: var(--plf-surface);
}

.plf-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.plf-footer-copy {
    margin: 0;
    font-family: var(--plf-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--plf-ink);
}

.plf-footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.plf-footer-menu li { margin: 0; }

.plf-footer-menu a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 15px;
    border: var(--plf-bw) solid var(--plf-field);
    border-radius: var(--plf-r-pill);
    color: var(--plf-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.plf-footer-menu a:hover,
.plf-footer-menu a:focus {
    border-color: var(--plf-ink);
    background: var(--plf-action);
    color: var(--plf-ink);
    text-decoration: none;
}

.plf-footer-menu a.is-active {
    border-color: var(--plf-ink);
    background: var(--plf-mark-tint);
    color: var(--plf-mark-text);
    font-weight: 800;
}

.plf-footer-menu a.is-active:hover,
.plf-footer-menu a.is-active:focus { background: var(--plf-action); color: var(--plf-ink); }

.plf-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-size: 16px;
    box-shadow: var(--plf-pop-btn);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .25s var(--plf-bounce), visibility .2s ease, background .2s ease;
}

.plf-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.plf-top:hover { background: var(--plf-action); }

/* ---------- modal domain ---------- */

.plf-modal .modal-content {
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-lg);
    box-shadow: var(--plf-pop-btn);
    font-family: var(--plf-body);
    color: var(--plf-ink);
    overflow: hidden;
}

.plf-modal .modal-header {
    align-items: center;
    padding: 18px 22px;
    border-bottom: var(--plf-bw) solid var(--plf-ink);
    background: var(--plf-happy-tint);
}

.plf-modal .modal-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--plf-display);
    font-size: 19px;
    font-weight: 800;
}

.plf-modal .modal-title i { color: var(--plf-mark-text); }

.plf-modal .close {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: 50%;
    background: var(--plf-surface);
    color: var(--plf-ink);
    opacity: 1;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
    transition: background .2s ease;
}

.plf-modal .close i { display: block; line-height: 1; }

.plf-modal .close:hover { background: var(--plf-action); }

.plf-modal .modal-body { padding: 22px; }

.plf-domain-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.plf-domain-table th,
.plf-domain-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--plf-line);
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

.plf-domain-table thead th {
    border-bottom: var(--plf-bw) solid var(--plf-ink);
    font-family: var(--plf-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--plf-muted);
}

.plf-domain-table tbody tr:last-child td { border-bottom: 0; }
.plf-domain-table tbody tr:hover td { background: var(--plf-panel); }
.plf-domain-table .plf-domain-tld { font-weight: 700; }
.plf-domain-table .plf-domain-total { font-weight: 800; color: var(--plf-mark-text); }

.plf-domain-empty {
    margin: 0;
    padding: 22px;
    border: var(--plf-bw) dashed var(--plf-field);
    border-radius: var(--plf-r-md);
    text-align: center;
    color: var(--plf-muted);
}

.plf-modal .modal-footer { padding: 16px 22px; border-top: var(--plf-bw) solid var(--plf-line); }

.plf-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    background: var(--plf-surface);
    color: var(--plf-ink);
    font-family: var(--plf-display);
    font-weight: 700;
    transition: background .2s ease;
}

.plf-modal-close:hover { background: var(--plf-action); }

/* ---------- responsif ---------- */

@media (max-width: 640px) {
    .plf-header-inner { height: 62px; }
    .plf-logo img { height: 26px; }
    .plf-header-cta { height: 40px; padding: 0 14px; font-size: 14px; }
    .plf-header-cta span { display: none; }

    .plf-container { padding: 0 12px; }

    .plf-hero { padding: 16px 0 0; }
    .plf-hero-inner { padding: 18px 14px; box-shadow: 4px 4px 0 0 var(--plf-line); }
    .plf-hero-inner::after { display: none; }
    .plf-title { font-size: 26px; }
    .plf-lead { margin-top: 10px; font-size: 14.5px; line-height: 1.6; }

    .plf-doc { margin-top: 14px; padding: 18px 14px 20px; box-shadow: 4px 4px 0 0 var(--plf-line); }
    .plf-doc.plf-doc-split,
    .plf-doc.plf-doc-flush { padding: 0; }
    .plf-prose { font-size: 15px; line-height: 1.68; }
    .plf-prose p { margin-bottom: 13px; }
    .plf-prose h4 { font-size: 20px; margin-top: 26px; }
    .plf-prose h5 { font-size: 15.5px; margin-top: 20px; }
    .plf-prose li { margin-bottom: 8px; }
    .plf-prose hr { margin: 22px 0; }
    .plf-table-wrap td { padding: 12px; }

    .plf-outro { margin-top: 18px; padding: 18px 14px; box-shadow: 4px 4px 0 0 var(--plf-line); }
    .plf-outro-title { font-size: 20px; }
    .plf-btn-primary { min-height: 52px; margin-top: 16px; }
    .plf-btn-primary { width: 100%; font-size: 17px; }

    .plf-footer { margin-top: 22px; padding: 18px 0 20px; }
    .plf-footer-inner { justify-content: center; text-align: center; }
    .plf-footer-menu { justify-content: center; }

    .plf-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
    .plf-toc-fab { right: 14px; bottom: 70px; width: 46px; height: 46px; }
    .plf-toc { right: 14px; bottom: 126px; max-height: min(64vh, 460px); }
}

@media (prefers-reduced-motion: reduce) {
    .plf-page { scroll-behavior: auto; }
    .plf-page * { transition: none !important; animation: none !important; }
}

/* ── Transaction status: failed / expired ─────────────────────────── */
.plf-status-hero {
    --plf-status-tone: var(--plf-action);
    --plf-status-tint: var(--plf-happy-tint);
    text-align: center;
}

.plf-status-hero.plf-status--failed {
    --plf-status-tone: var(--plf-mark);
    --plf-status-tint: var(--plf-mark-tint);
}

.plf-status-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plf-status-tone);
    color: #FFFFFF;
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    box-shadow: var(--plf-pop-btn);
    font-size: 30px;
}

.plf-status-expiredicon {
    animation: plf-expiredicon 1.8s ease-in-out infinite;
}

@keyframes plf-expiredicon {
    0%, 70%, 100% { transform: scale(1) rotate(0); }
    78%           { transform: scale(1.12) rotate(-6deg); }
    86%           { transform: scale(1.12) rotate(6deg); }
    94%           { transform: scale(1.06) rotate(0); }
}

.plf-status-char {
    width: 52px;
    height: 52px;
    display: block;
}

.plf-status-hero.plf-status--failed .plf-status-icon {
    width: 108px;
    height: 108px;
}

.plf-status-hero.plf-status--failed .plf-status-char {
    width: 94px;
    height: 94px;
}

.plf-status-badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 14px;
    background: var(--plf-status-tint);
    color: var(--plf-ink);
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    font-family: var(--plf-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.plf-status-title {
    margin: 0 0 8px;
    font-family: var(--plf-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    color: var(--plf-ink);
}

.plf-status-lead {
    margin: 0 auto;
    max-width: 400px;
    font-size: 15px;
    line-height: 1.62;
    color: var(--plf-muted);
}

.plf-status {
    padding: 26px 26px 30px;
}

.plf-status-detail {
    margin: 0 0 22px;
    padding: 4px 16px;
    background: var(--plf-panel);
    border: var(--plf-bw) solid var(--plf-line);
    border-radius: var(--plf-r-md);
}

.plf-status-detail > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-bottom: var(--plf-bw) dashed var(--plf-line);
}

.plf-status-detail > div:last-child {
    border-bottom: 0;
}

.plf-status-detail dt {
    margin: 0;
    font-size: 13px;
    color: var(--plf-muted);
    flex-shrink: 0;
}

.plf-status-detail dd {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    word-break: break-word;
}

.plf-status-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plf-status-actions .plf-btn-primary {
    width: 100%;
}

.plf-status-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 22px;
    background: transparent;
    color: var(--plf-ink);
    border: var(--plf-bw) solid var(--plf-ink);
    border-radius: var(--plf-r-pill);
    font-family: var(--plf-display);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.plf-status-ghost:hover,
.plf-status-ghost:focus-visible {
    background: var(--plf-action);
}

@media (max-width: 480px) {
    .plf-status { padding: 20px 14px 24px; }
    .plf-status-title { font-size: 22px; }
    .plf-status-icon { width: 66px; height: 66px; font-size: 27px; }
    .plf-status-char { width: 46px; height: 46px; }
    .plf-status-hero.plf-status--failed .plf-status-icon { width: 92px; height: 92px; }
    .plf-status-hero.plf-status--failed .plf-status-char { width: 80px; height: 80px; }
}
