/* ============================================================
   观思动 GUANSIDONG — Design System
   "经营驾驶舱 × 编辑级精致"
   Warm-paper editorial base · ink typography · dark cockpit moments
   观 teal · 思 indigo · 动 vermilion
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Paper / ink */
  --paper:      #F2EEE4;
  --paper-2:    #ECE6D8;
  --paper-3:    #E3DAC7;
  --ink:        #15222B;
  --ink-80:     #33424C;
  --ink-60:     #5C6970;
  --ink-40:     #8A949A;
  --line:       #D9D0BE;
  --line-2:     #C8BCA3;

  /* Brand accents — 观 / 思 / 动 */
  --guan:       #0E5F6B;   /* teal — 看得见 / clarity   */
  --guan-ink:   #0A454E;
  --guan-soft:  rgba(14, 95, 107, .10);
  --si:         #4B4193;   /* indigo — 想得清 / thinking */
  --si-soft:    rgba(75, 65, 147, .10);
  --dong:       #C5511F;   /* vermilion — 动得快 / action */
  --dong-ink:   #A23F14;
  --dong-soft:  rgba(197, 81, 31, .10);

  /* Dark cockpit */
  --cockpit:    #0A1820;
  --cockpit-2:  #0E222A;
  --cockpit-3:  #143038;
  --cockpit-line: rgba(120, 205, 200, .14);
  --on-dark:    #E8EDE9;
  --on-dark-60: rgba(232, 237, 233, .60);
  --on-dark-40: rgba(232, 237, 233, .40);
  --glow:       #57D6C5;   /* data glow (观 on dark) */
  --glow-si:    #9C8CF2;   /* 思 on dark */
  --glow-dong:  #F2945A;   /* 动 on dark */

  /* Type */
  --f-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --f-body:    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --f-latin:   "Fraunces", Georgia, "Times New Roman", serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Metrics */
  --maxw: 1208px;
  --pad:  clamp(20px, 5vw, 64px);
  --r:    4px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 0 rgba(21, 34, 43, .04), 0 2px 8px rgba(21, 34, 43, .04);
  --shadow:    0 18px 50px -24px rgba(21, 34, 43, .35);
  --shadow-dark: 0 40px 80px -32px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(14, 95, 107, .07), transparent 60%),
    radial-gradient(760px 460px at -6% 8%, rgba(197, 81, 31, .05), transparent 55%);
  line-height: 1.72;
  font-size: 16.5px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--dong); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--guan-ink);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--guan);
  display: inline-block;
}
.eyebrow--ondark { color: var(--glow); }
.eyebrow--ondark::before { background: var(--glow); }

.h-display {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.01em;
  font-size: clamp(34px, 5.6vw, 62px);
}
.h1 { font-family: var(--f-display); font-weight: 700; line-height: 1.18; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.01em; }
.h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.24; font-size: clamp(25px, 3.2vw, 38px); letter-spacing: -.005em; }
.h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.34; font-size: clamp(18px, 1.8vw, 22px); }
.lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-80); line-height: 1.74; }
.muted { color: var(--ink-60); }
.mono { font-family: var(--f-mono); }
.latin { font-family: var(--f-latin); font-style: italic; }

.section-head { max-width: 720px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 13px 22px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--dong); color: #fff; box-shadow: 0 10px 26px -12px rgba(197, 81, 31, .8); }
.btn--primary:hover { background: var(--dong-ink); transform: translateY(-2px); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #0c161d; transform: translateY(-2px); }

.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--ondark { border: 1px solid rgba(232,237,233,.26); color: var(--on-dark); }
.btn--ondark:hover { border-color: var(--glow); color: var(--glow); }

.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 238, 228, .72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(242, 238, 228, .9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark { font-family: var(--f-display); font-weight: 900; font-size: 23px; letter-spacing: .04em; color: var(--ink); }
.brand__mark b { color: var(--dong); font-weight: 900; }
.brand__tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--ink-40); text-transform: none; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14.5px; color: var(--ink-80); transition: color .25s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--dong); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); align-items: center; justify-content: center; }
.nav__toggle span { width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin-top: 22px;
}
.hero h1 .verb { position: relative; white-space: nowrap; }
.hero h1 .verb--guan { color: var(--guan); }
.hero h1 .verb--si   { color: var(--si); }
.hero h1 .verb--dong { color: var(--dong); }
.hero h1 .verb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; border-radius: 2px;
  background: currentColor; opacity: .18;
}
.hero__sub { margin-top: 24px; font-size: clamp(16px, 1.45vw, 18.5px); color: var(--ink-80); line-height: 1.78; max-width: 540px; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 38px; display: flex; flex-direction: column; gap: 10px; }
.hero__trust .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); }
.hero__logos { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center; }
.logo-chip {
  font-size: 13px; color: var(--ink-80); padding: 6px 11px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.4); white-space: nowrap;
}

/* hero animated entrances */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; } .d6 { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Cockpit mockup (hero right) ---------- */
.cockpit {
  position: relative;
  background:
    radial-gradient(120% 100% at 100% 0%, var(--cockpit-3), transparent 55%),
    linear-gradient(160deg, var(--cockpit-2), var(--cockpit));
  border: 1px solid rgba(120,205,200,.16);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-dark);
  color: var(--on-dark);
  overflow: hidden;
}
.cockpit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--cockpit-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--cockpit-line) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000, transparent 75%);
          mask-image: radial-gradient(120% 90% at 80% 0%, #000, transparent 75%);
}
.cockpit__bar { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.cockpit__title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-60); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgba(87,214,197,.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(87,214,197,.55);} 70%{ box-shadow: 0 0 0 8px rgba(87,214,197,0);} 100%{ box-shadow:0 0 0 0 rgba(87,214,197,0);} }
.cockpit__date { font-family: var(--f-mono); font-size: 11px; color: var(--on-dark-40); }

.cockpit__tag { position: relative; z-index: 1; margin-top: 4px; }
.cockpit__tag .stage { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--glow); }

.tiles { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tile {
  border: 1px solid rgba(232,237,233,.1);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255,255,255,.02);
}
.tile__label { font-size: 11.5px; color: var(--on-dark-60); display: flex; align-items: center; justify-content: space-between; }
.tile__delta { font-family: var(--f-mono); font-size: 10.5px; padding: 1px 5px; border-radius: 3px; }
.tile__delta.up { color: #7ee0b6; background: rgba(126,224,182,.1); }
.tile__delta.down { color: var(--glow-dong); background: rgba(242,148,90,.12); }
.tile__value { font-family: var(--f-mono); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); margin-top: 8px; letter-spacing: -.01em; }
.tile__value .u { font-size: .6em; color: var(--on-dark-60); margin-left: 3px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 10px; }
.spark i { flex: 1; background: linear-gradient(var(--glow), rgba(87,214,197,.25)); border-radius: 1.5px; opacity: .85; transform-origin: bottom; animation: sparkgrow .8s var(--ease) backwards; }
@keyframes sparkgrow { from { transform: scaleY(.15); opacity: .2; } }

.alert {
  position: relative; z-index: 1; margin-top: 12px;
  display: flex; align-items: flex-start; gap: 11px;
  border: 1px solid rgba(242,148,90,.35);
  background: rgba(242,148,90,.08);
  border-radius: 8px; padding: 12px 13px;
}
.alert__icon { width: 26px; height: 26px; flex: none; border-radius: 6px; background: rgba(242,148,90,.16); color: var(--glow-dong); display: grid; place-items: center; font-size: 14px; }
.alert__txt { font-size: 12.5px; line-height: 1.5; color: var(--on-dark); }
.alert__txt b { color: var(--glow-dong); }

.push {
  position: relative; z-index: 1; margin-top: 10px;
  display: flex; align-items: center; gap: 11px;
  border: 1px solid rgba(232,237,233,.12);
  border-radius: 8px; padding: 11px 13px;
  background: rgba(255,255,255,.03);
}
.push__app { width: 26px; height: 26px; flex: none; border-radius: 6px; background: #2b7fff; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-family: var(--f-mono); }
.push__txt { font-size: 12px; color: var(--on-dark-60); line-height: 1.45; }
.push__txt b { color: var(--on-dark); font-weight: 600; }
.push__time { margin-left: auto; font-family: var(--f-mono); font-size: 10px; color: var(--on-dark-40); }

/* tiny flow tags above cockpit corners */
.flowtag { position: absolute; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-80); box-shadow: var(--shadow-sm); }

/* ============================================================
   PROBLEM
   ============================================================ */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--line); }
.prob {
  padding: 30px 26px 34px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background-color .3s;
}
.prob:nth-child(4n) { border-right: 0; }
.prob:hover { background: rgba(255,255,255,.5); }
.prob__idx { font-family: var(--f-mono); font-size: 12px; color: var(--dong); letter-spacing: .1em; }
.prob__title { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-top: 18px; line-height: 1.4; }
.prob__body { margin-top: 12px; font-size: 14.5px; color: var(--ink-60); line-height: 1.7; }

/* ============================================================
   观思动 LOOP  (dark centerpiece)
   ============================================================ */
.loop {
  position: relative; z-index: 1;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(14,95,107,.25), transparent 55%),
    radial-gradient(700px 500px at 95% 100%, rgba(197,81,31,.16), transparent 55%),
    var(--cockpit);
  color: var(--on-dark);
  border-block: 1px solid var(--cockpit-3);
}
.loop::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.6;
  background-image: linear-gradient(var(--cockpit-line) 1px, transparent 1px), linear-gradient(90deg, var(--cockpit-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 80%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 80%);
}
.loop .wrap { position: relative; z-index: 1; }
.loop .h2 { color: var(--on-dark); }
.loop .section-head .lead { color: var(--on-dark-60); }

.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; counter-reset: act; }
.act { position: relative; padding: 28px 24px 26px; border: 1px solid rgba(232,237,233,.1); border-radius: var(--r-lg); background: rgba(255,255,255,.018); transition: transform .4s var(--ease), border-color .4s; }
.act:hover { transform: translateY(-5px); }
.act--guan:hover { border-color: rgba(87,214,197,.4); }
.act--si:hover   { border-color: rgba(156,140,242,.4); }
.act--dong:hover { border-color: rgba(242,148,90,.4); }
.act__char { font-family: var(--f-display); font-weight: 900; font-size: 60px; line-height: 1; }
.act--guan .act__char { color: var(--glow); }
.act--si   .act__char { color: var(--glow-si); }
.act--dong .act__char { color: var(--glow-dong); }
.act__slogan { font-family: var(--f-display); font-weight: 600; font-size: 23px; margin-top: 14px; }
.act__claim { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-60); line-height: 1.7; }
.act__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.act__list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--on-dark); line-height: 1.55; }
.act__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }
.act--guan .act__list li::before { background: var(--glow); }
.act--si   .act__list li::before { background: var(--glow-si); }
.act--dong .act__list li::before { background: var(--glow-dong); }
.act__scene { margin-top: 20px; padding: 12px 14px; border-left: 2px solid; border-radius: 0 6px 6px 0; font-size: 12.5px; line-height: 1.6; font-family: var(--f-mono); }
.act--guan .act__scene { border-color: var(--glow); background: rgba(87,214,197,.06); color: var(--on-dark-60); }
.act--si   .act__scene { border-color: var(--glow-si); background: rgba(156,140,242,.06); color: var(--on-dark-60); }
.act--dong .act__scene { border-color: var(--glow-dong); background: rgba(242,148,90,.06); color: var(--on-dark-60); }

.act__step { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-40); }

.loop__closure { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--on-dark-40); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; }
.loop__closure .ln { height: 1px; width: clamp(40px, 12vw, 130px); background: linear-gradient(90deg, transparent, var(--glow), transparent); }

/* ============================================================
   TEMPLATES
   ============================================================ */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.tpl {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.45);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.tpl:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tpl__visual { height: 150px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.tpl__visual--guan { background: linear-gradient(135deg, #0E5F6B, #0a454e); }
.tpl__visual--si   { background: linear-gradient(135deg, #4B4193, #342c6e); }
.tpl__visual--dong { background: linear-gradient(135deg, #C5511F, #973410); }
/* mini UI preview — a small "app window" floating on the band (replaces the old single-char glyph) */
.tpl__visual .mock { position: relative; z-index: 1; width: 84%; max-width: 248px; padding: 9px 10px 11px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.17); box-shadow: 0 8px 20px -12px rgba(0,0,0,.55); }
.tpl__visual .mock i, .tpl__visual .mock span, .tpl__visual .mock b { display: block; }
.tpl__visual .mock svg { display: block; width: 100%; height: auto; }
.tpl__visual .mock .ax { stroke: rgba(255,255,255,.3); stroke-width: 1; }
/* shared window header: a title + a small status tag */
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock__title { height: 5px; width: 40%; border-radius: 3px; background: rgba(255,255,255,.6); }
.mock__tag { height: 13px; width: 30px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.mock__tag--alert { background: rgba(255,194,75,.22); border-color: rgba(255,194,75,.6); }
/* card 1 — 经营驾驶舱: KPI tiles + bar/trend chart */
.mock--dash .mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.mock--dash .kpi { position: relative; padding: 6px; border-radius: 5px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.mock--dash .kpi__lbl { width: 68%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); }
.mock--dash .kpi__val { width: 50%; height: 6px; margin-top: 5px; border-radius: 2px; background: rgba(255,255,255,.9); }
.mock--dash .kpi__up { position: absolute; top: 6px; right: 6px; width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 5px solid #FFC24B; }
.mock--dash .mock__chart { margin-top: 9px; }
.mock--dash .bar { fill: rgba(255,255,255,.42); }
.mock--dash .bar--hi { fill: rgba(255,255,255,.92); }
.mock--dash .trend { fill: none; stroke: #FFC24B; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.mock--dash .trend-dot { fill: #FFC24B; }
/* card 2 — 库存预警看板: stock rows with a safety-line gauge */
.mock--list .mock__tbl { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.mock--list .row { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 5px; background: rgba(255,255,255,.07); }
.mock--list .row .sku { flex: none; width: 22%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); }
.mock--list .row .gauge { position: relative; flex: 1; height: 7px; border-radius: 4px; background: rgba(255,255,255,.14); }
.mock--list .row .fill { height: 100%; border-radius: 4px; background: rgba(255,255,255,.6); }
.mock--list .row .safe { position: absolute; top: -2px; bottom: -2px; left: 50%; width: 1.5px; border-radius: 1px; background: rgba(255,255,255,.85); }
.mock--list .row .st { flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.mock--list .row:nth-child(1) .fill { width: 72%; }
.mock--list .row:nth-child(2) .fill { width: 26%; }
.mock--list .row:nth-child(3) .fill { width: 60%; }
.mock--list .row:nth-child(4) .fill { width: 44%; }
.mock--list .row--low { background: rgba(255,194,75,.15); box-shadow: inset 0 0 0 1px rgba(255,194,75,.5); }
.mock--list .row--low .fill { background: #FFC24B; }
.mock--list .row--low .st { background: #FFC24B; box-shadow: 0 0 0 2.5px rgba(255,194,75,.22); }
/* card 3 — 应收账款跟进: aging bar chart + legend */
.mock--aging .mock__chart { margin-top: 9px; }
.mock--aging .bar { fill: rgba(255,255,255,.5); }
.mock--aging .bar--over { fill: #FFC24B; }
.mock--aging .tick { fill: rgba(255,255,255,.35); }
.mock--aging .tick--over { fill: rgba(255,194,75,.7); }
.mock--aging .mock__legend { display: flex; gap: 16px; margin-top: 10px; }
.mock--aging .lg { display: flex; align-items: center; gap: 5px; }
.mock--aging .lg::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.55); }
.mock--aging .lg::after { content: ""; width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); }
.mock--aging .lg--over::before { background: #FFC24B; }
.tpl__visual .grid-bg { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.tpl__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tpl__name { font-family: var(--f-display); font-weight: 700; font-size: 21px; }
.tpl__value { margin-top: 8px; color: var(--dong-ink); font-size: 14px; font-weight: 500; }
.tpl__desc { margin-top: 14px; color: var(--ink-60); font-size: 14px; line-height: 1.7; flex: 1; }
.tpl__foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.chip-day { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--guan-ink); background: var(--guan-soft); padding: 5px 9px; border-radius: 999px; }
.tpl__link { font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.tpl__link .arrow { transition: transform .3s var(--ease); }
.tpl:hover .tpl__link .arrow { transform: translateX(4px); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; position: relative; }
.step { padding: 0 22px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 19px; right: 0; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); transform: translateX(50%); z-index: 0; }
.step__n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: 15px; color: var(--ink); position: relative; z-index: 1; }
.step__title { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-top: 20px; }
.step__body { margin-top: 10px; font-size: 14px; color: var(--ink-60); line-height: 1.68; }
.steps-note { margin-top: 40px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--guan-ink); background: var(--guan-soft); border: 1px solid rgba(14,95,107,.18); padding: 12px 18px; border-radius: var(--r); }
.steps-note b { font-weight: 600; }

/* ============================================================
   TRUST
   ============================================================ */
.trust { background: var(--paper-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.trust-card { padding: 24px 18px; }
.trust-card__ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.6); }
.trust-card__ic svg { width: 20px; height: 20px; }
.trust-card__title { font-family: var(--f-display); font-weight: 600; font-size: 16.5px; margin-top: 18px; line-height: 1.4; }
.trust-card__body { margin-top: 10px; font-size: 13.5px; color: var(--ink-60); line-height: 1.66; }

/* ============================================================
   ROLES (tabs)
   ============================================================ */
.roles__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.role-tab {
  padding: 12px 20px; font-size: 15px; color: var(--ink-60); position: relative; border-radius: var(--r) var(--r) 0 0;
  display: inline-flex; align-items: center; gap: 8px; transition: color .25s;
}
.role-tab .ic { font-size: 17px; }
.role-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--dong); transform: scaleX(0); transition: transform .3s var(--ease); }
.role-tab:hover { color: var(--ink); }
.role-tab.is-active { color: var(--ink); font-weight: 500; }
.role-tab.is-active::after { transform: scaleX(1); }

.role-panel { display: none; padding-top: 40px; }
.role-panel.is-active { display: block; animation: fadeup .5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } }
.role-panel__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.role-panel__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); }
.role-panel__persona { color: var(--ink-60); font-size: 15px; font-style: italic; font-family: var(--f-latin); }
.role-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.role-col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: rgba(255,255,255,.4); }
.role-col__k { font-family: var(--f-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 9px; }
.role-col__k .dot { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); }
.role-col--guan .dot { background: var(--guan); } .role-col--guan .role-col__k { color: var(--guan-ink); }
.role-col--si   .dot { background: var(--si); }   .role-col--si .role-col__k { color: var(--si); }
.role-col--dong .dot { background: var(--dong); } .role-col--dong .role-col__k { color: var(--dong-ink); }
.role-col__sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-40); margin-top: 4px; text-transform: uppercase; }
.role-col__txt { margin-top: 14px; font-size: 14.5px; color: var(--ink-80); line-height: 1.72; }

/* ============================================================
   PARTNER band
   ============================================================ */
.partner { position: relative; z-index: 1; }
.partner__box {
  background: linear-gradient(135deg, var(--ink), #0c1c25);
  color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.partner__box::before { content:""; position:absolute; inset:0; opacity:.5; background-image: linear-gradient(var(--cockpit-line) 1px, transparent 1px), linear-gradient(90deg, var(--cockpit-line) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(100% 100% at 100% 0, #000, transparent 70%); mask-image: radial-gradient(100% 100% at 100% 0, #000, transparent 70%); }
.partner__box > * { position: relative; z-index: 1; }
.partner__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--glow); text-transform: uppercase; }
.partner__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); margin-top: 14px; line-height: 1.34; }
.partner__title em { font-style: normal; color: var(--glow-dong); }
.partner__body { margin-top: 14px; color: var(--on-dark-60); font-size: 15px; line-height: 1.74; }
.partner__metric { text-align: center; border-left: 1px solid rgba(232,237,233,.14); padding-left: 32px; }
.partner__metric .from { font-family: var(--f-mono); font-size: 14px; color: var(--on-dark-40); text-decoration: line-through; }
.partner__metric .arrow-d { font-size: 22px; color: var(--glow); margin: 6px 0; }
.partner__metric .to { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 52px); color: var(--on-dark); line-height: 1; }
.partner__metric .to b { color: var(--glow); }
.partner__metric .cap { font-size: 12.5px; color: var(--on-dark-60); margin-top: 10px; }
.partner__metric .btn { margin-top: 20px; }

/* ============================================================
   SEED / CTA
   ============================================================ */
.seed { text-align: center; }
.ribbon { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--dong-ink); text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.ribbon .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--dong); animation: live 2s infinite; }
.seed .h2 { margin-top: 16px; }
.seed .lead { margin: 16px auto 28px; max-width: 560px; }

.cta-final { position: relative; z-index: 1; text-align: center; padding-block: clamp(72px, 10vw, 128px); }
.cta-final .h-display { max-width: 720px; margin-inline: auto; }
.cta-final .lead { max-width: 540px; margin: 20px auto 0; }
.cta-final__row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta-final__wx { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-60); }
.cta-final__wx .qr { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; font-size: 9px; color: var(--ink-40); font-family: var(--f-mono); text-align: center; line-height: 1.1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cockpit); color: var(--on-dark-60); position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 84px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__brand .brand__mark { color: var(--on-dark); }
.footer__brand .brand__mark b { color: var(--glow-dong); }
.footer__slogan { font-family: var(--f-display); font-size: 18px; color: var(--on-dark); margin-top: 18px; line-height: 1.5; }
.footer__desc { margin-top: 14px; font-size: 13px; color: var(--on-dark-40); line-height: 1.7; max-width: 300px; }
.footer__col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-40); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--on-dark-60); padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--glow); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(232,237,233,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--on-dark-40); font-family: var(--f-mono); }
.footer__bottom a { color: var(--on-dark-40); }
.footer__bottom a:hover { color: var(--glow); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cockpit { max-width: 520px; }
  .prob-grid { grid-template-columns: repeat(2, 1fr); }
  .prob:nth-child(4n) { border-right: 1px solid var(--line); }
  .prob:nth-child(2n) { border-right: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .acts { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tpl-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .step:nth-child(2)::after, .step:last-child::after { display: none; }
  .role-cols { grid-template-columns: 1fr; }
  .partner__box { grid-template-columns: 1fr; }
  .partner__metric { border-left: 0; border-top: 1px solid rgba(232,237,233,.14); padding-left: 0; padding-top: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 70px 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px var(--pad) 26px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 99; }
  .nav.is-open + .mobile-menu, .mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }
  .prob-grid { grid-template-columns: 1fr; }
  .prob { border-right: 0 !important; }
  .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px 0; }
  .step::after { display: none !important; }
  .roles__tabs { gap: 4px; }
  .role-tab { padding: 10px 13px; font-size: 14px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   APP BUILDER additions
   ============================================================ */

/* ---- Hero (builder, centered) ---- */
.hero--center { text-align: center; }
.hero__inner { max-width: 880px; margin-inline: auto; }
.hero--center .eyebrow { justify-content: center; }
.hero--center h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 20px; }
.hero--center .hero__sub { margin-inline: auto; max-width: 680px; }

/* Prompt input box */
.prompt {
  margin: 34px auto 0; max-width: 740px; text-align: left;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 16px 16px 13px; transition: border-color .3s, box-shadow .3s;
}
.prompt:focus-within { border-color: var(--guan); box-shadow: 0 0 0 4px var(--guan-soft), var(--shadow); }
.prompt__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.prompt__label .ai { width: 18px; height: 18px; border-radius: 5px; background: var(--si-soft); color: var(--si); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.prompt__field { width: 100%; border: 0; outline: 0; resize: none; font-family: var(--f-body); font-size: 16px; line-height: 1.72; color: var(--ink); background: transparent; min-height: 80px; }
.prompt__field::placeholder { color: var(--ink-40); }
.prompt__bar { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 12px; }
.prompt__hint { font-family: var(--f-mono); font-size: 11px; color: var(--ink-40); letter-spacing: .02em; }

/* example chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.chips__lbl { width: 100%; text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 2px; }
.chip { font-size: 13.5px; color: var(--ink-80); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: border-color .25s, color .25s, transform .25s, background-color .25s; }
.chip::before { content: "+ "; color: var(--ink-40); }
.chip:hover { border-color: var(--guan); color: var(--guan-ink); transform: translateY(-1px); background: #fff; }
.chip:hover::before { color: var(--guan); }

/* connectors-are-examples line */
.connect-line { margin-top: 28px; font-size: 13.5px; color: var(--ink-60); line-height: 1.7; }
.connect-line b { color: var(--ink-80); font-weight: 500; }
.connect-line .ex { color: var(--ink-40); }

/* ---- Clarification flow (demo centerpiece) ---- */
.flow { max-width: 768px; margin: 50px auto 0; }
.flow__step { position: relative; padding-left: 58px; padding-bottom: 28px; }
.flow__step::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: -8px; width: 2px; background: linear-gradient(var(--line-2), var(--line)); }
.flow__step:last-child::before { display: none; }
.fstep__n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: 14px; z-index: 1; }
.fstep__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }
.fstep__t { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-top: 3px; }

.bubble { border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-size: 15px; line-height: 1.66; }
.bubble .who { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; margin-bottom: 7px; display: flex; align-items: center; gap: 7px; }
.bubble--you { background: var(--ink); color: var(--paper); border-radius: 4px 12px 12px 12px; }
.bubble--you .who { color: rgba(242,238,228,.5); }
.bubble--agent { background: #fff; border: 1px solid var(--line); }
.bubble--agent .who { color: var(--si); }
.bubble--agent .who .ai { width: 18px; height: 18px; border-radius: 5px; background: var(--si-soft); color: var(--si); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

.clarify { margin-top: 16px; }
.clarify:first-of-type { margin-top: 4px; }
.clarify__q { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.clarify__hint { font-family: var(--f-mono); font-size: 11px; color: var(--ink-40); margin-left: 8px; font-weight: 400; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.qchip { font-size: 13.5px; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-80); display: inline-flex; align-items: center; gap: 7px; }
.qchip.is-on { border-color: var(--guan); background: var(--guan-soft); color: var(--guan-ink); font-weight: 500; }
.qchip.is-on::before { content: "✓"; font-size: 11px; color: var(--guan); font-weight: 700; }
.qfill { margin-top: 11px; font-size: 14.5px; color: var(--ink-80); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blank { border: 1px solid var(--guan); background: var(--guan-soft); color: var(--guan-ink); font-weight: 600; padding: 5px 12px; border-radius: 7px; font-family: var(--f-mono); font-size: 13px; }

/* spec card */
.spec { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.75); overflow: hidden; }
.spec__head { padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--guan-ink); background: var(--guan-soft); display: flex; align-items: center; gap: 8px; }
.spec__row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 11px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec__row .k { color: var(--ink-40); font-family: var(--f-mono); font-size: 12px; }
.spec__row .v { color: var(--ink-80); line-height: 1.6; }

/* deploy line */
.deploy { margin-top: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.deploy .ok { font-size: 13.5px; color: var(--guan-ink); display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); }
.deploy .ok .d { width: 8px; height: 8px; border-radius: 50%; background: var(--guan); box-shadow: 0 0 0 0 rgba(14,95,107,.5); animation: live 2s infinite; }
.flow .cockpit { margin-top: 16px; }

/* ---- Platform base blocks ---- */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.block { background: var(--paper); padding: 26px 24px 28px; transition: background-color .3s; }
.block:hover { background: #fff; }
.block__ic { width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--guan); background: rgba(255,255,255,.5); }
.block__ic svg { width: 19px; height: 19px; }
.block__t { font-family: var(--f-display); font-weight: 600; font-size: 17px; margin-top: 16px; }
.block__b { margin-top: 10px; font-size: 14px; color: var(--ink-60); line-height: 1.68; }
.block__b .ex { color: var(--ink-40); }

/* ---- Examples (what you can build) ---- */
.ex-more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ex-more__lbl { width: 100%; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 4px; }
.extag { font-size: 14px; color: var(--ink-80); padding: 8px 14px; border: 1px dashed var(--line-2); border-radius: 999px; background: rgba(255,255,255,.45); }
.extag.more { color: var(--ink-40); border-style: solid; border-color: var(--line); font-family: var(--f-mono); font-size: 13px; }

/* ---- Builder responsive ---- */
@media (max-width: 1000px) {
  .blocks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .blocks { grid-template-columns: 1fr; }
  .prompt__bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .prompt__bar .btn { width: 100%; justify-content: center; }
  .prompt__hint { text-align: center; order: 2; }
  .flow__step { padding-left: 48px; }
  .spec__row { grid-template-columns: 80px 1fr; gap: 10px; }
}

/* ============================================================
   GENERATE MODAL (开始生成 → 确认弹窗 → 生成部署)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 24, .55); backdrop-filter: blur(6px); cursor: pointer; }
.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 50px 110px -30px rgba(8, 18, 24, .7); padding: 30px;
  transform: translateY(16px) scale(.985); transition: transform .4s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--ink-60); background: rgba(255,255,255,.6); transition: all .2s; z-index: 2; }
.modal__close:hover { border-color: var(--ink); color: var(--ink); transform: rotate(90deg); }

/* steps */
.modal__steps { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding-right: 36px; }
.ms { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-40); white-space: nowrap; }
.ms__d { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-display); font-size: 12px; color: var(--ink-40); transition: all .3s; }
.ms.is-on { color: var(--ink); }
.ms.is-on .ms__d, .ms.is-done .ms__d { border-color: var(--guan); background: var(--guan); color: #fff; }
.ms__line { flex: 1; height: 1px; background: var(--line); min-width: 12px; }

/* clarify view */
.modal__need-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 8px; }
.modal .bubble--you { margin-top: 0; }
.modal__lead { margin-top: 20px; font-size: 14.5px; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 9px; }
.ai-badge { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--si-soft); color: var(--si); display: grid; place-items: center; font-family: var(--f-display); font-size: 13px; font-weight: 700; }

.mq { margin-top: 20px; }
.mq__q { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.mq__hint { font-family: var(--f-mono); font-size: 11px; color: var(--ink-40); margin-left: 8px; font-weight: 400; }
.mq__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.qopt { font-size: 13.5px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-80); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-body); }
.qopt:hover { border-color: var(--guan); color: var(--guan-ink); }
.qopt.is-on { border-color: var(--guan); background: var(--guan-soft); color: var(--guan-ink); font-weight: 500; }
.qopt.is-on::before { content: "✓"; font-size: 11px; color: var(--guan); font-weight: 700; }

.modal__foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.modal__foot-note { font-size: 12.5px; color: var(--ink-40); font-family: var(--f-mono); }

/* working view */
.working { text-align: center; padding: 30px 0 22px; }
.working__spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--guan); margin: 0 auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.working__title { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-top: 20px; }
.working__log { list-style: none; padding: 0; margin: 18px auto 0; display: inline-block; text-align: left; }
.working__log li { font-size: 14px; color: var(--ink-80); padding: 8px 0 8px 26px; position: relative; opacity: 0; transform: translateY(6px); animation: logIn .4s var(--ease) forwards; }
.working__log li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: var(--guan); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.working__log li:nth-child(1) { animation-delay: .05s; }
.working__log li:nth-child(2) { animation-delay: .45s; }
.working__log li:nth-child(3) { animation-delay: .85s; }
.working__log li:nth-child(4) { animation-delay: 1.25s; }
@keyframes logIn { to { opacity: 1; transform: none; } }

/* done view */
.done__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; color: var(--guan-ink); background: var(--guan-soft); border: 1px solid rgba(14,95,107,.2); padding: 7px 13px; border-radius: 999px; }
.done__badge .d { width: 8px; height: 8px; border-radius: 50%; background: var(--guan); }
.done__title { font-family: var(--f-display); font-weight: 700; font-size: 20px; margin-top: 14px; line-height: 1.4; }

@media (max-width: 760px) {
  .modal__dialog { padding: 22px 18px; max-height: 92vh; }
  .modal__steps { gap: 6px; padding-right: 30px; }
  .ms { font-size: 10.5px; }
  .modal__foot { flex-direction: column; align-items: stretch; }
  .modal__foot .btn { width: 100%; justify-content: center; }
  .modal__foot-note { text-align: center; order: 2; }
}

/* ============================================================
   SUB-PAGE components (product / solutions / templates / etc.)
   ============================================================ */

/* current nav item */
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after { width: 100%; background: var(--guan); }

/* sub-page hero */
.page-hero { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 44px); }
.page-hero__crumb { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-40); margin-bottom: 18px; }
.page-hero__crumb a { color: var(--ink-60); }
.page-hero__crumb a:hover { color: var(--guan); }
.page-hero h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.16; letter-spacing: -.012em; margin-top: 6px; }
.page-hero .lead { margin-top: 18px; max-width: 700px; }

/* generic two-col prose */
.prose-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.prose-2 p { color: var(--ink-80); }

/* belief / value list */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.value { background: var(--paper); padding: 28px 26px; }
.value__k { font-family: var(--f-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.value__k .n { font-family: var(--f-mono); font-size: 13px; color: var(--guan); font-weight: 500; }
.value__b { margin-top: 12px; color: var(--ink-60); font-size: 14.5px; line-height: 1.7; }

/* FAQ (native details) */
.faq { max-width: 820px; margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-size: 24px; line-height: 1; color: var(--guan); transition: transform .3s var(--ease); font-weight: 300; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 44px 22px 0; color: var(--ink-60); font-size: 14.5px; line-height: 1.78; margin: 0; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; background: rgba(255,255,255,.5); display: flex; flex-direction: column; position: relative; }
.price-card--featured { border-color: var(--guan); box-shadow: 0 24px 60px -30px rgba(14,95,107,.55); }
.price-card__badge { position: absolute; top: -11px; left: 26px; background: var(--guan); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; }
.price-card__name { font-family: var(--f-display); font-weight: 700; font-size: 21px; }
.price-card__for { color: var(--ink-60); font-size: 13.5px; margin-top: 8px; line-height: 1.6; min-height: 42px; }
.price-card__price { font-family: var(--f-display); font-weight: 700; font-size: 24px; margin: 16px 0 4px; color: var(--ink); }
.price-card__price .unit { font-size: 13.5px; color: var(--ink-60); font-family: var(--f-body); font-weight: 400; }
.price-card__list { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.price-card__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-80); line-height: 1.55; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--guan); font-weight: 700; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* simple table */
.tbl { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 14.5px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.tbl th:last-child, .tbl td:last-child { border-right: 0; }
.tbl thead th { background: var(--paper-2); font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td b { color: var(--ink); }
.tbl .rowh { font-weight: 600; color: var(--ink); background: rgba(255,255,255,.4); }

/* contact form */
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 44px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-80); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-family: var(--f-body); font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--guan); box-shadow: 0 0 0 3px var(--guan-soft); }
.field textarea { resize: vertical; min-height: 108px; }
.form__hint { font-size: 12.5px; color: var(--ink-40); }
.contact-aside { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: rgba(255,255,255,.5); }
.contact-aside__item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-aside__item:first-child { padding-top: 0; }
.contact-aside__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-aside__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.contact-aside__v { font-size: 15px; color: var(--ink); margin-top: 6px; }
.contact-aside__v.big { font-family: var(--f-mono); font-size: 19px; letter-spacing: .02em; }
.qr-box { width: 96px; height: 96px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; color: var(--ink-40); text-align: center; line-height: 1.3; margin-top: 10px; background: #fff; }

@media (max-width: 860px) {
  .prose-2, .value-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .value-grid { background: var(--paper); }
  .value { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .tbl, .tbl thead, .tbl tbody, .tbl th, .tbl td, .tbl tr { display: block; }
  .tbl thead { display: none; }
  .tbl td { border-right: 0; }
  .tbl tr { border-bottom: 2px solid var(--line-2); }
  .tbl tr:last-child { border-bottom: 0; }
}

/* ============================================================
   Positioning strip + custom-vs-standardized comparison
   (for: "generates the app that fits your workflow")
   ============================================================ */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip__inner { padding-block: clamp(20px, 3vw, 30px); text-align: center; }
.strip__txt { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 2.3vw, 25px); color: var(--ink); letter-spacing: .01em; line-height: 1.45; }
.strip__txt em { font-style: normal; color: var(--dong); }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; align-items: start; }
.vs__col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px 30px; background: rgba(255, 255, 255, .4); }
.vs__col--them { background: var(--paper-2); border-style: dashed; }
.vs__col--us { border-color: var(--guan); background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); }
.vs__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.vs__col--them .vs__tag { color: var(--ink-40); }
.vs__col--us .vs__tag { color: var(--guan-ink); }
.vs__title { font-family: var(--f-display); font-weight: 600; font-size: 19px; margin-top: 10px; line-height: 1.4; }
.vs__col--them .vs__title { color: var(--ink-60); }
.vs__col--us .vs__title { color: var(--ink); }
.vs__list { margin-top: 20px; display: grid; gap: 13px; }
.vs__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.62; }
.vs__col--them .vs__list li { color: var(--ink-60); }
.vs__col--us .vs__list li { color: var(--ink-80); }
.vs__list li::before { position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: 14px; line-height: 1.62; }
.vs__col--them .vs__list li::before { content: "\2014"; color: var(--ink-40); }
.vs__col--us .vs__list li::before { content: "\2192"; color: var(--guan); font-weight: 600; }

@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
}
