/* LONGWELL Partner — 与 www.longwellfans.com 一致的设计变量 */
:root {
  --brand: #003E95;
  --brand-dark: #002a66;
  --brand-deep: #001c45;
  --accent: #EA6017;
  --accent-dark: #c94f10;
  --tint: #EEF5FC;
  --tint-2: #F7F7F7;
  --ink: #1f2933;
  --muted: #5f6b7a;
  --line: #E1E8ED;
  --ok: #1d7a46;
  --ok-bg: #e6f5ec;
  --warn: #9a5b00;
  --warn-bg: #fff4dc;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 40, 100, .08);
  --max: 1200px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--brand-deep); }
h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.3px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; font-family: inherit; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--tint); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: rgba(255,255,255,.1); }
.btn-link { background: none; border: 0; color: var(--brand); padding: 0; font-weight: 600; cursor: pointer; font: inherit; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--brand); color: #dfe9f7; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.logo img { width: 150px; height: auto; display: block; }
.logo .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--accent); border-left: 1px solid var(--line); padding-left: 12px; text-transform: uppercase; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a.active, .nav a:hover { color: var(--brand); text-decoration: none; }
.nav a.active { box-shadow: inset 0 -3px 0 var(--accent); padding-bottom: 4px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions form { margin: 0; }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 18px; padding-bottom: 6px; }
  .nav a { white-space: nowrap; font-size: 14px; }
  .header-actions { margin-left: auto; }
  .logo .tag { display: none; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .topbar { display: none; }
  .logo img { width: 104px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 7px 10px; font-size: 12.5px; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(234,96,23,.18), transparent 60%), linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 70%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { color: #d4e2f5; }
.hero .eyebrow { color: #ffb48a; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #eaf1fb; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 56px; } }

/* certificate preview card */
.cert-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.25); position: relative; border: 1px solid #f0e2d6; transform: rotate(1.5deg); }
.cert-card::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--brand); border-radius: 8px; pointer-events: none; opacity: .9; }
.cert-card::after { content: ""; position: absolute; inset: 15px; border: 1px solid var(--accent); border-radius: 6px; pointer-events: none; opacity: .6; }
.cert-inner { position: relative; padding: 18px 20px; text-align: center; }
.cert-inner img { width: 120px; }
.cert-title { font-size: 13px; letter-spacing: 3px; font-weight: 800; color: var(--brand); margin: 14px 0 4px; }
.cert-sub { font-size: 12px; color: var(--muted); }
.cert-name { font-family: Georgia, "Times New Roman", serif; font-size: 26px; color: var(--brand-deep); margin: 14px 0 6px; font-style: italic; }
.cert-meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; font-size: 11px; color: var(--muted); text-align: left; gap: 10px; }
.cert-meta b { display: block; color: var(--ink); font-size: 12px; }
.qr { width: 58px; height: 58px; flex: none; background:
  linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 0/12px 12px,
  linear-gradient(var(--ink) 50%, transparent 0) 0 0/12px 12px; opacity: .85; border: 4px solid #fff; outline: 1px solid var(--line); }
.seal-old { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; text-align: center; line-height: 1.1; letter-spacing: .5px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--accent); }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.tint { background: var(--tint); }
section.gray { background: var(--tint-2); }
.section-head { margin-bottom: 36px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } section.block { padding: 52px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.shadow { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.tint .icon { background: #fff; }
.card .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }

/* tiers */
.tier { display: flex; flex-direction: column; }
.tier .price { font-size: 26px; font-weight: 800; color: var(--brand-deep); margin: 6px 0 2px; }
.tier .price small { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--muted); }
.tier ul { padding-left: 18px; margin: 12px 0 18px; color: var(--muted); font-size: 15px; }
.tier ul li { margin-bottom: 6px; }
.tier .btn { margin-top: auto; }
.tier.featured { border: 2px solid var(--accent); position: relative; box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { list-style: none; position: relative; padding: 52px 16px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps li b { display: block; color: var(--brand-deep); margin-bottom: 4px; }
.steps li span { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; padding: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--brand); color: #fff; font-size: 14px; }
table.compare thead th.hl { background: var(--accent); }
table.compare tbody th { font-weight: 600; color: var(--brand-deep); width: 22%; background: #fbfcfe; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #a0aab5; }

/* regions */
.region { border-left: 4px solid var(--accent); }
.region .tagline { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; border-radius: 16px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cfdcf0; margin: 0; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--brand-deep); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding-bottom: 18px; color: var(--muted); }

/* page header */
.page-head { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; padding: 52px 0 46px; }
.page-head h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.page-head .lead { color: #d4e2f5; }
.crumbs { font-size: 13px; color: #b9cbe6; margin-bottom: 10px; }
.crumbs a { color: #fff; }

/* prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose li { margin-bottom: 6px; }

/* ---------- forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding: 40px 0 72px; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.form-card h1 { font-size: 28px; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.req::after { content: " *"; color: var(--accent); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9d3de; border-radius: 8px; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 62, 149, .15); }
textarea { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.code-input { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 700; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.err { color: var(--bad); font-size: 13px; margin-top: 5px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 15px; }
.alert-error { background: var(--bad-bg); color: var(--bad); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-info { background: var(--tint); color: var(--brand-deep); }

.choice-list { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid #c9d3de; border-radius: 8px; cursor: pointer; background: #fff; font-weight: 500 !important; margin: 0 !important; }
.choice:hover { border-color: var(--brand); }
.choice input { margin-top: 4px; accent-color: var(--brand); flex: none; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check input { margin-top: 5px; accent-color: var(--brand); flex: none; width: 16px; height: 16px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }

/* stepper */
.stepper { display: flex; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; flex-wrap: wrap; }
.stepper li { flex: 1 1 0; min-width: 0; font-size: 12px; line-height: 1.3; color: var(--muted); font-weight: 600; }
.stepper li::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 7px; }
.stepper li.done::before { background: var(--brand); }
.stepper li.current { color: var(--brand-deep); }
.stepper li.current::before { background: var(--accent); }
.stepper a { color: inherit; }
@media (max-width: 560px) { .stepper li { min-width: 0; font-size: 0; } .stepper li.current { font-size: 12px; flex-basis: 100%; order: 9; } }

/* side panel (VEVOR-style benefits panel) */
.side { position: sticky; top: 96px; display: grid; gap: 16px; }
.side .card { padding: 22px; }
.side h3 { font-size: 16px; }
.benefit { display: flex; gap: 12px; margin-bottom: 14px; }
.benefit:last-child { margin-bottom: 0; }
.benefit .icon { width: 36px; height: 36px; margin: 0; flex: none; }
.benefit .icon svg { width: 20px; height: 20px; }
.benefit b { display: block; font-size: 14px; color: var(--brand-deep); }
.benefit span { font-size: 13px; color: var(--muted); }
.fee-box { background: var(--brand-deep); color: #fff; border-radius: var(--radius); padding: 20px 22px; }
.fee-box .amt { font-size: 28px; font-weight: 800; }
.fee-box p { color: #cfdcf0; font-size: 13px; margin: 6px 0 0; }

/* summary */
dl.summary { display: grid; grid-template-columns: 220px 1fr; margin: 0 0 8px; border-top: 1px solid var(--line); }
dl.summary dt, dl.summary dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
dl.summary dt { color: var(--muted); padding-right: 12px; }
@media (max-width: 560px) { dl.summary { grid-template-columns: 1fr; } dl.summary dt { border-bottom: 0; padding-bottom: 0; } }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.summary-head h3 { margin: 0 0 8px; }

/* status pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--tint); color: var(--brand); }
.pill-mute { background: #eef0f3; color: var(--muted); }

/* verify */
.verify-box { max-width: 640px; margin: 0 auto; }
.verify-form { display: flex; gap: 10px; }
.verify-form input { flex: 1; text-transform: uppercase; }
@media (max-width: 520px) { .verify-form { flex-direction: column; } }
.result { margin-top: 24px; border-radius: 14px; padding: 26px; border: 2px solid var(--line); }
.result.valid { border-color: var(--ok); background: var(--ok-bg); }
.result.invalid { border-color: var(--bad); background: var(--bad-bg); }

/* portal / admin */
.dash { padding-top: 36px; padding-bottom: 72px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head h1 { font-size: 28px; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9d3de; }
.checklist li.done::before { background: var(--ok); border-color: var(--ok); }
.checklist li.now::before { border-color: var(--accent); background: radial-gradient(var(--accent) 40%, transparent 45%); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data th { background: #f4f7fb; color: var(--muted); font-weight: 600; font-size: 13px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.decision textarea { min-height: 80px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: #b9c8de; padding: 52px 0 24px; font-size: 14px; }
.site-footer a { color: #e3ecf8; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 6px; margin-bottom: 14px; }
.foot-logo img { width: 130px; display: block; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 第一批优化：照片、视频、证据条、CTA ---------- */
.hero.has-photo { background: linear-gradient(100deg, rgba(0,28,69,.96) 0%, rgba(0,62,149,.88) 52%, rgba(0,62,149,.55) 100%), url(/img/site/hero-testline.webp) center/cover no-repeat; }
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.proof div { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.proof div:last-child { border-right: 0; }
.proof b { display: block; font-size: 26px; color: var(--brand); line-height: 1.1; }
.proof span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .proof .wrap { grid-template-columns: repeat(3, 1fr); } .proof div:nth-child(3) { border-right: 0; } .proof div { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .proof .wrap { grid-template-columns: repeat(2, 1fr); } .proof div { border-right: 1px solid var(--line) !important; } .proof div:nth-child(2n) { border-right: 0 !important; } .proof b { font-size: 22px; } }

.products { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.products a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; color: var(--brand-deep); font-weight: 600; font-size: 14px; text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.products a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.products img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; display: block; margin: 0 auto 8px; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .products { grid-template-columns: repeat(2, 1fr); } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #dfe7f1; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.wide img { aspect-ratio: auto; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,20,50,.78)); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery figure.wide { grid-column: span 2; } }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video { border-radius: var(--radius); overflow: hidden; background: #0b1b33; }
.video button { all: unset; cursor: pointer; display: block; width: 100%; position: relative; aspect-ratio: 16/9; background-size: cover; background-position: center; }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(234,96,23,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/30px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.video button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video .vt { color: #e3ecf8; font-size: 14px; font-weight: 600; padding: 10px 12px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

.cta-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-trio .card { display: flex; flex-direction: column; }
.cta-trio .card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .cta-trio { grid-template-columns: 1fr; } }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.calc output { display: block; font-size: 30px; font-weight: 800; color: var(--brand-deep); }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* 手机端常驻底栏 */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,30,80,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta a { flex: 1; text-align: center; padding: 11px 6px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none !important; border: 1.5px solid var(--brand); color: var(--brand); }
  .mobile-cta a.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
  body.has-mobile-cta { padding-bottom: 68px; }
}

.cert-card .medal { position: absolute; right: 14px; top: -18px; width: 96px; height: 120px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); z-index: 2; }
@media (max-width: 520px) { .cert-card .medal { width: 72px; height: 90px; right: 8px; top: -14px; } }

/* 为什么做朗伟伙伴（AIOS-0729） */
.earn { border-top: 3px solid var(--accent); }
.trend { border-left: 4px solid var(--brand); }
.trend .tagline { font-size: 12.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
.trend sup a, .estimator sup a { font-weight: 700; text-decoration: none; }
table.compare td.rate { font-size: 24px; font-weight: 800; color: var(--accent); }
.rules { margin: 16px 0 0; padding-left: 18px; }
.rules li { margin-bottom: 4px; }
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.est-in .label { display: block; margin: 14px 0 6px; }
.est-in .label:first-child { margin-top: 0; }
.est-out { background: var(--tint); border-radius: var(--radius); padding: 20px 22px; }
.est-out .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.est-out .row[hidden] { display: none; }
.est-out .row span { color: var(--muted); font-size: 15px; }
.est-out output { font-size: 22px; font-weight: 800; color: var(--brand-deep); white-space: nowrap; }
.est-out .row.total { border-bottom: 0; padding-top: 14px; }
.est-out .row.total span { color: var(--ink); font-weight: 700; }
.est-out .row.total output { font-size: 30px; color: var(--ok); }
.sources { margin: 28px 0 0; padding-left: 18px; }
.sources li { margin-bottom: 4px; }
.sources li:target { background: var(--warn-bg); }
.earn-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.earn-band .big { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.1; display: block; margin-bottom: 6px; }
@media (max-width: 860px) { .estimator, .earn-band { grid-template-columns: 1fr; } }
/* 导航多了一项后，桌面窄屏不让按钮折行 */
.header-actions .btn, .header-actions .btn-link { white-space: nowrap; }
.logo { flex-shrink: 0; }
.site-header .logo .tag { display: none; } /* 顶栏已写 LONGWELL Partner Program；七个导航项时放不下 */
@media (max-width: 1340px) { .nav { gap: 18px; } }
/* desktop: "Find a partner" and "Verify" live in the top bar; phones and tablets keep them in the menu row */
@media (min-width: 1181px) { .nav .nav-util { display: none; } }
@media (max-width: 520px) { .est-out { padding: 16px; } .est-out output { font-size: 19px; } .est-out .row.total { flex-direction: column; align-items: flex-start; gap: 4px; } .est-out .row.total output { font-size: 28px; } }

/* ---------- factory, testing & certificates page ---------- */
section[id] { scroll-margin-top: 84px; }
.hero.proof-hero { background: linear-gradient(100deg, rgba(0,28,69,.95) 0%, rgba(0,62,149,.86) 55%, rgba(0,62,149,.5) 100%), url(/img/proof/assembly-floor.webp) center/cover no-repeat; }
.proof-hero h1 { max-width: 920px; }
.proof-hero .lead { max-width: 820px; }
.jump { background: #fff; border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; padding-top: 14px; padding-bottom: 14px; font-size: 14px; font-weight: 600; }
.checks .check { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.checks .check:hover { border-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; }
.checks .check b { color: var(--brand-deep); font-size: 17px; line-height: 1.35; }
.checks .check p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.checks .go { color: var(--accent); font-weight: 700; font-size: 14px; }
.gallery .zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery .zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery.photo-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.qc div { background: var(--tint); border-radius: var(--radius); padding: 16px 18px; }
.qc b { display: block; color: var(--brand-deep); margin-bottom: 4px; }
.qc span { font-size: 14.5px; color: var(--muted); }
.videos.v4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.iso-row { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 32px; }
.iso { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.iso .zoom { all: unset; display: block; cursor: zoom-in; }
.iso .zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.iso img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; }
.iso figcaption { padding: 10px 12px; font-size: 13px; }
.iso figcaption b { display: block; color: var(--brand-deep); font-size: 15px; }
.iso figcaption span { color: var(--muted); }
.iso-facts { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.iso-facts dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: 15px; }
.iso-facts dt { color: var(--muted); }
.iso-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.doc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.doc-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid #c9d6e6; background: #fff; color: var(--brand-deep); cursor: pointer; }
.doc-filter button span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.doc-filter button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.doc-filter button.on span { color: #cfe0f7; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.doc[hidden] { display: none; }
.doc-thumb { all: unset; display: block; cursor: zoom-in; background: #f3f6fa; border-bottom: 1px solid var(--line); }
.doc-thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.doc-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: top; }
.doc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: 14px; }
.doc-body h3 { font-size: 16px; margin: 0; }
.doc-body p { margin: 0; color: var(--muted); }
.doc-body .doc-meta { font-size: 12.5px; margin-top: auto; padding-top: 6px; }
.doc-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); }
.doc-open { font-weight: 700; font-size: 13.5px; }
.doc-note { margin-top: 24px; background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; }
.doc-note p { margin: 6px 0 8px; color: var(--ink); }
.offices { margin-bottom: 36px; }
.office { border-left: 4px solid var(--accent); }
.office .tagline { font-size: 12.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
.office h3 { font-size: 17px; }
.sub-head { font-size: 20px; margin: 0 0 14px; }
#global .gallery + .videos { margin-top: 20px; }
dialog.lightbox { border: 0; padding: 0; border-radius: 12px; max-width: min(94vw, 1100px); max-height: 94vh; background: #fff; overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(0, 15, 40, .82); }
dialog.lightbox img { display: block; max-width: min(94vw, 1100px); max-height: calc(94vh - 56px); width: auto; height: auto; margin: 0 auto; }
.lb-cap { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.lb-close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,20,50,.72); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 980px) {
  .qc, .videos.v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iso-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iso-facts { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .gallery.photo-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .qc, .videos.v4 { grid-template-columns: 1fr; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .doc-body { padding: 10px 12px 12px; font-size: 13px; }
  .doc-body p:not(.doc-meta) { display: none; }
  .iso-row { gap: 10px; }
  .iso figcaption { padding: 8px; font-size: 11.5px; }
  .iso figcaption b { font-size: 13px; }
  .iso figcaption span { display: none; }
  .iso-facts { padding: 18px; }
  .iso-facts dl { grid-template-columns: 1fr; gap: 0; }
  .iso-facts dd { margin-bottom: 8px; }
}

.cert-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cert-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cert-counts span { background: #fff; border: 1px solid #d3dfee; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }
.cert-counts b { color: var(--brand-deep); }
.cert-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert-thumbs a { display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--brand-deep); font-weight: 700; font-size: 13.5px; text-align: center; }
.cert-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; }
.cert-thumbs span { display: block; padding: 8px; }
@media (max-width: 900px) { .cert-band { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- widescreen: 27" monitors (1920 / 2560 wide) ----------
   Like amazon.com, the page grows with the screen instead of staying a 1200px column:
   wider content, more cards per row on very wide screens, section headings beside
   long content, while forms and body text keep a readable line length. */
@media (min-width: 1600px) {
  :root { --max: 1480px; }
  .wrap { padding: 0 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; }
  .form-shell { grid-template-columns: minmax(0, 1fr) 380px; max-width: 1320px; margin: 0 auto; }
  /* long-form pages: text column lines up with the page title instead of floating in the middle */
  .wrap.prose { max-width: var(--max); }
  .wrap.prose > * { max-width: 860px; }
  .wrap.prose.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; align-items: start; }
  .wrap.prose.faq-list > * { max-width: none; min-width: 0; }
  .faq-list details.faq { margin-bottom: 14px; }
}
@media (min-width: 1920px) {
  :root { --max: 1780px; }
  .wrap { padding: 0 40px; }
  section.block { padding: 88px 0; }
  .lead { font-size: 19px; max-width: 860px; }
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 600px; gap: 120px; }
  .split { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(0, 3fr); column-gap: 72px; align-items: start; }
  .split > .section-head { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 110px; margin-bottom: 0; }
  .split > :not(.section-head) { grid-column: 2; }
  .split > .section-head .lead { font-size: 18px; }
  .sources { columns: 2; column-gap: 48px; }
  .sources li { break-inside: avoid; }
  .verify-box { max-width: 760px; }
  .wrap.prose > * { max-width: 920px; }
  .form-shell { max-width: 1400px; }
  .products img { max-width: 140px; }
  .iso-row { grid-template-columns: repeat(3, minmax(0, 280px)) minmax(0, 1fr); gap: 24px; }
  .iso-facts { max-width: 820px; }
}
@media (min-width: 2400px) {
  :root { --max: 2340px; }
  .wrap { padding: 0 56px; }
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  .page-head h1 { font-size: 46px; }
  .page-head { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 640px; }
  .xl-6, .videos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .gallery.photo-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .videos.v4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products img { max-width: 160px; }
  .split { grid-template-columns: minmax(420px, 1fr) minmax(0, 3fr); column-gap: 96px; }
  .form-shell { grid-template-columns: minmax(0, 1fr) 420px; }
}
