:root {
  color-scheme: light;
  --ink: #1f2421;
  --ink-soft: #3f4843;
  --muted: #65716b;
  --faint: #8b9690;
  --line: #d9e1d8;
  --panel: #ffffff;
  --bg: #f7f8f3;
  --bg-deep: #e8f0e8;
  --brand: #176b57;
  --brand-dark: #0f493d;
  --brand-soft: #dfeee7;
  --blue: #245f76;
  --blue-soft: #e7f0f3;
  --clay: #9a5638;
  --clay-soft: #f1dfd2;
  --gold: #b77921;
  --gold-soft: #f3e7ce;
  --shadow: 0 18px 50px rgba(31, 36, 33, .08);
  --shadow-strong: 0 28px 90px rgba(31, 36, 33, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(23, 107, 87, .14), transparent 30rem),
    linear-gradient(180deg, #f7f8f3 0, #eef4ed 38rem, #f7f8f3 100%);
}

a { color: var(--brand); font-weight: 800; }
p, li { line-height: 1.8; }
img { max-width: 100%; }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 46px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.brand span:last-child { font-weight: 900; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.nav a {
  color: #333b36;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, .75);
  border-color: #cfdad0;
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: 32px 0 30px;
}

.hero-modern { min-height: 570px; }
.detail-hero { min-height: 440px; align-items: stretch; }

.hero-copy { max-width: 720px; }

.label-line {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

h1, h2, h3 {
  text-wrap: balance;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 10px 24px rgba(23, 107, 87, .16);
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  outline: none;
}

.button.secondary {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(36, 95, 118, .13);
}

.button.ghost {
  background: #fff;
  color: var(--brand);
  box-shadow: none;
}

.button.pending {
  background: #fff;
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #cbd9d2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: #445047;
  font-size: 13px;
  font-weight: 800;
}

.hero-workbench,
.hero-showcase,
.hero-panel {
  border: 1px solid #d2ddd2;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-strong);
  padding: 16px;
}

.hero-panel { display: grid; align-content: start; }

.workbench-bar,
.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.workbench-bar span,
.showcase-header span {
  color: var(--muted);
  font-weight: 800;
}

.workflow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.workflow-card:first-of-type { border-top: 0; }

.workflow-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow-card.active {
  margin: 0 -6px;
  padding: 14px 6px;
  border-radius: 8px;
  background: var(--brand-soft);
  border-top: 0;
}

.step-code {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.showcase-card {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.showcase-card img {
  display: block;
  width: 100%;
  background: #fff;
}

.showcase-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.showcase-card figcaption span {
  color: var(--muted);
  line-height: 1.65;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2b9b71;
  box-shadow: 0 0 0 5px rgba(43, 155, 113, .13);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, .72);
}

.trust-strip b { font-size: 17px; }
.trust-strip span { color: var(--muted); line-height: 1.65; }

.section {
  padding: clamp(42px, 7vw, 78px) 0;
  border-top: 1px solid rgba(217, 225, 216, .9);
}

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

.section-head p,
.section-copy p {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 17px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.deliverable-list {
  display: grid;
  gap: 12px;
}

.deliverable-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  padding: 18px;
  box-shadow: 0 12px 34px rgba(31, 36, 33, .05);
}

.deliverable-list span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.deliverable-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.product-band {
  position: relative;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.tool-tile {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(31, 36, 33, .05);
}

.tool-tile.featured {
  background: linear-gradient(135deg, #ffffff 0, var(--brand-soft) 100%);
  border-color: #bcd7ca;
}

.tool-tile b {
  font-size: 18px;
}

.tool-tile span {
  color: var(--muted);
  line-height: 1.7;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list a {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.article-list a:first-child { border-top: 1px solid var(--line); }
.article-list span { color: var(--muted); line-height: 1.6; }

.product-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 16px;
}

.product-spotlight,
.product-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  box-shadow: var(--shadow);
}

.product-stack {
  display: grid;
  gap: 12px;
}

.product-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.price-chip,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 900;
}

.tag.gold { color: #6b4710; background: var(--gold-soft); }
.tag.blue { color: var(--blue); background: var(--blue-soft); }

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

.preview-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.preview-shot img {
  display: block;
  width: 100%;
}

.preview-shot figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.checker-section {
  margin-top: 26px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(13, 114, 92, .18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(13, 114, 92, .08), transparent 48%),
    rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.checker-copy {
  max-width: 820px;
  margin-bottom: 22px;
}

.checker-copy p:not(.label-line) {
  color: var(--ink-soft);
  font-size: 17px;
}

.checker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 16px;
  align-items: stretch;
}

.checker-input-panel,
.checker-output-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(17, 25, 22, .06);
}

.checker-input-panel label {
  color: var(--ink);
  font-weight: 900;
}

.checker-input-panel textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  border: 1px solid #cfdad0;
  border-radius: 16px;
  padding: 13px;
  font: 14px/1.65 Consolas, "Courier New", "Microsoft JhengHei", monospace;
  color: var(--ink);
  background: #fbfdfb;
}

.checker-input-panel textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(13, 114, 92, .16);
}

.checker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checker-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.checker-actions button.secondary {
  border-color: var(--blue);
  background: var(--blue);
}

.checker-score {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checker-score span {
  color: var(--muted);
  line-height: 1.5;
}

.checker-score strong {
  flex: 0 0 auto;
  min-width: 84px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef5ef;
  color: var(--brand-dark);
  text-align: center;
}

.checker-score strong[data-level="high"] {
  background: #f7dfd5;
  color: #85351d;
}

.checker-score strong[data-level="medium"] {
  background: var(--gold-soft);
  color: #6d4b11;
}

.checker-score strong[data-level="low"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.checker-summary {
  color: var(--ink-soft);
}

.checker-summary p {
  margin: 0 0 8px;
}

.checker-results {
  display: grid;
  gap: 10px;
}

.checker-result {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdfb;
}

.checker-result span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.checker-result.high span {
  background: #f7dfd5;
  color: #85351d;
}

.checker-result.medium span {
  background: var(--gold-soft);
  color: #6d4b11;
}

.checker-result h3 {
  margin: 0;
  font-size: 18px;
}

.checker-result p {
  margin: 0;
  color: var(--ink-soft);
}

.checker-result b {
  color: var(--brand-dark);
  line-height: 1.65;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 107, 87, .12), transparent 55%),
    #fff;
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 720px;
  color: var(--ink-soft);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.detail-page h1 {
  font-size: clamp(42px, 5.5vw, 70px);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card.featured {
  background:
    linear-gradient(135deg, rgba(23, 107, 87, .11), transparent 60%),
    #fff;
}

.card p {
  color: var(--ink-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.cta {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #bfd3c7;
  border-radius: 8px;
  background: #f2f8f4;
  color: var(--ink-soft);
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px dashed #b9c8bd;
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.article-page article.hero-panel {
  max-width: 900px;
  margin: 0 auto;
}

.article-page h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-page code {
  padding: 2px 6px;
  border: 1px solid #d7dfd8;
  border-radius: 6px;
  background: #f7faf6;
  color: #1d4f42;
  font-family: Consolas, "Courier New", monospace;
}

.formula-box {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.formula-box code {
  display: block;
  overflow-x: auto;
  padding: 12px;
  border-color: #c8d9cf;
  background: #fff;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

.table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

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

.table-wrap th {
  background: #edf5ef;
  color: var(--brand-dark);
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav { justify-content: flex-start; }

  .hero,
  .split-section,
  .editorial,
  .product-ledger {
    grid-template-columns: 1fr;
  }

  .hero-modern,
  .detail-hero {
    min-height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }

  .product-row,
  .final-cta {
    display: grid;
  }

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

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 1180px);
    padding-top: 10px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .button {
    width: 100%;
  }

  .hero-workbench,
  .hero-showcase,
  .hero-panel,
  .product-spotlight,
  .product-row,
  .tool-tile,
  .deliverable-list article,
  .final-cta {
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 2026-06-14 premium pass: quieter, denser, less presentation-like. */
:root {
  --paper: #fbfcf8;
  --paper-warm: #f4f0e8;
  --rule: rgba(17, 25, 22, .1);
}

body {
  background:
    linear-gradient(90deg, rgba(17, 25, 22, .028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 25, 22, .025) 1px, transparent 1px),
    linear-gradient(140deg, rgba(13, 114, 92, .08), transparent 38rem),
    linear-gradient(180deg, #fbfcf8 0, #edf4ef 52rem, #f8faf6 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.page {
  width: min(1160px, calc(100% - 40px));
}

.topbar {
  top: 10px;
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(17, 25, 22, .08);
}

.brand-mark {
  background: linear-gradient(145deg, #0d725c, #111916);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.hero-modern {
  position: relative;
  min-height: 520px;
  padding: 52px clamp(18px, 3vw, 34px);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .36)),
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(244, 240, 232, .62));
  box-shadow: 0 30px 95px rgba(17, 25, 22, .1);
}

.hero-modern::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(17, 25, 22, .07);
  border-radius: 13px;
  pointer-events: none;
}

h1 {
  max-width: 700px;
  font-size: clamp(40px, 5.1vw, 62px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(27px, 3.5vw, 42px);
}

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

.label-line {
  color: #8b3f26;
  letter-spacing: 0;
}

.hero-workbench,
.hero-showcase,
.hero-panel,
.card,
.tool-tile,
.deliverable-list article,
.product-spotlight,
.product-row {
  border-color: rgba(17, 25, 22, .11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(251, 252, 248, .9));
  box-shadow: 0 18px 60px rgba(17, 25, 22, .08);
}

.hero-workbench {
  transform: rotate(.35deg);
}

.workflow-card.active {
  background:
    linear-gradient(90deg, rgba(13, 114, 92, .16), rgba(217, 239, 231, .52));
}

.step-code {
  background: #0d725c;
}

.trust-strip {
  margin-top: 18px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(17, 25, 22, .06);
}

.section {
  border-top-color: rgba(17, 25, 22, .08);
}

.button {
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(13, 114, 92, .18);
}

.button.ghost {
  border-color: rgba(13, 114, 92, .28);
  background: rgba(255, 255, 255, .78);
}

.tool-tile,
.article-list a,
.deliverable-list article {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tool-tile:hover,
.article-list a:hover,
.deliverable-list article:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 114, 92, .32);
  box-shadow: 0 24px 70px rgba(17, 25, 22, .11);
}

.final-cta {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 114, 92, .14), transparent 52%),
    linear-gradient(180deg, #ffffff, #f8f4ed);
}

@media (max-width: 900px) {
  .hero-modern {
    padding: 34px 18px;
  }

  .hero-workbench {
    transform: none;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 1160px);
  }

  .hero-modern {
    border-radius: 14px;
    padding: 24px 14px;
  }

  .hero-modern::before {
    inset: 8px;
  }
}

/* 2026-06-14 anti-PPT refinement: editorial product-site scale. */
.hero {
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(251, 252, 248, .9)),
    linear-gradient(90deg, rgba(13, 114, 92, .05), rgba(197, 138, 31, .06));
}

.hero::before {
  inset: auto -8% -42% 46%;
  height: 58%;
  opacity: .58;
  transform: rotate(-5deg);
}

.hero-modern {
  min-height: 560px;
}

.detail-hero {
  min-height: 470px;
}

h1 {
  max-width: 700px;
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 3.35vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.detail-page h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.08;
}

.detail-page .section h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.14;
}

.lead {
  max-width: 660px;
  font-size: clamp(16px, 1.45vw, 19px);
}

.hero-panel h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
}

.hero-workbench,
.hero-showcase,
.hero-panel {
  border-radius: 18px;
}

.trust-strip {
  margin-bottom: 42px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  h1,
  .detail-page h1 {
    font-size: clamp(36px, 8.4vw, 50px);
  }
}

/* 2026-06-14 visual refresh: practical product-studio identity. */
:root {
  --ink: #111916;
  --ink-soft: #26332f;
  --muted: #52615b;
  --faint: #7b8983;
  --line: #d9e2dc;
  --panel: #ffffff;
  --bg: #f3f7f4;
  --bg-deep: #e6eee9;
  --brand: #0d725c;
  --brand-dark: #084b3d;
  --brand-soft: #d9efe7;
  --blue: #155d7b;
  --blue-soft: #dcecf2;
  --clay: #a34b2a;
  --clay-soft: #f3ded3;
  --gold: #c58a1f;
  --gold-soft: #f5e8c8;
  --shadow: 0 24px 70px rgba(17, 25, 22, .08);
  --shadow-strong: 0 36px 110px rgba(17, 25, 22, .16);
}

body {
  font-family: "Microsoft JhengHei", "Noto Sans TC", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(13, 114, 92, .08) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 78% 8%, rgba(197, 138, 31, .18), transparent 18rem),
    linear-gradient(180deg, #f6faf7 0, #e9f1ec 46rem, #f8faf7 100%);
}

.page {
  width: min(1240px, calc(100% - 36px));
  padding-top: 14px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-bottom: 28px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 226, 220, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 42px rgba(17, 25, 22, .07);
}

.brand-mark {
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(13, 114, 92, .95), rgba(17, 25, 22, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.nav a {
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 850;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  margin-top: 8px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(13, 114, 92, .16);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .96) 0 50%, rgba(217, 239, 231, .78) 50% 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -34% 40%;
  height: 70%;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(13, 114, 92, .11) 0 2px, transparent 2px 16px);
  transform: rotate(-8deg);
}

.hero-modern { min-height: min(720px, calc(100dvh - 110px)); }
.detail-hero { min-height: 520px; }

.label-line,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(163, 75, 42, .1);
  color: #7f321c;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 6.8vw, 88px);
  line-height: .98;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.015em;
}

.lead {
  max-width: 720px;
  color: #273631;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
}

.button {
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(8, 75, 61, .2);
}

.button:active {
  transform: translateY(1px);
}

.button.ghost {
  border-color: rgba(13, 114, 92, .24);
  background: rgba(255, 255, 255, .86);
}

.signal-row span {
  border-color: rgba(17, 25, 22, .13);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 25, 22, .05);
}

.hero-workbench,
.hero-showcase,
.hero-panel {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, #12231f 0, #172d28 58%, #263a32 100%);
  color: #eef8f4;
  box-shadow: 0 34px 100px rgba(17, 25, 22, .24);
}

.hero-panel h2,
.hero-panel h3,
.hero-panel b,
.hero-workbench b,
.hero-workbench strong {
  color: #fff;
}

.hero-panel p,
.hero-panel li,
.hero-workbench p,
.hero-workbench span,
.workbench-bar span {
  color: #c4d8d0;
}

.workbench-bar {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.workflow-card {
  border-top-color: rgba(255, 255, 255, .12);
}

.workflow-card.active {
  background:
    linear-gradient(135deg, rgba(44, 180, 139, .24), rgba(197, 138, 31, .12));
}

.step-code {
  background: #e8fff7;
  color: #0a4f40;
}

.showcase-card {
  border-color: rgba(255, 255, 255, .16);
  background: #f8fbf8;
}

.showcase-card figcaption span {
  color: #40504a;
}

.file-preview {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.file-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.file-line span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.file-line b {
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.file-preview p {
  margin: 6px 0 0;
  color: #40504a;
  line-height: 1.65;
}

.trust-strip {
  margin-top: 28px;
  border-radius: 22px;
  background: var(--ink);
  border-color: var(--ink);
}

.trust-strip div {
  background: #14201d;
  color: #eef8f4;
}

.trust-strip span {
  color: #bfd3cb;
}

.section {
  border-top: 0;
}

.split-section,
.editorial,
.product-band,
.final-cta {
  margin-top: 26px;
  padding: clamp(34px, 5.5vw, 64px);
  border-radius: 28px;
  border: 1px solid rgba(217, 226, 220, .95);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.product-band {
  background:
    linear-gradient(135deg, rgba(21, 93, 123, .08), transparent 45%),
    rgba(255, 255, 255, .86);
}

.deliverable-list article,
.tool-tile,
.card,
.product-spotlight,
.product-row,
.preview-shot {
  border-radius: 18px;
  border-color: rgba(17, 25, 22, .12);
  box-shadow: 0 16px 42px rgba(17, 25, 22, .06);
}

.deliverable-list article {
  background:
    linear-gradient(90deg, rgba(13, 114, 92, .08), transparent 36%),
    #fff;
}

.tool-tile {
  min-height: 170px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tool-tile:hover,
.tool-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(13, 114, 92, .38);
  box-shadow: 0 24px 64px rgba(17, 25, 22, .12);
  outline: none;
}

.tool-tile.featured {
  background:
    linear-gradient(145deg, #11312a, #0d725c);
  color: #fff;
}

.tool-tile.featured span {
  color: #d7f0e8;
}

.article-list a {
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 18px;
}

.article-list a:first-child {
  border-top: 1px solid transparent;
}

.article-list a:hover,
.article-list a:focus-visible {
  background: #fff;
  border-color: rgba(17, 25, 22, .12);
  box-shadow: 0 14px 38px rgba(17, 25, 22, .06);
  outline: none;
}

.final-cta {
  background:
    linear-gradient(120deg, #111916 0 58%, #0d725c 58% 100%);
  color: #fff;
}

.final-cta p,
.final-cta h2 {
  color: #fff;
}

.final-cta .button {
  background: #f9fff9;
  color: #0a4f40;
  border-color: #f9fff9;
}

.footer {
  margin-top: 44px;
  padding: 22px 0;
}

.article-page article.hero-panel {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(247, 250, 246, .9)),
    #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.article-page article.hero-panel h1,
.article-page article.hero-panel h2,
.article-page article.hero-panel h3,
.article-page article.hero-panel b {
  color: var(--ink);
}

.article-page article.hero-panel p,
.article-page article.hero-panel li {
  color: var(--ink-soft);
}

.article-page article.hero-panel h1 {
  max-width: 820px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.14;
}

.article-page article.hero-panel h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 3vw, 34px);
}

.article-page code {
  border: 1px solid #dce6df;
  border-radius: 7px;
  padding: 2px 6px;
  background: #f5faf6;
  color: #0f493d;
}

.cta,
.ad-slot {
  margin: 22px 0;
  border-radius: 18px;
  border: 1px solid rgba(23, 107, 87, .18);
  background: linear-gradient(135deg, rgba(23, 107, 87, .08), rgba(255, 255, 255, .8));
  padding: 16px 18px;
  color: var(--ink-soft);
}

.ad-slot {
  border-style: solid;
  background: #f6faf7;
}

.about-hero,
.blog-hero {
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(23, 107, 87, .12), transparent 45%),
    rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.about-page .hero-panel,
.blog-hero .hero-panel {
  min-height: auto;
  padding: 24px;
}

.normalized-page {
  width: min(1120px, calc(100% - 32px));
}

.normalized-page > header:not(.topbar) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 0 0 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(23, 107, 87, .11), transparent 52%),
    rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.normalized-page > h1 {
  max-width: 900px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.14;
}

.normalized-page > .nav {
  justify-content: flex-start;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(17, 25, 22, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
}

.normalized-page > header h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.12;
}

.normalized-page .sub,
.normalized-page .muted,
.normalized-page .small {
  color: var(--ink-soft);
}

.normalized-page .pill,
.normalized-page .tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(23, 107, 87, .18);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.normalized-page .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 18px;
  align-items: start;
}

.normalized-page .grid.two,
.normalized-page .content-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.normalized-page section,
.normalized-page aside,
.normalized-page .band,
.normalized-page .panel,
.normalized-page .hero-panel.article-shell {
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(249, 251, 248, .92)),
    #fff;
  box-shadow: 0 18px 48px rgba(17, 25, 22, .07);
  padding: clamp(20px, 3vw, 32px);
}

.normalized-page .band {
  margin-top: 18px;
}

.normalized-page h2 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.18;
}

.normalized-page h3 {
  font-size: 19px;
}

.normalized-page blockquote {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid rgba(23, 107, 87, .18);
  border-radius: 18px;
  background: #f6fbf7;
  color: var(--ink-soft);
}

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

.normalized-page th,
.normalized-page td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.normalized-page th {
  color: var(--ink-soft);
  background: #f6faf7;
}

.normalized-page textarea,
.normalized-page input {
  width: 100%;
  border: 1px solid #cfdad0;
  border-radius: 14px;
  padding: 12px 13px;
  font: 15px/1.65 "Microsoft JhengHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

.normalized-page textarea {
  min-height: 240px;
  resize: vertical;
}

.normalized-page button,
.normalized-page a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.normalized-page button.secondary,
.normalized-page a.secondary,
.normalized-page .button.secondary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.normalized-page .metric,
.normalized-page .mini-block,
.normalized-page .pay,
.normalized-page .pay-box,
.normalized-page .note {
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.normalized-page .summary,
.normalized-page .results,
.normalized-page .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.tool-page > header:not(.topbar) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.product-page > header:not(.topbar) {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
}

.product-page .hero-img,
.product-page img {
  border-radius: 18px;
  border: 1px solid rgba(17, 25, 22, .1);
}

.article-page .table-wrap,
.normalized-page .table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-page pre,
.normalized-page pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid rgba(17, 25, 22, .1);
  border-radius: 16px;
  background: #f6faf7;
  padding: 14px 16px;
}

.article-page code,
.normalized-page code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-page table,
.normalized-page table {
  min-width: 0;
}

.article-page td,
.article-page th,
.normalized-page td,
.normalized-page th {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    border-radius: 18px;
  }

  .hero {
    padding: 28px;
    background: rgba(255, 255, 255, .92);
  }

  .split-section,
  .editorial,
  .product-band,
  .final-cta {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .page { width: min(100% - 20px, 1240px); }
  .hero { padding: 22px; border-radius: 22px; }
  h1 { font-size: clamp(36px, 11vw, 48px); }
  .split-section,
  .editorial,
  .product-band,
  .final-cta {
    border-radius: 22px;
    padding: 20px;
  }
}

/* Final public-site safety layer: keep every legacy and redesigned page readable on phones. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
li,
a,
span,
strong,
b {
  overflow-wrap: anywhere;
}

.topbar,
.nav,
.brand,
.hero-panel,
.card,
.cta {
  min-width: 0;
  max-width: 100%;
}

.nav {
  flex-wrap: wrap;
}

.brand {
  white-space: normal;
}

.article-page article.hero-panel {
  width: min(100%, calc(100vw - 20px)) !important;
  max-width: min(880px, calc(100vw - 20px)) !important;
  overflow: hidden;
}

.article-page article.hero-panel > * {
  max-width: 100%;
}

.article-page article.hero-panel h1,
.article-page article.hero-panel h2,
.article-page article.hero-panel p,
.article-page article.hero-panel li {
  max-width: calc(100vw - 72px);
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1240px);
  }

  main.page.article-page {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .article-page article.hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 18px;
    border-radius: 20px;
    overflow: hidden;
  }

  .article-page article.hero-panel h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(28px, 8.6vw, 34px);
    line-height: 1.18;
    word-break: break-all;
  }

  .article-page article.hero-panel h2 {
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.22;
  }

  .article-page article.hero-panel p,
  .article-page article.hero-panel li,
  .article-page article.hero-panel .lead {
    font-size: 16px;
    line-height: 1.86;
  }
}

@media (max-width: 1000px) {
  main.page.article-page {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  .article-page article.hero-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .article-page article.hero-panel h1,
  .article-page article.hero-panel h2,
  .article-page article.hero-panel p,
  .article-page article.hero-panel li,
  .article-page article.hero-panel .cta {
    max-width: 300px !important;
  }
}

@media (max-width: 900px) {
  .checker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .checker-actions button {
    width: 100%;
  }

  .checker-input-panel,
  .checker-output-panel {
    padding: 15px;
  }
}
