/* public/assets/test/css/static-pages.css */

body.fm-static-route-page,
body.fm-static-route-page #page_main {
  background: #f4f6f8;
}

.fm-static-page,
.fm-static-page * {
  box-sizing: border-box;
}

.fm-static-page {
  --sp-text: rgba(15, 23, 42, .92);
  --sp-muted: rgba(15, 23, 42, .60);
  --sp-soft: rgba(15, 23, 42, .045);
  --sp-line: rgba(15, 23, 42, .08);
  --sp-card: rgba(255, 255, 255, .92);
  --sp-card-solid: #fff;
  --sp-shadow: 0 18px 46px rgba(15, 23, 42, .075);
  --sp-shadow-soft: 0 10px 28px rgba(15, 23, 42, .055);
  --sp-radius: 22px;
  --sp-radius-sm: 16px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 46px 24px 74px;
  color: var(--sp-text);
  font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.fm-static-page::before {
  content: "";
  position: fixed;
  inset: -56px;
  z-index: -2;
  background-image: var(--fm-static-bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.08);
  opacity: .54;
  transform: scale(1.1);
}

.fm-static-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(247, 248, 250, .91) 44%, #f4f6f8 100%);
}

.fm-static-wrap {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-top: 48px;
}

.fm-static-page--terms .fm-static-wrap,
.fm-static-page--privacy .fm-static-wrap,
.fm-static-page--refund .fm-static-wrap,
.fm-static-page--aml .fm-static-wrap {
  width: min(980px, 100%);
}

.fm-static-page a {
  color: inherit;
  text-decoration: none;
}

.fm-static-page svg {
  display: block;
  flex: 0 0 auto;
}

.fm-static-page button {
  font: inherit;
}

.fm-static-page img {
  display: block;
  max-width: 100%;
}

.fm-static-page [style*="letter-spacing"] {
  letter-spacing: 0 !important;
}

.fm-static-page [style*="height:10px"],
.fm-static-page [style*="height:12px"] {
  height: 14px !important;
}

.fm-static-page [data-i18n] {
  display: none !important;
}

.fm-static-page[data-lang="en"] [data-i18n="en"],
.fm-static-page[data-lang="zh"] [data-i18n="zh"] {
  display: initial !important;
}

.fm-static-page .i18n-inline {
  display: none !important;
}

.fm-static-page[data-lang="en"] .i18n-inline[data-i18n="en"],
.fm-static-page[data-lang="zh"] .i18n-inline[data-i18n="zh"] {
  display: inline !important;
}

.fm-static-page .i18n-block {
  display: none !important;
}

.fm-static-page[data-lang="en"] .i18n-block[data-i18n="en"],
.fm-static-page[data-lang="zh"] .i18n-block[data-i18n="zh"] {
  display: block !important;
}

.fm-static-page .lang,
.fm-static-page .clearfix {
  display: none !important;
}

.fm-static-page .back {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px 0 11px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--sp-shadow-soft);
  color: rgba(15, 23, 42, .78);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.fm-static-page .back:hover {
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .10);
  transform: translateY(-1px);
}

.fm-static-page .back svg {
  width: 18px;
  height: 18px;
}

.fm-static-page .hero,
.fm-static-page .head,
.fm-static-page .panel,
.fm-static-page .cta {
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: var(--sp-card);
  box-shadow: var(--sp-shadow);
}

.fm-static-page .hero,
.fm-static-page .head {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 251, 237, .86) 0%, rgba(255, 255, 255, .92) 38%, rgba(255, 255, 255, .84) 100%);
}

.fm-static-page .hero-inner,
.fm-static-page .head-inner,
.fm-static-page .panel {
  padding: 30px;
}

.fm-static-page .brandline {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.fm-static-page .mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--fm-brand-gradient);
  box-shadow: 0 12px 22px rgba(var(--fm-brand-yellow-rgb), .18);
}

.fm-static-page .mark svg {
  width: 21px;
  height: 21px;
}

.fm-static-page .brand b {
  display: block;
  margin: 0;
  color: var(--sp-text);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 860;
}

.fm-static-page .brand small {
  display: block;
  margin-top: 4px;
  color: rgba(15, 23, 42, .52);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 640;
}

.fm-static-page .h1 {
  margin: 0;
  color: var(--sp-text);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 880;
}

.fm-static-page .head .h1 {
  font-size: 30px;
}

.fm-static-page .lead,
.fm-static-page .meta {
  max-width: 850px;
  margin: 14px 0 0;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 620;
}

.fm-static-page .meta {
  font-size: 13px;
}

.fm-static-page .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.fm-static-page .head + .panel {
  margin-top: 16px;
}

.fm-static-page .h2,
.fm-static-page .doc h2,
.fm-static-page .doc h3 {
  margin: 0 0 12px;
  color: var(--sp-text);
  font-weight: 820;
  line-height: 1.35;
}

.fm-static-page .h2 {
  font-size: 18px;
}

.fm-static-page .p,
.fm-static-page .doc p,
.fm-static-page .doc li,
.fm-static-page .note,
.fm-static-page .feat .t {
  color: rgba(15, 23, 42, .62);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 560;
}

.fm-static-page .p {
  margin: 0;
}

.fm-static-page b,
.fm-static-page strong {
  color: rgba(15, 23, 42, .86);
  font-weight: 800;
}

.fm-static-page .link {
  color: #9b7100;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(var(--fm-brand-yellow-rgb), .68);
  text-underline-offset: 3px;
}

.fm-static-page .link:hover {
  color: #6f5200;
}

.fm-static-page .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.fm-static-page .tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(var(--fm-brand-yellow-rgb), .28);
  border-radius: 999px;
  background: rgba(var(--fm-brand-yellow-rgb), .105);
  color: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 720;
}

.fm-static-page .stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.fm-static-page .stat {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(var(--fm-brand-yellow-rgb), .20);
  border-radius: var(--sp-radius-sm);
  background: linear-gradient(180deg, rgba(255, 253, 245, .92), rgba(255, 255, 255, .92));
}

.fm-static-page .stat .n {
  margin: 0;
  color: rgba(15, 23, 42, .92);
  font-size: 21px;
  line-height: 1.12;
  font-weight: 860;
}

.fm-static-page .stat .l {
  margin: 8px 0 0;
  color: rgba(15, 23, 42, .52);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 640;
}

.fm-static-page .features {
  display: grid;
  gap: 11px;
}

.fm-static-page .feat {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: var(--sp-radius-sm);
  background: rgba(248, 250, 252, .76);
}

.fm-static-page .feat .ico {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.fm-static-page .feat .ico svg {
  width: 21px;
  height: 21px;
}

.fm-static-page .feat b {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.fm-static-page .feat .t {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.62;
}

.fm-static-page .btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .055);
  color: rgba(15, 23, 42, .86);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.fm-static-page .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .085);
}

.fm-static-page .btn svg {
  width: 18px !important;
  height: 18px !important;
}

.fm-static-page .btn.primary,
.fm-static-page .cta .btn {
  border-color: rgba(var(--fm-brand-yellow-rgb), .62);
  background: var(--fm-brand-yellow);
  color: rgba(15, 23, 42, .92);
  box-shadow: 0 12px 22px rgba(var(--fm-brand-yellow-rgb), .20);
}

.fm-static-page .btn.primary svg path,
.fm-static-page .cta .btn svg path {
  stroke: rgba(15, 23, 42, .90);
}

.fm-static-page .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fm-static-page .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
}

.fm-static-page .cta [style*="font-weight"] {
  color: #fff;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.fm-static-page .cta .muted {
  color: rgba(255, 255, 255, .68);
}

.fm-static-page .cta .btn {
  flex: 0 0 auto;
  min-width: 136px;
}

.fm-static-page .kv + .kv {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--sp-line);
}

.fm-static-page .kv .k {
  margin-bottom: 8px;
  color: rgba(15, 23, 42, .48);
  font-size: 12px;
  font-weight: 720;
}

.fm-static-page .kv .v {
  color: rgba(15, 23, 42, .86);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 740;
  word-break: break-word;
}

.fm-static-page .note {
  margin-top: 8px;
}

.fm-static-page .toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 10000;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 760;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.fm-static-page .toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* About / Contact */
.fm-static-page--about .hero-inner,
.fm-static-page--contact .hero-inner {
  padding: 34px 38px;
}

.fm-static-page--about .panel,
.fm-static-page--contact .panel {
  min-width: 0;
}

.fm-static-page--about .grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
}

.fm-static-page--contact .grid {
  grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
}

.fm-static-page--contact .hero .h1 {
  font-size: 38px;
}

.fm-static-page--contact .panel > div[style*="font-weight"] {
  color: var(--sp-text);
  font-size: 15px !important;
  font-weight: 820 !important;
  letter-spacing: 0 !important;
  line-height: 1.38;
}

/* Document pages */
.fm-static-page--terms,
.fm-static-page--privacy,
.fm-static-page--refund,
.fm-static-page--aml {
  padding-bottom: 64px;
}

.fm-static-page--terms .head,
.fm-static-page--privacy .head,
.fm-static-page--refund .head,
.fm-static-page--aml .head {
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.fm-static-page--terms .head-inner,
.fm-static-page--privacy .head-inner,
.fm-static-page--refund .head-inner,
.fm-static-page--aml .head-inner {
  padding: 26px 30px 24px;
}

.fm-static-page--terms .brandline,
.fm-static-page--privacy .brandline,
.fm-static-page--refund .brandline,
.fm-static-page--aml .brandline {
  margin-bottom: 14px;
}

.fm-static-page--terms .mark,
.fm-static-page--privacy .mark,
.fm-static-page--refund .mark,
.fm-static-page--aml .mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.fm-static-page--terms .mark svg,
.fm-static-page--privacy .mark svg,
.fm-static-page--refund .mark svg,
.fm-static-page--aml .mark svg {
  width: 19px;
  height: 19px;
}

.fm-static-page--terms .panel,
.fm-static-page--privacy .panel,
.fm-static-page--refund .panel,
.fm-static-page--aml .panel {
  padding: 34px 40px;
  background: rgba(255, 255, 255, .94);
}

.fm-static-page .doc {
  max-width: 820px;
  margin: 0 auto;
}

.fm-static-page .doc p {
  margin: 0 0 13px;
}

.fm-static-page .doc ul,
.fm-static-page .doc ol {
  margin: 0 0 15px;
  padding-left: 20px;
}

.fm-static-page .doc li + li {
  margin-top: 7px;
}

.fm-static-page .doc h2 {
  margin: 24px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--sp-line);
  font-size: 16px;
}

.fm-static-page .doc h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.fm-static-page .doc h3 {
  margin: 18px 0 9px;
  font-size: 15px;
}

.fm-static-page .doc p,
.fm-static-page .doc li {
  font-size: 13.5px;
  line-height: 1.78;
}

.fm-static-page .entity-box {
  overflow: hidden;
  margin: 14px 0 16px;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  background: rgba(248, 250, 252, .76);
}

.fm-static-page .entity-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}

.fm-static-page .entity-row + .entity-row {
  border-top: 1px solid var(--sp-line);
}

.fm-static-page .entity-k,
.fm-static-page .entity-v {
  padding: 12px 14px;
  line-height: 1.62;
}

.fm-static-page .entity-k {
  color: rgba(15, 23, 42, .50);
  font-size: 12px;
  font-weight: 720;
  background: rgba(255, 255, 255, .62);
}

.fm-static-page .entity-v {
  color: rgba(15, 23, 42, .82);
  font-size: 13px;
  font-weight: 640;
}

.fm-static-page .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 18px;
  box-shadow: none;
  background: rgba(255, 255, 255, .72);
}

.fm-static-page .foot .left {
  color: rgba(15, 23, 42, .52);
  font-size: 12px;
  font-weight: 620;
}

.fm-static-page .foot .nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fm-static-page .foot .nav a {
  color: rgba(15, 23, 42, .70);
  font-size: 12px;
  font-weight: 720;
}

@media (max-width: 900px) {
  body.fm-static-route-page #page_main {
    padding-top: 0 !important;
  }

  .fm-static-page {
    padding: 12px 12px 42px;
    font-size: 14px;
  }

  .fm-static-page::before {
    filter: blur(24px) saturate(1.05);
    opacity: .44;
  }

  .fm-static-wrap,
  .fm-static-page--terms .fm-static-wrap,
  .fm-static-page--privacy .fm-static-wrap,
  .fm-static-page--refund .fm-static-wrap,
  .fm-static-page--aml .fm-static-wrap {
    width: 100%;
    padding-top: 0;
  }

  .fm-static-page .back {
    display: none;
  }

  .fm-static-page .hero,
  .fm-static-page .head,
  .fm-static-page .panel,
  .fm-static-page .cta {
    border-radius: 18px;
  }

  .fm-static-page .hero-inner,
  .fm-static-page .head-inner,
  .fm-static-page .panel,
  .fm-static-page--about .hero-inner,
  .fm-static-page--contact .hero-inner,
  .fm-static-page--terms .head-inner,
  .fm-static-page--privacy .head-inner,
  .fm-static-page--refund .head-inner,
  .fm-static-page--aml .head-inner {
    padding: 18px;
  }

  .fm-static-page .brandline {
    gap: 10px;
    margin-bottom: 14px;
  }

  .fm-static-page .mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .fm-static-page .brand b {
    font-size: 13px;
  }

  .fm-static-page .brand small {
    font-size: 11px;
  }

  .fm-static-page .h1,
  .fm-static-page .head .h1,
  .fm-static-page--contact .hero .h1 {
    font-size: 24px;
    line-height: 1.16;
  }

  .fm-static-page .lead,
  .fm-static-page .meta {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.68;
  }

  .fm-static-page .grid,
  .fm-static-page--about .grid,
  .fm-static-page--contact .grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .fm-static-page .head + .panel {
    margin-top: 12px;
  }

  .fm-static-page .h2 {
    font-size: 16px;
  }

  .fm-static-page .p,
  .fm-static-page .doc p,
  .fm-static-page .doc li,
  .fm-static-page .note {
    font-size: 13px;
    line-height: 1.68;
  }

  .fm-static-page .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fm-static-page .stat {
    min-height: 84px;
    padding: 13px;
  }

  .fm-static-page .stat .n {
    font-size: 18px;
  }

  .fm-static-page .stat .l {
    font-size: 11px;
  }

  .fm-static-page .feat {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 13px;
  }

  .fm-static-page .feat .ico {
    width: 36px;
    height: 36px;
  }

  .fm-static-page .feat b {
    font-size: 13px;
  }

  .fm-static-page .feat .t {
    font-size: 12px;
  }

  .fm-static-page .row {
    flex-direction: column;
    gap: 9px;
    margin-top: 18px;
  }

  .fm-static-page .row .btn {
    width: 100%;
  }

  .fm-static-page .cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    margin-top: 12px;
  }

  .fm-static-page .cta .btn {
    width: auto;
    min-width: 128px;
  }

  .fm-static-page--terms .panel,
  .fm-static-page--privacy .panel,
  .fm-static-page--refund .panel,
  .fm-static-page--aml .panel {
    padding: 20px 18px;
  }

  .fm-static-page .doc {
    max-width: none;
  }

  .fm-static-page .doc h2 {
    margin-top: 20px;
    padding-top: 18px;
    font-size: 15px;
  }

  .fm-static-page .doc h3 {
    font-size: 14px;
  }

  .fm-static-page .doc ul,
  .fm-static-page .doc ol {
    padding-left: 18px;
  }

  .fm-static-page .entity-row {
    grid-template-columns: 1fr;
  }

  .fm-static-page .entity-v {
    padding-top: 0;
  }

  .fm-static-page .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .fm-static-page .stats {
    grid-template-columns: 1fr;
  }

  .fm-static-page .hero-inner,
  .fm-static-page .head-inner,
  .fm-static-page .panel {
    padding: 17px;
  }
}
