:root {
    --brand: #63a51f;
    --brand-dark: #53931b;
    --brand-soft: #8fbe43;
    --text: #343434;
    --muted: #7f7f7f;
    --line: #b6d889;
    --paper: #ffffff;
    --page-bg: #f4f4f2;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #fff;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

a {
    -webkit-tap-highlight-color: transparent;
}

.page-shell {
    min-height: 100vh;
    background: #fff;
}

.home-card {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: var(--paper);
}

.site-header {
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 112px;
    background: rgba(255, 255, 255, 0.97);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 216px;
    height: 82px;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.hero {
    position: relative;
    height: 596px;
    overflow: hidden;
    background: #fbf8f0;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 253, 247, 0.97) 0%, rgba(255, 253, 247, 0.88) 26%, rgba(255, 253, 247, 0.10) 50%, rgba(255, 253, 247, 0) 100%),
        url("./assets/hero-child.png?v=20260527");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 520px;
    padding: 170px 0 0 91px;
}

.hero h1 {
    margin: 0;
    color: var(--brand);
    font-size: 70px;
    line-height: 1;
    font-weight: 800;
}

.hero-subtitle {
    margin: 24px 0 42px;
    color: var(--brand);
    font-size: 43px;
    line-height: 1.08;
    font-weight: 800;
    white-space: nowrap;
}

.hero-description {
    margin: 0;
    color: #343434;
    font-size: 23px;
    line-height: 1.9;
    font-weight: 500;
}

.curve {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 162px;
    pointer-events: none;
}

.curve-fill {
    fill: #fff;
}

.curve-line {
    fill: none;
    stroke: var(--brand-soft);
    stroke-width: 22;
    stroke-linecap: round;
}

.contact-footer {
    padding: 64px 86px 54px;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.86fr) 1px minmax(430px, 1.15fr);
    align-items: center;
    gap: 72px;
    max-width: 1088px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 34px;
    min-width: 0;
}

.contact-address {
    justify-self: start;
}

.contact-divider {
    width: 1px;
    height: 56px;
    background: var(--line);
}

.contact-icon {
    display: block;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.contact-label {
    margin: 0 0 8px;
    color: #535353;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
}

.contact-value {
    margin: 0;
    color: #424242;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 500;
}

.footer-rule {
    max-width: 1088px;
    height: 1px;
    margin: 44px auto 34px;
    background: var(--line);
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    color: #8a8a8a;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

.icp-link {
    color: inherit;
    text-decoration: none;
}

.icp-link:hover {
    color: var(--brand-dark);
}

@media (max-width: 900px) {
    html {
        background: #fff;
    }

    .page-shell {
        min-height: 100vh;
    }

    .home-card {
        width: 100%;
        min-height: 100vh;
    }

    .site-header {
        height: 88px;
        padding: 0 24px;
    }

    .brand {
        width: 184px;
        height: 56px;
    }

    .hero {
        height: 502px;
        background: #faf8ef;
    }

    .hero-photo {
        background-image:
            linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.96) 33%, rgba(255, 253, 247, 0.20) 60%, rgba(255, 253, 247, 0) 100%),
            url("./assets/hero-child.png?v=20260527");
        background-size: 760px auto;
        background-position: 64% 100%;
    }

    .hero-copy {
        width: auto;
        padding: 42px 30px 0;
    }

    .hero h1 {
        font-size: clamp(40px, 11.5vw, 51px);
        line-height: 1.08;
        white-space: nowrap;
    }

    .hero-subtitle {
        margin: 11px 0 23px;
        font-size: clamp(21px, 6.2vw, 29px);
        line-height: 1.18;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.72;
    }

    .curve {
        height: 91px;
    }

    .curve-line {
        stroke-width: 25;
    }

    .contact-footer {
        padding: 31px 25px 44px;
    }

    .contact-grid {
        display: block;
        max-width: none;
        margin: 0;
    }

    .contact-item {
        gap: 18px;
        padding: 22px 8px 23px;
        border-bottom: 1px solid var(--line);
    }

    .contact-item:first-child {
        padding-top: 0;
    }

    .contact-divider {
        display: none;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-label {
        margin-bottom: 5px;
        font-size: 15px;
    }

    .contact-value {
        font-size: 16px;
    }

    .footer-rule {
        display: none;
    }

    .copyright {
        margin-top: 36px;
        font-size: 13px;
        line-height: 1.85;
    }
}

@media (max-width: 360px) {
    .site-header {
        padding: 0 18px;
    }

    .brand {
        width: 168px;
    }

    .hero {
        height: 486px;
    }

    .hero-copy {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-photo {
        background-size: 720px auto;
        background-position: 65% 100%;
    }

    .contact-footer {
        padding-right: 18px;
        padding-left: 18px;
    }
}
