:root {
  --td-green-900: #123d2b;
  --td-green-800: #17543a;
  --td-green-700: #1d6b46;
  --td-green-600: #258755;
  --td-green-100: #eaf6ed;
  --td-green-050: #f5fbf6;
  --td-ink: #17221d;
  --td-muted: #5d6b63;
  --td-line: #dce5df;
  --td-surface: #ffffff;
  --td-warm: #f4a536;
  --td-radius-sm: 12px;
  --td-radius: 20px;
  --td-radius-lg: 30px;
  --td-shadow: 0 16px 44px rgba(18, 61, 43, 0.09);
}

body.td-site-experience {
  color: var(--td-ink);
  background: #f6f8f6;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

.td-site-experience *,
.td-site-experience *::before,
.td-site-experience *::after {
  box-sizing: border-box;
}

.td-site-experience a {
  text-underline-offset: 0.2em;
}

.td-site-experience :focus-visible {
  outline: 3px solid #f3aa3b;
  outline-offset: 3px;
  border-radius: 4px;
}

.td-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.td-site-header {
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(23, 84, 58, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 22px rgba(18, 61, 43, 0.04);
}

.td-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.td-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--td-ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.td-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--td-line);
  border-radius: 15px;
  background: #fff;
}

.td-brand span {
  display: grid;
  gap: 0;
  line-height: 1.25;
}

.td-brand strong {
  color: var(--td-green-900);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.td-brand small {
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 650;
}

.td-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.td-primary-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 10px;
  color: #26362e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.td-primary-nav a:hover {
  color: var(--td-green-800);
  background: var(--td-green-100);
}

.td-primary-nav .td-nav-social {
  margin-left: 5px;
  padding-inline: 15px;
  color: #fff;
  background: var(--td-green-800);
}

.td-primary-nav .td-nav-social:hover {
  color: #fff;
  background: var(--td-green-900);
}

.td-menu-toggle {
  width: 46px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--td-line);
  border-radius: 11px;
  background: #fff;
  color: var(--td-ink);
}

.td-menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.td-menu-open .td-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.td-menu-open .td-menu-toggle span:nth-child(2) { opacity: 0; }
.td-menu-open .td-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.td-professional-home .site-content > .ast-container {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0;
}

.td-professional-home .site-main,
.td-professional-home article.page,
.td-professional-home .entry-content {
  margin: 0;
  padding: 0;
}

.td-professional-home article.page {
  background: transparent;
}

.td-professional-home .entry-header,
.td-professional-home .post-navigation {
  display: none;
}

.td-home-main {
  overflow: clip;
  background: #fff;
}

.td-home-main h1,
.td-home-main h2,
.td-home-main h3,
.td-site-footer h2 {
  margin: 0;
  color: var(--td-ink);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.td-home-main p,
.td-home-main figure,
.td-home-main ul {
  margin-top: 0;
}

.td-hero {
  position: relative;
  padding: 72px 0 76px;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 165, 54, 0.12), transparent 28%),
    linear-gradient(135deg, #f7fbf7 0%, #edf7ef 55%, #fdfdf9 100%);
  border-bottom: 1px solid var(--td-line);
}

.td-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.td-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--td-green-700);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-eyebrow::before {
  width: 24px;
  height: 3px;
  content: "";
  border-radius: 3px;
  background: var(--td-warm);
}

.td-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.4vw, 70px);
  font-weight: 900;
}

.td-hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #45564c;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.td-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.td-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background-color 160ms ease;
}

.td-button:hover {
  transform: translateY(-2px);
}

.td-button-primary {
  color: #fff;
  background: var(--td-green-800);
  box-shadow: 0 10px 24px rgba(23, 84, 58, 0.2);
}

.td-button-primary:hover { color: #fff; background: var(--td-green-900); }

.td-button-secondary {
  color: var(--td-green-900);
  border-color: #b9d2c1;
  background: rgba(255, 255, 255, 0.78);
}

.td-button-secondary:hover { color: var(--td-green-900); background: #fff; }

.td-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--td-muted);
  font-size: 13px;
  font-weight: 650;
}

.td-proof-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--td-green-600);
  font-weight: 900;
}

.td-hero-visual {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--td-radius-lg);
  background: #fff;
  box-shadow: var(--td-shadow);
  transform: rotate(1deg);
}

.td-hero-visual img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  object-position: 100% center;
}

.td-section {
  padding: clamp(72px, 8vw, 108px) 0;
}

.td-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 38px;
}

.td-section-heading .td-eyebrow { margin-bottom: 12px; }
.td-section-heading h2 { max-width: 760px; font-size: clamp(31px, 4vw, 47px); font-weight: 890; }
.td-section-heading > p { margin: 0 0 4px; color: var(--td-muted); font-size: 15px; line-height: 1.85; }

.td-platform-section { padding-block: 64px; }

.td-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.td-platform-card {
  min-height: 144px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius);
  color: var(--td-ink);
  background: #fff;
  box-shadow: 0 7px 24px rgba(18, 61, 43, 0.05);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.td-platform-card:hover {
  color: var(--td-ink);
  border-color: #9bbda7;
  box-shadow: var(--td-shadow);
  transform: translateY(-4px);
}

.td-platform-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.td-platform-uber .td-platform-mark { background: #14251d; }
.td-platform-foodpanda .td-platform-mark { background: #b71f58; }
.td-platform-lalamove .td-platform-mark { background: #bc4a20; }
.td-platform-card > span:last-child { display: grid; gap: 7px; }
.td-platform-card strong { font-size: 20px; }
.td-platform-card small { color: var(--td-muted); font-size: 13px; font-weight: 700; }

.td-news-section { background: #f2f6f3; }
.td-guides-section { background: #fff; }

.td-news-grid,
.td-guide-grid {
  display: grid;
  gap: 22px;
}

.td-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.td-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.td-article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 61, 43, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.td-article-card:hover {
  box-shadow: var(--td-shadow);
  transform: translateY(-4px);
}

.td-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.td-card-featured.td-card-no-image { display: block; }

.td-card-media {
  min-height: 212px;
  display: block;
  overflow: hidden;
  background: var(--td-green-100);
}

.td-card-featured .td-card-media { min-height: 340px; }

.td-card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.td-card-featured .td-card-image { aspect-ratio: auto; min-height: 340px; }
.td-card-image-fallback { object-position: center; }
.td-article-card:hover .td-card-image { transform: scale(1.025); }

.td-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
}

.td-card-featured .td-card-body { justify-content: center; padding: clamp(28px, 5vw, 50px); }
.td-card-no-image .td-card-body { min-height: 212px; justify-content: center; }
.td-card-featured.td-card-no-image .td-card-body { min-height: 260px; }

.td-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-bottom: 14px;
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 650;
}

.td-card-meta span:first-child {
  color: var(--td-green-700);
  font-weight: 850;
}

.td-card-body h3 { font-size: clamp(20px, 2.3vw, 27px); font-weight: 850; }
.td-guide-grid .td-card-body h3 { font-size: 21px; }
.td-card-body h3 a { color: inherit; text-decoration: none; }
.td-card-body > p { margin: 14px 0 19px; color: var(--td-muted); font-size: 14px; line-height: 1.75; }
.td-card-link { margin-top: auto; color: var(--td-green-700); font-size: 14px; font-weight: 850; text-decoration: none; }
.td-card-link:hover { color: var(--td-green-900); }

.td-section-action { margin-top: 30px; text-align: right; }
.td-text-link { color: var(--td-green-700); font-size: 15px; font-weight: 850; text-decoration: none; }

.td-gear-section { background: var(--td-green-900); }

.td-gear-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.td-gear-copy .td-eyebrow { color: #aee6bf; }
.td-gear-copy h2 { max-width: 680px; color: #fff; font-size: clamp(34px, 4.6vw, 55px); font-weight: 890; }
.td-gear-copy > p:not(.td-eyebrow):not(.td-disclosure) { max-width: 700px; margin: 22px 0 30px; color: #d7e7dc; font-size: 16px; line-height: 1.85; }
.td-gear-copy .td-button-primary { color: var(--td-green-900); background: #fff; box-shadow: none; }
.td-gear-copy .td-button-primary:hover { color: var(--td-green-900); background: #e9f6ed; }
.td-disclosure { max-width: 720px; margin: 22px 0 0; color: #adbfaf; font-size: 12px; line-height: 1.65; }

.td-gear-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-gear-list li {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 17px;
  font-weight: 760;
}

.td-gear-list span { color: #9ddab0; font-size: 13px; font-weight: 850; letter-spacing: 0.1em; }

.td-trust-section { background: #fff; }
.td-trust-section .td-section-heading { grid-template-columns: 1fr; }

.td-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.td-trust-grid > div {
  padding: 29px;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius);
  background: var(--td-green-050);
}

.td-trust-grid span { color: var(--td-green-700); font-size: 13px; font-weight: 900; letter-spacing: 0.11em; }
.td-trust-grid h3 { margin-top: 15px; font-size: 21px; font-weight: 850; }
.td-trust-grid p { margin: 11px 0 0; color: var(--td-muted); font-size: 14px; }

.td-facebook-section { padding-top: 0; background: #fff; }

.td-facebook-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--td-radius-lg);
  color: #fff;
  background: linear-gradient(125deg, #163f2e, #24764c);
  box-shadow: var(--td-shadow);
}

.td-facebook-panel .td-eyebrow { color: #b6e9c5; }
.td-facebook-panel h2 { max-width: 720px; color: #fff; font-size: clamp(29px, 4vw, 44px); font-weight: 880; }
.td-facebook-panel p:last-child { max-width: 720px; margin: 14px 0 0; color: #d7eadc; }
.td-button-light { color: var(--td-green-900); background: #fff; }
.td-button-light:hover { color: var(--td-green-900); background: #ecf6ef; }

.td-site-footer {
  position: relative;
  z-index: 2;
  padding: 64px 0 24px;
  color: #d6e1da;
  background: #101d16;
}

.td-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, 0.65fr) minmax(180px, 0.7fr);
  gap: clamp(34px, 7vw, 84px);
}

.td-brand-footer { color: #fff; }
.td-brand-footer strong { color: #fff; }
.td-brand-footer small { color: #aebdb4; }
.td-brand-footer img { width: 48px; height: 48px; border-color: rgba(255, 255, 255, 0.15); }
.td-footer-brand > p { max-width: 520px; margin: 20px 0 0; color: #aebdb4; font-size: 14px; }
.td-site-footer h2 { margin-bottom: 17px; color: #fff; font-size: 14px; font-weight: 850; letter-spacing: 0.08em; }
.td-site-footer ul { margin: 0; padding: 0; list-style: none; }
.td-site-footer li + li { margin-top: 9px; }
.td-site-footer a { color: #c8d7ce; font-size: 14px; text-decoration: none; }
.td-site-footer a:hover { color: #fff; }

.td-footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 30px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.td-footer-bottom p { margin: 0; color: #8fa197; font-size: 11px; }
.td-footer-bottom p:last-child { text-align: right; }

/* Shared article and page treatment. */
.single-post.td-site-experience .site-content,
.page.td-site-experience:not(.td-professional-home) .site-content {
  background: #f4f7f5;
}

.single-post.td-site-experience .site-content > .ast-container {
  width: min(980px, calc(100% - 40px));
  display: block;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 70px) 0;
}

.single-post.td-site-experience article.post {
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  background: #fff;
  box-shadow: 0 12px 40px rgba(18, 61, 43, 0.07);
}

.single-post.td-site-experience .entry-title {
  color: var(--td-ink);
  font-size: clamp(33px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.28;
}

.single-post.td-site-experience .entry-meta { color: var(--td-muted); font-size: 13px; }
.single-post.td-site-experience .entry-content { color: #334139; font-size: 17px; line-height: 1.92; }
.single-post.td-site-experience .entry-content h2,
.single-post.td-site-experience .entry-content h3,
.single-post.td-site-experience .entry-content h4 {
  color: var(--td-ink);
  font-weight: 850;
  line-height: 1.4;
}

.single-post.td-site-experience .entry-content h4 { margin-top: 2.2em; font-size: clamp(22px, 3vw, 28px); }
.single-post.td-site-experience .entry-content a { color: var(--td-green-700); font-weight: 700; }
.single-post.td-site-experience .entry-content img { max-width: 100%; height: auto; border-radius: 14px; }
.single-post.td-site-experience .entry-content blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--td-green-600); background: var(--td-green-050); }
.single-post.td-site-experience .entry-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.single-post.td-site-experience .entry-content th,
.single-post.td-site-experience .entry-content td { min-width: 120px; border: 1px solid var(--td-line); padding: 10px 12px; }
.single-post.td-site-experience .entry-content th { background: var(--td-green-050); }

@media (max-width: 1050px) {
  .td-brand small { display: none; }
  .td-primary-nav a { padding-inline: 8px; font-size: 13px; }
  .td-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr); gap: 40px; }
  .td-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .td-shell { width: min(100% - 32px, 740px); }
  .td-site-header { position: sticky; top: 0; }
  .admin-bar .td-site-header { top: 32px; }
  .td-header-inner { min-height: 70px; }
  .td-brand img { width: 46px; height: 46px; border-radius: 13px; }
  .td-brand small { display: block; }
  .td-menu-toggle { display: grid; }
  .td-primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 13px;
    border: 1px solid var(--td-line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: var(--td-shadow);
  }
  .td-menu-open .td-primary-nav { display: grid; }
  .td-primary-nav a { justify-content: space-between; padding: 11px 13px; font-size: 15px; }
  .td-primary-nav .td-nav-social { margin: 5px 0 0; justify-content: center; }
  .td-hero { padding: 54px 0 60px; }
  .td-hero-grid { grid-template-columns: 1fr; }
  .td-hero h1 { font-size: clamp(42px, 11vw, 64px); }
  .td-hero-visual { min-height: 360px; transform: none; }
  .td-hero-visual img { height: 360px; }
  .td-section-heading { grid-template-columns: 1fr; gap: 16px; }
  .td-platform-grid { grid-template-columns: 1fr; }
  .td-card-featured { grid-template-columns: 1fr; }
  .td-card-featured .td-card-media,
  .td-card-featured .td-card-image { min-height: 260px; }
  .td-gear-panel { grid-template-columns: 1fr; }
  .td-trust-grid { grid-template-columns: 1fr; }
  .td-facebook-panel { grid-template-columns: 1fr; }
  .td-facebook-panel .td-button { justify-self: start; }
  .td-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
  .td-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .td-shell { width: min(100% - 26px, 560px); }
  .admin-bar .td-site-header { top: 46px; }
  .td-brand { gap: 9px; }
  .td-brand strong { font-size: 17px; }
  .td-brand small { font-size: 10px; }
  .td-hero { padding-top: 44px; }
  .td-hero h1 { font-size: clamp(40px, 13vw, 56px); }
  .td-hero-lead { margin-top: 20px; font-size: 16px; }
  .td-hero-actions { display: grid; }
  .td-button { width: 100%; }
  .td-proof-list { display: grid; }
  .td-hero-visual { min-height: 300px; border-width: 7px; border-radius: 23px; }
  .td-hero-visual img { height: 300px; object-position: 100% center; }
  .td-section { padding-block: 68px; }
  .td-platform-section { padding-block: 54px; }
  .td-section-heading { margin-bottom: 28px; }
  .td-section-heading h2 { font-size: 34px; }
  .td-platform-card { min-height: 126px; padding: 21px; }
  .td-news-grid,
  .td-guide-grid { grid-template-columns: 1fr; }
  .td-card-featured { grid-column: auto; }
  .td-card-featured .td-card-media,
  .td-card-featured .td-card-image { min-height: 210px; }
  .td-card-body,
  .td-card-featured .td-card-body { padding: 23px; }
  .td-guide-grid .td-card-body h3 { font-size: 22px; }
  .td-section-action { text-align: left; }
  .td-gear-copy h2 { font-size: 38px; }
  .td-facebook-panel { padding: 28px 23px; border-radius: 22px; }
  .td-facebook-panel .td-button { justify-self: stretch; }
  .td-footer-grid { grid-template-columns: 1fr 1fr; }
  .td-footer-brand { grid-column: 1 / -1; }
  .td-footer-bottom { grid-template-columns: 1fr; gap: 10px; }
  .td-footer-bottom p:last-child { text-align: left; }
  .single-post.td-site-experience .site-content > .ast-container { width: min(100% - 24px, 980px); padding-block: 28px; }
  .single-post.td-site-experience article.post { padding: 24px 20px; border-radius: 20px; }
  .single-post.td-site-experience .entry-title { font-size: 32px; }
  .single-post.td-site-experience .entry-content { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .td-site-experience *,
  .td-site-experience *::before,
  .td-site-experience *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
