:root {
  --bg: #ffffff;
  --ink: #17201f;
  --muted: #5d6b68;
  --line: #dfe6e2;
  --soft: #f4f8f6;
  --teal: #0f766e;
  --teal-dark: #0a4f49;
  --amber: #d97706;
  --amber-soft: #fff5df;
  --shadow: 0 18px 60px rgba(15, 31, 27, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

html,
body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(15, 118, 110, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 230, 226, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: #fff;
}

.brand-mark svg,
.icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--teal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.18);
  white-space: normal;
  text-align: center;
}

.button.secondary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}

.button.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.hero,
.section,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 54px;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 700px;
  min-width: 0;
}

.lead-zh {
  margin: 22px 0 0;
  color: var(--teal-dark);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.25;
  font-weight: 780;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 580px;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

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

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-console {
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: 24px;
  align-content: start;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 249, 0.92)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px) 0 0 / 48px 48px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.console-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  flex-wrap: wrap;
}

.console-topline strong {
  color: var(--teal-dark);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.console-panel {
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.console-panel.accent {
  background: var(--amber-soft);
  border-color: rgba(217, 119, 6, 0.24);
}

.console-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.console-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.05;
}

.console-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workflow-bars {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.workflow-bars span {
  position: relative;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.workflow-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: rgba(15, 118, 110, 0.12);
}

.workflow-bars span {
  isolation: isolate;
}

.radar-strip {
  position: static;
  width: 100%;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 16px;
}

.radar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.radar-row span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.radar-row:last-child {
  border-bottom: 0;
}

.score {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section p.section-note,
.section-note {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 760px;
  text-wrap: pretty;
}

.tool-grid,
.guide-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.card,
.tool-card,
.article-card,
.offer-card,
.newsletter-panel,
.compare-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.tool-card,
.article-card,
.offer-card {
  padding: 18px;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
}

.tool-card h3,
.article-card h3,
.offer-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.tool-card p,
.article-card p,
.offer-card p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--amber);
  font-weight: 860;
  font-variant-numeric: tabular-nums;
}

.offer-hero {
  grid-template-columns: 1fr 0.85fr;
}

.revenue-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 28px;
  box-shadow: var(--shadow);
}

.revenue-panel h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 16px;
}

.metric-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: 24px;
  line-height: 1.1;
}

.metric-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-link {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.compare-panel {
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  background: var(--soft);
  color: var(--teal-dark);
  font-size: 13px;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #f7fbf9, #fff8eb);
}

.newsletter-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: min(420px, 100%);
}

.hidden-field {
  display: none;
}

.newsletter-form input,
.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.application-form {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.application-form label {
  display: grid;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 760;
}

.application-form textarea {
  min-height: 110px;
  resize: vertical;
}

.application-form .checkbox-line {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.45;
}

.application-form .checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.article-layout {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.article-layout h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.article-layout .deck {
  color: var(--muted);
  font-size: 19px;
  margin: 18px 0 28px;
}

.article-body {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.article-body h2 {
  margin: 34px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.article-body p {
  margin: 0 0 16px;
}

.checklist {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.checklist h2 {
  margin-top: 0;
}

.checklist ul {
  margin: 0;
  padding-left: 20px;
}

.cta-band {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(217, 119, 6, 0.32);
  border-radius: var(--radius);
  background: var(--amber-soft);
}

.legal-panel {
  padding: 24px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.worksheet-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.worksheet-card h2 {
  margin-top: 0;
  font-size: 23px;
}

.worksheet-card ol,
.worksheet-card ul {
  margin: 0;
  padding-left: 20px;
}

.score-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.score-box span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-weight: 760;
}

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

.social-card {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px) 0 0 / 42px 42px,
    #ffffff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 36px rgba(15, 31, 27, 0.08);
}

.social-card-top,
.social-card-url {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.social-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.social-card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.social-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 760;
}

.social-card-cta {
  color: var(--amber);
  font-weight: 860;
}

.social-card-url {
  display: block;
  overflow-wrap: anywhere;
  text-transform: none;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: 180ms ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 42px;
  }

  .hero-console {
    min-height: 0;
  }

  .radar-strip {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .tool-grid,
  .guide-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 17px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-links a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nav-links a.button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .hero,
  .section,
  .article-layout,
  .footer-inner {
    width: min(calc(100% - 24px), 1160px);
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-copy,
  .hero-copy p,
  .hero h1,
  .lead,
  .lead-zh {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
    text-wrap: auto;
  }

  .lead {
    max-width: none;
    font-size: 17px;
  }

  .lead-zh {
    font-size: 18px;
    line-height: 1.35;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-console {
    padding: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .console-topline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .console-panel strong {
    font-size: 26px;
  }

  .radar-strip {
    padding: 12px;
  }

  .radar-row {
    gap: 8px;
    font-size: 12px;
  }

  .tool-grid,
  .guide-grid,
  .offer-grid,
  .resource-grid,
  .social-card-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    aspect-ratio: auto;
    min-height: 0;
    padding: 22px;
  }

  .social-card h2 {
    font-size: 24px;
  }

  .section-head {
    display: block;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .compare-panel {
    overflow-x: auto;
  }

  .compare-table {
    min-width: 720px;
  }
}
