/*
Theme Name: 易支付静态复刻主题
Theme URI: https://pay.yi-zhifu.cn/
Author: OpenAI
Description: 易支付传统支付平台官网风格主题。保留原 SEO 信息、.html 地址、专题页面内容、文章与相关文章功能。
Version: 3.1.5
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: yi-zhifu-static
*/

:root {
  --page-width: 1180px;
  --content-width: 820px;
  --text: #24324a;
  --strong: #101828;
  --muted: #667085;
  --line: #e8edf4;
  --line-strong: #d8e0eb;
  --primary: #2468f2;
  --primary-dark: #1551cf;
  --primary-soft: #eef4ff;
  --primary-faint: #f6f9ff;
  --navy: #0c1a33;
  --navy-2: #10274a;
  --surface: #ffffff;
  --background: #f7f9fc;
  --success: #22b573;
  --shadow: 0 16px 50px rgba(33, 73, 128, 0.10);
  --shadow-soft: 0 8px 28px rgba(33, 73, 128, 0.08);
  --radius: 14px;
  --radius-small: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
::selection { color: #fff; background: var(--primary); }
.wrap { width: min(calc(100% - 40px), var(--page-width)); margin-inline: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(36,104,242,.25);
  outline-offset: 3px;
}
img, video, iframe { max-width: 100%; height: auto; }
svg { display: block; }
.skip-link {
  position: fixed; top: -100px; left: 18px; z-index: 1000;
  padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 8px;
}
.skip-link:focus { top: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(216,224,235,.9);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.site-brand, .footer-logo {
  display: inline-flex; align-items: center; gap: 11px; color: var(--strong);
}
.site-brand:hover { color: var(--strong); }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #2d7cff, #175be2);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(36,104,242,.24);
}
.brand-mark svg { width: 25px; height: 25px; fill: currentColor; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 19px; letter-spacing: .03em; }
.brand-copy small { color: #8a96a8; font-size: 9px; letter-spacing: .22em; }
.header-actions { display: flex; align-items: center; gap: 22px; min-width: 0; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative; padding: 26px 12px 24px; color: #445066; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.site-nav a::after {
  position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px;
  content: ""; background: transparent; border-radius: 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.site-nav a[aria-current="page"]::after { background: var(--primary); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 17px; color: #fff; background: var(--primary);
  border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(36,104,242,.20);
}
.header-cta:hover { color: #fff; background: var(--primary-dark); }

/* Generic page */
.site-main { min-height: calc(100vh - 180px); }
.site-main:not(.home-main) { padding: 42px 0 70px; }
.article {
  position: relative; padding: 52px 62px 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin: 0 0 26px; color: var(--muted); font-size: 13px;
}
.breadcrumb a { color: #52627a; }
.article-header { max-width: 940px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
h1, h2, h3, h4, h5, h6 { color: var(--strong); line-height: 1.35; font-weight: 700; }
h1 { margin: 0; font-size: clamp(32px,4.3vw,48px); letter-spacing: -.035em; }
h2 { margin: 0 0 20px; font-size: clamp(24px,2.8vw,31px); letter-spacing: -.02em; }
h3 { margin: 34px 0 13px; font-size: clamp(19px,2vw,23px); }
h4 { margin: 28px 0 12px; font-size: 18px; }
.lead { max-width: 780px; margin: 18px 0 0; color: #66758b; font-size: 17px; line-height: 1.8; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 25px; }
li + li { margin-top: 6px; }
.static-content, .post-content { min-width: 0; }
.toc {
  display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 30px;
  margin: 34px 0 0; padding: 24px 26px;
  background: var(--primary-faint); border: 1px solid #dfe9fb; border-radius: 12px;
}
.toc > strong { color: var(--strong); font-size: 17px; }
.toc ol, .toc ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; margin: 0 0 6px; color: var(--muted); }
.toc a { color: #35527c; }
.static-content > section { padding: 50px 0; border-bottom: 1px solid var(--line); }
.static-content > section:last-child { border-bottom: 0; padding-bottom: 10px; }
.static-content > section > h2 {
  margin-bottom: 25px; padding-left: 14px; border-left: 4px solid var(--primary);
}
figure { margin: 30px 0; }
figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; }
blockquote, .wp-block-quote {
  margin: 28px 0; padding: 20px 24px; color: #33435a; background: var(--primary-faint);
  border-left: 4px solid var(--primary); border-radius: 8px;
}
pre, .wp-block-code {
  max-width: 100%; margin: 28px 0; padding: 22px 24px; overflow-x: auto;
  color: #e8eef8; background: #0f1d34; border: 1px solid #203454; border-radius: 10px;
  font: 14px/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre; -webkit-overflow-scrolling: touch;
}
pre code { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; }
code, kbd, samp { font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace; }
p code, li code, td code {
  padding: 2px 6px; color: #18498f; background: #edf4ff; border: 1px solid #d7e5fb; border-radius: 5px; font-size: .9em;
}
.table-scroll, .wp-block-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 14px; }
th, td { min-width: 120px; padding: 13px 15px; border: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--navy-2); font-weight: 600; }
tbody tr:nth-child(even) td { background: #fafbfd; }
.note { margin: 28px 0; padding: 18px 20px; background: var(--primary-faint); border: 1px solid #dce8fb; border-left: 4px solid var(--primary); border-radius: 8px; }
.article-index, .home-post-list, .related-post-list { margin: 0; padding: 0; list-style: none; }
.article-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.article-index li { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.article-index li:hover { border-color: #c9daf7; box-shadow: 0 8px 24px rgba(33,73,128,.07); }
.article-index a { display: inline-block; margin-bottom: 7px; color: var(--strong); font-size: 17px; font-weight: 700; }
.article-index p { margin: 0; color: var(--muted); font-size: 14px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-nav a:last-child { text-align: right; }

/* Home */
.home-main { overflow: hidden; background: #fff; }
.payment-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(87,151,255,.20), transparent 28%),
    radial-gradient(circle at 68% 86%, rgba(48,100,238,.14), transparent 26%),
    linear-gradient(135deg,#f8fbff 0%,#f1f6ff 46%,#f9fbff 100%);
  border-bottom: 1px solid #e9eff8;
}
.payment-hero::before {
  position: absolute; inset: 0; content: ""; opacity: .34; pointer-events: none;
  background-image: linear-gradient(rgba(36,104,242,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(36,104,242,.05) 1px,transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom,black,transparent 90%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; min-height: 650px; padding-top: 64px; padding-bottom: 70px; }
.hero-copy { max-width: 610px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .14em;
}
.hero-kicker::before { width: 26px; height: 2px; content: ""; background: var(--primary); }
.hero-copy h1 { margin: 0; color: #0c1d3c; font-size: clamp(48px,6vw,72px); line-height: 1.12; letter-spacing: -.05em; }
.hero-text { max-width: 590px; margin: 26px 0 0; color: #5d6c82; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 24px rgba(36,104,242,.23); }
.button-primary:hover { color: #fff; background: var(--primary-dark); }
.button-secondary { color: #2f405a; background: #fff; border-color: #d8e3f3; }
.button-secondary:hover { color: var(--primary); border-color: #b8cdf0; box-shadow: 0 8px 22px rgba(40,78,132,.10); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 38px; color: #6a788c; font-size: 13px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,181,115,.11); }
.hero-console { position: relative; }
.hero-console::before { position: absolute; width: 410px; height: 410px; right: -50px; top: 50%; transform: translateY(-50%); content: ""; border: 1px solid rgba(36,104,242,.14); border-radius: 50%; box-shadow: 0 0 0 52px rgba(36,104,242,.035),0 0 0 104px rgba(36,104,242,.025); }
.console-window { position: relative; z-index: 2; overflow: hidden; background: #fff; border: 1px solid #dce6f4; border-radius: 18px; box-shadow: 0 28px 70px rgba(27,63,118,.18); transform: perspective(1200px) rotateY(-5deg) rotateX(1deg); }
.console-topbar { height: 52px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: #f8faff; border-bottom: 1px solid #e9eef6; }
.console-topbar > span { width: 8px; height: 8px; border-radius: 50%; background: #d7dfeb; }
.console-topbar > span:first-child { background: #ff6c67; }
.console-topbar > span:nth-child(2) { background: #ffca5a; }
.console-topbar > span:nth-child(3) { background: #4fd48a; }
.console-topbar b { margin-left: auto; color: #8b98aa; font-size: 10px; letter-spacing: .14em; }
.console-body { padding: 24px; }
.console-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.console-status small, .console-stats small { display: block; color: #8b97a9; font-size: 11px; }
.console-status strong { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--strong); font-size: 17px; }
.console-status strong i { width: 8px; height: 8px; background: var(--success); border-radius: 50%; }
.console-badge { padding: 6px 10px; color: #2773e8; background: #edf5ff; border: 1px solid #d6e6fc; border-radius: 7px; font-size: 11px; font-weight: 700; }
.console-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 20px 0; }
.console-stats > div { padding: 14px; background: #f8faff; border: 1px solid #edf1f7; border-radius: 9px; }
.console-stats strong { display: block; margin-top: 5px; color: #243b63; font-size: 13px; }
.console-orders { overflow: hidden; border: 1px solid #e8edf5; border-radius: 10px; }
.order-head, .order-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; }
.order-head { color: #8b97a9; background: #f8faff; font-size: 11px; }
.order-row { border-top: 1px solid #edf1f6; font-size: 12px; }
.order-row span { display: flex; align-items: center; gap: 10px; }
.order-row b { min-width: 38px; color: #376aa7; font-size: 10px; }
.order-row em { color: #52647d; font-style: normal; }
.order-row mark { padding: 3px 7px; color: #178555; background: #ebfaf2; border-radius: 5px; font-size: 9px; font-weight: 700; }

.home-section { padding: 92px 0; }
.section-heading { max-width: 650px; }
.section-heading > span { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.section-heading h2 { margin: 0; color: #14233d; font-size: clamp(31px,4vw,42px); letter-spacing: -.03em; }
.section-heading p { margin: 14px 0 0; color: #728097; font-size: 16px; line-height: 1.8; }
.center-heading { margin: 0 auto 42px; text-align: center; }
.capability-section { background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.capability-card { position: relative; min-height: 315px; padding: 34px 30px; color: var(--text); background: #fff; border: 1px solid #e5ebf4; border-radius: 14px; box-shadow: 0 8px 30px rgba(29,65,116,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.capability-card:hover { color: var(--text); transform: translateY(-5px); border-color: #cbdaf2; box-shadow: var(--shadow); }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 12px; }
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin: 24px 0 10px; color: #1a2a44; font-size: 22px; }
.capability-card p { color: #728097; font-size: 14px; line-height: 1.8; }
.card-link { position: absolute; left: 30px; bottom: 29px; color: var(--primary); font-size: 13px; font-weight: 600; }

.scene-section { background: #f6f9fe; border-block: 1px solid #edf1f7; }
.scene-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 72px; }
.scene-heading { max-width: 460px; }
.text-link { display: inline-flex; margin-top: 22px; color: var(--primary); font-size: 14px; font-weight: 600; }
.scene-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.scene-card { position: relative; min-height: 210px; padding: 26px; color: var(--text); background: #fff; border: 1px solid #e2e9f3; border-radius: 12px; transition: .2s ease; }
.scene-card:hover { color: var(--text); transform: translateY(-3px); border-color: #bfd2f1; box-shadow: var(--shadow-soft); }
.scene-card > b { position: absolute; right: 20px; top: 17px; color: #d8e4f6; font-size: 24px; font-weight: 700; }
.scene-icon { min-width: 52px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; color: var(--primary); background: #eef4ff; border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.scene-card h3 { margin: 22px 0 7px; color: #20314e; font-size: 18px; }
.scene-card p { color: #7a879a; font-size: 13px; }

.developer-section { background: #fff; }
.developer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.developer-grid > a { display: grid; grid-template-columns: 36px minmax(0,1fr) 20px; align-items: center; gap: 14px; min-height: 112px; padding: 20px; color: var(--text); background: #fff; border: 1px solid #e5ebf3; border-radius: 10px; transition: .18s ease; }
.developer-grid > a:hover { color: var(--text); border-color: #bed1f0; background: #fbfdff; box-shadow: 0 8px 24px rgba(29,65,116,.07); }
.developer-grid > a > span { width: 34px; height: 34px; display: grid; place-items: center; color: #6d83a5; background: #f3f6fb; border-radius: 8px; font-size: 11px; font-weight: 700; }
.developer-grid h3 { margin: 0 0 4px; color: #20314e; font-size: 16px; }
.developer-grid p { margin: 0; color: #8a96a7; font-size: 12px; line-height: 1.5; }
.developer-grid > a > b { color: #b2bfd1; font-size: 18px; }

.process-section { position: relative; overflow: hidden; background: linear-gradient(135deg,#0b1830,#102b52); }
.process-section::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 80% 30%,rgba(71,134,255,.23),transparent 28%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: auto,40px 40px,40px 40px; }
.process-section .wrap { position: relative; }
.light-heading > span { color: #82b1ff; }
.light-heading h2 { color: #fff; }
.light-heading p { color: #aab8cd; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.process-grid > div { position: relative; min-height: 180px; padding: 20px 28px 8px; border-left: 1px solid rgba(255,255,255,.12); }
.process-grid > div:first-child { border-left: 0; }
.process-grid > div:not(:last-child)::after { position: absolute; right: -10px; top: 34px; z-index: 2; width: 20px; height: 1px; content: ""; background: rgba(135,176,242,.5); }
.process-grid span { width: 34px; height: 34px; display: grid; place-items: center; color: #9ec3ff; border: 1px solid rgba(158,195,255,.55); border-radius: 50%; font-size: 12px; font-weight: 700; }
.process-grid h3 { margin: 22px 0 8px; color: #fff; font-size: 17px; }
.process-grid p { color: #9eabc0; font-size: 13px; line-height: 1.7; }

.preserved-section { padding-top: 72px; padding-bottom: 20px; background: #fff; }
.preserved-details { overflow: hidden; border: 1px solid #e4ebf4; border-radius: 12px; background: #fbfcfe; }
.preserved-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; }
.preserved-details summary::-webkit-details-marker { display: none; }
.preserved-details summary span { display: grid; gap: 3px; }
.preserved-details summary b { color: #253654; font-size: 16px; }
.preserved-details summary small { color: #8a96a8; font-size: 12px; }
.preserved-details summary i { width: 30px; height: 30px; display: grid; place-items: center; color: var(--primary); background: #edf4ff; border-radius: 8px; font-size: 20px; font-style: normal; transition: transform .18s ease; }
.preserved-details[open] summary i { transform: rotate(45deg); }
.preserved-content { padding: 10px 32px 34px; border-top: 1px solid #e9eef5; background: #fff; }
.preserved-content .toc { margin-top: 24px; }
.preserved-content > section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.preserved-content > section:last-child { border-bottom: 0; padding-bottom: 4px; }
.preserved-content > section > h2 { padding-left: 12px; border-left: 3px solid var(--primary); }

.latest-section { padding-top: 68px; background: #fff; }
.latest-heading { margin-bottom: 30px; }
.payment-post-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
.payment-post-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; min-width: 0; margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.payment-post-list li > div { display: flex; align-items: center; min-width: 0; gap: 10px; }
.post-dot { width: 6px; height: 6px; flex: 0 0 auto; background: #93b8f7; border-radius: 50%; }
.payment-post-list a { min-width: 0; color: #34445d; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.payment-post-list a:hover { color: var(--primary); }
.payment-post-list time { color: #9aa5b4; font-size: 12px; white-space: nowrap; }
.home-cta-band { padding: 46px 0; color: #fff; background: linear-gradient(120deg,#2468f2,#1d58d2); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band-inner span { color: #bcd4ff; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.cta-band-inner h2 { margin: 6px 0 0; color: #fff; font-size: clamp(24px,3vw,32px); }
.button-white { color: #1f5bd2; background: #fff; box-shadow: 0 10px 24px rgba(9,38,95,.14); }
.button-white:hover { color: #1149bb; background: #f7faff; }

/* Posts / archive */
.home-posts, .related-posts, .archive-content { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.home-posts > h2, .related-posts > h2 { margin-bottom: 22px; }
.home-post-list:not(.payment-post-list), .related-post-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.home-post-list:not(.payment-post-list) li, .related-post-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; margin: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 9px; }
.home-post-list:not(.payment-post-list) a, .related-post-list a { color: var(--strong); font-size: 14px; font-weight: 600; }
.home-post-list time, .related-post-list time, .post-index time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.post-article { max-width: 1000px; }
.post-header { max-width: 820px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.post-meta a { color: #52627a; }
.post-content { max-width: var(--content-width); margin: 46px auto 0; font-size: 16px; }
.post-content > :first-child { margin-top: 0; }
.post-content h2 { margin-top: 50px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-content h3 { padding-left: 13px; border-left: 3px solid var(--primary); }
.post-content .alignwide { width: min(1000px,calc(100vw - 56px)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.post-content .alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.page-links { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 42px; }
.post-navigation .nav-links { display: contents; }
.post-navigation .nav-previous, .post-navigation .nav-next { min-width: 0; }
.post-navigation a { display: flex; min-height: 98px; flex-direction: column; justify-content: center; padding: 17px 20px; color: var(--strong); border: 1px solid var(--line); border-radius: 9px; }
.post-navigation a:hover { background: var(--primary-faint); border-color: #c9daf7; }
.post-navigation .nav-next { text-align: right; }
.nav-direction { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.nav-title { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; }
.post-index li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 15px; }
.post-index li > a { margin: 0; }
.post-index li > p { grid-column: 1/-1; }
.navigation.pagination { margin-top: 32px; }
.nav-links .page-numbers { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; margin-right: 5px; padding: 6px 11px; color: var(--strong); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.text-action { padding: 12px 16px; color: #fff; background: var(--primary); border-radius: 8px; font-weight: 600; }

/* Common WordPress content */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.post-content a, .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { overflow-wrap: anywhere; }
.post-content hr, .wp-block-separator { height: 0; margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.post-content input:not([type="checkbox"]):not([type="radio"]), .post-content textarea, .post-content select { width: 100%; max-width: 100%; padding: 11px 12px; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; font: inherit; }
.post-content button, .post-content input[type="submit"], .wp-block-button__link, .wp-block-search__button, .wp-block-file__button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 17px; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer; }

/* Footer */
.site-footer { color: #aeb9ca; background: #0b1629; border-top: 1px solid #162742; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 60px; padding-top: 56px; padding-bottom: 44px; }
.footer-logo { color: #fff; }
.footer-logo .brand-mark { width: 36px; height: 36px; box-shadow: none; }
.footer-logo > span:last-child { display: grid; gap: 4px; line-height: 1; }
.footer-logo strong { font-size: 18px; }
.footer-logo small { color: #74839a; font-size: 8px; letter-spacing: .2em; }
.footer-brand p { max-width: 360px; margin-top: 18px; color: #7f8da3; font-size: 13px; line-height: 1.9; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column > strong { margin-bottom: 7px; color: #e6edf7; font-size: 14px; }
.footer-column a { color: #8f9db1; }
.footer-column a:hover { color: #fff; }
.footer-links-column { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.footer-links-column > strong { grid-column: 1/-1; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #17263e; color: #67758a; font-size: 12px; }
.footer-bottom a { color: #7c8a9e; }

/* Responsive */
@media (max-width: 1080px) {
  .header-actions { gap: 10px; }
  .site-nav a { padding-inline: 8px; }
  .site-nav a::after { left: 8px; right: 8px; }
  .hero-grid { gap: 36px; }
  .scene-layout { gap: 44px; }
  .developer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; padding-bottom: 76px; }
  .hero-copy { max-width: 700px; text-align: center; margin-inline: auto; }
  .hero-kicker { justify-content: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-console { width: min(620px,100%); margin-inline: auto; }
  .console-window { transform: none; }
  .hero-console::before { right: 50%; transform: translate(50%,-50%); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 245px; }
  .scene-layout { grid-template-columns: 1fr; }
  .scene-heading { max-width: 650px; margin-inline: auto; text-align: center; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 0; }
  .process-grid > div:nth-child(3) { border-left: 0; }
  .process-grid > div:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-links-column { grid-column: 1/-1; grid-template-columns: repeat(6,auto); justify-content: start; column-gap: 18px; }
}

@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

@media (max-width: 700px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: min(calc(100% - 28px),var(--page-width)); }
  .site-header { position: sticky; }
  .header-inner { min-height: 66px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-copy strong { font-size: 17px; }
  .header-cta { min-height: 36px; padding-inline: 13px; font-size: 13px; }
  .site-main:not(.home-main) { padding: 18px 0 42px; }
  .article { padding: 32px 22px 40px; border-radius: 10px; }
  h1 { font-size: clamp(30px,10vw,40px); }
  .lead { font-size: 15px; }
  .toc { display: block; padding: 20px; }
  .toc > strong { display: block; margin-bottom: 12px; }
  .toc ol, .toc ul { columns: 1; }
  .static-content > section { padding: 38px 0; }
  .article-index { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 54px; padding-bottom: 58px; }
  .hero-copy h1 { font-size: clamp(42px,14vw,58px); }
  .hero-text { font-size: 16px; }
  .hero-trust { gap: 12px 18px; }
  .console-body { padding: 17px; }
  .console-stats { grid-template-columns: 1fr; }
  .console-orders .order-row { grid-template-columns: 1fr auto; }
  .home-section { padding: 66px 0; }
  .section-heading h2 { font-size: clamp(28px,9vw,36px); }
  .section-heading p { font-size: 14px; }
  .scene-grid, .developer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid > div, .process-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.10); padding: 24px 0; min-height: 0; }
  .process-grid > div:first-child { border-top: 0; }
  .process-grid > div::after { display: none !important; }
  .preserved-section { padding-top: 54px; }
  .preserved-details summary { padding: 18px; }
  .preserved-details summary small { max-width: 250px; }
  .preserved-content { padding: 8px 20px 26px; }
  .payment-post-list { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .home-post-list:not(.payment-post-list), .related-post-list, .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .post-content { margin-top: 36px; font-size: 15px; }
  .post-content .alignwide, .post-content .alignfull { width: calc(100vw - 28px); }
  pre, .wp-block-code { margin-inline: -6px; padding: 17px; font-size: 12px; }
  table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-top: 44px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-links-column { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 18px 0; flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
}

@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .site-brand { gap: 8px; }
  .header-cta { padding-inline: 11px; }
  .hero-actions .button { width: 100%; }
  .hero-trust { justify-content: flex-start; max-width: 280px; margin-inline: auto; }
  .console-topbar b { display: none; }
  .order-row em { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .capability-card { padding: 28px 24px; }
  .card-link { left: 24px; }
  .developer-grid > a { grid-template-columns: 34px minmax(0,1fr); }
  .developer-grid > a > b { display: none; }
  .payment-post-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-links-column { grid-column: auto; }
  .footer-links-column { grid-template-columns: 1fr 1fr; }
}

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

/* v2.3.0 merchant polish */
@media(max-width:768px){.hero-grid{min-height:auto;padding-top:45px;padding-bottom:45px;display:block}.hero-copy h1{font-size:38px}.hero-console{margin-top:35px}.console-window{transform:none}.home-section{padding:55px 0}.capability-grid,.scene-grid,.process-grid{grid-template-columns:1fr!important}.capability-card{min-height:auto;padding:26px}.wrap{width:calc(100% - 32px)}.hero-actions .button{width:100%}}
.section-heading p{max-width:650px;margin-left:auto;margin-right:auto}
/* v2.4.0 payment platform homepage */
.payment-hero-v24{padding:95px 0;background:linear-gradient(180deg,#f7fbff,#fff);}
.hero-grid-v24{display:grid;grid-template-columns:1fr 430px;gap:80px;align-items:center;min-height:520px}
.hero-tag{display:inline-block;color:#2468f2;background:#eef4ff;border-radius:30px;padding:5px 18px;font-size:14px;font-weight:600;margin-bottom:22px}
.hero-copy-v24 h1{font-size:56px;margin-bottom:22px;color:#101828}
.hero-copy-v24 p{max-width:520px;color:#667085;font-size:18px;line-height:1.8}
.pay-panel-v24{background:#fff;border-radius:24px;padding:34px;box-shadow:0 25px 70px rgba(30,80,160,.14);border:1px solid #edf3ff}
.panel-title{font-size:15px;color:#667085}.panel-money{font-size:46px;font-weight:800;margin:25px 0;color:#101828}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel-grid div{background:#f6f9ff;padding:18px;border-radius:14px}.panel-grid span{display:block;color:#667085;font-size:13px}.panel-grid b{font-size:22px}.pay-tags{display:flex;gap:12px;margin-top:20px}.pay-tags i{font-style:normal;padding:8px 15px;background:#eef4ff;color:#1551cf;border-radius:20px;font-size:13px}
.home-section-v24{padding:90px 0;background:#fff}.feature-v24{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.feature-v24 article{padding:36px 30px;background:#fff;border:1px solid #e5ebf4;border-radius:20px;box-shadow:0 10px 30px rgba(20,60,120,.06)}.feature-v24 h3{margin:0 0 12px;font-size:22px}.feature-v24 p{color:#667085;font-size:15px}
.pay-method-v24{padding:60px 0;background:#f6f9ff;text-align:center}.pay-method-v24 h2{margin-bottom:35px}.pay-method-v24 div div{display:flex;justify-content:center;gap:20px}.pay-method-v24 span{background:white;border:1px solid #e1e9f7;border-radius:14px;padding:20px 50px;color:#24324a}
.process-v24{padding:90px 0;background:#10274a;color:#fff}.steps-v24{display:grid;grid-template-columns:repeat(4,1fr)}.steps-v24 div{padding:20px;text-align:center;border-right:1px solid rgba(255,255,255,.15)}.steps-v24 b{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center;border:1px solid #8bb5ff;color:#8bb5ff}.steps-v24 h3{color:#fff}.steps-v24 p{color:#b8c5da}
@media(max-width:900px){.hero-grid-v24,.feature-v24,.steps-v24{grid-template-columns:1fr}.hero-copy-v24 h1{font-size:38px}.payment-hero-v24{padding:55px 0}.pay-panel-v24{margin-top:30px}.pay-method-v24 div div{flex-direction:column}.steps-v24 div{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}}

/* v2.5 merchant balance optimization */
.about-payment-v25{padding:48px 0;background:#fff}.about-box-v25{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:28px 32px;border-radius:18px;background:#f7faff}.about-box-v25 h2{margin:0 0 12px;font-size:28px}.about-box-v25 p{max-width:560px;margin:0;color:#5d6675;line-height:1.8}.about-flow-v25{display:flex;align-items:center;gap:12px;white-space:nowrap}.about-flow-v25 span{padding:12px 16px;border-radius:12px;background:#fff;border:1px solid #e5edf8;color:#1458d8}.about-flow-v25 b{color:#9aa8bc}.payment-hero-v24{min-height:560px}.feature-v24 article{min-height:180px}.pay-method-v24{padding:40px 0}.steps-v24>div{min-height:130px}@media(max-width:768px){.about-box-v25{flex-direction:column;align-items:flex-start;padding:24px}.about-flow-v25{flex-wrap:wrap;white-space:normal}.about-flow-v25 b{display:none}.payment-hero-v24{min-height:auto;padding:60px 0}.feature-v24 article{min-height:auto}}


/* v3.0.0 compact payment style */
:root{
 --page-width:1180px;
 --primary:#1769e0;
 --background:#fff;
 --radius:8px;
 --shadow-soft:0 4px 18px rgba(20,45,90,.06);
}
body{font-size:15px;line-height:1.65;background:#fff;color:#344054}
.wrap{width:min(calc(100% - 32px),1180px)}
.header-inner{min-height:64px}
.site-nav a{padding:22px 10px 20px}
.payment-hero-v24{background:#f7faff;border-bottom:1px solid #e7edf7}
.hero-grid-v24{min-height:390px!important;padding:42px 0!important;gap:45px!important}
.hero-copy-v24 h1{font-size:44px!important;letter-spacing:-.03em!important;margin-bottom:10px}
.hero-copy-v24 p{max-width:540px;color:#667085;margin:12px 0}
.hero-tag{font-size:14px!important;margin-bottom:12px!important;color:#1769e0!important}
.hero-actions{margin-top:22px!important}
.button{min-height:42px;padding:0 20px;font-size:14px}
.pay-panel-v24{border-radius:12px!important;box-shadow:0 12px 35px rgba(30,70,130,.12)!important}
.about-payment-v25{padding:34px 0!important}
.about-box-v25{padding:22px 26px!important;border:1px solid #e6ebf3;border-radius:10px;background:#fff}
.about-box-v25 h2,.section-heading h2{font-size:24px!important;margin-bottom:10px!important}
.about-flow-v25 span{padding:8px 12px!important;font-size:14px!important}
.home-section-v24,.pay-method-v24,.process-v24,.latest-section{padding:38px 0!important}
.section-heading p{margin-bottom:18px;color:#667085}
.feature-v24{gap:16px!important}
.feature-v24 article{padding:22px!important;min-height:130px!important;border-radius:8px!important;border:1px solid #e8edf4!important;box-shadow:none!important}
.feature-v24 h3{font-size:18px!important;margin:0 0 8px!important}
.feature-v24 p{font-size:14px;margin:0}
.pay-method-v24 div span{padding:12px 26px!important;border-radius:8px!important}
.steps-v24{gap:14px!important}
.steps-v24>div{padding:18px!important;border:1px solid #e8edf4;border-radius:8px;background:#fff}
.steps-v24 b{width:32px!important;height:32px!important}
.steps-v24 h3{font-size:16px!important;margin:10px 0 4px!important}
.steps-v24 p{font-size:13px}
.payment-post-list li{padding:14px 0!important;border-bottom:1px solid #edf1f6}
.payment-post-list a{font-size:15px!important}
@media(max-width:768px){
 .hero-grid-v24{grid-template-columns:1fr!important;min-height:auto!important;padding:32px 0!important}
 .hero-copy-v24 h1{font-size:32px!important}
 .about-box-v25{padding:18px!important}
 .about-flow-v25{margin-top:16px}
 .feature-v24{grid-template-columns:1fr!important}
 .home-section-v24,.pay-method-v24,.process-v24,.latest-section{padding:26px 0!important}
}

/* =========================================================
   v3.1.0-final — compact, practical payment platform homepage
   ========================================================= */
.pay31-home{background:#fff;color:#344054;overflow:visible}
.pay31-home .wrap{width:min(calc(100% - 36px),1120px)}
.pay31-header{background:rgba(255,255,255,.97);border-bottom:1px solid #e9edf3;box-shadow:none}
.pay31-header-inner{min-height:62px;gap:24px}
.pay31-brand{gap:9px}
.pay31-brand-mark{width:34px;height:34px;border-radius:9px;box-shadow:none;background:#1769e0}
.pay31-brand-mark svg{width:22px;height:22px}
.pay31-header .brand-copy strong{font-size:18px}
.pay31-header .brand-copy small{font-size:8px;letter-spacing:.17em;color:#98a2b3}
.pay31-header-actions{gap:14px}
.pay31-header .site-nav{gap:0}
.pay31-header .site-nav a{padding:20px 9px 19px;color:#475467;font-size:13px}
.pay31-header .site-nav a::after{left:9px;right:9px;bottom:12px;height:2px}
.pay31-header-cta{min-height:36px;padding:0 14px;border-radius:7px;font-size:13px;box-shadow:none}
.pay31-mobile-menu{display:none;position:relative}
.pay31-mobile-menu summary{width:38px;height:38px;display:grid;place-content:center;gap:4px;cursor:pointer;list-style:none;border:1px solid #e3e8ef;border-radius:8px;background:#fff}
.pay31-mobile-menu summary::-webkit-details-marker{display:none}
.pay31-mobile-menu summary span{width:17px;height:2px;background:#344054;border-radius:2px}
.pay31-mobile-menu nav{position:absolute;right:0;top:46px;width:210px;padding:8px;background:#fff;border:1px solid #e3e8ef;border-radius:10px;box-shadow:0 16px 40px rgba(16,24,40,.12)}
.pay31-mobile-menu nav a{display:block;padding:11px 12px;border-radius:7px;color:#344054;font-size:14px}
.pay31-mobile-menu nav a:hover{background:#f5f8ff;color:#1769e0}

/* Hero */
.pay31-hero{position:relative;padding:58px 0 52px;background:#fbfcfe;border-bottom:1px solid #edf0f4;overflow:hidden}
.pay31-hero::after{position:absolute;right:-140px;top:-220px;width:520px;height:520px;content:"";border-radius:50%;background:radial-gradient(circle,rgba(23,105,224,.08),rgba(23,105,224,0) 70%);pointer-events:none}
.pay31-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);align-items:center;gap:64px}
.pay31-hero-copy{max-width:600px}
.pay31-eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;margin-bottom:15px;color:#1769e0;background:#edf4ff;border:1px solid #dce9ff;border-radius:6px;font-size:12px;font-weight:700}
.pay31-hero h1{max-width:610px;margin:0;color:#101828;font-size:46px;line-height:1.17;letter-spacing:-.045em}
.pay31-hero-lead{max-width:590px;margin:17px 0 0;color:#667085;font-size:16px;line-height:1.82}
.pay31-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.pay31-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:7px;border:1px solid transparent;font-size:14px;font-weight:650;transition:.18s ease}
.pay31-btn:hover{transform:translateY(-1px)}
.pay31-btn-primary{color:#fff;background:#1769e0;border-color:#1769e0;box-shadow:0 7px 18px rgba(23,105,224,.18)}
.pay31-btn-primary:hover{color:#fff;background:#0f5dca}
.pay31-btn-ghost{color:#344054;background:#fff;border-color:#dce2ea}
.pay31-btn-ghost:hover{color:#1769e0;border-color:#bcd2f5}
.pay31-capline{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:24px;color:#667085;font-size:13px}
.pay31-capline span{display:inline-flex;align-items:center;gap:7px}
.pay31-capline i{width:6px;height:6px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px #e6f6ef}

.pay31-demo{position:relative;padding:22px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 18px 50px rgba(38,63,96,.10)}
.pay31-demo-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:15px;border-bottom:1px solid #eef1f5}
.pay31-demo-head>div{display:grid;gap:3px}
.pay31-demo-head strong{color:#1d2939;font-size:15px}
.pay31-demo-head small{color:#98a2b3;font-size:9px;letter-spacing:.16em}
.pay31-demo-status{display:inline-flex;align-items:center;gap:7px;color:#667085;font-size:12px}
.pay31-demo-status i{width:7px;height:7px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px #e8f7f0}
.pay31-demo-order{display:grid;grid-template-columns:1fr auto;align-items:end;gap:4px 16px;padding:18px 0 15px}
.pay31-demo-order span{color:#667085;font-size:12px}
.pay31-demo-order strong{grid-row:1/3;grid-column:2;color:#101828;font-size:28px;line-height:1}
.pay31-demo-order em{color:#98a2b3;font-size:11px;font-style:normal}
.pay31-flow-list{display:grid;gap:8px}
.pay31-flow-list>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 11px;background:#f8fafc;border:1px solid #edf1f5;border-radius:9px}
.pay31-flow-list b{display:grid;place-items:center;width:28px;height:28px;color:#1769e0;background:#fff;border:1px solid #d9e6f9;border-radius:7px;font-size:11px}
.pay31-flow-list span{display:grid;gap:1px;min-width:0}
.pay31-flow-list strong{color:#344054;font-size:13px}
.pay31-flow-list small{color:#98a2b3;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pay31-flow-list i{padding:3px 7px;color:#667085;background:#fff;border:1px solid #e4e7ec;border-radius:5px;font-size:10px;font-style:normal}
.pay31-flow-list .is-done i{color:#087443;background:#ecfdf3;border-color:#d1fadf}
.pay31-method-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.pay31-method-row span{padding:5px 9px;color:#475467;background:#fff;border:1px solid #e4e7ec;border-radius:6px;font-size:11px}

/* Intro */
.pay31-intro{padding:26px 0 0}
.pay31-intro-box{display:grid;grid-template-columns:220px minmax(0,1fr) auto;align-items:center;gap:28px;padding:21px 24px;border:1px solid #e5eaf0;border-radius:10px;background:#fff}
.pay31-intro-title{display:flex;align-items:center;gap:11px}
.pay31-intro-title span{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#1769e0;background:#edf4ff;font-size:11px;font-weight:800}
.pay31-intro-title h2{margin:0!important;font-size:19px!important;letter-spacing:-.02em}
.pay31-intro-box p{margin:0;color:#667085;font-size:13.5px;line-height:1.8}
.pay31-intro-box>a{white-space:nowrap;color:#1769e0;font-size:13px;font-weight:600}
.pay31-intro-box>a b{margin-left:3px}

/* Sections */
.pay31-section{padding:48px 0 36px}
.pay31-section-head{display:flex;align-items:end;justify-content:space-between;gap:36px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #eceff3}
.pay31-section-head>div{min-width:0}
.pay31-section-head span,.pay31-mini-head>span{display:block;margin-bottom:4px;color:#1769e0;font-size:11px;font-weight:750;letter-spacing:.06em}
.pay31-section-head h2,.pay31-mini-head h2{margin:0!important;color:#101828;font-size:23px!important;letter-spacing:-.025em}
.pay31-section-head>p{max-width:420px;margin:0;color:#98a2b3;font-size:13px;line-height:1.7;text-align:right}
.pay31-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pay31-feature-grid article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:20px;border:1px solid #e6eaf0;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.pay31-feature-grid article:hover{transform:translateY(-2px);border-color:#cfdcf0;box-shadow:0 10px 25px rgba(33,56,88,.06)}
.pay31-icon{display:grid;place-items:center;width:42px;height:42px;color:#1769e0;background:#f1f6ff;border:1px solid #dce8fa;border-radius:9px}
.pay31-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pay31-feature-grid h3{margin:0 0 6px;color:#1d2939;font-size:16px}
.pay31-feature-grid p{margin:0;color:#667085;font-size:13px;line-height:1.75}
.pay31-feature-grid a{display:inline-block;margin-top:10px;color:#1769e0;font-size:12px;font-weight:600}

.pay31-compact-section{padding:8px 0 44px}
.pay31-split-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:12px}
.pay31-method-card,.pay31-steps-card{padding:22px 24px;border:1px solid #e6eaf0;border-radius:10px;background:#fdfefe}
.pay31-mini-head h2{font-size:19px!important}
.pay31-method-card>p{margin:10px 0 16px;color:#667085;font-size:13px}
.pay31-methods{display:flex;flex-wrap:wrap;gap:8px}
.pay31-methods span{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;color:#344054;background:#fff;border:1px solid #e2e7ee;border-radius:7px;font-size:12px;font-weight:600}
.pay31-methods i{width:9px;height:9px;border-radius:3px;background:#22a06b}
.pay31-methods i.ali{background:#1677ff}
.pay31-methods i.more{background:#98a2b3}
.pay31-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:16px 0 0;padding:0;list-style:none}
.pay31-steps li{position:relative;display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding-right:12px}
.pay31-steps li+li{padding-left:14px;border-left:1px solid #e7ebf0}
.pay31-steps b{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;color:#1769e0;background:#edf4ff;border-radius:7px;font-size:11px}
.pay31-steps span{display:grid;gap:1px;min-width:0}
.pay31-steps strong{color:#344054;font-size:12px;white-space:nowrap}
.pay31-steps small{color:#98a2b3;font-size:10px;white-space:nowrap}

/* Latest posts */
.pay31-latest{padding:38px 0 52px;background:#f8fafc;border-top:1px solid #eef1f4}
.pay31-latest-head{margin-bottom:8px}
.pay31-post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;margin:0;padding:0;list-style:none}
.pay31-post-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:10px 0;border-bottom:1px solid #e7ebf0}
.pay31-post-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;color:#344054;font-size:13px}
.pay31-post-list a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pay31-post-list a b{opacity:0;flex:0 0 auto;color:#1769e0;font-size:12px;transform:translateX(-3px);transition:.16s ease}
.pay31-post-list a:hover{color:#1769e0}
.pay31-post-list a:hover b{opacity:1;transform:none}
.pay31-post-list time{color:#98a2b3;font-size:11px;white-space:nowrap}

/* Footer */
.pay31-footer{background:#101828;color:#98a2b3}
.pay31-footer-main{display:grid;grid-template-columns:1.1fr 1.9fr;gap:60px;padding:34px 0 28px}
.pay31-footer-brand p{max-width:300px;margin:12px 0 0;color:#98a2b3;font-size:12px}
.pay31-footer .footer-logo{color:#fff}
.pay31-footer .brand-copy strong{color:#fff;font-size:16px}
.pay31-footer .brand-copy small{color:#667085}
.pay31-footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.pay31-footer-links>div{display:grid;align-content:start;gap:7px}
.pay31-footer-links strong{margin-bottom:2px;color:#eaecf0;font-size:12px}
.pay31-footer-links a{color:#98a2b3;font-size:12px}
.pay31-footer-links a:hover{color:#fff}
.pay31-footer-bottom{padding:14px 0;border-top:1px solid rgba(255,255,255,.08);font-size:11px}
.pay31-footer-bottom a{color:#98a2b3}

@media (max-width: 920px){
  .pay31-header-actions{display:none}
  .pay31-mobile-menu{display:block}
  .pay31-header-inner{min-height:58px}
  .pay31-hero{padding:38px 0 36px}
  .pay31-hero-grid{grid-template-columns:1fr;gap:28px}
  .pay31-hero-copy{max-width:680px}
  .pay31-hero h1{font-size:38px}
  .pay31-demo{max-width:650px}
  .pay31-intro-box{grid-template-columns:1fr auto;gap:14px 22px}
  .pay31-intro-title{grid-column:1/-1}
  .pay31-feature-grid{grid-template-columns:1fr}
  .pay31-split-grid{grid-template-columns:1fr}
  .pay31-footer-main{grid-template-columns:1fr;gap:28px}
}

@media (max-width: 640px){
  .pay31-home .wrap{width:min(calc(100% - 28px),1120px)}
  .pay31-header .brand-copy small{display:block}
  .pay31-hero{padding:30px 0 28px}
  .pay31-eyebrow{margin-bottom:12px}
  .pay31-hero h1{font-size:31px;line-height:1.23}
  .pay31-hero-lead{margin-top:13px;font-size:14px;line-height:1.75}
  .pay31-actions{margin-top:18px}
  .pay31-btn{min-height:40px;padding:0 15px;font-size:13px}
  .pay31-capline{gap:8px 14px;margin-top:18px;font-size:12px}
  .pay31-demo{padding:16px;border-radius:11px;box-shadow:0 10px 30px rgba(38,63,96,.08)}
  .pay31-demo-order strong{font-size:24px}
  .pay31-flow-list>div{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:9px}
  .pay31-flow-list>div>i{display:none}
  .pay31-flow-list small{white-space:normal}
  .pay31-intro{padding-top:18px}
  .pay31-intro-box{grid-template-columns:1fr;padding:18px;gap:10px}
  .pay31-intro-title{grid-column:auto}
  .pay31-intro-box>a{margin-top:2px}
  .pay31-section{padding:34px 0 26px}
  .pay31-section-head{display:block;margin-bottom:14px;padding-bottom:11px}
  .pay31-section-head h2{font-size:21px!important}
  .pay31-section-head>p{margin-top:7px;text-align:left;font-size:12px}
  .pay31-feature-grid article{padding:16px;grid-template-columns:38px minmax(0,1fr);gap:12px}
  .pay31-icon{width:38px;height:38px}
  .pay31-compact-section{padding:4px 0 32px}
  .pay31-method-card,.pay31-steps-card{padding:18px}
  .pay31-steps{grid-template-columns:1fr 1fr;gap:12px 0}
  .pay31-steps li:nth-child(3){border-left:0;padding-left:0}
  .pay31-steps li+li{padding-left:12px}
  .pay31-steps li:nth-child(3){padding-right:12px}
  .pay31-latest{padding:28px 0 36px}
  .pay31-post-list{grid-template-columns:1fr}
  .pay31-post-list li{padding:9px 0}
  .pay31-footer-main{padding:28px 0 22px}
  .pay31-footer-links{grid-template-columns:repeat(2,1fr);gap:22px}
  .pay31-footer-links>div:last-child{display:none}
}

@media (max-width: 380px){
  .pay31-actions{display:grid;grid-template-columns:1fr 1fr}
  .pay31-steps{grid-template-columns:1fr}
  .pay31-steps li+li{padding-left:0;border-left:0;border-top:1px solid #e7ebf0;padding-top:9px}
  .pay31-steps li:nth-child(3){padding-right:0}
}


/* =========================================================
   v3.1.1 — simplified header/footer and cleaner headings
   ========================================================= */
.pay31-simple-nav{display:flex;align-items:center;gap:18px}
.pay31-contact-link{display:inline-flex;align-items:center;min-height:36px;color:#475467;font-size:13px;font-weight:600}
.pay31-contact-link:hover{color:#1769e0}
.pay31-header-cta{min-height:38px;padding:0 16px;color:#fff!important;background:#1769e0!important;border:1px solid #1769e0!important}
.pay31-header-cta:hover{background:#0f5dca!important;border-color:#0f5dca!important}
.pay31-mobile-menu .pay31-mobile-login{margin-top:4px;color:#fff;background:#1769e0;text-align:center;font-weight:700}
.pay31-mobile-menu .pay31-mobile-login:hover{color:#fff;background:#0f5dca}

/* No decorative blue eyebrow labels on the homepage. */
.pay31-intro-title{gap:0}
.pay31-intro-title h2{font-size:19px!important}
.pay31-section-head h2{font-size:23px!important}
.pay31-mini-head h2{font-size:19px!important}
.pay31-section-head>p{color:#667085}
.pay31-demo-head>div{display:block}

/* Footer now carries the former help navigation. */
.pay31-footer-links>div span{display:block;max-width:250px;color:#98a2b3;font-size:12px;line-height:1.75}
#contact-us{scroll-margin-top:82px}

@media (max-width: 640px){
  .pay31-footer-links{grid-template-columns:1fr;gap:20px}
  .pay31-footer-links>div:last-child{display:grid}
}


/* =========================================================
   v3.1.2 — contact page
   ========================================================= */
.contact-main{padding:54px 0 72px;background:#f7f9fc}
.contact-shell{width:min(calc(100% - 40px),900px);margin:0 auto}
.contact-head{margin-bottom:24px;text-align:center}
.contact-head h1{margin:0;color:#101828;font-size:34px;line-height:1.25;letter-spacing:-.02em}
.contact-head p{max-width:560px;margin:10px auto 0;color:#667085;font-size:14px;line-height:1.8}
.contact-panel{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:#fff;border:1px solid #e5e9f0;border-radius:14px;box-shadow:0 10px 34px rgba(33,55,88,.06)}
.contact-card{min-height:300px;padding:34px 38px;display:flex;flex-direction:column;justify-content:center}
.contact-card+.contact-card{border-left:1px solid #edf0f4}
.contact-card h2{margin:0 0 18px;color:#101828;font-size:20px;line-height:1.3}
.contact-qq-number{margin:0 0 20px;color:#101828;font-size:28px;font-weight:700;letter-spacing:.02em}
.contact-note{margin:0;color:#667085;font-size:13px;line-height:1.8}
.contact-copy{align-self:flex-start;margin-top:20px;padding:9px 15px;border:1px solid #d8e0eb;border-radius:8px;color:#344054;background:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.contact-copy:hover{border-color:#1769e0;color:#1769e0}
.contact-copy.is-copied{border-color:#22b573;color:#168657}
.contact-qr-wrap{width:190px;height:190px;display:grid;place-items:center;margin:0 auto 14px;padding:10px;background:#fff;border:1px solid #e3e8ef;border-radius:12px}
.contact-qr-wrap img{display:block;width:100%;height:100%;object-fit:contain}
.contact-qr-empty{width:100%;height:100%;display:grid;place-items:center;padding:18px;text-align:center;color:#98a2b3;background:#f8fafc;border:1px dashed #d8e0eb;border-radius:8px;font-size:12px;line-height:1.7}
.contact-wechat{text-align:center}
.contact-wechat .contact-note{max-width:260px;margin:0 auto}
.contact-back{margin-top:22px;text-align:center}
.contact-back a{color:#667085;font-size:13px}
.contact-back a:hover{color:#1769e0}
@media (max-width:700px){
  .contact-main{padding:34px 0 48px}
  .contact-shell{width:min(calc(100% - 28px),900px)}
  .contact-head{margin-bottom:18px;text-align:left}
  .contact-head h1{font-size:28px}
  .contact-head p{margin:8px 0 0}
  .contact-panel{grid-template-columns:1fr}
  .contact-card{min-height:0;padding:26px 22px}
  .contact-card+.contact-card{border-left:0;border-top:1px solid #edf0f4}
  .contact-qq-number{font-size:25px}
  .contact-qr-wrap{width:174px;height:174px}
}

/* =========================================================
   v3.1.3 — compact contact page redesign
   ========================================================= */
.contact-v313{padding:48px 0 64px;background:#fff}
.contact-v313-shell{width:min(calc(100% - 40px),760px);margin:0 auto}
.contact-v313-head{margin:0 0 20px;text-align:left}
.contact-v313-head h1{margin:0;color:#111827;font-size:30px;line-height:1.25;letter-spacing:-.025em}
.contact-v313-head p{margin:8px 0 0;color:#667085;font-size:14px;line-height:1.7}
.contact-v313-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:stretch;background:#fff;border:1px solid #e6e9ef;border-radius:12px;box-shadow:0 8px 26px rgba(16,24,40,.05);overflow:hidden}
.contact-v313-info{padding:30px 32px}
.contact-v313-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center}
.contact-v313-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#f3f6fa;color:#344054}
.contact-v313-icon svg{width:23px;height:23px;fill:currentColor}
.contact-v313-row-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.contact-v313-label{color:#667085;font-size:13px;line-height:1.2}
.contact-v313-row-main strong{color:#101828;font-size:24px;line-height:1.25;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.contact-v313-copy{min-width:62px;height:36px;padding:0 14px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#344054;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:.18s ease}
.contact-v313-copy:hover{border-color:#98a2b3;background:#f8fafc}
.contact-v313-copy.is-copied{border-color:#b7ddc8;color:#168657;background:#f5fbf7}
.contact-v313-divider{height:1px;margin:25px 0;background:#edf0f4}
.contact-v313-text h2{margin:0 0 7px;color:#101828;font-size:15px;line-height:1.4}
.contact-v313-text p{margin:0;color:#667085;font-size:13px;line-height:1.75}
.contact-v313-wechat{padding:24px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fafbfc;border-left:1px solid #edf0f4}
.contact-v313-qr{width:150px;height:150px;padding:8px;background:#fff;border:1px solid #e1e5eb;border-radius:10px}
.contact-v313-qr img{display:block;width:100%;height:100%;object-fit:contain}
.contact-v313-qr-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #cfd6df;border-radius:6px;color:#667085;background:#fff}
.contact-v313-qr-empty span{font-size:13px;font-weight:600}
.contact-v313-qr-empty small{font-size:11px;color:#98a2b3}
.contact-v313-wechat>strong{margin-top:12px;color:#101828;font-size:14px}
.contact-v313-wechat>span{margin-top:3px;color:#98a2b3;font-size:12px}
.contact-v313-home{margin:16px 0 0;text-align:left}
.contact-v313-home a{color:#667085;font-size:13px;text-decoration:none}
.contact-v313-home a:hover{color:#344054}
@media (max-width:700px){
  .contact-v313{padding:30px 0 44px}
  .contact-v313-shell{width:min(calc(100% - 28px),760px)}
  .contact-v313-head{margin-bottom:16px}
  .contact-v313-head h1{font-size:26px}
  .contact-v313-card{grid-template-columns:1fr}
  .contact-v313-info{padding:22px 20px}
  .contact-v313-row{grid-template-columns:40px minmax(0,1fr) auto;gap:11px}
  .contact-v313-icon{width:40px;height:40px}
  .contact-v313-row-main strong{font-size:21px}
  .contact-v313-divider{margin:20px 0}
  .contact-v313-wechat{padding:22px 20px;border-left:0;border-top:1px solid #edf0f4}
  .contact-v313-qr{width:164px;height:164px}
}
@media (max-width:390px){
  .contact-v313-row{grid-template-columns:38px minmax(0,1fr)}
  .contact-v313-copy{grid-column:2;justify-self:start;margin-top:3px}
}


/* =========================================================
   v3.1.4 — footer contact anchor + WeChat QR placeholder
   ========================================================= */
#contact-us{scroll-margin-top:84px}
.pay31-footer-contact{min-width:0}
.pay31-contact-body{display:flex;align-items:flex-start;gap:18px;margin-top:2px}
.pay31-contact-info{display:grid;gap:4px;min-width:118px}
.pay31-contact-info span,.pay31-contact-wechat>span{color:#98a2b3;font-size:12px}
.pay31-contact-info b{color:#f2f4f7;font-size:14px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.pay31-contact-wechat{display:grid;gap:7px}
.pay31-contact-qr{width:104px;height:104px;padding:5px;background:#fff;border-radius:8px}
.pay31-contact-qr img{display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}
.pay31-contact-qr-placeholder{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:5px;border:1px dashed #c8d0dc;border-radius:5px;background:#f8fafc;color:#667085;text-align:center}
.pay31-contact-qr-placeholder svg{width:34px;height:34px;fill:#98a2b3}
.pay31-contact-qr-placeholder small{font-size:10px;color:#667085;line-height:1.2}
@media (max-width:640px){
  .pay31-contact-body{gap:22px}
  .pay31-contact-qr{width:112px;height:112px}
}

/* =========================================================
   v3.1.5 — mobile header/layout hardening
   Fixes v3.1.4 mobile cascade conflict where desktop actions
   could remain visible beside the hamburger menu.
   ========================================================= */
.pay31-brand,
.pay31-brand .brand-copy,
.pay31-brand .brand-copy strong,
.pay31-brand .brand-copy small {
  white-space: nowrap;
}

@media (max-width: 920px) {
  /* Force a single mobile navigation pattern: logo + hamburger only. */
  .pay31-header .pay31-header-actions,
  .pay31-header .pay31-simple-nav {
    display: none !important;
  }
  .pay31-header .pay31-mobile-menu {
    display: block !important;
    margin-left: auto;
  }
  .pay31-header-inner {
    min-height: 58px;
    justify-content: space-between;
  }
  .pay31-brand {
    flex: 0 0 auto;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .pay31-home .wrap,
  .pay31-header .wrap,
  .pay31-footer .wrap {
    width: min(calc(100% - 28px),1120px);
  }
  .pay31-header-inner {
    min-height: 56px;
    gap: 12px;
  }
  .pay31-brand {
    gap: 8px;
  }
  .pay31-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .pay31-brand-mark svg {
    width: 20px;
    height: 20px;
  }
  .pay31-header .brand-copy {
    gap: 3px;
  }
  .pay31-header .brand-copy strong {
    font-size: 16px;
    line-height: 1;
  }
  .pay31-header .brand-copy small {
    display: block;
    font-size: 7px;
    letter-spacing: .14em;
  }
  .pay31-mobile-menu summary {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .pay31-mobile-menu nav {
    right: 0;
    top: 43px;
    width: min(210px, calc(100vw - 28px));
  }

  /* Tighter first screen on phones. */
  .pay31-hero {
    padding: 24px 0 24px;
  }
  .pay31-hero-grid {
    gap: 22px;
  }
  .pay31-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.2;
    letter-spacing: -.035em;
  }
  .pay31-hero-lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.68;
  }
  .pay31-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 16px;
  }
  .pay31-btn {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
  }
  .pay31-capline {
    gap: 8px 13px;
    margin-top: 16px;
    font-size: 11.5px;
  }
  .pay31-demo {
    margin-top: 0;
    padding: 14px;
  }
  .pay31-demo-order {
    padding: 15px 0 13px;
  }
  .pay31-flow-list > div {
    padding: 9px;
  }

  /* Contact/footer stays readable and compact on phones. */
  #contact-us {
    scroll-margin-top: 66px;
  }
  .pay31-contact-body {
    display: grid;
    grid-template-columns: minmax(0,1fr) 112px;
    align-items: start;
    gap: 16px;
  }
  .pay31-contact-info {
    min-width: 0;
  }
  .pay31-contact-info b {
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .pay31-contact-qr {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 370px) {
  .pay31-header .brand-copy small {
    display: none;
  }
  .pay31-actions {
    grid-template-columns: 1fr;
  }
  .pay31-capline {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
