/* Public page layouts; the merchant and administration screens use their existing styles. */
:where(html[data-area="public"]) *,
:where(html[data-area="public"]) *::before,
:where(html[data-area="public"]) *::after { box-sizing:border-box; }
:where(html[data-area="public"]) body { margin:0; min-block-size:100vh; max-inline-size:100%; overflow-x:clip; }
.kf-header[data-context="public"] .kf-header-inner {
    max-width:1480px; min-height:88px; padding-inline:clamp(1rem,3vw,3rem);
}
.kf-header[data-context="public"] .kf-brand strong { font-size:1.375rem; }
.kf-header[data-context="public"] .kf-brand small { font-size:.75rem; }
.kf-header[data-context="public"] .kf-desktop-nav { gap:clamp(.75rem,1.4vw,1.5rem); }
.kf-header[data-context="public"] .kf-desktop-nav > a,
.kf-header[data-context="public"] .kf-features summary,
.kf-header[data-context="public"] .kf-header-actions > a { font-size:.9375rem; font-weight:700; }
.kf-header[data-context="public"] .kf-desktop-nav a.active { color:var(--kf-accent); }
#kfHeader[data-context="public"] + .kf-mobile-menu .kf-mobile-nav a { font-size:1rem; }

.dx-public-footer.main-footer { background:#10271f; color:#d6e7df; border-top:3px solid #4db884; }
.dx-public-footer .footer-shell,
.dx-public-footer .footer-bottom-inner { max-width:1320px; margin-inline:auto; padding:1.25rem clamp(1rem,5vw,4rem); }
.dx-public-footer .footer-top { display:grid; align-items:start; gap:1rem 1.75rem; padding:0; grid-template-columns:1.35fr 1fr 1fr 1.25fr; }
.dx-public-footer .dx-footer-brand { display:inline-flex; align-items:center; gap:.65rem; color:#fff; font-size:1.15rem; }
.dx-footer-brand img { inline-size:2.7rem; block-size:2.7rem; object-fit:contain; }
.dx-public-footer .footer-brand-block p { font-size:.9rem; margin-block:.45rem; }
.dx-public-footer .footer-col h4 { color:#fff; margin:0 0 .5rem; padding:0; border:0; font-size:1rem; }
.dx-public-footer .footer-col ul { padding:0; margin:0; list-style:none; }
.dx-public-footer .footer-col li { margin:0 0 .22rem; font-size:.9rem; }
.dx-public-footer .footer-col a,
.dx-public-footer .footer-brand-block > a:not(.dx-footer-brand),
.dx-public-footer .footer-powered { color:#d6e7df; font-size:.9rem; }
.dx-public-footer a { display:inline-flex; align-items:center; min-block-size:2rem; color:#d6e7df; text-decoration:none; border-radius:.25rem; transition:color .15s ease,background-color .15s ease; }
.dx-public-footer a:hover { text-decoration:none; color:#fff; }
.dx-public-footer a:focus-visible { text-decoration:none; outline:2px solid #7ee0ae; outline-offset:2px; }
.dx-public-footer .footer-col ul,
.dx-public-footer .footer-brand-block { display:grid; align-content:start; gap:.35rem; }
.dx-public-footer .footer-col li { margin:0; }
.dx-public-footer .footer-bottom { background:#091c15; }
.dx-public-footer .footer-bottom-inner { display:flex; flex-direction:column; align-items:center; gap:.2rem; padding-block:1.1rem; text-align:center; font-size:.8rem; line-height:2; }
.dx-public-footer .footer-bottom-inner p { max-inline-size:61rem; margin:0; }
.dx-public-footer .footer-bottom-inner strong { color:#fff; }
.dx-public-footer .footer-powered { display:inline-flex; align-items:center; gap:.55rem; min-block-size:2.375rem; font-size:.8rem; }
.dx-public-footer .footer-powered img { width:1.75rem; height:1.75rem; object-fit:contain; }
@media (max-width:1200px) {
    .kf-header[data-context="public"] .kf-header-inner { min-height:76px; }
}
@media (max-width:700px) {
    .kf-header[data-context="public"] .kf-brand strong { font-size:1.15rem; }
    .kf-header[data-context="public"] .kf-brand small { font-size:.65rem; max-inline-size:12rem; }
    .dx-public-footer .footer-top { grid-template-columns:minmax(0,1fr); gap:1.25rem; }
    .dx-public-footer .footer-brand-block,
    .dx-public-footer .footer-col,
    .dx-footer-presence { grid-column:1; }
    .dx-footer-presence ul { display:grid; gap:.25rem; }
}
:where(html[data-page="index"]) .pricing-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
:where(html[data-page="index"]) .price-card { display:flex; flex-direction:column; min-inline-size:0; }
:where(html[data-page="index"]) .price-card .btn { margin-block-start:auto; }
:where(html[data-page="index"]) .dx-price-note { margin-block-start:1.5rem; }
:where(html[data-page="index"]) .dx-initiative { background:#103529; color:#f2fff8; }
.dx-initiative-inner { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:center; gap:1.5rem; }
.dx-initiative h2 { font-size:clamp(1.75rem,4vw,2.5rem); margin-block-end:.6rem; }
.dx-initiative p { max-inline-size:68ch; margin-block:.6rem; line-height:1.85; }
.dx-initiative .hero-actions { align-items:start; flex-direction:column; }
.dx-people-page { width:min(48rem,calc(100% - 2rem)); max-width:100%; margin:clamp(2rem,8vw,6rem) auto; padding:clamp(1.25rem,4vw,2.5rem); border-radius:1rem; background:#fff; color:#17392f; line-height:1.85; min-height:45vh; box-shadow:0 12px 36px rgba(17,48,37,.07); }
.dx-people-page h1 { margin:0 0 1rem; font-size:clamp(1.6rem,5vw,2.2rem); }
.dx-people-page p { margin-block:1rem; }
.dx-people-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-block-start:1.5rem; }
.dx-people-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:2.75rem; padding:.55rem 1rem; border:1px solid #087f46; border-radius:.7rem; background:#087f46; color:#fff; font-weight:800; text-decoration:none; transition:background-color .15s ease,color .15s ease,transform .15s ease; }
.dx-people-actions a.kf-login { background:#fff; color:#087f46; }
.dx-people-actions a:hover { background:#066b3b; color:#fff; transform:translateY(-1px); text-decoration:none; }
.dx-people-actions a:focus-visible { outline:2px solid #087f46; outline-offset:3px; }
.dx-interest-status { font-weight:800; border:1px solid currentColor; border-radius:.65rem; padding:.5rem .85rem; width:fit-content; }
:where(html[data-page="terms"],html[data-page="privacy"],html[data-page="service-agreement"]) .art { line-height:1.9; font-size:1rem; overflow-wrap:anywhere; }
:where(html[data-page="terms"],html[data-page="privacy"],html[data-page="service-agreement"]) .art p { max-inline-size:80ch; }
:where(html[data-area="public"]) :focus-visible { outline:2px solid #0bad68; outline-offset:3px; }
@media (max-width:1080px) {
    :where(html[data-page="index"]) .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
    :where(html[data-page="index"]) .pricing-grid,
    .dx-initiative-inner { grid-template-columns:minmax(0,1fr); }
    .dx-initiative .btn { white-space:normal; text-align:center; }
}
@media (max-width:380px) {
    .kf-header[data-context="public"] .kf-brand { flex-shrink:1; }
    .kf-header[data-context="public"] .kf-brand strong { font-size:1.05rem; }
    .kf-header[data-context="public"] .kf-brand small { white-space:normal; }
}

