:root {
  --ink: #172622;
  --muted: #5e6b67;
  --green: #173b32;
  --green-2: #2f6654;
  --mint: #dcebe2;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #d8ded9;
  --coral: #d85d47;
  --shadow: 0 14px 36px rgba(23, 59, 50, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 99; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 16px; }

.site-header {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 80px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(23,38,34,.1);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--white); background: var(--green); border-radius: 4px; }
nav { display: flex; gap: 30px; }
nav a, .footer-links a { text-decoration: none; color: var(--muted); }
nav a:hover, .footer-links a:hover { color: var(--green); }
.header-cta { justify-self: end; padding: 9px 16px; color: var(--white); background: var(--green); text-decoration: none; border-radius: 4px; font-weight: 700; }

.hero { position: relative; min-height: min(720px, calc(100vh - 72px)); overflow: hidden; display: flex; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(247,248,245,.98) 0%, rgba(247,248,245,.92) 33%, rgba(247,248,245,.25) 58%, rgba(247,248,245,0) 75%); }
.hero-content { position: relative; z-index: 2; width: min(680px, 52vw); margin-left: clamp(24px, 7vw, 120px); padding: 72px 0 84px; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: 1.12; letter-spacing: 0; }
.hero-copy { max-width: 610px; margin-bottom: 28px; color: #344742; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 5px; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer; }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-2); }
.button-light { color: var(--green); background: var(--white); }
.text-link { color: var(--green); font-weight: 800; text-underline-offset: 5px; }
.hero-points { display: flex; gap: 12px 24px; flex-wrap: wrap; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--green-2); font-weight: 900; }

.trust-band { padding: 22px clamp(24px, 7vw, 120px); color: var(--white); background: var(--green); }
.trust-band p { max-width: 1180px; margin: 0 auto; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .final-cta h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.2; }
.split-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.split-heading > p { max-width: 420px; color: var(--muted); }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.intro-lead { font-size: 1.35rem; line-height: 1.75; }
.number-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.number-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.number-list span { color: var(--coral); font-weight: 800; }
.number-list p { margin: 4px 0 0; color: var(--muted); }

.curriculum { width: 100%; padding-inline: max(24px, calc((100% - 1180px) / 2)); background: var(--white); }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module { border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.module summary { min-height: 88px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 15px; padding: 17px 48px 17px 20px; cursor: pointer; position: relative; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; position: absolute; right: 20px; top: 27px; color: var(--green); font-size: 1.4rem; }
.module[open] summary::after { content: "−"; }
.module-no { width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); background: var(--green); border-radius: 5px; font-size: .86rem; font-weight: 800; }
.module summary strong, .module summary small { display: block; }
.module summary small { color: var(--muted); font-size: .82rem; }
.module ol { margin: 0; padding: 4px 24px 22px 82px; color: var(--muted); }
.module li { padding: 5px 0; }

.method { width: 100%; padding-inline: max(24px, calc((100% - 1180px) / 2)); background: #edf2ee; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #cbd6d0; border: 1px solid #cbd6d0; }
.fit-column { padding: 40px; background: var(--white); }
.fit-column h3 { font-size: 1.4rem; }
.fit-column ul { margin: 0; padding-left: 22px; }
.fit-column li { padding: 7px 0; }
.fit-yes h3 span { color: var(--green-2); }
.fit-no h3 span { color: var(--coral); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-grid article { padding-top: 24px; border-top: 3px solid var(--green); }
.steps-grid article > span { color: var(--coral); font-weight: 900; }
.steps-grid h3 { margin: 22px 0 6px; font-size: 1.35rem; }
.steps-grid p { color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 48px 22px 0; cursor: pointer; font-weight: 800; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 1.45rem; color: var(--green); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 850px; padding: 0 0 22px; color: var(--muted); }

.final-cta { padding: 90px 24px; text-align: center; color: var(--white); background: var(--coral); }
.final-cta .eyebrow { color: #fff0e7; }
.final-cta p { max-width: 620px; margin: 0 auto 24px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 50px clamp(24px, 7vw, 120px); color: #cdd9d4; background: #102620; font-size: .86rem; }
.site-footer p { margin: 8px 0 0; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-links a { color: #e3ede9; }
.mobile-sticky-cta { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 760px; align-items: end; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(247,248,245,.98) 0%, rgba(247,248,245,.92) 47%, rgba(247,248,245,.1) 75%); }
  .hero-content { width: auto; margin: 0; padding: 250px 24px 52px; }
  .intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .module-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 620px) {
  body { padding-bottom: 78px; font-size: 16px; line-height: 1.65; }
  [id] { scroll-margin-top: 72px; }
  .site-header {
    height: 58px;
    padding-inline: 14px;
    box-shadow: 0 3px 14px rgba(23, 59, 50, .08);
  }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand span:last-child { font-size: .88rem; }
  .header-cta { min-width: 72px; padding: 7px 10px; text-align: center; font-size: .8rem; }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 228px;
    background: var(--paper);
  }
  .hero-image {
    bottom: auto;
    height: 228px;
    object-position: 62% 43%;
  }
  .hero-shade { display: none; }
  .hero-content {
    width: 100%;
    margin: 0;
    padding: 28px 20px 34px;
    background: var(--paper);
  }
  .eyebrow { margin-bottom: 8px; font-size: .76rem; }
  h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 10vw, 2.65rem); line-height: 1.15; }
  .hero-copy { margin-bottom: 20px; font-size: 1rem; line-height: 1.68; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .button { width: 100%; min-height: 52px; }
  .text-link { padding: 3px 0; text-align: center; font-size: .92rem; }
  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 24px;
    font-size: .79rem;
  }
  .hero-points li:last-child { grid-column: 1 / -1; }

  .trust-band { padding: 17px 20px; font-size: .85rem; line-height: 1.6; }
  .section { width: calc(100% - 32px); padding: 58px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .final-cta h2 { font-size: 1.85rem; line-height: 1.28; }
  .split-heading { display: block; }
  .split-heading > p { margin-bottom: 0; font-size: .9rem; }

  .intro-grid { gap: 24px; }
  .intro-lead { margin-bottom: 0; font-size: 1.08rem; line-height: 1.75; }
  .number-list li { grid-template-columns: 42px 1fr; gap: 10px; padding: 17px 0; }
  .number-list p { font-size: .9rem; }

  .curriculum, .method { width: 100%; padding: 58px 16px; }
  .module-grid { gap: 10px; }
  .module summary {
    min-height: 74px;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    padding: 12px 42px 12px 12px;
  }
  .module summary::after { right: 15px; top: 21px; }
  .module-no { width: 38px; height: 38px; font-size: .76rem; }
  .module summary strong { font-size: .98rem; }
  .module ol { padding: 0 18px 18px 58px; font-size: .9rem; }
  .module li { padding: 3px 0; }

  .fit-grid, .steps-grid { grid-template-columns: 1fr; }
  .fit-column { padding: 25px 20px; }
  .fit-column h3 { margin-bottom: 10px; font-size: 1.18rem; }
  .fit-column ul { padding-left: 20px; font-size: .92rem; }
  .steps-grid { gap: 18px; }
  .steps-grid article { display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; padding: 18px 0 0; }
  .steps-grid article > span { grid-row: 1 / 3; }
  .steps-grid h3 { margin: 0 0 3px; font-size: 1.12rem; }
  .steps-grid p { margin-bottom: 0; font-size: .9rem; }

  .faq-list summary { padding: 18px 40px 18px 0; font-size: .96rem; }
  .faq-list summary::after { top: 14px; }
  .faq-list p { font-size: .9rem; }
  .final-cta { padding: 54px 20px 58px; }
  .final-cta p { font-size: .92rem; }
  .site-footer { padding: 36px 20px; font-size: .8rem; }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    color: var(--white);
    background: #102f27;
    border-top: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 -8px 24px rgba(16,47,39,.2);
    text-decoration: none;
  }
  .mobile-sticky-cta span { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
  .mobile-sticky-cta strong { font-size: .86rem; }
  .mobile-sticky-cta small { color: #cbdcd5; font-size: .7rem; }
  .mobile-sticky-cta b {
    flex: 0 0 auto;
    padding: 9px 11px;
    color: var(--green);
    background: var(--white);
    border-radius: 4px;
    font-size: .78rem;
  }
}

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