.ec-page {
  width: min(calc(100% - 2 * var(--gutter, 5vw)), 1200px);
  margin: 0 auto;
  padding: 0 0 clamp(62px, 8vw, 120px);
  color: var(--ink, #111927);
}
.ec-page p {
  color: var(--muted, #536071);
  line-height: 1.65;
}
.ec-intro,
.ec-article-head {
  padding: clamp(48px, 6.5vw, 99px) 0 clamp(39px, 5vw, 74px);
  border-bottom: 1px solid var(--line, #dce1e8);
}
.ec-page h1,
.ec-page h2,
.ec-page h3 {
  font-weight: 580;
  text-wrap: balance;
}
.ec-page h1 {
  font-size: clamp(2.6rem, 5.45vw, 5.1rem);
  line-height: 1.015;
  letter-spacing: -0.065em;
  max-width: 17ch;
}
.ec-page h2 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.ec-page h3 {
  line-height: 1.25;
  letter-spacing: -0.028em;
}
.ec-intro > div > p,
.ec-article-head > p,
.ec-lede {
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
  max-width: 61ch;
  margin-top: 1.35rem;
}
.ec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #5145c9;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 570;
  text-align: center;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.ec-btn:hover {
  background: #4034ad;
  transform: translateY(-1px);
}
.ec-btn-secondary {
  color: #263046;
  border-color: #c7ced9;
  background: #fff;
}
.ec-btn-secondary:hover {
  background: #f3f4fa;
}
.ec-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
}
.ec-sheet,
.ec-scenario,
.ec-callout {
  background: #f5f6fa;
  border: 1px solid #dde1eb;
  border-radius: 12px;
  padding: clamp(21px, 2.7vw, 38px);
}
.ec-sheet {
  background: #121a2b;
  color: #f5f5ff;
  border-color: #252e46;
  box-shadow: 0 18px 40px -28px #1b214c9c;
}
.ec-sheet figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.03rem;
}
.ec-sheet figcaption svg {
  color: #b7acff;
}
.ec-sheet dl {
  margin: 22px 0 14px;
}
.ec-sheet dl div {
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #343c51;
  font-size: 0.92rem;
}
.ec-sheet dt {
  color: #c2c7d8;
}
.ec-sheet dd {
  margin: 0;
  text-align: end;
  font-weight: 580;
}
.ec-sheet small {
  color: #bbbfd2;
  font-size: 0.8rem;
}
.ec-scenario {
  background: #eff0fc;
  display: grid;
  align-content: start;
  gap: 14px;
}
.ec-scenario svg {
  color: #4c40ba;
}
.ec-scenario small,
.ec-meta,
.ec-guide > span {
  color: #5143ab;
  font-size: 0.86rem;
  font-weight: 610;
}
.ec-scenario p {
  color: #303950;
  font-size: 1.1rem;
}
.ec-section {
  padding-top: clamp(38px, 5.2vw, 76px);
}
.ec-section > h2 {
  margin-bottom: 26px;
}
.ec-section > .ec-lede {
  margin: 0 0 26px;
}
.ec-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  column-gap: clamp(22px, 4.5vw, 64px);
}
.ec-link {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  border-bottom: 1px solid var(--line);
}
.ec-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue, #4546cf);
  border: 1px solid #dedff1;
  border-radius: 11px;
  background: #f3f3fc;
  transition: background 0.15s ease;
}
.ec-link h3 {
  font-size: 1.25rem;
  margin: 1px 0 6px;
}
.ec-link p {
  font-size: 0.99rem;
}
.ec-link:hover h3,
.ec-guide:hover h3 {
  color: #493cc0;
}
.ec-link:hover .ec-ico {
  background: #e8e5fd;
}
.ec-lines {
  border-top: 1px solid var(--line);
}
.ec-lines > div {
  padding: 23px 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1.4fr);
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.ec-lines h3 {
  font-size: 1.23rem;
}
.ec-lines p {
  max-width: 68ch;
}
.ec-pair,
.ec-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.ec-guide {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  padding: clamp(21px, 3vw, 36px);
  height: 100%;
  border: 1px solid #dce1e8;
  border-radius: 10px;
  background: white;
  transition: border-color 0.17s ease;
}
.ec-guide:hover {
  border-color: #9b94d2;
}
.ec-guide h3,
.ec-callout h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
.ec-guide > small {
  margin-top: auto;
  padding-top: 7px;
  color: #526074;
  font-size: 0.83rem;
}
.ec-guide p,
.ec-callout p {
  max-width: 68ch;
}
.ec-callout > svg,
.ec-callout > h3 {
  margin-bottom: 14px;
}
.ec-callout > svg {
  color: var(--blue);
}
.ec-close {
  margin-top: clamp(45px, 6vw, 85px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 12px;
  background: #121a2b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.ec-close h2 {
  max-width: 24ch;
}
.ec-close p {
  color: #c4cdde;
  margin-top: 10px;
  max-width: 58ch;
}
.ec-close .ec-btn {
  flex: none;
  background: #f7f7ff;
  color: #222b41;
}
.ec-close .ec-btn:hover {
  background: #e4dfff;
}
.ec-filters {
  display: flex;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}
.ec-filters label {
  font-size: 0.85rem;
  font-weight: 570;
  display: grid;
  gap: 7px;
}
.ec-filters label:first-child {
  width: min(420px, 58%);
}
.ec-filters label:last-child {
  flex: 0 1 240px;
}
.ec-filters input,
.ec-filters select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #bfc8d5;
  border-radius: 6px;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.ec-filters select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234c5470' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 13px center;
  background-repeat: no-repeat;
}
.ec-filter-status:not(:empty) {
  margin-bottom: 18px;
}
.ec-featured .ec-guide {
  background: #f0effb;
  border-color: #d8d5ee;
}
.ec-guide-list > div {
  min-width: 0;
}
.ec-article-head {
  max-width: 880px;
}
.ec-article-head h1 {
  max-width: 20ch;
  margin-top: 13px;
}
.ec-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #596577;
  margin-top: 20px;
}
.ec-byline > span {
  border-left: 1px solid #c9cfda;
  padding-left: 12px;
}
.ec-article-grid {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 70ch);
  gap: clamp(28px, 6vw, 92px);
  padding-top: 42px;
}
.ec-contents {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 12px;
  line-height: 1.4;
  align-self: start;
  padding: 1px 20px 4px 14px;
  border-left: 2px solid #d8d5f1;
}
.ec-contents > a {
  font-size: 0.93rem;
  color: #525d70;
}
.ec-contents > a:hover {
  text-decoration: underline;
}
.ec-article-body section {
  margin-bottom: 34px;
  scroll-margin-top: 30px;
}
.ec-article-body h2,
.ec-legal-body h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 14px;
}
.ec-article-body p,
.ec-legal-body p {
  font-size: 1.05rem;
  line-height: 1.75;
}
.ec-legal {
  max-width: 820px;
  margin: auto;
}
.ec-legal-body {
  padding-top: 40px;
}
.ec-legal-body section {
  margin-bottom: 32px;
}
html[lang^='zh'] .ec-page h1 {
  letter-spacing: -0.045em;
  line-height: 1.14;
  max-width: 15em;
}
html[lang^='zh'] .ec-page h2,
html[lang^='zh'] .ec-page h3 {
  line-height: 1.35;
  letter-spacing: -0.025em;
}
@media (max-width: 760px) {
  .ec-split,
  .ec-links,
  .ec-pair,
  .ec-guide-list,
  .ec-article-grid {
    grid-template-columns: 1fr;
  }
  .ec-sheet,
  .ec-scenario {
    max-width: 560px;
  }
  .ec-lines > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ec-close {
    align-items: start;
    flex-direction: column;
  }
  .ec-contents {
    display: none;
  }
  .ec-links {
    gap: 0;
  }
  .ec-filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .ec-filters label:first-child,
  .ec-filters label:last-child {
    flex: 1 1 220px;
  }
  .ec-article-grid {
    padding-top: 28px;
  }
  .ec-page h1 {
    max-width: unset;
  }
  .ec-page {
    overflow-wrap: break-word;
  }
  .ec-legal-body p,
  .ec-article-body p {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ec-page * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .ec-btn:hover {
    transform: none;
  }
}
