:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --surface: #fffdf9;
  --ink: #303a44;
  --muted: #535f69;
  --accent: #344c64;
  --soft-blue: #e8eef0;
  --sand: #d9b8a3;
  --line: #d8d8d3;
  font-family: "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.72;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #586f89; outline-offset: 4px; }
.wrap { width: min(1120px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-160%); z-index: 2; background: white; padding: 10px; }
.skip:focus { transform: none; }
.demo { padding: 5px 12px; text-align: center; background: #e7edf0; color: #3c5365; font-size: .78rem; }
header { border-bottom: 1px solid var(--line); }
.bar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark img { display: block; max-width: 100%; height: auto; }
nav { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 6px 18px; }
nav a { text-decoration: none; font-size: .89rem; font-weight: 600; padding: 9px 0; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
h1,h2,h3 { line-height: 1.24; margin: 0 0 .55em; }
h1,h2 { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: .035em; }
h2 { font-size: clamp(1.55rem,3.2vw,2.35rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
main { padding-block: clamp(26px, 5vw, 62px) 70px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 430px; border: 1px solid #ced8df; background: var(--soft-blue); overflow: hidden; border-radius: 4px 84px 4px 4px; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(28px, 5.5vw, 76px); }
.location { color: var(--accent); font-size: .86rem; font-weight: 650; letter-spacing: .09em; }
.hero-copy > p { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; gap: 11px; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: white; text-decoration: none; font-size: .9rem; font-weight: 650; margin: 4px 8px 4px 0; }
.button:hover { background: #26394c; }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: #dce4e9; }
.hero-art { position: relative; min-height: 220px; overflow: hidden; background: linear-gradient(160deg,#dfe8eb, #c4d2dc 58%, #98abba); }
.sun { position: absolute; right: 15%; top: 14%; width: 63%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #faf7ed; background: radial-gradient(circle at 40% 35%, #fff8e7, #e2c3ac 60%, #c5a698 100%); box-shadow: 0 0 75px #f7e6d9; }
.horizon { position: absolute; right: -18%; left: -35%; bottom: -46%; height: 98%; border-radius: 58% 50% 0 0; transform: rotate(-11deg); background: linear-gradient(155deg,#f6f4ee 9%, #aebec9 34%, #71889a 50%); opacity: .83; }
.horizon::before { content: ""; position: absolute; inset: 24px -35px 30px 0; border: 1px solid #f9f7f2; border-radius: 60% 49% 0 0; }
.front-section { margin-block: 54px; }
.section-heading, .callout, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin-bottom: 12px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-block: 12px 30px; }
.cards.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); background: var(--surface); min-height: 180px; padding: 23px; margin: 0; border-radius: 4px; }
.card p, .intro p, .prose p { color: var(--muted); }
.card a { margin-top: auto; }
.card h2 { font-size: clamp(1.25rem,3vw,1.7rem); }
.text-link { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 650; }
.callout { background: #eee3d9; padding: clamp(24px,4vw,43px); border-radius: 4px; }
.callout p { margin: 0; }
.back { display: inline-block; margin-bottom: 20px; font-size: .9rem; }
.intro { max-width: 750px; padding-block: 10px 21px; }
.inside h1 { font-size: clamp(2.2rem,5.6vw,3.7rem); }
.prose { max-width: 750px; padding-block: 21px; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 1.15em; }
.prose ul { padding-inline-start: 1.4em; }
dt { font-weight: 700; margin-top: .75em; }
dd { margin-left: 0; }
table { border-collapse: collapse; width: min(100%, 750px); margin-bottom: 28px; background: var(--surface); }
caption { font-weight: 700; text-align: left; margin-block: 6px 12px; }
th,td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
thead { background: var(--soft-blue); }
tbody th { font-weight: 500; }
.quote figcaption { color: var(--muted); margin-top: auto; padding-top: 1em; }
blockquote { margin: 0; }
.questions { max-width: 750px; margin-bottom: 25px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 13px 0; font-weight: 650; }
details p { padding-left: 18px; }
footer { background: #e5ecef; border-top: 1px solid var(--line); padding: 24px 0; font-size: .9rem; }
.foot a { margin-right: 14px; }
@media (max-width: 850px) {
  .bar { flex-wrap: wrap; gap: 0; padding-block: 8px; }
  nav { justify-content: start; }
  .wrap { width: min(100% - 36px,1120px); }
  .hero-copy { padding: 28px; }
}
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; border-top-right-radius: 45px; }
  .hero-art { min-height: 155px; }
  .sun { width: 45%; right: 12%; top: 10%; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .section-heading, .callout, .foot { align-items: start; flex-wrap: wrap; }
  nav { gap: 0 13px; }
  nav a { padding: 5px 0; font-size: .82rem; }
  .front-section { margin-block: 35px; }
}
