@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;900&family=Noto+Serif+TC:wght@500;700;900&display=swap");
:root {
  --ink: #202a29;
  --paper: #f6f5ef;
  --accent: #eee27b;
  --muted: #68736d;
  --line: #d9ded6;
  --green: #e6ece1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #988400;
  outline-offset: 4px;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f6f5eff2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
nav {
  max-width: 1240px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 30px;
  gap: 25px;
}
.brand {
  font-weight: 900;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 21px;
}
.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.navlinks a:hover,
.textlink:hover {
  color: #827100;
}
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}
.product-feature h2 {
  max-width: 720px;
}
.product-feature-copy > p {
  max-width: 680px;
  color: var(--muted);
}
.product-points {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}
.product-points li {
  position: relative;
  padding: 10px 0 10px 29px;
  border-bottom: 1px solid var(--line);
}
.product-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #827100;
  font-weight: 900;
}
.product-feature-image {
  display: block;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 14px 16px 0 rgba(32,42,41,.1);
}
.product-feature-image img,
.product-gallery img,
.product-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}
.commercial-note {
  margin-top: 23px;
  padding-left: 14px;
  border-left: 3px solid #988400;
  font-size: 13px;
}
.product-page {
  max-width: 1120px;
}
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
  padding: 42px 0 64px;
}
.product-hero h1 {
  margin-bottom: 20px;
}
.product-hero-image {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 16px 18px 0 rgba(32,42,41,.1);
}
.product-price {
  margin: 24px 0 9px;
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
  font-weight: 900;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0 42px;
}
.product-grid article {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.product-grid h3 {
  margin: 0 0 8px;
}
.product-grid p {
  margin: 0;
  color: var(--muted);
}
.product-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  margin: 25px 0 45px;
}
.product-gallery figure {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.product-gallery figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: 13px;
}
.product-buy-box {
  margin: 45px 0 20px;
  padding: 30px;
  background: var(--green);
  border: 1px solid #c8d1c2;
  border-left: 7px solid var(--ink);
}
.product-buy-box h2 {
  margin-top: 0;
}
.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 30px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 80px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px 13px;
  font-size: 12px;
}
.hero h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.45;
  margin: 20px 0 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(
    transparent 65%,
    var(--accent) 65%,
    var(--accent) 92%,
    transparent 92%
  );
}
.intro {
  color: var(--muted);
  max-width: 490px;
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  cursor: pointer;
}
.button.secondary {
  color: var(--ink);
  background: transparent;
}
.button:hover {
  background: #3c4944;
  color: white;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 23px;
}
.diagram {
  background: #e9ede5;
  border-radius: 140px 140px 12px 12px;
  padding: 56px 30px 30px;
  position: relative;
  min-height: 390px;
}
.diagram h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  text-align: center;
  margin: 0 0 30px;
}
.rings {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: center;
  height: 185px;
}
.pillar {
  width: 29%;
  border: 1px solid #637265;
  border-radius: 55px 55px 5px 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 8px;
  text-align: center;
  font-size: 13px;
}
.pillar b {
  font-size: 22px;
  font-family: "Noto Serif TC", serif;
}
.pillar:nth-child(1) {
  height: 110px;
  background: #f6f5ef;
}
.pillar:nth-child(2) {
  height: 160px;
  background: #c6d5c5;
}
.pillar:nth-child(3) {
  height: 185px;
  background: var(--accent);
}
.diagram-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.strip b {
  margin-right: 12px;
}
.section {
  padding: 72px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.section h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 34px;
  margin: 6px 0;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card-art {
  height: 155px;
  background: var(--green);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #526454;
}
.card-art span {
  font-family: "Noto Serif TC", serif;
  font-size: 52px;
  font-weight: 700;
}
.card-art small {
  letter-spacing: 0.1em;
  font-size: 11px;
}
.card:nth-child(2) .card-art {
  background: #eee8cc;
}
.card:nth-child(3) .card-art {
  background: #e1e5e8;
}
.card:nth-child(4) .card-art {
  background: #e8ddd4;
}
.card:nth-child(5) .card-art {
  background: #e7e2c5;
}
.card:nth-child(6) .card-art {
  background: #dfe8e2;
}
.card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-size: 20px;
  line-height: 1.55;
  margin: 12px 0;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 0;
}
.card .textlink {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}
.dark {
  background: var(--ink);
  color: white;
}
.dark .eyebrow,
.dark .section-head p {
  color: #b8c4bb;
}
.tool-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 10px 17px;
  border: 1px solid #68786e;
  border-radius: 5px;
  background: transparent;
  color: #e0e9df;
  cursor: pointer;
  font-size: 13px;
}
.tabs button.active {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  font-size: 13px;
  display: block;
  margin-bottom: 7px;
  color: #ced7cf;
}
.field input {
  width: 100%;
  min-width: 0;
  border-radius: 5px;
  border: 1px solid #78877c;
  background: #34403b;
  color: white;
  padding: 11px 13px;
}
.resultbox {
  padding: 30px;
  background: #eff1e8;
  color: var(--ink);
  border-radius: 9px;
}
.resultbox .value {
  font-size: 54px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 13px 0;
}
.resultbox small {
  display: block;
  color: #56665c;
}
.resultrow {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid #cbd2c5;
  font-size: 14px;
}
.result-note {
  font-size: 12px;
  color: #647166;
  line-height: 1.8;
  margin-bottom: 0;
}
.tool-note {
  font-size: 12px;
  color: #bcc8be;
  margin-top: 22px;
}
.tool-note code {
  font-family: inherit;
}
.error {
  color: #ffe0a0;
  font-size: 13px;
  min-height: 24px;
}
.broker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.broker {
  border-top: 2px solid var(--ink);
  padding: 22px 0;
}
.broker h3 {
  margin: 0;
  font-size: 23px;
}
.broker p {
  font-size: 14px;
  color: var(--muted);
}
.broker a {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 13px;
}
.notice {
  background: #ecebdf;
  border-left: 3px solid #ad9b32;
  padding: 20px 24px;
  font-size: 13px;
  color: #5f675b;
  margin-top: 22px;
}
.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  border-top: 1px solid var(--line);
}
.about p {
  color: var(--muted);
  font-size: 15px;
}
.about h2 {
  margin-top: 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 12px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.footer p {
  max-width: 920px;
}
.footer-links {
  max-width: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-shell {
  max-width: 920px;
  padding-top: 64px;
  padding-bottom: 80px;
  min-height: 62vh;
}
.page-shell > h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.35;
  margin: 14px 0 18px;
}
.page-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 42px;
}
.article-list {
  border-top: 1px solid var(--line);
}
.article-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.article-row:hover h2,
.prose-page a:hover {
  color: #827100;
}
.article-row h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  line-height: 1.5;
  margin: 10px 0 8px;
}
.article-row p {
  color: var(--muted);
  margin: 0;
}
.row-arrow {
  font-size: 24px;
  padding-top: 20px;
}
.prose-page {
  max-width: 780px;
}
.prose-page h2 {
  font-size: 23px;
  margin-top: 34px;
}
.prose-page p,
.prose-page li {
  color: #43524a;
  font-size: 16px;
}
.prose-page a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.updated {
  color: var(--muted) !important;
  font-size: 13px !important;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 26px 28px;
  margin: 20px 0;
}
.contact-card h2 {
  margin: 8px 0;
  word-break: break-word;
}
.article {
  max-width: 780px;
  padding-top: 50px;
  padding-bottom: 65px;
}
.article h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
  margin: 20px 0;
}
.article h2 {
  font-size: 24px;
  margin-top: 35px;
}
.article p,
.article li {
  font-size: 16px;
  color: #43524a;
}
.article .lede {
  font-size: 19px;
}
.article a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article .back {
  font-size: 13px;
}
.article .example {
  background: var(--green);
  padding: 20px 25px;
  border-radius: 8px;
}
.sources {
  font-size: 13px !important;
}
.article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 48px;
}
.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
}
.path-card strong {
  display: block;
  font-family: "Noto Serif TC", serif;
  font-size: 21px;
  margin: 10px 0;
}
.path-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.article-frame {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  gap: 64px;
  align-items: start;
}
.article-body {
  min-width: 0;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
  margin: -4px 0 28px;
}
.toc {
  position: sticky;
  top: 112px;
  border-top: 3px solid var(--ink);
  padding-top: 18px;
  font-size: 13px;
}
.toc b {
  display: block;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.toc a {
  display: block;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.toc a:hover {
  color: #827100;
}
.risk-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--ink);
  color: #fff;
  border-radius: 9px;
  overflow: hidden;
  margin: 30px 0;
}
.risk-ledger div {
  padding: 20px 22px;
  border-right: 1px solid #4d5a55;
  border-bottom: 1px solid #4d5a55;
}
.risk-ledger span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}
.risk-ledger strong {
  font-size: 15px;
}
.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 30px;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14px;
}
.article-table th,
.article-table td {
  text-align: left;
  vertical-align: top;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.article-table th {
  background: var(--green);
  font-weight: 700;
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 12px 28px;
  position: relative;
}
.checklist li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: #827100;
  font-weight: 700;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq details p {
  margin-bottom: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.related-link {
  display: block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  text-decoration: none !important;
}
.related-link small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}
.related-link:hover strong {
  color: #827100;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  nav {
    padding: 14px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 15px;
  }
  .navlinks {
    gap: 20px;
    font-size: 12px;
    overflow: auto;
    width: 100%;
    white-space: nowrap;
  }
  .container {
    padding: 0 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 35px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero .diagram {
    max-width: 450px;
    width: 100%;
    justify-self: center;
    min-height: 340px;
    padding-top: 35px;
  }
  .section {
    padding: 45px 0;
  }
  .section h2 {
    font-size: 28px;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 110px 1fr;
  }
  .card-art {
    height: 100%;
    padding: 17px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  .card-art span {
    font-size: 36px;
  }
  .card-art small {
    font-size: 9px;
  }
  .card-body {
    padding: 20px;
  }
  .card h3 {
    font-size: 18px;
  }
  .tool-layout,
  .about,
  .product-feature,
  .product-hero {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .product-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .broker-grid {
    grid-template-columns: 1fr;
  }
  .strip {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 12px;
  }
  .resultbox .value {
    font-size: 44px;
  }
  .footer-top {
    flex-direction: column;
  }
  .page-shell {
    padding-top: 38px;
    padding-bottom: 50px;
  }
  .article-row {
    gap: 14px;
  }
  .article {
    padding-top: 30px;
  }
  .path-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-frame {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .toc {
    display: none;
  }
  .risk-ledger {
    grid-template-columns: 1fr;
  }
  .formgrid {
    gap: 12px;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.lang-switch a {
  opacity: 0.55;
}
.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
  color: #827100;
}
.lang-switch a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 980px) {
  .lang-switch {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

