:root {
    --public-bg: #f6f8fb;
    --public-surface: #ffffff;
    --public-surface-soft: #eef4f7;
    --public-surface-glass: rgba(255, 255, 255, 0.78);
    --public-text: #12213a;
    --public-muted: #64748b;
    --public-line: #dbe4ee;
    --public-blue: #1766d1;
    --public-blue-dark: #0c3f8c;
    --public-green: #0f9f6e;
    --public-green-dark: #087a55;
    --public-shadow: 0 24px 70px rgba(18, 33, 58, 0.12);
    --public-radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body.public-body {
    margin: 0;
    background: var(--public-bg);
    color: var(--public-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.public-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(18px, 4vw, 64px);
    background: rgba(255, 255, 255, 0.68);
    border-bottom: 1px solid rgba(219, 228, 238, 0.42);
    backdrop-filter: blur(18px);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.public-header.is-solid {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(219, 228, 238, 0.92);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.08);
}

.public-brand,
.public-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 800;
    color: var(--public-text);
}

.public-brand img,
.public-footer-brand img,
.public-brand-logo,
.public-footer-brand-logo {
    width: 218px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
    border-radius: 6px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.public-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
    cursor: pointer;
}

.public-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--public-text);
}

.public-nav a {
    transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.public-nav a:hover {
    color: var(--public-blue);
}

.public-nav-login {
    padding: 10px 16px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
}

.public-nav-cta,
.public-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--public-blue), var(--public-green));
    box-shadow: 0 12px 26px rgba(23, 102, 209, 0.22);
}

.public-nav-cta {
    padding: 11px 18px;
    border-radius: var(--public-radius);
}

.public-nav-cta:hover,
.public-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 159, 110, 0.24);
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: center;
    min-height: auto;
    padding: clamp(44px, 5vw, 74px) clamp(18px, 5vw, 72px) clamp(44px, 5vw, 68px);
}

.public-hero-premium {
    position: relative;
    overflow: hidden;
}

.public-hero-premium::before {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 52vw;
    height: 52vw;
    min-width: 520px;
    min-height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 102, 209, 0.14), transparent 62%);
    content: "";
    pointer-events: none;
}

.public-hero-content,
.public-section,
.public-page-hero,
.public-cta-band,
.public-footer-inner,
.public-footer-bottom {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.public-hero-content {
    width: 100%;
}

.public-eyebrow,
.public-section-heading span,
.public-page-hero span,
.public-cta-band span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--public-green-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.public-hero h1,
.public-page-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--public-text);
    font-size: clamp(2.15rem, 3.45vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.public-hero-copy,
.public-page-hero p,
.public-section-heading p {
    max-width: 660px;
    margin: 18px 0 0;
    color: var(--public-muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.public-hero-actions,
.public-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: var(--public-radius);
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-btn.is-loading,
.help-search button.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.public-btn.is-loading::after,
.help-search button.is-loading::after {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    animation: public-spin 700ms linear infinite;
}

.public-btn-secondary {
    background: #fff;
    border: 1px solid var(--public-line);
    color: var(--public-text);
}

.public-btn-secondary:hover {
    border-color: rgba(23, 102, 209, 0.38);
    box-shadow: 0 10px 28px rgba(18, 33, 58, 0.1);
    transform: translateY(-1px);
}

.public-trust-row {
    color: #475569;
    font-size: 0.93rem;
    font-weight: 700;
}

.public-trust-row span,
.public-trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.public-trust-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.public-trust-row span::before,
.public-trust-link::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--public-green);
    content: "";
}

.public-hero-visual {
    min-width: 0;
    width: 100%;
}

.dashboard-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(219, 228, 238, 0.9);
    border-radius: var(--public-radius);
    background: #fff;
    box-shadow: var(--public-shadow);
}

.dashboard-preview-premium {
    animation: public-float 7s ease-in-out infinite;
}

.dashboard-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid var(--public-line);
}

.dashboard-preview-header strong {
    margin-left: auto;
    color: #475569;
    font-size: 0.86rem;
}

.dashboard-preview-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dashboard-preview-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 12px;
    padding: 16px;
}

.preview-card {
    min-height: 104px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--public-radius);
    background: #f8fafc;
}

.preview-card-large {
    grid-row: span 2;
    min-height: 224px;
}

.preview-card small {
    display: block;
    color: var(--public-muted);
    font-weight: 800;
}

.preview-card strong {
    display: block;
    margin-top: 8px;
    color: var(--public-text);
    font-size: 1.45rem;
}

.preview-card em {
    display: block;
    margin-top: 6px;
    color: var(--public-muted);
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 700;
}

.preview-bars {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 108px;
    margin-top: 24px;
}

.preview-bars span {
    flex: 1;
    min-width: 20px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--public-blue), var(--public-green));
}

.dashboard-preview img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.floating-finance-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid rgba(219, 228, 238, 0.82);
    border-radius: var(--public-radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(18, 33, 58, 0.16);
    backdrop-filter: blur(12px);
}

.floating-finance-card span {
    color: var(--public-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.floating-finance-card strong {
    color: var(--public-green-dark);
    font-size: 1.05rem;
}

.floating-finance-card-left {
    left: -18px;
    bottom: 154px;
}

.floating-finance-card-right {
    right: -18px;
    top: 98px;
}

.public-home-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(23, 102, 209, 0.08), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}

.home-product-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(219, 228, 238, 0.94);
    border-radius: var(--public-radius);
    background: #fff;
    box-shadow: 0 28px 82px rgba(18, 33, 58, 0.14);
}

.home-product-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--public-line);
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.home-product-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.home-product-topbar strong {
    margin-left: auto;
    color: #475569;
    font-size: 0.86rem;
}

.home-product-body {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.home-product-sidebar {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #f8fafc;
}

.home-product-sidebar b,
.home-product-sidebar span {
    display: block;
    padding: 10px 11px;
    border-radius: var(--public-radius);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-product-sidebar b {
    background: #fff;
    color: var(--public-blue-dark);
    box-shadow: 0 8px 18px rgba(18, 33, 58, 0.08);
}

.home-product-sidebar span {
    color: var(--public-muted);
}

.home-product-main {
    display: grid;
    gap: 14px;
}

.home-product-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #f8fafc;
}

.home-product-heading span {
    color: var(--public-muted);
    font-weight: 800;
}

.home-product-heading strong {
    color: var(--public-text);
}

.home-chart-card {
    min-height: 218px;
    padding: 24px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: linear-gradient(135deg, #f8fafc, #edf7f4);
}

.home-chart-bars {
    display: flex;
    align-items: end;
    gap: 14px;
    height: 166px;
}

.home-chart-bars span {
    flex: 1;
    min-width: 24px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--public-blue), var(--public-green));
}

.home-chart-bars span:nth-child(1) {
    height: 45%;
}

.home-chart-bars span:nth-child(2) {
    height: 66%;
}

.home-chart-bars span:nth-child(3) {
    height: 50%;
}

.home-chart-bars span:nth-child(4) {
    height: 82%;
}

.home-chart-bars span:nth-child(5) {
    height: 62%;
}

.home-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-mini-grid span {
    padding: 16px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
    color: #475569;
    font-weight: 900;
}

.home-product-preview img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.public-section {
    padding: clamp(54px, 7vw, 86px) 0;
}

.public-section-tight {
    padding-top: 30px;
}

.public-section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.public-section-heading h2,
.public-cta-band h2 {
    margin: 0;
    color: var(--public-text);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.feature-grid,
.module-status-grid,
.public-help-layout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-grid-expanded {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-heading-centered {
    margin-inline: auto;
    text-align: center;
}

.feature-grid-focused {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.module-status-card,
.help-panel,
.public-contact-card,
.public-text-page {
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: var(--public-surface);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.feature-card {
    min-height: 230px;
    padding: 22px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card-focused {
    min-height: 205px;
}

.feature-card:nth-child(3n) .feature-icon {
    background: linear-gradient(135deg, var(--public-blue), var(--public-green));
}

.feature-card:hover,
.module-status-active:hover {
    border-color: rgba(15, 159, 110, 0.38);
    box-shadow: 0 18px 42px rgba(18, 33, 58, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--public-radius);
    color: #fff;
    background: var(--public-text);
    font-size: 0.9rem;
    font-weight: 900;
}

.feature-card:nth-child(3n + 1) .feature-icon {
    background: var(--public-blue);
}

.feature-card:nth-child(3n + 2) .feature-icon {
    background: var(--public-green);
}

.feature-card h3,
.module-status-card h3,
.help-panel h2,
.public-contact-card h2,
.public-text-page h2 {
    margin: 18px 0 8px;
    color: var(--public-text);
    font-size: 1.08rem;
    letter-spacing: 0;
}

.feature-card p,
.module-status-card p,
.help-panel p,
.public-contact-card p,
.public-text-page p,
.public-footer p {
    margin: 0;
    color: var(--public-muted);
}

.module-status-section {
    padding-top: 28px;
}

.module-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-status-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-status-grid-feature-hub {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.module-status-card {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.module-status-disabled {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.module-status-active {
    border-color: rgba(15, 159, 110, 0.34);
}

.module-status-active strong {
    color: var(--public-blue);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pill-active {
    background: rgba(15, 159, 110, 0.12);
    color: var(--public-green-dark);
}

.public-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 72px;
    padding: clamp(28px, 5vw, 44px);
    border: 1px solid rgba(23, 102, 209, 0.16);
    border-radius: var(--public-radius);
    background: linear-gradient(135deg, #ffffff, #eef6f4);
    box-shadow: var(--public-shadow);
}

.why-section,
.testimonial-section {
    background: linear-gradient(180deg, transparent, rgba(238, 246, 244, 0.7), transparent);
}

.why-section-smb {
    background: linear-gradient(180deg, rgba(238, 246, 244, 0.62), rgba(246, 248, 251, 0));
}

.why-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.why-grid-focused {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-grid article,
.testimonial-card,
.stat-card,
.pricing-card,
.security-panel,
.comparison-table-wrap {
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: var(--public-surface);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.why-grid article,
.testimonial-card,
.stat-card {
    padding: 24px;
}

.why-grid h3,
.testimonial-card strong {
    margin: 0 0 8px;
    color: var(--public-text);
}

.why-grid p,
.testimonial-card p,
.testimonial-card span {
    margin: 0;
    color: var(--public-muted);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.stat-card strong {
    display: block;
    color: var(--public-text);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--public-muted);
    font-weight: 800;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    display: grid;
    gap: 14px;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
}

.workflow-showcase-section {
    padding-top: 34px;
}

.workflow-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 30px;
    align-items: center;
    padding: clamp(28px, 5vw, 46px);
    border: 1px solid rgba(23, 102, 209, 0.14);
    border-radius: var(--public-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 244, 0.92)),
        radial-gradient(circle at 84% 12%, rgba(23, 102, 209, 0.16), transparent 32%);
    box-shadow: var(--public-shadow);
}

.workflow-showcase h2 {
    margin: 0;
    color: var(--public-text);
    font-size: clamp(1.8rem, 3.2vw, 2.9rem);
    line-height: 1.08;
}

.workflow-showcase p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--public-muted);
    font-size: 1.05rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.workflow-steps span {
    position: relative;
    min-height: 96px;
    padding: 20px 18px 18px 44px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: rgba(255, 255, 255, 0.86);
    color: var(--public-text);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(18, 33, 58, 0.06);
}

.workflow-steps span::before {
    position: absolute;
    top: 24px;
    left: 18px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--public-green);
    content: "";
}

.platform-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
}

.platform-showcase-main,
.platform-showcase-cards article,
.home-pricing-card,
.home-plan-table {
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: var(--public-surface);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.platform-showcase-main {
    overflow: hidden;
}

.platform-showcase-main img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    object-position: top center;
    background: #eef4f7;
}

.platform-showcase-main div {
    padding: 22px 24px;
}

.platform-showcase-main h3,
.platform-showcase-cards h3,
.home-pricing-card h3,
.home-plan-table h3 {
    margin: 0 0 8px;
    color: var(--public-text);
}

.platform-showcase-main p,
.platform-showcase-cards p,
.home-pricing-card p {
    margin: 0;
    color: var(--public-muted);
}

.platform-showcase-cards {
    display: grid;
    gap: 14px;
}

.platform-showcase-cards article {
    padding: 22px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.platform-showcase-cards article:hover {
    border-color: rgba(23, 102, 209, 0.28);
    box-shadow: 0 18px 42px rgba(18, 33, 58, 0.1);
    transform: translateY(-2px);
}

.home-pricing-section {
    background: linear-gradient(180deg, transparent, rgba(238, 244, 247, 0.84), transparent);
}

.home-pricing-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
    gap: 18px;
    width: min(100%, 520px);
    margin-inline: auto;
}

.home-pricing-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 26px;
}

.home-pricing-card-featured {
    border-color: rgba(15, 159, 110, 0.42);
    background: linear-gradient(180deg, #ffffff, #f0faf6);
    box-shadow: 0 24px 70px rgba(15, 159, 110, 0.16);
}

.home-price-row {
    display: grid;
    gap: 6px;
    margin: 18px 0;
}

.home-price-row strong {
    color: var(--public-text);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.home-price-row span {
    color: var(--public-green-dark);
    font-weight: 900;
}

.home-pricing-card .public-btn {
    margin-top: auto;
}

.home-pricing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
}

.home-pricing-actions .public-btn {
    margin-top: 0;
    width: 100%;
}

.home-plan-section {
    padding-top: 38px;
}

.home-plan-table {
    max-width: 820px;
    margin-inline: auto;
    padding: 28px;
}

.home-plan-table h3 {
    font-size: 1.35rem;
}

.home-plan-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.home-plan-feature-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}

.home-plan-feature-list span::before {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--public-green);
    content: "";
}

.security-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    padding: clamp(28px, 5vw, 44px);
    background: linear-gradient(135deg, #ffffff, #edf7f4);
}

.security-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.security-panel p {
    margin: 18px 0 0;
    color: var(--public-muted);
    font-size: 1.05rem;
}

.security-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.security-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(219, 228, 238, 0.9);
    border-radius: var(--public-radius);
    background: rgba(255, 255, 255, 0.74);
    color: #334155;
    font-weight: 800;
}

.security-list span::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--public-green);
    content: "";
}

.pricing-hero {
    text-align: center;
}

.pricing-hero h1,
.pricing-hero p {
    margin-left: auto;
    margin-right: auto;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 8px 12px;
    border: 1px solid var(--public-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-weight: 800;
}

.billing-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.billing-toggle i {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #dbe4ee;
}

.billing-toggle i::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(18, 33, 58, 0.18);
    content: "";
    transition: transform 160ms ease;
}

.billing-toggle input:checked + i {
    background: linear-gradient(135deg, var(--public-blue), var(--public-green));
}

.billing-toggle input:checked + i::after {
    transform: translateX(20px);
}

.billing-toggle strong {
    color: var(--public-green-dark);
}

.pricing-hero-simple {
    padding-bottom: 18px;
}

.pricing-hero-simple h1 {
    max-width: 720px;
    font-size: clamp(2.05rem, 4vw, 3.35rem);
}

.pricing-grid-section {
    padding-top: 10px;
}

.pricing-grid-section-simple {
    padding-top: 22px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pricing-grid-simple {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    min-height: 560px;
    flex-direction: column;
    padding: 24px;
}

.pricing-card-simple {
    height: 100%;
    min-height: 430px;
    padding: 28px;
}

.pricing-card-simple.pricing-card-featured {
    transform: none;
}

.pricing-card-featured {
    border-color: rgba(15, 159, 110, 0.42);
    box-shadow: 0 24px 70px rgba(15, 159, 110, 0.16);
    transform: translateY(-10px);
}

.recommended-pill,
.pricing-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.recommended-pill {
    margin-bottom: 10px;
    padding: 7px 10px;
    background: rgba(15, 159, 110, 0.12);
    color: var(--public-green-dark);
}

.pricing-kicker {
    color: var(--public-blue);
}

.pricing-card h2 {
    margin: 12px 0 10px;
    font-size: 1.35rem;
}

.price-row {
    display: flex;
    align-items: end;
    gap: 8px;
    margin: 14px 0;
}

.price-row strong {
    color: var(--public-text);
    font-size: 2.7rem;
    line-height: 1;
}

.price-row-simple {
    display: grid;
    align-items: start;
    gap: 7px;
}

.price-row-simple strong {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.price-row-simple span {
    color: var(--public-green-dark);
    font-weight: 900;
}

.price-row span,
.pricing-card p,
.pricing-card li {
    color: var(--public-muted);
}

.pricing-card ul {
    display: grid;
    gap: 11px;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.pricing-card li::before {
    margin-right: 8px;
    color: var(--public-green-dark);
    content: "\2713";
    font-weight: 900;
}

.pricing-card .public-btn {
    margin-top: auto;
}

.pricing-feature-section {
    padding-top: 34px;
}

.pricing-feature-table {
    max-width: 820px;
    margin-inline: auto;
    padding: 28px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: var(--public-surface);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.pricing-feature-table h3 {
    margin: 0 0 18px;
    color: var(--public-text);
    font-size: 1.35rem;
}

.pricing-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pricing-feature-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}

.pricing-feature-list span::before {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--public-green);
    content: "";
}

.comparison-table-wrap {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid var(--public-line);
    text-align: left;
}

.comparison-table th {
    color: var(--public-text);
    background: #f8fafc;
}

.comparison-table td {
    color: #475569;
    font-weight: 700;
}

@keyframes public-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes public-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes visibility-rise {
    from {
        transform: scaleY(0.14);
        opacity: 0.45;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes visibility-pulse {
    0%, 100% {
        filter: saturate(1);
    }

    50% {
        filter: saturate(1.18);
    }
}

.public-page-hero {
    padding: clamp(70px, 9vw, 118px) 0 clamp(28px, 5vw, 52px);
}

.public-help-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 12px;
}

.help-hero {
    text-align: center;
}

.help-hero h1,
.help-hero p {
    margin-left: auto;
    margin-right: auto;
}

.help-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(760px, 100%);
    margin: 30px auto 0;
    padding: 10px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
    box-shadow: var(--public-shadow);
}

.help-search input {
    min-height: 48px;
    border: 0;
    color: var(--public-text);
    font: inherit;
    outline: 0;
    padding: 0 12px;
}

.help-search button {
    border: 0;
    border-radius: var(--public-radius);
    background: linear-gradient(135deg, var(--public-blue), var(--public-green));
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: 0 22px;
}

.help-topic-section {
    padding-top: 10px;
}

.help-topic-grid,
.contact-option-grid,
.video-grid,
.screenshot-grid {
    display: grid;
    gap: 16px;
}

.help-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-search-empty {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 18px 22px;
    border: 1px solid rgba(45, 108, 223, 0.16);
    border-radius: 18px;
    background: #ffffff;
    color: var(--public-muted);
    text-align: center;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.help-topic-card,
.contact-option-card,
.video-card,
.screenshot-card {
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: var(--public-surface);
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.help-topic-card,
.contact-option-card,
.video-card {
    padding: 24px;
}

.help-topic-card span,
.contact-option-card span {
    color: var(--public-green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.help-topic-card h2,
.contact-option-card h2,
.video-card h3 {
    margin: 10px 0 8px;
    color: var(--public-text);
    font-size: 1.12rem;
}

.help-topic-card p,
.contact-option-card p,
.video-card p {
    margin: 0;
    color: var(--public-muted);
}

.help-topic-card-linked {
    display: grid;
    gap: 10px;
}

.help-topic-card-linked a {
    color: var(--public-blue);
    font-weight: 900;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
    box-shadow: 0 10px 24px rgba(18, 33, 58, 0.05);
}

.faq-list summary {
    cursor: pointer;
    color: var(--public-text);
    font-weight: 900;
    padding: 18px 20px;
}

.faq-list p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--public-muted);
}

.video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    margin-bottom: 18px;
    border-radius: var(--public-radius);
    background: linear-gradient(135deg, rgba(23, 102, 209, 0.14), rgba(15, 159, 110, 0.16));
    color: var(--public-blue-dark);
    font-size: 2rem;
    font-weight: 900;
}

.help-panel,
.public-contact-card,
.public-text-page {
    padding: 24px;
}

.public-contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 22px;
    align-items: start;
    padding-top: 12px;
    padding-bottom: 72px;
}

.contact-options-section {
    padding-top: 8px;
    padding-bottom: 8px;
}

.contact-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-contact-card {
    display: flex;
    min-height: 320px;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.public-contact-details {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #f8fafc;
}

.form-footnote {
    margin: -4px 0 0;
    color: var(--public-muted);
    font-size: 0.9rem;
}

.screenshots-section {
    background: linear-gradient(180deg, transparent, rgba(238, 244, 247, 0.85), transparent);
}

.screenshot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screenshot-card {
    overflow: hidden;
}

.screenshot-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.screenshot-card img,
.screenshot-mockup {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #eef4f7;
}

.screenshot-card-large img {
    aspect-ratio: 16 / 11;
}

.screenshot-card div:last-child {
    padding: 18px;
}

.screenshot-card h3 {
    margin: 0 0 6px;
    color: var(--public-text);
}

.screenshot-card p {
    margin: 0;
    color: var(--public-muted);
}

.app-product-screens-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 247, 0.88) 46%, rgba(255, 255, 255, 0.98));
}

.app-product-screens-grid {
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-product-screen-card {
    border-color: rgba(21, 55, 93, 0.14);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1);
}

.app-product-screen-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}

.app-product-screen-card h3 {
    font-size: 1.05rem;
}

.app-product-screen-lead h3 {
    font-size: 1.2rem;
}

.app-product-screen-lead p {
    max-width: 46rem;
}

.motion-walkthrough-section {
    background:
        radial-gradient(circle at 18% 10%, rgba(34, 197, 154, 0.14), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(45, 108, 223, 0.16), transparent 32%),
        linear-gradient(180deg, #07162d, #10233c);
    color: #ffffff;
}

.motion-walkthrough-section .public-section-heading h2,
.motion-walkthrough-section .public-section-heading p {
    color: #ffffff;
}

.motion-walkthrough-section .public-section-heading span {
    color: #54e3bd;
}

.motion-walkthrough-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
    gap: clamp(22px, 3vw, 38px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.motion-demo-stage {
    position: relative;
    min-width: 0;
}

.motion-demo-browser {
    overflow: hidden;
    border: 1px solid rgba(206, 226, 255, 0.24);
    border-radius: 12px;
    background: rgba(5, 18, 36, 0.82);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    animation: motion-stage-float 7s ease-in-out infinite;
}

.motion-demo-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(206, 226, 255, 0.18);
    background: rgba(2, 10, 24, 0.82);
}

.motion-demo-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.motion-demo-topbar strong {
    margin-left: 8px;
    color: #dcecff;
    font-size: 0.86rem;
}

.motion-demo-screen-stack {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a1c34;
}

.motion-demo-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transform: scale(1.035);
    animation: motion-screen-cycle 12s ease-in-out infinite;
}

.motion-demo-screen-one {
    animation-delay: 0s;
}

.motion-demo-screen-two {
    animation-delay: 4s;
}

.motion-demo-screen-three {
    animation-delay: 8s;
}

.motion-demo-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.motion-demo-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: linear-gradient(90deg, #1684d8, #20c997);
    animation: motion-progress 12s linear infinite;
}

.motion-play-badge {
    position: absolute;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22, 132, 216, 0.92), rgba(32, 201, 151, 0.92));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.motion-play-badge span {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #ffffff;
}

.motion-walkthrough-steps {
    display: grid;
    gap: 14px;
}

.motion-walkthrough-steps article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    padding: 18px;
    border: 1px solid rgba(206, 226, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
}

.motion-walkthrough-steps span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(84, 227, 189, 0.14);
    color: #54e3bd;
    font-size: 0.82rem;
    font-weight: 900;
}

.motion-walkthrough-steps h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.02rem;
}

.motion-walkthrough-steps p {
    margin: 0;
    color: #c7d5e8;
}

@keyframes motion-stage-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes motion-screen-cycle {
    0%,
    28% {
        opacity: 1;
        transform: scale(1);
    }

    34%,
    100% {
        opacity: 0;
        transform: scale(1.035);
    }
}

@keyframes motion-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.screenshot-mockup {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px;
    border-bottom: 1px solid var(--public-line);
}

.screenshot-mockup strong {
    color: var(--public-text);
    font-size: 1.2rem;
}

.screenshot-mockup span,
.screenshot-mockup em {
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #475569;
    font-style: normal;
    font-weight: 800;
    padding: 7px 10px;
}

.analytics-mockup {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    background: linear-gradient(135deg, rgba(23, 102, 209, 0.12), rgba(15, 159, 110, 0.16));
}

.analytics-mockup span {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--public-blue), var(--public-green));
    padding: 0;
}

.analytics-mockup span:nth-child(1) {
    height: 64px;
}

.analytics-mockup span:nth-child(2) {
    height: 104px;
}

.analytics-mockup span:nth-child(3) {
    height: 82px;
}

.analytics-mockup strong {
    grid-column: 1 / -1;
}

.invoice-mockup,
.reports-mockup,
.company-mockup {
    background: linear-gradient(135deg, #f8fafc, #eaf6f2);
}

.public-contact-details span {
    display: block;
    color: var(--public-muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.public-contact-details strong {
    display: block;
    margin-top: 6px;
    color: var(--public-text);
    word-break: break-word;
}

.public-contact-form {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--public-line);
    border-radius: var(--public-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 33, 58, 0.06);
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-contact-form label {
    display: grid;
    gap: 8px;
}

.public-contact-form label span {
    color: var(--public-text);
    font-weight: 800;
}

.public-contact-form b {
    color: var(--public-green-dark);
}

.public-contact-form input,
.public-contact-form textarea {
    width: 100%;
    border: 1px solid #cfd9e6;
    border-radius: var(--public-radius);
    background: #fff;
    color: var(--public-text);
    font: inherit;
    outline: none;
    padding: 13px 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.public-contact-form textarea {
    resize: vertical;
}

.public-contact-form input:focus,
.public-contact-form textarea:focus {
    border-color: rgba(23, 102, 209, 0.7);
    box-shadow: 0 0 0 4px rgba(23, 102, 209, 0.12);
}

.public-contact-form small {
    min-height: 18px;
    color: #b42318;
    font-weight: 700;
}

.public-contact-form .public-btn {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.public-spam-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.public-form-alert {
    padding: 13px 14px;
    border-radius: var(--public-radius);
    font-weight: 800;
}

.public-form-alert:empty {
    display: none;
}

.public-form-alert-success {
    border: 1px solid rgba(15, 159, 110, 0.28);
    background: rgba(15, 159, 110, 0.1);
    color: var(--public-green-dark);
}

.public-form-alert-error {
    border: 1px solid rgba(180, 35, 24, 0.22);
    background: rgba(180, 35, 24, 0.08);
    color: #b42318;
}

.public-form-alert-bottom {
    margin-top: 2px;
}

.public-text-page {
    max-width: 900px;
    margin-bottom: 72px;
}

.public-text-page h2:first-child {
    margin-top: 0;
}

.public-footer {
    padding: 42px 0 24px;
    background: #101d32;
    color: #e5edf7;
}

.public-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.public-footer-brand {
    color: #fff;
}

.public-footer p {
    max-width: 520px;
    margin-top: 14px;
    color: #aebbd0;
}

.public-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 12px 28px;
    color: #d8e2ef;
    font-weight: 700;
}

.public-footer-links a:hover {
    color: #fff;
}

.public-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    color: #9fb0c7;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .public-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .public-menu-button {
        display: grid;
    }

    .public-nav {
        width: 100%;
        display: none;
        flex-wrap: wrap;
        padding-top: 12px;
    }

    .public-nav.is-open {
        display: flex;
    }

    .public-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .feature-grid,
    .feature-grid-expanded,
    .feature-grid-focused,
    .why-grid,
    .why-grid-focused,
    .module-status-grid-feature-hub,
    .module-status-grid-four,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-status-grid,
    .public-help-layout,
    .testimonial-grid,
    .security-panel,
    .help-topic-grid,
    .video-grid,
    .contact-option-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .home-product-body,
    .workflow-showcase,
    .platform-showcase-grid,
    .visibility-dashboard,
    .global-tax-panel,
    .public-tool-shell,
    .motion-walkthrough-panel {
        grid-template-columns: 1fr;
    }

    .home-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-grid-simple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screenshot-card-large {
        grid-column: auto;
        grid-row: auto;
    }

    .stats-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-cta-band,
    .public-contact-card,
    .public-footer-inner,
    .public-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-contact-layout {
        grid-template-columns: 1fr;
    }

    .public-footer-inner {
        display: flex;
    }

    .pricing-card-featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .public-header {
        padding: 14px 16px;
    }

    .public-brand img,
    .public-footer-brand img,
    .public-brand-logo,
    .public-footer-brand-logo {
        width: 174px;
        height: 40px;
    }

    .public-nav {
        gap: 9px;
        font-size: 0.88rem;
    }

    .public-nav-login,
    .public-nav-cta {
        padding: 9px 11px;
    }

    .public-hero {
        padding: 42px 16px 34px;
    }

    .public-hero h1,
    .public-page-hero h1 {
        font-size: 1.85rem;
        line-height: 1.04;
    }

    .feature-grid,
    .feature-grid-expanded,
    .feature-grid-focused,
    .why-grid,
    .why-grid-focused,
    .stats-section,
    .pricing-grid,
    .module-status-grid-feature-hub,
    .module-status-grid-four,
    .home-pricing-grid,
    .pricing-grid-simple,
    .home-plan-feature-list,
    .pricing-feature-list,
    .home-mini-grid,
    .workflow-steps,
    .security-list,
    .global-tax-grid,
    .tool-card-grid,
    .tool-result-grid {
        grid-template-columns: 1fr;
    }

    .home-product-body {
        padding: 14px;
    }

    .home-product-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-chart-card {
        min-height: 180px;
        padding: 18px;
    }

    .home-chart-bars {
        height: 130px;
    }

    .visibility-chart {
        height: 190px;
        padding: 14px;
    }

    .visibility-chart-header {
        flex-direction: column;
    }

    .dashboard-preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-card-large {
        grid-row: auto;
    }

    .public-btn {
        width: 100%;
    }

    .public-footer-links {
        grid-template-columns: 1fr;
    }

    .public-form-grid {
        grid-template-columns: 1fr;
    }

    .public-contact-form .public-btn {
        width: 100%;
    }

    .help-search {
        grid-template-columns: 1fr;
    }

    .help-search button {
        min-height: 46px;
    }

    .floating-finance-card {
        display: none;
    }

    .pricing-card {
        min-height: auto;
    }
}

/* Muhasaba Pro app-aligned public identity */
.public-body {
    background:
        radial-gradient(circle at 16% 4%, rgba(29, 112, 186, 0.18), transparent 28rem),
        linear-gradient(180deg, #06142a 0, #0a1b32 196px, #eef3f8 196px, #f6f8fb 100%);
}

.public-header {
    min-height: 92px;
    background: rgba(5, 17, 36, 0.88);
    border-bottom-color: rgba(106, 160, 218, 0.22);
    box-shadow: 0 18px 42px rgba(3, 16, 38, 0.22);
}

.public-header.is-solid {
    background: rgba(5, 17, 36, 0.96);
    border-color: rgba(106, 160, 218, 0.28);
    box-shadow: 0 18px 42px rgba(3, 16, 38, 0.3);
}

.public-brand img,
.public-brand-logo {
    width: 266px;
    height: 76px;
    border-radius: 7px;
    box-shadow: 0 0 0 1px rgba(117, 180, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.public-nav {
    color: #d6e3f4;
}

.public-nav a:hover {
    color: #68d8ff;
}

.public-nav-login {
    border-color: rgba(133, 185, 242, 0.36);
    background: rgba(255, 255, 255, 0.06);
    color: #f4f8ff;
}

.public-nav-cta,
.public-btn-primary {
    background: linear-gradient(135deg, #0a54a3 0%, #1684d8 48%, #0f9f6e 100%);
    box-shadow: 0 14px 34px rgba(12, 84, 163, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.public-btn-secondary {
    border-color: rgba(24, 91, 161, 0.22);
    background: #ffffff;
}

.app-aligned-hero {
    overflow: hidden;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    padding-top: clamp(48px, 6vw, 84px);
    background:
        radial-gradient(circle at 72% 12%, rgba(88, 187, 255, 0.22), transparent 32rem),
        radial-gradient(circle at 28% 68%, rgba(15, 159, 110, 0.16), transparent 26rem),
        linear-gradient(145deg, #07162d 0%, #0b213d 54%, #eef3f8 54.2%, #f8fbff 100%);
}

.app-aligned-hero::before {
    inset: 0;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.35;
}

.app-aligned-hero .public-hero-content {
    position: relative;
    z-index: 1;
}

.app-aligned-hero .public-eyebrow {
    color: #7edcff;
}

.app-aligned-hero h1 {
    max-width: 760px;
    color: #f8fbff;
    font-size: clamp(2.25rem, 4vw, 4rem);
    letter-spacing: 0;
}

.app-aligned-hero .public-hero-copy {
    color: #c8d8eb;
}

.app-aligned-hero .public-trust-row {
    color: #f5fbff;
    gap: 10px 12px;
}

.app-aligned-hero .public-trust-row span,
.app-aligned-hero .public-trust-link {
    padding: 6px 10px;
    border: 1px solid rgba(126, 220, 255, 0.24);
    border-radius: 999px;
    background: rgba(5, 17, 36, 0.64);
    box-shadow: 0 10px 24px rgba(3, 16, 38, 0.18);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.app-aligned-hero .public-trust-link:hover {
    border-color: rgba(126, 220, 255, 0.48);
    transform: translateY(-1px);
}

.app-aligned-hero .public-trust-row span::before,
.app-aligned-hero .public-trust-link::before,
.home-plan-feature-list span::before {
    background: #20e0a2;
    box-shadow: 0 0 14px rgba(32, 224, 162, 0.38);
}

.app-workspace-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(117, 174, 235, 0.34);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(244, 249, 255, 0.98), rgba(214, 226, 241, 0.96));
    box-shadow: 0 34px 90px rgba(0, 12, 30, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.app-workspace-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    background:
        linear-gradient(90deg, #061326, #0a2d57 52%, #07152b),
        url('/images/module-select-header.png') center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.app-workspace-topbar img,
.app-workspace-logo {
    width: 220px;
    max-width: 52%;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.app-workspace-topbar strong {
    color: #f8fbff;
    font-size: 0.95rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.app-workspace-body {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    min-height: 520px;
}

.app-workspace-sidebar {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px 12px;
    background: linear-gradient(180deg, #06152b, #071223);
    border-right: 1px solid rgba(96, 165, 250, 0.18);
}

.app-workspace-sidebar span {
    padding: 11px 12px;
    border-radius: 9px;
    color: #b9c9dd;
    font-size: 0.82rem;
    font-weight: 800;
}

.app-workspace-sidebar .is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(20, 107, 199, 0.88), rgba(20, 153, 213, 0.78));
    box-shadow: 0 12px 24px rgba(16, 95, 180, 0.28);
}

.app-workspace-main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.app-workspace-screen {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(151, 172, 198, 0.34);
    border-radius: 12px;
    background:
        radial-gradient(circle at 90% 8%, rgba(35, 135, 218, 0.13), transparent 18rem),
        linear-gradient(180deg, #ffffff, #f2f6fb);
    box-shadow: 0 18px 42px rgba(18, 33, 58, 0.08);
}

.app-workspace-screen small {
    display: block;
    color: #667991;
    font-weight: 900;
    text-transform: uppercase;
}

.app-workspace-screen strong {
    display: block;
    margin-top: 3px;
    color: #07142c;
    font-size: 1.08rem;
}

.app-workspace-kpis,
.app-workspace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.app-workspace-kpis span,
.app-workspace-grid span {
    padding: 13px;
    border: 1px solid #d8e3ef;
    border-radius: 9px;
    background: #f8fbff;
}

.app-workspace-kpis b {
    display: block;
    color: #607188;
    font-size: 0.72rem;
}

.app-workspace-kpis em {
    display: block;
    margin-top: 4px;
    color: #087a55;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 950;
}

.app-workspace-grid span {
    color: #12213a;
    font-size: 0.78rem;
    font-weight: 850;
}

.app-workspace-main > img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    border: 1px solid rgba(151, 172, 198, 0.36);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(18, 33, 58, 0.12);
}

.app-feature-section,
.app-module-section,
.app-workflow-section,
.app-showcase-section,
.app-pricing-section,
.app-plan-section,
.trust-section,
.home-faq-section,
.audience-section,
.app-comparison-section,
.business-visibility-section,
.global-tax-section {
    position: relative;
}

.app-feature-section .public-section-heading h2,
.app-module-section .public-section-heading h2,
.app-workflow-section .public-section-heading h2,
.app-showcase-section .public-section-heading h2,
.app-pricing-section .public-section-heading h2,
.app-plan-section .public-section-heading h2,
.trust-section .public-section-heading h2,
.home-faq-section .public-section-heading h2,
.audience-section .public-section-heading h2,
.app-comparison-section .public-section-heading h2,
.business-visibility-section .public-section-heading h2,
.global-tax-section .public-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    letter-spacing: 0;
}

.app-feature-card,
.app-module-card,
.app-workflow-grid article,
.app-platform-main,
.app-platform-cards article,
.app-price-card,
.app-plan-table,
.visibility-chart-card,
.visibility-metrics article,
.global-tax-panel,
.global-tax-grid article,
.trust-section .app-workflow-grid article,
.audience-grid article,
.app-comparison-table-wrap {
    border-color: rgba(13, 44, 82, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(5, 23, 50, 0.08);
}

.audience-section {
    padding-top: 38px;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 159, 110, 0.1), transparent 22rem),
        linear-gradient(180deg, #f8fbff, #eef4f8);
}

.audience-grid article {
    min-height: 210px;
    background: linear-gradient(180deg, #ffffff, #f7faff);
}

.app-comparison-section {
    padding-top: 38px;
}

.app-comparison-table-wrap {
    border: 1px solid rgba(13, 44, 82, 0.12);
    background: #ffffff;
}

.app-comparison-table-wrap .comparison-table th:nth-child(3),
.app-comparison-table-wrap .comparison-table td:nth-child(3) {
    color: #07162d;
    background: rgba(15, 159, 110, 0.06);
}

.trust-section {
    padding-top: 34px;
    background:
        radial-gradient(circle at 88% 20%, rgba(23, 102, 209, 0.1), transparent 22rem),
        linear-gradient(180deg, #f8fbff, #eef4f8);
}

.home-faq-section {
    padding-top: 36px;
}

.home-faq-section .faq-list {
    max-width: 920px;
    margin-inline: auto;
}

.business-visibility-section {
    padding-top: clamp(46px, 6vw, 76px);
    background:
        radial-gradient(circle at 84% 20%, rgba(15, 159, 110, 0.12), transparent 22rem),
        linear-gradient(180deg, #f8fbff, #eef4f8);
}

.visibility-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 18px;
}

.visibility-chart-card {
    min-height: 390px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(13, 44, 82, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 253, 0.95)),
        radial-gradient(circle at 86% 12%, rgba(23, 102, 209, 0.12), transparent 22rem);
}

.visibility-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.visibility-chart-header span {
    color: #607188;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visibility-chart-header strong {
    color: #07162d;
    font-size: clamp(1.35rem, 2.3vw, 2.1rem);
    line-height: 1.05;
}

.visibility-chart {
    display: flex;
    align-items: end;
    gap: clamp(12px, 2vw, 20px);
    height: 250px;
    padding: 20px;
    border: 1px solid rgba(151, 172, 198, 0.28);
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(13, 44, 82, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 44, 82, 0.05) 1px, transparent 1px),
        #ffffff;
    background-size: 48px 48px;
}

.visibility-chart span {
    flex: 1;
    min-width: 24px;
    height: var(--bar-height);
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #1684d8, #0f9f6e);
    box-shadow: 0 12px 26px rgba(15, 95, 170, 0.2);
    transform-origin: bottom;
    animation: visibility-rise 1100ms ease-out both, visibility-pulse 4.5s ease-in-out infinite;
}

.visibility-chart span:nth-child(2) {
    animation-delay: 90ms;
}

.visibility-chart span:nth-child(3) {
    animation-delay: 180ms;
}

.visibility-chart span:nth-child(4) {
    animation-delay: 270ms;
}

.visibility-chart span:nth-child(5) {
    animation-delay: 360ms;
}

.visibility-chart span:nth-child(6) {
    animation-delay: 450ms;
}

.visibility-metrics {
    display: grid;
    gap: 14px;
}

.visibility-metrics article {
    display: grid;
    gap: 7px;
    padding: 22px;
    border: 1px solid rgba(13, 44, 82, 0.12);
    background: linear-gradient(180deg, #ffffff, #f7faff);
}

.visibility-metrics span {
    color: #607188;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visibility-metrics strong {
    color: #07162d;
    font-size: 1.45rem;
}

.visibility-metrics em {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 159, 110, 0.12);
    color: #087a55;
    font-style: normal;
    font-weight: 900;
}

.global-tax-section {
    padding-top: 28px;
}

.global-tax-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
    padding: clamp(28px, 5vw, 46px);
    border: 1px solid rgba(126, 220, 255, 0.2);
    background:
        radial-gradient(circle at 88% 14%, rgba(126, 220, 255, 0.2), transparent 20rem),
        linear-gradient(135deg, #07162d, #0b2e56);
}

.global-tax-panel .public-section-heading {
    margin-bottom: 0;
}

.global-tax-panel .public-section-heading span {
    color: #7edcff;
}

.global-tax-panel .public-section-heading h2 {
    color: #f8fbff;
}

.global-tax-panel .public-section-heading p {
    color: #bfd0e4;
}

.global-tax-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.global-tax-grid article {
    min-height: 148px;
    padding: 22px;
    border: 1px solid rgba(126, 220, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.global-tax-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #f8fbff;
    font-size: 1.15rem;
}

.global-tax-grid p {
    margin: 0;
    color: #c8d8eb;
}

.global-tax-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    grid-column: 1 / -1;
}

.tool-directory-section {
    padding-top: 38px;
}

.public-directory-section {
    margin-bottom: 72px;
}

.tool-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tool-card,
.public-tool-shell {
    border: 1px solid rgba(13, 44, 82, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(5, 23, 50, 0.08);
}

.tool-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 24px;
}

.tool-card h3 {
    margin: 0 0 10px;
    color: #07162d;
}

.tool-card p {
    margin: 0 0 20px;
    color: #61728a;
}

.tool-card .public-btn {
    margin-top: auto;
}

.public-tool-section {
    padding-top: 26px;
}

.public-tool-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 0;
    overflow: hidden;
}

.public-tool-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    background: linear-gradient(180deg, #ffffff, #f7faff);
}

.public-tool-form label {
    display: grid;
    gap: 8px;
}

.public-tool-form span {
    color: #12213a;
    font-weight: 850;
}

.public-tool-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfd9e6;
    border-radius: 8px;
    background: #fff;
    color: #12213a;
    font: inherit;
    padding: 12px 14px;
}

.public-tool-form input:focus {
    border-color: rgba(23, 102, 209, 0.7);
    box-shadow: 0 0 0 4px rgba(23, 102, 209, 0.12);
    outline: none;
}

.public-tool-result {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(24px, 5vw, 44px);
    background:
        radial-gradient(circle at 88% 10%, rgba(126, 220, 255, 0.2), transparent 18rem),
        linear-gradient(135deg, #07162d, #0b2e56);
}

.public-tool-result > span {
    color: #7edcff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.public-tool-result > strong {
    color: #f8fbff;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.95;
}

.tool-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tool-result-grid p {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(126, 220, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.tool-result-grid b {
    color: #bfd0e4;
    font-size: 0.78rem;
}

.tool-result-grid em {
    color: #f8fbff;
    font-style: normal;
    font-weight: 900;
}

.public-tool-result small {
    color: #bfd0e4;
}

.app-feature-card {
    min-height: 218px;
    background:
        linear-gradient(180deg, #ffffff, #f7faff);
    border-top: 3px solid #0f5faa;
}

.app-feature-card .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(145deg, #07162d, #0f5faa) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 22px rgba(7, 22, 45, 0.18);
}

.app-module-section {
    width: 100%;
    max-width: none;
    padding-inline: max(18px, calc((100% - 1180px) / 2));
    background: linear-gradient(180deg, #07162d, #0a1e38);
}

.app-module-section .public-section-heading h2,
.app-module-section .public-section-heading p {
    color: #f8fbff;
}

.app-module-section .public-section-heading span {
    color: #7edcff;
}

.app-module-card {
    min-height: 230px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 239, 249, 0.96));
}

.app-module-card.module-status-active {
    border-color: rgba(32, 224, 162, 0.5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 251, 244, 0.94));
}

.app-workflow-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 95, 170, 0.1), transparent 24rem),
        linear-gradient(180deg, #f6f8fb, #edf3f8);
}

.app-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.app-workflow-grid article {
    min-height: 210px;
    padding: 24px;
    background:
        linear-gradient(180deg, #ffffff, #f6f9fd);
}

.app-workflow-grid h3 {
    margin: 0 0 10px;
    color: #07162d;
}

.app-workflow-grid p {
    margin: 0;
    color: #61728a;
}

.app-platform-main {
    background: #07162d;
    border-color: rgba(96, 165, 250, 0.22);
}

.app-platform-main img {
    max-height: 520px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
}

.app-platform-main div {
    background: linear-gradient(180deg, #07162d, #0a1e38);
}

.app-platform-main h3 {
    color: #f8fbff;
}

.app-platform-main p {
    color: #bfd0e4;
}

.app-platform-cards article {
    border-left: 4px solid #0f5faa;
}

.app-pricing-section {
    background: linear-gradient(180deg, transparent, rgba(7, 22, 45, 0.06), transparent);
}

.app-price-card.home-pricing-card-featured {
    border-color: rgba(32, 224, 162, 0.42);
    background:
        linear-gradient(180deg, #ffffff, #f0fbf7);
}

.app-plan-table {
    border-top: 4px solid #0f5faa;
}

.app-cta-band {
    background:
        radial-gradient(circle at 92% 18%, rgba(126, 220, 255, 0.18), transparent 18rem),
        linear-gradient(135deg, #07162d, #0b2e56);
    border-color: rgba(126, 220, 255, 0.22);
    box-shadow: 0 30px 70px rgba(3, 16, 38, 0.22);
}

.app-cta-band span {
    color: #7edcff;
}

.app-cta-band h2 {
    color: #f8fbff;
}

.public-footer {
    background:
        linear-gradient(180deg, #07162d, #030d1f);
}

@media (max-width: 980px) {
    .public-body {
        background: linear-gradient(180deg, #07162d 0, #0a1b32 150px, #f6f8fb 150px);
    }

    .app-aligned-hero {
        grid-template-columns: 1fr;
        background: linear-gradient(180deg, #07162d 0%, #0b213d 58%, #eef3f8 58.2%, #f8fbff 100%);
        padding-inline: 18px;
    }

    .app-aligned-hero .public-hero-visual {
        max-width: 760px;
        margin-inline: auto;
    }

    .app-workspace-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .app-workspace-sidebar {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow-x: auto;
    }

    .app-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .public-header {
        min-height: auto;
        background: rgba(5, 17, 36, 0.97);
    }

    .public-brand img,
    .public-brand-logo {
        width: min(212px, calc(100vw - 104px));
        height: 58px;
    }

    .public-menu-button {
        border-color: rgba(133, 185, 242, 0.32);
        background: rgba(255, 255, 255, 0.08);
    }

    .public-menu-button span {
        background: #f8fbff;
    }

    .app-aligned-hero h1 {
        font-size: 1.95rem;
        line-height: 1.08;
    }

    .app-aligned-hero .public-hero-copy {
        font-size: 1rem;
    }

    .app-aligned-hero .public-trust-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .app-aligned-hero .public-trust-row span,
    .app-aligned-hero .public-trust-link {
        width: fit-content;
        max-width: 100%;
    }

    .app-workspace-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .app-workspace-topbar img {
        max-width: 100%;
        width: min(210px, 100%);
        height: auto;
    }

    .app-workspace-sidebar,
    .app-workspace-kpis,
    .app-workspace-grid,
    .app-workflow-grid {
        grid-template-columns: 1fr;
    }

    .app-workspace-body {
        min-height: auto;
    }

    .app-workspace-preview {
        border-radius: 10px;
    }

    .app-workspace-main {
        padding: 12px;
    }

    .app-workspace-screen {
        padding: 14px;
    }

    .app-workspace-main > img {
        height: 170px;
    }

    .motion-walkthrough-panel {
        gap: 18px;
    }

    .motion-walkthrough-steps article {
        grid-template-columns: 1fr;
    }

    .motion-walkthrough-steps span {
        grid-row: auto;
    }

    .motion-play-badge {
        width: 58px;
        height: 58px;
    }
}

/* Final responsive polish for the public marketing site. */
.public-body *,
.public-body *::before,
.public-body *::after {
    min-width: 0;
}

.public-body img,
.public-body table {
    max-width: 100%;
}

.app-product-screens-grid .app-product-screen-lead {
    grid-column: span 1;
    grid-row: auto;
}

.local-ai-hero .public-hero-actions,
.local-ai-hero-actions {
    justify-content: center;
}

.local-ai-overview-grid,
.local-ai-support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.local-ai-panel,
.local-ai-step,
.local-ai-safety-note,
.local-ai-feature-card {
    border: 1px solid rgba(13, 44, 82, 0.12);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(5, 23, 50, 0.08);
}

.local-ai-panel,
.local-ai-step,
.local-ai-safety-note {
    padding: clamp(22px, 4vw, 30px);
}

.local-ai-panel > span,
.local-ai-step > span,
.local-ai-safety-note > span,
.local-ai-feature-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--public-green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.local-ai-panel h2,
.local-ai-step h3,
.local-ai-safety-note h2,
.local-ai-feature-card h2 {
    margin: 0 0 10px;
    color: #07162d;
}

.local-ai-panel p,
.local-ai-step p,
.local-ai-safety-note p,
.local-ai-feature-card p,
.local-ai-panel li {
    color: #61728a;
}

.local-ai-panel p,
.local-ai-step p,
.local-ai-safety-note p,
.local-ai-feature-card p {
    margin: 0 0 12px;
}

.local-ai-panel ul {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 20px;
}

.local-ai-note {
    padding: 12px 14px;
    border: 1px solid rgba(15, 159, 110, 0.18);
    border-radius: 8px;
    background: rgba(15, 159, 110, 0.08);
    color: #087a55 !important;
    font-weight: 800;
}

.local-ai-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.local-ai-step {
    display: flex;
    min-height: 310px;
    flex-direction: column;
}

.local-ai-step .public-btn {
    margin-top: auto;
}

.local-ai-command,
.local-ai-example {
    border: 1px solid rgba(126, 220, 255, 0.2);
    border-radius: 10px;
    background: #07162d;
    color: #f8fbff;
}

.local-ai-command {
    overflow-x: auto;
    margin: 14px 0 0;
    padding: 16px;
}

.local-ai-command code,
.local-ai-example code {
    color: #f8fbff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.96rem;
}

.local-ai-example {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 16px;
}

.local-ai-example strong {
    color: #7edcff;
}

.local-ai-safety-note {
    background:
        radial-gradient(circle at 88% 12%, rgba(126, 220, 255, 0.18), transparent 18rem),
        linear-gradient(135deg, #07162d, #0b2e56);
}

.local-ai-safety-note span {
    color: #7edcff;
}

.local-ai-safety-note h2 {
    color: #f8fbff;
}

.local-ai-safety-note p {
    color: #bfd0e4;
}

.local-ai-feature-section {
    padding-top: 20px;
}

.local-ai-feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 5vw, 38px);
    background: linear-gradient(180deg, #ffffff, #f0fbf7);
}

.local-ai-feature-card .public-btn {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .public-nav {
        align-items: stretch;
        gap: 10px;
    }

    .public-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid rgba(133, 185, 242, 0.22);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
    }

    .comparison-table-wrap {
        overflow-x: auto;
    }


    .visibility-dashboard {
        grid-template-columns: minmax(0, 1fr);
    }

    .visibility-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .local-ai-overview-grid,
    .local-ai-support-grid,
    .local-ai-step-list {
        grid-template-columns: 1fr;
    }

    .local-ai-step {
        min-height: 0;
    }

    .local-ai-feature-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .public-header {
        gap: 10px;
        padding: 10px 14px;
    }

    .public-menu-button {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .public-nav {
        display: none;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .public-nav.is-open {
        display: grid;
    }

    .public-hero {
        padding-inline: 16px;
    }

    .public-hero-actions,
    .global-tax-actions,
    .home-pricing-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .public-btn {
        width: 100%;
    }

    .app-aligned-hero .public-hero-visual {
        width: 100%;
    }

    .app-workspace-preview {
        width: 100%;
    }

    .app-workspace-sidebar {
        max-height: 230px;
        overflow: hidden;
    }

    .visibility-chart {
        height: 160px;
        gap: 10px;
        padding: 12px;
    }

    .visibility-chart-card {
        min-height: 0;
        padding: 18px;
    }

    .visibility-chart-header {
        gap: 8px;
        margin-bottom: 16px;
    }

    .visibility-chart-header strong {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .visibility-chart span {
        min-width: 0;
    }

    .visibility-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .visibility-metrics article {
        padding: 18px;
    }

    .visibility-metrics strong {
        font-size: 1.2rem;
    }

    .global-tax-panel {
        padding: 22px;
    }

    .comparison-table {
        min-width: 640px;
    }

    .local-ai-hero .public-hero-actions,
    .local-ai-feature-card .public-btn {
        width: 100%;
    }

    .local-ai-command {
        white-space: pre-wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-demo-browser,
    .motion-demo-screen,
    .motion-demo-progress span {
        animation: none;
    }

    .motion-demo-screen-one {
        opacity: 1;
        transform: none;
    }
}
.help-demo-section {
    padding-top: 4rem;
}

.help-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1180px;
    margin: 2rem auto 0;
}

.help-demo-card {
    padding: 1.35rem;
    border: 1px solid rgba(75, 101, 135, .18);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(22, 39, 68, .06);
}

.help-demo-card h3 {
    margin: 0 0 .6rem;
    color: #06142b;
    font-size: 1.02rem;
}

.help-demo-card p {
    margin: 0;
    color: #51637c;
    line-height: 1.55;
}

.help-demo-action {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.public-btn-demo {
    min-width: 12rem;
    justify-content: center;
    font-size: 1.02rem;
}

.pricing-grid-single {
    width: min(100%, 780px);
    max-width: 780px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
}

.pricing-grid-single .pricing-card-simple {
    min-height: 0;
    padding: clamp(2rem, 4vw, 3rem);
}

.pricing-grid-single .pricing-card-simple h2 {
    max-width: 560px;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.pricing-grid-single .price-row-simple strong {
    font-size: clamp(2.25rem, 4vw, 3.2rem);
}

.pricing-grid-single .pricing-card-simple ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
}

.pricing-grid-single .pricing-card-simple .public-btn {
    width: min(100%, 360px);
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
}

.pricing-regular-price {
    color: #334155;
    font-weight: 800;
}

.pricing-fine-print {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-fine-print p {
    margin: 0;
}

.home-pricing-fine-print {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .help-demo-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid-single .pricing-card-simple ul {
        grid-template-columns: 1fr;
    }
}

/* Preserve the master wordmark's native proportions at every public size. */
.public-brand-logo,
.public-footer-brand-logo,
.app-workspace-logo {
    aspect-ratio: 3.5 / 1;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.public-brand-logo {
    width: 266px;
}

.public-footer-brand-logo {
    width: 218px;
}

.app-workspace-logo {
    width: 220px;
}

@media (max-width: 640px) {
    .public-brand-logo {
        width: min(212px, calc(100vw - 104px));
        height: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Homepage hero: real Muhasaba Pro product mosaic. */
.app-aligned-hero.public-home-hero {
    grid-template-columns: minmax(420px, 0.82fr) minmax(650px, 1.18fr);
    gap: 42px;
    align-items: center;
    padding: 54px 54px 50px;
    background: linear-gradient(122deg, #07162d 0%, #0a2340 58%, #eaf1f7 58.2%, #f8fbff 100%);
}

.app-aligned-hero.public-home-hero::before {
    opacity: 0.22;
}

.public-home-hero .public-hero-content {
    max-width: 650px;
}

.public-home-hero h1 {
    max-width: 640px;
    font-size: 3.65rem;
    line-height: 1.03;
}

.public-home-hero .public-hero-copy {
    max-width: 600px;
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.58;
}

.public-home-hero .public-hero-actions {
    margin-top: 28px;
}

.public-hero-offer {
    margin: 16px 0 0;
    color: #b8cce3;
    font-size: 0.9rem;
}

.public-hero-offer strong {
    color: #ffffff;
}

.hero-product-showcase {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-product-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 8px 14px;
}

.hero-product-heading span {
    color: #0f6fae;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-product-heading strong {
    color: #0b203a;
    font-size: 1rem;
    text-align: right;
}

.hero-product-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    gap: 10px;
    height: 620px;
    min-width: 0;
}

.hero-product-shot {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 63, 108, 0.22);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(5, 22, 44, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-product-shot:hover {
    z-index: 8;
    transform: translateY(-3px);
    box-shadow: 0 28px 58px rgba(5, 22, 44, 0.3);
}

.hero-product-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.hero-product-shot figcaption {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 2px;
    padding: 11px 13px;
    color: #ffffff;
    background: rgba(6, 24, 48, 0.92);
}

.hero-product-shot figcaption strong {
    font-size: 0.84rem;
}

.hero-product-shot figcaption span {
    color: #c8dbef;
    font-size: 0.68rem;
}

.hero-shot-journal {
    grid-column: 1 / 9;
    grid-row: 1 / 6;
    z-index: 1;
}

.hero-shot-income {
    grid-column: 8 / 13;
    grid-row: 1 / 4;
    z-index: 3;
}

.hero-shot-invoices {
    grid-column: 8 / 13;
    grid-row: 4 / 9;
    z-index: 6;
}

.hero-shot-accounts {
    grid-column: 1 / 5;
    grid-row: 6 / 9;
    z-index: 2;
}

.hero-shot-transaction {
    grid-column: 5 / 9;
    grid-row: 6 / 9;
    z-index: 5;
}

@media (max-width: 1180px) {
    .app-aligned-hero.public-home-hero {
        grid-template-columns: 1fr;
        padding: 52px 34px 46px;
        background: linear-gradient(180deg, #07162d 0%, #0a2340 45%, #edf3f8 45.2%, #f8fbff 100%);
    }

    .public-home-hero .public-hero-content {
        max-width: 760px;
    }

    .hero-product-showcase {
        width: min(940px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .app-aligned-hero.public-home-hero {
        gap: 34px;
        padding: 38px 16px 34px;
        background: linear-gradient(180deg, #07162d 0%, #0a2340 47%, #edf3f8 47.2%, #f8fbff 100%);
    }

    .public-home-hero h1 {
        font-size: 2.55rem;
        line-height: 1.06;
    }

    .public-home-hero .public-hero-copy {
        font-size: 1rem;
    }

    .hero-product-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-inline: 0;
    }

    .hero-product-heading strong {
        text-align: left;
    }

    .hero-product-collage {
        display: flex;
        height: auto;
        gap: 12px;
        padding: 2px 2px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .hero-product-shot {
        flex: 0 0 86%;
        aspect-ratio: 1.35 / 1;
        scroll-snap-align: start;
    }
}
/* Homepage hero mobile containment. */
@media (max-width: 700px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-aligned-hero.public-home-hero {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        background: #07162d;
    }

    .public-home-hero .public-hero-content,
    .public-home-hero h1,
    .public-home-hero .public-hero-copy,
    .public-home-hero .public-hero-actions,
    .public-home-hero .public-trust-row,
    .public-home-hero .public-hero-offer,
    .public-home-hero .hero-product-showcase,
    .public-home-hero .hero-product-collage {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .public-home-hero h1 {
        font-size: 2.3rem;
        overflow-wrap: break-word;
    }

    .public-home-hero .hero-product-heading span {
        color: #7edcff;
    }

    .public-home-hero .hero-product-heading strong {
        color: #ffffff;
    }
}
/* Compact mobile hero proof grid. */
@media (max-width: 700px) {
    .public-home-hero .public-trust-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 22px;
    }

    .public-home-hero .public-trust-row span,
    .public-home-hero .public-trust-link {
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        padding: 7px 9px;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .public-home-hero .public-hero-offer {
        margin-top: 12px;
    }
}
/* Responsive accounting journey showcase. */
.journey-product-showcase .hero-product-heading {
    align-items: center;
    margin: 0 4px 14px;
}

.journey-product-showcase .hero-product-heading > div {
    display: grid;
    gap: 3px;
}

.journey-product-showcase .hero-product-heading strong {
    color: #f8fbff;
    font-size: 1.15rem;
    text-align: left;
}

.journey-product-showcase .hero-product-heading small {
    max-width: 220px;
    color: #314761;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.journey-product-showcase .hero-product-collage {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 620px;
    overflow: visible;
}

.journey-product-showcase .hero-product-shot {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    transform: none;
}

.journey-product-showcase .hero-product-shot:hover {
    transform: translateY(-2px);
}

.journey-product-showcase .hero-product-shot img {
    min-height: 0;
    object-fit: cover;
    object-position: top left;
}

.journey-product-showcase .hero-product-shot figcaption {
    position: static;
    inset: auto;
    align-content: center;
    gap: 5px;
    min-height: 82px;
    padding: 12px 14px;
    background: #081e38;
}

.journey-product-showcase .hero-product-shot figcaption strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.journey-product-showcase .hero-product-shot figcaption strong span {
    display: inline-grid;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #06213d;
    background: #72d9ff;
    font-size: 0.76rem;
    font-weight: 950;
}

.journey-product-showcase .hero-product-shot figcaption small {
    color: #c8dbef;
    font-size: 0.82rem;
    line-height: 1.35;
}

.journey-product-showcase .hero-shot-accounts {
    grid-column: 1 / 5;
    grid-row: 1;
}

.journey-product-showcase .hero-shot-invoices {
    grid-column: 5 / 9;
    grid-row: 1;
}

.journey-product-showcase .hero-shot-transaction {
    grid-column: 1 / 5;
    grid-row: 2;
}

.journey-product-showcase .hero-shot-journal {
    grid-column: 5 / 9;
    grid-row: 2;
}

.journey-product-showcase .hero-shot-income {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
}

.journey-product-showcase .hero-shot-income img {
    object-position: 48% top;
}

@media (max-width: 900px) {
    .journey-product-showcase .hero-product-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        height: auto;
    }

    .journey-product-showcase .hero-product-shot {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 1.2 / 1;
    }

    .journey-product-showcase .hero-shot-income {
        grid-column: 1 / -1;
        aspect-ratio: 2.1 / 1;
    }
}

@media (max-width: 700px) {
    .journey-product-showcase .hero-product-heading {
        align-items: flex-start;
    }

    .journey-product-showcase .hero-product-heading small {
        max-width: none;
        color: #c8dbef;
        font-size: 0.82rem;
        text-align: left;
    }

    .journey-product-showcase .hero-product-collage {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 14px;
        height: auto;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .journey-product-showcase .hero-product-shot,
    .journey-product-showcase .hero-shot-income {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-width: 0;
        aspect-ratio: auto;
    }

    .journey-product-showcase .hero-product-shot img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.44 / 1;
        object-fit: cover;
    }

    .journey-product-showcase .hero-product-shot figcaption {
        min-height: 92px;
        padding: 14px 16px;
    }

    .journey-product-showcase .hero-product-shot figcaption strong {
        font-size: 1rem;
    }

    .journey-product-showcase .hero-product-shot figcaption small {
        font-size: 0.84rem;
    }
}
/* Journey heading contrast on laptop and tablet widths. */
@media (min-width: 701px) and (max-width: 1180px) {
    .journey-product-showcase .hero-product-heading strong {
        color: #0b203a;
    }
}
/* Reference-matched accounting journey infographic. */
.journey-product-showcase {
    padding: 22px;
    overflow: hidden;
    border: 1px solid #d5e0eb;
    border-radius: 8px;
    color: #101e32;
    background-color: #f4f8fc;
    background-image:
        linear-gradient(rgba(35, 78, 119, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 78, 119, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
    box-shadow: 0 24px 54px rgba(4, 22, 43, 0.22);
}

.journey-product-showcase .hero-product-heading {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(160px, 0.72fr);
    align-items: start;
    gap: 24px;
    margin: 0 4px 18px;
}

.journey-product-showcase .hero-product-heading h2,
.journey-product-showcase .hero-product-heading p {
    margin: 0;
    color: #101e32;
    letter-spacing: 0;
    text-transform: uppercase;
}

.journey-product-showcase .hero-product-heading h2 {
    font-size: clamp(1.15rem, 1.5vw, 1.75rem);
    line-height: 1.12;
}

.journey-product-showcase .hero-product-heading p {
    font-size: clamp(0.78rem, 0.85vw, 1rem);
    font-weight: 900;
    line-height: 1.18;
    text-align: center;
}

.journey-product-showcase .hero-product-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    height: 558px;
    padding: 0 8px 8px;
}

.journey-product-showcase .hero-product-shot {
    z-index: 2;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: rgba(244, 247, 250, 0.96);
    box-shadow: 0 8px 18px rgba(17, 38, 62, 0.2), inset 0 0 0 1px #c9d4df;
}

.journey-product-showcase .hero-product-shot:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(17, 38, 62, 0.24), inset 0 0 0 1px #b8c8d7;
}

.journey-product-showcase .hero-product-shot h3 {
    margin: 0;
    padding: 12px 12px 8px;
    color: #111c2d;
    font-size: clamp(0.72rem, 0.75vw, 0.9rem);
    line-height: 1.18;
    text-align: center;
}

.journey-product-showcase .hero-product-shot img {
    width: calc(100% - 28px);
    height: 100%;
    min-height: 0;
    margin: 0 14px;
    border: 6px solid #111820;
    border-bottom-width: 10px;
    border-radius: 5px 5px 3px 3px;
    object-fit: cover;
    object-position: top left;
    box-shadow: 0 5px 8px rgba(12, 26, 43, 0.18);
}

.journey-product-showcase .hero-product-shot figcaption {
    position: static;
    display: grid;
    align-content: center;
    gap: 3px;
    min-height: 78px;
    padding: 9px 12px 11px;
    color: #101820;
    background: transparent;
    text-align: center;
}

.journey-product-showcase .hero-product-shot figcaption strong {
    display: block;
    color: #101820;
    font-size: clamp(0.75rem, 0.78vw, 0.92rem);
    line-height: 1.15;
}

.journey-product-showcase .hero-product-shot figcaption small {
    display: block;
    color: #182536;
    font-size: clamp(0.68rem, 0.67vw, 0.79rem);
    line-height: 1.2;
}

.journey-product-showcase .hero-shot-accounts { grid-column: 1 / 5; grid-row: 1; }
.journey-product-showcase .hero-shot-invoices { grid-column: 5 / 9; grid-row: 1; }
.journey-product-showcase .hero-shot-transaction { grid-column: 1 / 5; grid-row: 2; }
.journey-product-showcase .hero-shot-journal { grid-column: 5 / 9; grid-row: 2; }

.journey-product-showcase .hero-shot-income {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
    grid-template-rows: minmax(0, 1fr) auto;
    align-self: center;
    height: 68%;
}

.journey-product-showcase .hero-shot-income img {
    width: calc(100% - 34px);
    height: 100%;
    margin: 16px 17px 0;
    border-width: 8px;
    border-bottom-width: 12px;
    object-position: 48% top;
}

.journey-product-showcase .hero-shot-income figcaption { min-height: 102px; }

.journey-network {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.journey-network::before,
.journey-network::after {
    position: absolute;
    height: 1px;
    background: #86a9bc;
    content: "";
}

.journey-network::before { top: 25%; left: 27%; width: 47%; }
.journey-network::after { top: 75%; left: 27%; width: 47%; }

.journey-label {
    position: absolute;
    z-index: 3;
    padding: 2px 4px;
    color: #32475b;
    background: #f4f8fc;
    font-size: 0.52rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.label-tax-one { top: 18%; left: 30.5%; }
.label-ledger-one { top: 17%; left: 42%; }
.label-ledger-two { top: 66%; left: 42%; }
.label-reports { top: 28%; left: 72%; }
.label-customers { top: 70%; left: 70%; }

.journey-node {
    position: absolute;
    z-index: 3;
    width: 12px;
    height: 12px;
    border: 3px solid #eaf5f8;
    border-radius: 50%;
    background: #9ed0d7;
    box-shadow: 0 0 0 1px rgba(92, 145, 162, 0.25);
}

.node-one { top: calc(25% - 6px); left: calc(33.3% - 6px); }
.node-two { top: calc(25% - 6px); left: calc(66.6% - 6px); }
.node-three { top: calc(75% - 6px); left: calc(33.3% - 6px); }
.node-four { top: calc(75% - 6px); left: calc(66.6% - 6px); }

@media (max-width: 900px) {
    .journey-product-showcase { padding: 20px; }

    .journey-product-showcase .hero-product-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 18px;
        height: auto;
    }

    .journey-product-showcase .hero-product-shot,
    .journey-product-showcase .hero-shot-income {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    .journey-product-showcase .hero-shot-income {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }

    .journey-product-showcase .hero-product-shot img,
    .journey-product-showcase .hero-shot-income img {
        height: auto;
        aspect-ratio: 1.55 / 1;
    }

    .journey-network { display: none; }
}

@media (max-width: 700px) {
    .journey-product-showcase {
        padding: 18px 14px;
        background-color: #f4f8fc;
    }

    .journey-product-showcase .hero-product-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    .journey-product-showcase .hero-product-heading h2,
    .journey-product-showcase .hero-product-heading p {
        color: #101e32;
        text-align: left;
    }

    .journey-product-showcase .hero-product-heading h2 { font-size: 1.25rem; }
    .journey-product-showcase .hero-product-heading p { font-size: 0.78rem; }

    .journey-product-showcase .hero-product-collage {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0;
    }

    .journey-product-showcase .hero-product-shot,
    .journey-product-showcase .hero-shot-income {
        grid-column: 1;
        width: 100%;
    }

    .journey-product-showcase .hero-product-shot h3 {
        padding: 14px 14px 10px;
        font-size: 0.94rem;
    }

    .journey-product-showcase .hero-product-shot figcaption,
    .journey-product-showcase .hero-shot-income figcaption {
        min-height: 94px;
        padding: 12px 16px 14px;
    }

    .journey-product-showcase .hero-product-shot figcaption strong { font-size: 0.95rem; }
    .journey-product-showcase .hero-product-shot figcaption small { font-size: 0.82rem; }
}
/* Four-workspace homepage showcase. */
.workspace-suite-showcase {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #b8cce1;
    border-radius: 8px;
    color: #13233f;
    background-color: #f4f8fc;
    background-image:
        linear-gradient(rgba(70, 116, 160, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 116, 160, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    box-shadow: 0 22px 48px rgba(5, 22, 44, 0.22);
}

.workspace-suite-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
    gap: 24px;
    align-items: end;
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(115, 151, 186, 0.28);
    background: rgba(255, 255, 255, 0.74);
}

.workspace-suite-heading h2,
.workspace-suite-heading p {
    margin: 0;
    letter-spacing: 0;
}

.workspace-suite-heading h2 {
    color: #10233e;
    font-size: clamp(1.55rem, 2vw, 2.15rem);
    line-height: 1.06;
    text-transform: uppercase;
}

.workspace-suite-heading h2 span {
    color: #086ccb;
}

.workspace-suite-heading p {
    color: #3f5470;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: right;
}

.workspace-suite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    min-width: 0;
    padding: 18px 24px 22px;
}

.workspace-suite-card {
    --workspace-accent: #0877cc;
    --workspace-tint: #e5f3ff;
    display: grid;
    grid-template-columns: minmax(145px, 0.9fr) minmax(0, 1.1fr);
    min-width: 0;
    min-height: 198px;
    overflow: hidden;
    border: 1px solid #b9cbde;
    border-top: 4px solid var(--workspace-accent);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 18px rgba(19, 43, 74, 0.11);
}

.workspace-suite-invoicing {
    --workspace-accent: #078b79;
    --workspace-tint: #e5f7f2;
}

.workspace-suite-payroll {
    --workspace-accent: #7357b4;
    --workspace-tint: #f0ebfb;
}

.workspace-suite-data-entry {
    --workspace-accent: #c25a2b;
    --workspace-tint: #fff0e8;
}

.workspace-suite-shot {
    min-width: 0;
    padding: 11px 0 11px 11px;
    background: linear-gradient(145deg, var(--workspace-tint), #ffffff 80%);
}

.workspace-suite-shot img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 166px;
    border: 5px solid #122033;
    border-radius: 4px;
    object-fit: cover;
    object-position: top left;
    box-shadow: 0 5px 10px rgba(9, 24, 44, 0.22);
}

.workspace-suite-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 15px 14px;
}

.workspace-suite-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.workspace-suite-number {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--workspace-accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.workspace-suite-card-topline .workspace-suite-number {
    margin-bottom: 0;
}

.workspace-suite-status {
    color: #075c51;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.workspace-suite-payroll .workspace-suite-status {
    color: #5f459e;
}

.workspace-suite-copy h3 {
    margin: 0 0 6px;
    color: #10233e;
    font-size: clamp(0.98rem, 1.12vw, 1.16rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.workspace-suite-copy h3 small {
    display: block;
    margin-bottom: 4px;
    color: var(--workspace-accent);
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.workspace-suite-copy p {
    margin: 0;
    color: #455a74;
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
    line-height: 1.4;
}

.workspace-suite-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 9px 22px;
    color: #ffffff;
    background: #08244b;
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

.workspace-suite-footer i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #27d7aa;
}

@media (max-width: 1450px) and (min-width: 1181px) {
    .workspace-suite-card {
        grid-template-columns: 1fr;
    }

    .workspace-suite-shot {
        padding: 10px 10px 0;
    }

    .workspace-suite-shot img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.57 / 1;
    }
}

@media (max-width: 760px) {
    .public-home-hero .workspace-suite-showcase,
    .workspace-suite-heading,
    .workspace-suite-grid,
    .workspace-suite-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .workspace-suite-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 21px 17px 15px;
    }

    .workspace-suite-heading h2 {
        font-size: 1.42rem;
        overflow-wrap: break-word;
    }

    .workspace-suite-heading p {
        font-size: 0.82rem;
        text-align: left;
    }

    .workspace-suite-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 14px 16px 18px;
    }

    .workspace-suite-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .workspace-suite-shot {
        padding: 10px 10px 0;
    }

    .workspace-suite-shot img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.57 / 1;
    }

    .workspace-suite-copy {
        padding: 14px;
    }

    .workspace-suite-copy h3 {
        font-size: 1.04rem;
    }

    .workspace-suite-copy p {
        font-size: 0.82rem;
    }

    .workspace-suite-footer {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.75rem;
    }
}
/* Animated revenue and expenses comparison. */
.visibility-dashboard {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    align-items: stretch;
}

.visibility-chart-card {
    min-height: 0;
    padding: clamp(20px, 3vw, 28px);
}

.visibility-chart-header {
    align-items: center;
    margin-bottom: 18px;
}

.visibility-chart-header > div:first-child {
    display: grid;
    gap: 5px;
}

.cashflow-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.cashflow-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #43566f;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: none;
}

.cashflow-legend span::before {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    content: "";
}

.cashflow-legend-revenue::before {
    background: #0f9f6e;
}

.cashflow-legend-expenses::before {
    background: #65c7a3;
}

.cashflow-chart {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    height: 260px;
    min-width: 0;
    padding: 18px 18px 12px 12px;
    border: 1px solid rgba(151, 172, 198, 0.32);
    border-radius: 8px;
    background: #ffffff;
}

.cashflow-scale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 26px;
    color: #7a8ba1;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: right;
}

.cashflow-plot {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 1.7vw, 18px);
    min-width: 0;
    overflow: visible;
    background-image: linear-gradient(to top, rgba(38, 78, 119, 0.09) 1px, transparent 1px);
    background-size: 100% 33.333%;
    border-bottom: 1px solid rgba(38, 78, 119, 0.18);
}

.cashflow-month {
    display: grid;
    grid-template-rows: minmax(0, 1fr) 22px;
    min-width: 0;
    height: 100%;
    animation: cashflow-float 4.4s ease-in-out calc(1.2s + var(--month-delay)) infinite;
}

.cashflow-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(4px, 0.65vw, 8px);
    min-width: 0;
    padding-top: 24px;
}

.cashflow-bar {
    position: relative;
    width: clamp(13px, 2.2vw, 25px);
    max-width: 36%;
    height: var(--bar-height);
    border-radius: 5px 5px 2px 2px;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: cashflow-rise 900ms cubic-bezier(.2, .75, .25, 1) var(--month-delay) forwards;
    transition: filter 180ms ease, box-shadow 180ms ease;
}

.cashflow-bar::before {
    position: absolute;
    left: 50%;
    top: -19px;
    color: #41536a;
    content: attr(data-value);
    font-size: clamp(0.52rem, 0.63vw, 0.65rem);
    font-weight: 800;
    line-height: 1;
    transform: translateX(-50%);
    white-space: nowrap;
}

.cashflow-bar:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 0 3px rgba(15, 159, 110, 0.14);
}

.cashflow-revenue {
    background: linear-gradient(180deg, #24b984, #0f8f65);
    box-shadow: 0 7px 14px rgba(15, 159, 110, 0.22);
}

.cashflow-expenses {
    background: linear-gradient(180deg, #8ad7bb, #45aa84);
    box-shadow: 0 7px 14px rgba(69, 170, 132, 0.2);
}

.cashflow-month small {
    align-self: end;
    color: #55677e;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
}

.visibility-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    height: 100%;
}

.visibility-metrics article {
    min-height: 0;
    height: 100%;
    align-content: center;
    padding: 18px;
}

@keyframes cashflow-rise {
    from {
        opacity: 0.2;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes cashflow-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@media (max-width: 900px) {
    .visibility-dashboard {
        grid-template-columns: minmax(0, 1fr);
    }

    .visibility-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .visibility-chart-card {
        padding: 16px;
    }

    .visibility-chart-header {
        align-items: flex-start;
        gap: 12px;
    }

    .cashflow-legend {
        justify-content: flex-start;
    }

    .cashflow-chart {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 7px;
        height: 220px;
        padding: 14px 9px 10px 7px;
    }

    .cashflow-plot {
        gap: 5px;
    }

    .cashflow-bars {
        gap: 3px;
        padding-top: 22px;
    }

    .cashflow-bar {
        width: clamp(9px, 3vw, 17px);
        max-width: 42%;
    }

    .cashflow-bar::before {
        font-size: 0.5rem;
    }

    .visibility-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .visibility-metrics article {
        min-height: 122px;
        padding: 14px;
    }
}
/* Secure sign-in walkthrough video */
.platform-showcase-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
    background: #07162d;
    object-fit: cover;
}

/* Localized public-site navigation and Arabic RTL presentation */
.public-language-link {
    padding: 9px 12px;
    border: 1px solid rgba(120, 153, 190, 0.42);
    border-radius: var(--public-radius);
    background: rgba(255, 255, 255, 0.06);
}

.public-body-rtl {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    text-align: right;
}

.public-body-rtl .public-brand img,
.public-body-rtl .public-footer-brand img,
.public-body-rtl .public-brand-logo,
.public-body-rtl .public-footer-brand-logo {
    object-position: right center;
}

.public-body-rtl .public-nav,
.public-body-rtl .public-hero-actions,
.public-body-rtl .public-trust-row,
.public-body-rtl .public-footer-bottom {
    direction: rtl;
}

.public-body-rtl .public-page-hero h1,
.public-body-rtl .public-page-hero p,
.public-body-rtl .public-section-heading h2,
.public-body-rtl .public-section-heading p,
.public-body-rtl .public-hero h1,
.public-body-rtl .public-hero-copy {
    margin-right: 0;
    margin-left: auto;
}

.public-body-rtl .public-heading-centered h2,
.public-body-rtl .public-heading-centered p {
    margin-right: auto;
}

.public-body-rtl .public-eyebrow,
.public-body-rtl .public-section-heading span,
.public-body-rtl .public-page-hero span,
.public-body-rtl .public-cta-band span {
    text-transform: none;
}

.public-body-rtl .pricing-card ul {
    padding-right: 22px;
    padding-left: 0;
}

.public-body-rtl .public-contact-form input,
.public-body-rtl .public-contact-form textarea {
    text-align: right;
}

.public-body-rtl .public-contact-form [dir="ltr"] {
    text-align: left;
}


@media (max-width: 980px) {
    .public-body-rtl .public-nav {
        align-items: stretch;
    }
}
@media (max-width: 1180px) {
    .public-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .public-menu-button {
        display: grid;
    }

    .public-nav {
        width: 100%;
        display: none;
        flex-wrap: wrap;
        padding-top: 12px;
    }

    .public-nav.is-open {
        display: flex;
    }
}
/* Arabic homepage: English composition with correct RTL content and contrast. */
.public-body-rtl .arabic-home-hero {
    direction: ltr;
}

.public-body-rtl .arabic-home-hero .public-hero-content,
.public-body-rtl .arabic-home-hero .workspace-suite-showcase {
    direction: rtl;
}

.public-body-rtl .arabic-home-hero .public-hero-content {
    text-align: right;
}

.public-body-rtl .arabic-home-hero .public-eyebrow {
    color: #7edcff;
}

.public-body-rtl .arabic-home-hero h1 {
    color: #f8fbff;
}

.public-body-rtl .arabic-home-hero .public-hero-copy {
    color: #d6e3f1;
}

.public-body-rtl .workspace-suite-showcase,
.public-body-rtl .workspace-suite-heading,
.public-body-rtl .workspace-suite-card {
    color: #12213a;
}

.public-body-rtl .workspace-suite-heading,
.public-body-rtl .workspace-suite-copy {
    text-align: right;
}

.public-body-rtl .workspace-suite-heading p {
    color: #3f5470;
    text-align: right;
}

.public-body-rtl .workspace-suite-card {
    direction: ltr;
}

.public-body-rtl .workspace-suite-copy {
    direction: rtl;
}

.public-body-rtl .workspace-suite-shot {
    padding: 11px 0 11px 11px;
}

.public-body-rtl .workspace-suite-status,
.public-body-rtl .workspace-suite-copy h3 small {
    text-transform: none;
}

.arabic-signin-showcase .platform-showcase-main {
    width: min(100%, 980px);
    margin-inline: auto;
}


@media (max-width: 760px) {
    .public-body-rtl .workspace-suite-shot {
        padding: 10px 10px 0;
    }

    .public-body-rtl .workspace-suite-heading p {
        text-align: right;
    }
}
/* Arabic applications section spacing and CTA separation. */
.arabic-applications-section .app-module-grid {
    gap: 24px;
}

.arabic-applications-section + .app-cta-band {
    margin-top: clamp(52px, 6vw, 80px);
}

@media (max-width: 980px) {
    .arabic-applications-section .app-module-grid {
        gap: 18px;
    }

    .arabic-applications-section + .app-cta-band {
        margin-top: 44px;
    }
}

@media (max-width: 640px) {
    .arabic-applications-section + .app-cta-band {
        margin-top: 32px;
    }
}