:root {
  --ink: #101b17;
  --ink-soft: #33423b;
  --paper: #f3f0e8;
  --paper-2: #e8e3d7;
  --white: #fffdf8;
  --acid: #d8ff4f;
  --mint: #91e7bf;
  --coral: #ff755d;
  --line: rgba(16, 27, 23, .16);
  --shadow: 0 24px 80px rgba(16, 27, 23, .13);
  --radius: 26px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--ink); background: var(--acid); }

.shell { width: var(--shell); 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: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, .9);
  backdrop-filter: blur(16px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 27, 23, .05);
}
.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .17em;
}
.brand-mark { width: 34px; height: 34px; color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a:not(.button) {
  position: relative;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .03em;
}
.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}
.nav-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(16, 27, 23, .18); }
.button-small { min-height: 42px; padding: 8px 17px; font-size: 13px; }
.button-ghost { color: var(--ink); background: transparent; }
.button-ghost:hover { color: var(--white); background: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a5c52;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 25px; height: 2px; background: var(--coral); content: ""; }

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 690px;
  align-items: center;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  gap: 75px;
  padding-block: 80px 95px;
}
.hero-copy h1,
.article-hero h1,
.contact-copy h1,
.error-page h1 {
  max-width: 820px;
  margin: 20px 0 27px;
  font-size: clamp(48px, 6.3vw, 88px);
  font-weight: 880;
  letter-spacing: -.065em;
  line-height: .99;
}
h1 em, h2 em { color: var(--coral); font-family: Georgia, "Noto Serif TC", serif; font-weight: 500; }
.hero-copy > p,
.article-hero-inner > p,
.contact-copy > p,
.error-page p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-card::after {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -85px;
  bottom: -85px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
  opacity: .9;
}
.hero-card .card-kicker { color: var(--mint); }
.hero-card h2 { max-width: 350px; margin: 20px 0 28px; font-size: 34px; letter-spacing: -.045em; line-height: 1.15; }
.hero-card ol { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.hero-card li { display: flex; align-items: center; gap: 15px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 700; }
.hero-card li span { color: var(--acid); font-size: 12px; letter-spacing: .12em; }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 420px; height: 420px; right: 7%; top: 9%; border: 1px solid rgba(16, 27, 23, .12); }
.orb-two { width: 210px; height: 210px; right: 32%; bottom: 4%; background: rgba(145, 231, 191, .25); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; }
.trust-inner > span:not(.trust-label) { color: #4d5b54; font-size: 14px; font-weight: 750; }
.trust-label { padding-right: 25px; border-right: 1px solid var(--line); color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.content-section { padding: 118px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 30px 70px; margin-bottom: 55px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(38px, 5vw, 65px);
  letter-spacing: -.055em;
  line-height: 1.05;
}
.section-heading > p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark .eyebrow { color: var(--mint); }
.section-dark .section-heading > p,
.section-dark .step p { color: rgba(255, 253, 248, .68); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.service-card {
  min-height: 310px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .58);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.service-card:hover { background: var(--white); box-shadow: 0 18px 45px rgba(16, 27, 23, .08); transform: translateY(-5px); }
.service-icon {
  display: inline-flex;
  min-width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.service-card h3,
.service-card h2 { margin: 35px 0 12px; font-size: 27px; letter-spacing: -.035em; line-height: 1.18; }
.service-card p { margin: 0; color: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 850; }
.text-link span { color: var(--coral); }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.step { min-height: 280px; padding: 30px 28px 20px 0; border-right: 1px solid rgba(255, 255, 255, .16); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step > span { color: var(--acid); font-family: Georgia, serif; font-size: 38px; font-style: italic; }
.step h3 { margin: 55px 0 10px; font-size: 25px; }
.step p { margin: 0; font-size: 15px; }

.split-panel { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); grid-template-columns: 1.2fr .8fr; }
.split-lead { margin: 0; padding: 50px; font-size: clamp(22px, 3vw, 31px); font-weight: 700; letter-spacing: -.025em; line-height: 1.5; }
.split-panel ul { display: grid; align-content: center; margin: 0; padding: 38px; color: var(--white); background: var(--ink); list-style: none; }
.split-panel li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid rgba(255, 255, 255, .15); font-weight: 700; }
.split-panel li:last-child { border: 0; }
.split-panel li::before { position: absolute; left: 0; color: var(--acid); content: "✓"; }

.faq-section { background: var(--white); }
.faq-layout { display: grid; align-items: start; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq-layout .section-heading { position: sticky; top: 120px; display: block; margin: 0; }
.faq-layout .section-heading h2 { margin: 18px 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 27px 50px 27px 0; font-size: 20px; font-weight: 800; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 6px; top: 26px; color: var(--coral); content: "+"; font-size: 27px; line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 700px; margin: -4px 0 28px; color: var(--ink-soft); }

.article-hero { padding: 105px 0 95px; border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: 900px; margin-left: max(0px, calc((100% - 1180px) / 2)); }
.article-hero h1 { margin-block: 28px; }
.breadcrumb { display: flex; gap: 9px; margin-bottom: 28px; color: #65736c; font-size: 13px; font-weight: 750; }
.breadcrumb a:hover { color: var(--coral); }
.article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 220px minmax(0, 700px) 200px;
  gap: 45px;
  padding-block: 90px 120px;
}
.toc, .related { position: sticky; top: 115px; }
.toc nav { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.toc a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 700; line-height: 1.5; }
.toc a:hover { color: var(--coral); }
.article-body > section { padding-bottom: 55px; scroll-margin-top: 110px; }
.article-body h2 { margin: 0 0 20px; font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -.04em; line-height: 1.22; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { padding: 6px 0; }
.article-body .checklist { padding: 0; list-style: none; }
.article-body .checklist li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); }
.article-body .checklist li::before { position: absolute; left: 0; color: #4c8c6b; content: "✓"; font-weight: 900; }
.note { padding: 21px 24px; border-left: 4px solid var(--coral); border-radius: 0 15px 15px 0; background: var(--paper-2); }
.article-cta { margin-top: 35px; padding: 42px; border-radius: var(--radius); color: var(--white); background: var(--ink); }
.article-cta .eyebrow { color: var(--mint); }
.article-cta h2 { margin: 18px 0 12px; }
.article-cta p { color: rgba(255, 255, 255, .7); }
.article-cta .button { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.article-cta .button-ghost { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .5); }
.related { display: grid; border-top: 1px solid var(--line); }
.related .card-kicker { padding: 15px 0; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; line-height: 1.4; }
.related a span { color: var(--coral); }

.contact-hero { padding: 105px 0 110px; border-bottom: 1px solid var(--line); }
.contact-layout { display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: 80px; }
.contact-panel { padding: 42px; border-radius: var(--radius); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.contact-panel .card-kicker { color: var(--mint); }
.contact-panel h2 { margin: 20px 0 24px; font-size: 34px; letter-spacing: -.04em; line-height: 1.15; }
.contact-panel ol { margin: 0; padding: 0; list-style: none; }
.contact-panel li { display: flex; gap: 18px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.contact-panel li > span { color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.contact-panel strong { display: block; }
.contact-panel p { margin: 3px 0 0; color: rgba(255, 255, 255, .65); font-size: 14px; }
.contact-options .service-card { min-height: 330px; }
.error-page { display: grid; min-height: 650px; align-items: center; padding: 80px 0; }
.error-page .shell { max-width: 900px; }

.floating-line {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 14px 35px rgba(16, 27, 23, .25);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .2s ease;
}
.floating-line:hover { transform: translateY(-4px) rotate(-5deg); }

.site-footer { color: var(--white); background: #0a100e; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 60px; padding-block: 85px 70px; }
.footer-grid .brand { margin-bottom: 22px; }
.footer-grid h2 { margin: 0 0 19px; color: var(--mint); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) > a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-grid a:hover { color: var(--acid); }
.footer-brand p { max-width: 270px; color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-contact { display: inline-block; margin-top: 9px; color: var(--acid); font-weight: 800; }
.footer-note { margin-top: 18px; color: rgba(255, 255, 255, .42); font-size: 12px; line-height: 1.65; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .42); font-size: 12px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy.reveal,
.hero-card.reveal,
.article-hero-inner.reveal,
.contact-copy.reveal,
.contact-panel.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .site-nav { gap: 15px; }
  .site-nav > a:not(.button) { font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 40px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .article-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .related { position: static; grid-column: 2; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .related .card-kicker { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 30px, 720px); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    z-index: 1001;
    inset: 72px 0 auto;
    display: grid;
    max-height: calc(100vh - 72px);
    gap: 0;
    padding: 24px max(15px, calc((100vw - 720px) / 2)) 34px;
    overflow: auto;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 45px rgba(16, 27, 23, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav > a:not(.button) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 20px; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; padding-block: 75px 85px; }
  .hero-card { max-width: 580px; transform: none; }
  .trust-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 22px; }
  .trust-label { flex-basis: 100%; padding: 0; border: 0; }
  .content-section { padding: 88px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin: 18px 0; }
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .split-panel { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-layout .section-heading { position: static; }
  .article-hero { padding: 80px 0 70px; }
  .article-layout { grid-template-columns: 1fr; padding-block: 60px 90px; }
  .toc { position: static; }
  .toc nav { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
  .related { grid-column: auto; grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-copy h1, .article-hero h1, .contact-copy h1, .error-page h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-copy > p, .article-hero-inner > p, .contact-copy > p, .error-page p { font-size: 18px; }
  .hero-card, .contact-panel, .article-cta { padding: 28px; border-radius: 20px; }
  .hero-card h2, .contact-panel h2 { font-size: 28px; }
  .trust-inner { gap: 10px 22px; }
  .content-section { padding: 72px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 39px; }
  .service-card { padding: 25px; }
  .step-grid { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: 0; padding: 25px 0 30px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .step h3 { margin-top: 25px; }
  .split-lead { padding: 30px; font-size: 22px; }
  .split-panel ul { padding: 26px 30px; }
  .faq-list summary { font-size: 18px; }
  .toc nav { grid-template-columns: 1fr; }
  .cta-row { align-items: stretch; flex-direction: column; }
  .cta-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 65px 50px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .floating-line { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
