@import url("./ezround-header.css?v=1.3.2");
@import url("./ezround-hero.css?v=1.2.0");
@import url("./ezround-phone.css?v=1.1.0");
@import url("./ezround-content.css?v=1.2.0");
@import url("./ezround-responsive.css?v=1.2.0");
@import url("./ezround-motion.css?v=1.3.2");

:root {
    --ez-navy: #073767;
    --ez-navy-dark: #022947;
    --ez-navy-soft: #0b4c78;
    --ez-teal: #0795a5;
    --ez-teal-light: #54c8cc;
    --ez-orange: #ffaa0a;
    --ez-ink: #102c3c;
    --ez-muted: #566c79;
    --ez-line: #dce5e7;
    --ez-surface: #f3f7f6;
    --ez-white: #fff;
    --ez-shadow: 0 24px 70px rgba(2, 41, 71, .13);
    --ez-button-radius: 13px;
    --ez-button-shadow: 0 12px 28px rgba(2, 41, 71, .16), inset 0 1px 0 rgba(255, 255, 255, .18);
    --ez-button-shadow-green: 0 12px 27px rgba(0, 133, 57, .18), inset 0 1px 0 rgba(255, 255, 255, .24);
    --ez-button-shadow-light: 0 10px 24px rgba(2, 41, 71, .08), inset 0 1px 0 #fff;
    --ez-font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
    --ez-title-spacing: -.018em;
}

html { overflow-x: clip; scroll-behavior: smooth; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; color: var(--ez-ink); background: var(--ez-white); font-family: var(--ez-font-sans); font-size: 16px; line-height: 1.8; letter-spacing: .012em; font-kerning: normal; text-autospace: normal; line-break: strict; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.ez-menu-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, li, summary, td, th { line-break: strict; overflow-wrap: break-word; }
p { text-wrap: pretty; }
h1, h2, h3, h4, strong { font-kerning: normal; text-autospace: normal; }
h1, h2, h3, h4 { text-wrap: balance; }
.ez-title-line { display: inline-block; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.ez-section { padding: 120px 0; position: relative; }
.ez-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ez-teal); font-family: "Roboto Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.ez-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ez-orange); }
.ez-section h2 { margin: 0; color: var(--ez-navy-dark); font-size: clamp(36px, 4.2vw, 58px); font-weight: 800; line-height: 1.25; letter-spacing: var(--ez-title-spacing); }
.ez-section-head { margin-bottom: 64px; }
.ez-section-split { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: 100px; }
.ez-section-split > p { margin: 0 0 8px; color: var(--ez-muted); font-size: 18px; line-height: 1.9; }
.ez-centered { max-width: 780px; margin-inline: auto; text-align: center; }
.ez-centered .ez-eyebrow::before { display: none; }
.ez-centered p { max-width: 670px; margin: 24px auto 0; color: var(--ez-muted); font-size: 18px; }
.ez-back-top { position: fixed; z-index: 900; right: 24px; bottom: 24px; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; color: #fff; background: linear-gradient(145deg,var(--ez-navy-soft),var(--ez-navy-dark)); box-shadow: 0 14px 32px rgba(2,41,71,.24),inset 0 1px 0 rgba(255,255,255,.2); cursor: pointer; }
.ez-back-top:focus-visible { outline: 3px solid rgba(84,200,204,.48); outline-offset: 3px; }
.ez-back-top:active { transform: translateY(1px) scale(.96); }
@keyframes ezFade { from { opacity: 0; transform: translateY(7px); } }
@keyframes ezSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .ez-footer { flex: 0 0 auto; }
.ez-contact-body > main { padding-top: 82px; }
.ez-contact-body .ez-simple-contact { width: 100%; min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 70px 0 90px; background: var(--ez-surface); }
.ez-contact-body .ez-simple-contact-inner { max-width: 900px; text-align: center; }
.ez-contact-body .ez-simple-contact .ez-eyebrow { justify-content: center; }
.ez-contact-body .ez-simple-contact .ez-eyebrow::before { display: none; }
.ez-contact-body .ez-simple-contact h1 { margin: 0; color: var(--ez-navy-dark); font-size: clamp(52px, 7vw, 80px); font-weight: 800; line-height: 1.18; letter-spacing: var(--ez-title-spacing); }
.ez-contact-body .ez-simple-contact-card { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: stretch; margin-top: 55px; border: 1px solid var(--ez-line); border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(2,41,71,.08); overflow: hidden; }
.ez-contact-body .ez-simple-contact-item { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px; }
.ez-contact-body .ez-simple-contact-item > span { margin-bottom: 16px; color: var(--ez-teal); font-family: "Roboto Mono",monospace; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.ez-contact-body .ez-simple-contact-item a,.ez-contact-body .ez-simple-contact-item strong { color: var(--ez-navy); font-weight: 800; }
.ez-contact-body .ez-simple-contact-item a { font-size: clamp(17px,2vw,24px); white-space: nowrap; letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
.ez-contact-body .ez-simple-contact-item strong { font-size: clamp(20px,2.5vw,28px); }
.ez-contact-body .ez-simple-contact-item a:hover { color: var(--ez-teal); }
.ez-contact-body .ez-simple-contact-item p { margin: 7px 0 0; color: var(--ez-muted); font-size: 15px; }
.ez-contact-body .ez-simple-contact-divider { background: var(--ez-line); }
@media (max-width: 767px) {
    .ez-contact-body > main { padding-top: 72px; }
    .ez-contact-body .ez-simple-contact { min-height: calc(100vh - 72px); padding: 55px 0 70px; }
    .ez-contact-body .ez-simple-contact-card { grid-template-columns: 1fr; margin-top: 38px; }
    .ez-contact-body .ez-simple-contact-divider { width: auto; height: 1px; }
    .ez-contact-body .ez-simple-contact-item { min-height: 165px; padding: 28px 20px; }
}

.ez-section-head h2,
.ez-role-copy > h2,
.ez-comparison-copy h2,
.ez-faq-intro h2,
.ez-contact h2 {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

.ez-role-copy > h2 { font-size: clamp(38px,3.35vw,48px); }
.ez-comparison-copy h2 { font-size: clamp(34px,3.6vw,48px); }

/* 手機快捷列屬於必要操作介面，核心樣式不可依賴動畫樣式表。 */
.ez-mobile-conversion { display: none; }

@media (max-width: 991px) {
    .ez-section-split {
        grid-template-columns: minmax(0,1fr);
        align-items: start;
        gap: 26px;
    }
}

@media (max-width: 767px) {
    .ez-section { padding: 76px 0; }
    .ez-section-head { margin-bottom: 45px; }
    .ez-section .ez-section-head h2,
    .ez-section .ez-role-copy > h2,
    .ez-section .ez-comparison-copy h2,
    .ez-section .ez-faq-intro h2,
    .ez-contact h2 {
        font-size: clamp(28px,7.5vw,36px);
    }

    .ez-mobile-conversion {
        position: fixed;
        z-index: 980;
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(7, 55, 103, .1);
        border-radius: 16px;
        background: rgba(255, 255, 255, .93);
        box-shadow: 0 18px 50px rgba(2, 41, 71, .2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px) scale(.97);
        transition: opacity .25s ease, transform .35s var(--ez-ease-out);
        backdrop-filter: blur(16px);
    }

    .ez-mobile-cta-visible .ez-mobile-conversion {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .ez-menu-open .ez-mobile-conversion {
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px) scale(.97);
    }

    .ez-mobile-conversion a {
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid transparent;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
        transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
    }

    .ez-mobile-conversion a i {
        width: 25px;
        height: 25px;
        display: grid;
        flex: 0 0 25px;
        place-items: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, .15);
    }

    .ez-mobile-conversion .ez-mobile-quick-download {
        color: #fff;
        border-color: rgba(7, 55, 103, .88);
        background: linear-gradient(180deg, #0b4b87 0%, var(--ez-navy) 100%);
        box-shadow: 0 7px 16px rgba(2, 41, 71, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

    .ez-mobile-conversion .ez-mobile-quick-line {
        color: #073b1e;
        border-color: rgba(6, 199, 85, .92);
        background: linear-gradient(180deg, #16d965 0%, #06c755 100%);
        box-shadow: 0 7px 16px rgba(0, 133, 57, .2), inset 0 1px 0 rgba(255, 255, 255, .24);
    }

    .ez-mobile-conversion .ez-mobile-quick-line i {
        background: rgba(255, 255, 255, .25);
    }

    .ez-mobile-conversion a:active {
        transform: scale(.975);
        box-shadow: inset 0 2px 5px rgba(2, 41, 71, .14);
    }

    .ez-mobile-conversion a:focus-visible {
        outline: 3px solid rgba(255, 176, 0, .62);
        outline-offset: 2px;
    }

    .ez-footer { padding-bottom: 82px; }
}

@media (max-width: 359px) {
    .ez-title-mobile-line { display: block; }
    .ez-badge { gap: 8px; padding-inline: 10px; font-size: 10px; white-space: nowrap; }
}
.ez-language-links {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem;
    border: 1px solid rgba(7, 55, 103, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.ez-language-links a {
    padding: .28rem .44rem !important;
    border-radius: 999px;
    font-size: .72rem !important;
    line-height: 1;
    white-space: nowrap;
}

.ez-language-links a[aria-current="page"] {
    color: #fff !important;
    background: #073767;
}

.ez-language-links-mobile {
    justify-content: center;
    width: fit-content;
    margin: .4rem 0;
}

.ez-language-menu {
    position: relative;
    flex: 0 0 auto;
}

.ez-language-menu summary {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: 0 .7rem;
    border: 1px solid rgba(7, 55, 103, .14);
    border-radius: 999px;
    color: #294b60;
    background: rgba(255, 255, 255, .78);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
}

.ez-language-menu summary::-webkit-details-marker {
    display: none;
}

.ez-language-menu summary:hover,
.ez-language-menu summary:focus-visible,
.ez-language-menu[open] summary {
    border-color: rgba(7, 149, 165, .42);
    color: var(--ez-navy);
    background: #fff;
}

.ez-language-menu summary:focus-visible {
    outline: 3px solid rgba(7, 149, 165, .2);
    outline-offset: 2px;
}

.ez-language-menu-chevron {
    font-size: .62rem;
    transition: transform .18s ease;
}

.ez-language-menu[open] .ez-language-menu-chevron {
    transform: rotate(180deg);
}

.ez-language-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10;
    min-width: 148px;
    display: grid;
    gap: 2px;
    padding: 7px;
    border: 1px solid rgba(7, 55, 103, .13);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 38px rgba(2, 41, 71, .16);
}

.ez-desktop-nav .ez-language-menu-panel a {
    display: block;
    padding: .62rem .72rem;
    border-radius: 9px;
    font-size: .82rem;
    line-height: 1.2;
    white-space: nowrap;
}

.ez-desktop-nav .ez-language-menu-panel a::after {
    display: none;
}

.ez-desktop-nav .ez-language-menu-panel a:hover,
.ez-desktop-nav .ez-language-menu-panel a:focus-visible {
    background: rgba(7, 149, 165, .09);
}

.ez-desktop-nav .ez-language-menu-panel a[aria-current="page"] {
    color: #fff;
    background: var(--ez-navy);
}

.ez-mobile-language-group {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ez-line);
}

.ez-mobile-language-title {
    display: block;
    margin-bottom: 8px;
    color: var(--ez-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.ez-mobile-nav .ez-language-links-mobile {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
}

.ez-mobile-nav .ez-language-links-mobile a {
    display: inline-flex;
    align-items: center;
    border-bottom: 0;
}

.ez-footer-bottom {
    gap: 18px;
}

.ez-footer-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.ez-footer-language-label {
    color: rgba(255, 255, 255, .48);
    font-size: .72rem;
    white-space: nowrap;
}

.ez-footer-language .ez-language-links {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
}

.ez-footer-language .ez-language-links a {
    color: rgba(255, 255, 255, .72);
}

.ez-footer-language .ez-language-links a:hover,
.ez-footer-language .ez-language-links a:focus-visible {
    color: #fff;
}

.ez-footer-language .ez-language-links a[aria-current="page"] {
    color: var(--ez-navy) !important;
    background: #fff;
}

@media (max-width: 767px) {
    .ez-footer-language {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Translated copy is often longer than Traditional Chinese. Keep localized headings readable instead of clipping them. */
html:not([lang="zh-Hant-TW"]) :is(
    .ez-title-line,
    .ez-hero h1 > span,
    .ez-hero h1 em,
    .ez-app-purpose h2,
    .ez-app-purpose h2 span,
    .ez-workflow-page h1,
    .ez-application-hero h1,
    .ez-download-page h1 span,
    .ez-download-phone h2,
    .ez-about-hero h1,
    .guide-hero h1 span,
    .ez-manager-question-grid strong,
    .ez-core-card h3,
    .ez-management-steps strong,
    .ez-record-proof-grid b
) {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

html:not([lang="zh-Hant-TW"]) .ez-footer-main nav {
    flex-wrap: wrap;
}
