.happio-term-index-page {
    min-height: 70vh;
    background: #fff;
}

.happio-term-index-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 74px;
    background:
        radial-gradient(circle at 88% 18%, rgba(215, 245, 139, .55), transparent 25%),
        radial-gradient(circle at 72% 85%, rgba(255, 98, 66, .18), transparent 28%),
        linear-gradient(135deg, #f7f4ed 0%, #f4f8f4 100%);
}

.happio-term-index-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: end;
    gap: clamp(36px, 8vw, 110px);
    padding-top: 38px;
}

.happio-term-index-hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    font-size: clamp(45px, 7vw, 82px);
    line-height: .98;
    letter-spacing: -.05em;
}

.happio-term-index-hero-grid > div > p {
    max-width: 690px;
    margin: 0;
    color: #526159;
    font-size: 18px;
}

.happio-term-picker {
    display: grid;
    gap: 9px;
    padding: 22px;
    border: 1px solid rgba(20, 34, 25, .09);
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 20px 50px rgba(20, 34, 25, .09);
}

.happio-term-picker span {
    color: #26362c;
    font-size: 14px;
    font-weight: 700;
}

.happio-term-picker select {
    width: 100%;
    min-height: 50px;
    padding: 0 42px 0 14px;
    border: 1px solid #d6ded8;
    border-radius: 13px;
    color: #142219;
    background: #fff;
}

.happio-term-index-content {
    padding: 64px 0 92px;
}

.happio-term-index-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.happio-term-index-heading > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.happio-term-index-heading span {
    font-size: 34px;
    font-weight: 750;
}

.happio-term-index-heading p {
    margin: 0;
    color: #6b776f;
}

.happio-term-index-heading a {
    color: #dc4528;
    font-weight: 700;
}

.happio-term-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.happio-term-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #dde4df;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(20, 34, 25, .045);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.happio-term-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 98, 66, .48);
    box-shadow: 0 18px 42px rgba(20, 34, 25, .1);
}

.happio-term-card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #1d734a;
    background: #edf8f0;
}

.happio-term-card.is-2 .happio-term-card-icon { color: #9b3c27; background: #fff0ec; }
.happio-term-card.is-3 .happio-term-card-icon { color: #6c5918; background: #fbf4d8; }
.happio-term-card.is-4 .happio-term-card-icon { color: #41651b; background: #eff8db; }

.happio-term-card-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.happio-term-card h2 {
    margin: 0 0 3px;
    font-size: 19px;
    line-height: 1.25;
}

.happio-term-card p {
    margin: 0;
    color: #6b776f;
    font-size: 14px;
}

.happio-term-card > b {
    color: #ff6242;
    font-size: 21px;
    transition: transform .2s ease;
}

.happio-term-card:hover > b {
    transform: translateX(3px);
}

@media (max-width: 960px) {
    .happio-term-index-hero-grid { grid-template-columns: 1fr; }
    .happio-term-picker { max-width: 620px; }
    .happio-term-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .happio-term-index-hero { padding-bottom: 54px; }
    .happio-term-index-hero-grid { padding-top: 22px; }
    .happio-term-index-hero h1 { font-size: 47px; }
    .happio-term-index-content { padding: 48px 0 70px; }
    .happio-term-index-heading { display: block; }
    .happio-term-index-heading a { display: inline-block; margin-top: 12px; }
    .happio-term-card-grid { grid-template-columns: 1fr; }
}
