/* =========================================
   LARGE DESKTOP
========================================= */
@media (max-width: 1399.98px) {

    /* ============= header section =============  */
    .brand-logo {
        width: 172px;
    }

}

/* =========================================
   SMALL LAPTOP
========================================= */
@media (max-width: 1199.98px) {

    /* ============= header section =============  */
    .brand-logo {
        width: 165px;
    }

    /* ============= hero section =============  */
    .pany-hero-title {
        font-size: 72px;
    }

    .pany-decision-panel {
        max-width: 390px;
        padding: 34px 30px;
    }

    /* ============= loan section =============  */
    .pany-path-section {
        padding: 105px 0;
    }

    .pany-section-title {
        font-size: 52px;
    }

    .pany-path-detail-left h3 {
        font-size: 36px;
    }

    /* ============= process section =============  */
    .pany-process-section {
        padding: 105px 0;
    }

    .pany-process-title {
        font-size: 50px;
    }

    /* ============= about section =============  */
    .pany-why-section {
        padding: 105px 0;
    }

    .pany-why-title {
        font-size: 56px;
    }

    /* ============= resources section =============  */
    .pany-resources-section {
        padding: 105px 0;
    }

    .pany-resources-title {
        font-size: 52px;
    }

    /* ============= faq section =============  */
    .pany-faq-section {
        padding: 105px 0;
    }

    .pany-faq-title {
        font-size: 50px;
    }

    /* ============= cta section =============  */
    .pany-final-wrap {
        padding:
            55px 48px;
    }

    .pany-final-wrap h2 {
        font-size: 48px;
    }

    /* ============= footer section =============  */
    .pany-footer-top {
        gap: 40px;
    }

}

/* =========================================
   TABLET
========================================= */
@media (max-width: 991.98px) {

    :root {
        --header-height: 78px;
    }

    /* ============= header section =============  */
    .site-header .navbar {
        min-height: var(--header-height);
    }

    .brand-logo {
        width: 150px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 18px;
        border: 1px solid var(--pany-border);
        border-radius: 20px;
        background: var(--pany-white);
        box-shadow: var(--shadow-sm);
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 3px;
    }

    .nav-link {
        padding: 12px 8px !important;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-nav .pany-btn {
        width: 100%;
        margin-top: 8px;
    }

    /* ============= hero section =============  */
    .pany-hero {
        min-height: auto;
        padding-bottom: 90px;
    }

    .pany-hero::before {
        width: 100%;
        height: 44%;
        top: auto;
        bottom: 0;
        clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
    }

    .pany-hero-content {
        max-width: 760px;
        margin: 0 auto;
        padding: 80px 0 60px;
        text-align: center;
    }

    .pany-hero-kicker,
    .pany-hero-actions {
        justify-content: center;
    }

    .pany-hero-title {
        margin-left: auto;
        margin-right: auto;
        font-size: 68px;
    }

    .pany-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .pany-hero-meta {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .pany-decision-panel {
        max-width: 500px;
        margin: 0 auto;
    }

    /* ============= loan section =============  */
    .pany-path-section {
        padding: 90px 0;
    }

    .pany-section-copy {
        max-width: 600px;
        margin: 20px 0 0;
    }

    .pany-path-tabs {
        grid-template-columns: repeat(5, minmax(135px, 1fr));
        overflow-x: auto;
    }

    .pany-path-tab {
        min-width: 135px;
    }

    .pany-path-detail {
        grid-template-columns: 1fr;
    }

    .pany-path-detail-left {
        padding: 45px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .pany-path-detail-right {
        padding: 40px 0;
    }

    /* ============= process section =============  */
    .pany-process-section {
        padding: 90px 0;
    }

    .pany-process-intro {
        position: static;
        max-width: 680px;
        margin-bottom: 35px;
    }

    .pany-process-title {
        max-width: 620px;
    }

    .pany-process-copy {
        max-width: 600px;
    }

    .pany-process-route {
        padding-left: 40px;
    }

    /* ============= about section =============  */
    .pany-why-section {
        padding: 90px 0;
    }

    .pany-why-left {
        max-width: 700px;
        margin-bottom: 20px;
    }

    .pany-why-copy {
        max-width: 620px;
    }

    .pany-why-mark {
        max-width: 520px;
    }

    /* ============= resources section =============  */
    .pany-resources-section {
        padding: 90px 0;
    }

    .pany-resources-copy {
        max-width: 600px;
        margin: 20px 0 0;
    }

    .pany-resource-row {
        grid-template-columns: 65px 90px 1fr 55px;
    }

    /* ============= faq section =============  */
    .pany-faq-section {
        padding: 90px 0;
    }

    .pany-faq-intro {
        position: static;
        max-width: 650px;
        margin-bottom: 30px;
    }

    .pany-faq-copy {
        max-width: 600px;
    }

    /* ============= cta section =============  */
    .pany-final-cta {
        padding-top: 65px;
    }

    .pany-final-wrap {
        min-height: auto;
        padding: 48px 40px;
    }

    .pany-final-wrap::after {
        display: none;
    }

    .pany-final-action {
        max-width: 280px;
        margin: 15px 0 0;
    }

    /* ============= footer section =============  */
    .pany-footer {
        padding-top: 70px;
    }

    .pany-footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 45px 35px;
    }

    .pany-footer-start {
        grid-column: 1 / -1;
        max-width: none;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pany-footer-start h3 {
        margin-bottom: 0;
    }

    /* ============= modal section =============  */
    .pany-application-modal {
        --bs-modal-width: 760px;
    }

    .pany-app-layout {
        grid-template-columns: 1fr;
    }

    .pany-app-sidebar {
        display: none;
    }

    .pany-app-workspace {
        padding: 30px 30px 0;
    }

    .pany-app-mobile-progress {
        display: block;
        margin-bottom: 28px;
    }

    .pany-app-mobile-progress>span {
        display: block;
        margin-bottom: 8px;
        color: var(--pany-green-dark);
        font-size: 8px;
        font-weight: 800;
    }

    .pany-app-mobile-track {
        width: 100%;
        height: 4px;
        background: var(--pany-border);
    }

    .pany-app-mobile-fill {
        width: 25%;
        height: 100%;
        background: var(--pany-green);
        transition: width 0.4s ease;
    }

}

/* =========================================
   SMALL TABLET
========================================= */
@media (max-width: 767.98px) {

    /* ============= hero section =============  */
    .pany-hero-content {
        padding-top: 60px;
    }

    .pany-hero-title {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .pany-hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .pany-hero-primary {
        width: 100%;
        max-width: 330px;
    }

    .pany-hero-meta {
        grid-template-columns: 1fr;
        gap: 13px;
        max-width: 380px;
    }

    .pany-hero-meta>div {
        display: flex;
        align-items: center;
        gap: 15px;
        padding-top: 14px;
    }

    .pany-hero-meta span {
        max-width: none;
    }

    /* ============= loan section =============  */
    .pany-path-section {
        padding: 80px 0;
    }

    .pany-section-title {
        font-size: 44px;
    }

    .pany-path-tab {
        min-height: 96px;
    }

    .pany-path-tab-text {
        font-size: 15px;
    }

    .pany-path-detail-left h3 {
        font-size: 32px;
    }

    .pany-path-graphic {
        min-height: 220px;
    }

    /* ============= process section =============  */
    .pany-process-section {
        padding: 80px 0;
    }

    .pany-process-title {
        font-size: 43px;
    }

    .pany-process-step {
        grid-template-columns: 75px 1fr auto;
        gap: 20px;
    }

    .pany-process-number {
        font-size: 46px;
    }

    .pany-process-step-content h3 {
        font-size: 21px;
    }

    /* ============= about section =============  */
    .pany-why-section {
        padding: 80px 0;
    }

    .pany-why-title {
        font-size: 46px;
    }

    .pany-why-item {
        grid-template-columns: 55px 1fr;
        gap: 20px;
    }

    .pany-why-item-content h3 {
        font-size: 21px;
    }

    /* ============= resources section =============  */
    .pany-resources-section {
        padding: 80px 0;
    }

    .pany-resources-title {
        font-size: 44px;
    }

    .pany-resource-row {
        grid-template-columns: 55px 1fr 50px;
        gap: 18px;
    }

    .pany-resource-topic {
        display: none;
    }

    .pany-resource-content h3 {
        font-size: 20px;
    }

    /* ============= faq section =============  */
    .pany-faq-section {
        padding: 80px 0;
    }

    .pany-faq-title {
        font-size: 43px;
    }

    .pany-faq-item .accordion-button {
        grid-template-columns: 44px 1fr 40px;
        gap: 14px;
        font-size: 16px;
    }

    .pany-faq-item .accordion-button::after {
        width: 38px;
        height: 38px;
    }

    .pany-faq-item .accordion-body {
        padding: 0 55px 24px 58px;
        font-size: 12px;
    }

    /* ============= cta section =============  */
    .pany-final-cta {
        padding-top: 50px;
    }

    .pany-final-wrap {
        padding: 42px 30px;
    }

    .pany-final-wrap h2 {
        max-width: 560px;
        font-size: 41px;
    }

    .pany-final-action {
        width: 100%;
        max-width: 310px;
    }

    /* ============= footer section =============  */
    .pany-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 42px 30px;
    }

    .pany-footer-brand {
        grid-column: 1 / -1;
    }

    .pany-footer-start {
        grid-column: 1 / -1;
        align-items: flex-start;
    }

    .pany-footer-bottom {
        grid-template-columns: 1fr auto;
    }

    .pany-footer-bottom-links {
        display: none;
    }

    /* ============= modal section =============  */
    .pany-purpose-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ============= legal section =============  */
    .pany-legal-header {
        min-height: 90px;
        padding: 20px 22px;
    }

    .pany-legal-header h2 {
        font-size: 24px;
    }

    .pany-legal-body {
        padding: 24px 24px 30px;
    }

    .pany-legal-contact {
        align-items: flex-start;
    }

    .pany-legal-contact>div {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .pany-privacy-action {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 575.98px) {

    /* ============= header section =============  */
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-logo {
        width: 138px;
    }

    .custom-toggler {
        width: 44px;
        height: 44px;
    }

    /* ============= hero section =============  */
    .pany-hero {
        padding-bottom: 70px;
    }

    .pany-hero-title {
        font-size: 43px;
        line-height: 1.02;
        letter-spacing: -2px;
    }

    .pany-hero-text {
        font-size: 14px;
    }

    .pany-decision-panel {
        padding: 30px 22px;
        box-shadow: 12px 16px 0 rgba(102, 204, 0, 0.14);
    }

    .pany-decision-panel h2 {
        font-size: 23px;
    }

    .pany-panel-amount strong {
        font-size: 48px;
    }

    .pany-panel-number {
        font-size: 58px;
    }

    /* ============= loan section =============  */
    .pany-path-section {
        padding: 70px 0;
    }

    .pany-section-title {
        font-size: 38px;
        letter-spacing: -1.8px;
    }

    .pany-path-detail-left {
        padding: 35px 0;
    }

    .pany-path-detail-left h3 {
        font-size: 28px;
    }

    .pany-path-detail-left p {
        font-size: 12px;
    }

    .pany-path-action {
        width: 100%;
    }

    .pany-path-node {
        width: 68px;
        height: 68px;
        font-size: 23px;
    }

    .pany-path-arrow-shape {
        width: 85px;
        height: 85px;
    }

    /* ============= process section =============  */
    .pany-process-section {
        padding: 70px 0;
    }

    .pany-process-title {
        font-size: 38px;
        letter-spacing: -1.8px;
    }

    .pany-process-start {
        width: 100%;
    }

    .pany-process-route {
        padding-left: 25px;
    }

    .pany-process-rail {
        left: 0;
    }

    .pany-process-step {
        grid-template-columns: 55px 1fr;
        gap: 14px;
        min-height: auto;
        padding: 28px 0;
    }

    .pany-process-number {
        font-size: 36px;
    }

    .pany-process-step-content h3 {
        font-size: 18px;
    }

    .pany-process-step-content p {
        font-size: 12px;
    }

    .pany-process-arrow {
        display: none;
    }

    /* ============= about section =============  */
    .pany-why-section {
        padding: 70px 0;
    }

    .pany-why-title {
        font-size: 39px;
        letter-spacing: -2px;
    }

    .pany-why-mark {
        min-height: 125px;
        padding: 24px 22px;
    }

    .pany-why-mark strong {
        font-size: 62px;
    }

    .pany-why-item {
        grid-template-columns: 45px 1fr;
        padding: 28px 0;
    }

    .pany-why-item-no {
        font-size: 28px;
    }

    .pany-why-item-content h3 {
        font-size: 18px;
    }

    .pany-why-item-content p {
        font-size: 12px;
    }

    /* ============= resources section =============  */
    .pany-resources-section {
        padding: 70px 0;
    }

    .pany-resources-title {
        font-size: 38px;
        letter-spacing: -1.8px;
    }

    .pany-resource-row {
        grid-template-columns: 45px 1fr;
        min-height: auto;
        padding: 25px 0;
    }

    .pany-resource-number {
        font-size: 28px;
    }

    .pany-resource-icon {
        display: none;
    }

    .pany-resource-content h3 {
        font-size: 18px;
    }

    .pany-resource-content p {
        font-size: 12px;
    }

    .pany-resource-note {
        align-items: flex-start;
        margin-top: 30px;
        padding: 14px 16px;
    }

    /* ============= faq section =============  */
    .pany-faq-section {
        padding: 70px 0;
    }

    .pany-faq-title {
        font-size: 38px;
        letter-spacing: -1.8px;
    }

    .pany-faq-item .accordion-button {
        grid-template-columns: 34px 1fr 36px;
        gap: 10px;
        padding: 22px 0;
        font-size: 14px;
        line-height: 1.45;
    }

    .pany-faq-number {
        font-size: 14px;
    }

    .pany-faq-item .accordion-button::after {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .pany-faq-item .accordion-body {
        padding: 0 45px 21px 44px;
        font-size: 11px;
    }

    /* ============= cta section =============  */
    .pany-final-cta {
        padding-top: 40px;
    }

    .pany-final-wrap {
        padding: 38px 22px;
    }

    .pany-final-wrap h2 {
        font-size: 35px;
        letter-spacing: -1.8px;
    }

    .pany-final-wrap p {
        font-size: 12px;
    }

    .pany-final-action {
        max-width: none;
    }

    .pany-final-button {
        width: 100%;
        min-width: 0;
    }

    /* ============= footer section =============  */
    .pany-footer {
        padding: 58px 0 22px;
    }

    .pany-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 38px 22px;
        padding-bottom: 42px;
    }

    .pany-footer-start {
        display: block;
    }

    .pany-footer-start h3 {
        margin-bottom: 18px;
    }

    .pany-footer-disclosure {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 0;
    }

    .pany-footer-bottom {
        min-height: 60px;
    }

    /* ============= modal section =============  */
    .pany-application-modal .modal-dialog {
        margin: 8px;
        padding: 0;
    }

    .pany-app-header {
        min-height: 66px;
        padding: 12px 15px;
    }

    .pany-app-logo img {
        width: 130px;
    }

    .pany-app-workspace {
        padding: 24px 18px 0;
    }

    .pany-app-step-head h2 {
        font-size: 25px;
    }

    .pany-app-form-grid {
        grid-template-columns: 1fr;
    }

    .pany-purpose-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .pany-app-review {
        grid-template-columns: 1fr;
    }

    .pany-app-footer {
        padding-bottom: 18px;
    }

    .pany-app-disclosure {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 18px;
    }

    .pany-app-disclosure-mark {
        margin-bottom: 2px;
    }

    .pany-app-legal-links {
        flex-wrap: wrap;
    }

    .pany-app-consent-text {
        font-size: 9px;
    }

    .pany-app-success {
        padding: 35px 0;
    }

    .pany-app-success-icon {
        width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .pany-app-success h2 {
        font-size: 27px;
    }

    .pany-app-success-summary {
        grid-template-columns: 1fr;
    }

    .pany-app-success-close {
        width: 100%;
        justify-content: center;
    }

    /* ============= legal section =============  */
    .pany-legal-modal .modal-dialog {
        margin: 8px;
        padding: 0;
    }

    .pany-legal-modal .modal-content {
        max-height: 94vh;
    }

    .pany-legal-header {
        min-height: 82px;
        padding: 17px 18px;
    }

    .pany-legal-header h2 {
        font-size: 21px;
    }

    .pany-legal-close {
        width: 38px;
        height: 38px;
    }

    .pany-legal-body {
        padding: 20px 18px 25px;
    }

    .pany-legal-intro {
        padding: 18px;
    }

    .pany-legal-section {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        padding: 21px 0;
    }

    .pany-legal-number {
        font-size: 18px;
    }

    .pany-legal-section h3 {
        font-size: 14px;
    }

    .pany-legal-section p {
        font-size: 10px;
    }

    .pany-legal-contact {
        display: block;
        padding: 18px;
    }

    .pany-legal-contact>span {
        display: block;
        margin-bottom: 9px;
    }

    .pany-legal-contact>div {
        align-items: flex-start;
    }

    .pany-privacy-action {
        padding: 20px 18px;
    }

    .pany-privacy-button {
        width: 100%;
        justify-content: space-between;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 399.98px) {

    /* ============= header section =============  */
    .brand-logo {
        width: 128px;
    }

    .custom-toggler {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    /* ============= hero section =============  */
    .pany-hero-title {
        font-size: 38px;
    }

    .pany-hero-kicker {
        font-size: 8px;
    }

    .pany-decision-panel {
        padding: 27px 18px;
    }

    /* ============= cta section =============  */
    .pany-final-wrap {
        padding:
            34px 18px;
    }

    .pany-final-wrap h2 {
        font-size: 31px;
    }

    /* ============= footer section =============  */
    .pany-footer-top {
        grid-template-columns: 1fr;
    }

    .pany-footer-brand,
    .pany-footer-start {
        grid-column: auto;
    }

}