/* ============================================================================
   SMM AI STACK · GENERAL LANDING PAGE  (events.metal.com/ai-stack)
   Design register: premium editorial — crimson + gold + warm cream
   · 2 type families  — serif display, sans body
   · palette          — ink / ink-meta / crimson / crimson-deep / gold / cream
   · grid             — 12-col container, 50/50 or 1.5:1 feature splits
   ============================================================================ */

:root {
  --ink:          #1a1a1a;
  --ink-meta:     #5a5a5a;
  --ink-light:    #9a9a9a;
  --crimson:      #c41e2e;
  --crimson-deep: #9c1118;
  --crimson-soft: #fbe9ea;
  --gold:         #d9b878;
  --gold-deep:    #b08d45;
  --gold-pale:    #ecd9b0;
  --cream:        #f1ecdf;
  --cream-deep:   #ecdfcc;
  --paper:        #ffffff;
  --hair:         #d6d3cc;
  --crimson-grad:
    radial-gradient(ellipse at 100% 0%, rgba(255,160,90,0.18) 0%, rgba(255,160,90,0) 55%),
    linear-gradient(115deg, #7a1820 0%, #9c1118 48%, #b13728 100%);
  --shadow-card: 0 1px 2px rgba(26,16,8,.05), 0 10px 28px -12px rgba(26,16,8,.14);
  --shadow-lift: 0 2px 4px rgba(26,16,8,.06), 0 24px 48px -16px rgba(26,16,8,.22);
  --serif: "Source Serif 4","Source Serif Pro","Iowan Old Style","Cambria","Georgia","Source Han Serif SC","Noto Serif SC","Noto Serif CJK SC","Songti SC","STSong","SimSun",serif;
  --sans: "Inter","Helvetica Neue","Arial","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --mono: "JetBrains Mono","SF Mono","Consolas","Menlo",monospace;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--cream);
  line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson-deep); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 84px; }

/* ----------------------------------------------------------------------------
   Type
---------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
:lang(zh) .eyebrow { letter-spacing: 0.32em; }

.section-title {
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem);
  line-height: 1.12; letter-spacing: -0.015em; font-weight: 700;
  margin: 14px 0 10px;
}
.section-sub { color: var(--ink-meta); max-width: 62ch; font-size: 1.04rem; }

/* ----------------------------------------------------------------------------
   Buttons
---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 26px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 8px 20px -8px rgba(156,17,24,.5); }
.btn-primary:hover { background: var(--crimson-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(156,17,24,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: #7a1820; font-weight: 700; }
.btn-gold:hover { background: #e3c98f; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-pale); transform: translateY(-2px); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--crimson); color: var(--crimson-deep); transform: translateY(-2px); }

/* ----------------------------------------------------------------------------
   Header
---------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}
.site-header .row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { height: 30px; width: auto; }
.brand-rule { width: 1px; height: 26px; background: var(--hair); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.brand-name em { color: var(--crimson); font-style: normal; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav > a:not(.btn) {
  font-size: 14.5px; font-weight: 500; color: var(--ink-meta); text-decoration: none;
  transition: color .15s ease;
}
.nav > a:not(.btn):hover { color: var(--crimson-deep); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--hair); border-radius: 4px; overflow: hidden;
  font-size: 13px; font-weight: 600;
}
.lang-switch a, .lang-switch span { padding: 6px 12px; text-decoration: none; color: var(--ink-meta); }
.lang-switch span { background: var(--crimson); color: #fff; }
.lang-switch a:hover { color: var(--crimson-deep); background: var(--crimson-soft); }
.nav-cta-mobile { display: none; }
.nav-lang-mobile { display: none; }
.nav-burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--hair);
  border-radius: 4px; width: 44px; height: 44px; font-size: 19px; color: var(--ink);
  cursor: pointer;
}
.nav-drawer { display: none; }
.nav-drawer.open {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--hair); background: #fff; padding: 12px 24px 18px;
}
.nav-drawer.open > a:not(.btn) { padding: 10px 0; font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--hair); }
.nav-drawer.open .drawer-row { display: flex; gap: 14px; align-items: center; padding-top: 14px; }

/* ----------------------------------------------------------------------------
   Hero
---------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--crimson-grad); color: #fff;
  padding: clamp(64px, 9vw, 120px) 0 clamp(90px, 11vw, 150px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -220px;
  width: 640px; height: 640px; pointer-events: none;
  background: radial-gradient(circle, rgba(216,184,122,0.16) 0%, rgba(216,184,122,0) 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-pale); margin-bottom: 22px; display: inline-flex; align-items: baseline;
  flex-wrap: wrap; gap: 6px 10px;
}
:lang(zh) .hero-eyebrow { letter-spacing: 0.34em; }
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.022em; font-weight: 700;
}
.hero h1 .accent {
  display: block; color: var(--gold); font-style: italic; font-weight: 600;
  font-size: 0.62em; margin-top: 10px; letter-spacing: -0.01em;
}
:lang(zh) .hero h1 .accent { font-style: normal; }
.hero .lede {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: #f6ead6; max-width: 54ch; margin-top: 22px; line-height: 1.55;
}
:lang(zh) .hero .lede { font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-pillars { display: flex; flex-direction: column; gap: 12px; }
.hero-pillar {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.20);
  border-left: 3px solid var(--gold); border-radius: 4px;
  padding: 13px 18px; display: grid; grid-template-columns: 34px 1fr; gap: 14px;
  align-items: center; text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.hero-pillar:hover { background: rgba(255,255,255,0.13); transform: translateX(4px); border-left-color: #fff; }
.hp-num { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--gold); line-height: 1; text-align: center; }
.hp-verb { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-pale); }
:lang(zh) .hp-verb { letter-spacing: 0.3em; }
.hp-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff; line-height: 1.18; }
.hp-tag { font-size: 12.5px; color: rgba(255,255,255,0.88); line-height: 1.35; margin-top: 2px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 78px); z-index: 2; pointer-events: none; display: block; }

/* ----------------------------------------------------------------------------
   Trust strip
---------------------------------------------------------------------------- */
.trust-strip { margin-top: clamp(-58px, -4vw, -40px); position: relative; z-index: 3; }
.trust-card {
  background: var(--paper); border: 1px solid var(--hair); border-top: 4px solid var(--crimson);
  border-radius: 6px; box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item { padding: 26px 28px; border-left: 1px solid var(--hair); }
.trust-item:first-child { border-left: 0; }
.trust-v { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); color: var(--crimson); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.trust-l { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-meta); margin-top: 9px; line-height: 1.4; }
:lang(zh) .trust-l { letter-spacing: 0.16em; }

/* ----------------------------------------------------------------------------
   Sections
---------------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 110px) 0 0; }
.section:last-of-type { padding-bottom: clamp(64px, 8vw, 110px); }
.sec-head { display: flex; align-items: baseline; gap: 18px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head .section-title { margin: 10px 0 0; }
.sec-tagline { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-meta); white-space: nowrap; }
:lang(zh) .sec-tagline { font-style: normal; }
.sec-kicker { width: 100%; }

/* ----------------------------------------------------------------------------
   Metrix section
---------------------------------------------------------------------------- */
.metrix-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 26px; align-items: stretch; }
.metrix-left, .metrix-right { display: flex; flex-direction: column; gap: 26px; }

.chat-card {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 6px;
  box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column;
}
.chat-prompt {
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink);
  padding: 18px 22px 14px; border-bottom: 1px dotted var(--hair); line-height: 1.5;
}
:lang(zh) .chat-prompt { font-style: normal; }
.chat-prompt b { color: var(--crimson-deep); font-style: normal; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.chat-img { width: 100%; background: #fff; padding: 10px 14px; }
.chat-cap {
  font-size: 12px; color: var(--ink-meta); letter-spacing: 0.03em;
  padding: 12px 22px 16px; line-height: 1.5; border-top: 1px dotted var(--hair);
}
.chat-cap b { color: var(--crimson); }

.grounded {
  background: var(--cream-deep); border: 1px solid var(--hair); border-left: 4px solid var(--crimson);
  border-radius: 6px; padding: 22px 26px; flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.grounded-t { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--crimson-deep); line-height: 1.3; }
.grounded-d { font-size: 14.5px; color: var(--ink-meta); line-height: 1.55; }

.samples {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 6px;
  box-shadow: var(--shadow-card); padding: 22px 24px; flex: 1;
  display: flex; flex-direction: column;
}
.samples-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson-deep); margin-bottom: 8px; }
:lang(zh) .samples-lbl { letter-spacing: 0.24em; }
.samples-list { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.sample { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 11px 0; border-top: 1px dotted var(--hair); }
.sample:first-of-type { border-top: 0; }
.sample-role { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson-deep); display: flex; align-items: center; gap: 8px; }
:lang(zh) .sample-role { letter-spacing: 0.14em; font-size: 12.5px; }
.role-icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--crimson); stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sample-q { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); line-height: 1.45; }
:lang(zh) .sample-q { font-style: normal; font-family: var(--sans); font-size: 14.5px; }

.cta-band {
  background: var(--crimson-grad); color: #fff; border-radius: 6px;
  padding: 22px 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: 0 16px 32px -14px rgba(156,17,24,.45);
}
.cta-band-txt { flex: 1; min-width: 220px; }
.cta-band-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-pale); }
:lang(zh) .cta-band-kicker { letter-spacing: 0.26em; }
.cta-band-t { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-top: 4px; line-height: 1.25; }
.cta-band-url { font-family: var(--mono); font-size: 13px; color: var(--gold-pale); margin-top: 5px; }

/* ----------------------------------------------------------------------------
   MCP section
---------------------------------------------------------------------------- */
.mcp-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 26px; align-items: stretch; }
.flow {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 6px;
  box-shadow: var(--shadow-card); padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.flow-row { flex: 1; display: flex; align-items: center; gap: 10px; }
.flow-cap {
  border-top: 1px dotted var(--hair); padding-top: 14px;
  font-size: 13.5px; color: var(--ink-meta); line-height: 1.55;
}
.flow-cap b { color: var(--crimson-deep); font-weight: 700; }
.flow-node {
  flex: 1; align-self: stretch; padding: 22px 14px; text-align: center; border-radius: 4px;
  background: var(--cream); border: 1px solid var(--hair);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.flow-node.middle { background: var(--crimson-grad); border-color: var(--crimson-deep); color: #fff; }
.flow-icon { width: 30px; height: 30px; margin: 0 auto 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--crimson); }
.flow-node.middle .flow-icon { color: var(--gold); }
.flow-node-t { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.25; }
.flow-node-d { font-size: 12px; color: var(--ink-meta); line-height: 1.45; }
.flow-node.middle .flow-node-d { color: var(--gold-pale); }
.flow-arrow { display: flex; align-items: center; justify-content: center; width: 26px; align-self: center; color: var(--crimson); flex: 0 0 auto; }

.mcp-side { display: flex; flex-direction: column; gap: 26px; }
.mcp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.tile {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 6px;
  padding: 18px 20px; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tile-n { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--crimson); line-height: 1; }
.tile-t { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 8px 0 5px; line-height: 1.3; }
.tile-d { font-size: 13.5px; color: var(--ink-meta); line-height: 1.5; }

/* ----------------------------------------------------------------------------
   Reports section
---------------------------------------------------------------------------- */
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.report-card {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 6px;
  overflow: hidden; box-shadow: var(--shadow-card); text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.report-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.report-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d2137; }
.report-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s var(--ease); }
.report-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 92%); pointer-events: none; }
.report-card:hover .report-shot img { transform: scale(1.03); }
.report-ribbon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--gold); color: var(--crimson-deep);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
:lang(zh) .report-ribbon { letter-spacing: 0.2em; }
.report-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.report-meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson); }
:lang(zh) .report-meta { letter-spacing: 0.2em; }
.report-title { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.report-desc { font-size: 14px; color: var(--ink-meta); line-height: 1.55; flex: 1; }
.report-open { font-weight: 700; font-size: 14px; color: var(--crimson-deep); display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; }
.report-open::after { content: "→"; transition: transform .2s var(--ease); }
.report-card:hover .report-open::after { transform: translateX(4px); }
.reports-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-meta); display: flex; align-items: center; gap: 10px; }
.reports-note::before { content: ""; width: 18px; height: 2px; background: var(--gold); flex: 0 0 auto; }

/* ----------------------------------------------------------------------------
   Solutions
---------------------------------------------------------------------------- */
.sols-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sol {
  background: var(--paper); border: 1px solid var(--hair); border-top: 4px solid var(--crimson);
  border-radius: 6px; box-shadow: var(--shadow-card); padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sol:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.sol-head { display: flex; align-items: baseline; gap: 12px; }
.sol-n { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--crimson); line-height: 1; }
.sol-v { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.sol-p { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-meta); margin-top: 3px; }
:lang(zh) .sol-p { letter-spacing: 0.2em; }
.sol-d { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.sol-bullets { list-style: none; border-top: 1px dotted var(--hair); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.sol-bullets li { font-size: 13.5px; color: var(--ink-meta); padding-left: 16px; position: relative; line-height: 1.5; }
.sol-bullets li::before { content: "▸"; color: var(--crimson); position: absolute; left: 0; top: 0; font-size: 12px; }
.sol-bullets li b { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------------
   Contact band
---------------------------------------------------------------------------- */
.contact-band { margin-top: clamp(64px, 8vw, 110px); background: var(--crimson-grad); color: #fff; padding: clamp(56px, 7vw, 90px) 0; position: relative; overflow: hidden; }
.contact-band::after { content: ""; position: absolute; left: -160px; bottom: -260px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(216,184,122,0.13) 0%, rgba(216,184,122,0) 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.contact-band .eyebrow { color: var(--gold-pale); }
.contact-band h2 { color: #fff; text-wrap: balance; }
.contact-band .section-sub { color: #f3e6d2; }
.contact-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px; padding: 26px 28px; backdrop-filter: blur(6px);
}
.contact-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-pale); }
:lang(zh) .contact-lbl { letter-spacing: 0.26em; }
.contact-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-top: 8px; }
.contact-role { font-size: 13.5px; color: #f3e6d2; margin-top: 2px; }
.contact-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.contact-lines a { color: #fff; text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 10px; transition: color .15s ease; }
.contact-lines a:hover { color: var(--gold-pale); }
.contact-lines .icon { width: 18px; text-align: center; color: var(--gold); flex: 0 0 auto; }

/* ----------------------------------------------------------------------------
   Footer
---------------------------------------------------------------------------- */
.site-footer { background: var(--paper); border-top: 3px solid var(--crimson); padding: 38px 0 30px; }
.footer-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-logo { height: 34px; width: auto; }
.footer-tag { border-left: 1px solid var(--hair); padding-left: 22px; }
.footer-tag-line { font-size: 13.5px; color: var(--ink-meta); }
.footer-tag-line b { color: var(--ink); font-weight: 600; }
.footer-url { font-family: var(--mono); font-size: 13px; margin-top: 3px; }
.footer-url a { color: var(--crimson-deep); text-decoration: none; }
.footer-url a:hover { text-decoration: underline; }
.footer-spacer { flex: 1; }
.footer-links { display: flex; flex-wrap: wrap; row-gap: 8px; gap: 20px; font-size: 13.5px; }
.footer-links a { color: var(--ink-meta); text-decoration: none; }
.footer-links a:hover { color: var(--crimson-deep); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--ink-meta); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------------------
   Reveal on scroll
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------------
   Responsive
---------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .metrix-grid, .mcp-grid { grid-template-columns: 1fr; }
  .reports-grid, .sols-grid { grid-template-columns: 1fr 1fr; }
  .sec-tagline { margin-left: 0; white-space: normal; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .nav-burger { display: block; margin-left: 0; }
  .nav-cta-mobile { display: inline-flex; margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .nav-lang-mobile { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--ink-meta); text-decoration: none; padding: 12px 10px; }
  .site-header .row { gap: 12px; }
}
@media (max-width: 520px) {
  .brand-name, .brand-rule { display: none; }
  .brand { gap: 0; }
  .hero-eyebrow::before { display: none; }
  .trust-card { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--hair); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 640px) {
  .reports-grid, .sols-grid { grid-template-columns: 1fr; }
  .mcp-tiles { grid-template-columns: 1fr; }
  .sample { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .flow-row { flex-direction: column; }
  .flow-node { width: 100%; min-height: 0; }
  .flow-arrow { transform: rotate(90deg); width: auto; height: 26px; }
  .hero-actions .btn { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .trust-card { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 18px 18px; }
  .trust-v { white-space: normal; }
}

/* ----------------------------------------------------------------------------
   ZH display typography — CJK headings use bold sans (PingFang / YaHei);
   mixed serif-Latin + sans-CJK inside one heading reads broken, and Windows
   has no presentable bold CJK serif. The Latin hero wordmark keeps serif.
---------------------------------------------------------------------------- */
:lang(zh) .section-title, :lang(zh) .grounded-t, :lang(zh) .cta-band-t,
:lang(zh) .report-title, :lang(zh) .sol-v, :lang(zh) .contact-name,
:lang(zh) .tile-t, :lang(zh) .hp-name, :lang(zh) .trust-v,
:lang(zh) .hero h1 .accent, :lang(zh) .sec-tagline {
  font-family: var(--sans);
}
:lang(zh) .hero h1 .accent { font-weight: 700; }

/* compact hero pillars + tidy footer on small screens */
@media (max-width: 640px) {
  .hero-pillar { padding: 10px 14px; }
  .hp-tag { display: none !important; }
  .hp-name { font-size: 16px; }
  .footer-tag { border-left: 0; padding-left: 0; }
}

/* tap-to-copy email */
.copy-email {
  background: none; border: 1px solid rgba(255,255,255,.35); color: var(--gold-pale);
  font-size: 11.5px; font-weight: 600; border-radius: 3px; padding: 3px 8px; margin-left: 10px;
  cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.copy-email:hover { border-color: var(--gold); color: #fff; }

/* ----------------------------------------------------------------------------
   Enquiry form modal (shared feedback backend, source=ai-stack)
---------------------------------------------------------------------------- */
.fb-backdrop[hidden] { display: none; }
.fb-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(26,16,8,.55);
  backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 18px 18px; overflow-y: auto;
}
.fb-modal {
  background: var(--paper); border-radius: 8px; width: 100%; max-width: 620px;
  box-shadow: 0 24px 64px -16px rgba(26,16,8,.4); border-top: 4px solid var(--crimson);
}
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px 0; }
.fb-head h3 { font-family: var(--serif); font-size: 1.4rem; }
:lang(zh) .fb-head h3 { font-family: var(--sans); }
.fb-close { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink-meta); cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.fb-close:hover { color: var(--crimson-deep); }
.fb-form, .fb-success { padding: 14px 26px 26px; }
.fb-row { margin-top: 14px; }
.fb-row label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fb-row .req { color: var(--crimson); margin-left: 3px; }
.fb-row input, .fb-row textarea {
  width: 100%; border: 1px solid var(--hair); border-radius: 4px; background: #fff;
  padding: 11px 12px; font-size: 15px; font-family: var(--sans); color: var(--ink);
}
.fb-row input:focus, .fb-row textarea:focus { outline: 2px solid var(--crimson); outline-offset: 0; border-color: var(--crimson); }
.fb-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--hair); border-radius: 999px; padding: 8px 14px;
  font-size: 13.5px; color: var(--ink-meta); background: #fff;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.fb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fb-chip.checked { border-color: var(--crimson); background: var(--crimson-soft); color: var(--crimson-deep); font-weight: 600; }
.fb-chip:hover { border-color: var(--crimson); }
.fb-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-captcha-q { font-family: var(--mono); font-size: 14px; color: var(--crimson-deep); background: var(--cream); border: 1px solid var(--hair); border-radius: 4px; padding: 9px 12px; }
.fb-captcha input { width: 110px; }
.fb-captcha-refresh { background: none; border: 1px solid var(--hair); border-radius: 4px; width: 38px; height: 38px; font-size: 16px; cursor: pointer; color: var(--ink-meta); }
.fb-captcha-refresh:hover { color: var(--crimson-deep); border-color: var(--crimson); }
.fb-honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.fb-error { margin-top: 14px; background: var(--crimson-soft); border: 1px solid #f0c1c4; color: var(--crimson-deep); border-radius: 4px; padding: 10px 14px; font-size: 14px; }
.fb-footer { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb-privacy { font-size: 12.5px; color: var(--ink-meta); }
.fb-success { text-align: center; padding-top: 26px; }
.fb-success .badge { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--crimson); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.fb-success h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
:lang(zh) .fb-success h4 { font-family: var(--sans); }
.fb-success p { color: var(--ink-meta); font-size: 14.5px; }
.fb-success .btn { margin-top: 18px; }
@media (max-width: 560px) {
  .fb-2col { grid-template-columns: 1fr; }
  .fb-backdrop { padding: 3vh 10px 10px; }
}
