:root {
    --green-light: #84c555;
    --green: #109a50;
    --green-dark: #006b3f;
    --ink: #133b36;
    --body: #304c49;
    --line: #e0ece6;
    --pale: #f1faf3;
    --shadow: 0 8px 26px rgba(18, 78, 49, 0.075);
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
    color: var(--body);
    font-family: Inter, system-ui, sans-serif;
}
a {
    color: var(--green-dark);
}
a:hover {
    color: var(--green);
}
button,
input,
select {
    font: inherit;
}
.wide-container {
    width: min(100% - 76px, 1660px);
    margin-inline: auto;
}
.site-header {
    height: 88px;
    background: #fff;
    position: relative;
    z-index: 5;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}
.logo-link img {
    display: block;
    width: 215px;
    height: 70px;
    object-fit: contain;
    object-position: left;
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 46px;
}
.desktop-nav a {
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 650;
    color: var(--ink);
}
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.login-link,
.signup-link {
    padding: 12px 21px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
}
.login-link {
    border: 1px solid #d9e8e2;
    color: var(--ink);
}
.signup-link {
    background: var(--green);
    color: #fff;
}
.signup-link:hover {
    background: var(--green-dark);
    color: #fff;
}
.mobile-menu,
.mobile-nav {
    display: none;
}
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: 33px;
}

.hero-inner {
    position: relative;
    padding-top: 32px;
    padding-bottom: 2px;
}
.hero-top {
    height: 265px;
    display: flex;
    align-items: flex-start;
}
.hero-copy {
    width: 36%;
    max-width: 510px;
    position: relative;
    z-index: 2;
}
.eyebrow {
    color: var(--green-dark);
    font-weight: 800;
    font-size: 0.79rem;
    letter-spacing: 0.115em;
    text-transform: uppercase;
    margin: 7px 0 13px;
}
.hero-copy h1 {
    font-family: Georgia, serif;
    color: #07513b;
    font-size: clamp(3.2rem, 4.5vw, 5.5rem);
    line-height: 0.99;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
    font-weight: 700;
}
.hero-copy > p:last-child {
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 390px;
    color: #173e37;
}

.hero-search {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    width: min(990px, 83%);
    min-height: 68px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #cce7d4;
    box-shadow: 0 8px 22px rgba(5, 96, 49, 0.15);
    display: flex;
    align-items: center;
    padding: 7px 8px 7px 25px;
}
.search-mark {
    color: var(--green-dark);
    display: flex;
}
.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 20px;
    border: 0;
    outline: 0;
    font-size: 1.07rem;
    color: var(--ink);
}
.hero-search button {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 40px;
    padding: 14px 29px;
    background: linear-gradient(125deg, #0aa455, #007c44);
    color: white;
    font-weight: 700;
    cursor: pointer;
}
.popular-searches {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 13px auto 0;
    font-size: 0.8rem;
}
.popular-searches strong {
    margin-right: 5px;
    color: var(--ink);
}
.popular-searches a {
    background: #fff;
    border: 1px solid #d3e8d9;
    border-radius: 30px;
    padding: 5px 12px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: 0 2px 5px #0a503310;
}
.main-content {
    padding: 17px 0 70px;
}
.explore-panel {
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 0 30px 16px;
}
.explore-tabs {
    display: flex;
    gap: 36px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 13px;
}
.explore-tabs a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 650;
    padding: 18px 13px 16px;
    border-bottom: 3px solid transparent;
    font-size: 0.96rem;
}
.explore-tabs a.active {
    border-color: var(--green);
    color: var(--green-dark);
}
.filter-grid {
    display: grid;
    grid-template-columns: minmax(240px, 2.15fr) minmax(170px, 1fr) minmax(250px, 1.45fr) minmax(170px, 0.88fr);
    gap: 0;
    align-items: center;
}
.filter-grid > div {
    min-width: 0;
    padding: 6px 24px 8px;
}
.filter-grid > div:first-child {
    padding-left: 0;
}
.filter-grid > div + div {
    border-left: 1px solid #dce8e2;
}
.filter-grid > div:last-child {
    padding-right: 0;
}
.filter-title {
    display: block;
    font-size: 0.87rem;
    font-weight: 750;
    color: var(--ink);
    margin-bottom: 14px;
}
.slider-wrap {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    padding-right: 20px;
}
.slider-wrap input {
    width: 100%;
    height: 9px;
    appearance: none;
    border-radius: 30px;
    outline: 0;
    background: linear-gradient(
        to right,
        var(--green) 0,
        var(--green) var(--progress, 12%),
        #e7eeeb var(--progress, 12%),
        #e7eeeb 100%
    );
    cursor: pointer;
}
.slider-wrap input::-webkit-slider-thumb {
    appearance: none;
    height: 17px;
    width: 17px;
    background: var(--green);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #84c555;
    cursor: pointer;
}
.slider-wrap input::-moz-range-thumb {
    height: 14px;
    width: 14px;
    background: var(--green);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
}
.slider-wrap output {
    position: absolute;
    left: var(--progress, 12%);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border: 1px solid #d0e9cc;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 13px #146b3320;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
    color: var(--green-dark);
    z-index: 2;
}
.slider-wrap output strong {
    font-size: 1.38rem;
    line-height: 1.1;
}
.slider-wrap output span {
    font-size: 0.7rem;
    font-weight: 650;
}
.slider-ends {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #607973;
    margin-top: 3px;
    padding-right: 18px;
}
.pill-options {
    display: flex;
    background: #f3f7f5;
    border: 1px solid #e4eeea;
    border-radius: 50px;
    overflow: hidden;
    min-height: 44px;
}
.pill-options label {
    flex: 1;
    position: relative;
    min-width: 0;
    cursor: pointer;
}
.pill-options input {
    position: absolute;
    opacity: 0;
}
.pill-options span {
    height: 100%;
    min-height: 42px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 0.83rem;
    border-radius: 50px;
    color: var(--ink);
}
.pill-options input:checked + span {
    background: linear-gradient(110deg, #0fa454, #008347);
    color: #fff;
    font-weight: 700;
}
.pill-options input:focus-visible + span {
    outline: 3px solid var(--green-light);
    outline-offset: -3px;
}
.location-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2eee8;
    border-radius: 50px;
    background: #f5f9f7;
    padding: 0 13px;
    min-height: 44px;
    color: var(--green-dark);
}
.location-field select {
    appearance: auto;
    background: transparent;
    border: 0;
    min-width: 0;
    width: 100%;
    font-size: 0.87rem;
    color: var(--ink);
    opacity: 1;
    cursor: not-allowed;
}
.filter-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.filter-bottom span {
    font-size: 0.71rem;
    color: #728782;
}
.filter-bottom button {
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.notice-preview,
.notice-error {
    margin: 18px 0;
    padding: 14px 20px;
    border-radius: 13px;
    background: #f3f8f4;
    border: 1px solid #cce4d4;
    font-size: 0.88rem;
}
.notice-error {
    background: #fff2f2;
    border-color: #ecc;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 25px 0 14px;
}
.section-heading h2 {
    font-size: 1.47rem;
    color: var(--ink);
    font-weight: 800;
    margin: 0;
}
.section-heading a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
}
.result-count {
    font-size: 0.79rem;
    color: #70847e;
}
.result-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 23px 27px 18px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    background: #fff;
}
.result-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}
.result-heading h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #193b35;
    font-weight: 750;
    margin: 0;
}
.result-heading-icon {
    color: var(--green);
    display: flex;
}
.result-heading-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}
.result-heading-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    white-space: nowrap;
}
.info-icon {
    color: var(--green-dark);
    display: flex;
}
.draft-pill {
    font-size: 0.7rem;
    color: #83600b;
    background: #fff5d7;
    border-radius: 20px;
    padding: 4px 8px;
}
.result-body {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(270px, 0.95fr);
    gap: 26px;
    align-items: stretch;
}
.chart-column {
    padding: 4px 4px 0;
}
.chart-row {
    display: grid;
    grid-template-columns: minmax(115px, 23%) 1fr;
    gap: 12px;
    align-items: center;
    min-height: 40px;
}
.chart-name {
    font-size: 0.85rem;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chart-data {
    padding: 0 5px;
}
.chart-track {
    height: 15px;
    border-radius: 5px;
    background: #edf1ef;
    position: relative;
    overflow: visible;
}
.chart-possible {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: #a5d987;
}
.chart-typical {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #006b3f, #139a52);
}
.chart-centre {
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #fff;
    box-shadow: 0 0 0 1px #0b8044;
}
.chart-ages {
    position: relative;
    height: 14px;
    color: #55716b;
    font-size: 0.65rem;
}
.chart-ages span {
    position: absolute;
    transform: translateX(-50%);
    top: 2px;
}
.chart-more,
.chart-unavailable {
    font-size: 0.8rem;
    color: #71837d;
}
.result-about {
    background: linear-gradient(120deg, #f1f9f3, #f9fdf9);
    border-radius: 19px;
    padding: 23px 24px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    overflow: hidden;
}
.result-about > div:first-child {
    position: relative;
    z-index: 1;
}
.result-about h4 {
    font-size: 1.14rem;
    color: var(--ink);
    font-weight: 750;
    margin: 0 0 10px;
}
.result-about p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #24453e;
    max-width: 450px;
    margin: 0 0 14px;
}
.result-about a {
    border: 1px solid #62bc87;
    background: #fff;
    border-radius: 40px;
    padding: 10px 17px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    font-weight: 650;
    white-space: nowrap;
}
.about-ornament {
    position: absolute;
    right: -9px;
    bottom: -16px;
    color: #85c9a0;
    opacity: 0.55;
    transform: rotate(-8deg);
}
.topics-section {
    position: relative;
}
.topics-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 11px;
}
.topic-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 12px 14px;
    background: linear-gradient(120deg, #fff, #f3faf5);
    border: 1px solid #e0ece6;
    border-radius: 13px;
    text-decoration: none;
    color: var(--ink);
    transition:
        transform 0.15s,
        border-color 0.15s;
}
.topic-card:hover {
    transform: translateY(-2px);
    border-color: var(--green-light);
}
.topic-symbol {
    display: flex;
    flex-shrink: 0;
    color: var(--green);
}
.topic-title {
    font-size: 0.83rem;
    line-height: 1.35;
    font-weight: 700;
}
.topic-arrow {
    margin-left: auto;
    display: flex;
    color: var(--green-dark);
}
.empty-results {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    color: var(--body);
}
.empty-results > div {
    color: var(--green);
}
.empty-results h3 {
    font-size: 1.2rem;
    color: var(--ink);
    margin: 12px 0;
}
.empty-results p {
    max-width: 680px;
}
.empty-results a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}
.site-footer {
    border-top: 1px solid var(--line);
    background: #f9fcfa;
    padding: 36px 0;
    color: #6b817a;
    font-size: 0.85rem;
}
.site-footer img {
    width: 160px;
    margin-bottom: 14px;
}
.site-footer p {
    max-width: 750px;
    margin: 5px 0;
}
.brand {
    font-weight: 800;
    color: var(--green-dark);
    text-decoration: none;
    font-size: 1.6rem;
}
.muted {
    color: #728782;
}
@media (max-width: 1250px) {
    .wide-container {
        width: min(100% - 48px, 1660px);
    }
    .filter-grid {
        grid-template-columns: 1.5fr 1fr;
        row-gap: 18px;
    }
    .filter-grid > div:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
    .filter-grid > div:nth-child(2) {
        padding-right: 0;
    }
    .filter-grid > div:nth-child(4) {
        padding-right: 0;
    }
    .topics-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-copy {
        width: 40%;
    }
}
@media (max-width: 800px) {
    .site-header {
        height: 70px;
    }
    .logo-link img {
        width: 160px;
        height: 60px;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu {
        display: flex;
        border: 0;
        background: none;
        color: var(--green-dark);
        padding: 8px;
    }
    .mobile-nav.is-open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 20px #173b3622;
        flex-direction: column;
        padding: 15px 25px;
        gap: 14px;
    }
    .mobile-nav a {
        text-decoration: none;
        font-weight: 650;
    }
    .wide-container {
        width: min(100% - 30px, 1660px);
    }
    .hero {
        clip-path: none;
        border-radius: 0 0 30px 30px;
    }
    .hero-inner {
        padding-top: 22px;
    }
    .hero-top {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .hero-copy {
        width: 100%;
        max-width: none;
    }
    .hero-copy h1 {
        font-size: clamp(2.8rem, 8vw, 4rem);
    }
    .hero-copy > p:last-child {
        max-width: 480px;
        font-size: 0.92rem;
    }

    .hero-search {
        width: 100%;
        min-height: 55px;
        padding: 5px 5px 5px 15px;
    }
    .hero-search input {
        font-size: 0.89rem;
        padding: 8px 10px;
    }
    .hero-search button {
        padding: 11px 15px;
    }
    .popular-searches {
        justify-content: flex-start;
        font-size: 0.73rem;
    }
    .main-content {
        padding-top: 14px;
    }
    .explore-panel {
        padding: 0 17px 15px;
        border-radius: 18px;
    }
    .explore-tabs {
        gap: 7px;
    }
    .explore-tabs a {
        font-size: 0.85rem;
        padding: 15px 7px;
    }
    .filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .filter-grid > div {
        padding: 5px 0 !important;
        border: 0 !important;
    }
    .filter-age {
        grid-column: 1/-1;
    }
    .filter-sex {
        grid-column: 1/-1;
    }
    .filter-bottom {
        align-items: flex-end;
    }
    .filter-bottom span {
        max-width: 65%;
    }
    .result-body {
        grid-template-columns: 1fr;
    }
    .result-card {
        padding: 17px;
    }
    .result-about {
        padding: 18px;
    }
    .topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .topic-card {
        min-height: 74px;
    }
}
@media (max-width: 460px) {
    .header-actions {
        gap: 4px;
    }
    .login-link,
    .signup-link {
        font-size: 0.78rem;
        padding: 8px 10px;
    }

    .hero-copy h1 {
        font-size: 2.7rem;
    }
    .hero-search button {
        font-size: 0.78rem;
        padding: 10px;
    }
    .hero-search button svg {
        display: none;
    }
    .hero-search input {
        font-size: 0.78rem;
    }
    .filter-grid {
        grid-template-columns: 1fr;
    }
    .filter-age,
    .filter-sex {
        grid-column: auto;
    }
    .filter-bottom span {
        display: none;
    }
    .filter-bottom button {
        margin-left: auto;
    }
    .result-heading {
        align-items: flex-start;
    }
    .result-heading h3 {
        font-size: 0.93rem;
    }
    .result-heading-actions {
        gap: 6px;
    }
    .result-heading-actions .info-icon {
        display: none;
    }
    .chart-row {
        grid-template-columns: minmax(92px, 31%) 1fr;
        gap: 5px;
    }
    .chart-name {
        font-size: 0.72rem;
    }
    .chart-ages {
        font-size: 0.58rem;
    }
    .topic-title {
        font-size: 0.75rem;
    }
    .topic-symbol svg {
        width: 25px;
        height: 25px;
    }
    .topic-card {
        padding: 10px;
        gap: 6px;
    }
    .section-heading h2 {
        font-size: 1.18rem;
    }
}

/* Release 05: one continuous text-free artwork behind real HTML controls. */
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    background: transparent;
    height: 88px;
}
.site-header .header-inner {
    position: relative;
}
.hero {
    background-color: #fff;
    background-image: url("/assets/images/vitaze-hero-background.webp");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;

    clip-path: none;
    overflow: visible;
    padding: 88px 0 34px;
    min-height: 535px;
}
.hero-inner {
    padding-top: 26px;
}
.hero-top {
    height: 245px;
}
.hero-copy {
    width: 36%;
    max-width: 475px;
}
.hero-copy h1 {
    font-size: clamp(3rem, 4.3vw, 4.7rem);
    line-height: 1.02;
    margin-bottom: 12px;
}
.hero-copy > p:last-child {
    max-width: 390px;
    margin-top: 0;
    font-size: 1rem;
}
.hero-search {
    width: min(890px, 74%);
    margin: 0 auto;
    min-height: 60px;
}
.popular-searches {
    margin-top: 10px;
}
.hero-wash,
.hero-leaf,

.main-content {
    padding-top: 5px;
}
@media (max-width: 1100px) {
    .hero {
        background-size: auto 100%;
        background-position: 53% top;
    }
    .hero-copy {
        width: 42%;
    }
    .hero-top {
        height: 260px;
    }
    .hero-search {
        width: min(850px, 86%);
    }
}
@media (max-width: 800px) {
    .site-header {
        height: 70px;
    }
    .hero {
        padding-top: 70px;
        min-height: 0;
        background-size: auto 430px;
        background-position: 61% top;
    }
    .hero-inner {
        padding-top: 14px;
    }
    .hero-top {
        height: 315px;
    }
    .hero-copy {
        width: 60%;
        max-width: 330px;
    }
    .hero-copy h1 {
        font-size: clamp(2.5rem, 7vw, 3.4rem);
    }
    .hero-copy > p:last-child {
        font-size: 0.88rem;
    }
    .hero-search {
        width: 100%;
        margin-top: 0;
    }
    .popular-searches {
        padding-bottom: 12px;
    }
    .mobile-nav.is-open {
        background: #fff;
    }
}
@media (max-width: 520px) {
    .hero {
        background-size: auto 315px;
        background-position: 61% 70px;
        background-color: #f9fdf9;
    }
    .hero-top {
        height: 315px;
    }
    .hero-copy {
        width: 100%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.82);
        border-radius: 12px;
        padding: 5px 8px;
    }
    .hero-copy h1 {
        font-size: 2.45rem;
    }
    .hero-copy > p:last-child {
        font-size: 0.8rem;
    }
    .hero-search {
        min-height: 52px;
    }
    .popular-searches {
        justify-content: center;
    }
    .hero {
        padding-bottom: 15px;
    }
}

/* Approved desktop hero composition: fixed artwork height without stretching */
@media (min-width: 992px) {

    .hero-top {
        height: 400px;
    }

}
/* Responsive hero refinements: keep the artwork unchanged. */
.hero-copy {
    border-radius: 18px;
    background: linear-gradient(90deg,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.78) 67%,
        rgba(255,255,255,0) 100%);
}

/* At medium widths, keep the search below the heading without a large void. */
@media (min-width: 801px) and (max-width: 1100px) {
    .hero-top { height: clamp(260px, 30vw, 330px); }
}

@media (max-width: 800px) {
    .hero-top { height: 245px; }
    .hero-copy {
        background: linear-gradient(90deg,
            rgba(255,255,255,.96),
            rgba(255,255,255,.82) 75%,
            rgba(255,255,255,.12));
        padding: 6px 12px 8px;
    }
}

@media (max-width: 520px) {
    .hero-top { height: 225px; }
    .hero-copy { max-width: 300px; }
}

/* Vitaze hero: breathing room around introductory text */
@media (min-width: 992px) {
    .hero-copy {
        padding: 16px 22px;
    }
}
