.ppig-body {
    margin: 0;
    background: #f3f7fa;
}

.ppig-page {
    color: #123044;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

.ppig-page *,
.ppig-page *::before,
.ppig-page *::after {
    box-sizing: border-box;
}

.ppig-page img {
    display: block;
    max-width: 100%;
}

.ppig-brand-hero {
    position: relative;
    min-height: clamp(240px, 19.3vw, 293px);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(5, 48, 91, .88) 0%, rgba(5, 48, 91, .68) 42%, rgba(5, 48, 91, .58) 100%),
        var(--ppig-hero-image),
        #05305b;
    background-attachment: scroll, fixed, scroll;
    background-position: center;
    background-size: cover;
}

.ppig-brand-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 48, 91, .74), rgba(5, 48, 91, .38) 52%, rgba(5, 48, 91, .56));
    content: "";
}

.ppig-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    width: min(100%, 1420px);
    margin: 0 auto;
    padding: clamp(23px, 4vw, 51px);
}

.ppig-hero-logo {
    width: clamp(150px, 18vw, 230px);
    margin-bottom: clamp(16px, 3.3vw, 43px);
}

.ppig-eyebrow {
    margin: 0 0 12px;
    color: #43c7df;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.ppig-brand-hero h1 {
    max-width: none;
    margin: 0;
    color: #ffffff;
    font-size: clamp(56px, 8.6vw, 124px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: 0;
    white-space: nowrap;
}

.ppig-hero-copy {
    max-width: 690px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(18px, 2.2vw, 24px);
}

.ppig-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 54px);
    color: #123044;
}

.ppig-hero {
    margin-bottom: 24px;
}

.ppig-hero p {
    margin: 0 0 10px;
    color: #0b6f9f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ppig-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #062b49;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: 0;
}

.ppig-hero span {
    display: block;
    max-width: 760px;
    margin-top: 14px;
    color: #5c7180;
    font-size: 17px;
}

.ppig-panel,
.ppig-help,
.ppig-alert {
    border: 1px solid #d9e5ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(5, 34, 54, .08);
}

.ppig-panel {
    padding: clamp(18px, 4vw, 34px);
}

.ppig-form {
    display: grid;
    gap: 18px;
}

.ppig-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.ppig-steps li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    border: 1px solid #d9e5ec;
    border-radius: 8px;
    padding: 8px 10px;
    background: #f4f9fb;
    color: #5c7180;
    font-size: 13px;
    font-weight: 900;
}

.ppig-steps span {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d9e5ec;
    color: #062b49;
    font-size: 12px;
}

.ppig-steps li.is-active {
    border-color: #0b6f9f;
    background: #e8f8fc;
    color: #062b49;
}

.ppig-steps li.is-active span {
    background: #062b49;
    color: #ffffff;
}

.ppig-step-panel {
    display: grid;
    gap: 18px;
}

.ppig-step-panel[hidden] {
    display: none;
}

.ppig-form h2 {
    margin: 8px 0 0;
    color: #062b49;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
}

.ppig-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ppig-form label {
    display: grid;
    gap: 7px;
    color: #20394c;
    font-size: 14px;
    font-weight: 800;
}

.ppig-label-text {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    width: fit-content;
    color: #20394c;
}

.ppig-form label span {
    color: #b42318;
}

.ppig-form label .ppig-label-text {
    color: #20394c;
}

.ppig-form input,
.ppig-form textarea,
.ppig-output textarea {
    width: 100%;
    border: 1px solid #c9d6df;
    border-radius: 8px;
    padding: 12px 13px;
    background: #ffffff;
    color: #123044;
    font: inherit;
}

.ppig-form input[type="file"] {
    padding: 10px 13px;
}

.ppig-form input:focus,
.ppig-form textarea:focus,
.ppig-output textarea:focus {
    border-color: #0b6f9f;
    outline: 3px solid rgba(67, 199, 223, .25);
}

.ppig-logo-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    border: 1px solid #d9e5ec;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f4f9fb;
}

.ppig-logo-preview span {
    color: #5c7180;
    font-size: 13px;
    font-weight: 800;
}

.ppig-logo-preview img {
    max-width: 140px;
    max-height: 76px;
    object-fit: contain;
}

.ppig-token-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9e5ec;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f4f9fb;
}

.ppig-token-preview span {
    color: #5c7180;
    font-size: 13px;
    font-weight: 800;
}

.ppig-token-preview code {
    color: #062b49;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ppig-form button,
.ppig-output button,
.ppig-secondary-action {
    min-height: 48px;
    width: fit-content;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: #062b49;
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.ppig-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #d9e5ec;
    padding-top: 18px;
}

.ppig-form button[hidden] {
    display: none;
}

.ppig-form .ppig-button-secondary,
.ppig-secondary-action {
    border: 1px solid #c9d6df;
    background: #ffffff;
    color: #062b49;
}

.ppig-output {
    display: grid;
    gap: 14px;
}

.ppig-output-success {
    border: 0;
    margin-top: 0;
    padding-top: 0;
}

.ppig-output h2,
.ppig-help h2 {
    margin: 0;
    color: #062b49;
    font-size: 24px;
    letter-spacing: 0;
}

.ppig-output p,
.ppig-help p {
    margin: 6px 0 0;
    color: #5c7180;
}

.ppig-output .ppig-success {
    border-left: 4px solid #0b7f62;
    padding: 10px 12px;
    background: #ecfdf6;
    color: #075f49;
    font-weight: 800;
}

.ppig-output .ppig-warning {
    border-left: 4px solid #f79009;
    padding: 10px 12px;
    background: #fffaeb;
    color: #93370d;
    font-weight: 800;
}

.ppig-output textarea {
    min-height: 138px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}

.ppig-output dl {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
}

.ppig-output dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
}

.ppig-output dt {
    color: #5c7180;
    font-weight: 800;
}

.ppig-output dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.ppig-alert {
    border-left: 4px solid #b42318;
    margin-bottom: 18px;
    padding: 14px 16px;
    color: #7a271a;
}

.ppig-alert p {
    margin: 0;
}

.ppig-help {
    margin-top: 22px;
    padding: 22px;
}

@media (max-width: 760px) {
    .ppig-brand-hero {
        min-height: 280px;
    }

    .ppig-hero-logo {
        width: 156px;
        margin-bottom: 29px;
    }

    .ppig-brand-hero h1 {
        font-size: clamp(48px, 18vw, 76px);
        white-space: normal;
    }

    .ppig-eyebrow {
        letter-spacing: .18em;
    }

    .ppig-steps {
        grid-template-columns: 1fr;
    }

    .ppig-grid,
    .ppig-output dl div {
        grid-template-columns: 1fr;
    }

    .ppig-form button,
    .ppig-output button,
    .ppig-secondary-action {
        width: 100%;
    }
}
