/* Privilege Network — brand theme (navy / green / gold) */
:root {
    --pn-navy: #0A2540;
    --pn-navy-deep: #06182B;
    --pn-green: #2E7D32;
    --pn-green-light: #43A047;
    --pn-lime: #7CB342;
    --pn-gold: #F5C518;
    --pn-white: #FFFFFF;
    --pn-muted: #6B7280;
    --pn-border: #E5E7EB;
    --pn-surface: #F7F9FC;
    --pn-sidebar-width: 260px;
    --pn-radius: 14px;
    --pn-radius-sm: 6px;
    --pn-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
    --pn-header-h: 72px;
    --pn-font: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--pn-font);
    color: var(--pn-navy);
    background: var(--pn-surface);
    min-height: 100vh;
}

body.front-body {
    background: var(--pn-white);
    padding-top: 0;
}

a { color: var(--pn-green); text-decoration: none; }
a:hover { color: var(--pn-green-light); }

.btn-pn-primary {
    background: var(--pn-green);
    border-color: var(--pn-green);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
}
.btn-pn-primary:hover,
.btn-pn-primary:focus {
    background: var(--pn-green-light);
    border-color: var(--pn-green-light);
    color: #fff;
}

.btn-pn-outline {
    border: 1.5px solid var(--pn-navy);
    color: var(--pn-navy);
    background: transparent;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
}
.btn-pn-outline:hover {
    background: var(--pn-navy);
    color: #fff;
}

.btn-pn-ghost {
    border: 1.5px solid rgba(255,255,255,.75);
    color: #fff;
    background: transparent;
    border-radius: 999px;
    min-height: 44px;
}
.btn-pn-ghost:hover { background: #fff; color: var(--pn-navy); }

.pn-card {
    background: var(--pn-white);
    border: 1px solid var(--pn-border);
    border-radius: var(--pn-radius);
    box-shadow: var(--pn-shadow);
}

.block-title {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--pn-muted);
}

/* Auth */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at top right, rgba(46,125,50,.18), transparent 40%),
        linear-gradient(160deg, #f7faf8 0%, #eef3f8 45%, #e8f0ea 100%);
}
.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px;
}
.auth-logo {
    width: min(180px, 55%);
    height: auto;
    display: block;
    margin: 0 auto 16px;
}
.auth-card h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    text-align: center;
    margin-bottom: 4px;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--pn-muted);
    margin-bottom: 20px;
    font-size: .95rem;
}
.form-control, .form-select {
    min-height: 44px;
    border-radius: 10px;
    font-size: 16px;
}
.form-label { font-weight: 600; font-size: .9rem; }

/* Admin layout */
.admin-wrapper { min-height: 100vh; }
.admin-sidebar {
    width: var(--pn-sidebar-width);
    background: var(--pn-navy);
    color: #fff;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.admin-sidebar.open { transform: translateX(0); }
.admin-sidebar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar .brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
}
.admin-sidebar .brand span {
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.82);
    border-radius: 10px;
    margin: 2px 10px;
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(46,125,50,.35);
    color: #fff;
}
.admin-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--pn-border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.admin-content {
    padding: 16px;
    flex: 1;
}
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 24, 43, .45);
    z-index: 1035;
}
.sidebar-backdrop.show { display: block; }

@media (min-width: 768px) {
    .admin-sidebar { transform: translateX(0); }
    .admin-main { margin-left: var(--pn-sidebar-width); }
    .sidebar-backdrop { display: none !important; }
    #sidebarToggle { display: none; }
}

/* Portal layout (merchant/group/member) */
.portal-topnav {
    background: var(--pn-navy);
    color: #fff;
}
.portal-topnav .navbar-brand,
.portal-topnav .nav-link { color: #fff; }
.portal-topnav .nav-link:hover { color: var(--pn-gold); }
.portal-body { padding: 16px; }

/* ========== Front marketing layout (exact mockup) ========== */
.front-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--pn-white);
    border-bottom: 1px solid var(--pn-border);
}

.front-nav {
    background: var(--pn-white);
    min-height: var(--pn-header-h);
    padding-top: 0;
    padding-bottom: 0;
}

.front-nav__inner {
    min-height: var(--pn-header-h);
}

.front-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-right: 8px;
}

.front-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.front-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    letter-spacing: .04em;
}

.front-brand__privilege {
    font-size: .78rem;
    font-weight: 800;
    color: var(--pn-navy);
}

.front-brand__network {
    font-size: .72rem;
    font-weight: 700;
    color: var(--pn-green);
    position: relative;
    padding-inline: 0;
}

.front-brand__network::before,
.front-brand__network::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 1px;
    background: var(--pn-green);
    vertical-align: middle;
    margin: 0 4px;
}

.front-nav__toggler {
    border: 0;
    color: var(--pn-navy);
    font-size: 1.75rem;
    padding: 4px 8px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
}

.front-nav__toggler:focus {
    box-shadow: none;
}

.front-nav__links {
    gap: 0;
}

.front-nav .nav-link {
    color: var(--pn-navy);
    font-weight: 600;
    font-size: .92rem;
    padding: 10px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    width: fit-content;
}

.front-nav .nav-link:hover {
    color: var(--pn-green);
}

.front-nav .nav-link.active {
    color: var(--pn-navy);
}

.front-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: var(--pn-green);
    border-radius: 2px;
}

.btn-front-login,
.btn-front-register,
.btn-front-member,
.btn-front-merchant {
    border-radius: var(--pn-radius-sm);
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-front-login {
    border: 1.5px solid var(--pn-green);
    color: var(--pn-green);
    background: transparent;
}

.btn-front-login:hover {
    background: rgba(46, 125, 50, .08);
    color: var(--pn-green);
    border-color: var(--pn-green);
}

.btn-front-register {
    border: 1.5px solid var(--pn-green);
    background: var(--pn-green);
    color: #fff;
}

.btn-front-register:hover {
    background: var(--pn-green-light);
    border-color: var(--pn-green-light);
    color: #fff;
}

.btn-front-member,
.btn-front-merchant {
    text-transform: uppercase;
    letter-spacing: .03em;
}

.btn-front-member {
    border: 1.5px solid var(--pn-green);
    background: var(--pn-green);
    color: #fff;
}

.btn-front-member:hover {
    background: var(--pn-green-light);
    border-color: var(--pn-green-light);
    color: #fff;
}

.btn-front-merchant {
    border: 1.5px solid rgba(255, 255, 255, .85);
    background: transparent;
    color: #fff;
}

.btn-front-merchant:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: #fff;
}

/* Hero — navy content pane + full-bleed photo on the right (mockup split) */
.front-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: clamp(520px, 78vh, 640px);
    display: flex;
    align-items: stretch;
    background: var(--pn-navy-deep);
}

.front-hero__media {
    position: absolute;
    inset: 0;
    background: url('../img/hero-couple.jpg') center center / cover no-repeat;
    z-index: 0;
}

.front-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Mobile: readable overlay across; desktop: strong left pane, clear photo right */
    background:
        linear-gradient(
            180deg,
            rgba(6, 24, 43, .88) 0%,
            rgba(6, 24, 43, .78) 55%,
            rgba(6, 24, 43, .9) 100%
        );
}

.front-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-hero__content {
    max-width: 560px;
}

.front-hero__accent {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--pn-green);
    border-radius: 2px;
    margin-bottom: 18px;
}

.front-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.12;
    margin: 0 0 16px;
    color: #fff;
}

.front-hero__title-accent {
    color: var(--pn-lime);
}

.front-hero__lead {
    max-width: 42ch;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.55;
    margin: 0 0 24px;
}

.front-hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.front-hero__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.front-hero__stats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .92);
}

.front-hero__stats strong {
    font-weight: 800;
    margin-right: 4px;
}

.front-hero__stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1rem;
}

.front-offer-card {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--pn-navy);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 12px 32px rgba(6, 24, 43, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.front-offer-card:hover {
    color: var(--pn-navy);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(6, 24, 43, .28);
}

.front-offer-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pn-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.front-offer-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.front-offer-card__body strong {
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.25;
}

.front-offer-card__body span {
    font-size: .8rem;
    color: var(--pn-muted);
    line-height: 1.3;
}

.front-offer-card__chevron {
    color: var(--pn-muted);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Sections */
.front-section {
    padding: 56px 0;
    background: var(--pn-white);
}

.front-section--categories {
    padding-top: 8px;
    padding-bottom: 64px;
}

.front-section__title {
    text-align: center;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pn-navy);
    margin: 40px 0 12px;
    position: relative;
    padding-bottom: 14px;
}

.front-section__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 42px;
    height: 3px;
    background: var(--pn-green);
    border-radius: 2px;
}

/* How it works */
.how-steps {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    position: relative;
}

.how-steps__item {
    text-align: center;
    max-width: 240px;
    margin-inline: auto;
}

.how-steps__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--pn-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

.how-steps__label {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--pn-navy);
}

.how-steps__text {
    margin: 0;
    font-size: .9rem;
    color: var(--pn-muted);
    line-height: 1.45;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 36px 0 28px;
}

.category-card {
    background: #fff;
    border: 1px solid var(--pn-border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 37, 64, .05);
    padding: 24px 16px 20px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 37, 64, .1);
}

.category-card__icon {
    display: inline-flex;
    color: var(--pn-green);
    font-size: 1.85rem;
    margin-bottom: 10px;
}

.category-card__name {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--pn-navy);
}

.category-card__meta {
    margin: 0;
    font-size: .85rem;
    color: var(--pn-muted);
}

/* Footer */
.front-footer {
    background: var(--pn-navy-deep);
    color: rgba(255, 255, 255, .82);
    padding: 48px 0 28px;
}

.front-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 12px;
}

.front-footer__brand:hover {
    color: #fff;
}

.front-footer__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
}

.front-footer__brand-text {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.1;
}

.front-footer__brand-network {
    color: var(--pn-lime);
}

.front-footer__tagline {
    margin: 0 0 16px;
    font-size: .92rem;
    max-width: 26ch;
}

.front-footer__heading {
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.front-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-footer__links li + li {
    margin-top: 8px;
}

.front-footer__links a {
    color: rgba(255, 255, 255, .75);
    font-size: .88rem;
}

.front-footer__links a:hover {
    color: #fff;
}

.front-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.front-footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.front-footer__social-link:hover {
    background: var(--pn-green);
    color: #fff;
}

.front-footer__apps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.front-footer__app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .2);
    max-width: 180px;
}

.front-footer__app-badge:hover {
    color: #fff;
    background: #111;
}

.front-footer__app-badge i {
    font-size: 1.35rem;
    line-height: 1;
}

.front-footer__app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-size: .85rem;
    font-weight: 700;
}

.front-footer__app-badge small {
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .04em;
    opacity: .85;
}

.front-footer__copy {
    margin: 0;
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
}

.front-footer__copy--mobile {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Inner page offset under sticky header */
.front-main > section.py-5:first-child,
.front-page-pad {
    padding-top: 40px !important;
}

@media (min-width: 576px) {
    .front-hero__ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .category-grid {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .front-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 28px;
    }

    .front-offer-card {
        left: auto;
        right: max(16px, calc((100% - 720px) / 2));
        bottom: 28px;
        width: min(420px, calc(100% - 48px));
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .front-nav .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
    }

    .front-nav__links .nav-link {
        padding-inline: 10px;
    }

    .front-hero {
        min-height: 600px;
    }

    .front-hero__container {
        padding-top: 56px;
        padding-bottom: 72px;
        min-height: 600px;
    }

    /* Desktop: photo owns the right ~55%; soft blend into navy content pane */
    .front-hero__media {
        left: 38%;
        background-position: 45% center;
    }

    .front-hero__shade {
        background:
            linear-gradient(
                90deg,
                #06182B 0%,
                #06182B 38%,
                rgba(6, 24, 43, .85) 46%,
                rgba(6, 24, 43, .35) 56%,
                rgba(6, 24, 43, 0) 68%
            );
    }

    .front-offer-card {
        right: max(24px, calc((100% - 960px) / 2));
        bottom: 36px;
        width: 400px;
    }

    .how-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-top: 48px;
    }

    /* Dotted connector across steps (desktop) */
    .how-steps::before {
        content: "";
        position: absolute;
        top: 36px;
        left: 12%;
        right: 12%;
        border-top: 2px dotted #D1D5DB;
        z-index: 0;
    }

    .how-steps__item {
        position: relative;
        z-index: 1;
        max-width: none;
    }

    .how-steps__icon {
        position: relative;
        background: #F3F4F6;
        box-shadow: 0 0 0 10px #fff;
    }

    .front-section {
        padding: 72px 0;
    }

    .front-section--categories {
        padding-top: 12px;
        padding-bottom: 80px;
    }

    .front-section__title {
        margin-top: 8px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1200px) {
    .front-offer-card {
        right: max(24px, calc((100% - 1140px) / 2));
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .admin-content { padding: 20px 24px; }
}

/* Skeleton dashboard widgets */
.dash-stat {
    background: #fff;
    border-radius: var(--pn-radius);
    box-shadow: var(--pn-shadow);
    padding: 16px;
    border: 1px solid var(--pn-border);
}
.dash-stat .label {
    color: var(--pn-muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.dash-stat .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pn-navy);
}
.table-pn {
    width: 100%;
    table-layout: auto;
}
.table-pn th, .table-pn td { vertical-align: middle; }
.col-fit { width: 1%; white-space: nowrap; }

/* ========== Front inner pages (header/footer destinations) ========== */
.front-page-hero {
    background:
        radial-gradient(circle at top right, rgba(46, 125, 50, .22), transparent 42%),
        linear-gradient(135deg, #06182B 0%, #0A2540 55%, #0d3a28 100%);
    color: #fff;
    padding: 48px 0 40px;
}

.front-page-hero--green {
    background:
        radial-gradient(circle at top right, rgba(245, 197, 24, .18), transparent 40%),
        linear-gradient(135deg, #0A2540 0%, #1b5e20 70%, #2E7D32 100%);
}

.front-page-hero__eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pn-lime);
}

.front-page-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 18ch;
}

.front-page-hero__lead {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.55;
}

.front-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.front-page-hero .btn-front-login {
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
}

.front-page-hero .btn-front-login:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: #fff;
}

.front-inner-section {
    padding: 48px 0;
    background: #fff;
}

.front-inner-section--muted {
    background: var(--pn-surface);
}

.front-inner-heading {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--pn-navy);
}

.front-inner-lead {
    margin: 0;
    color: var(--pn-muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

.front-feature-tile {
    background: #fff;
    border: 1px solid var(--pn-border);
    border-radius: 12px;
    padding: 18px 16px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(10, 37, 64, .04);
}

.front-feature-tile__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, .1);
    color: var(--pn-green);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.front-feature-tile h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.front-feature-tile p {
    margin: 0;
    font-size: .9rem;
    color: var(--pn-muted);
    line-height: 1.4;
}

.front-step-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--pn-border);
    padding: 22px 18px;
    height: 100%;
}

.front-step-card__n {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--pn-green);
    margin-bottom: 8px;
}

.front-step-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.front-step-card p {
    margin: 0;
    color: var(--pn-muted);
    font-size: .92rem;
}

.front-cta-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    background: var(--pn-navy);
    color: #fff;
    border-radius: 14px;
    padding: 28px 24px;
}

.front-cta-band h2 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    margin: 0 0 8px;
}

.front-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    max-width: 48ch;
}

.front-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.front-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.front-check-list i {
    color: var(--pn-green);
    font-size: 1.25rem;
    margin-top: 2px;
}

.front-check-list strong {
    display: block;
    margin-bottom: 2px;
}

.front-check-list span {
    color: var(--pn-muted);
    font-size: .95rem;
}

.front-form-card,
.front-contact-aside {
    background: #fff;
    border: 1px solid var(--pn-border);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 6px 18px rgba(10, 37, 64, .05);
}

.front-contact-aside a {
    color: var(--pn-navy);
    font-weight: 600;
}

.front-accordion .accordion-item {
    border: 1px solid var(--pn-border);
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.front-accordion .accordion-button {
    font-weight: 700;
    color: var(--pn-navy);
    box-shadow: none;
}

.front-accordion .accordion-button:not(.collapsed) {
    background: rgba(46, 125, 50, .08);
    color: var(--pn-navy);
}

.front-partner-card,
.front-blog-card,
.front-quote-card {
    background: #fff;
    border: 1px solid var(--pn-border);
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(10, 37, 64, .04);
}

.front-partner-card {
    text-align: center;
}

.front-partner-card__logo {
    max-height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.front-partner-card__placeholder {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pn-surface);
    border-radius: 10px;
    color: var(--pn-muted);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.front-partner-card__name {
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.front-blog-card__meta {
    font-size: .8rem;
    color: var(--pn-muted);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.front-blog-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.front-blog-card__title a {
    color: var(--pn-navy);
}

.front-blog-card__excerpt {
    color: var(--pn-muted);
    font-size: .92rem;
    margin: 0 0 12px;
}

.front-blog-card__link {
    font-weight: 700;
    font-size: .9rem;
}

.front-quote-card__stars {
    color: var(--pn-gold);
    margin-bottom: 8px;
    font-size: .95rem;
}

.front-quote-card__text {
    font-size: 1.02rem;
    line-height: 1.5;
    margin: 0 0 12px;
}

.front-prose,
.cms-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--pn-navy);
}

.front-prose h2,
.cms-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 28px 0 12px;
}

.front-prose h3,
.cms-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 22px 0 10px;
}

.front-prose p,
.cms-content p {
    margin: 0 0 14px;
}

.front-prose ul,
.cms-content ul {
    margin: 0 0 16px;
    padding-left: 1.2rem;
}

.front-prose li,
.cms-content li {
    margin-bottom: 6px;
}

.front-back-link {
    font-weight: 600;
    font-size: .9rem;
}

.front-brand__logo {
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
}

@media (min-width: 768px) {
    .front-page-hero {
        padding: 64px 0 52px;
    }

    .front-inner-section {
        padding: 64px 0;
    }

    .front-cta-band {
        flex-direction: row;
        align-items: center;
        padding: 32px 36px;
    }
}
