:root {
    --is-primary: #245b43;
    --is-primary-dark: #173b2f;
    --is-primary-light: #eaf3ed;
    --is-accent: #d8a84e;
    --is-text: #1b2b23;
    --is-muted: #69766e;
    --is-border: #e5ebe6;
    --is-surface: #f7f9f7;
    --is-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--is-text);
    background: var(--is-white);
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-mark {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.035em;
}

a {
    text-decoration: none;
}

.public-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--is-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
}

.public-header .navbar {
    min-height: 78px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--is-primary-dark);
}

.brand-mark:hover {
    color: var(--is-primary);
}

.brand-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--is-primary);
    color: white;
    font-size: 1.15rem;
}

.brand-highlight {
    color: #47916b;
}

.navbar-nav .nav-link {
    color: #47574d;
    font-weight: 600;
    font-size: 0.91rem;
    padding: 0.7rem 0.9rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--is-primary);
}

.btn {
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.72rem 1.15rem;
    transition: background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid #d8a84e;
    outline-offset: 3px;
}

.btn-brand {
    background: var(--is-primary);
    color: white;
    border: 1px solid var(--is-primary);
}

.btn-brand:hover {
    background: var(--is-primary-dark);
    border-color: var(--is-primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-login {
    color: var(--is-text);
    background: transparent;
    border: 1px solid transparent;
}

.btn-login:hover {
    background: var(--is-surface);
    color: var(--is-primary);
}

.btn-outline-brand {
    color: var(--is-primary);
    border: 1px solid #c5d5ca;
    background: white;
}

.btn-outline-brand:hover {
    color: var(--is-primary-dark);
    background: var(--is-primary-light);
    border-color: var(--is-primary);
}

/* Hero */

.hero-section {
    padding: 88px 0 100px;
    background:
        radial-gradient(ellipse at 85% 15%,
            rgba(216, 232, 219, 0.55), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
    overflow: hidden;
}

.hero-eyebrow,
.section-kicker {
    color: var(--is-primary);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border: 1px solid #dbe9dd;
    background: #f1f7f1;
    border-radius: 100px;
    font-size: 0.68rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #469669;
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.65rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.065em;
    max-width: 660px;
}

.hero-title span {
    display: block;
    color: var(--is-primary);
}

.hero-description {
    color: var(--is-muted);
    max-width: 555px;
    font-size: 1.07rem;
    line-height: 1.85;
}

.hero-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #55665b;
    font-size: 0.81rem;
    font-weight: 600;
}

.hero-assurance i {
    color: var(--is-primary);
    margin-right: 5px;
}

/* CSS dashboard illustration */

.dashboard-showcase {
    position: relative;
    padding: 12px 8px 35px;
}

.dashboard-window {
    background: white;
    border: 1px solid #dce5de;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(24, 61, 43, 0.13);
    transform: rotate(0.4deg);
}

.dashboard-topbar {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #edf0ed;
    color: #748177;
    font-size: 0.77rem;
}

.dashboard-topbar-label {
    font-weight: 700;
    color: #425449;
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background: #e59b91;
}

.dot-yellow {
    background: #e8c779;
}

.dot-green {
    background: #7fc39a;
}

.dashboard-body {
    display: flex;
    min-height: 405px;
}

.dashboard-sidebar {
    width: 60px;
    flex-shrink: 0;
    padding: 17px 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 17px;
    border-right: 1px solid #edf0ed;
    background: #fbfcfb;
}

.mini-brand {
    width: 32px;
    height: 32px;
    background: var(--is-primary);
    color: white;
    display: grid;
    place-items: center;
    border-radius: 9px;
    margin-bottom: 9px;
}

.mini-menu {
    color: #87958b;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
}

.mini-menu.active {
    background: #e7f1e9;
    color: var(--is-primary);
}

.dashboard-content {
    flex: 1;
    min-width: 0;
    padding: 24px 21px;
}

.mini-muted {
    display: block;
    color: #849188;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mini-title {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.mini-period {
    font-size: 0.64rem;
    border: 1px solid #e5ebe6;
    padding: 5px 7px;
    border-radius: 6px;
    color: #647369;
    white-space: nowrap;
}

.mini-stat,
.mini-chart-card {
    border: 1px solid #e7ece8;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.mini-stat-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e6f2e9;
    color: #36734d;
    margin-bottom: 10px;
}

.icon-blue {
    background: #e9effb;
    color: #557bc1;
}

.mini-stat strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 4px;
}

.mini-stat small {
    display: block;
    color: #879188;
    font-size: 0.65rem;
    margin-top: 3px;
}

.mini-chart-card>div:first-child {
    font-size: 0.75rem;
}

.chart-placeholder {
    position: relative;
    height: 112px;
    margin-top: 10px;
}

.chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.chart-grid span {
    border-top: 1px dashed #e9eeea;
}

.chart-placeholder svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mini-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.57rem;
    color: #929d95;
}

.mini-branch-row,
.mini-branch-row>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-branch-row {
    justify-content: space-between;
    font-size: 0.69rem;
    font-weight: 600;
}

.mini-branch-row i {
    color: var(--is-primary);
}

.mini-live {
    font-size: 0.6rem;
    color: #36734d;
    background: #e9f5eb;
    border-radius: 5px;
    padding: 4px 6px;
}

.floating-note {
    position: absolute;
    right: -10px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 17px;
    background: white;
    border: 1px solid var(--is-border);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(24, 61, 43, 0.11);
}

.floating-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e7f3e9;
    color: var(--is-primary);
    font-size: 1.1rem;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note strong {
    font-size: 0.76rem;
}

.floating-note small {
    color: var(--is-muted);
    font-size: 0.67rem;
    margin-top: 2px;
}

/* Value strip */

.value-strip {
    border-top: 1px solid var(--is-border);
    border-bottom: 1px solid var(--is-border);
    padding: 25px 0;
    background: white;
}

.value-strip .row>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.value-strip i {
    font-size: 1.15rem;
    color: var(--is-primary);
}

/* Sections and feature cards */

.section-padding {
    padding: 95px 0;
}

.section-heading {
    max-width: 680px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 14px 0;
}

.section-heading>p {
    color: var(--is-muted);
    font-size: 1rem;
}

.feature-card {
    height: 100%;
    padding: 29px;
    border: 1px solid var(--is-border);
    border-radius: 14px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(24, 61, 43, 0.07);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e6f2e9;
    color: #36734d;
    font-size: 1.35rem;
    margin-bottom: 23px;
}

.icon-orange {
    background: #fbf0df;
    color: #a8752c;
}

.icon-purple {
    background: #f0eafa;
    color: #805db2;
}

.icon-teal {
    background: #e2f3f0;
    color: #348579;
}

.icon-red {
    background: #f9e9e7;
    color: #b65f55;
}

.feature-card h5 {
    font-size: 1.04rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.feature-card p,
.step-card p {
    color: var(--is-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* How it works */

.how-section {
    background: var(--is-surface);
    border-top: 1px solid var(--is-border);
    border-bottom: 1px solid var(--is-border);
}

.step-card {
    height: 100%;
    background: white;
    border: 1px solid var(--is-border);
    border-radius: 14px;
    padding: 28px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border-radius: 12px;
    background: var(--is-primary-light);
    color: var(--is-primary);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    margin-bottom: 21px;
}

.step-card h5 {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

/* CTA */

.cta-section {
    padding: 30px 0 95px;
}

.cta-panel {
    padding: 55px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 0%,
            rgba(107, 164, 123, 0.3), transparent 35%),
        var(--is-primary-dark);
    color: white;
}

.cta-panel h2 {
    max-width: 650px;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.25;
}

.cta-panel p {
    color: #d5e4d9;
}

.cta-panel .btn-light {
    color: var(--is-primary-dark);
    font-weight: 800;
}

.cta-secondary-link {
    color: #e2eee5;
    font-size: 0.84rem;
}

.cta-secondary-link:hover {
    color: white;
    text-decoration: underline;
}

/* Footer */

.public-footer {
    background: #102a20;
    color: #d6e2d9;
}

.public-footer .brand-mark {
    color: white;
}

.footer-description {
    max-width: 370px;
    color: #a9bdb0;
    font-size: 0.9rem;
}

.footer-heading {
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.public-footer .col-6 a,
.public-footer .col-12 a {
    display: block;
    color: #b8c9bd;
    font-size: 0.84rem;
    margin-bottom: 12px;
}

.public-footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    color: #9eb2a4;
    font-size: 0.78rem;
}

/* Responsive layouts */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 65px 0 75px;
    }

    .hero-title {
        max-width: 650px;
    }

    .dashboard-showcase {
        max-width: 600px;
        margin: 0 auto;
    }

    .public-header .navbar {
        min-height: 70px;
    }

    .public-header .navbar-collapse {
        padding: 14px 0 18px;
    }

    .cta-panel {
        padding: 38px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 49px 0 65px;
    }

    .hero-title {
        font-size: clamp(2.45rem, 11vw, 3.3rem);
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .hero-assurance {
        gap: 10px;
        flex-direction: column;
    }

    .dashboard-body {
        min-height: 340px;
    }

    .dashboard-sidebar {
        width: 45px;
        padding: 14px 5px;
        gap: 13px;
    }

    .mini-menu {
        width: 31px;
        height: 31px;
    }

    .dashboard-content {
        padding: 15px 10px;
    }

    .dashboard-topbar {
        padding: 0 10px;
    }

    .dashboard-topbar-label {
        font-size: 0.65rem;
    }

    .mini-period {
        display: none;
    }

    .mini-stat {
        padding: 9px;
    }

    .mini-stat strong {
        font-size: 0.76rem;
    }

    .mini-chart-card {
        padding: 9px;
    }

    .floating-note {
        right: -2px;
        padding: 10px;
        max-width: 255px;
    }

    .floating-note strong {
        font-size: 0.68rem;
    }

    .floating-note small {
        font-size: 0.61rem;
    }

    .value-strip .row>div {
        font-size: 0.76rem;
    }

    .section-padding {
        padding: 65px 0;
    }

    .feature-card,
    .step-card {
        padding: 23px;
    }

    .cta-section {
        padding-bottom: 65px;
    }

    .cta-panel {
        padding: 29px 23px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}