/* Public-facing pages (blog, future marketing pages). Layout: PublicLayout.razor. */

.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Mulish', 'Muli', sans-serif;
    color: #464646;
    background: #fff;
}

.public-header {
    border-bottom: 1px solid #DEE2E6;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.public-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    position: relative;
    gap: 1rem;
}

.public-brand img {
    height: 80px;
    width: auto;
    display: block;
}

.public-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #DEE2E6;
    border-radius: .375rem;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: border-color .15s ease;
}

.public-nav-toggle:hover {
    border-color: var(--color-primary, #00A1BE);
}

.public-nav-bar-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #464646;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.public-nav-toggle.active .public-nav-bar-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.public-nav-toggle.active .public-nav-bar-line:nth-child(2) {
    opacity: 0;
}

.public-nav-toggle.active .public-nav-bar-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.public-nav-links a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: .25rem 0;
    transition: color .15s ease;
}

.public-nav-links a:hover {
    color: var(--color-primary, #00A1BE);
}

.public-nav-links .public-nav-spacer {
    flex: 1;
}

.public-nav-links a.public-nav-link-secondary {
    background: #EDF5F5;
    color: #646464 !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border-radius: 30px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease;
    margin-left: .75rem;
}

.public-nav-links a.public-nav-link-secondary i {
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
}

.public-nav-links a.public-nav-link-secondary:hover {
    background: #DDEBEB;
    color: #464646 !important;
}

.public-nav-links a.public-nav-cta {
    background: #FF4A11;
    color: #fff !important;
    padding: .65rem 1.5rem;
    border-radius: 30px;
    transition: background .15s ease, transform .15s ease;
    line-height: 1.4;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 2px 6px rgba(255, 74, 17, .25);
}

.public-nav-links a.public-nav-cta:hover {
    background: #E03A06;
    color: #fff !important;
    transform: translateY(-1px);
}

.public-nav-links a.public-nav-cta i {
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .public-nav-toggle {
        display: flex;
    }

    .public-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-top: 1px solid #DEE2E6;
        border-bottom: 1px solid #DEE2E6;
        padding: .5rem 0;
        /* Bleed to the screen edges by exactly the container's own gutter. A hardcoded -1rem
           overshot Bootstrap's real .75rem padding by 4px each side, which pushed the whole
           public site into a horizontal scroll on every phone. Tied to the variable so it
           cannot drift again if the gutter changes. */
        margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
        margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .25s ease, opacity .15s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .04);
    }

    .public-nav-links.open {
        max-height: 80vh;
        opacity: 1;
    }

    .public-nav-links a {
        padding: .85rem 1.25rem;
        border-bottom: 1px solid #F1F3F5;
        font-size: 1rem;
    }

    .public-nav-links a:last-child {
        border-bottom: 0;
    }

    .public-nav-links a.public-nav-cta {
        margin: .5rem 1.25rem 0;
        text-align: center;
        border-radius: .375rem;
        padding: .85rem 1.25rem;
        justify-content: center;
    }

    .public-nav-links a.public-nav-link-secondary {
        margin-left: 0;
        background: transparent;
        color: #464646 !important;
        padding: .85rem 1.25rem;
        border-radius: 0;
        gap: .35rem;
    }

    .public-nav-links a.public-nav-link-secondary i {
        color: #ADB5BD;
    }
}

/* Footer */

.public-footer {
    background: #F8F9FA;
    border-top: 1px solid #DEE2E6;
    margin-top: 3rem;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.public-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-footer-col li {
    margin-bottom: .5rem;
}

.public-footer-heading {
    color: #464646;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.public-footer-col a {
    color: #6c757d;
    text-decoration: none;
    font-size: .95rem;
}

.public-footer-col a:hover {
    color: var(--color-primary, #00A1BE);
}

.public-footer-blurb {
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.public-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--color-primary, #00A1BE) !important;
    font-weight: 600;
    text-decoration: none;
}

.public-footer-cta:hover {
    color: #007E94 !important;
}

.public-footer-bottom {
    border-top: 1px solid #DEE2E6;
    background: #fff;
}

.public-footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: .75rem;
}

.public-footer-tag {
    color: #6c757d;
    font-size: .85rem;
}

.public-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    color: #6c757d;
    font-size: .85rem;
}

.public-footer-legal a {
    color: #6c757d;
    text-decoration: none;
}

.public-footer-legal a:hover {
    color: var(--color-primary, #00A1BE);
}

@media (max-width: 767.98px) {
    .public-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .public-footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
}

.public-main {
    flex: 1 0 auto;
    padding: 2rem 0;
}

/* Generic public-content pages (legal pages, articles, etc.) */

.container-narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.public-article h1 {
    font-weight: 700;
    color: #464646;
    text-align: center;
    margin: 0 0 2rem 0;
}

.public-article h2 {
    font-weight: 700;
    color: #464646;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.public-article p,
.public-article li {
    color: #464646;
    line-height: 1.7;
    font-size: 1.02rem;
}

.public-article p {
    margin-bottom: 1rem;
}

.public-article ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.public-article ul li {
    margin-bottom: .75rem;
}

.public-article p.lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: #464646;
}

.public-article a {
    color: var(--color-primary, #00A1BE);
    text-decoration: none;
}

.public-article a:hover {
    text-decoration: underline;
}

/* Public page header (used on Contact, future marketing pages) */

.public-page-header {
    background: #F8F9FA;
    border-bottom: 1px solid #DEE2E6;
    padding: 3rem 0 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.public-page-header-subtitle {
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .9rem;
    margin-bottom: .5rem;
}

.public-page-header-title {
    font-weight: 700;
    color: #464646;
    margin: 0 0 .75rem 0;
    font-size: 2.5rem;
}

.public-page-header-copy {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Public form (Contact, future signup pages) */

.public-form {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .5rem;
    padding: 2rem;
}

.public-form-heading h5 {
    font-weight: 700;
    color: #464646;
    margin-bottom: .25rem;
}

.public-form-heading p {
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.public-form-submit {
    text-align: center;
}

.public-cta-button {
    background: #FF4A11;
    color: #fff;
    border: none;
    padding: .75rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 2px 6px rgba(255, 74, 17, .25);
    transition: background .15s ease, transform .15s ease;
}

.public-cta-button:hover:not(:disabled) {
    background: #E03A06;
    transform: translateY(-1px);
}

.public-cta-button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* Pricing cards */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.pricing-card-featured {
    border: 2px solid var(--color-primary, #00A1BE);
    box-shadow: 0 4px 16px rgba(0, 161, 190, .12);
    overflow: visible;
}

.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF4A11;
    color: #fff;
    padding: .35rem 1rem;
    border-radius: 14px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 2px 6px rgba(255, 74, 17, .3);
    white-space: nowrap;
    z-index: 2;
}

.pricing-card-featured .pricing-card-header {
    border-top-left-radius: .65rem;
    border-top-right-radius: .65rem;
}

.pricing-card-header {
    background: var(--color-primary, #00A1BE);
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .03em;
}

.pricing-card-body {
    padding: 1.75rem 1.5rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #464646;
    margin-bottom: .25rem;
    line-height: 1.2;
}

.pricing-card-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
}

.pricing-card-price-custom {
    color: #D8237C;
    font-size: 1.6rem;
}

.pricing-card-included {
    text-align: center;
    color: #ADB5BD;
    font-size: .85rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.pricing-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.pricing-card-list li {
    padding: .5rem 0;
    color: #464646;
    font-size: .95rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    border-bottom: 1px solid #F1F3F5;
}

.pricing-card-list li:last-child {
    border-bottom: 0;
}

.pricing-card-list li i {
    color: var(--color-primary, #00A1BE);
    margin-top: .25rem;
    flex-shrink: 0;
}

.pricing-card-list a {
    color: var(--color-primary, #00A1BE);
    text-decoration: none;
    font-weight: 600;
}

.pricing-card-list a:hover {
    text-decoration: underline;
}

.pricing-card-cta {
    margin: 0 1.5rem 1.5rem;
    background: #00CC78;
    color: #fff !important;
    text-align: center;
    padding: .75rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background .15s ease, transform .15s ease;
    box-shadow: 0 2px 6px rgba(0, 204, 120, .25);
}

.pricing-card-cta:hover {
    background: #00A862;
    color: #fff !important;
    transform: translateY(-1px);
}

.pricing-card-featured .pricing-card-cta {
    background: #FF4A11;
    box-shadow: 0 2px 6px rgba(255, 74, 17, .25);
}

.pricing-card-featured .pricing-card-cta:hover {
    background: #E03A06;
}

.pricing-card-custom .pricing-card-cta {
    background: #D8237C;
    box-shadow: 0 2px 6px rgba(216, 35, 124, .25);
}

.pricing-card-custom .pricing-card-cta:hover {
    background: #B61C68;
}

@media (max-width: 991.98px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Features page */

.feat-hero {
    background: linear-gradient(135deg, #F8F9FA 0%, #E5F4F7 100%);
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.feat-hero-content {
    max-width: 880px;
    margin: 0 auto;
}

.feat-hero-eyebrow {
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .9rem;
    margin: 0 0 .75rem 0;
}

.feat-hero-title {
    font-weight: 700;
    color: #464646;
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 1rem 0;
}

.feat-hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    color: #464646;
    margin: 0 0 1rem 0;
}

.feat-hero-copy {
    font-size: 1.05rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.feat-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.feat-cta-primary,
.feat-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease, color .15s ease;
}

.feat-cta-primary {
    background: var(--color-primary, #00A1BE);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 161, 190, .3);
}

.feat-cta-primary:hover {
    background: #007E94;
    color: #fff;
    transform: translateY(-1px);
}

.feat-cta-secondary {
    background: #FF4A11;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 74, 17, .3);
}

.feat-cta-secondary:hover {
    background: #E03A06;
    color: #fff;
    transform: translateY(-1px);
}

.feat-hero-disclaimer {
    color: #6c757d;
    font-size: .85rem;
    margin-top: .25rem;
}

.feat-hero-disclaimer.text-white {
    color: rgba(255, 255, 255, .85);
}

/* One dominant ask. The old hero ran Try It Free and Get A Demo as two equal buttons, which makes
   the reader choose instead of act; the demo is now a quiet text link under the button. */

.feat-cta-hero {
    padding: 1.05rem 2.5rem;
    font-size: 1.1rem;
}

.feat-hero-demo-link {
    color: #6c757d;
    text-decoration: underline;
    font-weight: 600;
}

.feat-hero-demo-link:hover {
    color: var(--color-primary, #00A1BE);
}

.feat-hero-demo-link-on-dark {
    color: #fff;
}

.feat-hero-demo-link-on-dark:hover {
    color: #fff;
    opacity: .85;
}

/* Product shot: the reader has to SEE that the grant writer sits inside the CRM. That is the
   argument, and eleven text cards were making it in words only. */

.feat-shot {
    max-width: 980px;
    margin: 3rem auto 0;
    text-align: center;
}

.feat-shot img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #DEE2E6;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .13);
}

.feat-shot figcaption {
    color: #6c757d;
    font-size: .9rem;
    margin-top: .9rem;
}

/* The differentiator */

.feat-numbers {
    background: #fff;
    border-top: 1px solid #DEE2E6;
    border-bottom: 1px solid #DEE2E6;
    padding: 4rem 0;
}

.feat-numbers-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.feat-numbers-eyebrow {
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
    margin: 0 0 .6rem 0;
}

.feat-numbers-title {
    font-weight: 700;
    color: #464646;
    font-size: 2.25rem;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
}

.feat-numbers-copy {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
}

.feat-numbers-kicker {
    font-size: 1.05rem;
    font-weight: 600;
    color: #464646;
    margin: 0;
}

@media (max-width: 767px) {
    .feat-numbers {
        padding: 2.75rem 0;
    }

    .feat-numbers-title {
        font-size: 1.75rem;
    }

    .feat-shot {
        margin-top: 2rem;
    }
}

/* Stats ribbon */

.feat-stats {
    background: #fff;
    border-bottom: 1px solid #DEE2E6;
    padding: 2.5rem 0;
}

.feat-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.feat-stats-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary, #00A1BE);
    line-height: 1;
    margin-bottom: .25rem;
}

.feat-stats-label {
    color: #6c757d;
    font-size: .95rem;
    font-weight: 600;
}

/* Pill nav */

.feat-nav-section {
    background: #F8F9FA;
    padding: 1.25rem 0;
    position: sticky;
    /* Stick flush below the sticky .public-header, whose height is the 80px logo + .public-nav-bar's 2.5rem vertical padding + 1px border. Was a hardcoded 76px, which was shorter than the real header, so the top pill row hid behind it. */
    top: calc(80px + 2.5rem + 1px);
    z-index: 90;
    border-bottom: 1px solid #DEE2E6;
}

.feat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.feat-pill {
    background: #fff;
    color: #6c757d;
    border: 1px solid #DEE2E6;
    padding: .35rem 1rem;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.feat-pill:hover {
    background: var(--color-primary, #00A1BE);
    color: #fff;
    border-color: var(--color-primary, #00A1BE);
}

.feat-pill.active {
    background: var(--color-primary, #00A1BE);
    color: #fff;
    border-color: var(--color-primary, #00A1BE);
}

/* Feature grid */

.feat-grid-section {
    padding: 3rem 0;
    background: #fff;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .75rem;
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    /* Clear the sticky header PLUS the pill nav (which wraps to ~3 rows) so clicking a pill lands the section title below the sticky stack, not tucked under it. Was 140px. */
    scroll-margin-top: 270px;
}

.feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    border-color: var(--color-primary, #00A1BE);
}

.feat-card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #F1F3F5;
    align-items: flex-start;
}

.feat-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(0, 161, 190, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #00A1BE);
    font-size: 1.5rem;
}

.feat-card-icon-green {
    background: rgba(0, 204, 120, .1);
    color: #00CC78;
}

.feat-card-icon-orange {
    background: rgba(255, 74, 17, .1);
    color: #FF4A11;
}

.feat-card-heading {
    flex: 1;
    min-width: 0;
}

.feat-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #464646;
    margin: 0 0 .5rem 0;
    line-height: 1.2;
}

.feat-card-desc {
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}

/* One column, not two. These lists were squeezed into a 2-column grid INSIDE a card that is already
   half the page, so most points wrapped over 2-3 lines and collided with the next one. Full-width
   rows read as a list; the roomier gaps stop the check marks butting into the text. */
.feat-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.feat-card-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    color: #464646;
    font-size: .95rem;
    line-height: 1.55;
}

/* A wrapped line lines up with the text above it, not underneath the check mark. */
.feat-card-list li i {
    color: var(--color-primary, #00A1BE);
    margin-top: .34rem;
    flex-shrink: 0;
    font-size: .8rem;
}

@media (max-width: 991.98px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
    .feat-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feat-card-list {
        grid-template-columns: 1fr;
    }
    .feat-hero-title {
        font-size: 2.25rem;
    }
    .feat-stats-number {
        font-size: 2rem;
    }
}

/* Mid-page CTA */

.feat-cta-section {
    background: linear-gradient(135deg, var(--color-primary, #00A1BE) 0%, #007E94 100%);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.feat-cta-content h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feat-cta-content p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feat-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.feat-cta-primary.feat-cta-on-dark {
    background: #fff;
    color: #FF4A11;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.feat-cta-primary.feat-cta-on-dark:hover {
    background: #F1F3F5;
    color: #FF4A11;
}

.feat-cta-secondary.feat-cta-on-dark {
    background: #fff;
    color: var(--color-primary, #00A1BE);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.feat-cta-secondary.feat-cta-on-dark:hover {
    background: #F1F3F5;
    color: #007E94;
}

/* Account manager */

.feat-account-manager {
    background: #F8F9FA;
    padding: 4rem 0;
}

.feat-account-manager-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.feat-am-eyebrow {
    color: var(--color-primary, #00A1BE);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}

.feat-am-title {
    color: #464646;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.2;
}

.feat-am-title span {
    color: #FF4A11;
}

.feat-am-copy {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feat-account-manager-content > a {
    margin-top: 1rem;
}

/* Login-style screens (forgot password, etc.) */

.public-login-screen {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

.public-login-box {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .75rem;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.public-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #F1F3F5;
}

.public-login-header h1 {
    color: #464646;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.public-login-header img {
    height: 48px;
    width: auto;
}

.public-login-instructions {
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.public-login-field {
    margin-bottom: 1rem;
}

.public-login-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.public-login-actions button {
    border: none;
    cursor: pointer;
}

.public-login-cancel {
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    padding: .5rem .75rem;
}

.public-login-cancel:hover {
    color: var(--color-primary, #00A1BE);
}

.public-login-success {
    text-align: center;
    padding: 1rem 0;
}

.public-login-success i.fa-envelope-circle-check {
    color: #00CC78;
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.public-login-success p {
    color: #464646;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.public-login-success a {
    display: inline-flex;
    margin-top: .5rem;
}

/* Unsubscribe page */

.public-unsubscribe {
    padding: 3rem 0 4rem;
}

.public-unsubscribe-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.public-unsubscribe-header h1 {
    color: #FF4A11;
    font-weight: 700;
    margin: 0 0 .75rem 0;
    font-size: 2.5rem;
}

.public-unsubscribe-header h2 {
    color: #464646;
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.public-unsubscribe-header p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.public-unsubscribe-prefs {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .75rem;
    padding: 2rem;
    max-width: 560px;
    margin: 0 auto;
}

.public-unsubscribe-prefs-heading {
    text-align: center;
    font-weight: 700;
    color: #464646;
    font-size: 1.1rem;
    margin: 0 0 .5rem 0;
}

.public-unsubscribe-prefs-help {
    text-align: center;
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.public-unsubscribe-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.public-unsubscribe-list li {
    display: flex;
    /* flex-start, not center: a topic now carries a description underneath its name, so the row can
       be two lines and the checkbox must stay level with the NAME, not float to the middle of both. */
    align-items: flex-start;
    gap: .75rem;
    padding: .65rem .25rem;
    border-bottom: 1px solid #F1F3F5;
}

/* The description their nonprofit wrote for this topic. This is what makes the choice a real choice
   instead of a guess at what a database label means. */
.public-unsubscribe-topic-desc {
    display: block;
    font-size: .85rem;
    color: #6C757D;
    margin-top: .15rem;
    line-height: 1.35;
}

.public-unsubscribe-list li:last-child {
    border-bottom: 0;
}

.public-unsubscribe-list input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
    flex-shrink: 0;
    /* keeps the box optically level with the topic NAME now that the row can be two lines */
    margin-top: .1rem;
    accent-color: var(--color-primary, #00A1BE);
}

.public-unsubscribe-list label {
    color: #464646;
    cursor: pointer;
    font-size: 1rem;
    margin: 0;
    flex: 1;
}

.public-unsubscribe-submit {
    text-align: center;
}

.public-unsubscribe-submit button {
    border: none;
    cursor: pointer;
}

.public-unsubscribe-submit button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.public-unsubscribe-submit-hint {
    color: #6c757d;
    font-size: .85rem;
    margin: .65rem 0 0 0;
}

/* Public FAQ accordion */

.public-faq-section {
    background: #F8F9FA;
    padding: 3.5rem 0 4rem;
    border-top: 1px solid #DEE2E6;
}

.public-faq-title {
    text-align: center;
    font-weight: 700;
    color: #464646;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.public-faqs {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.public-faq-item {
    background: #fff;
    border: 1px solid #DEE2E6;
    border-radius: .5rem;
    overflow: hidden;
    transition: box-shadow .15s ease;
}

.public-faq-item[open] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.public-faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #464646;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-faq-question::-webkit-details-marker {
    display: none;
}

.public-faq-icon {
    color: var(--color-primary, #00A1BE);
    transition: transform .2s ease;
    flex-shrink: 0;
}

.public-faq-item[open] .public-faq-icon {
    transform: rotate(45deg);
}

.public-faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: #464646;
    line-height: 1.6;
}

.public-faq-answer p {
    margin: 0 0 .75rem 0;
}

.public-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Blog index */

.blog-card {
    border: 1px solid #DEE2E6;
    border-radius: .5rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #F8F9FA;
}

.blog-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-topic {
    font-size: .8rem;
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #464646;
    margin: 0 0 .5rem 0;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--color-primary, #00A1BE);
}

.blog-card-description {
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-meta {
    font-size: .85rem;
    color: #ADB5BD;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #F1F3F5;
    padding-top: .75rem;
}

/* Blog detail */

.blog-detail {
    max-width: 760px;
    margin: 0 auto;
}

.blog-detail-image {
    width: 100%;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #F8F9FA;
}

.blog-detail-topic {
    font-size: .85rem;
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.blog-detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #464646;
    margin: .5rem 0 1rem 0;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #DEE2E6;
}

.blog-detail-author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #F8F9FA;
}

.blog-detail-author {
    font-weight: 600;
    color: #464646;
}

.blog-detail-date {
    font-size: .9rem;
    color: #6c757d;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #464646;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: .375rem;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.blog-detail-content p {
    margin-bottom: 1rem;
}

.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-primary, #00A1BE);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.blog-detail-back:hover {
    color: #007E94;
}

/* ===== Knowledge Base (/knowledge-base) ===== */

.kb-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.kb-eyebrow {
    font-size: .85rem;
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .25rem;
}

.kb-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #464646;
    margin: 0 0 .75rem 0;
}

.kb-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    margin: 0;
}

.kb-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.kb-search {
    position: relative;
    flex: 1 1 320px;
}

.kb-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ADB5BD;
}

.kb-search-input {
    width: 100%;
    padding: .7rem 1rem .7rem 2.5rem;
    border: 1px solid #DEE2E6;
    border-radius: .5rem;
    font-size: .95rem;
    color: #464646;
    background: #fff;
}

.kb-search-input:focus {
    outline: none;
    border-color: var(--color-primary, #00A1BE);
    box-shadow: 0 0 0 3px rgba(0, 161, 190, .12);
}

.kb-category {
    flex: 0 0 240px;
}

/* The KB category filter uses the shared Argenta dropdown control (.argenta-select,
   app.css), not a native <select>, so there is no browser-blue option list. These
   rules just size it to sit in the filter row. */
.kb-category .argenta-select-btn {
    padding: .6rem .9rem;
    border-radius: .5rem;
    font-size: .95rem;
}

.kb-category .argenta-select-list {
    border-radius: .5rem;
}

.kb-search-btn {
    padding: .7rem 1.5rem;
    border: none;
    border-radius: .5rem;
    background: var(--color-primary, #00A1BE);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.kb-search-btn:hover {
    background: #007E94;
}

.kb-reset {
    padding: .7rem 1rem;
    border: none;
    background: none;
    color: #6c757d;
    font-weight: 600;
    cursor: pointer;
}

.kb-reset:hover {
    color: var(--color-primary, #00A1BE);
}

.kb-list {
    max-width: 820px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.kb-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #DEE2E6;
    border-radius: .5rem;
    background: #fff;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.kb-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
    border-color: #CDD4DA;
}

.kb-item-title {
    flex: 1;
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #464646;
    line-height: 1.35;
}

.kb-item:hover .kb-item-title {
    color: var(--color-primary, #00A1BE);
}

.kb-item-arrow {
    flex: 0 0 auto;
    color: #ADB5BD;
}

.kb-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.kb-empty i {
    color: #DEE2E6;
    display: block;
}

/* Knowledge base article */

.kb-detail {
    max-width: 820px;
    margin: 0 auto;
}

.kb-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-primary, #00A1BE);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.kb-detail-back:hover {
    color: #007E94;
}

.kb-detail-eyebrow {
    font-size: .85rem;
    color: var(--color-primary, #00A1BE);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .25rem;
}

.kb-detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #464646;
    margin: 0 0 1.5rem 0;
}

.kb-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
    border-radius: .5rem;
    overflow: hidden;
    background: #F8F9FA;
}

.kb-video iframe,
.kb-video video,
.kb-video embed,
.kb-video object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.kb-detail-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #464646;
}

.kb-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: .375rem;
}

.kb-detail-content h2,
.kb-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.kb-detail-content p {
    margin-bottom: 1rem;
}

/* ===== Sign Up (/subscribe) ===== */

.signup-grid {
    padding: 2rem 0 3rem;
}

@media (min-width: 992px) {
    .signup-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        grid-gap: 4rem;
        align-items: start;
    }
}

.signup-pitch-heading {
    margin-top: 5%;
}

.signup-pitch-eyebrow {
    font-size: 1.35rem;
    font-weight: 700;
    color: #000;
}

.signup-pitch-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary, #00A1BE);
    margin: .25rem 0 0;
}

.signup-benefits {
    padding-top: 1.25rem;
}

.signup-benefits-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    padding: .5rem 0;
    font-size: 1.1rem;
}

.signup-benefits-item i {
    color: var(--color-primary, #00A1BE);
    font-size: 1.5rem;
    padding-top: .15rem;
}

.signup-benefits-item p {
    margin: 0;
}

.signup-review {
    border-top: 1px solid rgba(213, 218, 219, 0.46);
    margin-top: 2rem;
    padding: 2rem 1rem 2rem 0;
}

.signup-review blockquote {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.signup-review-details {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-gap: 1.25rem;
    padding-top: 1.5rem;
    align-items: center;
}

.signup-review-details img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.signup-review-user h6 {
    margin: 0;
    font-size: 1.3rem;
}

.signup-review-user p {
    margin: 0;
}

.signup-form .form-control {
    margin-bottom: 0;
}

.signup-radio-row .form-check-label {
    color: #747577;
}

.signup-faq-section {
    background-color: #646464;
    clip-path: polygon(0 3rem, 100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 3rem, 100% 0%, 100% 100%, 0% 100%);
    padding: 6rem 0 5rem;
    margin-top: 3rem;
    border-bottom: 10px solid var(--color-primary, #00A1BE);
}

.signup-faq-title {
    text-align: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.signup-faqs .signup-faq-item {
    margin: 1.75rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.signup-faqs .signup-faq-question {
    background: #fff;
    padding: 1.65rem 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.signup-faqs .signup-faq-question i {
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-left: 1rem;
    pointer-events: none;
}

.signup-faqs .signup-faq-answer {
    background: #EDF5F5;
    padding: 1.65rem 2rem;
    font-size: 1.2rem;
    display: none;
}

.signup-faqs .signup-faq-item.active .signup-faq-answer {
    display: block;
}

.signup-faqs .signup-faq-item.active .signup-faq-question {
    background: var(--color-primary, #00A1BE);
    color: #FFF;
}

@media (max-width: 575.98px) {
    .signup-plan-row .form-check-inline {
        display: block;
        margin-right: 0;
        margin-bottom: .25rem;
    }
}

@media (min-width: 576px) {
    .signup-plan-row {
        display: flex;
        flex-wrap: wrap;
        column-gap: .4rem;
    }
    .signup-plan-row .form-check-inline {
        margin-right: 0;
        white-space: nowrap;
        font-size: .9rem;
        padding-left: 1.3em;
    }
    .signup-plan-row .form-check-inline .form-check-input {
        margin-left: -1.3em;
    }
}
