/* Xbordercart — site styles
   jade = where goods ship from, saffron = where they sell, ink = structure */
:root {
  --ink: #14254A;
  --ink-2: #22355E;
  --jade: #0F7A6C;
  --jade-soft: #DCEDE9;
  --saffron: #E8962A;
  --saffron-deep: #A65E06;
  --saffron-soft: #FBEBD3;
  --sky-soft: #E3EAF7;
  --paper: #F7F8F5;
  --mist: #EEF2F0;
  --slate: #44526A;
  --line: #D5DDDA;
  --white: #FFFFFF;
  --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: var(--jade); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Language switching (HTML and SVG) */
html[data-lang="en"] .zh, html[data-lang="zh"] .en { display: none !important; }
html[data-lang="zh"] body { line-height: 1.75; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2 { letter-spacing: 0.02em; font-stretch: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 28px;
  font: inherit; font-weight: 700; font-size: 17px;
  color: var(--white); background: var(--jade); border: 2px solid var(--jade); border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: #0B5E53; border-color: #0B5E53; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,245,.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 21px; font-stretch: 112%; }
.mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); }
.lang-switch button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--slate); padding: 5px 12px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
@media (max-width: 960px) { .nav { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 520px) { .header-actions .btn-small { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 4vw, 56px); overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); }
.hero-copy { max-width: 760px; }
.hero-kicker { display: inline-block; font-size: 15px; font-weight: 700; color: var(--jade); background: var(--jade-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 80px); font-weight: 800; font-stretch: 116%; letter-spacing: -0.02em; line-height: 1.02; }
html[data-lang="zh"] .hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.2; }
.hero-lede { margin-top: 24px; max-width: 58ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--slate); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* World map */
.map { position: relative; margin: clamp(32px, 5vw, 56px) 0 0; }
.map-dots { width: 100%; height: auto; }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.6,.1,.3,1) forwards; animation-delay: calc(.4s + var(--i) * .35s); }
.arc-j, .arc-u { stroke: var(--jade); }
.arc-s { stroke: var(--saffron-deep); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pin .core { stroke: var(--white); stroke-width: 3.5; }
.pin-o .core { fill: var(--jade); }
.pin-d .core { fill: var(--saffron); }
.pin-b .core { fill: var(--saffron); stroke: var(--jade); }
.pin .pulse { fill: var(--saffron); opacity: 0; }
.pin-d .pulse { animation: pulse 2.4s ease-out 2.2s infinite; }
@keyframes pulse { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.pin text { font-family: var(--font); font-size: 22px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--mist); stroke-width: 6px; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .arc { animation: none; stroke-dashoffset: 0; } .pin .pulse { animation: none; } }
.map-legend { display: flex; gap: 22px; justify-content: center; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--slate); }
.map-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-o { background: var(--jade); } .lg-d { background: var(--saffron); }
@media (max-width: 700px) { .pin text { display: none; } .pin .core { r: 13; } .arc { stroke-width: 6; } }

/* Marketplace strip */
.sell-on { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sell-on-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.sell-on-label { font-size: 15px; font-weight: 700; color: var(--slate); }
.mk-list { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.mk { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.01em; color: #5B667A; line-height: 1; }
.mk-myntra { font-stretch: 110%; }
.mk-noon { font-weight: 700; }
.mk-amazon { font-weight: 700; letter-spacing: -0.02em; }
.mk-more { font-size: 17px; font-weight: 600; color: var(--slate); }

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; font-stretch: 110%; letter-spacing: -0.01em; }
.section-lede { margin-top: 14px; max-width: 60ch; color: var(--slate); font-size: 19px; }

/* Who we help */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.who-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px 40px; display: grid; grid-template-columns: 160px 1fr; grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 10px; align-items: center; }
.who-card svg { grid-row: span 2; width: 160px; height: 140px; }
.who-card h3 { font-size: 28px; font-weight: 800; font-stretch: 110%; align-self: end; }
.who-card p { color: var(--slate); align-self: start; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .who-card { grid-template-columns: 1fr; padding: 28px 24px; } .who-card svg { grid-row: auto; width: 128px; height: 112px; } }

/* Services */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.svc { background: var(--paper); border-radius: var(--radius); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.svc .icon { width: 52px; height: 52px; padding: 11px; border-radius: 14px; color: var(--jade); background: var(--jade-soft); margin-bottom: 6px; }
.svc:nth-child(4n+2) .icon, .svc:nth-child(4n+3) .icon { color: var(--saffron-deep); background: var(--saffron-soft); }
.svc h3 { font-size: 20px; font-weight: 700; }
.svc p { font-size: 16px; color: var(--slate); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* Proof strip */
.proof { background: var(--ink); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 48px; }
.proof p { display: flex; flex-direction: column; gap: 4px; color: #C9D3E6; font-size: 16px; }
.proof strong { font-size: clamp(34px, 4vw, 52px); font-weight: 800; font-stretch: 114%; color: var(--white); line-height: 1; }
.proof p:nth-child(even) strong { color: #F5B65C; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* Routes */
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.route-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.mini-route { display: flex; align-items: center; gap: 0; height: 48px; }
.mini-route svg { flex: 1; height: 40px; }
.mini-route path { stroke: var(--slate); stroke-width: 3; }
.mr-pin { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--line); flex: none; margin-top: 22px; }
.mr-from { background: var(--jade); } .mr-to { background: var(--saffron); }
.rc-ends { display: flex; justify-content: space-between; gap: 12px; }
.rc-ends b { font-size: 22px; font-weight: 800; font-stretch: 108%; line-height: 1.2; }
.rc-ends b:first-child { color: var(--jade); }
.rc-ends b:last-child { color: var(--saffron-deep); text-align: right; }
.rc-places { font-size: 15px; font-weight: 600; color: var(--slate); padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .route-cards { grid-template-columns: 1fr; } }

/* Categories */
.categories { background: var(--white); }
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 40px; }
.tile { background: var(--paper); border-radius: var(--radius); padding: 22px 16px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.tile svg { width: 120px; height: 120px; }
.tile h3 { font-size: 18px; font-weight: 700; }
@media (max-width: 1000px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } .tile svg { width: 96px; height: 96px; } }

/* Four steps */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; position: relative; }
.flow::before { content: ""; position: absolute; top: 28px; left: 28px; right: 12%; border-top: 3px dashed var(--line); }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.flow-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--white); background: var(--jade); box-shadow: 0 0 0 8px var(--paper); margin-bottom: 8px; }
.flow li:last-child .flow-num { background: var(--saffron); color: var(--ink); }
.flow h3 { font-size: 21px; font-weight: 700; }
.flow p { font-size: 16px; color: var(--slate); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow::before { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--white); }
.faq-list { margin-top: 36px; max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--jade); border-bottom: 3px solid var(--jade); transform: rotate(45deg) translateY(-4px); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list details p { padding: 0 0 24px; max-width: 64ch; color: var(--slate); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-intro { display: flex; flex-direction: column; gap: 18px; }
.contact-intro p { color: #C9D3E6; max-width: 44ch; }
.contact-email a, .site-footer a { color: #F5B65C; font-weight: 600; }
.contact-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 1.5px solid #B5C1BE; border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px rgba(15,122,108,.22); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { font-size: 14px; color: #B3261E; }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 16px; }
.form-status.ok { background: var(--jade-soft); color: #0A4F46; }
.form-status.err { background: #FBE3E1; color: #8C1D17; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 18px; } }

/* Footer */
.site-footer { background: #0E1A36; color: #AEB9CF; padding: 40px 0; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.5fr auto; gap: 24px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand b { color: var(--white); font-size: 18px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* polish */
.pin .core { r: 9; }
.svc .icon { width: 60px; height: 60px; padding: 13px; }
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { padding: 18px 16px 20px; }
  .svc .icon { width: 48px; height: 48px; padding: 10px; }
  .svc h3 { font-size: 17px; }
  .svc p { font-size: 14.5px; }
}
@media (max-width: 700px) { .pin .core { r: 14; } }

/* Direction arrows */
.ah { opacity: 0; animation: ah-in .35s ease-out forwards; animation-delay: calc(1.65s + var(--i) * .35s); }
.ah-j, .ah-u { fill: var(--jade); }
.ah-s { fill: var(--saffron-deep); }
@keyframes ah-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ah { animation: none; opacity: 1; } }
@media (max-width: 700px) { .ah { transform: scale(1.9); } }


/* arrows between the four steps */
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; right: 6px;
  width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid #B5C1BE;
}
.flow::before { right: calc((100% - 72px) / 4); }
@media (max-width: 860px) { .flow li:not(:last-child)::after { display: none; } }

.mini-route svg { height: auto; }
.mini-route polygon { fill: var(--slate); }
.mr-pin { margin-top: 30px; }
.cat-note { margin-top: 22px; color: var(--slate); font-size: 17px; }
.tile h3 { font-size: 16.5px; line-height: 1.25; }
.mini-route { height: auto; align-items: flex-end; }
.mr-pin { margin-top: 0; margin-bottom: 0; }
.mini-route svg { margin: 0 -4px 6px; }
/* marketplace strip, grouped by region */
.mk-list { gap: clamp(24px, 4vw, 56px); }
.mk-group { display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 32px); flex-wrap: wrap; }
.mk-region { font-size: 13px; font-weight: 700; color: var(--white); background: var(--jade); padding: 4px 10px; border-radius: 999px; align-self: center; }
.mk-group + .mk-group .mk-region { background: var(--saffron-deep); }
.mk { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 1100px) { .mk-list { flex-direction: column; align-items: flex-start; gap: 16px; } }
.tile { min-width: 0; }
.sell-on-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
/* phone with country code */
.field-stack { display: flex; flex-direction: column; gap: 18px; }
.phone-group { display: flex; gap: 10px; }
.phone-group select { flex: 0 0 auto; width: min(48%, 270px); }
.phone-group input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .phone-group select { width: 58%; } }
.footer-inner { grid-template-columns: 1fr auto; }
.footer-copy { text-align: right; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-copy { text-align: left; } }

/* Tinted section backgrounds (replaces plain white) */
:root { --mist-jade: #E9F2EF; --sand: #F6F1E8; --card: #FFFFFF; }
body { background: var(--mist-jade); }
.hero {
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(232,150,42,.16) 0%, rgba(232,150,42,0) 70%),
    radial-gradient(50% 60% at 6% 95%, rgba(15,122,108,.14) 0%, rgba(15,122,108,0) 70%),
    linear-gradient(180deg, #F1F6F3 0%, #E6EFEB 100%);
}
.pin text { stroke: #E9F1EE; }
.sell-on { background: var(--card); border-color: #D7E3DE; box-shadow: 0 1px 0 rgba(20,37,74,.04); }
.who { background: var(--sand); }
.services { background: var(--mist-jade); }
.svc { background: var(--card); box-shadow: 0 1px 2px rgba(20,37,74,.06); }
.routes { background: var(--sand); }
.categories { background: var(--mist-jade); }
.tile { background: var(--card); box-shadow: 0 1px 2px rgba(20,37,74,.06); }
.steps-sec { background: var(--sand); }
.flow-num { box-shadow: 0 0 0 8px var(--sand); }
.flow::before { border-top-color: #D9CFBF; }
.flow li:not(:last-child)::after { border-left-color: #C9BBA5; }
.faq { background: var(--mist-jade); }
.faq-list { border-top-color: #CFDDD8; }
.faq-list details { border-bottom-color: #CFDDD8; }
.who-card, .route-card { border-color: #E6DDCE; box-shadow: 0 1px 2px rgba(20,37,74,.05); }
.site-header { background: rgba(241,246,243,.92); }
/* marketplace logos (shown when the file exists in assets/img/logos/) */
.mk { display: inline-flex; align-items: center; gap: 10px; }
.mk-logo { height: 34px; width: auto; max-width: 120px; object-fit: contain; }
@media (max-width: 520px) { .mk-logo { height: 26px; } }
/* marketplace logo tiles */
.mk-group { align-items: center; gap: 12px; }
.mk-tile { display: inline-flex; align-items: center; gap: 8px; height: 48px; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(20,37,74,.12); }
.mk-tile img { height: 48px; width: auto; display: block; }
.mk-tile-light { background: var(--white); border: 1px solid #E3E8E6; padding: 0 14px 0 10px; box-shadow: none; }
.mk-tile-light img { height: 32px; }
.mk-name { font-size: 22px; font-weight: 800; color: #3A3F4A; letter-spacing: -0.01em; }
.mk-region { margin-right: 4px; }
@media (max-width: 520px) {
  .mk-tile { height: 38px; border-radius: 8px; } .mk-tile img { height: 38px; }
  .mk-tile-light img { height: 26px; } .mk-name { font-size: 18px; }
  .mk-group { gap: 8px; }
}
.mk-list { row-gap: 14px; column-gap: 48px; }

/* Growth section */
.growth { background: var(--mist-jade); }
.growth-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.growth-kicker { display: inline-block; font-size: 15px; font-weight: 700; color: var(--saffron-deep); background: var(--saffron-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.growth h2 { max-width: 18ch; }
html[data-lang="zh"] .growth h2 { max-width: 16em; }
.g-total { color: var(--jade); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pace-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 30px -12px rgba(20,37,74,.45); }
.pace-live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #9FE3D6; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2ED3B4; box-shadow: 0 0 0 0 rgba(46,211,180,.6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(46,211,180,.55); } 100% { box-shadow: 0 0 0 12px rgba(46,211,180,0); } }
.pace-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 19px; color: #C9D3E6; }
.pace-big b { font-size: clamp(48px, 5vw, 64px); font-weight: 800; font-stretch: 116%; color: #F5B65C; line-height: 1; }
.pace-sub { font-size: 15px; color: #AEB9CF; }
.pace-today { margin-top: 8px; padding-top: 16px; border-top: 1px solid #2E3F68; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: #C9D3E6; }
.pace-today b { font-size: 30px; font-weight: 800; font-stretch: 110%; color: var(--white); font-variant-numeric: tabular-nums; border-radius: 8px; padding: 2px 8px; transition: background-color .6s ease, color .6s ease; }
.pace-today b.flash { background: #E8962A; color: var(--ink); transition: none; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .pace-today b { transition: none; } }
@media (max-width: 900px) { .growth-head { grid-template-columns: 1fr; } }

.growth-chart { margin: 36px 0 0; background: var(--card); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px) clamp(12px, 3vw, 32px) 20px; box-shadow: 0 1px 2px rgba(20,37,74,.06); }
.growth-svg { width: 100%; height: auto; overflow: visible; }
.g-grid { stroke: #DCE6E2; stroke-width: 1.5; stroke-dasharray: 4 6; }
.g-base { stroke: #C2D0CB; stroke-width: 2; }
.g-axis { font-family: var(--font); font-size: 16px; font-weight: 600; fill: #6A7689; }
.g-x { font-family: var(--font); font-size: 15px; font-weight: 600; fill: #6A7689; }
.g-line { fill: none; stroke: var(--saffron-deep); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.g-area { fill: url(#g-area-fill); opacity: 0; }
.g-ms { opacity: 0; }
.g-ms circle { fill: var(--white); stroke: var(--jade); stroke-width: 4; }
.g-ms-now circle { stroke: var(--saffron-deep); fill: var(--saffron); }
.g-ms-now .g-now-pulse { fill: var(--saffron); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; }
.g-ms-v { font-family: var(--font); font-size: 24px; font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: #FFFFFF; stroke-width: 6px; stroke-linejoin: round; }
.g-ms-d { font-family: var(--font); font-size: 15px; font-weight: 600; fill: #6A7689; paint-order: stroke; stroke: #FFFFFF; stroke-width: 6px; stroke-linejoin: round; }
.growth.in-view .g-line { animation: draw 2.2s cubic-bezier(.45,.05,.25,1) .1s forwards; }
.growth.in-view .g-area { animation: fadein .8s ease-out 1.4s forwards; }
.growth.in-view .g-ms { animation: fadein .4s ease-out forwards; animation-delay: calc(1.1s + var(--k) * .55s); }
.growth.in-view .g-now-pulse { animation: nowpulse 2.4s ease-out 2.6s infinite; }
@keyframes fadein { to { opacity: 1; } }
@keyframes nowpulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
@media (prefers-reduced-motion: reduce) {
  .g-line { stroke-dashoffset: 0; } .g-area, .g-ms { opacity: 1; }
  .growth.in-view .g-line, .growth.in-view .g-area, .growth.in-view .g-ms, .growth.in-view .g-now-pulse { animation: none; }
}
.growth-note { margin-top: 10px; font-size: 14px; color: #6A7689; }
@media (max-width: 700px) {
  .g-axis, .g-x { font-size: 30px; }
  .g-ms-v { font-size: 40px; stroke-width: 10px; }
  .g-ms-d { display: none; }
  .g-line { stroke-width: 8; }
  .g-ms circle { r: 11; }
}
@media (max-width: 700px) { .g-x-alt { display: none; } }
/* growth forecast */
.growth-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(20,37,74,.1); font-size: 16px; font-weight: 600; color: var(--ink); }
.growth-badge b { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px; background: var(--jade); color: var(--white); font-size: 20px; font-weight: 800; }
.g-fzone { fill: #EEF6F3; }
.g-fzone-label { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--jade); }
.g-farea { fill: url(#g-farea-fill); opacity: 0; }
.g-fline { fill: none; stroke: var(--jade); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; opacity: 0; }
.g-fm { opacity: 0; }
.g-fm circle { fill: var(--white); stroke: var(--jade); stroke-width: 4; }
.g-fm-big circle { fill: var(--jade); stroke: var(--white); }
.g-fm-v { font-family: var(--font); font-size: 18px; font-weight: 800; fill: #0A5A50; paint-order: stroke; stroke: #EEF6F3; stroke-width: 6px; stroke-linejoin: round; }
.g-fm-big .g-fm-v { font-size: 24px; }
.growth.in-view .g-fline { animation: fadein .9s ease-out 2.1s forwards; }
.growth.in-view .g-farea { animation: fadein .9s ease-out 2.3s forwards; }
.growth.in-view .g-fm { animation: fadein .4s ease-out forwards; animation-delay: calc(2.4s + var(--k) * .3s); }
@media (prefers-reduced-motion: reduce) { .g-fline, .g-farea, .g-fm { opacity: 1; } .growth.in-view .g-fline, .growth.in-view .g-farea, .growth.in-view .g-fm { animation: none; } }
@media (max-width: 700px) {
  .g-fzone-label { font-size: 30px; }
  .g-fm-v { font-size: 30px; stroke-width: 10px; }
  .g-fm-big .g-fm-v { font-size: 38px; }
  .g-fm:not(.g-fm-big) .g-fm-v { display: none; }
  .g-fline { stroke-width: 7; }
  .growth-badge { font-size: 14.5px; }
}
.g-fm-d { font-family: var(--font); font-size: 14px; font-weight: 600; fill: #3F7F75; paint-order: stroke; stroke: #EEF6F3; stroke-width: 6px; stroke-linejoin: round; }
@media (max-width: 700px) { .g-fzone-label, .g-fm-d { display: none; } }
/* chart heading + legend */
.growth-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; padding: 0 4px; }
.growth-chart-head h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; font-stretch: 108%; }
.gch-legend { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--slate); }
.lg-line { display: inline-block; width: 26px; height: 0; border-top: 4px solid var(--saffron-deep); border-radius: 2px; margin-left: 8px; }
.lg-line:first-child { margin-left: 0; }
.lg-forecast { border-top: 4px dotted var(--jade); }
.pace-live { color: #9FE3D6; }
/* offline channel */
.mk-region-off { background: var(--ink) !important; }
.mk-tile-off { padding: 0 16px 0 12px; }
.mk-tile-off .icon { width: 28px; height: 28px; color: var(--jade); }
.mk-tile-off .mk-name { font-size: 18px; }
.rc-offline { display: block; margin-top: 4px; color: var(--jade); font-weight: 700; }
@media (max-width: 520px) { .mk-tile-off .icon { width: 22px; height: 22px; } .mk-tile-off .mk-name { font-size: 15px; } }
.mk-list { flex-direction: column; align-items: flex-start; }
.mk-region { min-width: 104px; text-align: center; }
@media (max-width: 520px) { .mk-region { min-width: 0; } }

/* =====================================================================
   DARK PREMIUM THEME
   midnight base · teal = ship from · amber = sell into · violet glow
   ===================================================================== */
:root {
  --bg: #070B18;
  --bg-2: #0B1124;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.07);
  --stroke: rgba(255,255,255,.09);
  --stroke-2: rgba(255,255,255,.16);
  --text: #ECF1FF;
  --muted: #A3AECB;
  --muted-2: #7C88A8;
  --teal: #2DE1C2;
  --amber: #FFB547;
  --violet: #8B7CFF;
  --grad: linear-gradient(100deg, #2DE1C2 0%, #8B7CFF 52%, #FFB547 100%);
  --ink: #ECF1FF; --slate: #A3AECB; --jade: #2DE1C2; --saffron: #FFB547; --saffron-deep: #FFB547;
}
body { background: var(--bg); color: var(--text); }
a { color: var(--teal); }
::selection { background: rgba(139,124,255,.45); color: #fff; }
.section h2, .who-card h3, .svc h3, .route-card h3, .tile h3, .flow h3, .growth-chart-head h3 { color: var(--text); }
.section-lede, .who-card p, .svc p, .flow p, .faq-list details p, .cat-note, .growth-note { color: var(--muted); }

/* glass surfaces */
.who-card, .svc, .route-card, .tile, .growth-chart {
  background: var(--surface); border: 1px solid var(--stroke); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
}
.svc, .tile { transition: border-color .2s ease, background-color .2s ease; }
.svc:hover, .tile:hover { border-color: var(--stroke-2); background: var(--surface-2); }

/* header */
.site-header { background: rgba(7,11,24,.72); border-bottom-color: var(--stroke); backdrop-filter: saturate(1.3) blur(14px); }
.wordmark { color: var(--text); }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.lang-switch { background: rgba(255,255,255,.06); border-color: var(--stroke); }
.lang-switch button { color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* buttons */
.btn { background: var(--teal); border-color: var(--teal); color: #04221D; box-shadow: 0 8px 24px -10px rgba(45,225,194,.7); }
.btn:hover { background: #5BEBD3; border-color: #5BEBD3; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--stroke-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--stroke-2); }

/* hero */
.hero {
  background:
    radial-gradient(45% 55% at 85% 5%, rgba(139,124,255,.28) 0%, rgba(139,124,255,0) 70%),
    radial-gradient(40% 50% at 8% 30%, rgba(45,225,194,.16) 0%, rgba(45,225,194,0) 70%),
    radial-gradient(50% 40% at 70% 95%, rgba(255,181,71,.12) 0%, rgba(255,181,71,0) 70%),
    var(--bg);
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%); pointer-events: none; }
.hero > * { position: relative; }
.hero-kicker { background: rgba(45,225,194,.12); color: var(--teal); border: 1px solid rgba(45,225,194,.3); }
.hero h1 { color: var(--text); }
.hero h1 .en, .hero h1 .zh { background: linear-gradient(180deg, #FFFFFF 30%, #B9C4E4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { color: var(--muted); }

/* map on dark */
.arc { filter: drop-shadow(0 0 6px currentColor); }
.arc-j, .arc-u { stroke: var(--teal); color: var(--teal); }
.arc-s { stroke: var(--amber); color: var(--amber); }
.ah-j, .ah-u { fill: var(--teal); }
.ah-s { fill: var(--amber); }
.pin .core { stroke: var(--bg); }
.pin-o .core { fill: var(--teal); }
.pin-d .core, .pin-b .core { fill: var(--amber); }
.pin-b .core { stroke: var(--teal); }
.pin .pulse { fill: var(--amber); }
.pin text { fill: var(--text); stroke: var(--bg); }
.map-legend { color: var(--muted); }
.lg-o { background: var(--teal); box-shadow: 0 0 10px var(--teal); } .lg-d { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* marketplace strip */
.sell-on { background: var(--bg-2); border-color: var(--stroke); box-shadow: none; }
.sell-on-label { color: var(--muted); }
.mk-region { background: rgba(45,225,194,.14) !important; color: var(--teal) !important; border: 1px solid rgba(45,225,194,.35); }
.mk-group + .mk-group .mk-region { background: rgba(255,181,71,.14) !important; color: var(--amber) !important; border-color: rgba(255,181,71,.35); }
.mk-region-off { background: rgba(139,124,255,.16) !important; color: #B9AEFF !important; border-color: rgba(139,124,255,.4) !important; }
.mk-tile { box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.mk-tile-light { background: #F4F6FB; border-color: transparent; }
.mk-tile-off { background: var(--surface-2); border: 1px solid var(--stroke); }
.mk-tile-off .icon { color: var(--teal); }
.mk-tile-off .mk-name { color: var(--text); }

/* section backgrounds */
.who, .routes, .steps-sec { background: var(--bg); }
.services, .categories, .faq, .growth { background: var(--bg-2); }
.services, .growth { background: radial-gradient(60% 50% at 100% 0%, rgba(139,124,255,.12), transparent 70%), var(--bg-2); }

/* services icons */
.svc .icon { color: var(--teal); background: rgba(45,225,194,.12); border: 1px solid rgba(45,225,194,.25); }
.svc:nth-child(4n+2) .icon, .svc:nth-child(4n+3) .icon { color: var(--amber); background: rgba(255,181,71,.12); border-color: rgba(255,181,71,.25); }

/* who illustrations: soften their light discs */
.who-card svg circle:first-child { opacity: .9; }

/* numbers band */
.proof { background: linear-gradient(90deg, rgba(45,225,194,.10), rgba(139,124,255,.12), rgba(255,181,71,.10)), #0A0F21; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.proof p { color: var(--muted); }
.proof strong, .proof p:nth-child(even) strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* routes */
.route-card { border-color: var(--stroke); }
.mini-route path { stroke: var(--muted-2); }
.mini-route polygon { fill: var(--muted); }
.mr-pin { border-color: var(--bg); box-shadow: 0 0 0 2px var(--stroke-2); }
.mr-from { background: var(--teal); box-shadow: 0 0 12px rgba(45,225,194,.7); } .mr-to { background: var(--amber); box-shadow: 0 0 12px rgba(255,181,71,.7); }
.rc-ends b:first-child { color: var(--teal); }
.rc-ends b:last-child { color: var(--amber); }
.rc-places { color: var(--muted); border-top-color: var(--stroke); }
.rc-offline { color: #B9AEFF; }

/* categories */
.tile h3 { color: var(--text); }

/* steps */
.flow::before { border-top-color: rgba(255,255,255,.14); }
.flow li:not(:last-child)::after { border-left-color: rgba(255,255,255,.28); }
.flow-num { background: var(--teal); color: #04221D; box-shadow: 0 0 0 8px var(--bg), 0 0 24px rgba(45,225,194,.45); }
.flow li:last-child .flow-num { background: var(--amber); color: #2A1A00; box-shadow: 0 0 0 8px var(--bg), 0 0 24px rgba(255,181,71,.45); }

/* growth */
.growth-kicker { background: rgba(255,181,71,.12); color: var(--amber); border: 1px solid rgba(255,181,71,.3); }
.g-total { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pace-card { background: linear-gradient(160deg, rgba(139,124,255,.22), rgba(45,225,194,.10)), #0E1530; border: 1px solid var(--stroke-2); box-shadow: 0 30px 60px -30px rgba(139,124,255,.5); }
.pace-live { color: var(--teal); }
.pace-big b { color: var(--amber); text-shadow: 0 0 30px rgba(255,181,71,.35); }
.pace-big, .pace-sub { color: var(--muted); }
.growth-chart-head h3 { color: var(--text); }
.gch-legend { color: var(--muted); }
.lg-line { border-top-color: var(--amber); }
.lg-forecast { border-top-color: var(--teal); }
.g-grid { stroke: rgba(255,255,255,.08); }
.g-base { stroke: rgba(255,255,255,.18); }
.g-axis, .g-x { fill: var(--muted-2); }
.g-line { stroke: var(--amber); filter: drop-shadow(0 0 8px rgba(255,181,71,.55)); }
.g-fline { stroke: var(--teal); filter: drop-shadow(0 0 6px rgba(45,225,194,.5)); }
.g-fzone { fill: rgba(139,124,255,.08); }
.g-fzone-label { fill: #B9AEFF; }
.g-ms circle { fill: var(--bg); stroke: var(--teal); }
.g-ms-now circle { fill: var(--amber); stroke: var(--bg); }
.g-ms-now .g-now-pulse { fill: var(--amber); }
.g-ms-v { fill: var(--text); stroke: #0D1328; }
.g-ms-d { fill: var(--muted); stroke: #0D1328; }
.g-fm circle { fill: var(--bg); stroke: var(--teal); }
.g-fm-big circle { fill: var(--teal); stroke: var(--bg); }
.g-fm-v { fill: #7FF0DC; stroke: #0F1530; }
.g-fm-d { fill: var(--muted); stroke: #0F1530; }

/* FAQ */
.faq-list, .faq-list details { border-color: var(--stroke) !important; }
.faq-list summary { color: var(--text); }
.faq-list summary::after { border-color: var(--teal); }

/* contact */
.contact { background: radial-gradient(50% 60% at 0% 100%, rgba(45,225,194,.14), transparent 70%), radial-gradient(50% 60% at 100% 0%, rgba(139,124,255,.18), transparent 70%), var(--bg); color: var(--text); }
.contact-intro p { color: var(--muted); }
.contact-email a, .site-footer a { color: var(--amber); }
.contact-form { background: var(--surface); border: 1px solid var(--stroke-2); color: var(--text); backdrop-filter: blur(10px); }
.field label { color: var(--text); }
.field input, .field select, .field textarea { background: rgba(7,11,24,.6); color: var(--text); border-color: var(--stroke-2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select option { background: #0E1530; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,225,194,.25); }
.field-error { color: #FF8A80; }
.field [aria-invalid="true"] { border-color: #FF8A80; }
.form-status.ok { background: rgba(45,225,194,.14); color: #8FF3E1; }
.form-status.err { background: rgba(255,138,128,.14); color: #FFB4AB; }

/* footer */
.site-footer { background: #05080F; color: var(--muted-2); border-top: 1px solid var(--stroke); }
.footer-brand b { color: var(--text); }

/* optional fields + file pickers */
.optional-block { display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: 14px; border: 1px dashed var(--stroke-2); background: rgba(255,255,255,.02); }
.optional-title { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.opt { font-weight: 500; color: var(--muted-2); font-size: 13px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px 6px 6px; border-radius: 10px; border: 1.5px solid var(--stroke-2); background: rgba(7,11,24,.6); cursor: pointer; transition: border-color .15s ease; }
.file-drop:hover { border-color: rgba(45,225,194,.6); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.file-drop:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,225,194,.25); }
.file-btn { flex: none; font-size: 14px; font-weight: 700; color: #04221D; background: var(--teal); padding: 7px 14px; border-radius: 8px; }
.file-name { font-size: 14.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-drop.has-file .file-name { color: var(--text); }
.file-drop.has-file { border-color: rgba(45,225,194,.55); }
.file-drop [aria-invalid="true"] ~ .file-name { color: #FF8A80; }
/* services: all icons teal for a uniform look */
.svc .icon, .svc:nth-child(4n+2) .icon, .svc:nth-child(4n+3) .icon { color: var(--teal); background: rgba(45,225,194,.12); border: 1px solid rgba(45,225,194,.25); }

/* four steps: icons in circles, number badges, all teal */
.flow::before { top: 40px; left: 40px; right: calc((100% - 72px) / 4 - 40px); }
.flow li:not(:last-child)::after { top: 33px; }
.flow-num, .flow li:last-child .flow-num {
  position: relative; width: 80px; height: 80px; margin-bottom: 10px;
  background: radial-gradient(circle at 30% 25%, rgba(45,225,194,.28), rgba(45,225,194,.08) 70%), #0E1A2C;
  border: 1.5px solid rgba(45,225,194,.55); color: var(--teal);
  box-shadow: 0 0 0 8px var(--bg), 0 0 28px rgba(45,225,194,.25);
}
.flow-icon { width: 38px; height: 38px; }
.flow-badge { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #04221D; background: var(--teal); box-shadow: 0 0 0 3px var(--bg); }
@media (max-width: 520px) { .flow-num, .flow li:last-child .flow-num { width: 68px; height: 68px; } .flow-icon { width: 32px; height: 32px; } }
