:root {
  /* 鈞字企業社：深石墨＋琥珀（油品的顏色）＋暖白底；見 docs/site-brief.md〈四、風格〉 */
  --navy: #1d2320;
  --navy-2: #2a312d;
  --teal: #8a5a0b;
  --mint: #e3a536;
  --lime: #f0c069;
  --sky: #f6ecd9;
  --ink: #1f2522;
  --muted: #5f6661;
  --line: #e4e0d6;
  --paper: #f6f4ef;
  --white: #fff;
  --orange: #e3a536;
  --shadow: 0 24px 60px rgba(29, 35, 32, 0.10);
  --radius: 14px;
  --container: min(1160px, calc(100% - 40px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img,
svg {
  max-width: 100%;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.section {
  padding: 112px 0;
}
.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;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  height: 76px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 28, 44, 0.07);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.5px;
}
.member-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: #eaeef0;
  color: #5a6b73;
  white-space: nowrap;
}
.member-status-badge.verified {
  background: #dff6ed;
  color: var(--teal);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  border: 1.5px solid var(--mint);
  border-radius: 50%;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.site-nav > a:not(.button):hover {
  color: var(--teal);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-shadow: 0 10px 24px rgba(11, 143, 124, 0.2);
  transition:
    0.25s transform,
    0.25s background,
    0.25s box-shadow;
}
.button:hover {
  transform: translateY(-2px);
  background: #066357;
  box-shadow: 0 14px 30px rgba(11, 143, 124, 0.28);
}
.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(89, 214, 180, 0.55);
  outline-offset: 3px;
}
.button-sm {
  min-height: 42px;
  padding: 0 18px;
}
.button-light {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
  box-shadow: none;
}
.button-light:hover {
  background: #a8dc3e;
}
.button-outline {
  background: transparent;
  color: var(--navy);
  border-color: #b9c9ce;
  box-shadow: none;
}
.hero {
  min-height: 780px;
  padding-top: 170px;
  background:
    radial-gradient(
      circle at 78% 40%,
      rgba(89, 214, 180, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, #071c2c 0%, #030f18 100%);
  overflow: hidden;
}
/* Hero moved from light to dark (deliberate "opens with weight" rhythm) -
   these scoped overrides keep every shared component (h1, hero-lead,
   check-row, text-link, engine-card) readable against the new dark ground
   without touching their light-mode defaults used everywhere else. */
.hero h1 {
  color: #b7c9d0;
  /* Scoped, not global (that overflowed elsewhere): restricts breaks to this h1's <wbr> tags. */
  word-break: keep-all;
}
.hero h1 .hero-brand {
  display: block;
  font-size: 1.3em;
  line-height: 1.05;
  color: var(--mint);
  margin-bottom: 10px;
}
/* Brand and descriptor always sit on their own lines; the separator only
   remains for text-only contexts (copy/paste, screen readers). */
.hero h1 .hero-sep {
  display: none;
}
.hero h1 .hero-sub {
  display: block;
}
/* Mobile: brand becomes the headline, the descriptor sits smaller beneath it
   so the hero reads as a cover instead of a wall of same-size text. */
@media (max-width: 640px) {
  .hero h1 {
    margin-bottom: 22px;
    letter-spacing: -1px;
  }
  .hero h1 .hero-brand {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 12px;
  }
  .hero h1 .hero-sub {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: 0;
  }
  .hero-tagline {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .hero .hero-lead {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .hero .check-row {
    gap: 10px 16px;
    font-size: 13px;
  }
}
.hero-tagline {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero .hero-lead {
  color: #b7c9d0;
}
.hero .hero-lead:has(+ .hero-deliver) {
  margin-bottom: 14px;
}
.hero-deliver {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.hero-deliver b {
  color: #fff;
}
.hero .check-row {
  color: rgba(255, 255, 255, 0.82);
}
.hero .engine-card {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 70px rgba(89, 214, 180, 0.16);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow span {
  width: 22px;
  height: 2px;
  background: currentColor;
}
.eyebrow.light {
  color: var(--mint);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--navy);
}
h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-lead {
  font-size: 18px;
  color: #526771;
  max-width: 650px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.text-link {
  font-weight: 800;
  color: var(--navy);
  border: 0;
  background: none;
  padding: 0;
}
.text-link span {
  color: var(--teal);
  margin-left: 6px;
}
.text-link.light {
  color: #fff;
}
.text-link.light span {
  color: var(--mint);
}
.subpage-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.subpage-nav a:not(.button) {
  font-weight: 700;
  color: var(--navy);
}
/* Subpages share the home page's hamburger: collapsed below 980px. */
@media (max-width: 980px) {
  .subpage-nav {
    position: fixed;
    inset: 76px 0 auto;
    background: #f7faf8;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 18px;
    padding: 28px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .subpage-nav.open {
    display: flex;
  }
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: #536a73;
}
.check-row li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  border-radius: 50%;
  background: #d8f6ed;
  color: var(--teal);
}
.hero-visual {
  position: relative;
}
.glow {
  position: absolute;
  inset: 15%;
  background: var(--mint);
  filter: blur(80px);
  opacity: 0.2;
}
.engine-card {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(7, 28, 44, 0.22);
  color: #fff;
}
.engine-card:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -28px;
  bottom: -26px;
  border: 1px solid rgba(89, 214, 180, 0.3);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.engine-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
  color: #bed3d9;
}
.engine-head b {
  margin-left: auto;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 1px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(89, 214, 180, 0.12);
}
.funnel {
  padding: 30px 10px 20px;
}
.source {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 78%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  margin: 0 auto 9px;
}
.source i {
  font-size: 10px;
  font-style: normal;
  color: var(--mint);
}
.source span {
  font-size: 13px;
  font-weight: 700;
}
.source-b {
  width: 70%;
}
.source-c {
  width: 62%;
}
.source-d {
  width: 54%;
}
.flow-line {
  height: 36px;
  width: 1px;
  background: linear-gradient(var(--mint), transparent);
  margin: auto;
  position: relative;
}
.flow-line span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  left: -3px;
  animation: flow 1.8s infinite;
}
/* transform instead of top: the dot moves on the compositor, without re-laying out the page every frame */
@keyframes flow {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(30px);
    opacity: 0;
  }
}
.lead-output {
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(185, 237, 77, 0.35);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(185, 237, 77, 0.14),
    rgba(89, 214, 180, 0.07)
  );
}
.lead-output small {
  display: block;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 2px;
}
.lead-output strong {
  display: block;
  margin: 5px 0 0;
  font-size: 28px;
}
.lead-output p {
  font-size: 11px;
  color: #a9c0c9;
  margin: 0;
}
.mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.mini-metrics div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
.mini-metrics span,
.mini-metrics b {
  display: block;
}
.mini-metrics span {
  font-size: 10px;
  color: #89a1aa;
}
.mini-metrics b {
  font-size: 12px;
  margin-top: 2px;
}
.proof-strip {
  background: #fff;
  padding: 36px 0 18px;
  border-block: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-grid div {
  padding: 3px 28px;
  border-right: 1px solid var(--line);
}
.proof-grid div:first-child {
  padding-left: 0;
}
.proof-grid div:last-child {
  border: 0;
}
.proof-grid strong {
  display: block;
  font-size: 26px;
  color: var(--teal);
}
.proof-grid span {
  font-size: 12px;
  color: var(--muted);
}
.footnote {
  margin-top: 14px;
  font-size: 10px;
  color: #5b6b73;
}
.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}
.split-heading h2,
.section-heading h2,
.leads-copy h2,
.calculator-copy h2,
.faq-intro h2,
.contact-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 0;
}
.split-heading > p,
.section-heading > p {
  color: var(--muted);
  margin: 0;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}
.pain-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pain-card,
.solution-card,
.outcome-grid article {
  transition: 0.3s;
}
.card-number {
  position: absolute;
  right: 24px;
  top: 18px;
  color: #dbe7e8;
  font-weight: 850;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--sky);
  color: var(--teal);
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 28px;
}
.pain-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.pain-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.solutions-section {
  background: var(--navy);
  color: #fff;
}
/* Scenarios moved from dark to light (only the hero/single-highlight/closing
   CTA stay dark now) - .solution-card itself is still shared with
   .solutions-section above and styled for a dark ground (translucent white
   fill, light text), so it needs a scoped light-mode variant here rather
   than changing the shared rule. */
.scenarios-section {
  background: #fff;
  color: var(--navy);
}
.scenarios-section .solution-card {
  background: #fff;
  border: 1px solid var(--line);
}
.scenarios-section .solution-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
}
.scenarios-section .solution-index {
  color: #9fb0b8;
}
.scenarios-section .solution-icon {
  color: var(--teal);
}
.scenarios-section .solution-card p {
  color: var(--muted);
}
.scenarios-section .solution-card ul {
  border-top-color: var(--line);
}
.scenarios-section .solution-card li {
  color: #44535a;
}
.scenarios-section .solution-card li:before {
  color: var(--teal);
}
.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}
.section-heading h2 {
  color: inherit;
  margin-bottom: 20px;
}
.section-heading > p {
  color: inherit;
  opacity: 0.67;
}
.section-heading > p + p {
  margin-top: 14px;
}
.section-heading.center {
  text-align: center;
  margin-inline: auto;
}
.section-heading.center .eyebrow {
  justify-content: center;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.solution-card {
  position: relative;
  padding: 36px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.solution-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}
.solution-card.featured {
  background: linear-gradient(
    150deg,
    rgba(11, 143, 124, 0.5),
    rgba(255, 255, 255, 0.05)
  );
  border-color: rgba(89, 214, 180, 0.35);
}
.solution-index {
  position: absolute;
  right: 28px;
  top: 22px;
  font-size: 11px;
  color: #9fb5be;
}
.solution-icon {
  font-size: 36px;
  color: var(--mint);
  margin-bottom: 38px;
}
.solution-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.solution-card p {
  font-size: 14px;
  color: #b5c6cc;
}
.solution-card ul,
.price-card ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.solution-card li {
  font-size: 13px;
  color: #d2dfe2;
  margin: 9px 0;
}
.solution-card li:before,
.price-card li:before {
  content: "✓";
  color: var(--mint);
  margin-right: 9px;
}
.website-section {
  background: #edf6f3;
}
.website-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.website-grid article,
.difference-notes article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.website-grid b {
  color: var(--teal);
  font-size: 12px;
}
.website-grid h3,
.difference-notes h3 {
  margin: 16px 0 8px;
  font-size: 19px;
}
.website-grid p,
.difference-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.difference-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.difference-notes article {
  background: #f7faf9;
}
.advantage-section {
  background: #fff;
}
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr 1.1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child {
  border: 0;
}
.compare-row > * {
  padding: 20px 22px;
  font-size: 13px;
  border-right: 1px solid var(--line);
}
.compare-row > *:last-child {
  border: 0;
}
.compare-head {
  background: #edf4f3;
  font-weight: 800;
}
.compare-row strong {
  color: var(--teal);
  background: #f0faf7;
}
.compare-head .highlight {
  background: var(--teal);
  color: white;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 70px;
}
.process-line:before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 39px;
  height: 1px;
  background: #b9cdcf;
}
.process-step {
  position: relative;
  padding: 0 26px;
  text-align: center;
}
.process-step > span {
  font-size: 10px;
  color: var(--teal);
  font-weight: 800;
}
.process-dot {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: 18px auto 24px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px #9bb7b5;
}
.process-step .step-en {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.process-step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--muted);
}
.leads-section {
  background: #edf6f3;
  color: var(--navy);
}
.leads-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 76px;
  align-items: center;
}
.leads-copy h2 {
  color: var(--navy);
}
.leads-copy p {
  color: var(--muted);
  margin: 22px 0 32px;
}
.lead-levels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.level {
  display: grid;
  grid-template-columns: 145px 1fr 150px;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px 20px;
}
.level > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.level b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #4751a8;
  color: #fff;
  font-size: 23px;
}
.level.a b {
  background: #17916e;
}
.level.b b {
  background: #d98918;
}
.level.c b {
  background: #6d7c82;
}
.level span {
  font-weight: 800;
}
.level p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.level strong {
  text-align: right;
  color: var(--teal);
  font-size: 18px;
}
.level strong small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}
.level-badge {
  font-size: 12.5px !important;
  line-height: 1.4;
  color: var(--teal);
}
.level-badge small {
  color: var(--muted);
}
.roi-section {
  background: #eaf5f1;
}
.calculator-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.calculator-copy {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.calculator-copy .eyebrow {
  justify-content: center;
}
.calculator-copy p {
  color: var(--muted);
  margin: 20px 0;
}
.disclaimer {
  font-size: 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.65);
}
.calculator {
  background: #fff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.calculator > label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}
.field-hint {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.calculator output {
  color: var(--teal);
}
input[type="range"] {
  grid-column: 1/-1;
  width: 100%;
  accent-color: var(--teal);
}
.roi-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.roi-col {
  background: #f8fafc;
  border: 1px solid #fecdd3;
  border-radius: 16px;
  padding: 18px 20px;
}
.roi-col.highlight {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.roi-col-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.14);
}
.roi-col.highlight .roi-col-head {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
.roi-col-head span {
  font-size: 14px;
  font-weight: 850;
  color: #334155;
}
.roi-col.highlight .roi-col-head span {
  color: #fff;
}
.roi-col-head small {
  font-size: 10px;
  color: var(--muted);
}
.roi-col.highlight .roi-col-head small {
  color: #a8bbc2;
}
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  padding: 7px 0;
}
.roi-col.highlight .roi-row {
  color: #a8bbc2;
}
.roi-row small {
  display: block;
  font-size: 11px;
  opacity: 1;
  margin-top: 2px;
}
.roi-row strong {
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  font-weight: 800;
}
.roi-col.highlight .roi-row strong {
  color: #fff;
}
.roi-row.total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed rgba(51, 65, 85, 0.2);
}
.roi-col.highlight .roi-row.total {
  border-top-color: rgba(255, 255, 255, 0.22);
}
.roi-row.total span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}
.roi-col.highlight .roi-row.total span {
  color: #fff;
}
.roi-row.total strong {
  font-size: 18px;
  color: #334155;
}
.roi-col.highlight .roi-row.total strong {
  color: #10b981;
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.calc-results div {
  padding: 18px;
  background: #f4f7f6;
  border-radius: 12px;
}
.calc-results span,
.calc-results strong {
  display: block;
}
.calc-results span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.calc-results strong {
  font-size: 20px;
  margin-top: 6px;
}
.calc-results .accent {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.calc-results .accent span {
  color: #047857;
}
.calc-results .accent span:before {
  content: "💰 ";
}
.calc-results .accent strong {
  color: #059669;
  font-size: 26px;
}
.calc-results .potential strong {
  color: var(--teal);
  font-size: 24px;
}
.calc-results .potential span:before {
  content: "📈 ";
}
.calculator > small {
  display: block;
  color: #5b6b73;
  font-size: 11px;
  margin-top: 13px;
}
.pricing-section {
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card.ad-module {
  background: #f7faf9;
}
.price-card-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.price-card.ad-module li b {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.price-card.primary {
  background: var(--navy);
  color: #fff;
  transform: translateY(-12px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.price-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 850;
  padding: 5px 10px;
  background: #e6f5f0;
  color: var(--teal);
  border-radius: 99px;
}
.primary .price-tag {
  background: var(--lime);
  color: var(--navy);
}
.price-card h3 {
  font-size: 22px;
  margin: 24px 0 12px;
}
.price {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 25px;
}
.price small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.primary .price small {
  color: #9eb3ba;
}
.price-footnote {
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.5;
  color: #5b6b73;
}
.price-card ul {
  border-color: var(--line);
  margin-bottom: 28px;
  flex: 1;
}
.price-card li {
  font-size: 13px;
  margin: 10px 0;
  color: var(--muted);
}
.primary li {
  color: #c1d0d4;
}
.outcomes-section {
  background: #f6f9f7;
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.outcome-grid article {
  background: #fff;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.outcome-grid article:hover {
  box-shadow: var(--shadow);
}
.outcome-grid span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}
.outcome-grid h3 {
  font-size: 21px;
  margin: 16px 0 8px;
}
.outcome-grid p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
}
.faq-intro p {
  color: var(--muted);
  margin-top: 20px;
}
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
}
.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary span {
  font-size: 22px;
  color: var(--teal);
  transition: 0.2s;
}
.accordion details[open] summary span {
  transform: rotate(45deg);
}
.accordion details p {
  color: var(--muted);
  font-size: 14px;
  padding: 0 35px 22px 0;
}
.contact-section {
  background: var(--navy);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.contact-copy {
  position: sticky;
  top: 120px;
}
.contact-copy h2 {
  color: #fff;
}
.contact-copy > p {
  color: #b4c6cc;
  margin: 24px 0;
}
.contact-copy ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.contact-copy li {
  margin: 12px 0;
  font-size: 14px;
}
.contact-copy li span {
  color: var(--lime);
  margin-right: 9px;
}
.offline-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.offline-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(185, 237, 77, 0.12);
}
.offline-badge b,
.offline-badge small {
  display: block;
}
.offline-badge b {
  font-size: 12px;
}
.offline-badge small {
  font-size: 10px;
  color: #9eb3ba;
}
.lead-form {
  background: #fff;
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-grid {
  row-gap: 4px;
}
.form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}
.form-head h3 {
  font-size: 23px;
  margin: 0;
}
.form-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.lead-form label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 17px;
}
.lead-form input:not([type="checkbox"]),
.lead-form select,
.lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfdcdf;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fbfcfc;
  color: var(--ink);
  transition: 0.2s;
}
.lead-form input:not([type="checkbox"]),
.lead-form select {
  height: 46px;
}
.lead-form textarea {
  resize: vertical;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  background: #fff;
}
.lead-form .invalid {
  border-color: #d64c4c !important;
}
.error {
  display: block;
  min-height: 16px;
  color: #c83838;
  font-size: 9px;
  margin-top: 3px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500 !important;
  color: var(--muted);
}
.consent input {
  margin-top: 4px;
  accent-color: var(--teal);
}
.intent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 17px;
}
.intent-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  color: var(--muted);
  margin-bottom: 0 !important;
}
.intent-check input {
  accent-color: var(--teal);
}
.phone-verify-row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.phone-verify-row input {
  flex: 1;
  margin-top: 0 !important;
}
.phone-verify-row .button {
  white-space: nowrap;
  min-height: 46px;
}
.otp-group {
  margin: -9px 0 17px;
  padding: 14px;
  background: #f4f9f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.otp-group label {
  margin-bottom: 0 !important;
}
.otp-status {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
}
.submit-button {
  width: 100%;
  border: 0;
}
.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.is-loading .button-text {
  display: none;
}
.is-loading .spinner {
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-status {
  font-size: 11px;
  margin-top: 12px;
  text-align: center;
  min-height: 18px;
}
.form-status.error-status {
  color: #b82929;
}
.site-footer {
  background: #041520;
  color: #a9bac0;
  padding: 65px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.7fr 1fr 1fr;
  gap: 50px;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
.footer-nav-grid a {
  display: block;
  font-size: 11px;
  margin: 9px 0;
}
.footer-brand {
  color: #fff;
}
.footer-grid p {
  font-size: 12px;
  max-width: 300px;
  margin-top: 18px;
}
.footer-grid h3 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 17px;
}
.footer-grid > div > a:not(.brand),
.footer-grid > div > span {
  display: block;
  font-size: 11px;
  margin: 9px 0;
}
.footer-grid a:hover {
  color: var(--mint);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  padding-top: 20px;
  font-size: 9px;
}
.policy-section {
  padding-top: 150px;
}
.policy-container {
  max-width: 760px;
}
.policy-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 8px;
}
.policy-updated {
  margin-bottom: 40px;
}
.policy-body {
  display: grid;
  gap: 22px;
  margin-top: 8px;
  counter-reset: policysec;
}
.policy-body > article {
  counter-increment: policysec;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 1px 3px rgba(7, 28, 44, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.policy-body > article:hover {
  box-shadow: 0 14px 32px rgba(7, 28, 44, 0.09);
  transform: translateY(-2px);
}
.policy-body article h2 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy-body article h2::before {
  content: counter(policysec, decimal-leading-zero);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-body article h3 {
  font-size: 16px;
  margin: 18px 0 8px;
  color: var(--navy);
}
.policy-body article p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.policy-body article strong {
  color: var(--navy);
  font-weight: 800;
}
.policy-body article p + p {
  margin-top: 12px;
}
.policy-body dl.policy-body {
  gap: 0;
  margin-top: 4px;
}
.policy-body dl.policy-body > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.policy-body dl.policy-body > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.policy-body dl.policy-body > div:first-child {
  padding-top: 0;
}
.policy-body dt strong {
  color: var(--navy);
  font-size: 15px;
}
.policy-body dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.policy-body code {
  font-size: 12px;
  background: var(--sky);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--navy);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 12, 18, 0.7);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(430px, calc(100% - 32px));
  background: #fff;
  text-align: center;
  padding: 38px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dff6ed;
  color: var(--teal);
  font-size: 28px;
  font-weight: 900;
}
.modal-dialog h2 {
  font-size: 24px;
}
.modal-dialog p {
  font-size: 13px;
  color: var(--muted);
}
.submission-id code {
  color: var(--teal);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.16,.84,.44,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .flow-line span {
    animation: none;
  }
  .button {
    transition: none;
  }
}
@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    background: #f7faf8;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-grid,
  .leads-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 135px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero-actions,
  .check-row {
    justify-content: center;
  }
  .hero-visual {
    max-width: 590px;
    margin: 20px auto 0;
    width: 100%;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pain-grid,
  .solution-grid,
  .pricing-grid,
  .website-grid {
    grid-template-columns: 1fr 1fr;
  }
  .solution-grid article:last-child,
  .pricing-grid article:last-child {
    grid-column: 1/-1;
  }
  .process-line {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .process-line:before {
    display: none;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-copy {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 2;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proof-grid div:nth-child(2) {
    border-right: 0;
  }
  .proof-grid div {
    padding: 12px 20px;
  }
  .proof-grid div:nth-child(3) {
    padding-left: 0;
  }
  .compare-wrap {
    overflow-x: auto;
  }
  .compare-row {
    min-width: 780px;
  }
  .price-card.primary {
    transform: none;
  }
}
@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }
  .member-status-badge {
    display: none;
  }
  .section {
    padding: 78px 0;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }
  .engine-card {
    padding: 17px;
  }
  .proof-grid {
    gap: 0;
  }
  .proof-grid strong {
    font-size: 21px;
  }
  .proof-grid span {
    font-size: 10px;
  }
  .pain-grid,
  .solution-grid,
  .pricing-grid,
  .outcome-grid,
  .website-grid,
  .difference-notes {
    grid-template-columns: 1fr;
  }
  .solution-grid article:last-child {
    grid-column: auto;
  }
  .split-heading h2,
  .section-heading h2,
  .leads-copy h2,
  .calculator-copy h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: 35px;
  }
  .process-line {
    grid-template-columns: 1fr;
  }
  .process-step {
    text-align: left;
    padding: 0 0 0 50px;
  }
  .process-step > span {
    position: absolute;
    left: 0;
    top: 4px;
  }
  .process-dot {
    position: absolute;
    left: 5px;
    top: 30px;
    margin: 0;
  }
  .level {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .level p {
    grid-column: 1/-1;
  }
  .level > strong {
    grid-row: 1;
    text-align: right;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
  .roi-compare {
    grid-template-columns: 1fr;
  }
  .calculator {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .lead-form {
    padding: 24px 20px;
  }
  .form-head {
    display: block;
  }
  .form-head p {
    margin-top: 5px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin: 5px 0;
  }
  .check-row {
    gap: 10px;
  }
  .check-row li {
    font-size: 11px;
  }
}

.policy-intro { color: var(--muted); max-width: 720px; margin: 18px 0 8px; line-height: 1.9; font-size: 15.5px; }
.policy-body ol, .policy-body ul { color: var(--muted); line-height: 1.8; padding-left: 0; list-style: none; }
.policy-body li > ul, .policy-body li > ol { margin-top: 10px; }
.policy-body li { margin: 10px 0; position: relative; padding-left: 28px; }
.policy-body ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(8, 118, 102, 0.1);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-body ol {
  counter-reset: policyitem;
}
.policy-body ol > li {
  counter-increment: policyitem;
}
.policy-body ol > li::before {
  content: counter(policyitem);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- free download band + nav link --- */
.nav-download { color: var(--teal); font-weight: 800; }
.download-section { padding: 56px 0; }
.download-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, var(--navy) 0%, #0b293d 100%); color: #e8f0f2; }
.download-band h2 { color: #fff; margin: 4px 0 10px; font-size: clamp(22px, 3vw, 30px); }
.download-band p { color: #b7c7cd; margin: 0; max-width: 620px; }
.download-band .eyebrow { color: var(--mint); }
.download-actions { display: grid; gap: 8px; justify-items: center; text-align: center; }
.download-actions small { color: #9fb5be; }
.download-actions small a { text-decoration: underline; }
.modal-download { display: block; margin: 0 0 10px; text-align: center; }
@media (max-width: 760px) {
  .download-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .download-actions { justify-items: stretch; }
}

/* --- small layout utilities ---
   The site's CSP is style-src 'self' with no 'unsafe-inline'/hash/nonce, so
   any style="..." attribute is silently dropped by the browser. These cover
   the handful of one-off inline styles that used to appear across pages. */
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.my-40 { margin: 40px 0; }
.grid-1col { grid-template-columns: 1fr; }

/* --- positioning: 集客式商機開發 (Inbound pipeline) --- */
.hero-eyebrow {
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .hero-eyebrow {
    justify-content: center;
  }
}
/* The three discipline cards on the dark solutions band each link to their own page. */
.solutions-section .solution-card {
  display: flex;
  flex-direction: column;
}
.solution-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: #fff;
}
.solution-link span {
  color: var(--mint);
}
/* Comparison table with the extra 電銷／SDR 外包 column. */
.compare-wrap.cols-5 .compare-row {
  grid-template-columns: 0.7fr 1fr 1fr 1fr 1.1fr;
}
.difference-notes.cols-4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px) {
  .compare-wrap.cols-5 .compare-row {
    min-width: 940px;
  }
}
@media (max-width: 760px) {
  .difference-notes.cols-4 {
    grid-template-columns: 1fr;
  }
}
/* Discipline pages: "專業 01／03" marker and the page-to-page links at the bottom. */
.discipline-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.discipline-nav a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.discipline-nav a small {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 1.4px;
}
.discipline-nav a[aria-current="page"] {
  border-color: var(--teal);
  background: #eaf6f1;
}
@media (max-width: 640px) {
  .discipline-nav {
    grid-template-columns: 1fr;
  }
}
/* Glossary on the discipline pages (each term is deep-linkable: #term-xxx). */
.glossary {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}
.glossary > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.glossary dt {
  font-weight: 800;
  color: var(--navy);
}
.glossary dfn {
  font-style: normal;
  color: var(--teal);
}
.glossary dd {
  margin: 6px 0 0;
  color: var(--muted);
}
.glossary > div:target {
  background: #eaf6f1;
  padding-inline: 12px;
  border-radius: 10px;
}
/* Grid items default to min-width:auto, so a wide comparison table inside an
   article pushed the whole page sideways on phones; let the table scroll instead. */
.policy-body > article {
  min-width: 0;
}
.subpage-nav a[aria-current="page"] {
  color: var(--teal);
}
/* "看完整合作細則" call-out on the discipline pages, pointing into the phone-gated deep-dive page. */
.deepdive-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: 18px;
  background: var(--navy);
  color: #dbe7ea;
}
.deepdive-teaser .eyebrow {
  color: var(--mint);
  margin-bottom: 10px;
}
.deepdive-teaser h2 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 12px;
}
.deepdive-teaser ul {
  margin: 0;
  padding-left: 18px;
}
.deepdive-teaser li {
  margin: 4px 0;
  font-size: 14px;
}
.deepdive-teaser li a {
  color: #dbe7ea;
  text-decoration: underline;
  text-decoration-color: rgba(89, 214, 180, 0.5);
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .deepdive-teaser {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}
/* Pipeline calculator: one result column instead of the old two-way comparison. */
.roi-compare.roi-single {
  grid-template-columns: 1fr;
}
.calc-more {
  margin-top: 16px;
  font-size: 14px;
}
.calc-more a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Problem cards: each pain ends with the discipline that solves it. */
.pain-fix {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--navy);
}
.pain-fix b {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf6f1;
  color: var(--teal);
  font-size: 12px;
}
.pain-fix a {
  color: var(--teal);
  font-weight: 700;
}
/* Process steps: which discipline owns the step. */
.step-owner {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
/* Headings: break Chinese only at punctuation / spaces / <wbr>, never mid-word.
   overflow-wrap:anywhere is the safety net so an over-long phrase still wraps
   instead of pushing the page sideways (why the earlier global keep-all failed). */
h1, h2, h3, summary, .hero-tagline, .hero-lead, .cro-story-tag, .policy-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* No lonely last character. Headings and short labels: the browser balances the last lines. Body text keeps
   full lines (Safari's pretty re-wraps whole paragraphs and leaves every line a different length): typeset.js
   glues the last two characters (.nw) and justifies left-aligned paragraphs (.jt). Check: scripts/orphan-scan.mjs */
summary, h4, .page-sources li { text-wrap: pretty; }
/* .nw only keeps characters together: it must never pick up a parent rule written for real labels (.xxx span),
   which painted the glued last characters as a badge or in another colour. */
.nw { all: unset !important; white-space: nowrap !important; }
.jt { text-align: justify; }
/* typeset.js sets each justified paragraph flush start to measure it (data-measure), and leaves the ones whose lines would be
   spread wide flush start (data-ragged) */
.jt[data-measure], .jt[data-ragged] { text-align: start; }
/* phones: a 20-character line stretched at every Latin word, so many paragraphs fell back to flush start and sat between
   justified ones. On a phone all body text is flush start; computers keep the justified text (Tshutlink, 2026-10-28). */
@media (max-width: 640px) { .jt { text-align: start; } }
/* Article pages (sdr.html): on-page table of contents, role flow, sources. */
.page-toc {
  margin: 8px 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.page-toc b {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}
.page-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}
.page-toc li {
  margin: 4px 0;
  break-inside: avoid;
}
.page-toc a {
  color: var(--teal);
  font-weight: 700;
}
.policy-body > article[id] {
  scroll-margin-top: 96px;
}
.role-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.role-flow li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.role-flow li.is-focus {
  border-color: var(--teal);
  background: #eaf6f1;
}
.role-flow b {
  display: block;
  color: var(--navy);
}
.role-flow span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.compare-wrap.cols-3 .compare-row {
  grid-template-columns: 0.8fr 1fr 1.2fr;
}
.sdr-accordion details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sdr-accordion summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}
.sdr-accordion details p {
  margin: 10px 0 0;
}
.page-sources {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.page-sources ul {
  margin: 8px 0;
  padding-left: 18px;
}
.page-sources a {
  color: var(--teal);
}
@media (max-width: 640px) {
  .page-toc ol {
    columns: 1;
  }
  .role-flow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .compare-wrap.cols-3 .compare-row {
    min-width: 560px;
  }
}
/* The role-flow cards sit inside .policy-body, whose generic numbered-list styling doesn't apply to them. */
.policy-body .role-flow > li {
  margin: 0;
  padding: 14px 16px;
}
.policy-body .role-flow > li::before {
  display: none;
}
/* Narrow desktops: keep the eight subpage links + CTA on one line. */
@media (min-width: 981px) and (max-width: 1120px) {
  .subpage-nav {
    gap: 12px;
  }
  .subpage-nav a:not(.button) {
    font-size: 14px;
  }
  .subpage-nav .button-sm {
    padding: 0 14px;
  }
}

/* ===== Grouped navigation: 服務 / 知識與資源 / 關於我們 ===== */
.nav-grouped {
  gap: 26px;
}
.nav-group {
  position: relative;
}
.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.nav-group-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}
.nav-group.is-current > .nav-group-toggle,
.nav-grouped .nav-about[aria-current="page"],
.nav-group-toggle:hover {
  color: var(--teal);
}
.nav-grouped > .nav-about {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.nav-menu {
  display: none;
  flex-direction: column;
  min-width: 210px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(7, 28, 44, 0.14);
}
.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: #eaf6f1;
  color: var(--teal);
}
@media (min-width: 981px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: -14px;
    z-index: 60;
  }
  /* invisible bridge so the menu doesn't close while the pointer crosses the gap */
  .nav-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu,
  .nav-group.open .nav-menu {
    display: flex;
  }
  .nav-group:hover .nav-group-toggle::after,
  .nav-group.open .nav-group-toggle::after {
    transform: translateY(1px) rotate(225deg);
  }
}
@media (max-width: 980px) {
  .nav-grouped {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    gap: 6px !important;
  }
  .nav-group-toggle {
    width: 100%;
    padding: 12px 0 4px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1.4px;
    pointer-events: none;
  }
  .nav-group-toggle::after {
    display: none;
  }
  .nav-menu {
    display: flex;
    min-width: 0;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-menu a {
    padding: 10px 4px;
    font-size: 16px;
  }
  .nav-grouped > .nav-about {
    padding: 14px 4px;
    font-size: 16px;
  }
  .nav-grouped > .button {
    margin-top: 8px;
  }
}

/* Footer mirrors the three nav groups. */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
/* Discipline/process pages open with the line we hear most in the field (echoes about.html). */
.page-scene {
  margin: 4px 0 26px;
  padding: 20px 24px;
  border-left: 4px solid var(--mint);
  border-radius: 0 14px 14px 0;
  background: #071c2c;
}
.page-scene blockquote {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.page-scene figcaption {
  margin-top: 8px;
  color: #a9bcc4;
  font-size: 13px;
}
.page-scene figcaption a {
  margin-left: 8px;
  color: var(--mint);
  font-weight: 700;
}
/* Footer: brand + 服務內容 / 合作方式 / 知識中心 / 關於 Tshutlink */
.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
.site-nav.nav-grouped > .nav-about,
.subpage-nav.nav-grouped > .nav-about {
  font-size: 15px;
  font-weight: 800;
}
.site-nav.nav-grouped > .nav-about[aria-current="page"],
.subpage-nav.nav-grouped > .nav-about[aria-current="page"] {
  color: var(--teal);
}

/* 適用情境：產業場景照（無人物，只用來讓讀者認出自己的產業） */
.scene-photo { position: relative; margin: 6px 0 18px; border-radius: 16px; overflow: hidden; background: #0b293d; }
.scene-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.scene-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,44,0) 45%, rgba(7,28,44,.62)), linear-gradient(90deg, rgba(8,118,102,.18), rgba(185,237,77,0) 60%); pointer-events: none; }
.scene-photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 4px 12px; border-radius: 99px; background: rgba(3,15,24,.72); color: #b9ed4d; font-size: 12px; font-weight: 800; letter-spacing: .06em; }

/* 首頁「像不像你？」三張產業卡片的場景照（與適用情境頁同一組） */
.scenarios-section .card-photo { position: relative; margin: 0 0 22px; border-radius: 12px; overflow: hidden; background: #0b293d; }
.scenarios-section .card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.scenarios-section .card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,28,44,0) 50%, rgba(7,28,44,.45)), linear-gradient(90deg, rgba(8,118,102,.16), rgba(185,237,77,0) 60%); pointer-events: none; }
.scenarios-section .solution-card:has(.card-photo) .solution-index { z-index: 2; top: 44px; right: 46px; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.45); }

/* 示意畫面（集客網站、搜尋廣告頁）：我們自己做的示範畫面，不是客戶案例 */
.mock-figure { margin: 22px 0 6px; }
.mock-figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #eef4f1; box-shadow: 0 14px 36px rgba(7, 28, 44, 0.08); }
.mock-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* links inside a page intro should read as links */
.policy-intro a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 商機開發實務: three levels of clickable article cards */
.practice-path { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 8px; padding: 0; }
.practice-path a { display: block; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.practice-path a span { display: block; font-size: 11px; letter-spacing: .12em; color: var(--teal); }
.practice-path li:last-child a { background: var(--navy); color: #fff; border-color: var(--navy); }
.practice-path li:last-child a span { color: var(--lime); }
.practice-level { margin-top: 44px; }
.pl-head { margin-bottom: 16px; }
.pl-en { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--teal); }
.pl-head h2 { margin: 4px 0 6px; }
.pl-head p { margin: 0; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.practice-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.practice-card:hover, .practice-card:focus-visible { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 30px rgba(7, 28, 44, .1); }
.pc-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--teal); }
.pc-title { font-size: 17px; line-height: 1.5; }
.pc-desc { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.pc-more { margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--teal); }
.practice-level.is-member { padding: 22px; border-radius: 20px; background: var(--navy); }
.practice-level.is-member .pl-head h2 { color: #fff; }
.practice-level.is-member .pl-head p { color: #a9bcc4; }
.practice-level.is-member .pl-en { color: var(--lime); }
.practice-card.is-locked { background: rgba(255, 255, 255, .06); border-color: #24475d; color: #fff; }
.practice-card.is-locked .pc-meta, .practice-card.is-locked .pc-more { color: var(--lime); }
.practice-card.is-locked .pc-desc { color: #b7c7cd; }
.practice-card.is-locked:hover { border-color: var(--lime); }
.level-chip { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 99px; background: #e4f5ef; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.level-chip:hover { background: #d3efe5; }
@media (max-width: 760px) { .practice-grid, .practice-path { grid-template-columns: 1fr; } }

/* footer brand line: break only between phrases */
.footer-tagline { word-break: keep-all; overflow-wrap: anywhere; }

/* comparison tables scroll sideways on small screens: say so */
@media (max-width: 980px) {
  .compare-wrap::before { content: "← 左右滑動，看完整比較 →"; position: sticky; left: 0; display: block; width: min(100%, calc(100vw - 32px)); padding: 8px 0; background: #eef4f1; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
}

/* In-page download box: the PDF that matches this page, one step before the deep-dive teaser */
.lm-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; margin: 36px 0 0; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.lm-box img { width: 96px; height: auto; border-radius: 4px; box-shadow: 0 10px 22px rgba(7, 28, 44, .16); }
.lm-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--teal); }
.lm-title { word-break: keep-all; overflow-wrap: anywhere; margin: 4px 0 4px; font-size: 19px; font-weight: 800; color: var(--navy); }
.lm-body > p:not(.lm-title) { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.lm-body small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.lm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) {
  .lm-box { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .lm-box img { width: 64px; }
  .lm-box .button { width: 100%; justify-content: center; }
}

/* Phone CTA bar (ctabar.js): appears after the first screen, hides near the contact form and the footer */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(3, 15, 24, .94); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(110%); transition: transform .25s ease; }
  .cta-bar.show { transform: none; }
  .cta-bar a { display: grid; place-items: center; min-height: 44px; border-radius: 12px; font-size: 15px; font-weight: 800; }
  .cta-bar-dl { color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
  .cta-bar-book { background: var(--lime); color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }

/* Home engine card: the two outcomes of the tagline - hand over now, or keep following up */
.lead-output.lead-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; text-align: center; }
.lead-split > div { padding: 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lead-split small { letter-spacing: .04em; font-size: 11px; font-weight: 700; }
.lead-split strong { margin: 6px 0 4px; font-size: 18px; line-height: 1.3; }
.lead-split .lane-later small { color: var(--mint); }
.lead-split .lane-later strong { color: #dbe7ea; }

/* Article / industry pages: simple data tables (scroll sideways on phones via .compare-wrap) */
table.data-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; background: #fff; }
table.data-table th, table.data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.7; }
table.data-table thead th { background: #eef4f1; font-size: 13px; color: var(--muted); }
table.data-table tbody th { color: var(--navy); white-space: nowrap; }
.policy-body .compare-wrap { margin: 16px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row span { padding: 4px 12px; border-radius: 99px; background: #eaf6f1; color: var(--teal); font-size: 14px; font-weight: 700; }
.day-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.day-compare > div { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.day-compare > div.is-after { background: #eef8f3; border-color: #bfe5d6; }
.day-compare b { display: block; margin-bottom: 8px; color: var(--navy); }
.day-compare ul { margin: 0; padding: 0; list-style: none; }
.day-compare li { padding: 6px 0; border-top: 1px dashed var(--line); line-height: 1.7; }
.day-compare li:first-child { border-top: 0; }
/* inside .policy-body the generic ✓ bullets and indent would sit on top of the times */
.policy-body .day-compare li { margin: 0; padding: 6px 0; }
.policy-body .day-compare li::before { content: none; }
/* a second .policy-body on the same page continues the 01/02/03 numbering */
.policy-body.continue-count { counter-reset: none; }
.day-compare time { display: inline-block; min-width: 52px; margin-right: 6px; font-weight: 800; color: var(--teal); }
@media (max-width: 760px) { .day-compare { grid-template-columns: 1fr; } }
.pc-title { word-break: keep-all; overflow-wrap: anywhere; }
a[data-nowrap] { white-space: nowrap; }


/* ===== 鈞字企業社：配色與元件覆寫（範本的寫死色值在這裡換掉） ===== */
.site-header { background: rgba(246, 244, 239, 0.92); border-bottom-color: rgba(29, 35, 32, 0.08); }
.brand-mark { background: var(--navy); border-color: var(--mint); border-radius: 10px; }
.button { background: var(--teal); border-color: var(--teal); box-shadow: 0 10px 24px rgba(138, 90, 11, 0.18); border-radius: 10px; }
.button:hover { background: #6f4808; box-shadow: 0 14px 30px rgba(138, 90, 11, 0.24); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(227, 165, 54, 0.6); }
.button-light { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.button-light:hover { background: #d29424; }
.button-outline { border-color: #cfc8b8; }
.hero { min-height: 0; padding: 150px 0 96px; background: linear-gradient(180deg, #1d2320 0%, #121614 100%); }
.hero h1 { color: #c9cec9; }
.hero h1 .hero-brand { color: var(--mint); }
.hero .hero-lead { color: #c9cec9; }
.hero-actions .button-outline { background: transparent; box-shadow: none; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero-actions .button-outline:hover { background: rgba(255, 255, 255, 0.08); }
.outcomes-section { background: #efece4; }
.outcome-grid article { border-radius: var(--radius); }
.contact-section { background: var(--navy); }
.contact-copy > p { color: #c9cec9; }
.contact-copy li a { color: #fff; font-weight: 700; }
.site-footer { background: #121614; color: #b3b8b3; }
.footer-grid a:hover { color: var(--mint); }
.policy-body > article { border-radius: var(--radius); box-shadow: 0 1px 3px rgba(29, 35, 32, 0.04); }
.policy-body > article:hover { box-shadow: 0 14px 32px rgba(29, 35, 32, 0.08); }

/* 第一屏右側：四件事的事實卡 */
.hero-facts { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 28px 28px 10px; color: #fff; }
.hero-facts h2 { font-size: 13px; letter-spacing: 1.6px; color: var(--mint); margin: 0 0 14px; font-weight: 800; }
.hero-facts dl { margin: 0; }
.hero-facts dt { font-weight: 800; font-size: 16px; }
.hero-facts dd { margin: 4px 0 18px; font-size: 14px; color: #b9bfb9; line-height: 1.6; }
.hero-call { margin-top: 26px; font-size: 14px; color: #b9bfb9; }
.hero-call a { color: #fff; font-weight: 800; font-size: 18px; margin-right: 14px; white-space: nowrap; }

/* 頁首電話 */
.nav-phone { font-weight: 800; color: var(--teal); white-space: nowrap; }

/* 回收品項卡片下方的提醒 */
.notice-line { margin: 22px 0 0; padding: 14px 18px; border-left: 3px solid var(--mint); background: #fff; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink); }
.notice-line b { color: var(--ink); }

/* 回收品項：九張卡片排成三欄 */
.practice-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .practice-grid { grid-template-columns: 1fr; } }

/* 流程：四個階段 */
.steps-section { background: var(--paper); }

/* 表單：兩欄的提示文字 */
.lead-form .field-hint { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 120px 0 64px; }
}

/* 頁尾：年份在版權字樣裡，不跟著手機版的 span 換行 */
.footer-bottom span span { display: inline; margin: 0; }

/* 內頁：開場說明和第一張卡片之間留白 */
.policy-intro { margin-bottom: 32px; }

/* 頁尾：Tshutlink 委託標註（每個客戶網站都有，2026-11-12 定案）。深色頁尾：Tshut 白字、link 綠色，字級跟著頁尾小字 */
.footer-bottom .tl-link { color: #fff; font-weight: 800; text-decoration: none; }
.footer-bottom .tl-link span { color: #59d6b4; }
.footer-bottom .tl-link:hover, .footer-bottom .tl-link:focus-visible { color: #fff; text-decoration: underline; }

/* ── 法規知識文章、總覽與官方表格（tools/laws/build.mjs 產生的頁面）── */
.jz-crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.jz-crumb a { color: var(--teal); }
.jz-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.jz-meta span { font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.scene-photo[data-kind="svg"] { position: relative; margin: 0 0 26px; border-radius: 20px; background: linear-gradient(135deg, #fbf3e3, #f1ece2); border: 1px solid var(--line); color: var(--teal); padding: 18px 24px 26px; }
.scene-photo svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.scene-photo span { position: absolute; right: 16px; bottom: 10px; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.jz-art .policy-intro { font-size: 16px; line-height: 1.85; color: var(--ink); }
.jz-situations { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.jz-situations li { font-size: 14.5px; line-height: 1.8; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--mint); }
.jz-situations b { display: block; color: var(--navy); font-weight: 800; margin-bottom: 2px; }
.page-toc { background: var(--navy); color: #fff; border-radius: 20px; padding: 24px 30px; }
.page-toc .jz-toc-h { margin: 0 0 10px; font-size: 13px; letter-spacing: 1.5px; color: var(--mint); font-weight: 800; }
.page-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.page-toc a { color: #e9e6df; font-size: 14px; line-height: 1.6; }
.page-toc a:hover { color: var(--mint); }
.policy-body article ul, .policy-body article ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.policy-body article li + li { margin-top: 4px; }
.policy-body article ul + p, .policy-body article ol + p, .policy-body article .jz-table + p, .policy-body article p + ul, .policy-body article p + ol, .policy-body article p + .jz-table { margin-top: 12px; }
.policy-body article a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.jz-table { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.jz-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; min-width: 480px; }
.jz-table th { background: var(--paper); color: var(--navy); font-weight: 800; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.jz-table td { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.jz-table tr:first-child td { border-top: 0; }
.policy-body details { border-bottom: 1px solid var(--line); }
.policy-body details:last-child { border-bottom: 0; }
.policy-body summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; font-size: 15px; font-weight: 800; color: var(--navy); position: relative; }
.policy-body summary::-webkit-details-marker { display: none; }
.policy-body summary::after { content: "＋"; position: absolute; right: 0; top: 15px; color: var(--teal); transition: transform 0.2s; }
.policy-body details[open] summary::after { transform: rotate(45deg); }
.policy-body details p { padding: 0 0 16px; }
.page-sources { font-size: 13px; color: var(--muted); line-height: 1.7; padding: 4px 6px; }
.page-sources .jz-src-h { font-size: 15px; color: var(--navy); margin: 0 0 8px; }
.page-sources ul { margin: 0 0 10px; padding-left: 20px; }
.page-sources a { color: var(--teal); word-break: break-all; }
.jz-closing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px !important; }
.policy-body .jz-closing-cta a.text-link { text-decoration: none; }
.policy-body .jz-closing-cta a.button { color: #fff; text-decoration: none; }
.jz-ask li { color: var(--ink); }
.jz-related { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 28px; }
.jz-related-h { font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.jz-related ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.jz-related a { color: var(--teal); }

.jz-hub .container { max-width: 1080px; }
.jz-hub-group { margin-top: 44px; }
.jz-hub-group h2 { font-size: 22px; color: var(--navy); margin: 0 0 6px; }
.jz-hub-group > p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.jz-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.jz-hub-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.jz-hub-card:hover { box-shadow: 0 14px 32px rgba(29, 35, 32, 0.08); transform: translateY(-2px); }
.jz-hub-card b { font-size: 17px; line-height: 1.5; color: var(--navy); }
.jz-hub-card span { font-size: 14px; color: var(--muted); line-height: 1.7; }
.jz-hub-card .jz-more { color: var(--teal); font-weight: 800; margin-top: auto; }
.jz-hub-forms { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); color: #fff; border-radius: 20px; padding: 28px 32px; }
.jz-hub-forms h2 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.jz-hub-forms p { color: #c9cec9; margin: 0; font-size: 14.5px; }
@media (max-width: 760px) {
  .jz-hub-grid { grid-template-columns: 1fr; }
  .jz-hub-forms { flex-direction: column; align-items: flex-start; padding: 24px; }
  .page-toc { padding: 20px 22px; }
  .scene-photo[data-kind="svg"] { padding: 12px 14px 22px; }
}

.jz-notice { background: #fbf3e3; border: 1px solid #ecd3a1; border-radius: 16px; padding: 16px 20px; font-size: 14.5px; line-height: 1.8; color: var(--ink); margin-bottom: 24px; }
.jz-notice b { color: var(--teal); }
.jz-form-row { padding: 18px 0; border-top: 1px solid var(--line); }
.jz-form-row:first-of-type { border-top: 0; padding-top: 4px; }
.jz-form-row h3 { margin: 0 0 6px !important; }
.policy-body .jz-form-meta { font-size: 12.5px; color: var(--muted); margin-top: 6px !important; }
.jz-form-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px !important; }
.policy-body .jz-form-links a.button { color: #fff; text-decoration: none; }
.jz-link-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.jz-link-list li { display: block; }
.jz-link-list span { display: block; font-size: 13.5px; margin-top: 2px; }
/* 示意圖不是照片：不套照片的暗色漸層 */
.jz-art .scene-photo[data-kind="svg"]::after { display: none; }
.jz-art figure.scene-photo { margin: 0 0 26px; }

/* ── 照片（AI 生成的示意圖，2026-11-12；原檔在「網站圖庫」，assets 裡是裁切壓縮後的版本）── */
.jz-hero-photo { position: relative; background: linear-gradient(90deg, rgba(18, 22, 20, 0.96) 0%, rgba(18, 22, 20, 0.86) 48%, rgba(18, 22, 20, 0.55) 100%), url("/assets/hero-collection.webp?v=20261112o") center / cover no-repeat, #121614; }
.jz-hero-note { position: absolute; right: 16px; bottom: 12px; font-size: 11px; letter-spacing: 1px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 900px) { .jz-hero-photo { background: linear-gradient(180deg, rgba(18, 22, 20, 0.9), rgba(18, 22, 20, 0.95)), url("/assets/hero-collection.webp?v=20261112o") center / cover no-repeat, #121614; } }
.jz-head-photo { margin: 20px 0 24px; }
.jz-card-photo { position: relative; margin: 0 0 18px; border-radius: 12px; overflow: hidden; background: #e9e5dc; }
.jz-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.jz-card-photo figcaption { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(18, 22, 20, 0.6); color: #e9e6df; font-size: 11px; letter-spacing: 1px; }
.policy-body article .jz-card-photo { margin: 6px 0 14px; }
.policy-body article .jz-card-photo img { aspect-ratio: 5 / 2; }
.scene-photo figcaption { left: auto; right: 14px; color: #f3e3bf; font-weight: 600; font-size: 11px; letter-spacing: 1px; }

/* 表單縮短（2026-11-12 使用者：「表單太長了，縮短一下間距」）：欄位間距、錯誤訊息的預留高度、輸入框高度都縮小 */
.lead-form { padding: 30px; }
.lead-form .form-head { margin-bottom: 16px; }
.lead-form label { margin-bottom: 10px; }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea { margin-top: 5px; padding: 10px 12px; }
.lead-form input:not([type="checkbox"]), .lead-form select { height: 42px; }
.lead-form .error { min-height: 0; margin-top: 2px; }
.lead-form .error:empty { display: none; }
.lead-form .field-hint { margin-top: 3px; }
.lead-form textarea { min-height: 84px; }
@media (max-width: 760px) {
  .lead-form { padding: 22px 18px; }
  .lead-form label { margin-bottom: 8px; }
}

/* 首頁聯絡區：服務 DM（2026-11-12 使用者：「DM 要放官網，放在表單左邊說明文的底下」）。PDF 與縮圖由 node dm/render.mjs 產生 */
.jz-dm { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.jz-dm-thumbs { display: flex; gap: 8px; }
.jz-dm-thumbs img { display: block; width: 74px; height: auto; border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); transition: transform 0.2s; }
.jz-dm-thumbs:hover img { transform: translateY(-3px); }
.jz-dm-text b { display: block; color: #fff; font-size: 16px; }
.jz-dm-text p { margin: 4px 0 8px; color: #c9cec9; font-size: 13.5px; line-height: 1.6; }
.jz-dm-link { color: var(--mint); font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { .jz-dm { grid-template-columns: 1fr; } .jz-dm-thumbs img { width: 92px; } }
