/* =========================================================
   IBC 八方 — Front-end styles
   60% Navy #0F2C59 · 30% #F8FAFC / #FFFFFF · 10% CTA #FF6B00 / Safe #059669
   ========================================================= */
:root {
  --navy: #0F2C59;
  --navy-900: #0A1F40;
  --navy-700: #1A3D73;
  --navy-50: #EEF3FA;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --text: #0F172A;
  --body: #334155;
  --muted: #64748B;
  --cta: #FF6B00;
  --cta-d: #E05E00;
  --safe: #059669;
  --safe-d: #047857;
  --safe-50: #ECFDF5;
  --warn: #B45309;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 44, 89, .06), 0 8px 24px rgba(15, 44, 89, .08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 64, .18);
  --font: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
.lang-cn { --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--cta); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- icons ---- */
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; vertical-align: -3px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap; font-family: inherit; line-height: 1.2; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 0, .32); }
.btn-cta:hover { background: var(--cta-d); color: #fff; transform: translateY(-1px); }
.btn-safe { background: var(--safe); color: #fff; box-shadow: 0 6px 18px rgba(5, 150, 105, .28); }
.btn-safe:hover { background: var(--safe-d); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ---- top bar / header ---- */
.topbar { background: var(--navy-900); color: #CBD5E1; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; color: #CBD5E1; }
.tb-item .ic { color: #34D399; }
a.tb-item:hover { color: #fff; }
.tb-spacer { flex: 1; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; overflow: hidden; }
.lang-switch a { color: #CBD5E1; padding: 2px 10px; font-weight: 600; }
.lang-switch a.on { background: #fff; color: var(--navy); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.35rem; box-shadow: inset 0 -3px 0 var(--cta); }
.logo-text { font-size: 1.25rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.logo-text b { color: var(--navy); }
.logo-text small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.logo-light .logo-text, .logo-light .logo-text b { color: #fff; }
.logo-light .logo-text small { color: #94A3B8; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) { color: var(--text); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--navy); background: var(--navy-50); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }

.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 8px; }
.flash-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.flash-success { background: var(--safe-50); color: var(--safe-d); border: 1px solid #A7F3D0; }

/* ---- sections ---- */
.section { padding: 80px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: var(--bg); }
.section-navy { background: radial-gradient(1200px 400px at 85% -10%, rgba(255,107,0,.12), transparent), var(--navy); color: #CBD5E1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .sec-head p { color: #94A3B8; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: #A7F3D0; background: rgba(5,150,105,.18); border: 1px solid rgba(52,211,153,.35); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow-light { color: #A7F3D0; }

/* ---- hero ---- */
.hero { background: radial-gradient(900px 500px at 10% -20%, rgba(26,61,115,.9), transparent), linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, #143A70 100%); color: #CBD5E1; padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero-sub { font-size: 1.12rem; color: #CBD5E1; max-width: 560px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: var(--shadow-lg); margin-top: 28px; max-width: 600px; }
.hero-search select { flex: 1; min-width: 0; border: 0; background: var(--bg); border-radius: 8px; padding: 0 12px; font: inherit; color: var(--text); height: 46px; }
.dual-track { display: grid; gap: 16px; }
.track { display: block; background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow-lg); color: var(--body); transition: .2s; border-top: 5px solid var(--cta); }
.track:hover { transform: translateY(-3px); color: var(--body); }
.track-seller { border-top-color: var(--safe); }
.track-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); }
.track-seller .track-kicker { color: var(--safe); }
.track strong { display: block; font-size: 1.35rem; color: var(--text); margin: 4px 0 6px; }
.track p { color: var(--muted); margin-bottom: 16px; }

/* ---- stats ---- */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.stats-band-light { background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid > div { padding: 28px 12px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.stats-grid span { color: var(--muted); font-size: .9rem; }

/* ---- industries ---- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--body); transition: .2s; }
.ind-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.ind-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; margin-bottom: 6px; }
.ind-card strong { color: var(--text); font-size: 1.05rem; }
.ind-card small { color: var(--muted); flex: 1; }
.ind-count { color: var(--cta); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 4px; }

/* ---- listing cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; transition: .2s; position: relative; }
.lcard:hover { box-shadow: var(--shadow); border-color: #CBD5E1; }
.lcard.is-featured { border-color: #FED7AA; box-shadow: 0 0 0 1px #FED7AA; }
.lcard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ind-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-50); color: var(--navy); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.ind-tag-light { background: rgba(255,255,255,.12); color: #fff; }
.feat { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 800; color: var(--cta); }
.feat .ic { fill: var(--cta); }
.status { margin-left: auto; font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.st-active { background: var(--safe-50); color: var(--safe-d); }
.st-offer { background: #FFF7ED; color: #C2410C; }
.st-sold { background: #F1F5F9; color: var(--muted); }
.st-draft { background: #F1F5F9; color: var(--muted); }
.lcard-ref { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.lcard-title { font-size: 1.04rem; margin: 4px 0 12px; line-height: 1.45; min-height: 3em; }
.lcard-title a { color: var(--text); }
.lcard-title a:hover { color: var(--navy-700); }
.lcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 12px 14px; background: var(--bg); border-radius: 10px; margin-bottom: 12px; }
.lcard-price .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.lcard-price strong { font-size: 1.5rem; color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.neg { font-size: .72rem; font-weight: 700; color: var(--cta); border: 1px solid #FED7AA; padding: 1px 7px; border-radius: 5px; }
.lcard-metrics { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 0 0 12px; }
.lcard-metrics > div { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.lcard-metrics dt { color: var(--muted); flex: none; }
.lcard-metrics dd { margin: 0; color: var(--text); font-weight: 700; text-align: right; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-variant-numeric: tabular-nums; }
.lcard-metrics dd.hl { color: var(--safe-d); }
.lcard-conf { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--safe-d); background: var(--safe-50); padding: 7px 10px; border-radius: 8px; margin-bottom: 14px; font-weight: 600; }
.lcard-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-top: auto; }
.lcard-actions .btn { padding: 10px 12px; }
.lcard-actions .btn-block { grid-column: 1 / -1; }
.lcard-foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 12px; }
.lcard-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* ---- how it works ---- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-col { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; border-top: 5px solid var(--cta); }
.how-seller { border-top-color: var(--safe); }
.how-col h3 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 24px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.steps li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; color: var(--text); }
.steps span { color: var(--muted); font-size: .92rem; }

/* ---- success cases ---- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-grid-2 { grid-template-columns: repeat(2, 1fr); }
.case-card { background: #fff; border-radius: var(--radius); padding: 24px; color: var(--body); display: flex; flex-direction: column; box-shadow: var(--shadow); border: 1px solid var(--line); }
.case-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.case-done { display: inline-flex; align-items: center; gap: 4px; color: var(--safe-d); font-weight: 700; font-size: .8rem; }
.case-card h3 { color: var(--text); font-size: 1.08rem; }
.case-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bg); border-radius: 10px; padding: 12px; margin: 6px 0 14px; }
.case-kpis small { display: block; color: var(--muted); font-size: .74rem; }
.case-kpis strong { color: var(--navy); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.case-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .9rem; margin-bottom: 12px; color: var(--text); font-weight: 600; }
.case-parties small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.case-sum { font-size: .93rem; color: var(--body); flex: 1; }
.case-card blockquote { margin: 0; padding: 14px 16px; background: var(--navy-50); border-radius: 10px; color: var(--navy); font-weight: 600; font-size: .92rem; position: relative; }
.ic-q { width: 18px; height: 18px; color: var(--cta); display: block; margin-bottom: 4px; }

/* ---- trust ---- */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.trust-badges > div { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.trust-badges .ic { width: 28px; height: 28px; color: var(--safe); margin-bottom: 6px; }
.trust-badges b { color: var(--text); }
.trust-badges span { color: var(--muted); font-size: .9rem; }
.trust-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nda-panel { background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #CBD5E1; border-radius: 18px; padding: 32px; position: relative; overflow: hidden; }
.nda-panel h3 { color: #fff; font-size: 1.3rem; }
.nda-seal { width: 84px; height: 84px; border-radius: 50%; border: 2px dashed rgba(52,211,153,.6); display: grid; place-items: center; color: #34D399; position: relative; margin-bottom: 16px; }
.nda-seal .ic { width: 36px; height: 36px; }
.nda-seal span { position: absolute; bottom: -10px; background: var(--safe); color: #fff; font-weight: 800; font-size: .72rem; padding: 2px 10px; border-radius: 999px; letter-spacing: .1em; }
.nda-seal-lg { width: 120px; height: 120px; flex: none; }
.nda-seal-lg .ic { width: 52px; height: 52px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--safe); margin-top: 4px; }
.nda-panel .ticks .ic, .ticks-light .ic { color: #34D399; }
.team-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.team-panel h3 { font-size: 1.3rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.team-tags span { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-50); color: var(--navy); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.reg-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.reg-strip span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 800; color: var(--muted); font-size: .8rem; letter-spacing: .04em; }

/* ---- match / seller band ---- */
.match-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.match-box { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.match-box > p { color: var(--muted); }
.seller-cta-box { background: linear-gradient(160deg, #065F46, var(--safe)); color: #D1FAE5; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.seller-cta-box h2 { color: #fff; }
.seller-cta-box .ticks { margin: 8px 0 24px; }
.seller-cta-box .btn-safe { background: #fff; color: var(--safe-d); align-self: flex-start; }
.seller-cta-box .eyebrow { background: rgba(255,255,255,.15); align-self: flex-start; }

/* ---- forms ---- */
.lead-form .field { margin-bottom: 14px; }
.lead-form label { display: block; font-weight: 600; color: var(--text); font-size: .9rem; margin-bottom: 6px; }
.lead-form label em { color: var(--cta); font-style: normal; }
.lead-form input:not([type=checkbox]):not([type=radio]), .lead-form select, .lead-form textarea, .filter-bar input, .filter-bar select {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus, .filter-bar input:focus, .filter-bar select:focus { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(26,61,115,.12); }
.lead-form .is-invalid { border-color: #DC2626 !important; box-shadow: 0 0 0 4px rgba(220,38,38,.1) !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .86rem !important; color: var(--body) !important; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--safe); flex: none; }
.nda-check { background: var(--safe-50); border: 1px solid #A7F3D0; padding: 10px 12px; border-radius: 10px; margin: 6px 0 16px; }
.nda-check .ic { color: var(--safe); margin-right: 4px; }
.micro-proof { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: .8rem; color: var(--muted); }
.micro-proof li { display: inline-flex; align-items: center; gap: 5px; }
.micro-proof .ic { color: var(--safe); }

/* ---- FAQ ---- */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--text); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.4rem; color: var(--navy); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--body); }

/* ---- listings page ---- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #CBD5E1; padding: 48px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.page-hero p { max-width: 720px; margin: 0; }
.ind-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.ind-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.ind-tabs a small { background: var(--bg); color: var(--muted); border-radius: 999px; padding: 0 7px; font-weight: 700; }
.ind-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ind-tabs a.on small { background: rgba(255,255,255,.18); color: #fff; }
.filter-bar { display: grid; grid-template-columns: 1fr 200px 200px auto; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 14px; box-shadow: var(--shadow); }
.fb-search { position: relative; }
.fb-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.fb-search input { padding-left: 38px !important; }
.result-count { color: var(--muted); margin: 18px 0 14px; font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; background: var(--bg); border-radius: 18px; }
.empty .ic { width: 40px; height: 40px; color: var(--muted); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--safe-50); border: 1px solid #A7F3D0; border-radius: 16px; padding: 22px 26px; margin-top: 36px; }
.inline-cta strong { display: block; color: var(--text); font-size: 1.1rem; }
.inline-cta span { color: var(--muted); }

/* ---- detail ---- */
.detail-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #CBD5E1; padding: 32px 0 40px; }
.crumbs { font-size: .85rem; margin-bottom: 16px; color: #94A3B8; }
.crumbs a { color: #CBD5E1; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.detail-tags .status { margin-left: 0; }
.detail-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 900px; }
.detail-sum { max-width: 860px; font-size: 1.05rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: #94A3B8; }
.detail-meta b { color: #fff; }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.badge-nda { display: inline-flex; align-items: center; gap: 5px; background: rgba(5,150,105,.16); color: #34D399; border: 1px solid rgba(52,211,153,.35); padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.kpi-bar { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); margin-top: -64px; position: relative; z-index: 2; overflow: hidden; }
.kpi { padding: 18px 20px; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.kpi strong { display: block; color: var(--text); font-size: 1.05rem; margin-top: 2px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kpi strong.hl { color: var(--safe-d); }
.kpi-main { background: var(--navy-50); }
.kpi-main strong { font-size: clamp(1.2rem, 1.9vw, 1.5rem); color: var(--navy); white-space: nowrap; overflow-wrap: normal; }
.spec-block { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 20px; }
.spec-block h2 { font-size: 1.12rem; padding-bottom: 12px; border-bottom: 2px solid var(--navy); display: inline-block; margin-bottom: 14px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.spec > div { display: grid; grid-template-columns: 44% 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spec > div.wide { grid-column: 1 / -1; grid-template-columns: 22% 1fr; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.unit { color: var(--muted); font-weight: 500; font-size: .85em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--navy-50); color: var(--navy); padding: 3px 10px; border-radius: 6px; font-size: .84rem; font-weight: 600; }
.yes { color: var(--safe-d); display: inline-flex; align-items: center; gap: 4px; }
.no { color: var(--muted); }
.nda-lock { display: inline-flex; align-items: center; gap: 5px; color: var(--safe-d); background: var(--safe-50); padding: 2px 9px; border-radius: 6px; font-size: .82rem; }
.nda-note { display: flex; gap: 16px; background: var(--safe-50); border: 1px solid #A7F3D0; border-radius: 16px; padding: 20px 22px; margin-top: 20px; }
.nda-note > .ic { width: 28px; height: 28px; color: var(--safe); }
.nda-note b { color: var(--text); }
.nda-note p { margin: 4px 0 0; font-size: .92rem; }
.disclaimer-sm { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.detail-side { position: sticky; top: 92px; display: grid; gap: 16px; scroll-margin-top: 92px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.side-sub { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.unlock-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .88rem; }
.unlock-list li { display: flex; gap: 8px; color: var(--text); }
.unlock-list .ic { color: var(--safe); margin-top: 3px; }
.side-consult { display: flex; gap: 14px; align-items: flex-start; box-shadow: none; }
.consult-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.side-consult p { font-size: .88rem; color: var(--muted); margin: 2px 0 6px; }
.side-consult a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.side-quote p { font-weight: 600; color: var(--navy); }
.side-quote small { color: var(--muted); }
.mobile-sticky-cta { display: none; }

/* ---- sell page ---- */
.page-hero-sell { padding: 52px 0; }
.sell-hero { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.sell-hero p { font-size: 1.08rem; max-width: 640px; }
.sell-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.wizard-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); margin-top: -40px; position: relative; z-index: 2; }
.wizard-progress { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wizard-progress li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: .9rem; }
.wizard-progress span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-size: .85rem; flex: none; }
.wizard-progress li.on { color: var(--navy); }
.wizard-progress li.on span { background: var(--navy); border-color: var(--navy); color: #fff; }
.wizard-progress li.done span { background: var(--safe); border-color: var(--safe); color: #fff; }
.progress-bar { height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--safe)); transition: width .3s; }
.step { border: 0; padding: 0; margin: 0; display: none; }
.step.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 4px; padding: 0; }
.step-hint { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.chip-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chip-opt { margin: 0 !important; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--text); transition: .15s; }
.chip-opt span .ic { color: var(--navy); }
.chip-opt input:checked + span { border-color: var(--navy); background: var(--navy-50); box-shadow: 0 0 0 3px rgba(26,61,115,.12); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--navy-700); }
.chip-select.is-invalid span { border-color: #FCA5A5; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.nda-box { display: flex; gap: 16px; background: var(--safe-50); border: 1.5px solid #6EE7B7; border-radius: 14px; padding: 18px; margin-top: 8px; }
.nda-box-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--safe); color: #fff; display: grid; place-items: center; flex: none; }
.nda-box b { color: var(--text); }
.nda-box p { font-size: .88rem; margin: 4px 0 10px; }
.sell-side { display: grid; gap: 16px; }
.mini-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-timeline li { border-left: 3px solid var(--safe); padding-left: 12px; }
.mini-timeline b { display: block; color: var(--text); font-size: .95rem; }
.mini-timeline span { color: var(--muted); font-size: .85rem; }

/* ---- content pages (services) ---- */
.toc-band { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.toc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.toc-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 700; font-size: .93rem; background: var(--bg); transition: .15s; }
.toc-grid a:hover { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }
.toc-grid a span { font-size: .78rem; font-weight: 800; color: #fff; background: var(--navy); border-radius: 8px; padding: 3px 7px; font-variant-numeric: tabular-nums; }
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.page-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.page-side .ticks { margin-bottom: 16px; }
.side-email { text-align: center; color: var(--muted); font-size: .85rem; margin: 10px 0 0; word-break: break-all; }
.prose { counter-reset: sec; font-size: 1.02rem; color: var(--body); min-width: 0; }
.prose > p:first-child { font-size: 1.1rem; color: var(--text); }
.prose h2 { counter-increment: sec; position: relative; font-size: 1.35rem; margin: 40px 0 12px; padding: 14px 0 0 56px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.prose h2::before { content: counter(sec, decimal-leading-zero); position: absolute; left: 0; top: 14px; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff; font-size: .95rem; font-weight: 800; display: grid; place-items: center; box-shadow: inset 0 -3px 0 var(--cta); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--safe); border-bottom: 2.5px solid var(--safe); transform: rotate(-45deg); }
.prose ol li { margin-bottom: 6px; }
.prose blockquote { margin: 16px 0; padding: 14px 18px; background: var(--navy-50); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; color: var(--navy); font-weight: 600; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-indent-1 { padding-left: 3em; }
.prose .ql-indent-2 { padding-left: 6em; }

/* ---- cases page / CTA ---- */
.cta-split { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-split p { color: #94A3B8; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---- thanks ---- */
.thanks { text-align: center; }
.thanks-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--safe); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 10px 30px rgba(5,150,105,.35); }
.thanks-ic .ic { width: 42px; height: 42px; }
.thanks .lead { font-size: 1.1rem; color: var(--body); max-width: 640px; margin: 0 auto 28px; }
.steps-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin-bottom: 32px; }
.steps-inline li { padding: 16px 16px 16px 60px; background: var(--bg); border-radius: 12px; }
.steps-inline li::before { left: 16px; top: 16px; }
.steps-inline li::after { display: none; }

/* ---- footer ---- */
.site-footer { background: var(--navy-900); color: #94A3B8; padding: 60px 0 20px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #CBD5E1; }
.site-footer a:hover { color: #fff; }
.footer-about { margin: 16px 0; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .ic { margin-top: 4px; color: #34D399; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: #64748B; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float .ic { width: 28px; height: 28px; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .sell-grid, .page-grid { grid-template-columns: 1fr; }
  .detail-side, .page-side { position: static; }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav a:not(.btn) { padding: 8px 9px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .hero-in, .how-grid, .trust-split, .match-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .fb-search { grid-column: 1 / -1; }
  .kpi-bar { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .kpi { border-bottom: 1px solid var(--line); }
  .kpi-main { grid-column: 1 / -1; }
  .spec { grid-template-columns: 1fr; }
  .spec > div.wide { grid-template-columns: 44% 1fr; }
  .case-grid-2 { grid-template-columns: 1fr; }
  .cta-split, .inline-cta { flex-direction: column; align-items: flex-start; }
  .sell-hero .nda-seal-lg { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hide-sm { display: none !important; }
  .topbar-in { gap: 10px; }
  .topbar .tb-item:first-child { display: none; }
  .tb-item { white-space: nowrap; }
  .hero-search { flex-direction: column; }
  .hero-search select { height: 44px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ind-grid, .card-grid, .case-grid, .trust-badges, .footer-grid, .steps-inline { grid-template-columns: 1fr; }
  .toc-grid { gap: 8px; }
  .toc-grid a { padding: 9px 10px; font-size: .86rem; gap: 7px; }
  .prose h2 { padding-left: 50px; font-size: 1.2rem; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .field-row, .chip-select, .case-parties { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .wizard-card { padding: 20px; }
  .wizard-progress li { font-size: 0; gap: 0; justify-content: center; }
  .match-box, .seller-cta-box, .nda-panel, .team-panel, .how-col { padding: 22px; }
  .mobile-sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); z-index: 55; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .mobile-sticky-cta ~ .site-footer { padding-bottom: 80px; }
  .wa-float { bottom: 80px; }
  .step-nav .btn-lg { padding: 13px 16px; font-size: .95rem; white-space: normal; }
}
