/* ============================================================
   Ya Landing — refined editorial
   Cream paper, plum primary, hairline rules, generous space.
   ============================================================ */

@import url('https://fonts.cdnfonts.com/css/evolventa');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');
@import url('https://font.sec.miui.com/font/css?family=MiSans:200,300,400,450,500,600,700:Chinese_Simplify,Latin&display=swap');

:root{
  --plum-950:#1E0F3D;
  --plum-900:#2E1A52;
  --plum-800:#3E2570;
  --plum-700:#4A2D7E;
  --plum-600:#5E3D9A;
  --plum-500:#7757AE;
  --plum-300:#B19BD4;
  --plum-200:#D2C2E8;
  --plum-100:#E7DDF2;
  --plum-50:#F4EFFA;

  --ink:#0E0820;
  --ink-2:#2E2640;
  --muted:#8E8478;     /* warm warm */
  --muted-2:#6B6480;
  --line:#ECE4D2;      /* warm hairline */
  --line-2:#DCD3C2;
  --line-cool:#E5DDE9; /* slight cool variant */

  --paper:#FAFAF7;     /* main bg */
  --cream:#F7F1E2;     /* alt section bg */
  --paper-2:#FBF8F0;   /* card bg inside cream */

  --gold:#C7973A;
  --gold-soft:#E8B864;
  --green:#4DAA70;

  --font-en: 'Evolventa', 'Evolventa Regular', system-ui, -apple-system, sans-serif;
  --font-cn: 'MiSans', 'Noto Sans SC',
              -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
              "Microsoft YaHei", "Source Han Sans SC",
              system-ui, sans-serif;
  --font: 'Evolventa', 'Evolventa Regular',
           'MiSans', 'Noto Sans SC',
           -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
           "Microsoft YaHei", "Source Han Sans SC",
           system-ui, sans-serif;
  --font-songti: 'Songti SC', 'STSongti', 'Source Han Serif SC', 'Noto Serif SC', serif;
  --font-newsreader: 'Newsreader', 'Iowan Old Style', 'Cambria', serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}
body.lang-zh{ letter-spacing: 0; }
body.lang-zh .en{ display: none !important; }
body.lang-en .zh{ display: none !important; }
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul{ list-style:none; padding:0; margin:0; }
h1,h2,h3,h4,h5,p{ margin:0; }

/* ===== Typography ===== */
h1, h2, h3, h4{
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3, body.lang-zh h4{
  letter-spacing: 0.005em;
  line-height: 1.22;
  font-weight: 600;
}

h1{ font-size: clamp(48px, 5.5vw, 80px); line-height: 1.03; }
body.lang-zh h1{ font-size: clamp(40px, 4.4vw, 64px); }

h2{ font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; }
body.lang-zh h2{ font-size: clamp(28px, 2.6vw, 44px); }

h3{ font-size: clamp(22px, 1.8vw, 28px); }
h4{ font-size: clamp(17px, 1.2vw, 19px); }

.eyebrow{
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 18px;
}
body.lang-zh .eyebrow{
  font-family: var(--font-cn);
  letter-spacing: 0.1em;
  text-transform: none;
  font-weight: 500;
}

.lede{
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted-2);
  max-width: 56ch;
  text-wrap: pretty;
}
body.lang-zh .lede{
  font-size: 17px;
  line-height: 1.85;
  max-width: 30em;
}

.crumb{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
body.lang-zh .crumb{
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  text-transform: none;
}

/* ===== Layout ===== */
.wrap{ width: min(1240px, 92vw); margin: 0 auto; }
.section{ padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section--tight{ padding: clamp(44px, 5vw, 72px) 0; }
.section-head{ max-width: 760px; margin: 0 auto clamp(48px, 5vw, 72px); text-align: center; }
.section-head .lede{ margin: 14px auto 0; }

/* ===== Buttons ===== */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--plum-900);
  color: #fff;
  box-shadow: 0 1px 2px rgba(46,26,82,.1), 0 6px 14px -4px rgba(46,26,82,.25);
}
.btn--primary:hover{ background: var(--plum-800); transform: translateY(-1px); }
.btn--ghost{
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-2);
}
.btn--ghost:hover{ background: #fff; border-color: var(--plum-300); }
.btn--link{
  padding: 13px 0;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.btn--link::after{ content: "→"; margin-left: 6px; transition: transform .15s; }
.btn--link:hover{ border-bottom-color: var(--plum-700); }
.btn--link:hover::after{ transform: translateX(3px); }

/* ===== Nav ===== */
.nav{
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,250,247,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand{ display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--plum-950); letter-spacing: -0.01em; }
.brand-mark{
  width: 28px; height: 28px;
  border-radius: 4px;
  background: var(--plum-900);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-songti);
  font-weight: 600;
  font-size: 16px;
}
.nav-links{
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
  color: var(--muted-2);
}
.nav-links a{ transition: color .15s; }
.nav-links a:hover{ color: var(--plum-700); }
.nav-actions{ display: flex; align-items: center; gap: 16px; }

.lang-switch{
  display: inline-flex; align-items: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.lang-switch button{
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all .15s;
}
.lang-switch button.active{
  background: var(--plum-900);
  color: #fff;
}
.nav-sign{ font-size: 14px; color: var(--muted-2); }
.nav-sign:hover{ color: var(--plum-900); }
.nav .btn{ padding: 9px 18px; font-size: 13.5px; }

@media (max-width: 860px){ .nav-links{ display: none; } }

/* ===== Hero — Style 1 (雅 wordmark) ===== */
.hero{
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(72px, 8vw, 120px);
}
.hero::before{
  content:"";
  position: absolute;
  top: 80px; bottom: 80px;
  left: max(80px, 4vw); right: max(80px, 4vw);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero h1{
  margin-bottom: 26px;
  max-width: 11ch;
}
body.lang-zh .hero h1{ max-width: 10em; }
.hero h1 .accent{ color: var(--plum-700); }
.hero p.lede{ margin-bottom: 44px; }
.hero-cta{ display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* art frame */
.art{
  position: relative;
  width: 480px;
  height: 640px;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  margin: 0 auto;
}
.art::before{
  content:"";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 1px solid var(--line);
}
.art-corner{
  position: absolute;
  width: 14px; height: 14px;
  background: var(--paper-2);
  border: 1px solid #C5BAA6;
  z-index: 2;
}
.art-corner.tl{ top: 7px; left: 7px; border-right:0; border-bottom:0; }
.art-corner.tr{ top: 7px; right: 7px; border-left:0; border-bottom:0; }
.art-corner.bl{ bottom: 7px; left: 7px; border-right:0; border-top:0; }
.art-corner.br{ bottom: 7px; right: 7px; border-left:0; border-top:0; }
.art-seal{
  position: absolute;
  top: 80px; right: 60px;
  width: 56px; height: 56px;
  background: var(--plum-800);
  color: #fff;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-songti);
  font-size: 28px;
  z-index: 3;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 rgba(46,26,82,.18);
}
.art-seal::after{
  content:"";
  position: absolute; inset: 4px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 2px;
}
.art-glyph{
  font-family: var(--font-songti);
  font-size: 460px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  margin: 60px 0 0;
  user-select: none;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--plum-900) 0%, var(--plum-700) 60%, var(--plum-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.art-quote{
  position: absolute;
  bottom: 50px; left: 50px; right: 50px;
  z-index: 2;
  text-align: center;
}
.art-quote .quote-cn{
  font-family: var(--font-songti);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.art-quote .quote-en{
  font-family: var(--font-newsreader);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-2);
}
.art-quote-attr{
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.16em;
}
.art-mascot{
  position: absolute;
  bottom: -28px; left: -28px;
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(46,26,82,.2);
}
.art-mascot .av{
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--plum-100);
  border: 2px solid var(--paper-2);
}
.art-mascot .av img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.art-mascot .lbl{ font-size: 11.5px; line-height: 1.2; }
.art-mascot .lbl b{ display: block; font-weight: 600; }
.art-mascot .lbl small{ color: var(--muted); font-size: 10.5px; }

.hero-foot{
  margin: clamp(32px, 4vw, 56px) auto 0;
  width: min(1240px, 92vw);
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .art{ max-width: 100%; height: auto; min-height: 520px; }
  .art-glyph{ font-size: 320px; }
  .hero::before{ display: none; }
}

/* ===== Story strip (Confucius / philosophy) ===== */
.story{
  background: var(--cream);
  padding: clamp(56px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-inner{
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.story p{
  font-family: var(--font-songti);
  font-size: 21px;
  line-height: 1.8;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0;
}
body.lang-en .story p{
  font-family: var(--font-newsreader);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.6;
}
.story p strong{ font-weight: 600; color: var(--plum-900); font-style: normal; }
.story-rule{
  width: 32px; height: 1px;
  background: var(--plum-700);
  margin: 0 auto 28px;
}
.story-attr{
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
body.lang-zh .story-attr{
  font-family: var(--font-cn);
  letter-spacing: 0.16em;
  text-transform: none;
}

/* ===== Pillars (4 columns) ===== */
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar{
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.pillar:last-child{ border-right: 0; }
.pillar-seal{
  width: 36px; height: 36px;
  background: var(--plum-900);
  color: #fff;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-songti);
  font-size: 20px;
  margin-bottom: 22px;
  position: relative;
}
.pillar-seal::after{
  content:""; position: absolute; inset: 3px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 2px;
}
.pillar h4{
  font-size: 18px;
  margin-bottom: 8px;
}
.pillar h4 .ch{
  font-family: var(--font-songti);
  color: var(--plum-700);
  margin-right: 6px;
}
body.lang-zh .pillar h4 .ch{ display: none; }
.pillar p{
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
}
body.lang-zh .pillar p{ font-size: 13.5px; line-height: 1.75; }

@media (max-width: 920px){
  .pillars-grid{ grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2){ border-right: 0; }
  .pillar:nth-child(1), .pillar:nth-child(2){ border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px){
  .pillars-grid{ grid-template-columns: 1fr; }
  .pillar{ border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child{ border-bottom: 0; }
}

/* ===== Editions ===== */
.editions{ background: var(--paper); }
.edition-toggle-wrap{
  display: flex; justify-content: center;
  margin-bottom: 56px;
}
.edition-toggle{
  position: relative;
  display: inline-flex;
  padding: 0;
  border-bottom: 1px solid var(--line-2);
}
.edition-toggle button{
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: 0.01em;
}
.edition-toggle button.active{
  color: var(--plum-900);
  border-bottom-color: var(--plum-900);
  font-weight: 600;
}
.edition-panel{ display: none; }
.edition-panel.active{ display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(6px); } to{ opacity:1; transform: translateY(0); } }

.edition-head{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
.edition-head h3{
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.18;
  margin-bottom: 18px;
}
.edition-tag{
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 12px;
}
body.lang-zh .edition-tag{ font-family: var(--font-cn); letter-spacing: 0.08em; text-transform: none; }
.edition-sub{
  font-family: var(--font-songti);
  font-size: 17px;
  line-height: 1.7;
  color: var(--plum-900);
  border-left: 1px solid var(--plum-300);
  padding-left: 18px;
  letter-spacing: 0.02em;
}
body.lang-en .edition-sub{
  font-family: var(--font-newsreader);
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.55;
}
.edition-intro{
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-2);
  max-width: 50ch;
}
body.lang-zh .edition-intro{ font-size: 15px; line-height: 1.85; max-width: 26em; }

.feature-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.feature-card{
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.feature-card:nth-child(2n){ padding-right: 0; padding-left: 32px; border-right: 0; }
.feature-card:nth-child(2n+1){ padding-right: 32px; }
.feature-num{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.feature-card h4{
  font-size: 19px;
  margin-bottom: 8px;
}
.feature-card p{
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-2);
}
body.lang-zh .feature-card p{ font-size: 14.5px; line-height: 1.8; }

.before-with{
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.bw-side{ padding: 26px 32px; }
.bw-label{
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
body.lang-zh .bw-label{ font-family: var(--font-cn); letter-spacing: 0.08em; text-transform: none; }
.bw-text{
  font-family: var(--font-songti);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
body.lang-en .bw-text{ font-family: var(--font-newsreader); font-size: 17px; }
.bw-arrow{
  align-self: stretch;
  display: flex; align-items: center;
  padding: 0 18px;
  border-left: 1px dashed var(--line-2);
  border-right: 1px dashed var(--line-2);
  color: var(--plum-700);
  font-size: 14px;
}
.bw-side--after .bw-label{ color: var(--plum-700); }

.edition-chips{
  margin-top: 32px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.edition-chips-label{
  font-size: 12px; color: var(--muted); margin-right: 4px;
}
.chip{
  padding: 5px 11px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink);
}
.edition-cta{
  margin-top: 40px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}

@media (max-width: 860px){
  .edition-head{ grid-template-columns: 1fr; gap: 24px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .feature-card{ border-right: 0 !important; padding: 24px 0 !important; }
  .before-with{ grid-template-columns: 1fr; }
  .bw-arrow{ padding: 14px; border: 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); justify-content: center; }
}

/* ===== Engine — translation card centerpiece + 6 capabilities ===== */
.engine{ background: var(--cream); }
.engine-stage{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-bottom: 56px;
}
.engine-copy h2{ margin-bottom: 18px; }
.engine-copy p.lede{ margin-bottom: 28px; }
.engine-list{
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.engine-list li{
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.engine-list .num{
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-top: 4px;
}
.engine-list h4{
  font-size: 16px;
  margin: 0 0 4px;
}
.engine-list p{
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0;
}
body.lang-zh .engine-list p{ font-size: 13.5px; line-height: 1.75; }

/* Translation card (from Style 3) */
.tcard{
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  position: relative;
  box-shadow:
    0 1px 0 #fff inset,
    0 0 0 1px rgba(46,26,82,.02),
    0 24px 60px -24px rgba(46,26,82,.18);
}
.tcard::before, .tcard::after{
  content:""; position: absolute;
  height: 1px;
  background: var(--line-2);
}
.tcard::before{ top: -1px; left: 8px; right: 8px; transform: translateY(-6px); opacity:.6; }
.tcard::after{ top: -1px; left: 16px; right: 16px; transform: translateY(-3px); opacity:.85; }
.tcard-head{
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.tcard-head .head-left{ display: flex; align-items: center; gap: 10px; }
.tcard-head .av{
  width: 22px; height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--plum-100);
  border: 1.5px solid var(--paper-2);
}
.tcard-head .av img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tcard-head .who{ color: var(--ink); font-weight: 600; font-size: 12.5px; }
.tcard-head .num{ font-family: var(--font-en); letter-spacing: 0.08em; font-size: 11px; }
.tcard-head .live{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--plum-700); font-weight: 600;
}
.tcard-head .live .dot{
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(77,170,112,.18);
}

.trow{
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.trow:last-of-type{ border-bottom: 0; }
.trow-tag{
  padding: 20px 0 20px 24px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  align-self: start;
}
body.lang-zh .trow-tag{ font-family: var(--font-cn); font-size: 12px; }
.trow-text{
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
  border-left: 1px solid var(--line);
}
.trow-text.target{ color: var(--ink); font-weight: 500; }
.trow-text.target .hl{
  background: linear-gradient(180deg, transparent 65%, rgba(199,151,58,.35) 65%);
  padding: 0 2px;
}
.trow-note{
  grid-column: 3;
  padding: 0 22px 16px;
  font-size: 11.5px;
  color: var(--plum-700);
  border-left: 1px solid var(--line);
  margin-top: -6px;
}
.trow-note::before{ content: "✓ "; color: var(--green); }
.tcard-foot{
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
}
.tcard-foot .left{ display: flex; align-items: center; gap: 8px; }
.tcard-foot .lock{
  display: inline-flex; align-items: center;
  width: 16px; height: 16px;
  background: var(--plum-100);
  color: var(--plum-700);
  border-radius: 3px;
  justify-content: center;
  font-size: 9px; font-weight: 700;
}
.tcard-foot .right{ color: var(--plum-700); font-weight: 600; }

@media (max-width: 920px){
  .engine-stage{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .trow{ grid-template-columns: 60px 1fr; }
  .trow .trow-text:nth-of-type(2){ grid-column: 2; padding-top: 0; }
  .trow-tag{ padding-left: 16px; padding-top: 16px; }
}

/* ===== Why it matters ===== */
.why{ background: var(--paper); }
.why-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-col{
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.why-col:last-child{ border-right: 0; }
.why-col-label{
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
body.lang-zh .why-col-label{ font-family: var(--font-cn); letter-spacing: 0.06em; text-transform: none; font-weight: 500; }
.why-col p{
  font-family: var(--font-newsreader);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
body.lang-zh .why-col p{ font-family: var(--font-cn); font-size: 15.5px; line-height: 1.8; }
.why-col p strong{ font-weight: 600; }

@media (max-width: 900px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-col:nth-child(2){ border-right: 0; }
  .why-col:nth-child(1), .why-col:nth-child(2){ border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px){
  .why-grid{ grid-template-columns: 1fr; }
  .why-col{ border-right: 0; border-bottom: 1px solid var(--line); }
  .why-col:last-child{ border-bottom: 0; }
}

/* ===== How it works ===== */
.how{ background: var(--cream); }
.how-flow{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how-flow::before{
  content: "";
  position: absolute;
  top: 26px; left: 5%; right: 5%;
  height: 1px;
  border-top: 1px dashed var(--line-2);
}
.how-step{ padding: 0 16px; position: relative; }
.how-bullet{
  width: 52px; height: 52px;
  margin: 0 0 22px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-newsreader);
  font-style: italic;
  font-size: 20px;
  color: var(--plum-700);
  position: relative; z-index: 2;
}
body.lang-zh .how-bullet{ font-family: var(--font-cn); font-style: normal; font-weight: 600; font-size: 18px; }
.how-step h4{
  font-size: 18px;
  margin: 0 0 8px;
}
.how-step p{
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 26ch;
}
body.lang-zh .how-step p{ font-size: 14px; line-height: 1.75; max-width: 18em; }

@media (max-width: 900px){
  .how-flow{ grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .how-flow::before{ display: none; }
}
@media (max-width: 480px){ .how-flow{ grid-template-columns: 1fr; } }

/* ===== Use cases ===== */
.usecases{ background: var(--paper); }
.use-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.use-col{
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--line);
}
.use-col:last-child{ padding: 40px 0 40px 36px; border-right: 0; }
.use-col-tag{
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 12px;
}
body.lang-zh .use-col-tag{ font-family: var(--font-cn); letter-spacing: 0.08em; text-transform: none; font-weight: 600; }
.use-col h3{ font-size: 24px; margin: 0 0 20px; }
.use-col ul li{
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
body.lang-zh .use-col ul li{ font-size: 15px; }
.use-col ul li::before{
  content:""; width: 16px; height: 1px;
  background: var(--plum-400, var(--plum-500));
  flex-shrink: 0;
}
.use-col ul li:last-child{ border-bottom: 1px solid var(--line); }
@media (max-width: 800px){
  .use-grid{ grid-template-columns: 1fr; }
  .use-col, .use-col:last-child{ border-right: 0; padding: 32px 0; }
  .use-col:first-child{ border-bottom: 1px solid var(--line); }
}

/* ===== Pricing ===== */
.pricing{ background: var(--cream); }
.pricing-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 980px; margin: 0 auto;
}
.pcard{
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  padding: 40px 36px 36px;
  position: relative;
  display: flex; flex-direction: column;
}
.pcard--paid{
  background: var(--plum-900);
  color: #fff;
  border-color: var(--plum-900);
}
.pcard--paid::before{
  content:""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(199,151,58,.18), transparent 70%);
  pointer-events: none;
}
.pcard-tag{
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--plum-50);
  color: var(--plum-700);
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 22px;
  font-weight: 600;
  position: relative; z-index: 1;
}
body.lang-zh .pcard-tag{ font-family: var(--font-cn); letter-spacing: 0.08em; text-transform: none; }
.pcard--paid .pcard-tag{ background: rgba(216,167,71,.18); color: var(--gold-soft); }
.pcard h3{ font-size: 26px; margin: 0 0 18px; position: relative; z-index: 1; }
.pcard--paid h3{ color: #fff; }
.pcard-amount{
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.pcard--paid .pcard-amount{ border-bottom-color: rgba(255,255,255,.1); }
.pcard-amount .num{
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pcard--paid .pcard-amount .num{ color: #fff; }
.pcard-amount .unit{
  font-size: 14px; color: var(--muted);
}
.pcard--paid .pcard-amount .unit{ color: rgba(255,255,255,.65); }
.pcard p.line{
  font-size: 14.5px; color: var(--muted-2);
  line-height: 1.55; margin: 0 0 22px;
  position: relative; z-index: 1;
}
.pcard--paid p.line{ color: rgba(255,255,255,.75); }
body.lang-zh .pcard p.line{ line-height: 1.8; }
.pcard ul{
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 0 32px; padding: 0;
  position: relative; z-index: 1;
}
.pcard li{
  font-size: 14px; color: var(--muted-2);
  display: flex; align-items: flex-start; gap: 10px;
}
.pcard--paid li{ color: rgba(255,255,255,.85); }
.pcard li::before{
  content: "✓"; color: var(--plum-700);
  font-weight: 700; font-size: 11px;
  width: 16px; height: 16px;
  background: var(--plum-50);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.pcard--paid li::before{ background: rgba(216,167,71,.22); color: var(--gold-soft); }
.pcard .btn{ width: 100%; justify-content: center; margin-top: auto; position: relative; z-index: 1; }
.pcard--paid .btn--primary{ background: var(--gold); color: var(--plum-950); box-shadow: 0 4px 0 #8E6822; }
.pcard--paid .btn--primary:hover{ background: var(--gold-soft); }
.pricing-foot{
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px; color: var(--muted-2);
  max-width: 60ch;
}
.pricing-foot a{ color: var(--plum-700); font-weight: 600; border-bottom: 1px solid var(--plum-200); }
@media (max-width: 760px){ .pricing-grid{ grid-template-columns: 1fr; } }

/* ===== Lead capture ===== */
.lead{ background: var(--paper); }
.lead-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.lead-copy h2{ margin-bottom: 18px; }
.lead-copy p.lede{ margin-bottom: 28px; }
.lead-bullets{
  margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.lead-bullets li{
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  display: flex; gap: 12px;
}
body.lang-zh .lead-bullets li{ line-height: 1.75; }
.lead-bullets li::before{
  content:""; width: 6px; height: 6px;
  background: var(--plum-700); border-radius: 1px;
  margin-top: 9px; flex-shrink: 0;
}
.lead-aside{
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  background: var(--paper-2);
  font-size: 13.5px;
  color: var(--muted-2);
  display: flex; align-items: center; gap: 12px;
}
.lead-aside strong{ color: var(--plum-900); font-weight: 600; }
.lead-aside .pulse{
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(77,170,112,.2);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.5} }

.lead-form{
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  padding: 36px;
  box-shadow:
    0 1px 0 #fff inset,
    0 24px 60px -24px rgba(46,26,82,.18);
}
.lead-form h4{
  font-size: 19px; margin: 0 0 4px;
}
.lead-form .sub{
  font-size: 13px; color: var(--muted);
  margin-bottom: 24px;
}
.form-row{ margin-bottom: 16px; }
.form-row-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.form-row-grid > .form-row{ margin-bottom: 0; }
.form-label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-label .req{ color: var(--gold); margin-left: 2px; }
.form-input, .form-select, .form-textarea{
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus{
  outline: 0;
  border-color: var(--plum-700);
  background: #fff;
  box-shadow: 0 0 0 3px var(--plum-50);
}
.form-textarea{ resize: vertical; min-height: 88px; }
.form-submit{ width: 100%; justify-content: center; margin-top: 8px; }
.form-note{
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px; line-height: 1.5;
}
.form-note a{ color: var(--plum-700); border-bottom: 1px solid var(--plum-200); }

.form-success{ display: none; text-align: center; padding: 32px 0; }
.lead-form.is-sent .form-success{ display: block; }
.lead-form.is-sent .form-body{ display: none; }
.form-success .check{
  width: 56px; height: 56px;
  background: var(--plum-50);
  color: var(--plum-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 16px;
}
.form-success h4{ font-size: 20px; margin: 0 0 8px; }
.form-success p{ font-size: 14px; color: var(--muted-2); }

@media (max-width: 860px){
  .lead-grid{ grid-template-columns: 1fr; }
  .form-row-grid{ grid-template-columns: 1fr; }
  .lead-form{ padding: 28px 22px; }
}

/* ===== Final CTA ===== */
.final{
  background: var(--plum-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final::before{
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(177,155,212,.18), transparent 65%),
    radial-gradient(40% 40% at 100% 100%, rgba(199,151,58,.1), transparent 70%);
  pointer-events: none;
}
.final-inner{
  text-align: center;
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.final h2{ color: #fff; margin-bottom: 18px; }
.final p.sub{
  font-size: 16.5px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
body.lang-zh .final p.sub{ font-size: 16px; line-height: 1.8; }
.final-cta{ display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.final .btn--primary{ background: var(--gold); color: var(--plum-950); box-shadow: 0 4px 0 #8E6822; }
.final .btn--primary:hover{ background: var(--gold-soft); }
.final .btn--link{ color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.2); }
.final .btn--link:hover{ color: #fff; border-bottom-color: rgba(255,255,255,.5); }

/* ===== Footer ===== */
.footer{
  background: var(--cream);
  padding: clamp(56px, 6vw, 88px) 0 28px;
  color: var(--muted-2);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-tag{
  margin-top: 14px;
  font-family: var(--font-songti);
  font-size: 14px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  max-width: 22ch;
}
body.lang-en .footer-tag{
  font-family: var(--font-newsreader);
  font-style: italic;
  letter-spacing: 0;
}
.footer h5{
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 700;
}
body.lang-zh .footer h5{ font-family: var(--font-cn); letter-spacing: 0.06em; text-transform: none; font-weight: 600; }
.footer ul{ display: flex; flex-direction: column; gap: 10px; }
.footer ul li a{ font-size: 13.5px; transition: color .15s; }
.footer ul li a:hover{ color: var(--plum-900); }
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-langs{ display: flex; gap: 14px; }
.footer-langs a{ color: var(--muted); }
.footer-langs a.active{ color: var(--plum-900); font-weight: 600; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer > .wrap > .footer-grid > div:first-child{ grid-column: 1 / -1; }
}
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
