/* ==============================================
   FASING AI – page-specific styles
   Inherits brand tokens from ../styles.css
   Brand: #08764d (green), #e4e4e4 (bg), #828282 (text), #646464 (dark text)
   Font stack: anivers, Arial, Tahoma, sans-serif
   Breakpoints: 480 / 640 / 768 / 1024 / 1366 / 1600px
   ============================================== */


/* ------------------------------------------
   SKIP LINK
   ------------------------------------------ */

.ai-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #08764d;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
}
.ai-skip-link:focus {
    top: 0;
    color: #fff;
}


/* ------------------------------------------
   BREADCRUMB
   ------------------------------------------ */

.ai-breadcrumb {
    background: #f5f5f5;
    border-bottom: 1px solid #e4e4e4;
    padding: 8px 0;
    font-size: 12px;
    color: #828282;
}
.ai-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.ai-breadcrumb li {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
}
.ai-breadcrumb li + li::before {
    content: '/';
    margin-right: 6px;
    color: #bbb;
}
.ai-breadcrumb a {
    color: #08764d;
}
.ai-breadcrumb a:hover {
    color: #828282;
}
.ai-breadcrumb li[aria-current="page"] {
    color: #646464;
}


/* ------------------------------------------
   SECTIONS
   ------------------------------------------ */

.ai-section {
    padding: 40px 0;
    border-bottom: 1px solid #e4e4e4;
}
.ai-section:last-of-type {
    border-bottom: none;
}
.ai-intro h1 {
    padding-left: 25px;
}
.ai-intro p {
    line-height: 1.7;
}


/* ------------------------------------------
   STATS
   ------------------------------------------ */

.ai-stats-grid {
    display: grid;
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
    gap: 2px;
    grid-template-columns: repeat(3, 1fr);
}
.ai-stat-card {
    background: #08764d;
    color: #fff;
    text-align: center;
    padding: 30px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.ai-stat-number {
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 46px;
    line-height: 1;
    font-weight: normal;
}
.ai-stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ai-stats-note {
    margin-top: 20px;
    color: #828282;
    font-size: 13px;
}


/* ------------------------------------------
   PRODUCTS GRID
   ------------------------------------------ */

.ai-products-grid {
    display: grid;
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}
.ai-product-card {
    background: #f5f5f5;
    border-left: 4px solid #08764d;
    padding: 20px 20px 16px;
}
.ai-product-card h3 {
    color: #08764d;
    margin: 0 0 8px;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 17px;
}
.ai-product-card p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #646464;
    line-height: 1.5;
}
.ai-link {
    color: #08764d;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}
.ai-link:hover {
    color: #646464;
}
.ai-products-all {
    margin: 20px 0 0;
    text-align: right;
}
.ai-link--all {
    font-size: 14px;
}


/* ------------------------------------------
   SHARED LIST
   ------------------------------------------ */

.ai-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.ai-list li {
    padding: 5px 0 5px 28px;
    background: url(/img/bg_li.png) 0 7px no-repeat;
    color: #646464;
    line-height: 1.6;
}


/* ------------------------------------------
   QUALITY BADGES
   ------------------------------------------ */

.ai-badges {
    display: flex;
    gap: 12px;
    margin: 22px 0 0;
    flex-wrap: wrap;
}
.ai-badge {
    background: #fff;
    border: 2px solid #08764d;
    color: #08764d;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 16px;
    padding: 8px 22px;
    letter-spacing: 0.04em;
}


/* ------------------------------------------
   SYNERGY STEPS
   ------------------------------------------ */

.ai-steps {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    gap: 2px;
    flex-wrap: wrap;
}
.ai-step {
    flex: 1;
    min-width: 120px;
    background: #e4e4e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px;
}
.ai-step:nth-child(odd) {
    background: #08764d;
}
.ai-step:nth-child(odd) .ai-step-num,
.ai-step:nth-child(odd) .ai-step-label {
    color: #fff;
}
.ai-step-num {
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 34px;
    line-height: 1;
    color: #08764d;
    margin: 0 0 8px;
}
.ai-step-label {
    font-size: 13px;
    color: #646464;
    line-height: 1.3;
}


/* ------------------------------------------
   HELP GRID
   ------------------------------------------ */

.ai-help-grid {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}
.ai-help-card {
    border-top: 4px solid #08764d;
    padding: 22px 18px 18px;
    background: #f9f9f9;
}
.ai-help-num {
    display: block;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 42px;
    color: #e4e4e4;
    line-height: 1;
    margin: 0 0 8px;
}
.ai-help-card h3 {
    color: #08764d;
    font-size: 15px;
    margin: 0 0 10px;
    font-family: anivers, Arial, Tahoma, sans-serif;
}
.ai-help-card p {
    font-size: 13px;
    color: #646464;
    margin: 0;
    line-height: 1.6;
}


/* ------------------------------------------
   HOW TO START – CHECKLIST
   ------------------------------------------ */

.ai-checklist {
    list-style: none;
    margin: 15px 0 25px;
    padding: 0;
    counter-reset: ai-checklist;
}
.ai-checklist li {
    counter-increment: ai-checklist;
    padding: 11px 0 11px 44px;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
    color: #646464;
    line-height: 1.5;
}
.ai-checklist li::before {
    content: counter(ai-checklist);
    position: absolute;
    left: 0;
    top: 9px;
    width: 26px;
    height: 26px;
    background: #08764d;
    color: #fff;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ai-cta-btn {
    display: inline-block;
    background: #08764d;
    color: #fff;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
    transition: background 0.2s;
}
.ai-cta-btn:hover {
    background: #646464;
    color: #fff;
}


/* ------------------------------------------
   FAQ – details / summary
   ------------------------------------------ */

.ai-faq-list {
    margin: 20px 0 0;
}

.ai-faq-item {
    border-bottom: 1px solid #e4e4e4;
}

/* remove default browser marker */
.ai-faq-item summary {
    list-style: none;
}
.ai-faq-item summary::-webkit-details-marker {
    display: none;
}

.ai-faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-family: anivers, Arial, Tahoma, sans-serif;
    font-size: 16px;
    color: #646464;
    cursor: pointer;
    line-height: 1.3;
    -webkit-user-select: none;
    user-select: none;
}
.ai-faq-summary:hover {
    color: #08764d;
}
.ai-faq-item[open] .ai-faq-summary {
    color: #08764d;
}

/* +/− icon via ::after pseudo-element */
.ai-faq-summary::after {
    content: '';
    flex-shrink: 0;
    position: relative;
    width: 18px;
    height: 18px;
    background:
        linear-gradient(#08764d, #08764d) center / 12px 2px no-repeat,
        linear-gradient(#08764d, #08764d) center / 2px 12px no-repeat;
    transition: transform 0.2s;
}
.ai-faq-item[open] .ai-faq-summary::after {
    background:
        linear-gradient(#08764d, #08764d) center / 12px 2px no-repeat;
}

.ai-faq-answer {
    padding: 4px 0 18px;
    color: #828282;
    font-size: 14px;
    line-height: 1.6;
}
.ai-faq-answer p {
    margin: 0;
}
.ai-faq-answer a {
    color: #08764d;
}


/* ------------------------------------------
   COOKIE BANNER
   ------------------------------------------ */

.cookie-privacy-link {
    margin: 0 15px 0 0;
    display: inline-block;
}


/* ------------------------------------------
   FOOTER
   ------------------------------------------ */

.ai-foot-copy {
    font-size: 12px;
    color: #828282;
    margin: 0;
    line-height: 45px;
}
.ai-foot-copy a {
    color: #828282;
}
.ai-foot-copy a:hover {
    color: #646464;
}


/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 1023px) {
    .ai-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ai-stat-number {
        font-size: 36px;
    }
}

@media (max-width: 639px) {
    .ai-stats-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ai-products-grid {
        grid-template-columns: 1fr;
    }
    .ai-help-grid {
        grid-template-columns: 1fr;
    }
    .ai-steps {
        flex-direction: column;
        gap: 4px;
    }
    .ai-step {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 16px 20px;
        min-width: unset;
    }
    .ai-step-num {
        margin: 0;
        font-size: 28px;
        min-width: 28px;
    }
    .ai-accordion-trigger {
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    .ai-section {
        padding: 28px 0;
    }
    .ai-cta-btn {
        display: block;
        text-align: center;
    }
}
