:root {
  color-scheme: light;
  --ink: #26363a;
  --muted: #657478;
  --paper: #fffdf8;
  --surface: #ffffff;
  --sun: #f6bd4b;
  --sun-pale: #fff3d2;
  --coral: #e8734d;
  --coral-deep: #bd5031;
  --coral-pale: #fff0e8;
  --leaf: #4d8877;
  --line: #efdfc7;
  --shadow: 0 16px 42px rgba(69, 58, 38, .10);
  --shadow-soft: 0 7px 22px rgba(69, 58, 38, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
a { color: var(--coral-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #8f3925; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #286f67; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 1rem; z-index: 20; padding: .6rem 1rem; background: #fff; border-radius: .5rem; }
.skip:focus { left: 1rem; }
.container, .header-inner, .nav-wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(224, 203, 170, .72);
  backdrop-filter: blur(14px);
}
.header-inner, .nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--ink); font-size: 1.04rem; font-weight: 850; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand > span:last-child { display: grid; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; }
.brand-mark { display: grid; width: 2.65rem; aspect-ratio: 1; place-items: center; border: 1px solid #f2cc78; border-radius: 50% 50% 46% 54%; background: var(--sun-pale); color: #a55631; font-size: 1.2rem; box-shadow: 0 3px 9px rgba(181, 124, 40, .11); }
.site-nav, .nav { display: flex; align-items: center; justify-content: flex-end; gap: .22rem; }
.site-nav a, .nav a { padding: .54rem .64rem; border-radius: 999px; color: #425257; font-size: .89rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .18s ease, color .18s ease, transform .18s ease; }
.site-nav a:hover, .nav a:hover { background: var(--sun-pale); color: #8f4b25; text-decoration: none; }
.site-nav a[aria-current="page"], .nav a[aria-current="page"] { background: var(--coral-pale); color: var(--coral-deep); }
.site-nav .nav-cta, .nav .nav-cta { padding-inline: 1rem; background: var(--coral); color: white; box-shadow: 0 5px 14px rgba(190, 80, 49, .18); }
.site-nav .nav-cta:hover, .nav .nav-cta:hover { background: var(--coral-deep); color: white; }
.menu-toggle, .menu-button { display: none; align-items: center; justify-content: center; gap: .35rem; border: 1px solid var(--line); border-radius: .7rem; padding: .58rem .8rem; background: white; color: var(--ink); font: inherit; font-weight: 750; }

main > section { padding: 4.3rem 0; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.9rem 0 4.7rem;
  border-bottom: 1px solid #f1ddbd;
  background: radial-gradient(ellipse at 78% 12%, rgba(255, 216, 125, .43), transparent 30%), linear-gradient(115deg, #fff2d9 0%, #fff8e9 47%, #fff5ed 100%);
}
.hero::before { position: absolute; top: -8rem; left: -7rem; width: 21rem; aspect-ratio: 1; border: 1px solid rgba(230, 165, 63, .20); border-radius: 50%; content: ""; box-shadow: 0 0 0 2.7rem rgba(255,255,255,.15), 0 0 0 5.6rem rgba(255,255,255,.1); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .72fr); align-items: center; gap: 2.2rem; }
.hero-copy { min-width: 0; }
.hero-art { display: block; width: min(100%, 370px); height: auto; justify-self: end; filter: drop-shadow(0 16px 24px rgba(92, 74, 37, .10)); }
.hero h1 { max-width: 760px; margin: .45rem 0 1rem; color: #25373a; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 850; letter-spacing: .01em; line-height: 1.35; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: #a55130; font-size: .86rem; font-weight: 850; letter-spacing: .11em; }
.eyebrow::before { width: 1.4rem; height: 3px; border-radius: 99px; background: var(--coral); content: ""; }
.hero p { max-width: 730px; margin: 0 0 1.55rem; color: #59696a; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--coral); border-radius: 999px; padding: .68rem 1.2rem; background: var(--coral); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 7px 16px rgba(190, 80, 49, .16); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--coral-deep); color: white; text-decoration: none; box-shadow: 0 10px 22px rgba(190, 80, 49, .22); }
.button.secondary { border-color: #dfc897; background: rgba(255,255,255,.78); color: #536d63; box-shadow: none; }
.button.secondary:hover { border-color: var(--leaf); background: #fff; color: #315d50; }
.button-light { border-color: rgba(255,255,255,.6); background: #fff; color: var(--coral-deep); box-shadow: none; }

h2 { margin: 0 0 .7rem; color: #2b3d3e; font-size: clamp(1.45rem, 2.7vw, 2.1rem); font-weight: 850; line-height: 1.45; letter-spacing: .01em; }
main > section:not(.hero) .container > h2::after { display: block; width: 3rem; height: 4px; margin-top: .7rem; border-radius: 99px; background: linear-gradient(90deg, var(--sun), var(--coral)); content: ""; }
h3 { margin: .1rem 0 .5rem; color: #314448; font-size: 1.12rem; font-weight: 800; line-height: 1.5; }
.lead { max-width: 790px; margin: 0 0 1.5rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.35rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card::after { position: absolute; top: -2.6rem; right: -2.3rem; width: 5.3rem; aspect-ratio: 1; border: 1px solid rgba(240, 196, 109, .38); border-radius: 50%; content: ""; pointer-events: none; }
.card:hover { transform: translateY(-3px); border-color: #e9c983; box-shadow: var(--shadow); }
.card p, .card li { color: #5c6d70; }
.card p:last-child { margin-bottom: .25rem; }
.card ul { margin: .65rem 0 0; padding-left: 1.3rem; }
.card li + li { margin-top: .35rem; }
.service-card { border-top: 3px solid var(--sun); }
.service-card:nth-child(3n + 2) { border-top-color: var(--coral); }
.service-card:nth-child(3n) { border-top-color: var(--leaf); }
.service-card a { display: inline-flex; margin-top: .25rem; font-weight: 800; text-decoration: none; }
.service-card a:hover { text-decoration: underline; }
.soft { background: linear-gradient(120deg, #fff7e6, #fff4ee); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-top: 1.3rem; counter-reset: steps; }
.step { position: relative; min-height: 105px; border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1rem 1rem 3.5rem; background: white; box-shadow: 0 4px 14px rgba(69,58,38,.045); }
.step::before { position: absolute; top: 1rem; left: 1rem; display: grid; width: 1.8rem; aspect-ratio: 1; place-items: center; border: 1px solid #edcd83; border-radius: 50%; background: var(--sun-pale); color: #99602c; content: counter(steps); counter-increment: steps; font-weight: 850; }
.notice { margin-top: 1.35rem; border: 1px solid #ead69e; border-left: 5px solid var(--sun); border-radius: .8rem; padding: 1rem 1.2rem; background: #fff9e9; color: #59686a; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: var(--shadow-soft); }
.compare { width: 100%; min-width: 650px; border-collapse: collapse; }
.compare th, .compare td { border-bottom: 1px solid #f0e5d5; padding: 1rem; text-align: left; vertical-align: top; }
.compare th { background: #fff5dd; color: #495b58; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.faq details { margin: .75rem 0; border: 1px solid var(--line); border-radius: .85rem; padding: .9rem 1.1rem; background: white; box-shadow: 0 3px 12px rgba(69,58,38,.035); }
.faq summary { color: #405756; cursor: pointer; font-weight: 800; }
.faq p { margin: .7rem 0 .15rem; color: var(--muted); }
.source-list { padding-left: 1.3rem; }
.source-list li { margin: .5rem 0; }
.contact-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; border: 1px solid #425e5c; border-radius: 1.2rem; padding: 2rem; background: linear-gradient(125deg, #30494a, #3c625b); color: white; box-shadow: var(--shadow); }
.contact-panel h2, .contact-panel h3 { color: white; }
.contact-panel p { color: #e4efdf; }
.contact-panel h2::after { background: var(--sun) !important; }
.contact-links { display: grid; gap: .7rem; align-content: center; }
.contact-link { display: block; border: 1px solid rgba(255,255,255,.58); border-radius: .8rem; padding: .78rem 1rem; background: rgba(255,255,255,.97); color: #314547; font-weight: 800; text-decoration: none; transition: transform .18s ease; }
.contact-link:hover { transform: translateX(3px); color: #314547; text-decoration: none; }
.contact-link small { display: block; color: var(--muted); font-size: .83rem; font-weight: 500; }
.site-footer { padding: 3rem 0 1.3rem; background: #263b3d; color: #e8f0ea; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 1.5rem; }
.site-footer h2 { color: #fff5dc; font-size: 1.08rem; }
.site-footer h2::after { width: 1.8rem !important; height: 3px !important; margin-top: .4rem !important; background: var(--sun) !important; }
.site-footer p, .site-footer li { color: #cbd9d3; }
.site-footer ul { padding-left: 1.1rem; }
.site-footer a { color: #ffdc99; }
.brand-footer { color: white; }
.brand-footer small { color: #ccdad2; }
.fineprint { margin-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: .8rem; color: #c3d0ca; font-size: .86rem; }
.fineprint p { margin: .2rem 0; }
.active-note { color: var(--coral-deep); font-weight: 750; }

@media (max-width: 980px) {
  .header-inner, .nav-wrap, .container { width: min(100% - 2.25rem, 1160px); }
  .menu-toggle, .menu-button { display: inline-flex; }
  .site-nav, .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; align-items: stretch; flex-direction: column; gap: .2rem; border-bottom: 1px solid var(--line); padding: .8rem 1.15rem 1rem; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open, .nav.open { display: flex; }
  .site-nav a, .nav a { padding: .72rem .9rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .header-inner, .nav-wrap, .container { width: min(100% - 1.5rem, 1160px); }
  .header-inner, .nav-wrap { min-height: 68px; }
  .brand { font-size: .94rem; gap: .55rem; }
  .brand-mark { width: 2.25rem; }
  .brand small { font-size: .66rem; }
  main > section { padding: 3.15rem 0; }
  .hero { padding: 3.55rem 0 3.4rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1rem; }
  .hero-art { width: min(68%, 250px); justify-self: center; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .hero p { font-size: 1rem; }
  .grid, .grid.two, .steps, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 1.2rem; }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .contact-panel { padding: 1.3rem; }
  .compare th, .compare td { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
