.main-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid #e2e7f0; font-family: 'DM Sans','Noto Sans TC','Microsoft JhengHei',system-ui,sans-serif; line-height: 1.65; }
.main-header * { box-sizing: border-box; }
.main-header-inner { width: min(1180px,calc(100% - 48px)); min-height: 74px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.main-header .main-brand { color: #2563ff; font-size: 1.55rem; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; text-decoration: none; }
.main-navigation { display: flex; align-items: center; gap: clamp(20px,3vw,38px); }
.main-header .main-navigation a { color: #36415a; font-size: .98rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.main-header .main-navigation a:hover, .main-header .main-navigation a[aria-current="page"] { color: #2563ff; }
.main-header .main-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.main-header .main-navigation .main-quote-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; color: #fff; background: #080d22; font-weight: 600; }
.main-header .main-navigation .main-quote-button:hover { color: #fff; background: #192342; }
.main-menu-toggle { display: none; border: 0; padding: 8px; background: none; color: #080d22; font: inherit; font-size: 1.35rem; cursor: pointer; }
.main-header :focus-visible { outline: 3px solid #2563ff; outline-offset: 5px; }
html { scroll-padding-top: 90px; }
@media (max-width: 650px) {
    .main-header-inner { width: calc(100% - 34px); min-height: 64px; flex-wrap: wrap; gap: 0; }
    .main-menu-toggle { display: block; }
    .main-navigation { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 18px; }
    .main-navigation.is-open { display: flex; }
    .main-header .main-navigation a { padding: 12px 0; }
    .main-header .main-navigation .main-quote-button { margin-top: 8px; padding: 10px 22px; }
    html { scroll-padding-top: 80px; }
}
