:root { color-scheme: light; --ink: #172033; --muted: #46546a; --gold: #d68c0e; --navy: #111d2d; --line: #dfe5ec; }
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.65 system-ui, "Noto Sans TC", sans-serif; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #a46000; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #fff; }
.header-inner, .header-actions, .section-nav, .language-switch, .actions, .footer { display: flex; align-items: center; }
.header-inner { min-height: 84px; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; display: inline-flex; }
.brand-wordmark { color: var(--gold); font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.brand img { width: 124px; height: auto; object-fit: contain; }
.section-nav, .header-actions { gap: clamp(16px, 2.4vw, 32px); }
.section-nav a:hover, .language-switch a:hover { text-decoration: underline; text-underline-offset: .23em; }
.language-switch { gap: 8px; font-size: .875rem; white-space: nowrap; }
.language-switch [aria-current] { font-weight: 750; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 22px; border-radius: 7px; border: 1px solid transparent; font-weight: 750; white-space: nowrap; }
.primary { color: #19180f; background: var(--gold); }
.primary:hover { background: #f1a724; }
.outline { color: white; border-color: #ffffff8a; }
.outline:hover { background: #ffffff1f; }
.hero { color: #fff; background: var(--navy); position: relative; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero::after { position: absolute; inset: 0; content: ""; background-image: linear-gradient(90deg, #111d2d 0%, #111d2de6 28%, #111d2d10 78%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; min-height: 560px; display: grid; align-items: center; padding-block: 58px; }
.hero-copy { max-width: 660px; }
.eyebrow { color: #8b5000; font-weight: 750; margin-bottom: 10px; }
.hero .eyebrow { color: #ffc46a; }
h1 { font-size: clamp(2.55rem, 5.7vw, 5rem); letter-spacing: -.045em; text-wrap: balance; }
.intro { max-width: 30rem; margin-top: 22px; color: #ecf0f5; font-size: 1.12rem; }
.actions { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section { padding-block: 72px; }
.feature-grid, .use-grid { display: grid; gap: 18px; margin-top: 30px; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; background: #fff1da; color: #765000; font-weight: 800; font-size: 1.4rem; margin-bottom: 17px; }
.feature p, .workflow p:not(.eyebrow), .use-grid p { margin-top: 9px; color: var(--muted); }
.workflow { background: #f1f4f8; }
.workflow-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 100px); align-items: center; }
.steps { margin: 0; padding: 0 0 0 30px; }
.steps li { padding: 16px 0 16px 12px; border-bottom: 1px solid #cbd3df; }
.steps li:last-child { border: 0; }
.steps li::marker { font-weight: 800; color: #8b5000; }
.use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-grid article { border-top: 3px solid var(--gold); padding: 18px 12px 0 0; }
.closing-wrap { padding-bottom: 45px; }
.closing { background: var(--navy); color: #fff; padding: clamp(24px, 5vw, 52px); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.closing .actions { margin-top: 0; }
.footer { justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 22px; }
@media (max-width: 960px) {
    .header-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; }
    .section-nav { order: 3; width: 100%; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
    .wrap { width: calc(100% - 36px); }
    .brand-wordmark { font-size: 1.05rem; }
    .header-actions { flex-wrap: wrap; gap: 8px 14px; }
    .header-actions .button { padding-inline: 12px; }
    .brand img { width: 104px; }
    .section-nav { flex-wrap: wrap; font-size: .95rem; }
    .hero-inner { min-height: 510px; }
    .hero-image { object-position: right center; }
    .hero::after { background-image: linear-gradient(90deg, #111d2de8, #111d2d66); }
    .section { padding-block: 48px; }
    .feature-grid, .use-grid, .workflow-layout { grid-template-columns: 1fr; }
    .closing { align-items: flex-start; flex-direction: column; }
}

.home-news { border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.home-news-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.home-news-controls:not([hidden]) { display: flex; gap: .5rem; }
.home-news-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 1.25rem;
    cursor: pointer;
}
.home-news-controls button:hover:not(:disabled) { border-color: #a46000; }
.home-news-controls button:focus-visible { outline: 3px solid #a46000; outline-offset: 2px; }
.home-news-controls button:disabled { opacity: .45; cursor: default; }
.home-news-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
    margin: 1.1rem 0 0;
    padding: .4rem 0 .65rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    list-style: none;
}
.home-news-track > li { min-width: 0; scroll-snap-align: start; }
.home-news-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 10rem;
    height: 100%;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 12px;
    overflow-wrap: anywhere;
}
.home-news-card:hover { border-color: #a46000; }
.home-news-card:focus-visible { outline-offset: -4px; }
.home-news-card p, .home-news-empty { color: var(--muted); }
.home-news-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.home-news-read { margin-top: auto; color: #854d00; font-weight: 750; }
.home-news-empty { margin-top: 1rem; }
@media (max-width: 960px) {
    .home-news-track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 630px) {
    .home-news-track { grid-auto-columns: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.home-article main > .intro { max-width: none; margin-bottom: 1.5rem; color: var(--muted); }
.home-article .news-article-body { line-height: 1.65; overflow-wrap: anywhere; }
.home-article .news-article-body img { max-width: 100%; height: auto; }
.home-article .news-article-body pre { white-space: pre-wrap; }
.home-article .news-article-body table { border-collapse: collapse; max-width: 100%; }
.home-article .news-article-body :is(th, td) { border: 1px solid #8995a4; padding: .4rem .6rem; }
.home-article .news-article-body a { color: #854d00; text-decoration: underline; }
