/* Dexian: one brand image, one download action and one product preview. */
:root {
  color-scheme: light;
  --paper: #fff; --ink: #201e27; --secondary: #595764; --line: #dbdae2;
  --lilac: #efedf8; --violet: #53439b; --tint: #f7f7f9; --ring: #6153c2;
  --nav: rgba(255,255,255,.94);
  --font: -apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft Yahei",sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
html.product-site { scroll-padding-top:96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1.15; font-weight: 680; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; font: inherit; }
button,a { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.wrap { width: min(1128px,100%); margin-inline: auto; padding-inline: 40px; }
.skip { position: fixed; inset: 6px auto auto 8px; z-index: 10; background: var(--paper); padding: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
header { position: sticky; top: 0; z-index: 5; background: var(--nav); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.bar,.footer-inner,.brand,nav,.actions { display: flex; align-items: center; }
.bar,.footer-inner { justify-content: space-between; gap: 20px; }
.bar { min-height: 62px; }
.brand { gap: 10px; font-size: 17px; font-weight: 650; white-space: nowrap; }
.brand img { border-radius: 7px; }
nav { gap: 28px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); font-size: 13px; white-space: nowrap; }
.hero { background: var(--lilac); }
.hero-stage { min-height: 340px; height: min(530px,calc(100svh - 180px)); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 16px; }
.hero-copy { min-width: 0; }
.header-region { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.header-region img { width: 20px; height: 20px; flex: none; margin-right: 2px; }
.header-region span { color: var(--secondary); font-size: 14px; font-weight: 500; white-space: nowrap; }
.header-region strong { font-weight: 600; white-space: nowrap; }
.hero h1 { font-size: 76px; }
.lead { font-size: 26px; font-weight: 580; margin-top: 14px; }
.intro { font-size: 16px; color: var(--secondary); margin-top: 6px; }
.actions { --badge-height: 46px; --badge-width: 156px; margin-top: 28px; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.store-badge { display: flex; flex: none; align-items: center; justify-content: center; gap: 8px; width: var(--badge-width); height: var(--badge-height); padding-inline: 10px; border: 1px solid #777; border-radius: 7px; background: #000; color: #fff; font-size: 18px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.store-badge img { width: 22px; height: 26px; object-fit: contain; flex: none; }
.apple-mark { filter: invert(1); }
.android-download,.store-download { width: var(--badge-width); padding: 0; flex: none; border: 0; background: none; color: var(--secondary); opacity: 1; cursor: default; }
.android-download small,.store-download small { display: block; margin-top: 7px; font-size: 11px; line-height: 1.4; }
a.store-download { cursor:pointer; text-align:center; }
.demo-note { font-size: 12px; color: var(--secondary); }
.mascot { width: 100%; height: 87%; min-height: 0; object-fit: contain; pointer-events: none; }
.explore { padding-block: 48px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; }
.feature-menu { min-width: 0; max-width: 460px; }
.feature-menu h2 { margin-bottom: 24px; }
h2 { font-size: 32px; }
.tabs { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.tabs button { min-width: 0; min-height: 98px; padding: 16px; display: grid; grid-template-columns: 22px minmax(0,1fr) 18px; align-items: center; gap: 14px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; }
.tab-copy strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; }
.tab-copy > span { display: block; margin-top: 5px; color: var(--secondary); font-size: 13px; line-height: 1.65; }
.tab-arrow { opacity: 0; }
.tabs [aria-selected=true] { background: var(--lilac); color: var(--violet); border-color: var(--line); }
.tabs [aria-selected=true] .tab-arrow { opacity: 1; }
.previews { min-width: 0; }
.previews figure { margin: 0; }
.screen { display: flex; justify-content: center; }
.screen img { width: min(260px,100%); aspect-ratio: 390/844; height: auto; border: 1px solid var(--line); border-radius: 14px; }
.demo-note { margin-top: 12px; text-align: center; }
.contact-band { background: var(--tint); }
.info-layout { padding-block: 52px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.45fr); gap: 36px; }
.info-layout h2 { padding-block: 10px; }
.mail-rows > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 14px; border-bottom: 1px solid var(--line); padding-block: 6px; }
.mail-rows dt { font-weight: 570; }
.mail-rows a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--secondary); font-size: 15px; overflow-wrap: anywhere; }
.mail-rows img { flex-shrink: 0; }
footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 14px; }
footer p,footer nav a { font-size: 12px; color: var(--secondary); }
.contact-page { padding-block: 72px; }
.contact-page h1 { font-size: 44px; margin-bottom: 32px; }
.contact-page .mail-rows,.company { max-width: 710px; }
.company { margin-top: 52px; }
.company h2 { font-size: 24px; margin-bottom: 16px; }
.company p + p { margin-top: 12px; color: var(--secondary); }
@media (hover:hover) {
  nav a:hover,.mail-rows a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 4px; }
  .tabs button:hover { color: var(--violet); background: var(--tint); }
  .tabs [aria-selected=true]:hover { background: var(--lilac); }
}
@media (max-width: 850px) {
  .wrap { padding-inline: 28px; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 23px; }
  .explore { gap: 24px; }
  .tabs button { padding: 12px; gap: 10px; }
  .tab-copy strong { font-size: 16px; }
  .info-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .bar { min-height: 54px; gap: 8px; }
  .bar nav { gap: 14px; }
  .brand { gap: 6px; font-size: 15px; }
  .brand img { width: 26px; height: 26px; }
  .hero-stage { display: flex; flex-direction: column; align-items: flex-start; gap: 0; height: auto; min-height: 0; padding-top: 28px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 45px; }
  .lead { font-size: 20px; margin-top: 10px; }
  .intro { font-size: 14px; }
  .actions { --badge-height: 44px; --badge-width: 144px; margin-top: 18px; gap: 12px; }
  .store-badge { font-size: 17px; }
  .mascot { position: static; align-self: center; width: 82%; height: clamp(112px,27svh,230px); object-position: center; transform: none; margin-block: 4px 12px; }
  h2 { font-size: 26px; }
  .explore { padding-block: 28px; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .feature-menu { max-width: none; }
  .feature-menu h2 { margin-bottom: 18px; }
  .tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .tabs button { min-height: 120px; grid-template-columns: minmax(0,1fr); align-content: start; gap: 8px; border-color: var(--line); }
  .tabs button > img:first-child { width: 20px; height: 20px; }
  .tabs .tab-arrow { display: none; }
  .tab-copy strong { font-size: 15px; }
  .tab-copy > span { font-size: 12px; }
  .screen img { width: min(232px,100%); }
  .demo-note { margin: 10px 0 0; }
  .info-layout { padding-block: 30px; }
  .mail-rows > div { display: block; padding-top: 12px; }
  .footer-inner { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .contact-page { padding-block: 32px; }
  .contact-page h1 { font-size: 32px; }
}
@media (min-width: 601px) and (max-width: 850px) {
  .actions { --badge-height: 40px; --badge-width: 120px; }
  .store-badge { gap: 6px; padding-inline: 8px; font-size: 14px; }
  .store-badge img { width: 18px; height: 22px; }
}
@media (max-width: 360px) {
  .actions { --badge-width: 136px; gap: 8px; }
  .store-badge { font-size: 16px; }
  .store-badge img { width: 20px; height: 24px; }
  .mascot { height: clamp(112px,20svh,160px); }
}

/* The two products have equally prominent names and separate actions. */
.site-home ::selection { background:#e6e0fa; color:#251e3a; }
.site-home { accent-color:var(--violet); }
.site-home .bar { min-height:80px; justify-content:center; }
.site-home .bar .product-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:440px; max-width:100%; gap:4px; padding:4px; background:#efedf4; border-radius:16px; }
.site-home .bar .product-switch a { justify-content:center; min-width:0; min-height:48px; padding:10px 18px; border-radius:12px; font-size:15px; font-weight:550; color:var(--secondary); text-decoration:none; }
.site-home .bar .product-switch a[aria-current=page] { color:var(--violet); background:#fff; font-weight:650; box-shadow:0 2px 5px #28203312; }
.site-home .regional-bar { width:100%; padding-inline:32px; display:grid; grid-template-columns:minmax(0,1fr) 440px minmax(0,1fr); column-gap:24px; }
.site-home .regional-bar .product-switch { grid-column:2; justify-self:center; }
.site-home .hero h1 { font-size:clamp(44px,5.6vw,72px); letter-spacing:-.035em; }
.site-home .merchant-hero .hero-copy { width:100%; container-type:inline-size; }
.site-home .merchant-hero .hero-copy h1 { font-size:clamp(28px,11.6cqw,60px); white-space:nowrap; }
.site-home .download-label { margin-top:26px; font-size:13px; font-weight:600; color:var(--violet); }
.site-home .actions { margin-top:28px; }
.site-home .consumer-product { padding-block:76px 70px; }
.site-home .product-heading { text-align:center; margin-inline:auto; }
.site-home .product-heading h2 { font-size:clamp(34px,4.4vw,54px); font-weight:700; letter-spacing:-.035em; line-height:1.2; text-wrap:balance; }
.site-home .product-tagline { margin-top:16px; font-size:25px; font-weight:570; letter-spacing:-.015em; }
.site-home .product-description { margin:10px auto 0; max-width:620px; font-size:16px; color:var(--secondary); text-wrap:balance; }
.site-home .explore { padding-block:44px 0; gap:88px; max-width:920px; margin-inline:auto; }
.site-home .screen img { width:min(278px,100%); border-radius:30px; border:0; box-shadow:0 0 0 1px #e5e3e9,0 18px 35px -20px #48425255; }
.site-home .tabs button { border-radius:14px; min-height:94px; }
.site-home .tabs [aria-selected=true] { border-color:transparent; }
.site-home .merchant-product { background:#f5f5f7; padding-block:76px 56px; }
.site-home .merchant-product .product-heading h2 > span { display:inline-block; }
.site-home .merchant-tabs { display:flex; width:max-content; max-width:100%; padding:5px; gap:3px; margin:32px auto 0; border-radius:15px; background:#e9e9ee; }
.site-home .merchant-tabs button { border:0; background:transparent; min-height:44px; padding:10px 25px; border-radius:11px; font-size:14px; font-weight:580; color:#62616c; white-space:nowrap; }
.site-home .merchant-tabs [aria-selected=true] { background:#fff; color:#27242d; box-shadow:0 2px 5px #25233214; }
.site-home .merchant-panel { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:80px; max-width:900px; margin:44px auto 0; }
.site-home .merchant-copy { padding-bottom:32px; }
.site-home .merchant-copy h2 { font-size:40px; line-height:1.22; letter-spacing:-.025em; font-weight:680; }
.site-home .merchant-copy > p { max-width:350px; color:var(--secondary); font-size:16px; line-height:1.8; margin-top:22px; text-wrap:pretty; }
.site-home .detail-lines { display:grid; margin-top:28px; max-width:320px; }
.site-home .detail-lines span { border-top:1px solid #dedee5; padding:11px 0; font-size:14px; color:#595663; }
.site-home .merchant-device { width:300px; max-width:100%; justify-self:center; }
.site-home .merchant-device > img { width:100%; height:auto; aspect-ratio:393/830; border-radius:34px; box-shadow:0 0 0 1px #dfdde5,0 22px 35px -20px #37324455; }
.site-home .merchant-device figcaption { font-size:11px; color:#66636f; text-align:center; margin-top:16px; }
.site-home .merchant-entry { border-top:1px solid #dcdce3; margin:48px auto 0; padding-top:30px; max-width:900px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-home .merchant-entry h2 { font-size:21px; letter-spacing:-.015em; }
.site-home .merchant-entry p { margin-top:6px; color:var(--secondary); font-size:14px; }
.site-home .contact-band { background:#fff; }
.customer-support .support-entry { max-width:900px; margin-inline:auto; border-top:1px solid var(--line); padding-block:32px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.customer-support h2 { font-size:24px; letter-spacing:0; }
.site-home .merchant-contact,.customer-support .support-email { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; max-width:100%; padding:12px 20px; border-radius:24px; background:var(--violet); color:var(--paper); font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
.site-home .merchant-contact img,.customer-support .support-email img { flex-shrink:0; filter:brightness(0) invert(1); }
@media (hover:hover) {
  .site-home .bar .product-switch a:hover { color:var(--violet); text-decoration:none; background:#ffffff80; }
  .site-home .bar .product-switch a[aria-current=page]:hover { background:#fff; }
  .site-home .merchant-tabs button:hover { color:var(--violet); }
  .site-home .merchant-contact:hover,.customer-support .support-email:hover { background:#43347f; }
}
@media (prefers-reduced-motion:no-preference) {
  .site-home { scroll-behavior:smooth; }
  .site-home .merchant-panel:not([hidden]) { animation:product-appear .24s ease-out; }
  @keyframes product-appear { from { opacity:.35; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
}
@media (min-width:601px) {
  .site-home .merchant-hero .hero-stage { min-height:440px; }
}
@media (max-width:1100px) {
  html.product-site.region-header { scroll-padding-top:128px; }
  .site-home .regional-bar { grid-template-columns:minmax(0,1fr); gap:8px; padding-block:12px; }
  .site-home .regional-bar .product-switch { grid-column:1; }
}
@media (max-width:850px) {
  .site-home .bar .product-switch { width:380px; }
  .site-home .bar .product-switch a { padding-inline:12px; font-size:14px; }
  .site-home .explore { gap:32px; }
  .site-home .merchant-panel { gap:32px; }
  .site-home .merchant-copy h2 { font-size:33px; }
  .site-home .merchant-device { width:280px; }
}
@media (max-width:600px) {
  html.product-site { scroll-padding-top:88px; }
  html.product-site.region-header { scroll-padding-top:120px; }
  .site-home .bar { min-height:72px; padding-block:10px; }
  .site-home .regional-bar { padding-inline:20px; }
  .site-home .bar .product-switch { width:100%; border-radius:14px; }
  .site-home .bar .product-switch a { min-height:44px; padding:10px 8px; font-size:13px; border-radius:10px; }
  .site-home .hero h1 { font-size:44px; }
  .site-home .intro { max-width:320px; }
  .site-home .actions { margin-top:24px; }
  .site-home .consumer-product { padding-block:46px 42px; scroll-margin-top:22px; }
  .site-home .product-heading h2 { font-size:34px; letter-spacing:-.04em; }
  .site-home .product-tagline { font-size:21px; margin-top:12px; }
  .site-home .product-description { font-size:14px; line-height:1.7; max-width:330px; }
  .site-home .explore { padding-top:28px; gap:30px; }
  .site-home .tabs button { min-height:114px; }
  .site-home .screen img { width:260px; }
  .site-home .merchant-product { padding-block:48px 36px; scroll-margin-top:22px; }
  .site-home .merchant-tabs { width:100%; margin-top:24px; gap:2px; padding:4px; border-radius:13px; }
  .site-home .merchant-tabs button { flex:1; min-width:0; padding:10px 5px; font-size:12px; border-radius:10px; }
  .site-home .merchant-panel { display:flex; flex-direction:column; gap:26px; margin-top:28px; }
  .site-home .merchant-copy { padding:0; text-align:center; }
  .site-home .merchant-copy h2 { font-size:25px; line-height:1.35; }
  .site-home .merchant-copy h2 br { display:none; }
  .site-home .merchant-copy > p { font-size:14px; line-height:1.7; margin:12px auto 0; max-width:315px; }
  .site-home .detail-lines { display:none; }
  .site-home .merchant-device { width:280px; }
  .site-home .merchant-entry { margin-top:32px; padding-top:26px; flex-direction:column; align-items:center; text-align:center; gap:18px; }
  .site-home .merchant-entry h2 { font-size:20px; }
  .customer-support .support-entry { padding-block:28px 32px; flex-direction:column; text-align:center; gap:18px; }
  .customer-support h2 { font-size:22px; }
}
@media (max-width:360px) {
  .site-home .product-heading h2 { font-size:30px; }
  .site-home .bar .product-switch a { font-size:12px; }
}
.site-home .product-heading h1 { font-size:clamp(34px,4.4vw,54px); font-weight:700; letter-spacing:-.035em; line-height:1.2; text-wrap:balance; }
@media (max-width:600px) { .site-home .product-heading h1 { font-size:34px; letter-spacing:-.04em; } }
@media (max-width:360px) { .site-home .product-heading h1 { font-size:30px; } }
