:root {
    --green: #A1C242;
    --green-dark: #029354;
    --green-soft: #eaf5ee;
    --olive: #e8edd4;
    --text: #333;
    --muted: #575757;
    --line: #e8eee9;
    --white: #fff;
    --shadow: 0 26px 70px rgba(10, 60, 35, .12);
    --radius-lg: 48px;
    --radius-md: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
picture {
    display: block;
}

img {
    width: 100%;
    max-width: 100%;
}

button {
    font: inherit;
}

.h-100 {
    height: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.container-fulid {
    width: 100%;
    padding-inline: 80px;
    margin-inline: auto;
}

.center {
    text-align: center;
}

.site-header {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 52px);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--green-dark);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 41px);
    letter-spacing: .04em;
    line-height: 1;
    padding-top: 8px;
    height: 55px;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
    font-size: 16px;
    font-weight: 600;
}

.nav a {
    transition: color .2s ease;
}

.nav a:hover,
a:hover {
    color: var(--green-dark);
}

.nav-toggle {
    display: none;
}

.header-search {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: clamp(180px, 20vw, 200px);
}

.header-search__input {
    width: 100%;
    min-width: 0;
    padding: 4px 0;
    color: var(--text);
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.header-search__input::placeholder {
    color: rgba(51, 51, 51, .42);
    opacity: 1;
}

.header-search__button {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: url("assets/icon-search.svg") center / contain no-repeat;
    background-size: 28px;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.header-search__button:hover {
    transform: scale(1.06);
    opacity: .82;
}

.header-search input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
    width: .65em;
    height: .65em;
    background: linear-gradient(45deg, transparent 43%, var(--green-dark) 44%, var(--green-dark) 56%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--green-dark) 44%, var(--green-dark) 56%, transparent 57%);
    cursor: pointer;
}

.language-dropdown {
    position: relative;
}

.language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
    color: var(--green-dark);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: color .2s ease;
}

.language__icon,
.language span:first-child {
    display: inline-flex;
    align-items: center;
}

.language img {
    height: 26px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 60;
    min-width: 138px;
    padding: 10px;
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 142, 69, .12);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.language-dropdown.is-open .language-menu,
.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu a {
    display: block;
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.language-menu a:hover {
    color: var(--white);
    background: var(--green-dark);
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .75s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide picture,
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    object-fit: cover;
    object-position: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(620px, calc(100% - 120px));
    padding-top: clamp(170px, 20vh, 230px);
    margin-left: clamp(32px, 8vw, 108px);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: 13px;
    letter-spacing: .18em;
    font-weight: 900;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 6.2vw, 72px);
    line-height: 1.12;
    letter-spacing: .03em;
    font-weight: 700;
}

.hero h2 {
    margin: 20px 0 10px;
    color: var(--green-dark);
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.45;
    font-weight: 500;
}

.hero p:not(.eyebrow) {
    width: min(520px, 100%);
    margin: 0;
    color: #344054;
    font-size: 16px;
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 48%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #8fbd37;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 0;
    line-height: 0;
    transition: transform .2s ease, background .2s ease;
}

.hero-arrow::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 8px;
    background: var(--white);
    mask: url("assets/arrow.svg") center / contain no-repeat;
    -webkit-mask: url("assets/arrow.svg") center / contain no-repeat;
}

.hero-arrow:hover {
    background: var(--green);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev {
    left: 28px;
}

.hero-arrow--prev::before {
    transform: rotate(180deg);
}

.hero-arrow--next {
    right: 28px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 142, 69, .28);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.hero-dots button.is-active {
    width: 28px;
    background: var(--green-dark);
}

.section {
    padding: clamp(72px, 8vw, 110px) 0;
}

.section h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    letter-spacing: .04em;
}

.section h2 em {
    color: var(--green-dark);
    font-style: normal;
}

.section-intro {
    width: min(740px, 100%);
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.product-card,
.learn-card {
    text-align: center;
}

.product-card img,
.learn-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 48px 48px 0 48px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.product-card:hover img,
.learn-card:hover img {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-card h3,
.learn-card h3 {
    margin: 18px 0 8px;
    color: var(--muted);
    font-size: 24px;
    line-height: 1.35;
}

.learn-card h3 {
    font-size: 23px;
}

.product-card p,
.learn-card p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.product-card a,
.learn-card a,
.feature-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 15px auto 0;
    color: var(--green);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    transition: color .2s ease, transform .2s ease;
}

.product-card a span,
.learn-card a span {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--green);
    border-radius: 999px;
    font-size: 0;
    background: transparent;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.feature-card a span {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--green);
    border-radius: 999px;
    font-size: 0;
    background: var(--green);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.product-card a span::before,
.learn-card a span::before {
    content: "";
    width: 12px;
    height: 12px;
    display: block;
    background: var(--green);
    mask: url("assets/arrow.svg") center / contain no-repeat;
    -webkit-mask: url("assets/arrow.svg") center / contain no-repeat;
    transition: background .25s ease, transform .25s ease;
}

.feature-card a span::before {
    content: "";
    width: 12px;
    height: 12px;
    display: block;
    background: var(--white);
    mask: url("assets/arrow.svg") center / contain no-repeat;
    -webkit-mask: url("assets/arrow.svg") center / contain no-repeat;
    transition: background .25s ease, transform .25s ease;
}

.product-card a:hover,
.learn-card a:hover,
.feature-card a:hover {
    color: var(--green);
    transform: none;
}

.product-card a:hover span,
.learn-card a:hover span,
.feature-card a:hover span {
    background: var(--green);
    border-color: var(--green);
    transform: translateX(2px);
}

.product-card a:hover span::before,
.learn-card a:hover span::before,
.feature-card a:hover span::before {
    background: var(--white);
}

.feature-band,
.feature-band--soft {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(86px, 8vw, 118px) 0 clamp(72px, 7vw, 104px);
    background: var(--white);
}

.feature-band::before,
.feature-band--soft::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 68%;
    transform: translateX(-50%);
    background: radial-gradient(circle at 18% 50%, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .72) 30%, rgba(255, 255, 255, .24) 58%, rgba(255, 255, 255, 0) 78%), #d0e9de;
}

.feature {
    position: relative;
    display: grid;
    align-items: start;
    gap: 0;
}

.feature--right {
    grid-template-columns: 55% 45%;
}

.feature--left {
    grid-template-columns: 45% 55%;
}

.feature>img {
    position: relative;
    z-index: 3;
    width: 100%;
    height: clamp(310px, 30vw, 477px);
    min-height: 0;
    object-fit: cover;
    border-radius: 72px 72px 0 72px;
    box-shadow: none;
}

.feature--left img {
    border-radius: 72px 72px 72px 0;
}

.feature-card {
    position: relative;
    z-index: 2;
    min-height: clamp(310px, 30vw, 477px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #e8edd4;
    margin-top: clamp(54px, 5.2vw, 78px);
    padding: clamp(38px, 4vw, 56px);
}

.feature--right .feature-card {
    margin-left: -82px;
    padding-left: clamp(78px, 7vw, 112px);
    border-radius: 0 72px 0 72px;
}

.feature--left .feature-card {
    margin-right: -82px;
    padding-right: clamp(78px, 7vw, 112px);
    border-radius: 72px 0 72px 0;
}

.feature-card h2 {
    margin: 0 0 10px;
    color: #303437;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.2;
    font-weight: 700;
}

.feature-card h3 {
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.65;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.9;
}

.feature-card a {
    width: fit-content;
    margin-top: 18px;
    font-size: 13px;
}

.feature--right .feature-card a {
    align-self: flex-end;
    margin-right: 0;
    margin-left: auto;
}

.feature--left .feature-card a {
    align-self: flex-start;
    margin-right: auto;
    margin-left: 0;
}

.feature-card a span {
    width: 28px;
    height: 28px;
}

.feature-card a span::before {
    width: 10px;
    height: 10px;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.footer {
    --footer-green: #008f4c;
    --footer-yellow: #d4db32;
    padding: 0;
    color: var(--white);
    background: var(--footer-green);
}

.footer-inner {
    width: min(100%, 1369px);
    min-height: 253px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 42% 58%;
    column-gap: 0;
    padding: 24px 42px 28px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
}

.footer h3 {
    margin: 0 0 7px;
    color: var(--white);
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .04em;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: .04em;
}

.footer-service h3 {
    margin-bottom: 6px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 39px;
}

.footer-mainrow {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(16px, 3.15vw, 32px);
    min-width: 0;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .12em;
    white-space: nowrap;
}

.footer-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0 16px;
    color: rgba(255, 255, 255, .96);
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: var(--footer-yellow);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
    transform: scaleX(1);
}

.socials {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
}

.socials a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--footer-green);
    background: var(--white);
    transition: transform .2s ease, background .2s ease;
}

.socials a:hover {
    transform: translateY(-2px);
    background: #f5f9ee;
}

.socials svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.footer-line {
    width: 100%;
    height: 1px;
    margin-top: 0;
    background: rgba(255, 255, 255, .28);
}

.copyright {
    margin-top: 16px;
    text-align: right;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
}

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-band,
    .feature-band--soft {
        padding: 72px 0 76px;
    }
    .feature-band::before,
    .feature-band--soft::before {
        height: 48%;
    }
    .feature--right,
    .feature--left {
        grid-template-columns: 1fr;
    }
    .feature--left>img {
        order: 1;
    }
    .feature--left .feature-card {
        order: 2;
    }
    .feature>img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .feature--right .feature-card,
    .feature--left .feature-card {
        min-height: auto;
        margin: 16px 28px 0;
        padding: 42px 36px;
        border-radius: 0px 0px 0 72px;
    }
    .learn-grid {
        grid-template-columns: 1fr;
    }
    .learn-card {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 24px;
        text-align: left;
        align-items: center;
    }
    .learn-card p {
        margin-left: 0;
    }
}

@media (min-width: 721px) and (max-width: 1180px) {
    .hero-slide img {
            object-position: 60% center;
        }
}

@media (max-width: 720px) {
    .container,
    .container-fulid {
        width: min(100% - 36px, var(--container));
        padding-inline: 0;
    }
    .site-header {
        height: 72px;
        padding-inline: 26px;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
    }
    .site-header.is-scrolled {
        background: rgba(255, 255, 255, .88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
    }
    .brand {
        position: relative;
        z-index: 95;
        height: 34px;
        padding-top: 0px;
    }
    .brand img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    .nav-toggle {
        position: relative;
        z-index: 95;
        display: inline-flex;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        padding: 0;
    }
    .nav-toggle span {
        width: 28px;
        height: 2px;
        background: #6f4d3e;
        border-radius: 99px;
        transition: transform .25s ease, opacity .2s ease, background .2s ease;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav {
        position: fixed;
        z-index: 78;
        top: 72px;
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100dvh - 72px);
        min-height: calc(100vh - 72px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 96px 48px 48px;
        background: #f2f2f2;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    }
    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav a,
    .nav .language {
        width: 100%;
        min-height: 56px;
        display: flex;
        align-items: center;
        padding: 14px 0;
        color: var(--green-dark);
        font-size: 18px;
        line-height: 1.4;
        font-weight: 700;
        border-bottom: 1px solid rgba(0, 142, 69, .10);
        background: transparent;
    }
    .header-search {
        width: 100%;
        min-width: 0;
        min-height: 56px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 142, 69, .10);
        order: -1;
    }
    .header-search__input {
        font-size: 18px;
        font-weight: 700;
        color: var(--green-dark);
    }
    .header-search__input::placeholder {
        color: rgba(0, 142, 84, .48);
    }
    .header-search__button {
        width: 36px;
        height: 36px;
    }
    .language-dropdown {
        width: 100%;
    }
    .language-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        padding: 8px 0;
        background: rgba(0, 142, 69, .06);
        border: 0;
        border-radius: 14px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .language-dropdown.is-open .language-menu {
        display: block;
    }
    .language-dropdown:hover .language-menu {
        display: none;
    }
    .language-dropdown.is-open:hover .language-menu {
        display: block;
    }
    .language-menu a {
        min-height: 42px;
        padding: 9px 16px;
        font-size: 15px;
        border-bottom: 0;
    }
    .hero {
        min-height: 0;
        height: auto;
        overflow: hidden;
        background: #f8fbf8;
    }
    .hero-slider,
    .hero-slide {
        position: relative;
        inset: auto;
    }
        .hero-slide {
            display: grid;
        }
    .hero-slide:not(.is-active) {
        display: none;
    }
    .hero-slide picture,
        .hero-copy {
            grid-area: 1 / 1;
        }
    
        .hero-slide picture,
    .hero-slide img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        top: 30px;
        background-color: #ebebeb;
    }
    .hero-slide img {
        object-fit: cover;
        object-position: top center;
    }
    .hero-copy {
        position: relative;
            z-index: 2;
            align-self: start;
        width: 100%;
        margin: 0;
        margin-top: clamp(280px, 76vw, 440px);
            padding: 0 clamp(32px, 7vw, 60px) 64px;
            transform: none;
    }
    .eyebrow {
        margin-bottom: 14px;
        font-size: clamp(12px, 2.8vw, 18px);
    }
    .hero h1 {
        font-size: clamp(42px, 12vw, 72px);
        line-height: 1.08;
    }
    .hero h2 {
        margin: 22px 0 14px;
        font-size: 18px;
        line-height: 1.45;
        font-weight: 700;
    }
    .hero p:not(.eyebrow) {
        width: min(520px, 100%);
        font-size: clamp(15px, 3.6vw, 20px);
        line-height: 1.75;
    }
    .hero-arrow,
    .hero-dots {
        display: none;
    }
    .section {
        padding: 64px 0;
    }
    .section h2 {
        font-size: 31px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .product-card,
    .learn-card {
        display: block;
        text-align: center;
    }
    .product-card img,
    .learn-card img,
    .feature>img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 28px 28px 0 28px;
    }
    .product-card h3,
    .learn-card h3 {
        margin-top: 16px;
    }
    .product-card p,
    .learn-card p {
        margin-inline: auto;
    }
    .feature-band,
    .feature-band--soft {
        padding: 62px 0 66px;
    }
    .feature-band::before,
    .feature-band--soft::before {
        height: 42%;
    }
    .feature--right .feature-card,
    .feature--left .feature-card {
        margin: -30px 0px 0 0;
        padding: 60px 24px 30px 24px;
        border-radius: 0px 0px 0 28px;
    }
    .feature-card h2 {
        font-size: 30px;
    }
    .feature-card h3 {
        font-size: 17px;
    }
    .feature-card p {
        font-size: 14px;
    }
        .feature--right .feature-card a {
            align-self: flex-start;
            margin-right: auto;
            margin-left: 0;
        }
        .feature--left .feature-card a {
            align-self: flex-start;
            margin-right: auto;
            margin-left: 0;
        }
    .learn-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-inner {
        width: 100%;
        min-height: auto;
        display: block;
        padding: 64px clamp(48px, 8.8vw, 88px) 58px;
    }
    .footer-left {
        gap: 58px;
    }
    .footer h3 {
        margin-bottom: 18px;
    }
    .footer-company p {
        line-height: 1.45;
    }
    .footer-service h3 {
        margin-bottom: 20px;
    }
    .footer-service p+p {
        margin-top: 8px;
    }
    .footer-right {
        display: block;
        padding-top: 34px;
        margin-top: 34px;
        border-top: 1px solid rgba(255, 255, 255, .45);
    }
    .footer-mainrow {
        display: block;
    }
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: start;
        align-items: start;
        gap: 28px clamp(34px, 7vw, 64px);
        font-size: 14px;
        letter-spacing: .10em;
        white-space: normal;
    }
    .footer-nav a {
        padding: 0 0 10px;
    }
    .footer-nav a::after {
        bottom: 0;
    }
    .socials {
        margin-top: 48px;
        gap: 30px;
    }
    .socials a {
        width: 60px;
        height: 60px;
    }
    .socials svg {
        width: 28px;
        height: 28px;
    }
    .footer-line {
        margin-top: 42px;
        background: rgba(255, 255, 255, .45);
    }
    .copyright {
        margin-top: 42px;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .footer-inner {
        padding: 48px 28px 46px;
    }
    .footer-left {
        gap: 42px;
    }
    .footer h3 {
        margin-bottom: 12px;
    }
    .footer-right {
        margin-top: 30px;
        padding-top: 30px;
    }
    .footer-nav {
        grid-template-columns: repeat(2, max-content);
        gap: 24px 34px;
        font-size: 13px;
    }
    .socials {
        margin-top: 40px;
        gap: 24px;
    }
    .socials a {
        width: 56px;
        height: 56px;
    }
    .socials svg {
        width: 25px;
        height: 25px;
    }
    .footer-line {
        margin-top: 38px;
    }
    .copyright {
        margin-top: 34px;
    }
}

@media (max-width: 420px) {
    .site-header {
        height: 68px;
        padding-inline: 22px;
    }
    .brand {
        height: 34px;
    }
    .nav {
        top: 68px;
        height: calc(100dvh - 68px);
        min-height: calc(100vh - 68px);
        padding: 82px 34px 42px;
    }
}


/* =========================================
   Tablet layout patch: keep desktop/mobile intact
   - desktop: > 1180px follows original CSS
   - tablet: 721px–1180px follows mobile-like content flow
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.site-header,
main,
.footer {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 721px) and (max-width: 1180px) {
    .brand {
            padding-top: 0;
        }
    
        .hero-copy {
            transform: translateY(200px);
        }
    
        .feature--right .feature-card a,
        .feature--left .feature-card a {
            align-self: flex-start;
            margin-right: auto;
            margin-left: 0;
        }
    .nav {
        gap: clamp(16px, 2vw, 28px);
        font-size: 15px;
    }
    .header-search {
        min-width: clamp(170px, 22vw, 240px);
        gap: 10px;
    }
    .header-search__input {
        font-size: 1rem;
    }
    .header-search__button {
        width: 36px;
        height: 36px;
    }
    .container,
    .container-fulid {
        width: min(100% - 64px, var(--container));
        padding-inline: 0;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 28px;
    }
    .product-card img,
    .learn-card img,
    .feature>img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }
    .feature-band,
    .feature-band--soft {
        padding: 76px 0 82px;
    }
    .feature-band::before,
    .feature-band--soft::before {
        height: 46%;
    }
    .feature--right,
    .feature--left {
        grid-template-columns: 1fr;
    }
    .feature--left>img {
        order: 1;
    }
    .feature--left .feature-card {
        order: 2;
    }
    .feature--right .feature-card,
    .feature--left .feature-card {
        min-height: auto;
        margin: -42px 0px 0 0;
        padding: 84px 36px 42px 36px;
        border-radius: 0px 0px 0 72px;
    }
    .learn-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }
    .learn-card {
        display: block;
        text-align: center;
    }
    .learn-card h3 {
        margin-top: 16px;
    }
    .learn-card p {
        margin-inline: auto;
        max-width: 720px;
    }
    .footer-inner {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    html,
    body {
        overflow-x: hidden;
    }
}

@media (min-width: 721px) and (max-width: 1180px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .footer-inner {
        width: 100%;
        min-height: auto;
        display: grid;
        grid-template-columns: minmax(260px, 42%) minmax(0, 58%);
        column-gap: 28px;
        padding: 24px clamp(28px, 5vw, 42px) 28px;
    }
    .footer-left {
        gap: 28px;
    }
    .footer-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-width: 0;
        padding-top: 38px;
    }
    .footer-mainrow {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
        min-width: 0;
    }
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px clamp(18px, 3.2vw, 30px);
        min-width: 0;
        white-space: normal;
    }
    .footer-nav a {
        padding: 8px 0 10px;
    }
    .footer-nav a::after {
        bottom: 0;
    }
    .socials {
        justify-content: flex-end;
        margin-top: 2px;
        gap: 13px;
    }
    .footer-line {
        margin-top: 12px;
    }
    .copyright {
        margin-top: 14px;
        text-align: right;
    }
}


/* Pad portrait: keep footer readable, but icons still stay below the menu. */

@media (min-width: 721px) and (max-width: 900px) {
    .footer-inner {
        grid-template-columns: minmax(250px, 40%) minmax(0, 60%);
        column-gap: 24px;
    }
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        gap: 12px clamp(20px, 4vw, 34px);
        justify-content: start;
    }
    .socials {
        justify-content: flex-start;
        margin-top: 14px;
    }
}


/* Pad portrait header: use the same menu behavior as mobile at 768px. */

@media (min-width: 721px) and (max-width: 900px) {
    .site-header {
        height: 72px;
        padding-inline: 26px;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
    }
    .site-header.is-scrolled {
        background: rgba(255, 255, 255, .88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 1px 0 rgba(16, 24, 40, .06);
    }
    .brand {
        position: relative;
        z-index: 95;
        height: 34px;
        font-size: inherit;
    }
    .brand img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    .nav-toggle {
        position: relative;
        z-index: 95;
        display: inline-flex;
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        padding: 0;
    }
    .nav-toggle span {
        width: 28px;
        height: 2px;
        background: #6f4d3e;
        border-radius: 99px;
        transition: transform .25s ease, opacity .2s ease, background .2s ease;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav {
        position: fixed;
        z-index: 78;
        top: 72px;
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100dvh - 72px);
        min-height: calc(100vh - 72px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 96px 48px 48px;
        background: #f2f2f2;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    }
    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav a,
    .nav .language {
        width: 100%;
        min-height: 56px;
        display: flex;
        align-items: center;
        padding: 14px 0;
        color: var(--green-dark);
        font-size: 18px;
        line-height: 1.4;
        font-weight: 700;
        border-bottom: 1px solid rgba(0, 142, 69, .10);
        background: transparent;
    }
    .header-search {
        order: -1;
        width: 100%;
        min-width: 0;
        min-height: 56px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 142, 69, .10);
    }
    .header-search__input {
        font-size: 18px;
        font-weight: 700;
        color: var(--green-dark);
    }
    .header-search__input::placeholder {
        color: rgba(0, 142, 84, .48);
    }
    .header-search__button {
        width: 36px;
        height: 36px;
    }
    .language-dropdown {
        width: 100%;
    }
    .language-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        padding: 8px 0;
        background: rgba(0, 142, 69, .06);
        border: 0;
        border-radius: 14px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .language-dropdown.is-open .language-menu {
        display: block;
    }
    .language-dropdown:hover .language-menu {
        display: none;
    }
    .language-dropdown.is-open:hover .language-menu {
        display: block;
    }
    .language-menu a {
        min-height: 42px;
        padding: 9px 16px;
        font-size: 15px;
        border-bottom: 0;
    }
}


/* Index keyword filter */

[data-search-item][hidden],
[data-search-group][hidden],
.search-empty[hidden] {
    display: none;
}

.search-empty {
    min-height: clamp(420px, 48vw, 560px);
    padding: clamp(120px, 14vw, 180px) 24px 88px;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--white);
}

.search-empty__card {
    padding: 26px 28px 28px;
    border: 1px solid #c7c6c6;
    border-radius: 16px;
    background: var(--white);
}

.search-empty h2 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .03em;
}

.search-empty p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.search-empty__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.search-empty__link span {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--green);
}

.search-empty__link span::before {
    content: "";
    width: 12px;
    height: 12px;
    display: block;
    background: var(--white);
    mask: url("assets/arrow.svg") center / contain no-repeat;
    -webkit-mask: url("assets/arrow.svg") center / contain no-repeat;
}

.search-empty__link:hover {
    color: var(--green-dark);
}

@media (max-width: 720px) {
    .search-empty {
        min-height: 420px;
        padding: 100px 20px 64px;
    }
    .search-empty__card {
        padding: 24px 22px 26px;
    }
}