:root {
  color-scheme: light;
  --deep: #00333A;
  --teal: #1299A2;
  --teal-text: #0B767E;
  --teal-band: #0B8089;
  --cyan: #37DED3;
  --ink: #112B2F;
  --muted: #466166;
  --light: #FFFFFF;
  --soft: #E8F8F6;
  --line: #C6E6E2;
  --max: 1500px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
h1, h2 { margin: 0; line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; max-width: 72ch; text-wrap: pretty; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 50;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  color: var(--deep);
  background: var(--light);
  border: 2px solid var(--teal);
}
.skip-link:focus { top: 12px; }

.site-header { background: var(--deep); color: var(--light); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; width: 300px; max-width: 42%; flex-shrink: 0; }
.brand img { width: 100%; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; }
.desktop-nav > ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.desktop-nav a { text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover { color: var(--cyan); }
.desktop-nav a[aria-current="page"] { color: var(--cyan); text-decoration: underline; text-underline-offset: .4em; }
.desktop-nav .nav-action { padding: 10px 26px; border: 2px solid var(--cyan); border-radius: 99px; }
.mobile-menu { display: none; }

.hero { background: #F9FDFC; }
.hero-layout { min-height: 610px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(26px, 5vw, 80px); align-items: center; }
.hero-copy { padding-block: 72px; }
.hero-label { margin-bottom: 18px; color: var(--teal-text); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.hero h1 { max-width: 11em; color: var(--deep); font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; }
.hero-description { margin-top: 28px; max-width: 32em; color: var(--muted); font-size: 18px; }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 1635 / 1200; object-fit: contain; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 38px; border-radius: 99px; font-weight: 700; text-decoration: none; }
.button-dark { margin-top: 32px; color: var(--light); background: #111; }
.button-dark:hover { background: var(--deep); }
.button-light { color: var(--deep); background: var(--light); white-space: nowrap; }
.button-light:hover { background: var(--soft); }

.section { padding-block: clamp(72px, 8vw, 120px); }
.introduction { text-align: center; }
.intro-inner { display: flex; flex-direction: column; align-items: center; }
.intro-mark { width: 54px; margin-bottom: 22px; }
.introduction h2, .benefits h2 { color: var(--deep); font-size: clamp(30px, 3vw, 42px); }
.introduction p { margin-top: 20px; color: var(--muted); }

.service-section { padding-block: clamp(64px, 7vw, 110px); }
.service-light { background: var(--light); }
.service-soft { background: var(--soft); }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.service-layout.reverse .service-copy { grid-column: 1; grid-row: 1; }
.service-layout.reverse > figure { grid-column: 2; grid-row: 1; }
.service-copy { min-width: 0; }
.service-label { color: var(--teal-text); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.service-copy h2 { margin-top: 12px; color: var(--deep); font-size: clamp(32px, 3.4vw, 48px); }
.service-copy > p:not(.service-label) { margin-top: 24px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--deep); font-weight: 700; }
.text-link:hover { color: var(--teal-text); }
.service-image, .media-pending { margin: 0; min-width: 0; }
.service-image img { width: 100%; aspect-ratio: 1600 / 904; object-fit: contain; }
.media-pending {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed #7BA6A8;
  border-radius: 12px;
  background: #F7FBFA;
  color: var(--deep);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
.media-pending figcaption { color: var(--muted); font-size: 14px; font-weight: 500; }

.benefits { background: var(--light); text-align: center; }
.benefits-note { margin: 20px auto 0; color: var(--muted); }
.benefit-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.benefit-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.benefit-item img, .benefit-pending { width: min(100%, 160px); aspect-ratio: 1; }
.benefit-pending { min-height: 0; padding: 12px; font-size: 13px; }
.benefit-item figcaption { color: var(--deep); font-weight: 700; }

.responsible { padding-block: 68px; color: var(--light); background: var(--teal-band); }
.responsible-inner { display: flex; align-items: center; gap: 28px; }
.responsible-inner img { flex: 0 0 50px; }
.responsible-inner > div { flex: 1; min-width: 0; }
.responsible h2 { font-size: clamp(28px, 2.7vw, 40px); }
.responsible p { margin-top: 12px; max-width: 60ch; }
.site-footer { padding-block: 55px; color: var(--light); background: var(--deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.footer-inner img { width: 220px; }
.footer-inner p { max-width: 50ch; font-size: 14px; color: #E4F2EF; }

.subhero { padding-block: clamp(62px, 7vw, 110px); background: var(--soft); }
.subhero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 48px; align-items: center; }
.subhero-mark { width: 84px; }
.subhero-label { margin-bottom: 14px; color: var(--teal-text); font-size: 14px; font-weight: 800; }
.subhero h1 { max-width: 12em; color: var(--deep); font-size: clamp(38px, 4.2vw, 60px); }
.subhero p:not(.subhero-label) { margin-top: 24px; color: var(--muted); font-size: 18px; }
.content-section { padding-block: clamp(72px, 7vw, 112px); }
.content-soft { background: #F8FCFB; }
.content-layout { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.content-layout h2, .guidance-state h2 { color: var(--deep); font-size: clamp(29px, 3vw, 42px); }
.prose { max-width: 72ch; min-width: 0; }
.prose p + p, .prose p + h3, .prose ul + h3, .prose ol + h3 { margin-top: 28px; }
.prose h3 { margin: 0 0 12px; color: var(--deep); font-size: 22px; line-height: 1.3; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 1.5em; }
.prose li + li { margin-top: 9px; }
.prose li::marker { color: var(--teal-text); }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.action-row .button-dark { margin-top: 0; }
.action-row .text-link { margin-top: 0; }
.guidance-state { max-width: 980px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border: 2px solid var(--deep); border-radius: 12px; background: var(--light); }
.guidance-state > p { margin-top: 20px; color: var(--muted); }
.guidance-state .steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: item; }
.guidance-state .steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: item; }
.guidance-state .steps li::before { content: counter(item); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--deep); background: var(--soft); font-weight: 800; }
.guidance-state .steps strong { color: var(--deep); }
.guidance-state .steps li > div { text-wrap: pretty; }
.footer-content { max-width: 55ch; }
.footer-content img { width: 220px; }
.footer-content p { margin-top: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav > ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--light); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.verified-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-style: normal; }
.verified-contact a { color: var(--light); }

@media (max-width: 1023px) {
  .header-inner { min-height: 88px; }
  .brand { width: 240px; }
  .desktop-nav { gap: 16px; font-size: 14px; }
  .hero-layout { min-height: 0; gap: 26px; }
  .hero-copy { padding-block: 64px; }
  .hero h1 { font-size: clamp(38px, 5vw, 52px); }
  .service-layout { gap: 36px; }
  .responsible-inner { flex-wrap: wrap; }
  .responsible-inner .button { margin-left: 78px; }
  .content-layout { gap: 32px; }
  .subhero-inner { gap: 24px; }
}

@media (max-width: 767px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { width: 186px; max-width: 70%; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; padding: 8px 12px; border: 1px solid #8ACDCD; border-radius: 8px; font-weight: 700; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; z-index: 10; top: calc(100% + 10px); right: 0; min-width: 210px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--deep); box-shadow: 0 8px 12px rgb(0 22 25 / 25%); }
  .mobile-menu nav a { display: block; padding: 10px 12px; color: var(--light); text-decoration: none; font-weight: 600; }
  .mobile-menu nav.desktop-nav { display: block; }
  .mobile-menu nav.mobile-nav { display: block; }
  .mobile-menu nav.mobile-nav > ul { margin: 0; padding: 0; list-style: none; }
  .mobile-menu nav a[aria-current="page"] { color: var(--cyan); text-decoration: underline; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-top: 58px; padding-bottom: 16px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-media { padding-bottom: 40px; }
  .button-dark { margin-top: 26px; }
  .section { padding-block: 70px; }
  .service-section { padding-block: 64px; }
  .service-layout { grid-template-columns: 1fr; gap: 28px; }
  .service-layout.reverse .service-copy, .service-layout.reverse > figure { grid-column: auto; grid-row: auto; }
  .service-layout > figure { order: 2; }
  .service-copy { order: 1; }
  .service-copy h2 { font-size: 34px; }
  .media-pending { min-height: 220px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .benefit-item img, .benefit-pending { width: min(100%, 135px); }
  .responsible-inner { display: block; }
  .responsible-inner img { margin-bottom: 20px; }
  .responsible-inner .button { margin: 28px 0 0; }
  .footer-inner { display: block; }
  .footer-inner p { margin-top: 24px; }
  .subhero { padding-block: 62px; }
  .subhero-inner { grid-template-columns: 1fr; gap: 22px; }
  .subhero-mark { width: 54px; grid-row: 1; }
  .subhero h1 { font-size: clamp(36px, 9vw, 46px); }
  .subhero p:not(.subhero-label) { font-size: 16px; }
  .content-section { padding-block: 68px; }
  .content-layout { grid-template-columns: 1fr; gap: 24px; }
  .content-layout h2, .guidance-state h2 { font-size: 30px; }
  .action-row { align-items: flex-start; flex-direction: column; }
  .guidance-state { padding: 26px 20px; }
  .guidance-state .steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .guidance-state .steps li::before { width: 32px; height: 32px; }
  .footer-nav { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* v02 DB-sourced image strip; art remains visible without script. */
.source-artifacts { padding-block: clamp(64px, 7vw, 104px); background: #f8fcfb; }
.source-artifacts h2 { color: var(--deep); font-size: clamp(29px, 3vw, 42px); }
.source-artifacts p { margin-top: 18px; color: var(--muted); }
.source-icon-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.source-icon-grid figure { margin: 0; width: min(100%, 170px); padding: 22px; background: var(--light); border: 1px solid var(--line); border-radius: 12px; }
.source-icon-grid img { width: 100%; max-height: 116px; object-fit: contain; }
.source-icon-grid figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 390px) {
  /* CW-007: improve the verified guidance paragraph's final-line balance only. */
  .guidance-state > p { text-wrap: pretty; }
  .source-icon-grid { gap: 12px; }
  .source-icon-grid figure { width: calc(50% - 6px); padding: 14px; }
}

/* Production candidate additions. */
.service-icon-board { margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.service-icon-board span { min-width: 0; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: clamp(16px, 2vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: #f8fcfb; text-align: center; }
.service-soft .service-icon-board span { background: var(--light); }
.service-icon-board img { width: min(100%, 150px); aspect-ratio: 1; object-fit: contain; }
.service-icon-board small { color: var(--deep); font-size: 14px; font-weight: 700; line-height: 1.4; }
.not-found { min-height: 70vh; display: grid; place-items: center; padding-block: 72px; text-align: center; }
.not-found h1 { color: var(--deep); font-size: clamp(38px, 5vw, 68px); }
.not-found p:not(.hero-label) { margin: 20px auto 0; color: var(--muted); }
@media (min-width: 1600px) { .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .header-inner { min-height: 112px; } }
@media (max-width: 767px) { .service-icon-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .service-icon-board span { min-height: 0; padding: 12px 6px; } .service-icon-board small { font-size: 11px; } }
