:root {
    --aigae-green-950: #073b24;
    --aigae-green-900: #07552f;
    --aigae-green-800: #08713c;
    --aigae-green-700: #13854b;
    --aigae-green-100: #eaf3e8;
    --aigae-green-050: #f4f8f1;
    --aigae-orange: #ff6a00;
    --aigae-text: #1c2621;
    --aigae-muted: #66716b;
    --aigae-border: #dbe2dd;
    --aigae-surface: #ffffff;
    --aigae-shadow: 0 18px 50px rgba(24, 54, 39, 0.08);
    --aigae-radius-lg: 22px;
    --aigae-radius-md: 14px;
    --aigae-radius-sm: 10px;
}

.aigae-rg-main{
    
}

.aigae-rg-features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--aigae-border);
    border-radius: var(--aigae-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--aigae-shadow);
}

.aigae-rg-feature {
    display: flex;
    gap: 14px;
    min-height: 108px;
    padding: 22px 18px;
    align-items: center;
}

.aigae-rg-feature + .aigae-rg-feature {
    border-left: 1px solid var(--aigae-border);
}


.aigae-rg-feature strong,
.aigae-rg-feature span {
    display: block;
}

.aigae-rg-feature strong {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.25;
}

.aigae-rg-feature div > span {
    color: var(--aigae-muted);
    font-size: 12px;
    line-height: 1.4;
}

.aigae-rg-form {
    padding: 34px;
    border: 1px solid var(--aigae-border);
    border-radius: var(--aigae-radius-lg);
    background: var(--aigae-surface);
    box-shadow: 0 10px 35px rgba(36, 62, 48, 0.04);
}

.aigae-rg-form legend{
    border: none;
    margin: 0px;
}

.aigae-rg-primary-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 0.85fr;
    gap: 20px;
}

.aigae-rg-field label {
    display: block;
    margin-bottom: 8px;
    color: #29332e;
    font-size: 14px;
    font-weight: 700;
}

.aigae-rg-field input[type=text]{
        min-height: 50px;
}

.aigae-rg-field input,
.aigae-rg-field select {
    width: 100%;
    min-height: 50px;
    padding: 0 12px;
    border: 1px solid #cfd8d2;
    border-radius: 8px;
    outline: none;
    color: var(--aigae-text);
    background-color: #fff;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.aigae-rg-field input::placeholder {
    color: #9ba49f;
}

.aigae-rg-field input:focus,
.aigae-rg-field select:focus {
    border-color: var(--aigae-green-700);
    box-shadow: 0 0 0 4px rgba(19, 133, 75, 0.12);
}

.aigae-rg-coop {
    margin-top: 24px;
}

.aigae-rg-coop strong {
    color: #12659c;
}

.aigae-rg-section {
    min-width: 0;
    margin: 28px 0 0;
    padding: 26px 0 0;
    border: 0px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5eae6;
}

.aigae-rg-section:last-of-type{
    border-bottom: none;
}

.aigae-rg-section legend {
    width: 100%;
    padding: 0;
    color: #2a302d;
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 750;
    line-height: 1.2;
}

.aigae-rg-checkbox-grid {
    display: grid;
    gap: 12px 34px;
}

.aigae-rg-checkbox-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aigae-rg-checkbox-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aigae-rg-checkbox-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aigae-rg-check {
    position: relative;
    display: inline-flex;
    gap: 11px;
    align-items: flex-start;
    color: #4e5b54;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.42;
}

.aigae-rg-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.aigae-rg-check-box {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    place-items: center;
    border: 1px solid #b8c8bd;
    border-radius: 4px;
    background: #fff;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.aigae-rg-check input:checked + .aigae-rg-check-box {
    border-color: var(--aigae-green-800);
    background: var(--aigae-green-800);
}

.aigae-rg-check input:checked + .aigae-rg-check-box::after {
    content: "";
    width: 8px;
    height: 4px;
    border: solid #fff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) translateY(-1px);
}

.aigae-rg-check input:focus-visible + .aigae-rg-check-box {
    box-shadow: 0 0 0 4px rgba(19, 133, 75, 0.15);
}

.aigae-rg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.aigae-rg-submit,
.aigae-rg-reset{
    display: inline-flex;
    min-height: 52px;
    gap: 10px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.aigae-rg-submit {
    border: 0;
    color: #fff;
    background: var(--aigae-orange);
    box-shadow: none;
}

.aigae-rg-submit:hover,
.aigae-rg-submit:focus,
.aigae-rg-submit:active {
    box-shadow: none;
}

.aigae-rg-submit:focus-visible,
.aigae-rg-pagination a:focus-visible {
    outline: 3px solid var(--aigae-green-900);
    outline-offset: 3px;
}

.aigae-rg-results-range {
    margin: 8px 0 0;
    color: var(--aigae-muted);
}

.aigae-rg-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.aigae-rg-pagination .aigae-rg-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--aigae-border);
    border-radius: 8px;
    color: var(--aigae-green-900);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.aigae-rg-pagination a:hover {
    color: var(--aigae-green-950);
    background: var(--aigae-green-100);
}

.aigae-rg-pagination .is-current {
    color: #fff;
    background: var(--aigae-green-900);
    border-color: var(--aigae-green-900);
}

.aigae-rg-page-gap {
    color: var(--aigae-muted);
}

.aigae-rg-submit:hover {
    transform: translateY(-1px);
    background: #ea6100;
}

.aigae-rg-reset {
    border: 1px solid #8cad98;
    color: var(--aigae-green-900);
    background: #fff;
}

.aigae-rg-reset:hover {
    background: var(--aigae-green-050);
}

.aigae-rg-results {
    margin-top: 44px;
}

.aigae-rg-results-head {
    margin-bottom: 22px;
}

.aigae-rg-eyebrow {
    margin: 0 0 6px;
    color: var(--aigae-green-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aigae-rg-results h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
}

.aigae-rg-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.aigae-rg-guide-card {
    overflow: hidden;
    border: 1px solid var(--aigae-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(36, 62, 48, 0.06);
}

.aigae-rg-guide-photo {
    display: block;
    aspect-ratio: 16 / 10;
    background-position: center;
    background-size: cover;
}

.aigae-rg-guide-photo--placeholder {
    display: grid;
    place-items: center;
    color: var(--aigae-green-800);
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.9), transparent 36%),
        var(--aigae-green-100);
    font-size: 34px;
    font-weight: 800;
}

.aigae-rg-guide-content {
    padding: 22px;
}

.aigae-rg-guide-content h3 {
    margin: 0 0 9px;
    font-size: 23px;
}

.aigae-rg-guide-content h3 a {
    color: var(--aigae-text);
    text-decoration: none;
}

.aigae-rg-guide-meta,
.aigae-rg-guide-number {
    margin: 5px 0;
    color: var(--aigae-muted);
}

.aigae-rg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 17px 0;
}

.aigae-rg-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--aigae-green-900);
    background: var(--aigae-green-100);
    font-size: 12px;
    font-weight: 700;
}

.aigae-rg-card-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--aigae-green-800);
    font-weight: 750;
    text-decoration: none;
}

.aigae-rg-empty {
    padding: 34px;
    border-radius: var(--aigae-radius-md);
    background: var(--aigae-green-050);
}

.aigae-rg-empty h3 {
    margin-top: 0;
}

.aigae-rg-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    margin-top: 32px;
    padding: 26px 30px;
    align-items: center;
    border-radius: var(--aigae-radius-md);
    background:
        linear-gradient(90deg, rgba(234, 243, 232, 0.96), rgba(244, 248, 241, 0.96));
}

.aigae-rg-cta-copy h2 {
    margin: 0 0 5px;
    color: var(--aigae-green-900);
    font-size: 22px;
}

.aigae-rg-cta-copy p {
    margin: 0;
    color: var(--aigae-muted);
}

@media (max-width: 1180px) {
    .aigae-rg-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aigae-rg-feature:nth-child(4) {
        border-left: 0;
        border-top: 1px solid var(--aigae-border);
    }

    .aigae-rg-feature:nth-child(5),
    .aigae-rg-feature:nth-child(6) {
        border-top: 1px solid var(--aigae-border);
    }

    .aigae-rg-primary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aigae-rg-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .aigae-rg-container {
        width: 100%;
    }

    .aigae-rg-hero {
        min-height: 510px;
    }

    .aigae-rg-hero h1 {
        font-size: clamp(40px, 11vw, 58px);
    }

    .aigae-rg-main {
        margin-top: -58px;
    }

    .aigae-rg-features {
        grid-template-columns: 1fr;
    }

    .aigae-rg-feature {
        min-height: auto;
        padding: 17px 18px;
    }

    .aigae-rg-feature + .aigae-rg-feature {
        border-top: 1px solid var(--aigae-border);
        border-left: 0;
    }

    .aigae-rg-form {
        padding: 23px 18px;
    }

    .aigae-rg-primary-grid,
    .aigae-rg-checkbox-grid--two,
    .aigae-rg-checkbox-grid--three,
    .aigae-rg-checkbox-grid--four,
    .aigae-rg-results-grid {
        grid-template-columns: 1fr;
    }

    .aigae-rg-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .aigae-rg-submit,
    .aigae-rg-reset {
        width: 100%;
    }

    .aigae-rg-cta {
        grid-template-columns: auto 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aigae-rg-page *,
    .aigae-rg-page *::before,
    .aigae-rg-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
