:root { --ink: #183d3b; --body: #405551; --paper: #fff; --wash: #f4f5ef; --line: #dce3db; --accent: #b38b4c; --soft: #e7ede3; --max: 1240px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--body); background: var(--paper); font: 16px/1.75 "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:hover { color: #8b6228; }
:focus-visible { outline: 3px solid #9d6a23; outline-offset: 5px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; }
h1, h2 { font-family: Georgia, "Noto Serif TC", "PMingLiU", serif; }
h1 { max-width: 1000px; margin-bottom: 25px; font-size: clamp(2.35rem, 4.3vw, 4rem); line-height: 1.14; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 20px; }
h3 { font-size: 1.22rem; line-height: 1.35; margin-bottom: 14px; }
p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
:lang(zh-Hant) h1 { line-height: 1.4; letter-spacing: .02em; }
:lang(zh-Hant) h2 { line-height: 1.45; letter-spacing: .01em; }
.container { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 24px; top: -100px; background: var(--ink); color: white; padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { background: white; position: relative; z-index: 20; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 103px; }
.brand { display: flex; align-items: center; gap: 25px; color: var(--ink); text-decoration: none; }
.brand-mark { font: 600 43px/1 Georgia, serif; letter-spacing: -.055em; position: relative; padding-right: 9px; }
.brand-square { width: 8px; height: 8px; position: absolute; top: 4px; right: -1px; background: var(--accent); }
.brand-name { max-width: 230px; font-size: 12px; line-height: 1.45; letter-spacing: .075em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 25px; }
:lang(zh-Hant) .brand-name { max-width: none; font-size: 15px; letter-spacing: .1em; }
.header-tools { display: flex; align-items: center; gap: 24px; }
.language-switch { display: flex; align-items: center; gap: 9px; font-size: 13px; white-space: nowrap; }
.language-switch a { text-decoration: none; padding: 9px 5px; }
.language-switch [aria-current] { font-weight: 700; box-shadow: inset 0 -2px var(--ink); color: var(--ink); }
.language-switch span { color: #a8b3ae; }
.nav-wrap { border-block: 1px solid var(--line); }
.primary-nav { display: flex; justify-content: space-between; align-items: stretch; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.primary-nav > a, .nav-group > summary { padding: 19px 0; display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.primary-nav .is-current { box-shadow: inset 0 -2px var(--accent); }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.nav-group summary span { color: #82918a; }
.nav-group[open] > summary span { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -20px; width: 310px; padding: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 32px #193e3b12; text-transform: none; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.dropdown a { display: block; padding: 10px 12px; text-decoration: none; }
.dropdown a:hover { background: var(--wash); color: var(--ink); }
.primary-nav .login-link { color: white; background: var(--ink); padding-inline: 20px; margin-block: 9px; padding-block: 10px; text-transform: none; }
.login-link:hover { background: #285450; }
.menu-toggle { display: none; }
.hero { background: var(--wash); padding-block: 40px 62px; border-bottom: 1px solid var(--line); }
.home-hero { padding-block: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 72px; }
.hero-grid > * { min-width: 0; }
.eyebrow { color: #53675d; font: 600 11px/1.6 "Segoe UI", "Microsoft JhengHei", sans-serif; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 24px; display: block; }
.intro { font-size: 18px; line-height: 1.85; max-width: 800px; margin-bottom: 0; }
.home-hero h1 { font-size: clamp(2.7rem, 4.6vw, 4.3rem); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { background: var(--ink); color: white; display: inline-flex; gap: 24px; align-items: center; justify-content: center; padding: 13px 20px; font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); line-height: 1.7; }
.button:hover { background: #2b5550; color: white; }
.button.secondary { background: transparent; color: var(--ink); border-color: #b3beb2; }
.button.secondary:hover { background: var(--soft); }
.art-placeholder { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; border: 1px dashed #98a88f; background: #e7eddf; color: #56674e; font-size: 11px; letter-spacing: .07em; padding: 28px; }
.hero-art .art-placeholder { width: 100%; aspect-ratio: 1.13; border-radius: 50% 50% 0 0; border-style: solid; background: linear-gradient(140deg, #e8ebdf, #d7e0ce); border-color: #cbd5c2; min-height: 300px; }
.placeholder-mark { width: 50px; height: 50px; border: 1px solid #a6b49c; display: grid; place-items: center; font: 200 30px/1 Georgia, serif; }
.art-caption { margin: 16px 0 0; display: flex; align-items: center; justify-content: space-between; font-size: 11px; gap: 15px; }
.art-caption > span { letter-spacing: .2em; font-weight: 700; color: var(--ink); }
.principles-band { border-bottom: 1px solid var(--line); }
.principles-band .container { display: flex; justify-content: space-between; padding-block: 21px; gap: 20px; font-size: 12px; letter-spacing: .08em; color: #66775f; }
.principles-band span::before { content: '+'; margin-right: 12px; color: #9d7c43; }
.breadcrumb { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span:last-child { color: #6a7967; }
.content-layout { padding-block: 70px 90px; }
.with-sidebar { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.page-content { min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.page-content > * { margin: 0; }
.prose { max-width: 820px; }
.prose p { line-height: 1.95; }
.section-nav .eyebrow { margin-bottom: 18px; }
.section-nav nav { display: flex; flex-direction: column; }
.section-nav a { text-decoration: none; font-size: 14px; line-height: 1.55; padding: 13px 14px; border-left: 2px solid var(--line); }
.section-nav a:hover { background: var(--wash); }
.section-nav [aria-current] { border-color: var(--accent); background: var(--wash); font-weight: 600; color: var(--ink); }
.sidebar-help { margin-top: 38px; font-size: 13px; }
.sidebar-help p { margin-bottom: 8px; }
.sidebar-help a { padding: 0; border: 0; text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.with-sidebar .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); padding: 29px; display: flex; flex-direction: column; align-items: flex-start; }
.card h3 a { text-decoration: none; }
.card p { font-size: 14px; line-height: 1.85; }
.text-link { color: var(--ink); font-size: 13px; font-weight: 600; }
.card .text-link { margin-top: auto; padding-top: 12px; }
.notice { padding: 29px 32px; background: #f2f4ed; border-left: 3px solid #a28b50; display: flex; gap: 17px; }
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: #927846; margin-top: 10px; flex-shrink: 0; }
.notice h2 { font-family: inherit; font-size: 17px; letter-spacing: 0; font-weight: 600; margin-bottom: 10px; }
.notice p { font-size: 14px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; border-top: 1px solid var(--line); padding-top: 44px; }
.feature .art-placeholder { min-height: 330px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th, td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 115px; }
thead th { background: var(--ink); color: white; font-weight: 500; }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:nth-child(even) { background: #f7f8f4; }
tbody tr:last-child > * { border-bottom: none; }
.steps { list-style: none; padding: 0; }
.steps li { display: flex; gap: 24px; border-bottom: 1px solid var(--line); padding-block: 24px; }
.steps li:first-child { padding-top: 0; }
.steps h2 { font-family: inherit; font-size: 19px; font-weight: 500; margin-bottom: 10px; letter-spacing: 0; }
.step-number { font: 28px/1.2 Georgia, serif; color: #879378; min-width: 35px; }
.steps p { font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 500; }
.faq summary::after { content: '+'; font-size: 23px; line-height: 1.2; }
.faq [open] summary::after { content: '−'; }
.faq p { padding: 18px 35px 0 0; font-size: 15px; }
.sponsor-card { display: flex; align-items: center; gap: 30px; padding: 32px; background: var(--wash); }
.sponsor-wordmark { font: 30px Georgia, serif; color: var(--ink); padding: 30px; border: 1px solid var(--line); }
.sponsor-card h2 { font-size: 24px; margin-bottom: 12px; }
.sponsor-card p { font-size: 13px; margin-bottom: 10px; }
.contact-card { padding: 40px; background: var(--wash); border: 1px solid var(--line); }
.contact-card h2 { margin-bottom: 20px; }
.contact-card p { font-size: 14px; }
.contact-card p a { font-size: 22px; color: var(--ink); }
.contact-card .eyebrow { margin-bottom: 18px; }
.site-footer { background: #173e3c; color: #d0dbd4; padding-top: 55px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; padding-bottom: 50px; }
.footer-brand { font: 45px Georgia, serif; text-decoration: none; color: white; letter-spacing: -.05em; }
.footer-brand span { color: #d7b679; }
.footer-grid p { font-size: 12px; margin-top: 14px; max-width: 320px; }
.footer-tagline { color: #a7bdb2; }
.footer-grid h2 { font: 600 12px/1.5 "Segoe UI", "Microsoft JhengHei", sans-serif; color: #e0d3b4; margin-bottom: 17px; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-grid nav a { text-decoration: none; }
.site-footer a:hover { color: #f3dfb6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #3b5b53; padding-block: 21px; font-size: 11px; }
.footer-bottom p { margin: 0; }
.language-landing { max-width: 700px; margin: 10vh auto; padding: 32px; }
.language-landing h1 { margin-top: 40px; }
.language-landing nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 40px; }
  .primary-nav { font-size: 11px; gap: 10px; }
  .with-sidebar { grid-template-columns: 200px minmax(0, 1fr); gap: 35px; }
  .card { padding: 23px; }
}
@media (max-width: 980px) {
  .masthead { min-height: 85px; }
  .brand-name { display: none; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 9px 0 9px 9px; font-size: 14px; }
  .primary-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 14px; font-size: 13px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; }
  .primary-nav > a, .nav-group > summary { padding: 12px 0; }
  .dropdown { position: static; width: 100%; box-shadow: none; border: none; border-left: 1px solid var(--line); margin-bottom: 8px; }
  .primary-nav .login-link { align-self: flex-start; padding: 12px 20px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 30px; }
  .home-hero h1 { font-size: 3rem; }
  .hero-art .art-placeholder { min-height: 320px; }
  .cards { gap: 16px; }
  .with-sidebar { grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
  .with-sidebar .cards { grid-template-columns: 1fr; }
  .section-nav a { font-size: 13px; }
  .feature { gap: 35px; }
  .footer-grid { gap: 35px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .brand-mark { font-size: 36px; }
  .header-tools { gap: 18px; }
  .masthead { min-height: 78px; }
  .home-hero, .hero { padding-block: 36px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero h1 { font-size: 2.75rem; }
  :lang(zh-Hant) .home-hero h1 { font-size: 2.2rem; }
  h1 { font-size: 2.25rem; }
  .intro { font-size: 16px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-art { max-width: 430px; width: 100%; margin-inline: auto; }
  .hero-art .art-placeholder { min-height: 230px; aspect-ratio: auto; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .button { font-size: 12px; padding: 12px 15px; }
  .principles-band .container { flex-wrap: wrap; column-gap: 20px; row-gap: 8px; font-size: 10px; padding-block: 17px; }
  .content-layout { padding-block: 40px 55px; }
  .with-sidebar { grid-template-columns: 1fr; gap: 36px; }
  .section-nav { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .section-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .section-nav .eyebrow { margin-bottom: 12px; }
  .sidebar-help { display: none; }
  .cards, .with-sidebar .cards { grid-template-columns: 1fr; }
  .page-content { gap: 32px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .feature .art-placeholder { min-height: 210px; }
  .notice { padding: 23px 20px; gap: 12px; }
  .sponsor-card { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .sponsor-wordmark { padding: 18px 25px; }
  .contact-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .steps li { gap: 16px; }
  .breadcrumb { font-size: 11px; gap: 8px; margin-bottom: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .section-nav, .hero-art, .principles-band, .skip-link { display: none; }
  .container { width: 100%; }
  .hero, .content-layout { padding: 20px 0; }
  .with-sidebar { display: block; }
  .faq details p { display: block; }
  .card, .notice, .steps li { break-inside: avoid; }
}
