.avf-page {
    --avf-ink: #263d50;
    --avf-ink-deep: #10261b;
    --avf-panel: #263a4d;
    --avf-copy: #5d6f80;
    --avf-muted: #5d6f80;
    --avf-green: #6cbe45;
    --avf-green-deep: #397d28;
    --avf-mist: #f2f7f3;
    --avf-mist-strong: #e8f2ea;
    --avf-paper: #ffffff;
    --avf-border: #d9e5dc;
    --avf-shadow: 0 22px 60px rgba(28, 55, 42, 0.1);
    overflow: clip;
    background: var(--avf-paper);
    color: var(--avf-copy);
}

.avf-page *,
.avf-page *::before,
.avf-page *::after {
    box-sizing: border-box;
}

.avf-page [hidden] {
    display: none !important;
}

.avf-page a {
    text-underline-offset: 3px;
}

.avf-page button,
.avf-page input {
    font: inherit;
}

.avf-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.avf-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.avf-eyebrow,
.avf-course-cta__eyebrow,
.avf-support__eyebrow {
    margin: 0;
    color: var(--avf-green-deep);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.avf-hero {
    position: relative;
    padding: clamp(74px, 8vw, 116px) 0 116px;
    background: linear-gradient(135deg, #f8fcf9 0%, #ffffff 100%);
}

.avf-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(48px, 8vw, 112px);
}

.avf-hero__content {
    max-width: 760px;
}

.avf-hero h1 {
    max-width: 780px;
    margin: 20px 0 24px;
    color: var(--avf-ink);
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 5.2vw, 5.7rem);
    font-weight: 800;
    letter-spacing: -0.062em;
    line-height: 0.98;
    text-wrap: balance;
}

.avf-hero h1 span {
    display: block;
    color: var(--avf-green);
}

.avf-hero__intro {
    max-width: 690px;
    margin: 0;
    color: var(--avf-copy);
    font-size: clamp(1.04rem, 1.4vw, 1.22rem);
    line-height: 1.8;
}

.avf-facts {
    display: grid;
    max-width: 710px;
    margin-top: 38px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(38, 61, 80, 0.13);
}

.avf-fact {
    padding: 20px 20px 0 0;
}

.avf-fact + .avf-fact {
    padding-left: 20px;
    border-left: 1px solid rgba(38, 61, 80, 0.13);
}

.avf-fact strong,
.avf-fact span {
    display: block;
}

.avf-fact strong {
    color: var(--avf-ink);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.avf-fact span {
    margin-top: 3px;
    color: var(--avf-muted);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.45;
}

.avf-answer-visual {
    position: relative;
    display: grid;
    min-height: 360px;
    place-items: center;
}

.avf-answer-mark {
    display: grid;
    width: clamp(164px, 14vw, 210px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--avf-ink-deep);
    color: var(--avf-paper);
    font-family: var(--font-heading);
    font-size: clamp(5.75rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 24px 60px rgba(16, 38, 27, 0.18);
}

.avf-tools {
    position: relative;
    z-index: 3;
    margin-top: -52px;
}

.avf-tools__inner {
    padding: 24px 28px 22px;
    border: 1px solid var(--avf-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 50px rgba(28, 55, 42, 0.11);
}

.avf-search > label {
    display: block;
    margin-bottom: 10px;
    color: var(--avf-ink);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
}

.avf-search__field {
    position: relative;
}

.avf-search__field > svg {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--avf-green-deep);
    stroke-width: 2;
    stroke-linecap: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.avf-search input {
    width: 100%;
    height: 58px;
    padding: 0 56px 0 54px;
    border: 1px solid #c8d8cd;
    border-radius: 15px;
    outline: 0;
    background: #f9fcfa;
    color: var(--avf-ink);
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.avf-search input::placeholder {
    color: #728391;
    opacity: 1;
}

.avf-search input:focus {
    border-color: var(--avf-green-deep);
    background: var(--avf-paper);
    box-shadow: 0 0 0 4px rgba(101, 189, 66, 0.16);
}

.avf-search__field > button {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #e7f1e9;
    color: var(--avf-ink);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    transform: translateY(-50%);
}

.avf-filter-row {
    display: flex;
    margin-top: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.avf-filters {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.avf-filters button,
.avf-expand-button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #cad9cf;
    border-radius: 999px;
    background: var(--avf-paper);
    color: #405568;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.avf-filters button:hover,
.avf-expand-button:hover {
    border-color: #83a68c;
    background: var(--avf-mist);
}

.avf-filters button.is-active {
    border-color: var(--avf-ink-deep);
    background: var(--avf-ink-deep);
    color: var(--avf-paper);
}

.avf-expand-button {
    flex: 0 0 auto;
    color: var(--avf-green-deep);
}

.avf-results-status {
    margin: 13px 1px 0;
    color: var(--avf-muted);
    font-size: 0.76rem;
    font-weight: 650;
}

.avf-library {
    padding: clamp(76px, 8vw, 118px) 0 clamp(88px, 9vw, 132px);
}

.avf-library__layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: clamp(36px, 5vw, 70px);
}

.avf-groups {
    min-width: 0;
}

.avf-group + .avf-group {
    margin-top: 48px;
}

.avf-group__header {
    display: grid;
    margin-bottom: 18px;
    align-items: center;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 17px;
}

.avf-group__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    background: var(--avf-mist-strong);
    color: var(--avf-green-deep);
}

.avf-group__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avf-group__header > div:last-child {
    position: relative;
}

.avf-group__header span {
    position: absolute;
    top: -13px;
    right: 0;
    color: #e7eeea;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    pointer-events: none;
}

.avf-group__header h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--avf-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.avf-group__header p {
    position: relative;
    z-index: 1;
    margin: 6px 0 0;
    color: var(--avf-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.avf-question-list {
    overflow: hidden;
    border: 1px solid var(--avf-border);
    border-radius: 22px;
    background: var(--avf-paper);
    box-shadow: 0 15px 44px rgba(28, 55, 42, 0.055);
}

.avf-page .avf-question-list > details {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background-color 160ms ease;
}

.avf-page .avf-question-list > details + details {
    border-top: 1px solid var(--avf-border);
}

.avf-page .avf-question-list > details:hover {
    box-shadow: none;
}

.avf-page .avf-question-list > details[open] {
    border-color: transparent;
    background: #f6faf7;
}

.avf-page .avf-question-list > details[open] {
    box-shadow: inset 4px 0 0 var(--avf-green);
}

.avf-page .avf-question-list summary {
    position: relative;
    display: flex;
    min-height: 76px;
    padding: 22px 72px 22px 26px;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0;
    outline: 0;
    color: var(--avf-ink);
    cursor: pointer;
    list-style: none;
}

.avf-page .avf-question-list summary::-webkit-details-marker {
    display: none;
}

.avf-page .avf-question-list summary h3 {
    margin: 0;
    color: inherit;
    font-family: var(--font-heading);
    font-size: 1.04rem;
    font-weight: 750;
    letter-spacing: -0.018em;
    line-height: 1.5;
}

.avf-page .avf-question-list summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #c7d9ca;
    border-radius: 50%;
    background: var(--avf-paper);
    color: var(--avf-green-deep);
    content: "+";
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-50%);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.avf-page .avf-question-list details[open] summary::after {
    background: var(--avf-ink-deep);
    color: var(--avf-paper);
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.avf-page .avf-question-list summary:focus-visible {
    z-index: 2;
    box-shadow: inset 0 0 0 3px var(--avf-green-deep);
}

.avf-page .avf-question-list .avf-answer {
    max-width: none;
    padding: 0 72px 27px 26px;
    border: 0;
    color: #536878;
    font-size: 0.95rem;
    line-height: 1.82;
}

.avf-answer p {
    max-width: 70ch;
    margin: 0;
}

.avf-answer p + p,
.avf-answer p + ul {
    margin-top: 14px;
}

.avf-answer ul {
    max-width: 68ch;
    margin-bottom: 0;
    padding-left: 21px;
}

.avf-answer li + li {
    margin-top: 6px;
}

.avf-answer a {
    color: var(--avf-green-deep);
    font-weight: 750;
}

.avf-support {
    position: sticky;
    top: 126px;
    padding: 28px;
    border-radius: 26px;
    background: var(--avf-panel);
    color: #dce9e1;
    box-shadow: 0 24px 60px rgba(38, 58, 77, 0.18);
}

.avf-support__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #8fda6e;
}

.avf-support__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avf-support__eyebrow {
    color: #9cdd80;
}

.avf-support h2 {
    margin: 10px 0 12px;
    color: var(--avf-paper);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.17;
}

.avf-support > p:not(.avf-support__eyebrow) {
    margin: 0;
    color: #c6d7cd;
    font-size: 0.88rem;
    line-height: 1.7;
}

.avf-support__primary {
    display: flex;
    min-height: 62px;
    margin-top: 24px;
    padding: 11px 14px 11px 17px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 14px;
    background: var(--avf-paper);
    color: var(--avf-ink-deep);
    text-decoration: none;
}

.avf-support__primary > span {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.avf-support__primary small {
    margin-top: 3px;
    color: var(--avf-green-deep);
    font-size: 0.66rem;
    font-weight: 750;
}

.avf-support__primary svg,
.avf-no-results a svg,
.avf-course-cta__action a svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avf-support__secondary {
    display: block;
    margin-top: 15px;
    color: #d8e6dd;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.avf-no-results {
    padding: 54px 28px;
    border: 1px dashed #b9ccbE;
    border-radius: 22px;
    background: var(--avf-mist);
    text-align: center;
}

.avf-no-results > span {
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    background: var(--avf-ink-deep);
    color: var(--avf-paper);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.avf-no-results h2 {
    margin: 0;
    color: var(--avf-ink);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.avf-no-results p {
    max-width: 520px;
    margin: 10px auto 20px;
    font-size: 0.9rem;
    line-height: 1.65;
}

.avf-no-results a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--avf-green-deep);
    font-size: 0.84rem;
    font-weight: 800;
}

.avf-course-cta {
    padding: 0 0 clamp(86px, 9vw, 132px);
}

.avf-course-cta__card {
    position: relative;
    overflow: hidden;
    display: grid;
    padding: clamp(36px, 5vw, 64px);
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: clamp(36px, 6vw, 82px);
    border-radius: 32px;
    background: var(--avf-panel);
    color: #dbe8df;
    box-shadow: 0 28px 70px rgba(38, 58, 77, 0.16);
}

.avf-course-cta__card::after {
    position: absolute;
    right: -74px;
    bottom: -135px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.avf-course-cta__content,
.avf-course-cta__action {
    position: relative;
    z-index: 1;
}

.avf-course-cta__eyebrow {
    color: #9cdd80;
}

.avf-course-cta h2 {
    max-width: 760px;
    margin: 12px 0 18px;
    color: var(--avf-paper);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 1.06;
    text-wrap: balance;
}

.avf-course-cta__content > p:not(.avf-course-cta__eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #c4d5ca;
    font-size: 0.94rem;
    line-height: 1.78;
}

.avf-course-cta__content > p strong {
    color: var(--avf-paper);
}

.avf-course-cta ul {
    display: flex;
    margin: 24px 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 12px 22px;
    list-style: none;
}

.avf-course-cta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce9e1;
    font-size: 0.75rem;
    font-weight: 700;
}

.avf-course-cta li svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #8fd66f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avf-course-cta__action {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
}

.avf-course-cta__price strong,
.avf-course-cta__price span {
    display: block;
}

.avf-course-cta__price strong {
    color: var(--avf-paper);
    font-family: var(--font-heading);
    font-size: 2.55rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1;
}

.avf-course-cta__price span {
    margin-top: 7px;
    color: #b8ccc0;
    font-size: 0.72rem;
    font-weight: 650;
}

.avf-course-cta__action a {
    display: flex;
    min-height: 56px;
    margin-top: 22px;
    padding: 12px 17px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 13px;
    background: var(--avf-green);
    color: var(--avf-ink-deep);
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    transition: background-color 160ms ease, transform 160ms ease;
}

.avf-course-cta__action a:hover {
    background: #78cc57;
    transform: translateY(-2px);
}

.avf-page :is(a, button, input, summary):focus-visible {
    outline: 3px solid #2e6d20;
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .avf-hero {
        padding-top: 70px;
    }

    .avf-hero__grid {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 44px;
    }

    .avf-answer-visual {
        min-height: 290px;
    }

    .avf-answer-mark {
        width: 164px;
        font-size: 5.75rem;
    }

    .avf-library__layout {
        grid-template-columns: minmax(0, 1fr) 274px;
        gap: 32px;
    }

    .avf-support {
        padding: 24px;
    }

    .avf-filter-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .avf-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: thin;
    }
}

@media (max-width: 760px) {
    .avf-shell {
        width: min(100% - 32px, 620px);
    }

    .avf-hero {
        padding: 46px 0 66px;
    }

    .avf-hero__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .avf-hero__content {
        max-width: none;
    }

    .avf-hero h1 {
        margin: 17px 0 19px;
        font-size: 3.15rem !important;
        line-height: 1;
    }

    .avf-hero__intro {
        font-size: 1rem;
        line-height: 1.72;
    }

    .avf-facts {
        margin-top: 28px;
    }

    .avf-fact {
        padding-top: 16px;
    }

    .avf-fact strong {
        font-size: 0.93rem;
    }

    .avf-fact span {
        font-size: 0.68rem;
    }

    .avf-answer-visual {
        display: none;
    }

    .avf-tools {
        margin-top: -34px;
    }

    .avf-tools__inner {
        padding: 18px 17px 16px;
        border-radius: 20px;
    }

    .avf-search input {
        height: 54px;
        font-size: 16px;
    }

    .avf-filter-row {
        margin-top: 13px;
    }

    .avf-filters {
        margin-right: -17px;
        padding-right: 17px;
    }

    .avf-filters button,
    .avf-expand-button {
        min-height: 44px;
    }

    .avf-results-status {
        margin-top: 8px;
    }

    .avf-library {
        padding: 68px 0 84px;
    }

    .avf-library__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .avf-group + .avf-group {
        margin-top: 42px;
    }

    .avf-group__header {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .avf-group__icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }

    .avf-group__header h2 {
        font-size: 1.55rem !important;
    }

    .avf-group__header p {
        font-size: 0.78rem;
    }

    .avf-group__header span {
        top: -7px;
        font-size: 3rem;
    }

    .avf-question-list {
        border-radius: 18px;
    }

    .avf-page .avf-question-list summary {
        min-height: 72px;
        padding: 19px 62px 19px 20px;
    }

    .avf-page .avf-question-list summary h3 {
        font-size: 1rem !important;
        line-height: 1.48;
    }

    .avf-page .avf-question-list summary::after {
        right: 17px;
        width: 34px;
        height: 34px;
    }

    .avf-page .avf-question-list .avf-answer {
        padding: 0 20px 23px;
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .avf-support {
        position: static;
        padding: 26px;
        border-radius: 22px;
    }

    .avf-support h2 {
        font-size: 1.7rem !important;
    }

    .avf-course-cta {
        padding-bottom: 84px;
    }

    .avf-course-cta__card {
        padding: 34px 26px;
        grid-template-columns: 1fr;
        gap: 28px;
        border-radius: 25px;
    }

    .avf-course-cta h2 {
        font-size: 2.15rem !important;
    }

    .avf-course-cta__content > p:not(.avf-course-cta__eyebrow) {
        font-size: 0.9rem;
    }

    .avf-course-cta ul {
        align-items: flex-start;
        flex-direction: column;
    }

    .avf-course-cta__action {
        display: grid;
        padding: 20px;
        align-items: center;
        grid-template-columns: auto minmax(150px, 1fr);
        gap: 20px;
    }

    .avf-course-cta__action a {
        margin: 0;
    }
}

@media (max-width: 430px) {
    .avf-hero h1 {
        font-size: 2.55rem !important;
    }

    .avf-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .avf-fact {
        display: block;
        padding: 14px 9px 0 0;
    }

    .avf-fact + .avf-fact {
        padding-left: 9px;
        border-top: 0;
        border-left: 1px solid rgba(38, 61, 80, 0.13);
    }

    .avf-fact span {
        margin-top: 3px;
    }

    .avf-course-cta__action {
        grid-template-columns: 1fr;
    }

    .avf-course-cta__action a {
        margin-top: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .avf-page *,
    .avf-page *::before,
    .avf-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .avf-tools,
    .avf-support,
    .avf-course-cta {
        display: none !important;
    }

    .avf-page .avf-question-list > details {
        display: block !important;
    }

    .avf-page .avf-question-list > details > .avf-answer {
        display: block !important;
    }
}
