/**
 * Homepage audit polish — keep design line, denser mid-page, editorial SEO/FAQ
 * Loaded last on homepage; does not remove content.
 */
:root {
    --haud-accent: #8fbf5a;
    --haud-accent-deep: #6bb832;
    --haud-ink: #f4f2ec;
    --haud-mute: rgba(244, 242, 236, 0.78);
    --haud-faint: rgba(244, 242, 236, 0.55);
    --haud-line: rgba(244, 242, 236, 0.14);
    --haud-panel: rgba(255, 255, 255, 0.035);
    --haud-display: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --haud-shell: min(1240px, calc(100% - 3rem));
}

/* —— Shared soft CTA (single action) —— */
.haud-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
}

/* Process CTA: title above buttons, always visible */
.how-we-work.process--2026 .pr26__cta.haud-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    opacity: 1 !important;
    transform: none !important;
}

.how-we-work.process--2026 .pr26__cta.haud-cta .pr26__cta-title {
    width: 100%;
    margin: 0 0 0.35rem;
}

.haud-cta__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    padding: 0.75rem 1.35rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #7ac63a 0%, var(--haud-accent-deep) 100%);
    color: #0a0a0f !important;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid rgba(167, 220, 110, 0.55);
    box-shadow: 0 12px 28px rgba(107, 184, 50, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.haud-cta__primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(107, 184, 50, 0.38);
    text-decoration: none !important;
}

.haud-cta__link {
    color: var(--haud-accent) !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(143, 191, 90, 0.35);
    padding-bottom: 0.1rem;
}

.haud-cta__link:hover {
    border-bottom-color: var(--haud-accent);
}

/* —— Benefits overrides removed: see benefits-2026.css —— */

/* —— Tech: chips + editorial cards —— */
.tech-section.tech--2026 {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
    padding-left: 0;
    padding-right: 0;
    background:
        radial-gradient(ellipse 50% 55% at 80% 10%, rgba(107, 184, 50, 0.07), transparent 55%),
        var(--bg-dark, #0a0a0f);
}

.tech-section.tech--2026 > .container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
}

.tech--2026 .tech-ed__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--haud-accent);
}

.tech--2026 .tech-section-title {
    margin: 0 0 0.75rem;
    font-family: var(--haud-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--haud-ink);
    max-width: 42rem;
}

.tech--2026 .tech-section-lead {
    margin: 0 0 1.35rem;
    max-width: 46rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--haud-mute);
}

.tech--2026 .tech-chips {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tech--2026 .tech-chips li {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 191, 90, 0.35);
    background: rgba(107, 184, 50, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--haud-ink);
}

.tech--2026 .tech-grid {
    gap: 1rem;
    margin-bottom: 1rem;
}

.tech--2026 .tech-card,
.tech--2026 .tech-card-full {
    border-radius: 14px;
    border: 1px solid var(--haud-line);
    background: var(--haud-panel);
    padding: 1.25rem 1.3rem;
}

.tech--2026 .tech-card-title {
    font-family: var(--haud-display);
    color: var(--haud-ink);
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.tech--2026 .tech-card-text {
    color: var(--haud-mute);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* —— USPs —— */
.usps-section.usps--2026 {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
    padding-left: 0;
    padding-right: 0;
}

.usps-section.usps--2026 > .container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
}

.usps--2026 .usps-section-title {
    text-align: left;
    font-family: var(--haud-display);
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    letter-spacing: -0.03em;
    max-width: 40rem;
}

.usps--2026 .usps-section-lead {
    text-align: left;
    margin: 0 0 1.75rem;
    max-width: 42rem;
    color: var(--haud-mute);
}

.usps--2026 .usps-number {
    font-family: var(--haud-display);
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
    color: var(--haud-accent);
}

.usps--2026 .usps-card {
    text-align: left;
    border-radius: 14px;
    border: 1px solid var(--haud-line);
    background: var(--haud-panel);
    padding: 1.25rem 1.2rem;
}

/* —— Process: stronger line + compact mobile —— */
@media (min-width: 900px) {
    .how-we-work.process--2026 .pr26__track::before {
        height: 3px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(143, 191, 90, 0.35) 8%,
            rgba(167, 220, 110, 0.85) 50%,
            rgba(143, 191, 90, 0.35) 92%,
            transparent 100%
        );
        box-shadow: 0 0 18px rgba(107, 184, 50, 0.25);
    }
}

@media (max-width: 899px) {
    .how-we-work.process--2026 .pr26__track {
        border-top: none;
        border-left: 2px solid rgba(143, 191, 90, 0.35);
        margin-left: 1.35rem;
        padding-left: 0;
    }

    .how-we-work.process--2026 .pr26__step {
        padding: 0.85rem 0 0.85rem 0.85rem;
        grid-template-columns: 2.6rem 1fr;
        gap: 0.75rem;
    }

    .how-we-work.process--2026 .pr26__node {
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 10px;
        font-size: 0.82rem;
        margin-left: -2.25rem;
    }

    .how-we-work.process--2026 .pr26__name {
        font-size: 1rem;
    }

    .how-we-work.process--2026 .pr26__desc {
        font-size: 0.86rem;
    }
}

.how-we-work.process--2026 .pr26__cta {
    margin-top: 1.75rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(143, 191, 90, 0.28);
    background: rgba(107, 184, 50, 0.06);
}

/* —— Services CTA —— */
.services--editorial .services-ed__cta .section-cta-buttons {
    justify-content: flex-start;
}

/* —— Contact phone display —— */
.contact--2026 .contact-details a.contact-link {
    font-family: var(--haud-display);
    font-size: clamp(1.15rem, 2.8vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--haud-ink) !important;
    word-break: keep-all;
}

/* —— Extended SEO shell —— */
section.extended-content.haud-extended {
    --haud-shell: min(1240px, calc(100% - 3rem));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 !important;
    background: var(--bg-dark, #0a0a0f);
}

.haud-extended__glow {
    position: absolute;
    inset: -10% -5% -15%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 48% 42% at 6% 12%, rgba(107, 184, 50, 0.16), transparent 58%),
        radial-gradient(ellipse 38% 48% at 94% 28%, rgba(143, 191, 90, 0.1), transparent 55%),
        radial-gradient(ellipse 55% 40% at 48% 92%, rgba(107, 184, 50, 0.08), transparent 60%);
    animation: haud-glow-drift 14s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes haud-glow-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translate3d(1.5%, -2%, 0) scale(1.04);
        opacity: 1;
    }
    100% {
        transform: translate3d(-1.2%, 1.5%, 0) scale(1.02);
        opacity: 0.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .haud-extended__glow {
        animation: none;
    }
}

.haud-extended__shell {
    position: relative;
    z-index: 1;
    width: var(--haud-shell);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

.haud-extended .homepage-extended-section {
    max-width: none;
    width: 100%;
    margin: 0 0 3rem;
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(143, 191, 90, 0.22);
    background:
        linear-gradient(165deg, rgba(107, 184, 50, 0.07) 0%, transparent 42%),
        rgba(255, 255, 255, 0.025);
    box-shadow:
        inset 0 1px 0 rgba(143, 191, 90, 0.14),
        0 18px 40px rgba(0, 0, 0, 0.22);
}

.haud-extended .homepage-extended-section h2 {
    font-family: var(--haud-display);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--haud-ink);
    margin: 0 0 1.15rem;
    max-width: min(36rem, 100%);
}

.haud-extended .homepage-extended-section h3 {
    font-family: var(--haud-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--haud-ink);
    margin: 1.5rem 0 0.55rem;
}

.haud-extended .homepage-extended-section p {
    color: var(--haud-mute);
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: left !important;
    margin: 0 0 0.95rem;
    max-width: none;
}

.haud-extended .homepage-extended-section ul {
    list-style: none;
    margin: 0.35rem 0 1.15rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.35rem;
}

.haud-extended .homepage-extended-section li {
    position: relative;
    padding: 0.85rem 0.9rem 0.85rem 1.35rem;
    color: var(--haud-mute);
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 12px;
    border: 1px solid rgba(143, 191, 90, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.haud-extended .homepage-extended-section li::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 1.15em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--haud-accent);
    box-shadow: 0 0 10px rgba(143, 191, 90, 0.55);
}

.haud-extended .homepage-extended-section a {
    color: var(--haud-accent) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Scroll reveal — same motion language as process/benefits */
.haud-extended .haud-reveal {
    opacity: 0;
    transform: translateY(1.35rem);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.haud-extended .haud-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.haud-extended .haud-reveal.is-visible .homepage-extended-section li,
.haud-extended .homepage-extended-section.haud-reveal.is-visible li {
    animation: haud-li-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.haud-extended .homepage-extended-section.haud-reveal.is-visible li:nth-child(1) { animation-delay: 0.05s; }
.haud-extended .homepage-extended-section.haud-reveal.is-visible li:nth-child(2) { animation-delay: 0.12s; }
.haud-extended .homepage-extended-section.haud-reveal.is-visible li:nth-child(3) { animation-delay: 0.19s; }
.haud-extended .homepage-extended-section.haud-reveal.is-visible li:nth-child(4) { animation-delay: 0.26s; }
.haud-extended .homepage-extended-section.haud-reveal.is-visible li:nth-child(5) { animation-delay: 0.33s; }

@keyframes haud-li-in {
    from {
        opacity: 0;
        transform: translateY(0.6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .haud-extended .haud-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .haud-extended .homepage-extended-section.haud-reveal.is-visible li {
        animation: none;
    }
}

@media (max-width: 900px) {
    .haud-extended .homepage-extended-section ul {
        grid-template-columns: 1fr;
    }

    .haud-extended .homepage-extended-section {
        padding: 1.15rem 1rem 1.25rem;
    }

    .haud-extended .homepage-extended-section h2 {
        max-width: none;
    }
}

/* —— FAQ accordion (of26 / homepage design line) —— */
.haud-extended .homepage-faq-section.faq26 {
    background: transparent;
    padding: 0;
    margin: 0 0 2.75rem;
    border-radius: 0;
}

.haud-extended .faq26__shell {
    position: relative;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.15rem, 2.6vw, 2rem);
    border-radius: 22px;
    border: 1px solid rgba(143, 191, 90, 0.34);
    background:
        linear-gradient(165deg, rgba(107, 184, 50, 0.08) 0%, transparent 42%),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        inset 0 1px 0 rgba(143, 191, 90, 0.2),
        0 24px 64px rgba(0, 0, 0, 0.32),
        0 0 64px rgba(107, 184, 50, 0.06);
    overflow: hidden;
}

.haud-extended .faq26__shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(143, 191, 90, 0.85) 20%,
        rgba(167, 220, 110, 0.95) 50%,
        rgba(143, 191, 90, 0.85) 80%,
        transparent
    );
    pointer-events: none;
}

.haud-extended .faq26__head {
    margin: 0 0 1.5rem;
    max-width: 40rem;
}

.haud-extended .faq26__title,
.haud-extended .homepage-faq-title {
    font-family: var(--haud-display);
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-align: left;
    color: var(--haud-ink);
    margin: 0 0 0.65rem;
}

.haud-extended .faq26__lead {
    margin: 0;
    color: var(--haud-mute);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 36rem;
}

.haud-extended .faq26__list,
.haud-extended .homepage-faq-list {
    display: grid;
    max-width: none;
    gap: 0.55rem;
    counter-reset: faq26;
}

.haud-extended .faq26__item,
.haud-extended details.homepage-faq-item.faq26__item {
    counter-increment: faq26;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(143, 191, 90, 0.2);
    border-radius: 14px;
    overflow: hidden;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.haud-extended details.homepage-faq-item.faq26__item:hover {
    border-color: rgba(143, 191, 90, 0.42);
    background: rgba(107, 184, 50, 0.05);
}

.haud-extended details.homepage-faq-item.faq26__item[open] {
    border-color: rgba(143, 191, 90, 0.5);
    background:
        linear-gradient(165deg, rgba(107, 184, 50, 0.1) 0%, transparent 55%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.haud-extended details.homepage-faq-item.faq26__item > summary {
    list-style: none;
    cursor: pointer;
    padding: 1.05rem 1.1rem 1.05rem 1.15rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem 1rem;
    color: var(--haud-ink);
    font-family: var(--haud-display);
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.haud-extended details.homepage-faq-item.faq26__item > summary::-webkit-details-marker {
    display: none;
}

.haud-extended details.homepage-faq-item.faq26__item > summary::before {
    content: counter(faq26, decimal-leading-zero);
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--haud-accent);
    opacity: 0.85;
    min-width: 1.6rem;
}

.haud-extended details.homepage-faq-item.faq26__item > summary::after {
    content: "";
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    border: 1px solid rgba(143, 191, 90, 0.45);
    background:
        linear-gradient(#9AE85A, #9AE85A) center / 0.7rem 2px no-repeat,
        linear-gradient(#9AE85A, #9AE85A) center / 2px 0.7rem no-repeat,
        rgba(107, 184, 50, 0.08);
    transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.haud-extended details.homepage-faq-item.faq26__item[open] > summary::after {
    content: "";
    transform: rotate(45deg);
    border-color: rgba(154, 232, 90, 0.7);
    background:
        linear-gradient(#0a0a0f, #0a0a0f) center / 0.7rem 2px no-repeat,
        #9AE85A;
}

.haud-extended .faq26__item .homepage-faq-answer,
.haud-extended .homepage-faq-answer {
    display: block;
    padding: 0 1.15rem 1.2rem 3.35rem;
}

.haud-extended details.homepage-faq-item:not([open]) > .homepage-faq-answer {
    display: none !important;
}

.haud-extended .faq26__item .homepage-faq-answer p,
.haud-extended .homepage-faq-answer p {
    margin: 0;
    padding: 0.9rem 0 0;
    color: var(--haud-mute);
    line-height: 1.7;
    text-align: left;
    font-size: 0.96rem;
    border-top: 1px solid rgba(143, 191, 90, 0.16);
}

.haud-extended .faq26__item .homepage-faq-answer a,
.haud-extended .homepage-faq-answer a {
    color: var(--haud-accent) !important;
    text-underline-offset: 2px;
}

.haud-extended .faq26__foot,
.haud-extended .homepage-faq-foot {
    margin-top: 1.5rem;
    padding-top: 0.25rem;
}

@media (max-width: 640px) {
    .haud-extended .faq26__shell {
        padding: 1.25rem 1rem 1.35rem;
        border-radius: 18px;
    }

    .haud-extended details.homepage-faq-item.faq26__item > summary {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 0.95rem 0.9rem;
        font-size: 0.95rem;
    }

    .haud-extended details.homepage-faq-item.faq26__item > summary::before {
        display: none;
    }

    .haud-extended .faq26__item .homepage-faq-answer {
        padding: 0 0.9rem 1.05rem;
    }
}

/* —— Final CTA —— */
.haud-extended .homepage-cta-final-section {
    text-align: left;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 18px;
}

.haud-extended .homepage-cta-final-title {
    font-family: var(--haud-display);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    text-align: left;
    margin: 0 0 0.75rem;
}

.haud-extended .homepage-cta-final-text {
    text-align: left;
    max-width: 42rem;
    margin: 0 0 1.25rem;
    color: var(--haud-mute);
}

.haud-extended .homepage-cta-final-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: flex-start;
}

.haud-extended .homepage-cta-final-buttons.haud-cta {
    margin-top: 0;
}

.haud-extended .homepage-extended-section p[style*="justify"] {
    text-align: left !important;
}

/* About CTA row stays tidy on mobile */
.ha26__cta.haud-cta {
    margin-top: 1.25rem;
}

/* Soften offer CTA pulse so it does not fight sticky bar on mobile */
@media (max-width: 560px) {
    .of26__btn--primary {
        animation: none;
    }

    .of26__shell {
        overflow: hidden;
    }
}

/* About section glow must not widen the page */
.home-about.home-about--2026 {
    overflow-x: clip;
}

.home-about.home-about--2026 .ha26__visual,
.home-about.home-about--2026 .ab26-anim__glow {
    max-width: 100%;
}

@media (max-width: 560px) {
    :root {
        --haud-shell: min(100%, calc(100% - 1.5rem));
    }
}

/* Intro proof strip */
.intro--2026__proof {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--haud-accent, #8fbf5a);
}
