@charset "UTF-8";
/* ==========================================================================
   Business Manager — Public site & authentication
   Extends the tokens in app.css (load app.css first). Covers the marketing
   homepage and the sign-in screen only; the admin shell lives in app.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Shared public shell
   -------------------------------------------------------------------------- */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--surface);
}
.site-main { flex: 1 1 auto; }

.wrap {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: var(--sp-5);
}
@media (max-width: 575.98px) {
    .wrap { padding-inline: var(--sp-4); }
}

/* Brand lockup — identical on the homepage, the topbar and the sign-in card */
.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    color: inherit;
}
.brand:hover { text-decoration: none; color: inherit; }

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    flex: 0 0 38px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}
.brand__name {
    display: block;
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.15;
    color: var(--c-slate-900);
}
.brand__tag {
    display: block;
    font-size: var(--fs-2xs);
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. Site topbar
   -------------------------------------------------------------------------- */
.site-topbar {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-topbar__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    min-height: 64px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    margin-left: auto;
}
.site-nav__link {
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-slate-600);
}
.site-nav__link:hover {
    background: var(--c-slate-100);
    color: var(--c-slate-900);
    text-decoration: none;
}
.site-nav__cta { margin-left: var(--sp-2); }

.site-nav-toggle {
    display: none;
    margin-left: auto;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--c-slate-700);
}

@media (max-width: 767.98px) {
    .site-nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: var(--sp-1);
        margin: 0;
        padding: var(--sp-3) 0 var(--sp-4);
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--sh-md);
    }
    .site-nav.is-open { display: flex; }
    .site-nav__link { padding: var(--sp-3); }
    .site-nav__cta { margin-left: 0; }
    .site-nav__cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(1100px 480px at 78% -10%, rgba(37, 99, 235, .20), transparent 62%),
        linear-gradient(180deg, var(--c-slate-900) 0%, #0b1220 100%);
    color: #e2e8f0;
}
/* Faint grid, drawn in CSS so the page ships no images */
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 78%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 78%);
    pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

/* Full-width, left-aligned column — the hero deliberately shows no business
   figures, so the copy uses the whole container instead of a centred block. */
.hero__body {
    width: 100%;
    text-align: left;
}
.hero__body .hero__actions,
.hero__body .hero__note { justify-content: flex-start; }

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    margin-bottom: var(--sp-5);
    border: 1px solid rgba(147, 197, 253, .35);
    border-radius: var(--r-pill);
    background: rgba(37, 99, 235, .16);
    color: var(--c-brand-200);
    font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
}
.hero__title {
    margin: 0 0 var(--sp-5);
    color: #fff;
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.032em;
}
.hero__title span { color: var(--c-brand-300); }
/* Wide, but still capped — past roughly 80 characters the eye loses the start
   of the next line. */
.hero__lead {
    margin: 0 0 var(--sp-8);
    max-width: 78ch;
    font-size: clamp(.9375rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: #b6c2d4;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__actions .btn-lg { padding: .6875rem 1.375rem; }
.btn-hero-ghost {
    background: transparent;
    border: 1px solid rgba(203, 213, 225, .38);
    color: #e2e8f0;
}
.btn-hero-ghost:hover {
    background: rgba(226, 232, 240, .1);
    border-color: rgba(203, 213, 225, .6);
    color: #fff;
}

.hero__note {
    display: flex; align-items: center; gap: var(--sp-2);
    margin: var(--sp-6) 0 0;
    font-size: var(--fs-xs);
    color: #8fa0b8;
}
.hero__note i { color: var(--c-brand-300); }

/* --------------------------------------------------------------------------
   4. Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 4.5rem) 0; }
.section--sunken { background: var(--app-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 62ch; margin: 0 0 var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__eyebrow {
    display: block;
    margin-bottom: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--c-brand-600);
}
.section-head__title {
    margin: 0 0 var(--sp-3);
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -.022em;
}
.section-head__lead {
    margin: 0;
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: var(--text-muted);
}

/* Capped at three columns — auto-fit alone goes four-up on wide screens and
   leaves an orphan row of two. */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-5);
}
@media (min-width: 992px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
    align-items: start;
}
@media (min-width: 992px) {
    .grid-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}

/* Feature card */
.feature {
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
}
.feature:hover {
    transform: translateY(-2px);
    border-color: var(--c-brand-200);
    box-shadow: var(--sh-md);
}
.feature__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-lg);
    background: var(--c-brand-50);
    color: var(--c-brand-700);
    font-size: 1.0625rem;
}
.feature__title { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); }
.feature__text { margin: 0; color: var(--text-muted); line-height: 1.65; }

/* Module list — checked capabilities */
.module-list { list-style: none; margin: 0; padding: 0; }
.module-list li {
    display: flex; gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px dashed var(--border);
}
.module-list li:last-child { border-bottom: 0; }
.module-list i { margin-top: 3px; color: var(--c-success); }
.module-list strong { display: block; color: var(--c-slate-900); }
.module-list span { color: var(--text-muted); font-size: var(--fs-sm); }

/* Contact / detail card */
.info-card {
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
}
.info-row {
    display: flex; align-items: flex-start; gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex: 0 0 36px;
    border-radius: var(--r-md);
    background: var(--c-slate-100);
    color: var(--c-slate-600);
}
.info-row__label {
    display: block;
    font-size: var(--fs-2xs); font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--text-muted);
}
.info-row__value { display: block; margin-top: 2px; color: var(--text); }

/* Call to action strip */
.cta {
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--c-brand-700), var(--c-brand-900));
    color: #dbeafe;
    text-align: center;
    box-shadow: var(--sh-lg);
}
.cta h2 { margin: 0 0 var(--sp-3); color: #fff; font-size: clamp(1.375rem, 3vw, 1.75rem); }
.cta p { margin: 0 auto var(--sp-6); max-width: 54ch; line-height: 1.6; }
.btn-light-brand { background: #fff; border-color: #fff; color: var(--c-brand-800); }
.btn-light-brand:hover { background: var(--c-brand-50); border-color: var(--c-brand-50); color: var(--c-brand-900); }

/* --------------------------------------------------------------------------
   5. Site footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: var(--sp-8) 0 var(--sp-5);
    background: var(--c-slate-900);
    color: #94a3b8;
    font-size: var(--fs-sm);
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #7c8aa0; }
.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-6);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.site-footer__brandcol { grid-column: span 2; min-width: 0; }
@media (max-width: 575.98px) {
    .site-footer__brandcol { grid-column: span 1; }
}
.site-footer h3 {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-2xs); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: #cbd5e1;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: var(--sp-1) 0; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer__blurb { margin: var(--sp-4) 0 0; max-width: 42ch; line-height: 1.6; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
    justify-content: space-between; align-items: center;
    padding-top: var(--sp-5);
    font-size: var(--fs-xs);
    color: #7c8aa0;
}

/* --------------------------------------------------------------------------
   6. Authentication (login)
   -------------------------------------------------------------------------- */
.auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    background: var(--app-bg);
}
@media (max-width: 991.98px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
}

/* Left: brand panel, hidden on small screens where it would only add scroll */
.auth__aside {
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    gap: var(--sp-8);
    padding: clamp(2rem, 4vw, 3.25rem);
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(37, 99, 235, .22), transparent 60%),
        linear-gradient(180deg, var(--c-slate-900) 0%, #0b1220 100%);
    color: #b6c2d4;
}
.auth__aside::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 80%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 80%);
    pointer-events: none;
}
.auth__aside > * { position: relative; z-index: 1; }
.auth__aside .brand__name { color: #fff; }
.auth__aside .brand__tag { color: #7c8aa0; }
@media (max-width: 991.98px) { .auth__aside { display: none; } }

.auth__headline {
    margin: 0 0 var(--sp-4);
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.auth__copy { margin: 0; max-width: 40ch; line-height: 1.7; color: #a9b7cb; }
.auth__points { list-style: none; margin: var(--sp-6) 0 0; padding: 0; }
.auth__points li {
    display: flex; align-items: flex-start; gap: var(--sp-3);
    padding: var(--sp-2) 0;
    font-size: var(--fs-sm);
}
.auth__points i { margin-top: 3px; color: var(--c-brand-300); }
.auth__aside-foot { font-size: var(--fs-xs); color: #6f7f96; }

/* Right: the form itself */
.auth__panel {
    display: flex; align-items: center; justify-content: center;
    padding: clamp(1.75rem, 5vw, 3.25rem) var(--sp-5);
}
.auth__card { width: 100%; max-width: 400px; }
.auth__card-brand { display: none; margin-bottom: var(--sp-6); }
@media (max-width: 991.98px) {
    .auth__card-brand { display: flex; justify-content: center; }
}

.auth__box {
    padding: clamp(1.5rem, 4vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
}
.auth__title { margin: 0 0 var(--sp-1); font-size: 1.375rem; letter-spacing: -.02em; }
.auth__sub { margin: 0 0 var(--sp-6); color: var(--text-muted); font-size: var(--fs-sm); }

.auth__box .form-control { padding: .625rem .75rem; font-size: var(--fs-md); }
.auth__box .input-group .btn {
    border: 1px solid var(--border-strong);
    border-left: 0;
    background: var(--surface);
    color: var(--text-muted);
}
.auth__box .input-group .btn:hover { color: var(--c-slate-800); background: var(--c-slate-50); }
.auth__box .btn-primary { padding: .625rem 1rem; font-size: var(--fs-md); }

.auth__foot {
    display: flex; flex-wrap: wrap; gap: var(--sp-3);
    justify-content: space-between; align-items: center;
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.auth__foot a { color: var(--c-slate-600); }
.auth__foot a:hover { color: var(--c-brand-700); text-decoration: none; }

.auth__secure {
    display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
    margin-top: var(--sp-5);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.auth__secure i { color: var(--c-success); }

/* Alerts inside the auth card read tighter than the app default */
.auth__box .alert {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-sm);
    border-radius: var(--r-md);
}
