:root {
  --hp-green: #087a4b;
  --hp-green-deep: #064f36;
  --hp-green-soft: #e8f4ee;
  --hp-orange: #f26a2e;
  --hp-orange-deep: #d9471f;
  --hp-orange-soft: #fff0e7;
  --hp-cream: #fff9f3;
  --hp-ink: #10231d;
  --hp-muted: #5d6d67;
  --hp-line: #dce7e1;
  --hp-paper: #ffffff;
  --hp-wash: #f5f8f6;
  --hp-radius: 1.5rem;
  --hp-shadow: 0 1.5rem 4rem rgba(10, 66, 44, 0.09);
  --hp-container: 1500px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hp-cream);
  color: var(--hp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.hp-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--hp-green); text-underline-offset: 0.18em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.18; }
h1 { max-width: 12ch; font-size: clamp(2.8rem, 7vw, 5.8rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.hp-container { width: min(calc(100% - 2rem), var(--hp-container)); margin-inline: auto; }
.hp-narrow { max-width: 56rem; margin-inline: auto; }
.hp-reading { max-width: 48rem; }
.hp-main { min-height: 60vh; overflow: hidden; }
.hp-section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.hp-section--tint { background: linear-gradient(135deg, var(--hp-green-soft), var(--hp-cream)); border-block: 1px solid var(--hp-line); }
.hp-eyebrow { color: var(--hp-orange-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hp-lead { max-width: 44rem; color: var(--hp-muted); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.7; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hp-button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; border-radius: 999px; padding: 0.7rem 1.4rem; font-weight: 750; text-decoration: none; transition: transform 160ms ease, background 160ms ease, color 160ms ease; }
.hp-button:hover, .hp-button:focus-visible { transform: translateY(-2px); }
.hp-button--primary { background: var(--hp-orange); color: #fff; box-shadow: 0 0.7rem 1.6rem rgba(217,71,31,0.2); }
.hp-button--primary:hover, .hp-button--primary:focus-visible { background: var(--hp-orange-deep); color: #fff; }
.hp-button--quiet { border: 1px solid var(--hp-line); color: var(--hp-ink); }
.hp-button--light { background: #fff; color: var(--hp-green-deep); }
.hp-text-link { display: inline-flex; margin-top: 0.75rem; font-weight: 750; }
.skip-link { position: fixed; z-index: 999; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); background: var(--hp-ink); color: #fff; padding: 0.7rem 1rem; border-radius: 0.5rem; }
.skip-link:focus { transform: translateY(0); }

.hp-header { position: relative; z-index: 30; background: rgba(255,249,243,0.96); border-bottom: 1px solid var(--hp-line); }
.hp-header::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--hp-green) 0 68%, var(--hp-orange) 68% 100%); }
.hp-header__inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hp-brand { display: block; width: min(17rem, 56vw); }
.hp-brand img { width: 100%; }
.hp-nav { display: flex; align-items: center; gap: 1.2rem; }
.hp-nav__list { display: flex; align-items: center; gap: 1.05rem; margin: 0; padding: 0; list-style: none; }
.hp-nav__list a { color: var(--hp-ink); font-size: 0.93rem; font-weight: 680; text-decoration: none; white-space: nowrap; }
.hp-nav__list a:hover, .hp-nav__list .current-menu-item > a { color: var(--hp-green); }
.hp-header__contact { border-radius: 999px; background: var(--hp-orange); color: #fff; padding: 0.58rem 1rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.hp-header__contact:hover, .hp-header__contact:focus-visible { background: var(--hp-orange-deep); color: #fff; }
.hp-nav-toggle { display: none; border: 0; background: transparent; color: var(--hp-ink); font: inherit; font-weight: 750; }
.hp-nav-toggle__icon { width: 1.5rem; display: grid; gap: 0.35rem; margin-left: 0.55rem; }
.hp-nav-toggle__icon i { display: block; height: 2px; background: currentColor; }

.hp-hero { position: relative; background: radial-gradient(circle at 8% 16%, rgba(242,106,46,0.18), transparent 28rem), linear-gradient(145deg, var(--hp-cream), var(--hp-green-soft) 72%); }
.hp-hero::after { content: ""; position: absolute; width: 18rem; height: 18rem; right: -8rem; bottom: -10rem; border: 3.2rem solid rgba(8,122,75,0.07); border-radius: 44% 56% 56% 44%; transform: rotate(24deg); }
.hp-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hp-hero__visual { position: relative; padding: 0 0 clamp(2.75rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); }
.hp-flow-card { padding: clamp(1.25rem, 2.3vw, 2rem); border: 1px solid rgba(8,122,75,0.2); border-radius: var(--hp-radius); background: rgba(255,255,255,0.94); box-shadow: var(--hp-shadow); backdrop-filter: blur(14px); }
.hp-hero__visual .hp-flow-card { position: absolute; z-index: 2; left: 0; bottom: 0; width: min(25rem, 82%); }
.hp-flow-card__label { color: var(--hp-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hp-flow { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hp-flow li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.8rem; align-items: center; padding: 0.78rem 0; border-top: 1px solid var(--hp-line); }
.hp-flow span, .hp-steps > li > span, .hp-card__index { color: var(--hp-orange-deep); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; }
.hp-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.hp-card-grid { display: grid; gap: 1rem; }
.hp-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-card, .hp-contact-card { min-height: 100%; padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; box-shadow: 0 0.75rem 2.2rem rgba(6,79,54,0.055); }
.hp-card:nth-child(3n+1), .hp-contact-card:nth-child(odd) { border-top: 0.3rem solid var(--hp-orange); }
.hp-card:nth-child(3n+2), .hp-contact-card:nth-child(even) { border-top: 0.3rem solid var(--hp-green); }
.hp-card p, .hp-contact-card p { color: var(--hp-muted); }
.hp-card a { font-weight: 750; text-decoration: none; }
.hp-card--feature { border-top: 0.3rem solid var(--hp-green); }
.hp-card--feature:nth-child(even) { border-top-color: var(--hp-orange); }
.hp-page-hero { position: relative; background: radial-gradient(circle at 86% 14%, rgba(242,106,46,0.18), transparent 18rem), linear-gradient(145deg, var(--hp-green-soft), var(--hp-cream) 72%); border-bottom: 1px solid var(--hp-line); }
.hp-page-hero::after { content: ""; position: absolute; right: 5vw; bottom: -1px; width: clamp(7rem, 16vw, 15rem); height: 0.55rem; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, var(--hp-orange), var(--hp-green)); }
.hp-page-hero h1 { max-width: 15ch; }
.hp-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hp-steps > li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--hp-line); }
.hp-steps > li:last-child { border-bottom: 1px solid var(--hp-line); }
.hp-steps p { color: var(--hp-muted); margin-bottom: 0; }
.hp-steps--horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hp-steps--horizontal > li { grid-template-columns: 2rem 1fr; padding: 1.4rem; border: 1px solid var(--hp-line); border-radius: 1rem; background: #fff; }
.hp-stateless-panel { min-height: 12rem; display: grid; place-content: center; padding: 2rem; border-radius: var(--hp-radius); background: linear-gradient(135deg, var(--hp-green-deep), var(--hp-green)); color: #fff; text-align: center; }
.hp-stateless-panel p { color: #bfe7d2; letter-spacing: 0.12em; text-transform: uppercase; }
.hp-stateless-panel strong { max-width: 18ch; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.4; }
.hp-cta { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--hp-green-deep) 0 72%, var(--hp-orange-deep) 72% 100%); color: #fff; }
.hp-cta::after { content: ""; position: absolute; width: 18rem; height: 18rem; right: 5%; top: -10rem; border: 2.5rem solid rgba(255,255,255,0.1); border-radius: 50%; }
.hp-cta .hp-eyebrow { color: #ffaf8f; }
.hp-cta p { color: #cce6d8; }
.hp-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hp-contact-card .hp-button { margin-top: 1rem; }
.hp-error { min-height: 65vh; display: grid; align-items: center; }
.hp-post-list { display: grid; gap: 1rem; }
.hp-post-card { padding: 1.5rem 0; border-top: 1px solid var(--hp-line); }
.hp-post-card__date { color: var(--hp-orange-deep); font-size: 0.85rem; }
.hp-article__content { margin-top: 3rem; }
.hp-article__content h2 { margin-top: 2.5rem; font-size: 1.75rem; }

.hp-footer { padding-top: 4.5rem; background: #0b1f19; color: #d5e4dd; border-top: 0.45rem solid var(--hp-orange); }
.hp-footer__grid { display: grid; grid-template-columns: 1.5fr 0.75fr 1fr; gap: 3rem; }
.hp-footer__brand img { width: min(19rem, 100%); filter: brightness(0) invert(1); }
.hp-footer__brand p, .hp-footer__bottom { color: #9fb7ad; }
.hp-footer__heading { color: #fff; font-weight: 750; }
.hp-footer ul { margin: 0; padding: 0; list-style: none; }
.hp-footer a { color: #d5e4dd; text-decoration: none; }
.hp-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,0.13); font-size: 0.82rem; }
.hp-footer__bottom p { margin: 0; }

.hp-scene { position: relative; min-height: clamp(20rem, 42vw, 34rem); overflow: hidden; margin: 0; border: 0.4rem solid #fff; border-radius: calc(var(--hp-radius) + 0.25rem); box-shadow: var(--hp-shadow); isolation: isolate; }
.hp-scene::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(150deg, rgba(6,79,54,0.02), rgba(242,106,46,0.12)); pointer-events: none; }
.hp-scene__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hp-scene--hero { min-height: clamp(30rem, 52vw, 42rem); }
.hp-scene--hero .hp-scene__image { object-position: 44% center; }
.hp-scene--community .hp-scene__image { object-position: 52% center; }
.hp-scene--technology .hp-scene__image { object-position: 54% center; }
.hp-scene--wide { min-height: clamp(18rem, 37vw, 30rem); margin-bottom: clamp(2rem, 5vw, 4rem); }
.hp-scene-stack { display: grid; gap: 1rem; }
.hp-media-split { align-items: center; }
.hp-media-split + .hp-steps { margin-top: 2rem; }
.hp-contact-visual { display: grid; grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr); gap: clamp(1rem, 4vw, 3rem); align-items: stretch; }
.hp-contact-visual .hp-scene { min-height: 100%; }
.hp-contact-grid { align-self: stretch; }

:focus-visible { outline: 3px solid var(--hp-orange); outline-offset: 4px; }
@media (max-width: 960px) {
  .hp-nav-toggle { display: inline-flex; align-items: center; }
  .hp-nav { position: fixed; inset: 5.5rem 0 0; display: none; align-items: stretch; flex-direction: column; background: #fff; padding: 1.5rem; overflow: auto; }
  .hp-menu-open .hp-nav { display: flex; }
  .hp-nav__list { display: grid; gap: 0; }
  .hp-nav__list a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--hp-line); font-size: 1.15rem; }
  .hp-header__contact { margin-top: 1rem; text-align: center; }
  .hp-hero__grid, .hp-split, .hp-contact-visual { grid-template-columns: 1fr; }
  .hp-hero__visual { padding-left: 0; }
  .hp-contact-visual .hp-scene { min-height: 28rem; }
  .hp-card-grid--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hp-section { padding-block: 4rem; }
  .hp-card-grid--three, .hp-card-grid--two, .hp-steps--horizontal { grid-template-columns: 1fr; }
  .hp-cta__inner, .hp-footer__bottom { align-items: flex-start; flex-direction: column; }
  .hp-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hp-brand { width: 13.5rem; }
  .hp-hero__visual { padding-bottom: 0; }
  .hp-hero__visual .hp-flow-card { position: relative; left: auto; bottom: auto; width: calc(100% - 1rem); margin: -2.5rem auto 0; }
  .hp-scene, .hp-scene--wide { min-height: 21rem; }
  .hp-scene--hero { min-height: 28rem; }
  .hp-scene--hero .hp-scene__image { object-position: 56% center; }
  .hp-scene--community .hp-scene__image { object-position: 38% center; }
  .hp-cta { background: linear-gradient(145deg, var(--hp-green-deep) 0 80%, var(--hp-orange-deep) 80% 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
