:root {
  --primary: #2f6285;
  --primary-hover: #274f6b;
  --ink: #1f2933;
  --muted: #4a5560;
  --soft: #6b7580;
  --line: rgba(47, 98, 133, 0.16);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --page: #ffffff;
  --radius: 8px;
  --shadow: 0 12px 32px rgba(31, 41, 51, 0.06);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .3px;
  overflow-x: hidden;
}
body.is-menu-open { overflow: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: url('../images/cq-background-new.webp'); background-size: contain; background-position: center; background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(47, 98, 133, 0.34); outline-offset: 3px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255,255,255,.7);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  backdrop-filter: blur(0);
}
.site-header.is-sticky { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(47,98,133,.14); box-shadow: 0 5px 20px rgba(31,41,51,.03); }
.header-inner { width: min(1280px, calc(100% - 32px)); height: 80px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: auto; height: 60px; }
.brand-name { color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a, .mobile-nav a { color: rgba(31,41,51,.72); font-size: 16px; font-weight: 500; letter-spacing: .025em; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"], .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid rgba(31,41,51,.18); border-radius: 8px; background: rgba(255,255,255,.5); }
.lang-switch button { min-width: 42px; padding: 8px 11px; border: 0; border-radius: 6px; color: rgba(31,41,51,.72); background: transparent; font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: color .2s ease, background-color .2s ease; }
.lang-switch button:hover, .lang-switch button[aria-pressed="true"] { color: #fff; background: var(--primary); }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; }
.menu-toggle:hover { background: rgba(255,255,255,.72); }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; }

.site-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
  background: transparent;
}
.hero-content { position: relative; z-index: 2; width: 100%; margin-inline: auto; text-align: center; }
.hero-content-group { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%, 48rem); margin-inline: auto; gap: 2rem; transform: translateY(-60px); }
.hero-content h1 { margin: 0; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.22; letter-spacing: .02em; }
.hero-content p { max-width: 48rem; margin: 0 auto; color: var(--muted); font-size: 1.125rem; line-height: 1.8; }
.hero-decor { position: absolute; z-index: 1; width: 288px; height: 288px; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-decor.top { top: 80px; right: 40px; background: rgba(47,98,133,.08); }
.hero-decor.bottom { bottom: 80px; left: 40px; background: rgba(47,98,133,.06); }

.page-main { position: relative; z-index: 2; }
.section, .section-surface, .section-surface-soft, .section-surface-green, .section-surface-cta { position: relative; }
.section-surface { background: rgba(255,255,255,.82); }
.section-surface-soft { background: rgba(255,255,255,.74); }
.section-surface-green { background: rgba(244,248,245,.82); }
.section-surface-cta { background: rgba(238,246,240,.88); }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .md\\:py-24 { padding-top: 6rem; padding-bottom: 6rem; } .md\\:py-28 { padding-top: 7rem; padding-bottom: 7rem; } .md\\:py-32 { padding-top: 8rem; padding-bottom: 8rem; } }
@media (min-width: 1024px) { .lg\\:py-24 { padding-top: 6rem; padding-bottom: 6rem; } .lg\\:py-28 { padding-top: 7rem; padding-bottom: 7rem; } .lg\\:py-32 { padding-top: 8rem; padding-bottom: 8rem; } }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-size: .83rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1.875rem; font-weight: 600; line-height: 1.3; letter-spacing: .018em; }
.home-services-heading h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: .018em; }
.section-heading.align-left { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.section-heading p { margin: 18px auto 0; max-width: 700px; color: var(--muted); }
.prose { max-width: 840px; margin: 0 auto; color: var(--muted); }
.prose p { margin: 0 0 24px; }
.prose p:first-child strong { color: var(--ink); font-weight: 700; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { min-width: 0; padding: 1.25rem; border: 1px solid rgba(33,138,74,.10); border-radius: .375rem; background: rgba(255,255,255,.93); box-shadow: 0 2px 10px rgba(31,52,42,.03); transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(47,98,133,.26); box-shadow: var(--shadow); }
.card .icon { margin-bottom: .75rem; }
.card h3 { margin: 0 0 .5rem; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); line-height: 1.85; font-size: .75rem; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(47,98,133,.20); border-radius: 6px; color: var(--primary); }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.value-card { padding: 1.5rem; border: 1px solid rgba(33,138,74,.10); border-radius: .375rem; background: rgba(255,255,255,.93); box-shadow: 0 2px 10px rgba(31,52,42,.03); }
.value-card h3 { margin: 0 0 10px; color: var(--primary); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1.25rem; font-weight: 600; }
.value-card p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-item { min-width: 0; padding: 0 2rem; }
.feature-item:first-child { padding-left: 0; }
.feature-item:last-child { padding-right: 0; }
.feature-item + .feature-item { border-left: 1px solid rgba(47,98,133,.16); }
.feature-number { margin-bottom: 1rem; color: var(--primary); font-size: 1.5rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.feature-item h3 { margin: 0 0 .5rem; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.feature-item p { margin: 0; color: rgba(74,85,96,.72); font-size: .875rem; line-height: 1.8; }
.capability-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.capability { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.capability:not(:last-child)::after { content: ''; width: 32px; height: 1px; margin-left: 8px; background: rgba(47,98,133,.3); }
.capability .icon { width: 32px; height: 32px; border-radius: 50%; }
.capability .icon svg { width: 16px; height: 16px; }

.service-groups { display: grid; gap: 68px; }
.service-group h2 { margin: 0 0 24px; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1.8rem; font-weight: 600; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 64rem; margin: 0 auto; }
.detail-card { padding: 1.5rem; border: 1px solid rgba(33,138,74,.10); border-radius: .375rem; background: rgba(255,255,255,.93); box-shadow: 0 2px 10px rgba(31,52,42,.03); }
.detail-head { display: flex; min-width: 0; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.detail-head .icon { flex: 0 0 auto; }
.detail-card h3 { min-width: 0; margin: 0; padding-top: .25rem; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.detail-card > .detail-head + p { margin: 0 0 20px; color: var(--muted); }
.detail-audience { margin-bottom: 20px; }
.detail-audience p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.85; }
.detail-features .detail-label { margin: 0 0 8px; }
.detail-label { margin: 0 0 6px; color: rgba(47,98,133,.85); font-size: .75rem; font-weight: 500; line-height: 1.333333; letter-spacing: .025em; }
.detail-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.detail-list li { display: flex; align-items: flex-start; gap: 8px; padding: 0; color: var(--muted); font-size: .875rem; line-height: 1.625; }
.detail-list .check-icon { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 2px; color: var(--primary); stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.process-grid::before { content: ''; position: absolute; top: 1.25rem; left: 10%; right: 10%; height: 1px; background: rgba(47,98,133,.2); }
.process-step { position: relative; z-index: 1; min-width: 0; padding: .5rem .5rem; text-align: center; }
.step-number { position: relative; z-index: 1; display: flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; margin: 0 auto 1rem; border: 1px solid rgba(47,98,133,.3); border-radius: 999px; color: var(--primary); background: rgba(255,255,255,.9); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.process-step h3 { margin: 0 0 .5rem; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 1rem; font-weight: 600; }
.process-step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }

.cta { text-align: center; }
.cta h2 { max-width: 700px; margin: 0 auto; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
.cta p { max-width: 660px; margin: 18px auto 30px; color: var(--muted); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border: 1px solid var(--primary); border-radius: 8px; color: #fff; background: var(--primary); font-size: 1rem; font-weight: 600; letter-spacing: .015em; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.btn-primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); box-shadow: 0 8px 20px rgba(47,98,133,.18); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.97); }
.btn-primary svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { margin: 0 0 16px; color: var(--ink); font-family: 'Noto Sans TC', Arial, sans-serif; font-size: 2rem; font-weight: 600; line-height: 1.35; }
.contact-info p { margin: 0 0 28px; color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .icon { flex: 0 0 auto; width: 34px; height: 34px; }
.form-card, .content-card-strong { padding: 2rem; border: 1px solid rgba(33,138,74,.12); border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: 0 3px 12px rgba(31,52,42,.04); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid rgba(31,41,51,.18); border-radius: 8px; color: var(--ink); background: rgba(255,255,255,.7); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(74,85,96,.62); }
.field input:focus, .field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(47,98,133,.12); outline: none; }
.form-actions { display: flex; justify-content: center; padding-top: 4px; }
.form-actions .btn-primary { width: 240px; max-width: 100%; }
.form-status { margin: 0 0 20px; padding: 12px 14px; border-radius: 8px; font-size: .92rem; }
.form-status.success { color: #236044; border: 1px solid rgba(35,96,68,.22); background: rgba(35,96,68,.08); }
.form-status.error { color: #9f2d2d; border: 1px solid rgba(159,45,45,.22); background: rgba(159,45,45,.08); }
.form-status[hidden] { display: none; }

.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: var(--primary); box-shadow: 0 6px 18px rgba(31,41,51,.13); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s var(--ease), background-color .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--primary-hover); transform: translateY(-2px); }
.back-top svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

html[lang="zh-TW"] body { font-family: 'Noto Sans TC', Arial, sans-serif; color: #3f4852; line-height: 1.85; letter-spacing: 0; }
html[lang="zh-TW"] h1, html[lang="zh-TW"] h2, html[lang="zh-TW"] h3, html[lang="zh-TW"] h4 { font-family: 'Noto Sans TC', Arial, sans-serif; color: #1f2933; }
html[lang="zh-TW"] p { color: #4a5560; line-height: 1.85; letter-spacing: .005em; }
html[lang="en"] body, html[lang="en"] .site-nav a, html[lang="en"] .mobile-nav a, html[lang="en"] .btn-primary, html[lang="en"] .field label { font-family: Manrope, Arial, sans-serif; }
[lang="en"] .hero-content h1, [lang="en"] .section-heading h2, [lang="en"] .section-heading h3, [lang="en"] .card h3, [lang="en"] .value-card h3, [lang="en"] .feature-item h3, [lang="en"] .service-group h2, [lang="en"] .detail-card h3, [lang="en"] .process-step h3, [lang="en"] .cta h2, [lang="en"] .contact-info h2 { font-family: 'Space Grotesk', Arial, sans-serif; }
[lang="en"] .hero-content h1 { letter-spacing: -.025em; }
[lang="en"] .section-heading h2, [lang="en"] .cta h2 { letter-spacing: -.015em; }

@media (min-width: 768px) {
  .section-heading h2 { font-size: 2.25rem; }
  .home-services-heading h2 { font-size: 3rem; }
  .card { padding: 1.5rem; }
  .card h3 { font-size: 1.125rem; }
  .card p { font-size: .875rem; }
  .detail-card { padding: 1.75rem; }
  .detail-card h3 { font-size: 1.5rem; }
  .service-detail-grid { gap: 24px; }
}

@media (max-width: 1023px) {
  .header-inner, .container { width: calc(100% - 48px); }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 14px; }
  .service-grid, .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-item { padding: 1.5rem; }
  .feature-item:nth-child(odd) { padding-left: 0; }
  .feature-item:nth-child(even) { padding-right: 0; border-left: 1px solid rgba(47,98,133,.16); }
  .feature-item:nth-child(n + 3) { padding-top: 2rem; border-top: 1px solid rgba(47,98,133,.12); }
  .feature-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-content-group { transform: translateY(-40px); }
}

@media (max-width: 767px) {
  .header-inner { width: calc(100% - 32px); height: 64px; }
  .brand { gap: 8px; }
  .brand img { height: 32px; }
  .brand-name { font-size: 18px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-nav { display: none; padding: 14px 16px 18px; border-top: 1px solid rgba(47,98,133,.1); border-bottom: 1px solid rgba(47,98,133,.14); background: rgba(255,255,255,.94); }
  .mobile-nav.is-open { display: grid; gap: 10px; }
  .mobile-nav a { padding: 9px 4px; font-size: 15px; }
  .lang-switch { padding: 3px; }
  .lang-switch button { min-width: 35px; padding: 6px 7px; font-size: 12px; }
  .site-hero { min-height: 100svh; background: transparent; }
  body::before { background-size: contain; background-position: center; }
  .section-surface, .section-surface-soft, .section-surface-green, .section-surface-cta { background: rgba(255,255,255,.86); }
  .section-surface-green { background: rgba(244,248,245,.88); }
  .section-surface-cta { background: rgba(238,246,240,.91); }
  .hero-content { width: 100%; }
  .hero-content-group { gap: 1.5rem; width: min(100%, 30rem); transform: translateY(-20px); }
  .hero-content h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); line-height: 1.28; letter-spacing: .015em; }
  .hero-content p { max-width: 21rem; margin: 0; font-size: 1rem; line-height: 1.8; }
  .hero-decor.top { top: 70px; right: -100px; }
  .hero-decor.bottom { bottom: 50px; left: -100px; }
  .section { padding: 70px 0; }
  .container { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); line-height: 1.35; letter-spacing: .018em; }
  .home-services-heading h2 { font-size: 2.25rem; line-height: 1.2; }
  .service-grid, .value-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-item:first-child, .feature-item:last-child, .feature-item:nth-child(odd), .feature-item:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .feature-item:first-child { padding-top: 0; }
  .feature-item + .feature-item { border-top: 1px solid rgba(47,98,133,.12); }
  .card { padding: 20px; }
  .value-card, .detail-card, .form-card { padding: 24px; }
  .service-groups { gap: 48px; }
  .service-group h2 { font-size: 1.5rem; }
  .process-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-grid::before { display: none; }
  .capability-row { align-items: center; flex-direction: column; gap: 13px; }
  .capability:not(:last-child)::after { display: none; }
  .cta h2 { font-size: 1.85rem; }
  .btn-primary { width: 100%; min-height: 54px; padding: 13px 22px; }
  .form-actions .btn-primary { width: 100%; }
  .back-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 380px) {
  .hero-content h1 { font-size: 2.05rem; }
  .lang-switch button { min-width: 32px; padding-inline: 5px; }
}

/* Canonical responsive utility corrections */
@media (min-width: 768px) {
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .container { width: min(1216px, calc(100% - 48px)); }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Canonical Hero subtitle scopes */
body[data-page="home"] .hero-content-group { gap: 2rem; }
body[data-page="home"] .hero-content p { font-size: 1.5rem; line-height: 1.5; }
@media (min-width: 768px) {
  .hero-content-group { transform: translateY(-51px); }
  body[data-page="home"] .hero-content p { font-size: 1.5rem; line-height: 1.5; }
}
@media (max-width: 767px) {
  body[data-page="home"] .hero-content-group { gap: 2rem; transform: translateY(-30px); }
  body[data-page="home"] .hero-content p { font-size: 1.25rem; line-height: 1.5; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content-group { transform: translateY(-31px); }
}

/* Home Hero canonical spacing and subtitle rhythm */
body[data-page="home"] .hero-content h1 { margin-bottom: 2rem; }
body[data-page="home"] .hero-content p { line-height: 1.8; }
@media (max-width: 767px) {
  body[data-page="home"] .hero-content-group { gap: 1.5rem; }
}

@media (min-width: 1024px) {
  body[data-page="home"] .hero-content-group { transform: translateY(-52px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body[data-page="home"] .hero-content-group { transform: translateY(-32px); }
}
@media (max-width: 767px) {
  body[data-page="home"] .hero-content-group { transform: translateY(-20px); }
  body[data-page="home"] .hero-content p { margin-inline: auto; }
}


/* Editorial Typography System — synchronized with canonical typography */

.about-story-copy { max-width: 56rem; margin: 0 auto; }
.about-story-copy p { margin: 0; }
.about-story-copy .about-story-lead {
  max-width: 54rem;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.3vw, 1.375rem);
  font-weight: 600;
  line-height: 1.8;
}
.about-story-copy .about-story-body {
  max-width: 54rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.9;
}
.about-story-copy .about-story-lead + .about-story-body { margin-top: 2rem; }
.about-story-copy .about-story-body + .about-story-body { margin-top: 1.5rem; }

html[lang="zh-TW"] main h2,
html[lang="en"] main h2 {
  font-size: clamp(2.25rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
html[lang="zh-TW"] .site-hero h1,
html[lang="en"] .site-hero h1 {
  font-size: clamp(2.125rem, 4.5vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: -.015em;
}
html[lang="zh-TW"] body { font-size: 1.0625rem; }
html[lang="zh-TW"] main p { font-size: 1.0625rem; line-height: 1.85; }

html[lang="zh-TW"] .card h3,
html[lang="zh-TW"] .value-card h3,
html[lang="zh-TW"] .feature-item h3,
html[lang="zh-TW"] .detail-card h3,
html[lang="zh-TW"] .process-step h3,
html[lang="en"] .card h3,
html[lang="en"] .value-card h3,
html[lang="en"] .feature-item h3,
html[lang="en"] .detail-card h3,
html[lang="en"] .process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

html[lang="zh-TW"] .card p,
html[lang="zh-TW"] .value-card p,
html[lang="zh-TW"] .feature-item p,
html[lang="zh-TW"] .detail-card p,
html[lang="zh-TW"] .process-step p,
html[lang="en"] .card p,
html[lang="en"] .value-card p,
html[lang="en"] .feature-item p,
html[lang="en"] .detail-card p,
html[lang="en"] .process-step p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.feature-number,
.step-number,
.detail-label { font-family: 'Space Grotesk', Arial, sans-serif; }
.feature-number { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; }
.step-number { font-size: 1.625rem; font-weight: 600; letter-spacing: -.02em; }

html[lang="en"] .site-nav a,
html[lang="en"] .mobile-nav a,
html[lang="en"] button,
html[lang="en"] label,
html[lang="en"] .btn-primary,
html[lang="en"] .lang-switch button {
  font-family: 'Space Grotesk', Arial, sans-serif;
}
html[lang="en"] .site-nav a,
html[lang="en"] .mobile-nav a { font-weight: 500; letter-spacing: .03em; }
html[lang="en"] button,
html[lang="en"] .btn-primary { font-weight: 600; letter-spacing: .015em; }

@media (max-width: 767px) {
  html[lang="zh-TW"] main h2,
  html[lang="en"] main h2 { font-size: clamp(1.875rem, 8vw, 2.125rem); line-height: 1.3; }
  html[lang="zh-TW"] body,
  html[lang="zh-TW"] main p,
  html[lang="en"] main p { font-size: 1rem; }
  .about-story-copy .about-story-lead { font-size: 1.125rem; line-height: 1.8; }
  .about-story-copy .about-story-body { font-size: 1rem; line-height: 1.9; }
  .about-story-copy .about-story-lead + .about-story-body { margin-top: 1.75rem; }
  .about-story-copy .about-story-body + .about-story-body { margin-top: 1.5rem; }
  .feature-number { font-size: 1.625rem; }
  .step-number { font-size: 1.5rem; }
}


/* Section-title weight: calm editorial hierarchy; CTA remains the strongest title. */
html[lang="zh-TW"] main h2,
html[lang="en"] main h2 { font-weight: 600; }
html[lang="zh-TW"] .section-surface-cta h2,
html[lang="en"] .section-surface-cta h2 { font-weight: 700; }

.step-number { line-height: 1; }


/* English UI remains readable in Manrope; Space Grotesk is reserved for editorial labels and numerals. */
html[lang="en"] .site-nav a,
html[lang="en"] .mobile-nav a,
html[lang="en"] button,
html[lang="en"] label,
html[lang="en"] .btn-primary,
html[lang="en"] .lang-switch button {
  font-family: 'Manrope', Arial, sans-serif;
}
html[lang="en"] .site-hero h1 { font-size: clamp(2rem, 4.2vw, 3.5625rem); }
html[lang="en"] main h2 { font-size: clamp(2.125rem, 3vw, 2.375rem); }
html[lang="en"] .card h3,
html[lang="en"] .value-card h3,
html[lang="en"] .feature-item h3,
html[lang="en"] .detail-card h3,
html[lang="en"] .process-step h3 { font-size: 1.1875rem; }
html[lang="en"] main p { font-size: 1rem; line-height: 1.75; }

.feature-number,
.step-number { font-variant-numeric: tabular-nums; }


/* Hero subtitle micro-alignment with the canonical page typography. */
html[lang="zh-TW"] .site-hero .hero-content-group > p { line-height: 1.8; letter-spacing: .01em; }
html[lang="en"] .site-hero h1 { font-weight: 600; }
html[lang="en"] .site-hero .hero-content-group > p { line-height: 1.55; letter-spacing: .005em; }
