/* Cangxin AI (仓信AI) landing page. Plain CSS, mobile first, no framework, no web fonts.
   Brand tokens: branding/README.md (teal #0E7C7B, teal dark #0A5A5A, teal light #14A3A1,
   amber #F2A900). Contrast: white on #0E7C7B 5.0:1, white on #0A5A5A 7.9:1,
   #1B1F23 on #F2A900 10:1, #0A5A5A on white 7.9:1, #4A5560 on white 7.4:1. */
:root {
    --wl-teal: #0E7C7B;
    --wl-teal-dark: #0A5A5A;
    --wl-teal-darker: #073F3F;
    --wl-teal-light: #14A3A1;
    --wl-amber: #F2A900;
    --wl-ink: #1B1F23;
    --wl-muted: #4A5560;
    --wl-line: #D9E3E3;
    --wl-tint: #F1F7F7;
    --wl-white: #FFFFFF;
    --wl-radius: 14px;
    --wl-shadow: 0 1px 2px rgba(10, 90, 90, .08), 0 8px 24px rgba(10, 90, 90, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.o_wms_landing {
    margin: 0;
    background: var(--wl-white);
    color: var(--wl-ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.o_wms_landing img, .o_wms_landing svg { max-width: 100%; }
.o_wms_landing a { color: var(--wl-teal-dark); }
.o_wms_landing a:focus-visible,
.o_wms_landing .wl-btn:focus-visible {
    outline: 3px solid var(--wl-amber);
    outline-offset: 2px;
}
.o_wms_landing h1, .o_wms_landing h2, .o_wms_landing h3 { line-height: 1.25; margin: 0 0 .5em; }
.o_wms_landing p { margin: 0 0 1em; }

.wl-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.wl-skip {
    position: absolute; left: 8px; top: -60px; z-index: 10;
    background: var(--wl-ink); color: var(--wl-white) !important; padding: 8px 12px;
    border-radius: 6px; text-decoration: none;
}
.wl-skip:focus { top: 8px; }

/* ---------- Header ---------- */
.wl-header { background: var(--wl-white); border-bottom: 1px solid var(--wl-line); }
.wl-header__inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
    padding-top: 10px; padding-bottom: 10px;
}
.wl-brand { display: inline-flex; align-items: center; min-height: 44px; }
.wl-brand img { display: block; height: 36px; width: auto; }
.wl-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.wl-nav__link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
    text-decoration: none; font-weight: 600; color: var(--wl-teal-dark); border-radius: 8px;
}
.wl-nav__link:hover { background: var(--wl-tint); }
.wl-nav__login { border: 1px solid var(--wl-line); }
.wl-hide-sm { display: none; }
.wl-header__lang { width: 100%; display: flex; justify-content: flex-end; font-size: 14px; }

/* Shared switcher (wms_credit_score.public_lang_switcher uses Bootstrap class names). */
.o_wms_landing .o_wms_public_lang_switcher { display: inline-flex; flex-wrap: wrap; gap: 2px 4px; }
.o_wms_landing .o_wms_public_lang_switcher > * {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px;
    border-radius: 999px;
}
.o_wms_landing .o_wms_lang_switch { text-decoration: none; color: var(--wl-muted); }
.o_wms_landing .o_wms_lang_switch:hover { color: var(--wl-teal-dark); background: var(--wl-tint); }
.o_wms_landing .o_wms_lang_active { font-weight: 700; color: var(--wl-teal-dark); background: var(--wl-tint); }

/* ---------- Hero ---------- */
.wl-hero {
    background: linear-gradient(160deg, var(--wl-teal-darker) 0%, var(--wl-teal-dark) 45%, var(--wl-teal) 100%);
    color: var(--wl-white);
    padding: 40px 0 48px;
}
.wl-hero__grid { display: grid; gap: 28px; }
.wl-eyebrow {
    display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em;
    color: var(--wl-white); background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 12px;
}
.wl-hero__title { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.wl-hero__ai {
    display: block; color: var(--wl-amber); font-size: .6em; font-weight: 700;
    line-height: 1.3; margin-top: 12px;
}
.wl-hero__brand { font-weight: 800; }
.o_wms_landing .wl-hero__sub { font-size: 18px; color: #F7FBFB; max-width: 38em; }
.o_wms_landing .wl-hero__note { font-size: 14px; color: #FFFFFF; margin-top: 16px; }

.wl-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.wl-cta__item { display: flex; flex-direction: column; gap: 6px; }
.o_wms_landing .wl-cta__note { font-size: 14px; color: #FFFFFF; margin: 0; max-width: 22em; }
.o_wms_landing .wl-hero__onboarding {
    display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 10px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
    color: #FFFFFF; font-weight: 600;
}
.o_wms_landing .wl-onboarding { margin: 0; font-weight: 700; color: var(--wl-teal-dark); }
.wl-btn {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
    min-height: 52px; padding: 10px 22px; border-radius: 12px; font-weight: 700;
    font-size: 17px; text-decoration: none; text-align: center; border: 2px solid transparent;
    transition: transform .08s ease, background-color .15s ease;
}
.wl-btn:active { transform: translateY(1px); }
.wl-btn__hint { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.o_wms_landing .wl-btn--accent { background: var(--wl-amber); color: var(--wl-ink); }
.o_wms_landing .wl-btn--accent:hover { background: #FFBC1F; }
.o_wms_landing .wl-btn--ghost { color: var(--wl-white); border-color: rgba(255, 255, 255, .85); }
.o_wms_landing .wl-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.o_wms_landing .wl-btn--primary { background: var(--wl-teal); color: var(--wl-white); }
.o_wms_landing .wl-btn--primary:hover { background: var(--wl-teal-dark); }
.o_wms_landing .wl-btn--outline { color: var(--wl-teal-dark); border-color: var(--wl-teal); background: var(--wl-white); }
.o_wms_landing .wl-btn--outline:hover { background: var(--wl-tint); }

.wl-card {
    background: var(--wl-white); color: var(--wl-ink); border: 1px solid var(--wl-line);
    border-radius: var(--wl-radius); box-shadow: var(--wl-shadow); padding: 22px;
}
.wl-card__title { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--wl-teal-dark); }
.wl-bars { flex: none; }
.o_wms_landing .wl-card__foot { font-size: 14px; color: var(--wl-muted); margin: 12px 0 0; }

.wl-checks { list-style: none; margin: 0; padding: 0; }
.wl-checks li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed var(--wl-line); }
.wl-checks li:last-child { border-bottom: 0; }
.wl-checks li::before {
    content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 8px;
    border-left: 3px solid var(--wl-teal); border-bottom: 3px solid var(--wl-teal);
    transform: rotate(-45deg);
}
.wl-checks--dark li { font-size: 17px; }

/* ---------- Sections ---------- */
.wl-section { padding: 48px 0; }
.wl-section--tint { background: var(--wl-tint); }
.wl-section__title { font-size: 26px; color: var(--wl-teal-dark); font-weight: 800; }
.wl-section__lead { font-size: 18px; color: var(--wl-muted); max-width: 44em; }
.wl-small { font-size: 14px; color: var(--wl-muted); }

.wl-grid { display: grid; gap: 20px; }

.wl-value {
    background: var(--wl-white); border: 1px solid var(--wl-line); border-radius: var(--wl-radius);
    padding: 24px; display: flex; flex-direction: column;
}
.wl-value h3 { font-size: 20px; color: var(--wl-teal-dark); }
.wl-value p { color: var(--wl-muted); flex: 1 0 auto; }
.wl-icon { fill: var(--wl-teal); stroke: var(--wl-teal); margin-bottom: 12px; }
.wl-icon rect:last-child, .wl-icon path:last-child { fill: var(--wl-amber); stroke: var(--wl-amber); }
.wl-icon circle { fill: none; }
.wl-link { font-weight: 700; text-decoration: none; }
.wl-link:hover { text-decoration: underline; }
.wl-list { margin: 0; padding-left: 20px; color: var(--wl-muted); }
.wl-list li { margin-bottom: 8px; }

.wl-grid--int { list-style: none; padding: 0; margin: 8px 0 16px; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-chip {
    background: var(--wl-white); border: 1px solid var(--wl-line); border-radius: 12px;
    padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
}
.wl-chip strong { font-size: 17px; color: var(--wl-teal-dark); }
.wl-chip span { font-size: 14px; color: var(--wl-muted); }

.wl-steps { display: flex; flex-direction: column; align-items: flex-start; background: var(--wl-white); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 24px; }
.wl-steps__title { font-size: 20px; color: var(--wl-teal-dark); }
.wl-steps ol { flex: 1 0 auto; list-style: none; counter-reset: wl-step; margin: 0 0 20px; padding: 0; }
.wl-steps li { counter-increment: wl-step; position: relative; padding: 0 0 18px 52px; }
.wl-steps li::before {
    content: counter(wl-step); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
    border-radius: 50%; background: var(--wl-teal); color: var(--wl-white);
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.wl-steps li strong { display: block; font-size: 17px; }
.wl-steps li span { color: var(--wl-muted); }

.wl-price { max-width: 720px; }
.wl-badge {
    display: inline-block; background: var(--wl-amber); color: var(--wl-ink); font-weight: 800;
    font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px;
    padding: 2px 12px; margin-bottom: 8px;
}
.o_wms_landing .wl-price__head { font-size: 30px; font-weight: 800; color: var(--wl-teal-dark); margin-bottom: 8px; }
.wl-price__model { font-weight: 700; }
.wl-cta--dark { margin-top: 16px; }

.wl-status { border-left: 6px solid var(--wl-amber); align-self: start; }
.wl-status h3 { color: var(--wl-teal-dark); font-size: 20px; }
.wl-status p { margin: 0; color: var(--wl-muted); }

/* ---------- Footer ---------- */
.wl-footer { background: var(--wl-teal-darker); color: #D5EAEA; padding: 40px 0 24px; font-size: 15px; }
.wl-footer a { color: var(--wl-white); }
.wl-footer__grid { display: grid; gap: 24px; }
.wl-footer__brand { font-size: 20px; font-weight: 800; color: var(--wl-white); margin-bottom: 4px; }
.wl-footer__title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #A9D3D3; }
.wl-footer ul { list-style: none; margin: 0; padding: 0; }
.wl-footer li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.wl-footer li a:hover { text-decoration: underline; }
.wl-footer__copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
    .wl-cta { flex-direction: row; flex-wrap: wrap; }
    .wl-grid--int { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .wl-hide-sm { display: inline-flex; }
    .wl-header__inner { flex-wrap: nowrap; }
    .wl-header__lang { width: auto; }
    .wl-brand img { height: 40px; }
    .wl-hero { padding: 64px 0 72px; }
    .wl-hero__title { font-size: 40px; }
    .wl-grid--2 { grid-template-columns: 1fr 1fr; gap: 28px; }
    .wl-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .wl-section { padding: 64px 0; }
    .wl-section__title { font-size: 30px; }
}
@media (min-width: 992px) {
    .wl-hero__grid { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
    .wl-hero__title { font-size: 46px; }
    .wl-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .wl-btn { transition: none; }
}
/* product line under the hero (overseas warehouse WMS, dropshipping, ERPs) */
.o_wms_landing .wl-hero__wms { font-size: 16px; margin-top: -4px; }
.o_wms_landing .wl-chip .o_wms_landing_api_docs { display: block; margin-top: 4px; font-size: 14px; }

/* ---------- Homepage item 23: warehouse path ---------- */
.o_wms_landing .wl-hero__free {
    display: inline-block; margin: 4px 0 8px; padding: 8px 14px; border-radius: 10px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
    color: #FFFFFF; font-weight: 600; max-width: 38em;
}
.o_wms_landing .wl-hero__ai { font-weight: 700; color: var(--wl-amber); }
.o_wms_landing .wl-cta { margin-bottom: 16px; }
.o_wms_landing .wl-cta--seller-first .wl-cta__item--seller { order: -1; }
.o_wms_landing .wl-nav__apply { background: var(--wl-teal); color: var(--wl-white); }
.o_wms_landing .wl-nav__apply:hover { background: var(--wl-teal-dark); }
.wl-price__sub { font-weight: 700; margin-bottom: 4px; }

/* product screenshots */
.wl-grid--shots { display: grid; gap: 20px; align-items: start; }
.wl-shot { margin: 0; background: var(--wl-white); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); box-shadow: var(--wl-shadow); overflow: hidden; }
.wl-shot img { display: block; width: 100%; height: auto; }
.wl-shot--phone img { max-width: 260px; margin: 0 auto; }
.wl-shot figcaption { padding: 10px 14px; font-size: 15px; color: var(--wl-muted); }

/* phones: sticky bottom bar with both paths */
.wl-mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--wl-white);
    border-top: 1px solid var(--wl-line); box-shadow: 0 -4px 16px rgba(10, 90, 90, .12);
}
.wl-mobilebar a {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 4px 8px; border-radius: 10px; font-weight: 700; font-size: 15px;
    text-align: center; text-decoration: none;
}
.o_wms_landing .wl-mobilebar__wh { background: var(--wl-amber); color: var(--wl-ink); }
.o_wms_landing .wl-mobilebar__seller { background: var(--wl-teal); color: var(--wl-white); }
body.o_wms_landing { padding-bottom: 72px; }

/* apply form */
.wl-apply { max-width: 640px; }
.wl-form { display: grid; gap: 14px; }
.wl-field { display: grid; gap: 4px; }
.wl-field label { font-weight: 600; }
.wl-field input, .wl-field select {
    min-height: 46px; padding: 8px 12px; border: 1px solid #A9BDBD; border-radius: 10px;
    font: inherit; background: var(--wl-white); color: var(--wl-ink); width: 100%;
}
.wl-optional { font-weight: 400; color: var(--wl-muted); font-size: 14px; }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-alert { padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8A1C1C; white-space: pre-line; margin-bottom: 14px; }
.wl-qr { margin: 16px 0 24px; }
.wl-qr img { display: block; width: 200px; height: 200px; border: 1px solid var(--wl-line); border-radius: 12px; }
.o_wms_landing .wl-form .wl-btn { justify-self: start; }

@media (min-width: 768px) {
    .wl-mobilebar { display: none; }
    body.o_wms_landing { padding-bottom: 0; }
    .wl-grid--shots { grid-template-columns: 1.4fr .7fr 1.4fr; }
}

/* Beta launch: "Beta / 公测版" label on the warehouse sign-up CTA */
.wl-beta { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.5;
  background: #F2A900; color: #1B1B1B; vertical-align: middle; }

/* ---------- Legal pages (/legal/...) and legal footer links ---------- */
.wl-footer .wl-footer__inline { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 8px; }
.wl-legal { max-width: 820px; }
.wl-legal__crumbs { margin-bottom: 12px; color: var(--wl-muted); }
.wl-legal__note {
    margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--wl-tint);
    border-left: 4px solid var(--wl-teal); font-size: 15px;
}
.wl-legal__note a { margin-left: 6px; font-weight: 600; }
.wl-legal__note--draft { background: #FFF6DB; border-left-color: var(--wl-amber); font-weight: 600; }
.wl-legal__body { overflow-wrap: anywhere; }
.wl-legal__body h1 { font-size: 28px; line-height: 1.25; color: var(--wl-teal-dark); margin: 16px 0 8px; }
.wl-legal__body h2 { font-size: 21px; margin: 28px 0 8px; color: var(--wl-teal-dark); }
.wl-legal__body h3 { font-size: 18px; margin: 20px 0 6px; }
.wl-legal__body li { margin-bottom: 6px; }
.wl-legal__body blockquote {
    margin: 12px 0; padding: 8px 14px; border-left: 4px solid var(--wl-line); color: var(--wl-muted);
}
.wl-legal__table { overflow-x: auto; margin: 12px 0 16px; -webkit-overflow-scrolling: touch; }
.wl-legal__table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.wl-legal__table th, .wl-legal__table td {
    border: 1px solid var(--wl-line); padding: 8px 10px; text-align: left; vertical-align: top;
}
.wl-legal__table th { background: var(--wl-tint); }
.wl-legal__docs { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--wl-line); }
.wl-legal__docs .wl-footer__title { color: var(--wl-muted); }
.wl-legal__docs ul, .wl-legal__index { padding-left: 20px; }
.wl-legal__docs span[aria-current] { font-weight: 700; }
.wl-legal__index li { margin-bottom: 8px; font-size: 17px; }
