:root {
  --navy: #0e1b3a;
  --navy-2: #16295a;
  --navy-3: #22397a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --blue: #2f63f0;
  --blue-soft: #e8eefe;
  --violet: #6d5bd0;
  --coral: #ef6a6e;
  --ok: #12a46f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--navy-3), var(--violet)); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a.on { color: var(--blue); font-weight: 600; }
.hd .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); padding: 8px; cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2453d6; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c5cede; }
.btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(109, 91, 208, .45), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(47, 99, 240, .35), transparent 60%), var(--navy); color: #c9d3ea; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #aab8de; letter-spacing: 1px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--coral); border-radius: 2px; }
.hero h1 { color: #fff; font-size: 52px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #9fb4ff, #c7b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; margin-top: 20px; color: #c9d3ea; max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span { font-size: 13px; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); color: #dfe6f7; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* workbench mock */
.bench { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.bench-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #9fb0d8; margin-bottom: 16px; }
.bench-top b { color: #fff; font-weight: 600; font-size: 14px; }
.bench-tag { font-size: 12px; color: #9fb0d8; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 6px; padding: 1px 8px; }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: c; }
.chain li { position: relative; font-size: 13px; color: #dfe6f7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 8px 10px 30px; animation: lit 8s infinite; }
.chain li::before { counter-increment: c; content: counter(c); position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .15); font-size: 11px; display: grid; place-items: center; color: #fff; }
.chain li:nth-child(2) { animation-delay: 1s; } .chain li:nth-child(3) { animation-delay: 2s; } .chain li:nth-child(4) { animation-delay: 3s; }
.chain li:nth-child(5) { animation-delay: 4s; } .chain li:nth-child(6) { animation-delay: 5s; } .chain li:nth-child(7) { animation-delay: 6s; } .chain li:nth-child(8) { animation-delay: 7s; }
@keyframes lit { 0%, 12% { border-color: rgba(159, 180, 255, .9); background: rgba(47, 99, 240, .35); } 20%, 100% { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); } }
@media (prefers-reduced-motion: reduce) { .chain li { animation: none; } }
.feed { margin-top: 16px; display: grid; gap: 10px; }
.feed div { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .95); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.feed .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.feed .dot .icon { width: 17px; height: 17px; }
.feed b { color: var(--ink); display: block; font-size: 14px; }
.feed small { color: var(--muted); font-size: 13px; }
.d-blue { background: var(--blue-soft); color: var(--blue); }
.d-coral { background: #fdecec; color: var(--coral); }
.d-ok { background: #e3f6ee; color: var(--ok); }
.d-violet { background: #efecfb; color: var(--violet); }

/* ---------- page hero (inner) ---------- */
.phero { background: radial-gradient(900px 400px at 90% -20%, rgba(109, 91, 208, .4), transparent 60%), var(--navy); color: #c9d3ea; padding: 56px 0 60px; }
.phero h1 { color: #fff; font-size: 40px; }
.phero .lead { font-size: 17px; margin-top: 14px; max-width: 40em; }
.crumb { font-size: 14px; color: #9fb0d8; margin-bottom: 14px; }
.crumb a { color: #c9d3ea; }
.phero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-navy { background: var(--navy); color: #c9d3ea; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--violet); letter-spacing: 1px; margin-bottom: 10px; }
.sec h2 { font-size: 34px; }
.sec-head p { font-size: 17px; margin-top: 14px; color: var(--muted); }
.sec-navy .sec-head p { color: #aab8de; }
.punch { margin-top: 36px; font-size: 18px; font-weight: 600; color: var(--ink); border-left: 3px solid var(--coral); padding-left: 16px; }
.sec-navy .punch { color: #fff; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sec-soft .card { border-color: transparent; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; }
.card-link { display: flex; flex-direction: column; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { border-color: #b9c6ee; transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link .badge { align-self: flex-start; }
.card-link .more { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.card-link .more .icon { width: 16px; height: 16px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); margin-bottom: 12px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--text); }
.flow span { background: var(--bg-soft); border-radius: 6px; padding: 2px 8px; }
.flow i { font-style: normal; color: #a3b0c8; }

/* compare columns */
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cmp .col { border-radius: var(--radius); padding: 26px; background: #fff; border: 1px solid var(--line); }
.cmp .col h3 { font-size: 18px; margin-bottom: 14px; }
.cmp .col li { position: relative; padding-left: 22px; font-size: 15px; margin-top: 10px; }
.cmp .col li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #c2cbdc; }
.cmp .col.hi { background: var(--navy); border-color: var(--navy); color: #dfe6f7; }
.cmp .col.hi h3 { color: #fff; }
.cmp .col.hi li::before { background: var(--coral); }

/* layers */
.layers { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; border-radius: var(--radius); padding: 22px 26px; }
.layer h3 { font-size: 18px; }
.layer h3 small { display: block; font-size: 13px; font-weight: 500; margin-top: 4px; opacity: .75; }
.layer p { font-size: 15px; }
.layer.l3 { background: #fff; border: 1px dashed #b8c3dc; }
.layer.l2 { background: var(--blue-soft); }
.layer.l2 h3 { color: #1d3fa8; }
.layer.l1 { background: var(--navy); color: #c9d3ea; }
.layer.l1 h3 { color: #fff; }

/* feature list */
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.feat div { border-top: 2px solid var(--ink); padding-top: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--muted); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba .col { border-radius: var(--radius); padding: 28px; }
.ba .before { background: #fff; border: 1px solid var(--line); }
.ba .after { background: var(--navy); color: #dfe6f7; }
.ba h3 { font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ba .after h3 { color: #fff; }
.ba li { display: flex; gap: 10px; font-size: 15px; margin-top: 12px; line-height: 1.6; }
.ba li .icon { width: 18px; height: 18px; margin-top: 3px; }
.ba .before li .icon { color: #a3b0c8; }
.ba .after li .icon { color: #7ee0b5; }
.say { margin-top: 18px; display: grid; gap: 10px; }
.say div { background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.say q { color: #fff; quotes: "“" "”"; }
.say small { display: block; color: #9fb0d8; font-size: 14px; margin-top: 4px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sec-soft .step { border-color: transparent; box-shadow: var(--shadow); }
.step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; margin-bottom: 14px; }
.step.pre .n { background: var(--coral); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }
.step .tag { position: absolute; top: 22px; right: 18px; font-size: 12px; color: var(--muted); }

/* table */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--bg-soft); color: var(--ink); font-size: 15px; }
.tbl tbody th { color: var(--ink); font-weight: 600; width: 120px; white-space: nowrap; }
.tbl .mine { color: #1d3fa8; font-weight: 600; }

/* ownership */
.own { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-box { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.sec-soft .note-box { border-color: transparent; box-shadow: var(--shadow); }
.note-box .icon { color: var(--ok); margin-top: 2px; }

/* price */
.price { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price div { padding: 22px; border-right: 1px solid var(--line); }
.price div:last-child { border-right: 0; }
.price h3 { font-size: 17px; margin-bottom: 6px; }
.price p { font-size: 15px; color: var(--muted); }
.price-foot { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: #fff; padding: 20px 22px; }
.stats b { display: block; font-size: 30px; color: var(--ink); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--muted); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team .card h3 { font-size: 20px; }
.team .card .sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.team ul { margin-top: 18px; }
.team li { position: relative; padding-left: 18px; font-size: 15px; margin-top: 8px; }
.team li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* cases */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.sec-soft .case { border-color: transparent; box-shadow: var(--shadow); }
.case + .case { margin-top: 20px; }
.case h3 { font-size: 22px; }
.case .meta { font-size: 15px; color: var(--muted); margin-top: 6px; }
.case dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px 20px; margin: 22px 0 0; font-size: 15px; }
.case dt { color: var(--ink); font-weight: 600; }
.case dd { margin: 0; }
.case .result { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.case .result div { background: var(--bg-soft); border-radius: 10px; padding: 12px 18px; }
.case .result b { font-size: 24px; color: var(--ink); }
.case .result span { display: block; font-size: 13px; color: var(--muted); }
.case blockquote { margin: 22px 0 0; padding: 14px 18px; border-left: 3px solid var(--coral); background: #fff7f7; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 0 10px 10px 0; }
.case-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.case-steps div { background: var(--bg-soft); border-radius: 12px; padding: 18px; font-size: 15px; }
.case-steps b { display: block; color: var(--ink); margin-bottom: 6px; }
.case-mini { display: block; color: inherit; }
.case-mini h3 { font-size: 18px; margin-bottom: 8px; }
.disclaimer { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; }

/* cta band */
.cta-band { background: radial-gradient(700px 300px at 100% 0, rgba(109, 91, 208, .45), transparent 60%), var(--navy); color: #c9d3ea; padding: 72px 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; font-size: 32px; }
.cta-band p { margin-top: 12px; font-size: 17px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.qr-card { background: #fff; border-radius: 16px; padding: 16px; text-align: center; width: 200px; }
.qr-card img { width: 168px; height: 168px; margin: 0 auto; }
.qr-card p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.qr-card b { color: var(--ink); font-size: 14px; }

/* wechat-aware hints */
.hint-wx { display: none; }
.is-wx .hint-wx { display: inline; }
.is-wx .hint-pc { display: none; }

/* ---------- form ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.panel h2 { font-size: 24px; }
.panel .sub { font-size: 15px; color: var(--muted); margin-top: 8px; }
.field { margin-top: 22px; }
.field label, .field .lbl { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.input { width: 100%; height: 48px; border: 1px solid #cfd7e6; border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: 88px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 99, 240, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #cfd7e6; border-radius: 10px; font-size: 15px; color: var(--text); background: #fff; transition: all .15s; user-select: none; }
.chip input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: #1d3fa8; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.err { color: #d43a3e; font-size: 14px; margin-top: 6px; min-height: 0; }
.form-foot { margin-top: 26px; }
.form-foot .btn { width: 100%; height: 52px; font-size: 17px; }
.form-foot small { display: block; text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done-head { display: flex; gap: 14px; align-items: flex-start; }
.done-head .ok { width: 44px; height: 44px; border-radius: 50%; background: #e3f6ee; color: var(--ok); display: grid; place-items: center; flex: none; }
.done-qr { display: flex; gap: 18px; align-items: center; background: var(--bg-soft); border-radius: 14px; padding: 16px; margin-top: 22px; }
.done-qr img { width: 120px; height: 120px; border-radius: 8px; background: #fff; }
.done-qr p { font-size: 15px; }
.done-qr b { color: var(--ink); }
.extra { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.extra h3 { font-size: 18px; }
.thanks-extra { margin-top: 18px; color: var(--ok); font-weight: 600; }
.side .card + .card { margin-top: 18px; }
.side li { display: flex; gap: 10px; font-size: 15px; margin-top: 10px; }
.side li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 4px; }
.contact-line { font-size: 15px; margin-top: 6px; }
.contact-line b { color: var(--ink); }
.copy-btn { border: 0; background: var(--blue-soft); color: var(--blue); font-size: 13px; border-radius: 6px; padding: 2px 8px; margin-left: 6px; cursor: pointer; font-family: inherit; }

/* ---------- footer ---------- */
.ft { background: #0a1430; color: #8e9cc0; padding: 56px 0 28px; font-size: 14px; }
.ft .wrap > .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.ft h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ft a { color: #b7c3e2; }
.ft a:hover { color: #fff; }
.ft li { margin-top: 8px; }
.ft .logo { color: #fff; }
.ft .brand p { margin-top: 14px; max-width: 26em; line-height: 1.7; }
.ft .qr-card { width: 150px; padding: 10px; }
.ft .qr-card img { width: 130px; height: 130px; }
.ft .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- mobile bar & modal ---------- */
.mbar { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 48, .6); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 18px; padding: 28px 24px 22px; width: 100%; max-width: 320px; text-align: center; position: relative; }
.modal-box h3 { font-size: 19px; }
.modal-box img { width: 220px; height: 220px; margin: 16px auto 10px; }
.modal-box p { font-size: 15px; color: var(--muted); }
.modal-box p b { color: var(--ink); }
.modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .g4, .feat { grid-template-columns: repeat(2, 1fr); }
  .steps.s5 { grid-template-columns: repeat(3, 1fr); }
  .price { grid-template-columns: repeat(2, 1fr); }
  .price div:nth-child(2) { border-right: 0; }
  .price div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ft .wrap > .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { padding-bottom: 68px; }
  .nav, .hd .btn { display: none; }
  .menu-btn { display: block; }
  .hd.open .nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px 16px; gap: 0; }
  .hd.open .nav a { padding: 12px; font-size: 16px; }
  .hero { padding: 44px 0 52px; }
  .hero .wrap, .contact, .cta-band .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; }
  .phero { padding: 40px 0 44px; }
  .phero h1 { font-size: 30px; }
  .sec { padding: 60px 0; }
  .sec h2 { font-size: 26px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 16px; }
  .g2, .g3, .cmp, .ba, .own, .team, .steps, .case-steps { grid-template-columns: 1fr; }
  .steps.s5 { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .case { padding: 22px; }
  .case dl { grid-template-columns: 1fr; gap: 4px; }
  .case dd { margin-bottom: 10px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band .qr-card { display: none; }
  .panel { padding: 22px; }
  .tbl th, .tbl td { padding: 12px; }
  .tbl tbody th { width: auto; white-space: normal; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .mbar .btn { height: 46px; width: 100%; }
  .is-form .mbar { display: none; }
  body.is-form { padding-bottom: 0; }
  .compact { grid-template-columns: 1fr 1fr; gap: 12px; }
  .compact .card { padding: 16px; }
  .compact .card .ic { width: 34px; height: 34px; margin-bottom: 10px; }
  .compact .card h3 { font-size: 16px; margin-bottom: 4px; }
  .compact .card p { font-size: 14px; line-height: 1.55; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .g4, .feat, .price, .stats { grid-template-columns: 1fr; }
  .price div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price div:last-child { border-bottom: 0; }
  .hero h1 { font-size: 32px; }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .ft .wrap > .top { grid-template-columns: 1fr; }
  .tbl { font-size: 14px; }
  .done-qr { flex-direction: column; text-align: center; }
}

#lead-done { scroll-margin-top: 84px; }
[hidden] { display: none !important; }

/* language switch */
.lang-switch { font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; line-height: 1.2; white-space: nowrap; }
.lang-switch:hover { border-color: #c5cede; color: var(--ink); }
.nav + .lang-switch { margin-left: 4px; }
@media (max-width: 860px) {
  .lang-switch { margin-left: auto; }
  .lang-switch + .btn + .menu-btn { margin-left: 4px; }
}
html[lang="en"] .hero h1 { font-size: 50px; letter-spacing: 0; }
html[lang="en"] .sec h2 { letter-spacing: -.2px; }
@media (max-width: 860px) { html[lang="en"] .hero h1 { font-size: 34px; } }
.stats.s3 { grid-template-columns: repeat(3, 1fr); }
.stats.s2 { grid-template-columns: repeat(2, 1fr); }
.stats > div { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 560px) { .stats.s3, .stats.s2 { grid-template-columns: 1fr; } }
.mbar .btn { padding: 0 10px; min-width: 0; }
html[lang="en"] .mbar .btn { font-size: 15px; gap: 6px; }
