/********** Template CSS **********/
:root {
    --primary: #6B4EFF;     /* Heed violet (matches the app) */
    --secondary: #8B6CFF;   /* lighter violet for the gradient */
    --light: #F1EEFF;       /* light lavender */
    --dark: #14132B;        /* Heed ink */
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Gradient Text & BG ***/
.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        border-top-color: var(--primary);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 16rem 0 0 0;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        url(../img/bg-bottom.png),
        linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position:
        left 0px top 0px,
        right 0px top 50%,
        center bottom;
    background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}


/*** Pricing ***/
.pricing .nav {
    padding: 2px;
}

.pricing .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.pricing .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Screenshot ***/
.screenshot-carousel {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 15px;
    margin-right: 30px;
}

.screenshot-carousel::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/screenshot-frame.png) center center no-repeat;
    background-size: 253px 500px;
    z-index: 1;
}

.screenshot-carousel .owl-item img {
    position: relative;
    width: 223px;
    height: 470px;
}

.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        url(../img/bg-top.png),
        linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position:
        left 0px bottom 0px,
        right 0px top 50%,
        center top;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/********** Heed overrides (content + skin only — template structure kept) **********/

/*** Typography → Inter (replaces Heebo / Jost) ***/
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { font-family: 'Inter', sans-serif; letter-spacing: -0.015em; }
.navbar-brand h1 { font-family: 'Inter', sans-serif; font-weight: 700 !important; text-transform: lowercase; letter-spacing: -0.02em; }
.btn { font-family: 'Inter', sans-serif; font-weight: 600; }

/*** Smooth scroll + visible keyboard focus ***/
html { scroll-behavior: smooth; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, .accordion-button:focus-visible {
    outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px;
}

/*** Long hero headline: keep it readable ***/
@media (min-width: 992px) { .hero-header h1 { font-size: 3.1rem; line-height: 1.12; } }

/*** Phone screenshot used as a bare <img> in About / Download ***/
.phone-shot { max-width: 300px; width: 100%; border-radius: 30px;
    box-shadow: 0 26px 60px rgba(107,78,255,.20), 0 6px 18px rgba(20,19,43,.08);
    border: 1px solid var(--light); }

/*** Proof = repurposed testimonial carousel → real decode cards ***/
.testimonial-carousel .owl-item .testimonial-item { background: #FFFFFF; border: 1px solid var(--light); }
.testimonial-carousel .owl-item.center .testimonial-item { background: #FFFFFF; box-shadow: 0 1.5rem 3rem rgba(107,78,255,.14); border-color: var(--secondary); }
.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p { color: inherit !important; }
.decode-sender { font-size: 13px; color: #8E8AA6; margin-bottom: .5rem; }
.decode-msg { font-size: 15.5px; color: var(--dark); background: #F6F5FB; border: 1px solid var(--light);
    border-radius: 14px; padding: 12px 14px; line-height: 1.5; }
.decode-pattern { display: inline-block; font-size: 13px; font-weight: 600; color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 999px; padding: 5px 13px; }
.decode-reading { color: #4A4763; font-size: 14.5px; line-height: 1.55; }
.decode-tones { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }

/*** Pricing: featured (annual) card emphasis ***/
.price-card { border: 1px solid var(--light); transition: .4s; }
.price-card:hover { box-shadow: 0 1rem 2rem rgba(20,19,43,.08); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 1.5rem 3rem rgba(107,78,255,.18); }
.price-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: #FFFFFF; background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 999px; padding: 4px 12px; }
.founder-note { color: #6E6A86; font-size: 14px; }

/*** FAQ accordion (Bootstrap 5) recolor ***/
.accordion-button { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--dark); }
.accordion-button:not(.collapsed) { color: var(--primary); background: #F6F5FB; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(107,78,255,.25); }
.accordion-item { border: 1px solid var(--light); }
.accordion-body { color: #4A4763; }

/*** Page-wide calm: respect reduced motion ***/
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
}


/********** Blog (index, post cards, long-form article) — additive, token-driven **********/

/*** Breadcrumb trail (index + post) ***/
.breadcrumb-trail {
    font-size: 14px;
    color: #6E6A86;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.breadcrumb-trail a {
    color: var(--primary);
    text-decoration: none;
    transition: .3s;
}
.breadcrumb-trail a:hover { text-decoration: underline; }
.breadcrumb-trail .sep { color: #B5B1C6; user-select: none; }
.breadcrumb-trail [aria-current="page"] { color: #4A4763; }

/*** Blog index header intro ***/
.blog-intro {
    color: #4A4763;
    font-size: 18px;
    line-height: 1.6;
    max-width: 60ch;
}

/*** Blog index post cards (hover-lift, mirrors .feature-item) ***/
.post-card {
    transition: .5s;
    border: 1px solid var(--light);
    color: inherit;
}
.post-card:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(107, 78, 255, .12);
    border-color: var(--secondary);
}
.post-card-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--primary);
}
.post-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: -0.01em;
}
.post-card-dek {
    color: #4A4763;
    font-size: 15px;
    line-height: 1.55;
}
.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #6E6A86;
    padding-top: 14px;
    border-top: 1px solid var(--light);
}
.post-card-read {
    font-weight: 600;
    color: var(--primary);
}
.post-card:hover .post-card-read .fa-arrow-right { transform: translateX(3px); }
.post-card-read .fa-arrow-right { transition: transform .3s; }

/*** Post header / byline ***/
.post-header h1 {
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.post-byline {
    font-size: 14px;
    color: #6E6A86;
}
.post-byline .dot { margin: 0 6px; }

/*** Long-form article typography: readable measure ~70ch ***/
.post-prose {
    max-width: 70ch;
    color: #322F4A;
    font-size: 18px;
    line-height: 1.75;
}
.post-prose > :first-child { margin-top: 0; }
.post-prose p { margin: 0 0 1.5rem; }
.post-prose h2 {
    margin: 3rem 0 1rem;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.post-prose h3 {
    margin: 2.25rem 0 .75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.post-prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-prose a:hover { text-decoration-thickness: 2px; }
.post-prose strong { color: var(--dark); font-weight: 700; }
.post-prose ul,
.post-prose ol {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}
.post-prose li { margin-bottom: .6rem; }
.post-prose li::marker { color: var(--primary); }
.post-prose blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary);
    background: #F6F5FB;
    border-radius: 0 14px 14px 0;
    color: #4A4763;
    font-style: italic;
}
.post-prose blockquote p:last-child { margin-bottom: 0; }
.post-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--light);
    margin: 1.5rem 0;
}
.post-prose hr {
    border: 0;
    border-top: 1px solid var(--light);
    margin: 2.5rem 0;
}

/*** Reply scripts: reuse the decode-card look (warm/neutral/firm) ***/
.reply-card {
    background: #F6F5FB;
    border: 1px solid var(--light);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 0 0 1rem;
}
.reply-tone {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 10px;
    background: var(--primary);
}
.reply-tone.warm    { background: var(--primary); }
.reply-tone.neutral { background: #4A4763; }
.reply-tone.firm    { background: var(--dark); }
.reply-text {
    margin: 0;
    color: var(--dark);
    font-size: 16px;
    line-height: 1.55;
}

/*** Post FAQ + in-article CTA ***/
.post-faq { max-width: 70ch; }
.post-faq .accordion-item { border: 1px solid var(--light); margin-bottom: 12px; border-radius: .375rem; }
.post-cta {
    max-width: 70ch;
    background: var(--light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
}
.post-cta h3 { color: var(--dark); letter-spacing: -0.01em; }

/********** Blog pages sit over a WHITE hero (not the violet one): force readable, AA-clean chrome. Scoped to .blog-page so the homepage is untouched. **********/
.navbar-brand-text { font-family: 'Inter', sans-serif; font-weight: 700; text-transform: lowercase; letter-spacing: -0.02em; line-height: 1; }
.blog-page .navbar-brand-text { color: var(--dark); }
.blog-page .navbar-light .navbar-nav .nav-link { color: var(--dark) !important; }
.blog-page .navbar-light .navbar-nav .nav-link:hover,
.blog-page .navbar-light .navbar-nav .nav-link.active { color: var(--primary) !important; }
.blog-page .navbar-light .navbar-nav .nav-link::before { border-color: var(--primary) transparent transparent transparent; }
.blog-page .footer { background-image: url(../img/bg-circle.png), url(../img/bg-triangle.png), url(../img/bg-top.png), linear-gradient(to bottom right, #6B4EFF, #4A35CC); }
.post-cta p { color: #4A4763; max-width: 48ch; margin-inline: auto; }