:root {
    --fi-primary: #0d6efd;
    --fi-ink: #172033;
    --fi-muted: #627089;
    --fi-border: #e3e8f0;
}

body {
    color: var(--fi-ink);
    background: #f7f9fc;
}

html {
    scroll-behavior: smooth;
}

.public-navbar {
    z-index: 1030;
    box-shadow: 0 .25rem 1rem rgba(23, 32, 51, .035);
}

.public-navbar .nav-link {
    color: #46536a;
    font-weight: 600;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: var(--fi-primary);
}

.brand-mark {
    display: inline-grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    color: #fff;
    background: var(--fi-primary);
    border-radius: .65rem;
    font-size: .85rem;
}

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(13, 110, 253, .14), transparent 32rem),
        linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.invoice-preview {
    transform: rotate(1deg);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    color: #536078;
    font-size: .9rem;
}

.hero-points i {
    margin-right: .35rem;
    color: #198754;
}

.barcode-lines {
    width: 88px;
    height: 30px;
    background: repeating-linear-gradient(90deg, #172033 0 2px, transparent 2px 4px, #172033 4px 5px, transparent 5px 8px);
}

.invoice-preview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    color: #657187;
    font-size: .85rem;
}

.section-kicker {
    color: var(--fi-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.feature-card {
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .75rem 2rem rgba(23, 32, 51, .08);
}

.feature-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: var(--fi-primary);
    background: rgba(13, 110, 253, .1);
    border-radius: .8rem;
    font-size: 1.2rem;
}

.workflow-section {
    background: #f7f9fc;
}

.workflow-list {
    display: grid;
    gap: .8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e3e8f0;
    border-radius: .85rem;
    background: #fff;
}

.workflow-list li > span {
    display: grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--fi-primary);
    font-weight: 700;
}

.workflow-list div {
    display: flex;
    flex-direction: column;
}

.workflow-list small {
    margin-top: .2rem;
    color: #6b778c;
}

.cta-section {
    color: #fff;
    background: linear-gradient(135deg, #0755c9, #0d6efd);
}

.cta-section p {
    color: rgba(255, 255, 255, .8);
}

.cta-copy,
.page-hero-copy,
.section-copy {
    max-width: 720px;
}

.page-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(13, 110, 253, .11), transparent 24rem),
        radial-gradient(circle at 85% 40%, rgba(25, 135, 84, .08), transparent 22rem);
}

.pricing-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 .8rem 2.25rem rgba(23, 32, 51, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pricing-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--fi-primary), #6ea8fe);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2.8rem rgba(23, 32, 51, .11);
}

.pricing-cycle {
    color: var(--fi-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: .2rem;
}

.pricing-amount .currency {
    color: var(--fi-primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.pricing-amount strong {
    color: var(--fi-ink);
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    line-height: 1;
}

.pricing-amount small {
    color: var(--fi-muted);
}

.pricing-saving {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .65rem;
    padding: .65rem .8rem;
    border: 1px solid #cce8d8;
    border-radius: .65rem;
    background: #f1fbf5;
    font-size: .88rem;
}

.pricing-saving del {
    color: #7a8496;
    font-weight: 700;
}

.pricing-saving strong {
    color: #157347;
}

.pricing-features {
    display: grid;
    gap: .8rem;
    color: #46536a;
}

.pricing-features i {
    margin-right: .55rem;
    color: #198754;
}

.pricing-note,
.scope-reminder,
.trust-card {
    border: 1px solid var(--fi-border);
    background: #f8faff;
}

.empty-plans {
    max-width: 680px;
}

.faq-shell {
    max-width: 900px;
}

.faq-shell .accordion {
    overflow: hidden;
    border: 1px solid var(--fi-border);
    border-radius: 1rem;
}

.faq-shell .accordion-item {
    border-width: 0 0 1px;
}

.faq-shell .accordion-item:last-child {
    border-bottom: 0;
}

.faq-shell .accordion-button {
    padding: 1.2rem 1.35rem;
    color: var(--fi-ink);
    font-weight: 700;
}

.faq-shell .accordion-button:not(.collapsed) {
    color: #0755c9;
    background: #f2f7ff;
    box-shadow: none;
}

.trust-card {
    background: #fff;
}

.local-section {
    background: linear-gradient(180deg, #f7f9fc, #fff);
}

.local-callout {
    border: 1px solid #d9e4f7;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(23, 32, 51, .06);
}

.public-footer .footer-description {
    max-width: 480px;
}

.footer-links {
    display: grid;
    gap: .5rem;
}

.footer-links a,
.public-footer p a {
    color: #526079;
    text-decoration: none;
}

.footer-links a:hover,
.public-footer p a:hover {
    color: var(--fi-primary);
    text-decoration: underline;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem .55rem;
    font-size: .72rem;
}

.legal-links a {
    color: #69758a;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--fi-primary);
    text-decoration: underline;
}

.legal-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, .08), transparent 22rem),
        #f7f9fc;
}

.legal-document {
    max-width: 920px;
    box-shadow: 0 .75rem 2.5rem rgba(23, 32, 51, .06);
}

.legal-document section {
    margin-top: 2rem;
}

.legal-document h2 {
    margin-bottom: .75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.legal-document p,
.legal-document li {
    color: #4f5d73;
    line-height: 1.75;
}

.legal-document li + li {
    margin-top: .4rem;
}

.legal-friendly-note {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border: 1px solid #cfe0fa;
    border-radius: .8rem;
    color: #234875;
    background: #f2f7ff;
}

.tracking-wide {
    letter-spacing: .4em;
}

.public-invoice-sheet {
    max-width: 980px;
}

.public-invoice-totals {
    width: min(100%, 380px);
}

.public-invoice-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: .35rem 0;
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .invoice-preview {
        transform: none;
    }
}
