/* ==========================================================================
   SmartApti — public marketing surface
   Landing page only. Dark by default, light supported via the theme toggle.
   ========================================================================== */

html,
.pub-body {
    min-height: 100dvh;
    overflow-x: hidden;
    max-width: 100%;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* Navbar ------------------------------------------------------------------- */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid hsl(var(--border) / 0.6);
    background-color: rgb(255 255 255 / 0.7);
    backdrop-filter: blur(20px);
}

[data-bs-theme="dark"] .pub-nav {
    border-bottom-color: hsl(var(--border) / 0.6);
    background-color: rgb(11 11 20 / 0.7);
}

.pub-nav__inner {
    display: flex;
    height: 4rem;
    max-width: 72rem;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 576px) {
    .pub-nav__inner {
        padding: 0 1.5rem;
    }
}

.pub-nav__links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .pub-nav__links {
        display: flex;
    }
}

.pub-nav__link {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-13);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition:
        background-color var(--dur-fast),
        color var(--dur-fast);
}

.pub-nav__link:hover {
    background-color: hsl(var(--muted) / 0.6);
    color: hsl(var(--foreground));
}

.pub-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.pub-nav__signin {
    display: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: var(--fs-13);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.pub-nav__signin:hover {
    color: hsl(var(--foreground));
}

@media (min-width: 576px) {
    .pub-nav__signin {
        display: block;
    }
}

.pub-nav__cta {
    display: none;
}

@media (min-width: 576px) {
    .pub-nav__cta {
        display: inline-flex;
    }
}

.pub-nav__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.6);
    color: hsl(var(--muted-foreground));
}

.pub-nav__burger:hover {
    color: hsl(var(--foreground));
}

@media (min-width: 992px) {
    .pub-nav__burger {
        display: none;
    }
}

.pub-nav__burger svg {
    width: 16px;
    height: 16px;
}

.pub-mobile-nav {
    --bs-offcanvas-width: 300px;
}

.pub-mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.5rem;
}

.pub-mobile-nav__link {
    border-radius: 9px;
    padding: 0.625rem 0.75rem;
    font-size: var(--fs-14);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.pub-mobile-nav__link:hover {
    background-color: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.pub-mobile-nav__foot {
    margin-top: auto;
    display: grid;
    gap: 0.5rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 1rem;
}

/* Layout ------------------------------------------------------------------- */
.pub-section {
    position: relative;
    padding: var(--space-section) 0;
}

.pub-section--tight {
    padding: 3.5rem 0;
}

.pub-wrap {
    margin: 0 auto;
    max-width: 72rem;
    padding: 0 1rem;
}

@media (min-width: 576px) {
    .pub-wrap {
        padding: 0 1.5rem;
    }
}

.pub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--primary) / 0.25);
    background-color: hsl(var(--primary) / 0.08);
    padding: 0.25rem 0.625rem;
    font-size: var(--fs-11);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--primary));
}

.pub-h2 {
    margin: 0.75rem 0 0;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.pub-lede {
    margin: 0.75rem 0 0;
    max-width: 42rem;
    font-size: var(--fs-15);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.pub-gradient-text {
    background-image: linear-gradient(
        120deg,
        hsl(262 83% 72%) 0%,
        hsl(262 83% 58%) 45%,
        hsl(249 84% 62%) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero --------------------------------------------------------------------- */
.pub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 6rem) 0 var(--space-section);
}

.pub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(
            60% 55% at 50% 0%,
            hsl(var(--primary) / 0.22),
            transparent 70%
        ),
        linear-gradient(
            to right,
            hsl(var(--border) / 0.5) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            hsl(var(--border) / 0.5) 1px,
            transparent 1px
        );
    background-size:
        100% 100%,
        64px 64px,
        64px 64px;
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.pub-hero__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .pub-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

.pub-hero__title {
    margin: 1rem 0 0;
    font-size: clamp(1.85rem, 6vw, 3.75rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.pub-hero__lede {
    margin: 1.25rem 0 0;
    max-width: 36rem;
    font-size: var(--fs-17);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.pub-hero__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (min-width: 576px) {
    .pub-hero__ctas {
        flex-direction: row;
        align-items: center;
        margin-top: 2rem;
    }

    .pub-hero__ctas .btn {
        width: auto;
    }
}

.pub-hero__note {
    margin: 1rem 0 0;
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-hint svg {
    width: 14px;
    height: 14px;
    color: hsl(var(--success));
}

/* Hero preview panel ------------------------------------------------------- */
.pub-preview {
    position: relative;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}

.pub-preview__bar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.6);
    padding: 0.625rem 0.875rem;
}

.pub-preview__dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background-color: hsl(var(--border));
}

.pub-preview__body {
    padding: 1.25rem;
}

.pub-preview__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pub-preview__stat {
    border-radius: 10px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.4);
    padding: 0.75rem;
}

.pub-preview__stat p {
    margin: 0;
    font-size: var(--fs-11);
    color: hsl(var(--muted-foreground));
}

.pub-preview__stat strong {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--fs-19);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
}

/* Bento / feature grid ----------------------------------------------------- */
.pub-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .pub-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pub-bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pub-feature {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition:
        transform var(--dur-base) ease-out,
        border-color var(--dur-base),
        box-shadow var(--dur-base);
}

.pub-feature:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: var(--shadow-lift);
}

.pub-feature--wide {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .pub-feature--wide {
        grid-column: span 2;
    }
}

.pub-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 10px;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.pub-feature__icon svg {
    width: 18px;
    height: 18px;
}

.pub-feature h3 {
    margin: 1rem 0 0;
    font-size: var(--fs-15);
    font-weight: 600;
}

.pub-feature p {
    margin: 0.5rem 0 0;
    font-size: var(--fs-13);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.pub-feature__metric {
    margin-top: 1.25rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 0.875rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.pub-feature__metric strong {
    font-size: var(--fs-19);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pub-feature__metric span {
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

/* Trust bar ---------------------------------------------------------------- */
.pub-trust {
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.4);
    padding: 2rem 0;
}

.pub-trust__label {
    text-align: center;
    font-size: var(--fs-11);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--muted-foreground));
}

.pub-trust__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 2rem;
    margin-top: 1.25rem;
    list-style: none;
    padding: 0;
}

.pub-trust__list li {
    font-size: var(--fs-14);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: hsl(var(--muted-foreground) / 0.85);
}

/* Steps -------------------------------------------------------------------- */
.pub-steps {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .pub-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pub-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pub-step {
    border-radius: var(--radius-card);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.pub-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 999px;
    background-color: hsl(var(--primary) / 0.12);
    color: hsl(var(--primary));
    font-size: var(--fs-12);
    font-weight: 600;
}

.pub-step h3 {
    margin: 0.875rem 0 0;
    font-size: var(--fs-15);
    font-weight: 600;
}

.pub-step p {
    margin: 0.5rem 0 0;
    font-size: var(--fs-13);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

/* Pricing ------------------------------------------------------------------ */
.pub-pricing {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .pub-pricing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pub-pricing {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pub-plan {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

@media (min-width: 576px) {
    .pub-plan {
        padding: 1.75rem;
    }
}

.pub-plan--featured {
    border-color: hsl(var(--primary) / 0.45);
    box-shadow: var(--shadow-lift);
    position: relative;
}

.pub-plan__tag {
    position: absolute;
    top: -0.75rem;
    left: 1.75rem;
    border-radius: 999px;
    background-color: hsl(var(--primary));
    padding: 0.125rem 0.625rem;
    font-size: var(--fs-10);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--primary-foreground));
}

.pub-plan h3 {
    margin: 0;
    font-size: var(--fs-15);
    font-weight: 600;
}

.pub-plan__blurb {
    margin: 0.375rem 0 0;
    font-size: var(--fs-12);
    line-height: 1.65;
    color: hsl(var(--muted-foreground));
    min-height: 2.5rem;
}

.pub-plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 1.25rem 0 0;
}

.pub-plan__price strong {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.pub-plan__price span {
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-plan ul {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.625rem;
}

.pub-plan li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--fs-13);
    color: hsl(var(--muted-foreground));
}

.pub-plan li svg {
    margin-top: 0.1rem;
    height: 14px;
    width: 14px;
    flex-shrink: 0;
    color: hsl(var(--success));
}

.pub-plan__cta {
    margin-top: 1.5rem;
}

/* Testimonials ------------------------------------------------------------- */
.pub-quotes {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .pub-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .pub-quotes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pub-quote {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.pub-quote p {
    margin: 0;
    flex: 1;
    font-size: var(--fs-14);
    line-height: 1.7;
    color: hsl(var(--foreground));
}

.pub-quote footer {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 1rem;
}

.pub-quote strong {
    display: block;
    font-size: var(--fs-13);
    font-weight: 600;
}

.pub-quote span {
    display: block;
    font-size: var(--fs-11);
    color: hsl(var(--muted-foreground));
}

/* FAQ ---------------------------------------------------------------------- */
.pub-faq {
    max-width: 48rem;
    margin: 2.5rem auto 0;
}

.pub-faq .accordion-item {
    border: 1px solid hsl(var(--border));
    border-radius: 10px;
    background-color: hsl(var(--card));
    margin-bottom: 0.625rem;
    overflow: hidden;
}

.pub-faq .accordion-button {
    background-color: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: var(--fs-14);
    padding: 1rem 1.125rem;
}

.pub-faq .accordion-button:not(.collapsed) {
    background-color: hsl(var(--card));
    box-shadow: none;
}

.pub-faq .accordion-button::after {
    filter: none;
    opacity: 0.5;
}

/* Final call to action ----------------------------------------------------- */
.pub-cta {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsl(var(--primary) / 0.3);
    background-image: linear-gradient(
        135deg,
        hsl(var(--primary) / 0.14),
        hsl(var(--accent) / 0.1)
    );
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.pub-cta h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.pub-cta p {
    margin: 0.75rem auto 0;
    max-width: 34rem;
    font-size: var(--fs-14);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

/* Footer ------------------------------------------------------------------- */
.pub-footer {
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.4);
}

.pub-footer__inner {
    margin: 0 auto;
    max-width: 72rem;
    padding: 3.5rem 1rem;
}

@media (min-width: 576px) {
    .pub-footer__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.pub-footer__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .pub-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .pub-footer__grid {
        grid-template-columns: 1.5fr repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.pub-footer__blurb {
    margin: 1rem 0 0;
    max-width: 20rem;
    font-size: var(--fs-13);
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.pub-footer__contact {
    margin-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.pub-footer__contact p {
    font-size: var(--fs-11);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--foreground));
}

.pub-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-13);
    color: hsl(var(--muted-foreground));
}

.pub-footer__contact a:hover {
    color: hsl(var(--foreground));
}

.pub-footer__contact svg {
    width: 14px;
    height: 14px;
}

.pub-footer__hours {
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-footer__social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.pub-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--muted-foreground));
}

.pub-footer__social a:hover {
    border-color: hsl(var(--primary) / 0.3);
    color: hsl(var(--foreground));
}

.pub-footer__social svg {
    width: 14px;
    height: 14px;
}

.pub-footer__col h3 {
    margin: 0;
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--foreground));
}

.pub-footer__col ul {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.pub-footer__col a {
    font-size: var(--fs-13);
    color: hsl(var(--muted-foreground));
}

.pub-footer__col a:hover {
    color: hsl(var(--foreground));
}

.pub-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 3rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.5rem;
}

@media (min-width: 576px) {
    .pub-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.pub-footer__bottom p {
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-footer__legal a {
    color: hsl(var(--muted-foreground));
}

.pub-footer__legal a:hover {
    color: hsl(var(--foreground));
}

/* Scroll reveal ------------------------------------------------------------ */
.pub-reveal {
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.35s var(--ease-smooth),
        transform 0.35s var(--ease-smooth);
}

.pub-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .pub-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Auth pages --------------------------------------------------------------- */
.auth-split {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background-color: hsl(var(--background));
}

@media (min-width: 992px) {
    .auth-split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

.auth-panel {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 3rem;
    color: #fff;
    background-image: radial-gradient(
        120% 80% at 0% 0%,
        hsl(262 83% 45%) 0%,
        hsl(250 70% 22%) 55%,
        hsl(240 40% 8%) 100%
    );
}

@media (min-width: 992px) {
    .auth-panel {
        display: flex;
        flex-direction: column;
    }
}

.auth-panel__glow {
    position: absolute;
    inset: auto -20% -30% auto;
    height: 28rem;
    width: 28rem;
    border-radius: 999px;
    background-image: radial-gradient(
        circle,
        hsl(189 94% 55% / 0.35),
        transparent 70%
    );
}

.auth-panel h2 {
    margin: 2.5rem 0 0;
    max-width: 15ch;
    font-size: 2.125rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}

.auth-panel__lede {
    margin: 1rem 0 0;
    max-width: 38ch;
    font-size: var(--fs-14);
    line-height: 1.7;
    color: rgb(255 255 255 / 0.9);
}

.auth-panel__list {
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.auth-panel__list li {
    display: flex;
    gap: 0.75rem;
}

.auth-panel__list svg {
    margin-top: 0.15rem;
    height: 16px;
    width: 16px;
    flex-shrink: 0;
    color: rgb(255 255 255 / 0.85);
}

.auth-panel__list strong {
    display: block;
    font-size: var(--fs-13);
    font-weight: 600;
}

.auth-panel__list span {
    display: block;
    margin-top: 0.125rem;
    font-size: var(--fs-12);
    line-height: 1.65;
    color: rgb(255 255 255 / 0.75);
}

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1rem;
}

@media (min-width: 576px) {
    .auth-main {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .auth-main {
        padding: 3rem;
    }
}

.auth-card {
    margin: 0 auto;
    width: 100%;
    max-width: 26rem;
}

.auth-card__title {
    margin: 1.75rem 0 0;
    font-size: var(--fs-24);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.auth-card__subtitle {
    margin: 0.5rem 0 0;
    font-size: var(--fs-13);
    line-height: 1.65;
    color: hsl(var(--muted-foreground));
}

.auth-field {
    margin-top: 1rem;
}

.auth-field__label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    font-size: var(--fs-13);
    font-weight: 500;
    color: hsl(var(--foreground));
}

.auth-input {
    position: relative;
}

.auth-input svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    color: hsl(var(--muted-foreground));
    pointer-events: none;
}

.auth-input .form-control {
    padding-left: 2.5rem;
}

.auth-input__toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0.25rem;
    border-radius: 6px;
    color: hsl(var(--muted-foreground));
    line-height: 0;
}

.auth-input__toggle:hover {
    color: hsl(var(--foreground));
}

.auth-input__toggle svg {
    position: static;
    transform: none;
    height: 16px;
    width: 16px;
    color: inherit;
}

.auth-error {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    border-radius: 10px;
    border: 1px solid hsl(var(--danger) / 0.3);
    background-color: hsl(var(--danger) / 0.06);
    padding: 0.625rem 0.75rem;
    font-size: var(--fs-13);
    line-height: 1.65;
    color: hsl(347 77% 42%);
    margin-bottom: 1.25rem;
}

[data-bs-theme="dark"] .auth-error {
    color: hsl(350 89% 80%);
}

.auth-error svg {
    margin-top: 0.1rem;
    height: 16px;
    width: 16px;
    flex-shrink: 0;
}

.auth-divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid hsl(var(--border));
}

.auth-divider span {
    position: relative;
    background-color: hsl(var(--background));
    padding: 0 0.75rem;
    font-size: var(--fs-11);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--muted-foreground));
}

.auth-foot {
    margin-top: 1.5rem;
    text-align: center;
    font-size: var(--fs-13);
    color: hsl(var(--muted-foreground));
}

.auth-foot a {
    font-weight: 500;
}

.auth-foot svg {
    height: 14px;
    width: 14px;
}

.auth-strength {
    margin-top: 0.5rem;
}

.auth-strength__bars {
    display: flex;
    gap: 0.25rem;
}

.auth-strength__bars span {
    height: 6px;
    flex: 1;
    border-radius: 999px;
    background-color: hsl(var(--muted));
}

.auth-strength__bars span.is-on[data-level="weak"] {
    background-color: hsl(var(--danger));
}
.auth-strength__bars span.is-on[data-level="fair"] {
    background-color: hsl(var(--warning));
}
.auth-strength__bars span.is-on[data-level="good"] {
    background-color: hsl(var(--info));
}
.auth-strength__bars span.is-on[data-level="strong"] {
    background-color: hsl(var(--success));
}

.auth-strength__label {
    margin-top: 0.375rem;
    font-size: var(--fs-11);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.auth-strength__rules {
    display: grid;
    gap: 0.25rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 576px) {
    .auth-strength__rules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.auth-strength__rules li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-11);
    color: hsl(var(--muted-foreground));
}

.auth-strength__rules li.is-met {
    color: hsl(var(--success));
}

.auth-strength__rules svg {
    height: 12px;
    width: 12px;
    flex-shrink: 0;
}

.subdomain-field {
    position: relative;
}

.subdomain-field .form-control {
    padding-right: 8.5rem;
}

.subdomain-suffix {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-12);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    pointer-events: none;
}

.subdomain-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.375rem;
    min-height: 1.125rem;
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.subdomain-status svg {
    height: 14px;
    width: 14px;
}

.subdomain-status.is-available {
    color: hsl(var(--success));
}
.subdomain-status.is-taken,
.subdomain-status.is-invalid {
    color: hsl(var(--danger));
}

.otp-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.otp-row input {
    height: 3rem;
    width: 2.75rem;
    border-radius: 10px;
    border: 1px solid hsl(var(--input));
    background-color: hsl(var(--card));
    text-align: center;
    font-size: var(--fs-17);
    font-weight: 600;
    color: hsl(var(--foreground));
    box-shadow: var(--shadow-card);
}

.otp-row input:focus {
    outline: none;
    border-color: hsl(var(--primary) / 0.7);
    box-shadow: 0 0 0 4px hsl(var(--primary) / 0.15);
}

.workspace-chip {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-13);
    font-weight: 500;
    color: hsl(var(--primary));
    word-break: break-all;
}

.workspace-chip svg {
    height: 14px;
    width: 14px;
    flex-shrink: 0;
}

.auth-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: var(--radius-card);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}

.auth-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    border-radius: 999px;
    background-color: hsl(var(--success) / 0.1);
    color: hsl(var(--success));
}

.auth-success__icon svg {
    height: 20px;
    width: 20px;
}

/* Utility ------------------------------------------------------------------ */
.pub-center {
    text-align: center;
}

.pub-center .pub-lede {
    margin-left: auto;
    margin-right: auto;
}

.pub-muted {
    color: hsl(var(--muted-foreground));
}

.pub-small {
    font-size: var(--fs-13);
    line-height: 1.7;
}

.pub-tiny {
    font-size: var(--fs-12);
    line-height: 1.6;
}

.pub-micro {
    font-size: var(--fs-11);
    line-height: 1.5;
}

.pub-ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.pub-ticks li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-12);
    color: hsl(var(--muted-foreground));
}

.pub-ticks svg,
.pub-list-check svg {
    flex-shrink: 0;
    height: 14px;
    width: 14px;
    color: hsl(var(--success));
}

.pub-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 26rem;
    margin: 2.25rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.pub-stats dd {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.pub-stats dt {
    margin-top: 0.375rem;
    font-size: var(--fs-11);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: hsl(var(--muted-foreground));
}

@media (max-width: 479.98px) {
    .pub-stats {
        gap: 0.5rem;
        margin-top: 1.75rem;
    }

    .pub-stats dd {
        font-size: 1.125rem;
    }

    .pub-stats dt {
        font-size: 10px;
        letter-spacing: 0.02em;
    }
}

/* Buttons hold icons at a fixed size */
.btn svg {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
}

/* Hero mock ---------------------------------------------------------------- */
.pub-float {
    position: absolute;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 0.625rem;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.88);
    padding: 0.5rem 0.75rem;
    box-shadow: var(--shadow-lift);
    backdrop-filter: blur(16px);
}

@media (min-width: 992px) {
    .pub-float {
        display: flex;
    }
}

.pub-float--left {
    left: -1rem;
    top: 4rem;
}

.pub-float--right {
    right: -0.75rem;
    bottom: 2.5rem;
}

.pub-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 8px;
    background-color: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
}

.pub-float strong {
    display: block;
    font-size: var(--fs-12);
    font-weight: 600;
    line-height: 1.2;
}

.pub-float span span,
.pub-float small {
    display: block;
    font-size: 10px;
    color: hsl(var(--muted-foreground));
}

.pub-mock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.pub-mock-stat {
    border-radius: 10px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.4);
    padding: 0.625rem;
}

.pub-mock-stat p {
    margin: 0;
    font-size: 10px;
    color: hsl(var(--muted-foreground));
}

.pub-mock-stat strong {
    display: block;
    margin-top: 0.125rem;
    font-size: var(--fs-15);
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pub-mock-block {
    border-radius: 10px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.25);
    padding: 0.75rem;
}

.pub-track {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background-color: hsl(var(--muted));
    margin-top: 0.375rem;
}

.pub-track__fill {
    height: 100%;
    border-radius: 999px;
    background-image: linear-gradient(
        135deg,
        hsl(var(--primary)),
        hsl(var(--primary-deep))
    );
}

.pub-track__fill--success {
    background-image: none;
    background-color: hsl(var(--success));
}

.pub-list-check {
    margin: 0;
    padding: 0.75rem 0 0;
    list-style: none;
    border-top: 1px solid hsl(var(--border) / 0.6);
}

.pub-list-check li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.1875rem 0;
    font-size: var(--fs-11);
}

.pub-list-check li span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pub-list-check li em {
    font-style: normal;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--muted-foreground));
}

/* Small product mocks used inside steps + split sections ------------------- */
.pub-mini {
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.7);
    padding: 0.875rem;
    box-shadow: var(--shadow-card);
}

.pub-mini__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.pub-mini__url {
    font-family: var(--font-mono);
    font-size: 10px;
    color: hsl(var(--muted-foreground));
}

.pub-mini__dots {
    display: flex;
    gap: 0.25rem;
}

.pub-mini__dots span {
    height: 6px;
    width: 6px;
    border-radius: 999px;
    background-color: hsl(var(--border));
}

.pub-mini__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3125rem 0;
    font-size: var(--fs-11);
    color: hsl(var(--muted-foreground));
}

.pub-mini__row strong {
    color: hsl(var(--foreground));
    font-weight: 600;
}

.pub-mini__code {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 8px;
    border: 1px dashed hsl(var(--primary) / 0.45);
    background-color: hsl(var(--primary) / 0.08);
    padding: 0.375rem 0.625rem;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: hsl(var(--primary));
}

.pub-swatch {
    height: 14px;
    width: 14px;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
}

.pub-question-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border) / 0.7);
    padding: 0.375rem 0.5rem;
    font-size: var(--fs-11);
    color: hsl(var(--muted-foreground));
}

.pub-question-option.is-selected {
    border-color: hsl(var(--primary) / 0.5);
    background-color: hsl(var(--primary) / 0.1);
    font-weight: 500;
    color: hsl(var(--foreground));
}

.pub-question-option b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 12px;
    width: 12px;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    font-size: 7px;
}

.pub-question-option.is-selected b {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
    color: hsl(0 0% 100%);
}

/* Pricing ------------------------------------------------------------------ */
.pub-billing {
    display: inline-flex;
    gap: 0.25rem;
    border-radius: 11px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card) / 0.6);
    padding: 0.25rem;
}

.pub-billing__btn {
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 0.375rem 0.875rem;
    font-size: var(--fs-12);
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition:
        background-color var(--dur-fast),
        color var(--dur-fast);
}

.pub-billing__btn[aria-pressed="true"] {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}

.pub-billing__btn:hover {
    color: hsl(var(--foreground));
}

.pub-billing__btn[aria-pressed="true"]:hover {
    color: hsl(var(--primary-foreground));
}

.pub-plan__badge {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
}

@media (max-width: 575.98px) {
    .pub-plan__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 0.75rem;
    }
}

.pub-plan__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 1.25rem;
}

.pub-plan--featured::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: -1px;
    height: 1px;
    background-image: linear-gradient(
        to right,
        transparent,
        hsl(var(--primary)),
        transparent
    );
}

/* Integrity / analytics split --------------------------------------------- */
.pub-split {
    display: grid;
    gap: 2.25rem;
    align-items: center;
}

@media (min-width: 992px) {
    .pub-split {
        gap: 3rem;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .pub-split--analytics {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.pub-points {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 576px) {
    .pub-points--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pub-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pub-point__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    border-radius: 9px;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.15);
}

.pub-point__icon svg {
    height: 16px;
    width: 16px;
}

.pub-point--muted .pub-point__icon {
    background-color: hsl(var(--muted));
    color: hsl(var(--foreground));
    box-shadow: none;
}

.pub-point b {
    display: block;
    font-size: var(--fs-13);
    font-weight: 600;
}

.pub-point span {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--fs-12);
    line-height: 1.65;
    color: hsl(var(--muted-foreground));
}

.pub-badge-stack {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    background-color: hsl(var(--muted));
    padding: 0.125rem 0.5rem;
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--foreground));
}

.pub-badge-stack svg {
    height: 10px;
    width: 10px;
}

.pub-analytics-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.625rem;
    height: 150px;
    margin-top: 1.25rem;
}

.pub-analytics-bars > div {
    display: flex;
    flex: 1;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.375rem;
}

.pub-analytics-bars span {
    text-align: center;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--muted-foreground));
}

.pub-analytics-bars i {
    display: block;
    width: 100%;
    border-radius: 5px 5px 0 0;
    background-image: linear-gradient(
        to top,
        hsl(var(--primary) / 0.35),
        hsl(var(--primary))
    );
}

.pub-quote__stars {
    display: flex;
    gap: 0.125rem;
    color: hsl(38 92% 50%);
}

.pub-quote__stars svg {
    height: 14px;
    width: 14px;
    fill: currentColor;
}

.pub-quote .pub-quote__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    background-color: hsl(var(--primary) / 0.12);
    font-size: var(--fs-11);
    font-weight: 600;
    color: hsl(var(--primary));
}

/* Mobile responsive enhancements ------------------------------------------ */
.sa-sparkline {
    display: block;
    max-width: 100%;
    height: auto;
}

#hero-spark {
    width: 100%;
    overflow: hidden;
}

#hero-spark svg {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .pub-hero {
        padding: 2.5rem 0 3rem;
    }

    .pub-section {
        padding: 3.5rem 0;
    }

    .pub-feature {
        padding: 1.25rem;
    }

    .pub-step {
        padding: 1.25rem;
    }

    .pub-quote {
        padding: 1.25rem;
    }

    .pub-cta {
        padding: 2rem 1.25rem;
    }

    .pub-preview__body {
        padding: 1rem;
    }

    .pub-mock-grid {
        gap: 0.375rem;
    }

    .pub-mock-stat {
        padding: 0.5rem;
    }

    .pub-mock-stat strong {
        font-size: var(--fs-13);
    }

    .pub-h2 {
        font-size: 1.625rem;
    }

    .pub-lede {
        font-size: var(--fs-14);
    }
}
