/* Public website (built by site/build.mjs). */
:root {
  --bg: #f6f5f1; --surface: #fff; --ink: #12141a; --muted: #4f5461; --line: #e4e2dc; --line-2: #eceae4;
  --accent: #2f5bea; --accent-d: #1d3fb8; --accent-soft: #e8edfd; --dark: #12141a; --dark-2: #1e2130; --dark-line: #2c3042; --dark-muted: #c9ccd6;
  --gold-bg: #fdf1cc; --gold: #7a5200; --radius: 18px;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
.lang-zh { --sans: 'DM Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; --display: 'Bricolage Grotesque', 'Noto Sans SC', 'PingFang SC', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.grow { flex: 1; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-p { background: var(--accent); color: #fff; } .btn-p:hover { background: var(--accent-d); color: #fff; }
.btn-g { background: #fff; color: var(--ink); border-color: #d9d7cf; } .btn-g:hover { color: var(--ink); border-color: var(--ink); }
.btn-d { background: var(--ink); color: #fff; } .btn-d:hover { background: #2a2e3b; color: #fff; }
.btn-w { background: #fff; color: var(--ink); } .btn-w:hover { color: var(--ink); background: #eef1fb; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand:hover { color: var(--ink); }
.brand .logo { height: 36px; width: auto; flex: none; }
.foot .brand .logo { height: 40px; }
.nav { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; user-select: none; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary:hover, .lang-dd[open] summary { background: #fff; border-color: var(--line); }
.lang-dd[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(18, 20, 26, .12); display: flex; flex-direction: column; z-index: 60; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; }
.lang-menu a:hover { background: var(--bg); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--accent); font-weight: 600; }
.login { color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #d9d7cf; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; font-weight: 800; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.micro { font-size: 14px; color: var(--muted); }

/* hero mock */
.mock { position: relative; padding-bottom: 60px; }
.mock-app { display: flex; height: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(18, 20, 26, .14); }
.mock-list { width: 200px; flex: none; background: #fbfaf8; border-right: 1px solid var(--line-2); }
.mock-list-h { padding: 16px; font-weight: 700; font-size: 15px; }
.mock-list-h span { font-weight: 500; color: var(--muted); }
.mock-chat { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line-2); min-width: 0; }
.mock-chat.on { background: var(--accent-soft); }
.mock-chat div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mock-chat b { font-size: 13px; }
.mock-chat span:not(.av) { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.av.big { width: 48px; height: 48px; font-size: 15px; background: var(--accent); }
.mock-thread { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mock-head { height: 54px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.mock-head .muted { font-size: 12px; }
.vip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--gold-bg); color: var(--gold); align-self: center; }
.mock-msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bub { max-width: 270px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.bub .tr { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #d9d7cf; }
.bub.in { align-self: flex-start; background: #f1f0ec; border-radius: 14px 14px 14px 4px; }
.bub.in .tr { color: var(--muted); }
.bub.out { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 14px 14px 4px 14px; }
.bub.out .tr { border-top-color: rgba(255, 255, 255, .4); opacity: .88; }
.note { padding: 9px 12px; border-radius: 10px; background: #fff7db; border: 1px solid #f3e2a6; font-size: 12px; color: #6b4e00; }
.mock-compose { position: relative; flex: none; border-top: 1px solid var(--line-2); padding: 12px 14px; }
.suggest { position: absolute; left: 14px; bottom: 58px; width: min(300px, calc(100% - 28px)); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(18, 20, 26, .12); padding: 6px; font-size: 12px; }
.suggest div { padding: 8px 10px; border-radius: 8px; }
.suggest .on { background: var(--accent-soft); }
.suggest b { font-family: var(--mono); font-weight: 500; }
.field { height: 38px; border: 1px solid #d9d7cf; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: 13px; }
.caret { width: 1px; height: 16px; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-card { position: absolute; left: -28px; bottom: 0; width: 236px; padding: 18px; display: flex; flex-direction: column; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(18, 20, 26, .16); }
.ok { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #1f7a45; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.kv span { color: var(--muted); }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.strip-in div { display: flex; flex-direction: column; gap: 4px; }
.strip-in b { font-family: var(--display); font-size: 18px; }
.strip-in span { font-size: 14px; color: var(--muted); }

/* section heads */
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lang-zh .eyebrow { letter-spacing: .04em; text-transform: none; font-size: 14px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 700; }
.sec-head { margin-bottom: 44px; max-width: 860px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.more { font-weight: 600; white-space: nowrap; }

/* dark sections */
.dark { background: var(--dark); color: #fff; padding: 96px 0; }
.dark .eyebrow { color: #8fa8ff; }
.dark .lead { color: var(--dark-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 24px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 10px; }
.steps .num { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--dark-muted); font-size: 15px; }

/* features */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.feat.rev .feat-copy { order: 2; }
.feat-copy .lead { margin-top: 18px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.panel-title { font-size: 13px; font-weight: 700; color: var(--muted); }
.canned { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); }
.canned.on { background: var(--accent-soft); }
.canned .mono { width: 52px; flex: none; color: var(--accent); font-size: 13px; }
.canned div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.canned b { font-size: 14px; }
.canned span:not(.mono) { font-size: 13px; color: var(--muted); }
.panel-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag.blue { background: var(--accent-soft); color: var(--accent-d); }
.tag.orange { background: #fdecd9; color: #8a3f10; }
.tag.line { border: 1px solid #d9d7cf; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap:not(.feat) { padding-top: 96px; padding-bottom: 96px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.toast-card { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(18, 20, 26, .08); max-width: 460px; }
.toast-card:nth-child(2) { margin-left: 40px; } .toast-card:nth-child(3) { margin-left: 80px; } .toast-card:nth-child(4) { margin-left: 120px; }
.toast-card div { display: flex; flex-direction: column; gap: 4px; }
.toast-card b { font-size: 15px; }
.toast-card div span { font-size: 14px; color: var(--muted); }
.ic { flex: none; width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.toast-card.dark { background: var(--dark); color: #fff; padding: 16px 18px; border-color: var(--dark); }
.toast-card.dark div span { color: var(--dark-muted); }
.dark .ic, .toast-card.dark .ic { background: var(--accent); color: #fff; }
.toast-card.warn { border-color: #f0c9a8; } .warn .ic { background: #fdecd9; color: #a4480f; }
.blue .ic { background: var(--accent-soft); color: var(--accent); }
.green .ic { background: #e6f4ec; color: #1f7a45; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; }
.profile .vip { align-self: flex-start; font-size: 12px; padding: 5px 10px; }
.profile .kv { font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0eee8; }
.who-row { display: flex; gap: 12px; align-items: center; }
.who-row div { display: flex; flex-direction: column; gap: 3px; }
.who-row b { font-size: 17px; }
.who-row span { font-size: 13px; color: var(--muted); }
.hist { padding: 12px 14px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.hist div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.hist b { font-size: 14px; font-weight: 500; }

/* translation */
.soft { background: var(--accent-soft); padding: 96px 0; }
.tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.tr-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.chip { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #f1f0ec; color: var(--ink); }
.tr-text { font-size: 20px; line-height: 1.4; font-weight: 500; }
.tr-note { margin-top: auto; font-size: 14px; color: var(--muted); }
.tr-foot { margin-top: 28px; font-size: 16px; color: #3a3f4c; max-width: 900px; }

/* report */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.kpis div { padding: 14px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.kpis span { font-size: 12px; color: var(--muted); }
.kpis b { font-family: var(--display); font-size: 24px; }
.bars { height: 200px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; background: var(--accent); border-radius: 6px 6px 0 0; }

/* setup */
.setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.setup-card { padding: 26px; border-radius: var(--radius); background: #fbfaf8; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.big-num { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.setup-card h3 { font-size: 20px; }
.setup-card p { color: var(--muted); }
.code { margin: 0; padding: 14px; border-radius: 10px; background: var(--dark); color: #d8dcf0; font-family: var(--mono); font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-all; }

/* security */
.sec-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.sec-split .lead { margin-top: 18px; }
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec-grid div { padding: 22px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.sec-grid h3 { font-size: 18px; margin-bottom: 8px; }
.sec-grid p { color: var(--dark-muted); font-size: 15px; }

/* plans */
.plans-sec { padding-top: 104px; padding-bottom: 104px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.hot { background: var(--dark); color: #fff; border-color: var(--dark); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3, .plan h2 { font-size: 24px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f5b400; color: var(--ink); white-space: nowrap; }
.who { font-size: 15px; opacity: .8; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 36px; font-weight: 800; }
.price span { font-size: 14px; opacity: .8; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 5px; color: var(--accent); }
.plan.hot li svg { color: #8fa8ff; }
.plan .btn { margin-top: auto; }
.plan.big .btn { margin-top: 4px; }
.billed { font-size: 13px; opacity: .75; margin-top: -8px; min-height: 20px; }
.plus { font-size: 13px; font-weight: 700; opacity: .7; }

/* faq */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.faq-split .lead { margin-top: 18px; font-size: 17px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 18px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 720px; }

/* contact */
.contact { background: var(--accent); color: #fff; padding: 96px 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.eyebrow.light { color: #cfdaff; }
.contact-copy p { margin-top: 18px; font-size: 19px; line-height: 1.55; color: #e3e9ff; }
.contact-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.contact-copy li { display: flex; gap: 10px; align-items: center; }
.contact-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(10, 20, 60, .25); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 16px; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid #cfccc3; background: #fff; color: var(--ink); width: 100%; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.contact-form [aria-invalid="true"] { border-color: #c0392b; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; min-height: 22px; }
.form-msg.ok { color: #1f7a45; font-weight: 600; }
.form-msg.err { color: #b3261e; font-weight: 600; }

/* pricing page */
.price-hero { text-align: center; padding-top: 72px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.price-hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; font-weight: 800; }
.billing { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-top: 8px; }
.billing button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px; font: inherit; font-weight: 600; background: transparent; color: var(--ink); cursor: pointer; }
.billing button[aria-checked="true"] { background: var(--ink); color: #fff; }
.usd { font-size: 14px; color: var(--muted); }
.compare { padding-top: 96px; padding-bottom: 96px; }
.compare h2 { margin-bottom: 26px; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare thead th { position: sticky; top: 0; background: var(--dark); color: #fff; font-weight: 700; padding: 18px 12px; text-align: center; }
.compare thead th:first-child { text-align: left; padding-left: 24px; }
.compare tbody th[scope="row"] { text-align: left; font-weight: 500; padding: 14px 24px; }
.compare td { text-align: center; padding: 14px 12px; font-weight: 600; }
.compare td.y { color: #1f7a45; }
.compare td.y svg { margin: 0 auto; }
.compare td.n { color: #9a9ea8; }
.compare tr { border-top: 1px solid #f0eee8; }
.compare .grp th { background: var(--bg); text-align: left; padding: 14px 24px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-zh .compare .grp th { letter-spacing: .02em; text-transform: none; }
.cta-sec { padding-top: 64px; padding-bottom: 96px; }
.cta-box { background: var(--accent); color: #fff; border-radius: 28px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-box p { margin-top: 10px; font-size: 18px; color: #e3e9ff; }

/* footer */
.foot { background: var(--dark); color: var(--dark-muted); padding-top: 56px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 320px; font-size: 15px; }
.foot h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-in > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot a { color: var(--dark-muted); }
.foot a:hover { color: #fff; }
.foot-base { margin-top: 44px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--dark-line); font-size: 14px; }

/* responsive */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; }
  .mock { max-width: 760px; }
  .mock-card { left: -12px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: 0 20px 40px rgba(18, 20, 26, .08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .login { display: none; }
  .feat, .sec-split, .faq-split, .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .feat.rev .feat-copy { order: 0; }
  .feat { padding-top: 72px; padding-bottom: 72px; }
  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-grid, .setup { grid-template-columns: 1fr; }
  .toast-card:nth-child(n) { margin-left: 0; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-in { gap: 12px; height: 64px; }
  .nav { top: 64px; padding: 8px 16px 16px; }
  .top-right { gap: 6px; }
  .lang-dd .cur { display: none; }
  .top-right .btn-sm { display: none; }
  .brand { font-size: 18px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .lead { font-size: 17px; }
  .ctas .btn { width: 100%; }
  .mock { padding-bottom: 0; }
  .mock-app { height: 440px; }
  .mock-list { display: none; }
  .mock-card { position: static; width: auto; margin-top: 14px; }
  .dark, .soft, .contact { padding: 64px 0; }
  .band > .wrap:not(.feat) { padding-top: 64px; padding-bottom: 64px; }
  .plans-sec { padding-top: 64px; padding-bottom: 64px; }
  .feat { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .feat-copy .ticks { margin-top: 20px; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .steps, .plans, .sec-grid, .duo, .strip-in, .two, .kpis { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .billing { flex-direction: column; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .caret { animation: none; } }

/* Us vs others */
.vs-sec { padding-top: 104px; }
.table-scroll.vs table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.vs thead th { padding: 18px 16px; background: var(--dark); color: #fff; font-weight: 700; text-align: left; }
.vs thead th.us { background: var(--accent); }
.vs tbody th { text-align: left; font-weight: 600; padding: 14px 18px; width: 30%; }
.vs td { padding: 14px 16px; vertical-align: top; border-left: 1px solid #f0eee8; }
.vs td.us { background: #f3f6ff; }
.vs tr + tr th, .vs tr + tr td { border-top: 1px solid #f0eee8; }
.vs-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.vs-y .vs-cell { color: #1f7a45; }
.vs-p .vs-cell, .vs-a .vs-cell { color: #8a5a00; }
.vs-n .vs-cell { color: #b3261e; }
.vs-dot, .vs-no { font-size: 15px; line-height: 1; width: 18px; text-align: center; }
.vs-note { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.vs-foot { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.vs-foot a { color: var(--muted); text-decoration: underline; }
@media (max-width: 640px) { .vs-sec { padding-top: 64px; } }
/* Phones: the feature column stays put while the products scroll sideways. */
.vs thead th:first-child, .vs tbody th { position: sticky; left: 0; z-index: 1; }
.vs tbody th { background: #fff; }
@media (max-width: 640px) {
  .table-scroll.vs table { min-width: 640px; font-size: 14px; }
  .vs tbody th, .vs thead th:first-child { width: 130px; min-width: 130px; padding: 12px; box-shadow: 1px 0 0 #e4e2dc; }
  .vs td { padding: 12px; }
}

/* Legal pages */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.legal-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.legal-nav a:hover { background: #fff; color: var(--ink); }
.legal-nav a[aria-current] { background: #fff; color: var(--accent); border: 1px solid var(--line); }
.legal article { max-width: 760px; font-size: 16px; line-height: 1.7; color: #2b2f3a; }
.legal article h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; margin-bottom: 8px; color: var(--ink); }
.legal article h2 { font-size: 21px; margin: 36px 0 10px; color: var(--ink); }
.legal article p { margin: 0 0 14px; }
.legal article ul { margin: 0 0 16px; padding-left: 22px; }
.legal article li { margin-bottom: 6px; }
.legal article code { font-family: var(--mono); font-size: 14px; }
.legal-table { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 14px; border-top: 1px solid #f0eee8; vertical-align: top; }
.legal-table thead th { border-top: 0; background: var(--bg); font-weight: 700; }
.small-note { font-size: 12px; margin-top: 6px; opacity: .75; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
