:root {
    --brand: #45b97c;
    --brand-strong: #2e9159;
    --brand-hover: #257a4c;
    --brand-deep: #1d6b42;
    --brand-soft: #eaf7f0;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e9eef0;
    --bg: #ffffff;
    --bg-soft: #f7faf8;
    --glass: rgba(255, 255, 255, .66);
    --glass-strong: rgba(255, 255, 255, .84);
    --glass-edge: rgba(15, 23, 42, .07);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .75);
    --glass-blur: 16px;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px rgba(15, 23, 42, .05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08), 0 24px 60px rgba(15, 23, 42, .10);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 68px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    :root {
        --glass: rgba(255, 255, 255, .94);
        --glass-strong: rgba(255, 255, 255, .97);
    }
}

html {
    scroll-behavior: smooth;
}

body.home {
    margin: 0;
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
}

body.home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(52% 44% at 88% -4%, rgba(69, 185, 124, .22), transparent 64%),
        radial-gradient(46% 40% at -8% 28%, rgba(46, 145, 89, .13), transparent 62%),
        radial-gradient(44% 36% at 72% 96%, rgba(127, 227, 176, .16), transparent 66%);
    pointer-events: none;
}

body.home h1,
body.home h2,
body.home h3 {
    font-family: var(--font);
    color: var(--ink);
    letter-spacing: -.01em;
}

body.home a {
    transition: color .25s var(--ease);
}

body.home ::selection {
    background: var(--brand);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--brand-strong);
    outline-offset: 3px;
    border-radius: 4px;
}

.top-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--glass-edge);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    height: var(--header-h);
}

.brand .logo {
    height: 34px;
    width: 34px;
    margin: 0 0 0 clamp(16px, 5vw, 60px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(69, 185, 124, .35);
}

.brand label {
    font-size: 13.5px;
    line-height: 1.4;
    margin: 0 0 0 10px;
    color: var(--ink-2);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-box ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    list-style: none;
    margin: 0 clamp(16px, 4vw, 48px) 0 0;
    padding: 0;
}

.top-box ul li {
    line-height: 1.4;
    font-size: 14.5px;
    color: var(--ink-2);
    cursor: pointer;
    border-radius: 999px;
    transition: color .2s var(--ease), background .2s var(--ease);
}

.top-box ul li a {
    display: block;
    padding: 9px 14px;
    color: inherit;
    text-decoration: none;
}

.top-box ul li:hover {
    color: var(--brand-deep);
}

.top-box ul li.is-active {
    color: var(--brand-deep);
    background: var(--brand-soft);
}

.top-box ul li.is-active a {
    font-weight: 600;
}

.top-box__toggle {
    display: none;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.top-box__toggle span,
.top-box__toggle span::before,
.top-box__toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.top-box__toggle span {
    margin: 0 auto;
    position: relative;
}

.top-box__toggle span::before,
.top-box__toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.top-box__toggle span::before {
    top: -6px;
}

.top-box__toggle span::after {
    top: 6px;
}

.top-box__toggle[aria-expanded="true"] span {
    background: transparent;
}

.top-box__toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.top-box__toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1100;
    padding: 10px 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--brand-deep);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transform: translateY(-160%);
    transition: transform .25s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.hero {
    padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) clamp(20px, 5vw, 60px) clamp(64px, 10vh, 120px);
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 16px;
}

.hero__tagline {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    color: var(--brand-deep);
    margin: 0 0 20px;
}

.hero__summary {
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 34em;
    margin: 0 0 36px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.btn {
    box-sizing: border-box;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand-deep);
    color: #fff;
    box-shadow: 0 10px 26px rgba(29, 107, 66, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--brand-hover);
    color: #fff;
    box-shadow: 0 16px 34px rgba(29, 107, 66, .34);
}

.btn-glass {
    background: var(--glass);
    color: var(--brand-deep);
    border-color: rgba(29, 107, 66, .3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-glass:hover,
.btn-glass:focus-visible {
    background: var(--glass-strong);
    border-color: var(--brand);
    color: var(--brand-deep);
}

.hero__renders {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(16px, 2.5vw, 32px);
    min-height: 480px;
}

.hero__renders::before {
    content: "";
    position: absolute;
    inset: 6% 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(69, 185, 124, .18), transparent 68%);
}

.hero__renders img {
    position: relative;
    width: min(260px, 44%);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vh, 48px);
}

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-edge);
    -webkit-backdrop-filter: saturate(160%) blur(var(--glass-blur));
    backdrop-filter: saturate(160%) blur(var(--glass-blur));
    box-shadow: var(--glass-highlight), var(--shadow-sm);
}

.product--reverse .product__copy {
    order: 2;
}

.product--reverse .product__media {
    order: 1;
}

.product__eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--brand-deep);
    margin-bottom: 16px;
}

.product h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
}

.product__copy p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 30em;
    margin: 0;
}

.product__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.product__media::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(69, 185, 124, .16), transparent 68%);
}

.product__media img {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 60px);
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-heading {
    text-align: center;
    margin-bottom: clamp(32px, 5vh, 56px);
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    margin: 0 0 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 40em;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-edge);
    -webkit-backdrop-filter: saturate(160%) blur(var(--glass-blur));
    backdrop-filter: saturate(160%) blur(var(--glass-blur));
    box-shadow: var(--glass-highlight), var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(69, 185, 124, .4);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(69, 185, 124, .12);
    color: var(--brand-deep);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.feature-card p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0;
}

.prose-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px) clamp(72px, 10vh, 120px);
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.prose-panel {
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-edge);
    -webkit-backdrop-filter: saturate(160%) blur(var(--glass-blur));
    backdrop-filter: saturate(160%) blur(var(--glass-blur));
    box-shadow: var(--glass-highlight), var(--shadow-sm);
}

.about__lead {
    text-align: left;
    font-size: 17px;
    line-height: 1.9;
    color: var(--ink-2);
    margin: 0 0 32px;
}

.about__lead strong {
    font-weight: 600;
    color: var(--brand-deep);
}

.about__pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 36px;
}

.about__wish {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-deep);
    margin: 28px 0 0;
}

.contact-lead {
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 6px;
}

.contact-card p {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
    word-break: break-all;
}

.site-footer {
    padding: 44px 20px;
    border-top: 1px solid var(--glass-edge);
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    text-align: center;
}

.site-footer .copyright {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.site-footer .copyright em {
    font-style: normal;
    display: block;
    margin-top: 6px;
}

.site-footer .copyright a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.site-footer .copyright a:hover {
    color: var(--brand-strong);
    border-color: var(--brand);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(15, 23, 42, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.link-img {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.link-img.is-open {
    display: flex;
}

.link-img__card {
    position: relative;
}

.link-img img {
    display: block;
    width: min(360px, 78vw);
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .45);
}

.login-box {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    width: 240px;
    border: 1px solid var(--glass-edge);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: var(--shadow-md);
    display: none;
    opacity: 0;
    transform: translate(-50%, -46%) scale(.96);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.login-box.is-open {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.login-box img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 20px auto 0;
    border-radius: var(--radius-sm);
}

.login-box label {
    display: block;
    text-align: center;
    padding: 14px 10px 18px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
}

.login-box__switch {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-strong);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.login-box__switch:hover {
    transform: translateX(-50%) translateY(-2px);
    border-color: var(--brand);
    color: var(--brand-deep);
}

.modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-2);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.modal-close:hover {
    background: var(--brand-soft);
    color: var(--brand-deep);
    transform: scale(1.06);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] {
    transition-delay: .08s;
}

.reveal[data-delay="2"] {
    transition-delay: .16s;
}

.reveal[data-delay="3"] {
    transition-delay: .24s;
}

@media screen and (max-width: 991px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__renders {
        min-height: 400px;
    }

    .product {
        grid-template-columns: 1fr;
    }

    .product--reverse .product__copy {
        order: 1;
    }

    .product--reverse .product__media {
        order: 2;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .top-box__toggle {
        display: block;
    }

    .top-box ul {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 16px 20px;
        background: #fff;
        border-bottom: 1px solid var(--glass-edge);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
        transform-origin: top center;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform .28s var(--ease), opacity .2s var(--ease);
    }

    .top-box ul.is-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    .top-box ul li,
    .top-box ul li a {
        box-sizing: border-box;
        width: 100%;
        text-align: left;
        font-size: 15px;
        padding: 12px 10px;
        border-radius: var(--radius-sm);
    }

    .hero__renders img {
        width: min(220px, 44%);
    }
}

@media screen and (max-width: 640px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .about__pillars {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .brand .logo {
        margin-left: 16px;
    }

    .brand label {
        display: none;
    }

    .hero__renders {
        min-height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
