這段要貼在哪裡:先在自己的工作資料夾建立同名相對位置,再複製內容。
:root { font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans TC", sans-serif; color: #17324d; background: #f5f8fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; line-height: 1.7; }
a { color: #16324f; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; width: min(100% - 2rem, 760px); margin: 1rem auto 0; }
.site-header nav { display: flex; gap: 1rem; }
.eyebrow { color: #176b87; font-weight: 800; }
a:focus-visible { outline: 3px solid #f1ab2c; outline-offset: 3px; }
.page-shell { width: calc(100% - 2rem); max-width: 760px; margin: 2rem auto; padding: 2rem; border: 1px solid #cbd8e4; border-radius: 20px; background: #fff; }
.hero { padding-block: 3rem 2rem; }
.service-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.service-list li { padding: 1rem; border: 1px solid #d8e0ea; border-radius: 14px; }
.service-list li + li { margin-top: 1rem; }
.primary-button { display: inline-block; margin-top: 1rem; padding: .75rem 1rem; border-radius: 999px; background: #16324f; color: #fff; text-decoration: none; }
.primary-button:hover, .primary-button:focus-visible { background: #0b1f33; }
.primary-button:focus-visible, .site-header a:focus-visible { outline: 3px solid #f1ab2c; outline-offset: 3px; }
@media (max-width: 560px) { .site-header { width: calc(100% - 1rem); } .page-shell { width: calc(100% - 1rem); margin-block: 1rem; padding: 1rem; } }