html,
body,
.app-wrap,
.ac-page {
    --ac-bg: #FAF6F1;
    --ac-surface: #ffffff;
    --ac-ink: #2D2D2D;
    --ac-ink-2: #5A5A5A;
    --ac-ink-3: #948c81;
    --ac-primary: #FF9966;
    --ac-primary-d: #E8804D;
    --ac-line: #ECE3D8;
    --ac-radius: 22px;
    --ac-radius-s: 14px;
    --ac-wrap: 1200px;
    --ac-shadow: 0 4px 18px rgba(72, 52, 38, .06);
    --ac-shadow-lg: 0 18px 50px rgba(72, 52, 38, .14);
}

html,
body,
.app-wrap {
    background: var(--ac-bg) !important;
}

.header {
    position: relative !important;
}

.ac-page {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--ac-ink);
    background: var(--ac-bg);
    overflow-x: clip;
}

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

.ac-wrap {
    width: 100%;
    max-width: var(--ac-wrap);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.ac-hero {
    position: relative;
    padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
    background:
        radial-gradient(120% 90% at 100% 0%, #FFF1E8 0%, rgba(255, 241, 232, 0) 55%),
        radial-gradient(110% 80% at 0% 0%, #EEF8F4 0%, rgba(238, 248, 244, 0) 50%),
        var(--ac-bg);
    overflow: clip;
}

.ac-hero__glow {
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 480px;
    background:
        radial-gradient(closest-side, rgba(255, 153, 102, .30), transparent 70%) 10% 28%/360px 360px no-repeat,
        radial-gradient(closest-side, rgba(47, 163, 155, .20), transparent 70%) 78% 8%/420px 420px no-repeat,
        radial-gradient(closest-side, rgba(224, 115, 155, .18), transparent 70%) 52% 60%/380px 380px no-repeat;
    filter: blur(18px);
    opacity: .9;
    pointer-events: none;
    z-index: 0;
}

.ac-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ac-hero__badge,
.ac-chip,
.ac-qchip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ac-line);
    background: rgba(255, 255, 255, .82);
    color: var(--ac-ink-2);
    box-shadow: var(--ac-shadow);
    backdrop-filter: blur(8px);
}

.ac-hero__badge {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.ac-hero__title {
    margin: 18px auto 0;
    max-width: 15ch;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(120deg, #2D2D2D 30%, #2E766F 72%, #FF9966 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ac-hero__lead {
    margin: 18px auto 0;
    max-width: 62ch;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ac-ink-2);
}

.ac-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 26px auto 0;
    padding: 6px 6px 6px 20px;
    background: var(--ac-surface);
    border: 1.5px solid var(--ac-line);
    border-radius: 999px;
    box-shadow: var(--ac-shadow-lg);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ac-search:focus-within {
    border-color: var(--ac-primary);
    box-shadow: 0 18px 50px rgba(232, 128, 77, .22);
}

.ac-search__icon {
    flex: 0 0 auto;
    color: var(--ac-ink-3);
}

.ac-search__input {
    min-width: 0;
    width: 100%;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ac-ink);
    font: inherit;
    font-size: 16px;
}

.ac-search__input::placeholder {
    color: #A79D91;
}

.ac-search__clear {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #F3ECE4;
    color: var(--ac-ink-2);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.ac-hero__quick {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px auto 0;
    color: var(--ac-ink-3);
    font-size: 14px;
}

.ac-hero__quick-label {
    font-weight: 600;
}

.ac-qchip {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s, border-color .2s, color .2s;
}

.ac-qchip:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 153, 102, .6);
    color: var(--ac-ink);
}

.ac-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 26px auto 0;
}

.ac-stat {
    padding: 14px 12px;
    border: 1px solid var(--ac-line);
    border-radius: var(--ac-radius-s);
    background: rgba(255, 255, 255, .74);
    box-shadow: var(--ac-shadow);
}

.ac-stat__num {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: var(--ac-ink);
}

.ac-stat__lbl {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--ac-ink-3);
}

.ac-filters {
    position: sticky;
    top: 0;
    z-index: 9;
    background: rgba(250, 246, 241, .86);
    border-block: 1px solid rgba(236, 227, 216, .82);
    backdrop-filter: blur(14px);
}

.ac-filters__inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 12px;
    scrollbar-width: none;
}

.ac-filters__inner::-webkit-scrollbar {
    display: none;
}

.ac-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, border-color .2s, background .2s, color .2s;
}

.ac-chip:hover,
.ac-chip.is-active {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--c, var(--ac-primary)) 55%, white);
    background: color-mix(in srgb, var(--c, var(--ac-primary)) 14%, white);
    color: var(--ac-ink);
}

.ac-chip--star {
    --c: #FF9966;
}

.ac-chip__n {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    padding-inline: 7px;
    border-radius: 999px;
    background: rgba(45, 45, 45, .08);
    font-size: 12px;
}

.ac-section {
    padding-block: clamp(28px, 5vw, 54px);
}

.ac-section[hidden],
.ac-card[hidden] {
    display: none !important;
}

.ac-h2 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.ac-h2__hint {
    color: var(--ac-ink-3);
    font-size: 14px;
    font-weight: 700;
}

.ac-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ac-grid--pop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ac-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ac-line);
    border-radius: var(--ac-radius);
    background: var(--ac-surface);
    box-shadow: var(--ac-shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ac-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--c) 35%, var(--ac-line));
    box-shadow: var(--ac-shadow-lg);
}

.ac-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(120% 100% at 20% 0%, color-mix(in srgb, var(--c) 28%, white), transparent 55%),
        #F3ECE4;
}

.ac-card__media--ph {
    display: grid;
    place-items: center;
}

.ac-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .45s ease;
}

.ac-card:hover .ac-card__img {
    transform: scale(1.05);
}

.ac-card__ph-emoji {
    font-size: 54px;
}

.ac-card__cat {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: var(--ac-ink);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
}

.ac-card__body {
    display: flex;
    flex-direction: column;
    min-height: 224px;
    padding: 18px;
}

.ac-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: 0;
}

.ac-card__link {
    color: inherit;
    text-decoration: none;
}

.ac-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.ac-card__excerpt {
    margin: 10px 0 0;
    color: var(--ac-ink-2);
    font-size: 14px;
    line-height: 1.55;
}

.ac-card__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 18px;
    color: var(--ac-ink-3);
    font-size: 13px;
    font-weight: 700;
}

.ac-card__go {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--c);
}

.ac-empty {
    margin: 36px auto;
    max-width: 520px;
    padding: 24px;
    border: 1px dashed var(--ac-line);
    border-radius: var(--ac-radius);
    background: rgba(255, 255, 255, .72);
    text-align: center;
    color: var(--ac-ink-2);
}

.ac-empty strong,
.ac-empty span {
    display: block;
}

.ac-empty strong {
    margin-bottom: 6px;
    color: var(--ac-ink);
    font-size: 20px;
}

.ac-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 clamp(42px, 7vw, 76px);
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--ac-line);
    border-radius: var(--ac-radius);
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(255, 153, 102, .18), transparent 60%),
        radial-gradient(90% 120% at 100% 100%, rgba(47, 163, 155, .16), transparent 60%),
        #fff;
    box-shadow: var(--ac-shadow);
}

.ac-cta h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
}

.ac-cta p {
    margin: 8px 0 0;
    max-width: 58ch;
    color: var(--ac-ink-2);
    line-height: 1.5;
}

.ac-cta__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--ac-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(232, 128, 77, .24);
    transition: transform .2s, background .2s;
}

.ac-cta__button:hover {
    transform: translateY(-1px);
    background: var(--ac-primary-d);
    color: #fff;
}

.ac-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.ac-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .45s ease, transform .45s ease;
}

@media (max-width: 1020px) {
    .ac-grid,
    .ac-grid--pop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ac-hero__title {
        font-size: 42px;
    }

    .ac-hero__lead {
        font-size: 16px;
    }

    .ac-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ac-grid,
    .ac-grid--pop {
        grid-template-columns: 1fr;
    }

    .ac-card__body {
        min-height: 0;
    }

    .ac-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .ac-h2 {
        font-size: 26px;
    }

    .ac-cta h2 {
        font-size: 24px;
    }

    .ac-cta__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ac-hero__title {
        font-size: 34px;
    }

    .ac-stat__num {
        font-size: 26px;
    }

    .ac-search {
        border-radius: 22px;
        padding-left: 14px;
    }

    .ac-search__input {
        height: 44px;
        font-size: 15px;
    }

    .ac-card__foot {
        gap: 8px;
    }

    .ac-card__go {
        width: 100%;
        margin-left: 0;
    }
}
