/* V4 — responsive type system. No per-text manual size configuration required. */
:root { --font-zh: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
        --font-en: "Inter", Arial, sans-serif; }
html[lang="zh-Hant"] body { font-family:var(--font-zh); }
html[lang="en"] body { font-family:var(--font-en); }
html[lang="zh-Hant"] .brand,html[lang="zh-Hant"] .eyebrow,
html[lang="zh-Hant"] .index,html[lang="zh-Hant"] .hero-foot {font-family:var(--font-en),var(--font-zh);}
.hero h1 {font-size:clamp(2.45rem,5vw,4.375rem);line-height:1.25;overflow-wrap:anywhere;}
.hero p {font-size:clamp(1rem,1.35vw,1.125rem);line-height:1.9;}
h2 {font-size:clamp(2rem,3.5vw,3rem);line-height:1.33;overflow-wrap:anywhere;}
.product-info h3 {font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.4;}
.intro-copy p,.about p {font-size:clamp(1rem,1.2vw,1.1rem);line-height:1.95;}
.feature-grid h3 {font-size:clamp(1.1rem,1.5vw,1.35rem);line-height:1.45;}
.feature-grid p {font-size:clamp(1rem,1.05vw,1.0625rem);line-height:1.85;}
.product-info p,.contact p,.section-top p {font-size:clamp(1rem,1.1vw,1.075rem);line-height:1.85;}
.contact-info>div>span {font-size:clamp(.875rem,1vw,1rem);}
.contact-info a,.contact-info p {font-size:clamp(1rem,1.35vw,1.15rem);overflow-wrap:anywhere;}
/* English needs more line length, not simply smaller fonts. */
html[lang="en"] .hero h1 {font-size:clamp(2.2rem,4.5vw,4rem);letter-spacing:-.018em;}
html[lang="en"] h2 {font-size:clamp(1.9rem,3.15vw,2.85rem);letter-spacing:-.018em;}
html[lang="en"] .feature-grid h3 {font-size:clamp(1.1rem,1.35vw,1.3rem);}
html[lang="en"] .brand {letter-spacing:0;}
/* Maintain a readable column width on tablets and phones. */
@media(max-width:900px){
 .intro-grid,.about-grid,.contact-grid{gap:1.5rem;}
 .intro-copy p,.about p{max-width:65ch;}
 .header nav{z-index:12;}
}
@media(max-width:600px){
 .container{padding-left:20px;padding-right:20px;}
 .header{padding-left:16px;padding-right:16px;}
 .hero,.hero-inner{min-height:590px;}
 .hero-inner{padding-top:64px;padding-bottom:95px;}
 .hero h1{font-size:clamp(2rem,8.2vw,2.75rem);line-height:1.32;letter-spacing:.005em;}
 html[lang="en"] .hero h1{font-size:clamp(1.85rem,7.1vw,2.5rem);line-height:1.23;}
 .hero p{font-size:1rem;line-height:1.8;}
 h2{font-size:clamp(1.85rem,7.1vw,2.35rem);}
 html[lang="en"] h2{font-size:clamp(1.8rem,6.8vw,2.2rem);}
 .product-info h3{font-size:1.3rem;}
 .product-info p,.intro-copy p,.about p,.feature-grid p{font-size:1rem;}
 .hero-foot{left:20px;right:20px;}
 .section{padding:64px 0;}
 .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .partner-logo{min-width:0;}
 .contact-info a{font-size:1rem;}
 .brand{gap:6px;}
 .header .brand>span:last-child{font-size:11px;}
 .language-switch{margin-left:auto;}
 .lang-button{padding:6px;}
}
@media(max-width:380px){
 .hero h1{font-size:1.85rem;}
 html[lang="en"] .hero h1{font-size:1.7rem;}
 .header .brand>span:last-child{font-size:10px;}
 .header{gap:4px;}
 .mark{width:31px;height:31px;}
 .eyebrow{letter-spacing:.12em;}
}


/* V5: restore the V3 partner logo presentation exactly. */
/* 合作廠商標誌：保持原始比例 */
.partners { background:#f7f8fa; }
.partner-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:35px; }
.partner-logo { min-height:156px;background:#fff;border:1px solid #e1e6eb;display:flex;align-items:center;justify-content:center;padding:24px; }
.partner-logo img { width:100%;height:112px;object-fit:contain; }
@media(max-width:700px){ .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;} .partner-logo{min-height:116px;padding:12px;} .partner-logo img{height:86px;} }


/* V5: approved 20px type size, all 14 identifiers, Chinese and English. */
[data-text-id="t039"],
[data-text-id="t040"],
[data-text-id="t041"],
[data-text-id="t042"],
[data-text-id="t043"],
[data-text-id="t044"],
[data-text-id="t045"],
[data-text-id="t046"],
[data-text-id="t087"],
[data-text-id="t088"],
[data-text-id="t089"],
[data-text-id="t090"],
[data-text-id="t091"],
[data-text-id="t092"] { font-size:20px !important; }

/* V5: prevent fixed 20px contact text from overflowing narrow screens. */
.contact-info [data-text-id] {overflow-wrap:anywhere;word-break:normal;}
.contact-info a, .contact-info p {min-width:0;max-width:100%;}
.feature-grid article {min-width:0;}
.feature-grid h3,.feature-grid p {overflow-wrap:anywhere;}
/* Keep the four features readable even with user-approved 20px copy. */
@media (min-width:901px) and (max-width:1150px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.feature-grid{grid-template-columns:1fr;}}
